2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libmd5 1.21.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: courier-users@lists.sourceforge.net about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='libmd5'
592 PACKAGE_TARNAME
='libmd5'
593 PACKAGE_VERSION
='1.21'
594 PACKAGE_STRING
='libmd5 1.21'
595 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
598 ac_unique_file
="hmac.c"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
701 INSTALL_STRIP_PROGRAM
743 program_transform_name
756 enable_option_checking
758 enable_dependency_tracking
770 ac_precious_vars
='build_alias
782 # Initialize some variables set by options.
784 ac_init_version
=false
785 ac_unrecognized_opts
=
787 # The variables have the same names as the options, with
788 # dashes changed to underlines.
796 program_transform_name
=s
,x
,x
,
804 # Installation directory options.
805 # These are left unexpanded so users can "make install exec_prefix=/foo"
806 # and all the variables that are supposed to be based on exec_prefix
807 # by default will actually change.
808 # Use braces instead of parens because sh, perl, etc. also accept them.
809 # (The list follows the same order as the GNU Coding Standards.)
810 bindir
='${exec_prefix}/bin'
811 sbindir
='${exec_prefix}/sbin'
812 libexecdir
='${exec_prefix}/libexec'
813 datarootdir
='${prefix}/share'
814 datadir
='${datarootdir}'
815 sysconfdir
='${prefix}/etc'
816 sharedstatedir
='${prefix}/com'
817 localstatedir
='${prefix}/var'
818 includedir
='${prefix}/include'
819 oldincludedir
='/usr/include'
820 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
821 infodir
='${datarootdir}/info'
826 libdir
='${exec_prefix}/lib'
827 localedir
='${datarootdir}/locale'
828 mandir
='${datarootdir}/man'
834 # If the previous option needs an argument, assign it.
835 if test -n "$ac_prev"; then
836 eval $ac_prev=\
$ac_option
842 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847 # Accept the important Cygnus configure options, so we can diagnose typos.
849 case $ac_dashdash$ac_option in
853 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
855 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
858 -build |
--build |
--buil |
--bui |
--bu)
859 ac_prev
=build_alias
;;
860 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
861 build_alias
=$ac_optarg ;;
863 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
864 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
865 ac_prev
=cache_file
;;
866 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
867 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
868 cache_file
=$ac_optarg ;;
871 cache_file
=config.cache
;;
873 -datadir |
--datadir |
--datadi |
--datad)
875 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
876 datadir
=$ac_optarg ;;
878 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
879 |
--dataroo |
--dataro |
--datar)
880 ac_prev
=datarootdir
;;
881 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
882 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
883 datarootdir
=$ac_optarg ;;
885 -disable-* |
--disable-*)
886 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
889 as_fn_error $?
"invalid feature name: $ac_useropt"
890 ac_useropt_orig
=$ac_useropt
891 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
897 ac_unrecognized_sep
=', ';;
899 eval enable_
$ac_useropt=no
;;
901 -docdir |
--docdir |
--docdi |
--doc |
--do)
903 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
906 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
908 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
911 -enable-* |
--enable-*)
912 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
915 as_fn_error $?
"invalid feature name: $ac_useropt"
916 ac_useropt_orig
=$ac_useropt
917 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918 case $ac_user_opts in
922 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
923 ac_unrecognized_sep
=', ';;
925 eval enable_
$ac_useropt=\
$ac_optarg ;;
927 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
928 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
929 |
--exec |
--exe |
--ex)
930 ac_prev
=exec_prefix
;;
931 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
932 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
933 |
--exec=* |
--exe=* |
--ex=*)
934 exec_prefix
=$ac_optarg ;;
936 -gas |
--gas |
--ga |
--g)
937 # Obsolete; use --with-gas.
940 -help |
--help |
--hel |
--he |
-h)
942 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
943 ac_init_help
=recursive
;;
944 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
945 ac_init_help
=short
;;
947 -host |
--host |
--hos |
--ho)
948 ac_prev
=host_alias
;;
949 -host=* |
--host=* |
--hos=* |
--ho=*)
950 host_alias
=$ac_optarg ;;
952 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
954 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
956 htmldir
=$ac_optarg ;;
958 -includedir |
--includedir |
--includedi |
--included |
--include \
959 |
--includ |
--inclu |
--incl |
--inc)
960 ac_prev
=includedir
;;
961 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
962 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
963 includedir
=$ac_optarg ;;
965 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
967 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
968 infodir
=$ac_optarg ;;
970 -libdir |
--libdir |
--libdi |
--libd)
972 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
975 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
976 |
--libexe |
--libex |
--libe)
977 ac_prev
=libexecdir
;;
978 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
979 |
--libexe=* |
--libex=* |
--libe=*)
980 libexecdir
=$ac_optarg ;;
982 -localedir |
--localedir |
--localedi |
--localed |
--locale)
984 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
985 localedir
=$ac_optarg ;;
987 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
988 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
989 ac_prev
=localstatedir
;;
990 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
991 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
992 localstatedir
=$ac_optarg ;;
994 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
996 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 # Obsolete; use --without-fp.
1003 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1004 |
--no-cr |
--no-c |
-n)
1007 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1008 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1011 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1012 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1013 |
--oldin |
--oldi |
--old |
--ol |
--o)
1014 ac_prev
=oldincludedir
;;
1015 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1016 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1017 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1018 oldincludedir
=$ac_optarg ;;
1020 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1022 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1023 prefix
=$ac_optarg ;;
1025 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1026 |
--program-pre |
--program-pr |
--program-p)
1027 ac_prev
=program_prefix
;;
1028 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1029 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1030 program_prefix
=$ac_optarg ;;
1032 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1033 |
--program-suf |
--program-su |
--program-s)
1034 ac_prev
=program_suffix
;;
1035 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1036 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1037 program_suffix
=$ac_optarg ;;
1039 -program-transform-name |
--program-transform-name \
1040 |
--program-transform-nam |
--program-transform-na \
1041 |
--program-transform-n |
--program-transform- \
1042 |
--program-transform |
--program-transfor \
1043 |
--program-transfo |
--program-transf \
1044 |
--program-trans |
--program-tran \
1045 |
--progr-tra |
--program-tr |
--program-t)
1046 ac_prev
=program_transform_name
;;
1047 -program-transform-name=* |
--program-transform-name=* \
1048 |
--program-transform-nam=* |
--program-transform-na=* \
1049 |
--program-transform-n=* |
--program-transform-=* \
1050 |
--program-transform=* |
--program-transfor=* \
1051 |
--program-transfo=* |
--program-transf=* \
1052 |
--program-trans=* |
--program-tran=* \
1053 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1054 program_transform_name
=$ac_optarg ;;
1056 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1058 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1059 pdfdir
=$ac_optarg ;;
1061 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1063 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1066 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1067 |
-silent |
--silent |
--silen |
--sile |
--sil)
1070 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1072 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1074 sbindir
=$ac_optarg ;;
1076 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1077 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1078 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1080 ac_prev
=sharedstatedir
;;
1081 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1082 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1083 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1085 sharedstatedir
=$ac_optarg ;;
1087 -site |
--site |
--sit)
1089 -site=* |
--site=* |
--sit=*)
1092 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1094 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1095 srcdir
=$ac_optarg ;;
1097 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1098 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1099 ac_prev
=sysconfdir
;;
1100 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1101 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1102 sysconfdir
=$ac_optarg ;;
1104 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1105 ac_prev
=target_alias
;;
1106 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1107 target_alias
=$ac_optarg ;;
1109 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1112 -version |
--version |
--versio |
--versi |
--vers |
-V)
1113 ac_init_version
=: ;;
1116 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1119 as_fn_error $?
"invalid package name: $ac_useropt"
1120 ac_useropt_orig
=$ac_useropt
1121 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1127 ac_unrecognized_sep
=', ';;
1129 eval with_
$ac_useropt=\
$ac_optarg ;;
1131 -without-* |
--without-*)
1132 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1135 as_fn_error $?
"invalid package name: $ac_useropt"
1136 ac_useropt_orig
=$ac_useropt
1137 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1143 ac_unrecognized_sep
=', ';;
1145 eval with_
$ac_useropt=no
;;
1148 # Obsolete; use --with-x.
1151 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1152 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1153 ac_prev
=x_includes
;;
1154 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1155 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1156 x_includes
=$ac_optarg ;;
1158 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1159 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1160 ac_prev
=x_libraries
;;
1161 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1162 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1163 x_libraries
=$ac_optarg ;;
1165 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1166 Try \`$0 --help' for more information"
1170 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1171 # Reject names that are not valid shell variable names.
1172 case $ac_envvar in #(
1173 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1174 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1176 eval $ac_envvar=\
$ac_optarg
1177 export $ac_envvar ;;
1180 # FIXME: should be removed in autoconf 3.0.
1181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1190 if test -n "$ac_prev"; then
1191 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1192 as_fn_error $?
"missing argument to $ac_option"
1195 if test -n "$ac_unrecognized_opts"; then
1196 case $enable_option_checking in
1198 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1199 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1203 # Check all directory arguments for consistency.
1204 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1205 datadir sysconfdir sharedstatedir localstatedir includedir \
1206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1207 libdir localedir mandir
1209 eval ac_val
=\$
$ac_var
1210 # Remove trailing slashes.
1213 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1214 eval $ac_var=\
$ac_val;;
1216 # Be sure to have absolute directory names.
1218 [\\/$
]* | ?
:[\\/]* ) continue;;
1219 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1221 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1224 # There might be people who depend on the old broken behavior: `$host'
1225 # used to hold the argument of --host etc.
1226 # FIXME: To remove some day.
1229 target
=$target_alias
1231 # FIXME: To remove some day.
1232 if test "x$host_alias" != x
; then
1233 if test "x$build_alias" = x
; then
1234 cross_compiling
=maybe
1235 elif test "x$build_alias" != "x$host_alias"; then
1241 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1243 test "$silent" = yes && exec 6>/dev
/null
1246 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1247 ac_ls_di
=`ls -di .` &&
1248 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1249 as_fn_error $?
"working directory cannot be determined"
1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251 as_fn_error $?
"pwd does not report name of working directory"
1254 # Find the source files, if location was not specified.
1255 if test -z "$srcdir"; then
1256 ac_srcdir_defaulted
=yes
1257 # Try the directory containing this script, then the parent directory.
1258 ac_confdir
=`$as_dirname -- "$as_myself" ||
1259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1260 X"$as_myself" : 'X\(//\)[^/]' \| \
1261 X"$as_myself" : 'X\(//\)$' \| \
1262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1263 $as_echo X"$as_myself" |
1264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1286 ac_srcdir_defaulted
=no
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1289 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1290 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1292 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1296 # When building in place, set srcdir=.
1297 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300 # Remove unnecessary trailing slashes from srcdir.
1301 # Double slashes in file names in object file debugging info
1302 # mess up M-x gdb in Emacs.
1304 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1306 for ac_var
in $ac_precious_vars; do
1307 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1308 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1309 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1310 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1314 # Report the --help message.
1316 if test "$ac_init_help" = "long"; then
1317 # Omit some internal or obsolete options to make the list less imposing.
1318 # This message is too long to be a string in the A/UX 3.1 sh.
1320 \`configure' configures libmd5 1.21 to adapt to many kinds of systems.
1322 Usage: $0 [OPTION]... [VAR=VALUE]...
1324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1325 VAR=VALUE. See below for descriptions of some of the useful variables.
1327 Defaults for the options are specified in brackets.
1330 -h, --help display this help and exit
1331 --help=short display options specific to this package
1332 --help=recursive display the short help of all the included packages
1333 -V, --version display version information and exit
1334 -q, --quiet, --silent do not print \`checking ...' messages
1335 --cache-file=FILE cache test results in FILE [disabled]
1336 -C, --config-cache alias for \`--cache-file=config.cache'
1337 -n, --no-create do not create output files
1338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1340 Installation directories:
1341 --prefix=PREFIX install architecture-independent files in PREFIX
1342 [$ac_default_prefix]
1343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1346 By default, \`make install' will install all the files in
1347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1349 for instance \`--prefix=\$HOME'.
1351 For better control, use the options below.
1353 Fine tuning of the installation directories:
1354 --bindir=DIR user executables [EPREFIX/bin]
1355 --sbindir=DIR system admin executables [EPREFIX/sbin]
1356 --libexecdir=DIR program executables [EPREFIX/libexec]
1357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1360 --libdir=DIR object code libraries [EPREFIX/lib]
1361 --includedir=DIR C header files [PREFIX/include]
1362 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1363 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1364 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1365 --infodir=DIR info documentation [DATAROOTDIR/info]
1366 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1367 --mandir=DIR man documentation [DATAROOTDIR/man]
1368 --docdir=DIR documentation root [DATAROOTDIR/doc/libmd5]
1369 --htmldir=DIR html documentation [DOCDIR]
1370 --dvidir=DIR dvi documentation [DOCDIR]
1371 --pdfdir=DIR pdf documentation [DOCDIR]
1372 --psdir=DIR ps documentation [DOCDIR]
1378 --program-prefix=PREFIX prepend PREFIX to installed program names
1379 --program-suffix=SUFFIX append SUFFIX to installed program names
1380 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1383 --build=BUILD configure
for building on BUILD
[guessed
]
1384 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1388 if test -n "$ac_init_help"; then
1389 case $ac_init_help in
1390 short | recursive
) echo "Configuration of libmd5 1.21:";;
1395 --disable-option-checking ignore unrecognized
--enable/--with options
1396 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1397 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1398 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1399 --disable-silent-rules verbose build output
(undo
: "make V=0")
1400 --enable-dependency-tracking
1401 do not reject slow dependency extractors
1402 --disable-dependency-tracking
1403 speeds up one-time build
1404 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1405 --enable-static[=PKGS
] build static libraries
[default
=yes]
1406 --enable-fast-install[=PKGS
]
1407 optimize
for fast installation
[default
=yes]
1408 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1409 --disable-largefile omit support
for large files
1412 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1413 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1414 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1416 --with-aix-soname=aix|svr4|both
1417 shared library versioning
(aka
"SONAME") variant to
1418 provide on AIX
, [default
=aix
].
1419 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1420 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1421 compiler
's sysroot if not specified).
1422 --with-int32='type' use 'type' for an unsigned 32 bit integer type
1423 ( default is 'unsigned
')
1425 Some influential environment variables:
1426 CC C compiler command
1427 CFLAGS C compiler flags
1428 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1429 nonstandard directory <lib dir>
1430 LIBS libraries to pass to the linker, e.g. -l<library>
1431 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1432 you have headers in a nonstandard directory <include dir>
1434 User-defined run-time library search path.
1437 Use these variables to override the choices made by `configure' or to
help
1438 it to
find libraries and programs with nonstandard names
/locations.
1440 Report bugs to
<courier-users@lists.sourceforge.net
>.
1445 if test "$ac_init_help" = "recursive"; then
1446 # If there are subdirs, report their specific --help.
1447 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1448 test -d "$ac_dir" ||
1449 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1454 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1456 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1457 # A ".." for each directory in $ac_dir_suffix.
1458 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1459 case $ac_top_builddir_sub in
1460 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1461 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1464 ac_abs_top_builddir
=$ac_pwd
1465 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1466 # for backward compatibility:
1467 ac_top_builddir
=$ac_top_build_prefix
1470 .
) # We are building in place.
1472 ac_top_srcdir
=$ac_top_builddir_sub
1473 ac_abs_top_srcdir
=$ac_pwd ;;
1474 [\\/]* | ?
:[\\/]* ) # Absolute name.
1475 ac_srcdir
=$srcdir$ac_dir_suffix;
1476 ac_top_srcdir
=$srcdir
1477 ac_abs_top_srcdir
=$srcdir ;;
1479 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1480 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1481 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1483 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1485 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1486 # Check for guested configure.
1487 if test -f "$ac_srcdir/configure.gnu"; then
1489 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1490 elif test -f "$ac_srcdir/configure"; then
1492 $SHELL "$ac_srcdir/configure" --help=recursive
1494 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1496 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1500 test -n "$ac_init_help" && exit $ac_status
1501 if $ac_init_version; then
1503 libmd5 configure
1.21
1504 generated by GNU Autoconf
2.69
1506 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1507 This configure
script is free software
; the Free Software Foundation
1508 gives unlimited permission to copy
, distribute and modify it.
1513 ## ------------------------ ##
1514 ## Autoconf initialization. ##
1515 ## ------------------------ ##
1517 # ac_fn_c_try_compile LINENO
1518 # --------------------------
1519 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1520 ac_fn_c_try_compile
()
1522 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1523 rm -f conftest.
$ac_objext
1524 if { { ac_try
="$ac_compile"
1526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1527 *) ac_try_echo=$ac_try;;
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1530 $as_echo "$ac_try_echo"; } >&5
1531 (eval "$ac_compile") 2>conftest.err
1533 if test -s conftest.err; then
1534 grep -v '^ *+' conftest.err >conftest.er1
1535 cat conftest.er1 >&5
1536 mv -f conftest.er1 conftest.err
1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539 test $ac_status = 0; } && {
1540 test -z "$ac_c_werror_flag" ||
1541 test ! -s conftest.err
1542 } && test -s conftest.$ac_objext; then :
1545 $as_echo "$as_me: failed program was:" >&5
1546 sed 's/^/| /' conftest.$ac_ext >&5
1550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1551 as_fn_set_status $ac_retval
1553 } # ac_fn_c_try_compile
1555 # ac_fn_c_try_link LINENO
1556 # -----------------------
1557 # Try to link conftest.$ac_ext, and return whether this succeeded.
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 rm -f conftest.$ac_objext conftest$ac_exeext
1562 if { { ac_try="$ac_link"
1564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1565 *) ac_try_echo
=$ac_try;;
1567 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1568 $as_echo "$ac_try_echo"; } >&5
1569 (eval "$ac_link") 2>conftest.err
1571 if test -s conftest.err
; then
1572 grep -v '^ *+' conftest.err
>conftest.er1
1573 cat conftest.er1
>&5
1574 mv -f conftest.er1 conftest.err
1576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577 test $ac_status = 0; } && {
1578 test -z "$ac_c_werror_flag" ||
1579 test ! -s conftest.err
1580 } && test -s conftest
$ac_exeext && {
1581 test "$cross_compiling" = yes ||
1582 test -x conftest
$ac_exeext
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.
$ac_ext >&5
1591 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1592 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1593 # interfere with the next link command; also delete a directory that is
1594 # left behind by Apple's compiler. We do this before executing the actions.
1595 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1596 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1597 as_fn_set_status
$ac_retval
1599 } # ac_fn_c_try_link
1601 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1602 # -------------------------------------------------------
1603 # Tests whether HEADER exists and can be compiled using the include files in
1604 # INCLUDES, setting the cache variable VAR accordingly.
1605 ac_fn_c_check_header_compile
()
1607 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1609 $as_echo_n "checking for $2... " >&6; }
1610 if eval \
${$3+:} false
; then :
1611 $as_echo_n "(cached) " >&6
1613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1614 /* end confdefs.h. */
1618 if ac_fn_c_try_compile
"$LINENO"; then :
1623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1627 $as_echo "$ac_res" >&6; }
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630 } # ac_fn_c_check_header_compile
1632 # ac_fn_c_try_cpp LINENO
1633 # ----------------------
1634 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1637 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1638 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1647 if test -s conftest.err; then
1648 grep -v '^ *+' conftest.err >conftest.er1
1649 cat conftest.er1 >&5
1650 mv -f conftest.er1 conftest.err
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 test $ac_status = 0; } > conftest.i && {
1654 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1655 test ! -s conftest.err
1659 $as_echo "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.$ac_ext >&5
1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 as_fn_set_status $ac_retval
1669 # ac_fn_c_try_run LINENO
1670 # ----------------------
1671 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1672 # that executables *can* be run.
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 if { { ac_try="$ac_link"
1678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1679 *) ac_try_echo
=$ac_try;;
1681 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_link") 2>&5
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1687 { { case "(($ac_try" in
1688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_try") 2>&5
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; }; }; then :
1699 $as_echo "$as_me: program exited with status $ac_status" >&5
1700 $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.$ac_ext >&5
1703 ac_retval=$ac_status
1705 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1707 as_fn_set_status $ac_retval
1711 # ac_fn_c_check_func LINENO FUNC VAR
1712 # ----------------------------------
1713 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1714 ac_fn_c_check_func ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1718 $as_echo_n "checking for $2... " >&6; }
1719 if eval \${$3+:} false; then :
1720 $as_echo_n "(cached) " >&6
1722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 /* end confdefs.h. */
1724 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1726 #define $2 innocuous_$2
1728 /* System header to define __stub macros and hopefully few prototypes,
1729 which can conflict with char $2 (); below.
1730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1731 <limits.h> exists even on freestanding compilers. */
1734 # include <limits.h>
1736 # include <assert.h>
1741 /* Override any GCC internal prototype to avoid an error.
1742 Use char because int might match the return type of a GCC
1743 builtin and then its argument prototype would still apply. */
1748 /* The GNU C library defines this for functions which it implements
1749 to always fail with ENOSYS. Some functions are actually named
1750 something starting with __ and the normal name is an alias. */
1751 #if defined __stub_$2 || defined __stub___$2
1763 if ac_fn_c_try_link "$LINENO"; then :
1768 rm -f core conftest.err conftest.$ac_objext \
1769 conftest$ac_exeext conftest.$ac_ext
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773 $as_echo "$ac_res" >&6; }
1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776 } # ac_fn_c_check_func
1778 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1779 # -------------------------------------------------------
1780 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1781 # the include files in INCLUDES and setting the cache variable VAR
1783 ac_fn_c_check_header_mongrel ()
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 if eval \${$3+:} false; then :
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1796 # Is the header compilable?
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1798 $as_echo_n "checking $2 usability... " >&6; }
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1804 if ac_fn_c_try_compile "$LINENO"; then :
1805 ac_header_compiler=yes
1807 ac_header_compiler=no
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1811 $as_echo "$ac_header_compiler" >&6; }
1813 # Is the header present?
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1815 $as_echo_n "checking $2 presence... " >&6; }
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1820 if ac_fn_c_try_cpp "$LINENO"; then :
1821 ac_header_preproc=yes
1823 ac_header_preproc=no
1825 rm -f conftest.err conftest.i conftest.$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1827 $as_echo "$ac_header_preproc" >&6; }
1829 # So? What about this header?
1830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1833 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1835 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1839 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1841 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1843 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1845 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1847 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1848 ( $as_echo "## -------------------------------------------------- ##
1849 ## Report this to courier-users@lists.sourceforge.net ##
1850 ## -------------------------------------------------- ##"
1851 ) | sed "s/^/$as_me: WARNING: /" >&2
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1855 $as_echo_n "checking for $2... " >&6; }
1856 if eval \${$3+:} false; then :
1857 $as_echo_n "(cached) " >&6
1859 eval "$3=\$ac_header_compiler"
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1863 $as_echo "$ac_res" >&6; }
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867 } # ac_fn_c_check_header_mongrel
1869 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1870 # --------------------------------------------
1871 # Tries to find the compile-time value of EXPR in a program that includes
1872 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1874 ac_fn_c_compute_int ()
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 if test "$cross_compiling" = yes; then
1878 # Depending upon the size, compute the lo and hi bounds.
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1885 static int test_array [1 - 2 * !(($2) >= 0)];
1887 return test_array [0];
1893 if ac_fn_c_try_compile "$LINENO"; then :
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1902 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1904 return test_array [0];
1910 if ac_fn_c_try_compile "$LINENO"; then :
1911 ac_hi=$ac_mid; break
1913 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1914 if test $ac_lo -le $ac_mid; then
1918 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1929 static int test_array [1 - 2 * !(($2) < 0)];
1931 return test_array [0];
1937 if ac_fn_c_try_compile "$LINENO"; then :
1940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1946 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1948 return test_array [0];
1954 if ac_fn_c_try_compile "$LINENO"; then :
1955 ac_lo=$ac_mid; break
1957 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1958 if test $ac_mid -le $ac_hi; then
1962 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1972 # Binary search between lo and hi bounds.
1973 while test "x$ac_lo" != "x$ac_hi"; do
1974 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1981 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1983 return test_array [0];
1989 if ac_fn_c_try_compile "$LINENO"; then :
1992 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1997 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2004 static long int longval () { return $2; }
2005 static unsigned long int ulongval () { return $2; }
2012 FILE *f = fopen ("conftest.val", "w");
2017 long int i = longval ();
2020 fprintf (f, "%ld", i);
2024 unsigned long int i = ulongval ();
2027 fprintf (f, "%lu", i);
2029 /* Do not output a trailing newline, as this causes \r\n confusion
2030 on some platforms. */
2031 return ferror (f) || fclose (f) != 0;
2037 if ac_fn_c_try_run "$LINENO"; then :
2038 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2043 conftest.$ac_objext conftest.beam conftest.$ac_ext
2047 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2048 as_fn_set_status $ac_retval
2050 } # ac_fn_c_compute_int
2051 cat >config.log <<_ACEOF
2052 This file contains any messages produced by compilers while
2053 running configure, to aid debugging if configure makes a mistake.
2055 It was created by libmd5 $as_me 1.21, which was
2056 generated by GNU Autoconf 2.69. Invocation command line was
2068 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2069 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2070 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2071 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2072 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2074 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2075 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2077 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2078 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2079 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2080 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2081 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2082 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2083 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 test -z "$as_dir" && as_dir=.
2092 $as_echo "PATH: $as_dir"
2108 # Keep a trace of the command line.
2109 # Strip out --no-create and --no-recursion so they do not pile up.
2110 # Strip out --silent because we don't want to record it for future runs.
2111 # Also quote any args containing shell meta-characters.
2112 # Make two passes to allow for proper duplicate-argument suppression.
2116 ac_must_keep_next=false
2122 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2124 | -silent | --silent | --silen | --sile | --sil)
2127 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2130 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2132 as_fn_append ac_configure_args1 " '$ac_arg'"
2133 if test $ac_must_keep_next = true; then
2134 ac_must_keep_next=false # Got value, back to normal.
2137 *=* | --config-cache | -C | -disable-* | --disable-* \
2138 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2139 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2140 | -with-* | --with-* | -without-* | --without-* | --x)
2141 case "$ac_configure_args0 " in
2142 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2145 -* ) ac_must_keep_next=true ;;
2148 as_fn_append ac_configure_args " '$ac_arg'"
2153 { ac_configure_args0=; unset ac_configure_args0;}
2154 { ac_configure_args1=; unset ac_configure_args1;}
2156 # When interrupted or exit'd, cleanup temporary files, and complete
2157 # config.log. We remove comments because anyway the quotes in there
2158 # would cause problems or look ugly.
2159 # WARNING: Use '\'' to represent an apostrophe within the trap.
2160 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2161 trap 'exit_status=$?
2162 # Save into config.log some information that might help in debugging.
2166 $as_echo "## ---------------- ##
2167 ## Cache variables. ##
2168 ## ---------------- ##"
2170 # The following way of writing the cache mishandles newlines in values,
2172 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2173 eval ac_val=\$$ac_var
2177 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2178 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2181 _ | IFS | as_nl) ;; #(
2182 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2183 *) { eval $ac_var=; unset $ac_var;} ;;
2188 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2189 *${as_nl}ac_space=\ *)
2191 "s/'\''/'\''\\\\'\'''\''/g;
2192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2195 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2202 $as_echo "## ----------------- ##
2203 ## Output variables. ##
2204 ## ----------------- ##"
2206 for ac_var in $ac_subst_vars
2208 eval ac_val=\$$ac_var
2210 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2212 $as_echo "$ac_var='\''$ac_val'\''"
2216 if test -n "$ac_subst_files"; then
2217 $as_echo "## ------------------- ##
2218 ## File substitutions. ##
2219 ## ------------------- ##"
2221 for ac_var in $ac_subst_files
2223 eval ac_val=\$$ac_var
2225 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227 $as_echo "$ac_var='\''$ac_val'\''"
2232 if test -s confdefs.h; then
2233 $as_echo "## ----------- ##
2240 test "$ac_signal" != 0 &&
2241 $as_echo "$as_me: caught signal $ac_signal"
2242 $as_echo "$as_me: exit $exit_status"
2244 rm -f core *.core core.conftest.* &&
2245 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2248 for ac_signal in 1 2 13 15; do
2249 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2253 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2254 rm -f -r conftest* confdefs.h
2256 $as_echo "/* confdefs.h */" > confdefs.h
2258 # Predefined preprocessor variables.
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_NAME "$PACKAGE_NAME"
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2272 cat >>confdefs.h <<_ACEOF
2273 #define PACKAGE_STRING "$PACKAGE_STRING"
2276 cat >>confdefs.h <<_ACEOF
2277 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2280 cat >>confdefs.h <<_ACEOF
2281 #define PACKAGE_URL "$PACKAGE_URL"
2285 # Let the site file select an alternate cache file if it wants to.
2286 # Prefer an explicitly selected file to automatically selected ones.
2289 if test -n "$CONFIG_SITE"; then
2290 # We do not want a PATH search for config.site.
2291 case $CONFIG_SITE in #((
2292 -*) ac_site_file1=./$CONFIG_SITE;;
2293 */*) ac_site_file1=$CONFIG_SITE;;
2294 *) ac_site_file1=./$CONFIG_SITE;;
2296 elif test "x$prefix" != xNONE; then
2297 ac_site_file1=$prefix/share/config.site
2298 ac_site_file2=$prefix/etc/config.site
2300 ac_site_file1=$ac_default_prefix/share/config.site
2301 ac_site_file2=$ac_default_prefix/etc/config.site
2303 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2305 test "x$ac_site_file" = xNONE && continue
2306 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2308 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2309 sed 's/^/| /' "$ac_site_file" >&5
2311 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2313 as_fn_error $? "failed to load site
script $ac_site_file
2314 See \
`config.log' for more details" "$LINENO" 5; }
2318 if test -r "$cache_file"; then
2319 # Some versions of bash will fail to source /dev/null (special files
2320 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2321 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2323 $as_echo "$as_me: loading cache $cache_file" >&6;}
2325 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2326 *) . "./$cache_file";;
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2331 $as_echo "$as_me: creating cache $cache_file" >&6;}
2335 # Check that the precious variables saved in the cache have kept the same
2337 ac_cache_corrupted=false
2338 for ac_var in $ac_precious_vars; do
2339 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2340 eval ac_new_set=\$ac_env_${ac_var}_set
2341 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2342 eval ac_new_val=\$ac_env_${ac_var}_value
2343 case $ac_old_set,$ac_new_set in
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2346 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2347 ac_cache_corrupted=: ;;
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2350 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2351 ac_cache_corrupted=: ;;
2354 if test "x$ac_old_val" != "x$ac_new_val"; then
2355 # differences in whitespace do not lead to failure.
2356 ac_old_val_w=`echo x
$ac_old_val`
2357 ac_new_val_w=`echo x
$ac_new_val`
2358 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2360 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2361 ac_cache_corrupted=:
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2364 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2365 eval $ac_var=\$ac_old_val
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2368 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2370 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2373 # Pass precious variables to config.status.
2374 if test "$ac_new_set" = set; then
2376 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2377 *) ac_arg=$ac_var=$ac_new_val ;;
2379 case " $ac_configure_args " in
2380 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2381 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2385 if $ac_cache_corrupted; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2389 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2390 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2392 ## -------------------- ##
2393 ## Main body of script. ##
2394 ## -------------------- ##
2397 ac_cpp='$CPP $CPPFLAGS'
2398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2404 >confdefs.h # Kill PACKAGE_ macros
2408 for ac_dir in ../.. "$srcdir"/../..; do
2409 if test -f "$ac_dir/install-sh"; then
2411 ac_install_sh="$ac_aux_dir/install-sh -c"
2413 elif test -f "$ac_dir/install.sh"; then
2415 ac_install_sh="$ac_aux_dir/install.sh -c"
2417 elif test -f "$ac_dir/shtool"; then
2419 ac_install_sh="$ac_aux_dir/shtool install -c"
2423 if test -z "$ac_aux_dir"; then
2424 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2427 # These three variables are undocumented and unsupported,
2428 # and are intended to be withdrawn in a future Autoconf release.
2429 # They can cause serious problems if a builder's source tree is in a directory
2430 # whose full name contains unusual characters.
2431 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2432 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2433 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2436 ac_config_headers="$ac_config_headers config.h"
2438 am__api_version='1.15'
2440 # Find a good install program. We prefer a C program (faster),
2441 # so one script is as good as another. But avoid the broken or
2442 # incompatible versions:
2443 # SysV /etc/install, /usr/sbin/install
2444 # SunOS /usr/etc/install
2445 # IRIX /sbin/install
2447 # AmigaOS /C/install, which installs bootblocks on floppy discs
2448 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2449 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2450 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2451 # OS/2's system install, which has a completely different semantic
2452 # ./install, which can be erroneously created by make from ./install.sh.
2453 # Reject install programs that cannot install multiple files.
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2455 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2456 if test -z "$INSTALL"; then
2457 if ${ac_cv_path_install+:} false; then :
2458 $as_echo_n "(cached) " >&6
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir=.
2465 # Account for people who put trailing slashes in PATH elements.
2466 case $as_dir/ in #((
2467 ./ | .// | /[cC]/* | \
2468 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2469 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2472 # OSF1 and SCO ODT 3.0 have their own names for install.
2473 # Don't use installbsd from OSF since it installs stuff as root
2475 for ac_prog in ginstall scoinst install; do
2476 for ac_exec_ext in '' $ac_executable_extensions; do
2477 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2478 if test $ac_prog = install &&
2479 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2480 # AIX install. It has an incompatible calling convention.
2482 elif test $ac_prog = install &&
2483 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2484 # program-specific install script used by HP pwplus--don't use.
2487 rm -rf conftest.one conftest.two conftest.dir
2488 echo one > conftest.one
2489 echo two > conftest.two
2491 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2492 test -s conftest.one && test -s conftest.two &&
2493 test -s conftest.dir/conftest.one &&
2494 test -s conftest.dir/conftest.two
2496 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2509 rm -rf conftest.one conftest.two conftest.dir
2512 if test "${ac_cv_path_install+set}" = set; then
2513 INSTALL=$ac_cv_path_install
2515 # As a last resort, use the slow shell script. Don't cache a
2516 # value for INSTALL within a source directory, because that will
2517 # break other packages using the cache if that directory is
2518 # removed, or if the value is a relative name.
2519 INSTALL=$ac_install_sh
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2523 $as_echo "$INSTALL" >&6; }
2525 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2526 # It thinks the first close brace ends the variable substitution.
2527 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2529 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2531 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2534 $as_echo_n "checking whether build environment is sane... " >&6; }
2535 # Reject unsafe characters in $srcdir or the absolute working directory
2536 # name. Accept space and tab only in the latter.
2540 *[\\\"\#\$\&\'\`$am_lf]*)
2541 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2544 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2545 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2548 # Do 'set' in a subshell so we don't clobber the current shell's
2549 # arguments. Must try -L first in case configure is actually a
2550 # symlink; some systems play weird games with the mod time of symlinks
2551 # (eg FreeBSD returns the mod time of the symlink's containing
2555 for am_try
in 1 2; do
2556 echo "timestamp, slept: $am_has_slept" > conftest.
file
2557 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2558 if test "$*" = "X"; then
2560 set X
`ls -t "$srcdir/configure" conftest.file`
2562 if test "$*" != "X $srcdir/configure conftest.file" \
2563 && test "$*" != "X conftest.file $srcdir/configure"; then
2565 # If neither matched, then we have a broken ls. This can happen
2566 # if, for instance, CONFIG_SHELL is bash and it inherits a
2567 # broken ls alias from the environment. This has actually
2568 # happened. Such a system could not be considered "sane".
2569 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2570 alias in your environment" "$LINENO" 5
2572 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2579 test "$2" = conftest.
file
2585 as_fn_error $?
"newly created file is older than distributed files!
2586 Check your system clock" "$LINENO" 5
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2589 $as_echo "yes" >&6; }
2590 # If we didn't sleep, we still need to ensure time stamps of config.status and
2591 # generated files are strictly newer.
2593 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2600 test "$program_prefix" != NONE
&&
2601 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2602 # Use a double $ so make ignores it.
2603 test "$program_suffix" != NONE
&&
2604 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2605 # Double any \ or $.
2606 # By default was `s,x,x', remove it if useless.
2607 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2608 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2610 # Expand $ac_aux_dir to an absolute path.
2611 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2613 if test x
"${MISSING+set}" != xset
; then
2616 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2618 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2621 # Use eval to expand $SHELL
2622 if eval "$MISSING --is-lightweight"; then
2623 am_missing_run
="$MISSING "
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2627 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2630 if test x
"${install_sh+set}" != xset
; then
2633 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2635 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2639 # Installed binaries are usually stripped using 'strip' when the user
2640 # run "make install-strip". However 'strip' might not be the right
2641 # tool to use in cross-compilation environments, therefore Automake
2642 # will honor the 'STRIP' environment variable to overrule this program.
2643 if test "$cross_compiling" != no
; then
2644 if test -n "$ac_tool_prefix"; then
2645 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2646 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648 $as_echo_n "checking for $ac_word... " >&6; }
2649 if ${ac_cv_prog_STRIP+:} false
; then :
2650 $as_echo_n "(cached) " >&6
2652 if test -n "$STRIP"; then
2653 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir
=.
2660 for ac_exec_ext
in '' $ac_executable_extensions; do
2661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2662 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 STRIP
=$ac_cv_prog_STRIP
2673 if test -n "$STRIP"; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2675 $as_echo "$STRIP" >&6; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678 $as_echo "no" >&6; }
2683 if test -z "$ac_cv_prog_STRIP"; then
2685 # Extract the first word of "strip", so it can be a program name with args.
2686 set dummy strip
; ac_word
=$2
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2688 $as_echo_n "checking for $ac_word... " >&6; }
2689 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2690 $as_echo_n "(cached) " >&6
2692 if test -n "$ac_ct_STRIP"; then
2693 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir
=.
2700 for ac_exec_ext
in '' $ac_executable_extensions; do
2701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2702 ac_cv_prog_ac_ct_STRIP
="strip"
2703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2713 if test -n "$ac_ct_STRIP"; then
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2715 $as_echo "$ac_ct_STRIP" >&6; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2721 if test "x$ac_ct_STRIP" = x
; then
2724 case $cross_compiling:$ac_tool_warned in
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2728 ac_tool_warned
=yes ;;
2733 STRIP
="$ac_cv_prog_STRIP"
2737 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2740 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2741 if test -z "$MKDIR_P"; then
2742 if ${ac_cv_path_mkdir+:} false
; then :
2743 $as_echo_n "(cached) " >&6
2745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2749 test -z "$as_dir" && as_dir
=.
2750 for ac_prog
in mkdir gmkdir
; do
2751 for ac_exec_ext
in '' $ac_executable_extensions; do
2752 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2753 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2754 'mkdir (GNU coreutils) '* | \
2755 'mkdir (coreutils) '* | \
2756 'mkdir (fileutils) '4.1*)
2757 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2767 test -d .
/--version && rmdir .
/--version
2768 if test "${ac_cv_path_mkdir+set}" = set; then
2769 MKDIR_P
="$ac_cv_path_mkdir -p"
2771 # As a last resort, use the slow shell script. Don't cache a
2772 # value for MKDIR_P within a source directory, because that will
2773 # break other packages using the cache if that directory is
2774 # removed, or if the value is a relative name.
2775 MKDIR_P
="$ac_install_sh -d"
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2779 $as_echo "$MKDIR_P" >&6; }
2781 for ac_prog
in gawk mawk nawk
awk
2783 # Extract the first word of "$ac_prog", so it can be a program name with args.
2784 set dummy
$ac_prog; ac_word
=$2
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2786 $as_echo_n "checking for $ac_word... " >&6; }
2787 if ${ac_cv_prog_AWK+:} false
; then :
2788 $as_echo_n "(cached) " >&6
2790 if test -n "$AWK"; then
2791 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir
=.
2798 for ac_exec_ext
in '' $ac_executable_extensions; do
2799 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2800 ac_cv_prog_AWK
="$ac_prog"
2801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 if test -n "$AWK"; then
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2813 $as_echo "$AWK" >&6; }
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2816 $as_echo "no" >&6; }
2820 test -n "$AWK" && break
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2824 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2826 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2827 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2828 $as_echo_n "(cached) " >&6
2830 cat >conftest.
make <<\_ACEOF
2833 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2835 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2836 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2838 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2840 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2844 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2846 $as_echo "yes" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2851 SET_MAKE
="MAKE=${MAKE-make}"
2854 rm -rf .tst
2>/dev
/null
2855 mkdir .tst
2>/dev
/null
2856 if test -d .tst
; then
2861 rmdir .tst
2>/dev
/null
2863 # Check whether --enable-silent-rules was given.
2864 if test "${enable_silent_rules+set}" = set; then :
2865 enableval
=$enable_silent_rules;
2868 case $enable_silent_rules in # (((
2869 yes) AM_DEFAULT_VERBOSITY
=0;;
2870 no
) AM_DEFAULT_VERBOSITY
=1;;
2871 *) AM_DEFAULT_VERBOSITY
=1;;
2873 am_make
=${MAKE-make}
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2875 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2876 if ${am_cv_make_support_nested_variables+:} false
; then :
2877 $as_echo_n "(cached) " >&6
2879 if $as_echo 'TRUE=$(BAR$(V))
2885 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2886 am_cv_make_support_nested_variables
=yes
2888 am_cv_make_support_nested_variables
=no
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2892 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2893 if test $am_cv_make_support_nested_variables = yes; then
2895 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2897 AM_V
=$AM_DEFAULT_VERBOSITY
2898 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2902 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2903 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2904 # is not polluted with repeated "-I."
2905 am__isrc
=' -I$(srcdir)'
2906 # test to see if srcdir already configured
2907 if test -f $srcdir/config.status
; then
2908 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2912 # test whether we have cygpath
2913 if test -z "$CYGPATH_W"; then
2914 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2915 CYGPATH_W
='cygpath -w'
2922 # Define the identity of the package.
2927 # Some tools Automake needs.
2929 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2932 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2935 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2938 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2941 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2943 # For better backward compatibility. To be removed once Automake 1.9.x
2944 # dies out for good. For more background, see:
2945 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2946 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2947 mkdir_p
='$(MKDIR_P)'
2949 # We need awk for the "check" target (and possibly the TAP driver). The
2950 # system "awk" is bad on some platforms.
2951 # Always define AMTAR for backward compatibility. Yes, it's still used
2952 # in the wild :-( We should find a proper way to deprecate it ...
2956 # We'll loop over all known methods to create a tar archive until one works.
2957 _am_tools
='gnutar pax cpio none'
2959 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2966 # POSIX will say in a future version that running "rm -f" with no argument
2967 # is OK; and we want to be able to make that assumption in our Makefile
2968 # recipes. So use an aggressive probe to check that the usage we want is
2969 # actually supported "in the wild" to an acceptable degree.
2970 # See automake bug#10828.
2971 # To make any issue more visible, cause the running configure to be aborted
2972 # by default if the 'rm' program in use doesn't match our expectations; the
2973 # user can still override this though.
2974 if rm -f && rm -fr && rm -rf; then : OK
; else
2978 Your 'rm' program seems unable to run without file operands specified
2979 on the command line, even when the '-f' option is present. This is contrary
2980 to the behaviour of most rm programs out there, and not conforming with
2981 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2983 Please tell bug-automake@gnu.org about your system, including the value
2984 of your $PATH and any error possibly output before this message. This
2985 can help us improve future automake versions.
2988 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2989 echo 'Configuration will proceed anyway, since you have set the' >&2
2990 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2994 Aborting the configuration process, to ensure you take notice of the issue.
2996 You can download and install GNU coreutils to get an 'rm' implementation
2997 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2999 If you want to complete the configuration process using your problematic
3000 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3001 to "yes", and re-run configure.
3004 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3009 if test -d ${srcdir}/..
/libhmac
; then
3018 for ac_prog
in gawk mawk nawk
awk
3020 # Extract the first word of "$ac_prog", so it can be a program name with args.
3021 set dummy
$ac_prog; ac_word
=$2
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023 $as_echo_n "checking for $ac_word... " >&6; }
3024 if ${ac_cv_prog_AWK+:} false
; then :
3025 $as_echo_n "(cached) " >&6
3027 if test -n "$AWK"; then
3028 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3034 test -z "$as_dir" && as_dir
=.
3035 for ac_exec_ext
in '' $ac_executable_extensions; do
3036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3037 ac_cv_prog_AWK
="$ac_prog"
3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 if test -n "$AWK"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3050 $as_echo "$AWK" >&6; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 $as_echo "no" >&6; }
3057 test -n "$AWK" && break
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3062 $as_echo_n "checking whether ln -s works... " >&6; }
3064 if test "$LN_S" = "ln -s"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3066 $as_echo "yes" >&6; }
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3069 $as_echo "no, using $LN_S" >&6; }
3073 ac_cpp
='$CPP $CPPFLAGS'
3074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3077 if test -n "$ac_tool_prefix"; then
3078 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3079 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if ${ac_cv_prog_CC+:} false
; then :
3083 $as_echo_n "(cached) " >&6
3085 if test -n "$CC"; then
3086 ac_cv_prog_CC
="$CC" # Let the user override the test.
3088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir
=.
3093 for ac_exec_ext
in '' $ac_executable_extensions; do
3094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3095 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 if test -n "$CC"; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3108 $as_echo "$CC" >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3116 if test -z "$ac_cv_prog_CC"; then
3118 # Extract the first word of "gcc", so it can be a program name with args.
3119 set dummy gcc
; ac_word
=$2
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121 $as_echo_n "checking for $ac_word... " >&6; }
3122 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3123 $as_echo_n "(cached) " >&6
3125 if test -n "$ac_ct_CC"; then
3126 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3132 test -z "$as_dir" && as_dir
=.
3133 for ac_exec_ext
in '' $ac_executable_extensions; do
3134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3135 ac_cv_prog_ac_ct_CC
="gcc"
3136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3146 if test -n "$ac_ct_CC"; then
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3148 $as_echo "$ac_ct_CC" >&6; }
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151 $as_echo "no" >&6; }
3154 if test "x$ac_ct_CC" = x
; then
3157 case $cross_compiling:$ac_tool_warned in
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3161 ac_tool_warned
=yes ;;
3169 if test -z "$CC"; then
3170 if test -n "$ac_tool_prefix"; then
3171 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3172 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if ${ac_cv_prog_CC+:} false
; then :
3176 $as_echo_n "(cached) " >&6
3178 if test -n "$CC"; then
3179 ac_cv_prog_CC
="$CC" # Let the user override the test.
3181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir
=.
3186 for ac_exec_ext
in '' $ac_executable_extensions; do
3187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3188 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199 if test -n "$CC"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3201 $as_echo "$CC" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3210 if test -z "$CC"; then
3211 # Extract the first word of "cc", so it can be a program name with args.
3212 set dummy cc
; ac_word
=$2
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if ${ac_cv_prog_CC+:} false
; then :
3216 $as_echo_n "(cached) " >&6
3218 if test -n "$CC"; then
3219 ac_cv_prog_CC
="$CC" # Let the user override the test.
3222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3226 test -z "$as_dir" && as_dir
=.
3227 for ac_exec_ext
in '' $ac_executable_extensions; do
3228 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3229 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3230 ac_prog_rejected
=yes
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241 if test $ac_prog_rejected = yes; then
3242 # We found a bogon in the path, so make sure we never use it.
3243 set dummy
$ac_cv_prog_CC
3245 if test $# != 0; then
3246 # We chose a different compiler from the bogus one.
3247 # However, it has the same basename, so the bogon will be chosen
3248 # first if we set CC to just the basename; use the full file name.
3250 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3256 if test -n "$CC"; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3258 $as_echo "$CC" >&6; }
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3266 if test -z "$CC"; then
3267 if test -n "$ac_tool_prefix"; then
3268 for ac_prog
in cl.exe
3270 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3271 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if ${ac_cv_prog_CC+:} false
; then :
3275 $as_echo_n "(cached) " >&6
3277 if test -n "$CC"; then
3278 ac_cv_prog_CC
="$CC" # Let the user override the test.
3280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir
=.
3285 for ac_exec_ext
in '' $ac_executable_extensions; do
3286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3287 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 if test -n "$CC"; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3300 $as_echo "$CC" >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3307 test -n "$CC" && break
3310 if test -z "$CC"; then
3312 for ac_prog
in cl.exe
3314 # Extract the first word of "$ac_prog", so it can be a program name with args.
3315 set dummy
$ac_prog; ac_word
=$2
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 $as_echo_n "checking for $ac_word... " >&6; }
3318 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3319 $as_echo_n "(cached) " >&6
3321 if test -n "$ac_ct_CC"; then
3322 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3328 test -z "$as_dir" && as_dir
=.
3329 for ac_exec_ext
in '' $ac_executable_extensions; do
3330 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3331 ac_cv_prog_ac_ct_CC
="$ac_prog"
3332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3342 if test -n "$ac_ct_CC"; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3344 $as_echo "$ac_ct_CC" >&6; }
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 $as_echo "no" >&6; }
3351 test -n "$ac_ct_CC" && break
3354 if test "x$ac_ct_CC" = x
; then
3357 case $cross_compiling:$ac_tool_warned in
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3361 ac_tool_warned
=yes ;;
3370 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372 as_fn_error $?
"no acceptable C compiler found in \$PATH
3373 See \`config.log' for more details" "$LINENO" 5; }
3375 # Provide some information about the compiler.
3376 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3379 for ac_option
in --version -v -V -qversion; do
3380 { { ac_try
="$ac_compiler $ac_option >&5"
3382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3383 *) ac_try_echo=$ac_try;;
3385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3386 $as_echo "$ac_try_echo"; } >&5
3387 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3389 if test -s conftest.err; then
3391 ... rest of stderr output deleted ...
3392 10q' conftest.err >conftest.er1
3393 cat conftest.er1 >&5
3395 rm -f conftest.er1 conftest.err
3396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3397 test $ac_status = 0; }
3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h. */
3411 ac_clean_files_save=$ac_clean_files
3412 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3413 # Try to create an executable without -o first, disregard a.out.
3414 # It will help us diagnose broken compilers, and finding out an intuition
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3417 $as_echo_n "checking whether the C compiler works... " >&6; }
3418 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3420 # The possible output files:
3421 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3424 for ac_file in $ac_files
3427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3428 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3433 if { { ac_try="$ac_link_default"
3435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3436 *) ac_try_echo
=$ac_try;;
3438 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3439 $as_echo "$ac_try_echo"; } >&5
3440 (eval "$ac_link_default") 2>&5
3442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3443 test $ac_status = 0; }; then :
3444 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3445 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3446 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3447 # so that the user can short-circuit this test for compilers unknown to
3449 for ac_file
in $ac_files ''
3451 test -f "$ac_file" ||
continue
3453 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3456 # We found the default executable, but exeext='' is most
3460 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3462 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3464 # We set ac_cv_exeext here because the later test for it is not
3465 # safe: cross compilers may not add the suffix if given an `-o'
3466 # argument, so we may need to know it at that point already.
3467 # Even if this section looks crufty: it has the advantage of
3474 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3479 if test -z "$ac_file"; then :
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3481 $as_echo "no" >&6; }
3482 $as_echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.
$ac_ext >&5
3485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487 as_fn_error
77 "C compiler cannot create executables
3488 See \`config.log' for more details" "$LINENO" 5; }
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3491 $as_echo "yes" >&6; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3494 $as_echo_n "checking for C compiler default output file name... " >&6; }
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3496 $as_echo "$ac_file" >&6; }
3497 ac_exeext
=$ac_cv_exeext
3499 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3500 ac_clean_files
=$ac_clean_files_save
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3502 $as_echo_n "checking for suffix of executables... " >&6; }
3503 if { { ac_try
="$ac_link"
3505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3506 *) ac_try_echo=$ac_try;;
3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3509 $as_echo "$ac_try_echo"; } >&5
3510 (eval "$ac_link") 2>&5
3512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3513 test $ac_status = 0; }; then :
3514 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3515 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3516 # work properly (i.e., refer to `conftest.exe'), while it won't with
3518 for ac_file
in conftest.exe conftest conftest.
*; do
3519 test -f "$ac_file" ||
continue
3521 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3522 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3530 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3531 See \`config.log' for more details" "$LINENO" 5; }
3533 rm -f conftest conftest
$ac_cv_exeext
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3535 $as_echo "$ac_cv_exeext" >&6; }
3537 rm -f conftest.
$ac_ext
3538 EXEEXT
=$ac_cv_exeext
3540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h. */
3546 FILE *f = fopen ("conftest.out", "w");
3547 return ferror (f) || fclose (f) != 0;
3553 ac_clean_files
="$ac_clean_files conftest.out"
3554 # Check that the compiler produces executables we can run. If not, either
3555 # the compiler is broken, or we cross compile.
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3557 $as_echo_n "checking whether we are cross compiling... " >&6; }
3558 if test "$cross_compiling" != yes; then
3559 { { ac_try
="$ac_link"
3561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3562 *) ac_try_echo=$ac_try;;
3564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3565 $as_echo "$ac_try_echo"; } >&5
3566 (eval "$ac_link") 2>&5
3568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3569 test $ac_status = 0; }
3570 if { ac_try='./conftest$ac_cv_exeext'
3571 { { case "(($ac_try" in
3572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3573 *) ac_try_echo
=$ac_try;;
3575 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3576 $as_echo "$ac_try_echo"; } >&5
3577 (eval "$ac_try") 2>&5
3579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3580 test $ac_status = 0; }; }; then
3583 if test "$cross_compiling" = maybe
; then
3586 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3588 as_fn_error $?
"cannot run C compiled programs.
3589 If you meant to cross compile, use \`--host'.
3590 See \`config.log' for more details" "$LINENO" 5; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3595 $as_echo "$cross_compiling" >&6; }
3597 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3598 ac_clean_files
=$ac_clean_files_save
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3600 $as_echo_n "checking for suffix of object files... " >&6; }
3601 if ${ac_cv_objext+:} false
; then :
3602 $as_echo_n "(cached) " >&6
3604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3615 rm -f conftest.o conftest.obj
3616 if { { ac_try
="$ac_compile"
3618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3619 *) ac_try_echo=$ac_try;;
3621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3622 $as_echo "$ac_try_echo"; } >&5
3623 (eval "$ac_compile") 2>&5
3625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3626 test $ac_status = 0; }; then :
3627 for ac_file in conftest.o conftest.obj conftest.*; do
3628 test -f "$ac_file" || continue;
3630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3631 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3636 $as_echo "$as_me: failed program was:" >&5
3637 sed 's/^/| /' conftest.$ac_ext >&5
3639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3641 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3642 See \
`config.log' for more details" "$LINENO" 5; }
3644 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3647 $as_echo "$ac_cv_objext" >&6; }
3648 OBJEXT=$ac_cv_objext
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3651 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3652 if ${ac_cv_c_compiler_gnu+:} false; then :
3653 $as_echo_n "(cached) " >&6
3655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h. */
3669 if ac_fn_c_try_compile "$LINENO"; then :
3674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3679 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3680 if test $ac_compiler_gnu = yes; then
3685 ac_test_CFLAGS=${CFLAGS+set}
3686 ac_save_CFLAGS=$CFLAGS
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3688 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3689 if ${ac_cv_prog_cc_g+:} false; then :
3690 $as_echo_n "(cached) " >&6
3692 ac_save_c_werror_flag=$ac_c_werror_flag
3693 ac_c_werror_flag=yes
3696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3697 /* end confdefs.h. */
3707 if ac_fn_c_try_compile "$LINENO"; then :
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3722 if ac_fn_c_try_compile "$LINENO"; then :
3725 ac_c_werror_flag=$ac_save_c_werror_flag
3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3738 if ac_fn_c_try_compile "$LINENO"; then :
3741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746 ac_c_werror_flag=$ac_save_c_werror_flag
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3749 $as_echo "$ac_cv_prog_cc_g" >&6; }
3750 if test "$ac_test_CFLAGS" = set; then
3751 CFLAGS=$ac_save_CFLAGS
3752 elif test $ac_cv_prog_cc_g = yes; then
3753 if test "$GCC" = yes; then
3759 if test "$GCC" = yes; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3766 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3767 if ${ac_cv_prog_cc_c89+:} false; then :
3768 $as_echo_n "(cached) " >&6
3770 ac_cv_prog_cc_c89=no
3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3773 /* end confdefs.h. */
3777 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3778 struct buf { int x; };
3779 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3780 static char *e (p, i)
3786 static char *f (char * (*g) (char **, int), char **p, ...)
3791 s = g (p, va_arg (v,int));
3796 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3797 function prototypes and stuff, but not '\xHH' hex character constants.
3798 These don't provoke an error unfortunately, instead are silently treated
3799 as 'x'. The following induces an error, until -std is added to get
3800 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3801 array size at least. It's necessary to write '\x00'==0 to get something
3802 that's true only with -std. */
3803 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3805 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3806 inside strings and character constants. */
3808 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3810 int test (int i, double x);
3811 struct s1 {int (*f) (int a);};
3812 struct s2 {int (*f) (double a);};
3813 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3819 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3824 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3825 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3827 CC="$ac_save_CC $ac_arg"
3828 if ac_fn_c_try_compile "$LINENO"; then :
3829 ac_cv_prog_cc_c89=$ac_arg
3831 rm -f core conftest.err conftest.$ac_objext
3832 test "x$ac_cv_prog_cc_c89" != "xno" && break
3834 rm -f conftest.$ac_ext
3839 case "x$ac_cv_prog_cc_c89" in
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3842 $as_echo "none needed" >&6; } ;;
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3845 $as_echo "unsupported" >&6; } ;;
3847 CC="$CC $ac_cv_prog_cc_c89"
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3849 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3851 if test "x$ac_cv_prog_cc_c89" != xno; then :
3856 ac_cpp='$CPP $CPPFLAGS'
3857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3862 ac_cpp='$CPP $CPPFLAGS'
3863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3867 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3868 if ${am_cv_prog_cc_c_o+:} false; then :
3869 $as_echo_n "(cached) " >&6
3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h. */
3882 # Make sure it works both with $CC and with simple cc.
3883 # Following AC_PROG_CC_C_O, we do the test twice because some
3884 # compilers refuse to overwrite an existing .o file with -o,
3885 # though they will create one.
3886 am_cv_prog_cc_c_o=yes
3888 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3889 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); } \
3893 && test -f conftest2.$ac_objext; then
3896 am_cv_prog_cc_c_o=no
3900 rm -f core conftest*
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3904 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3905 if test "$am_cv_prog_cc_c_o" != yes; then
3906 # Losing compiler, so override with the script.
3907 # FIXME: It is wrong to rewrite CC.
3908 # But if we don't then we get into trouble of one sort or another.
3909 # A longer-term fix would be to have automake use am__CC in this case,
3910 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3911 CC="$am_aux_dir/compile $CC"
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3919 DEPDIR="${am__leading_dot}deps"
3921 ac_config_commands="$ac_config_commands depfiles"
3924 am_make=${MAKE-make}
3925 cat > confinc << 'END'
3927 @echo this is the am__doit target
3930 # If we don't find an include directive, just comment out the code.
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3932 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3936 # First try GNU make style include.
3937 echo "include confinc" > confmf
3938 # Ignore all kinds of additional output from 'make'.
3939 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3940 *the\ am__doit\ target*)
3946 # Now try BSD make style include.
3947 if test "$am__include" = "#"; then
3948 echo '.include "confinc"' > confmf
3949 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3950 *the\ am__doit\ target*)
3951 am__include=.include
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3960 $as_echo "$_am_result" >&6; }
3961 rm -f confinc confmf
3963 # Check whether --enable-dependency-tracking was given.
3964 if test "${enable_dependency_tracking+set}" = set; then :
3965 enableval=$enable_dependency_tracking;
3968 if test "x$enable_dependency_tracking" != xno; then
3969 am_depcomp="$ac_aux_dir/depcomp"
3973 if test "x$enable_dependency_tracking" != xno; then
3983 depcc="$CC" am_compiler_list=
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3986 $as_echo_n "checking dependency style of $depcc... " >&6; }
3987 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3988 $as_echo_n "(cached) " >&6
3990 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3991 # We make a subdir and do the tests there. Otherwise we can end up
3992 # making bogus files that we don't know about and never remove. For
3993 # instance it was reported that on HP-UX the gcc test will end up
3994 # making a dummy file named 'D' -- because '-MD' means "put the output
3998 # Copy depcomp to subdir because otherwise we won't find it if we're
3999 # using a relative directory.
4000 cp "$am_depcomp" conftest.dir
4002 # We will build objects and dependencies in a subdirectory because
4003 # it helps to detect inapplicable dependency modes. For instance
4004 # both Tru64's cc and ICC support -MD to output dependencies as a
4005 # side effect of compilation, but ICC will put the dependencies in
4006 # the current directory while Tru64 will put them in the object
4010 am_cv_CC_dependencies_compiler_type=none
4011 if test "$am_compiler_list" = ""; then
4012 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4015 case " $depcc " in #(
4016 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4019 for depmode in $am_compiler_list; do
4020 # Setup a source with many dependencies, because some compilers
4021 # like to wrap large dependency lists on column 80 (with \), and
4022 # we should not choose a depcomp mode which is confused by this.
4024 # We need to recreate these files for each test, as the compiler may
4025 # overwrite some of them when testing with obscure command lines.
4026 # This happens at least with the AIX C compiler.
4028 for i in 1 2 3 4 5 6; do
4029 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4030 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4031 # Solaris 10 /bin/sh.
4032 echo '/* dummy */' > sub/conftst$i.h
4034 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4036 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4037 # mode. It turns out that the SunPro C++ compiler does not properly
4038 # handle '-M -o', and we need to detect this. Also, some Intel
4039 # versions had trouble with output in subdirs.
4040 am__obj=sub/conftest.${OBJEXT-o}
4041 am__minus_obj="-o $am__obj"
4044 # This depmode causes a compiler race in universal mode.
4045 test "$am__universal" = false || continue
4048 # After this tag, mechanisms are not by side-effect, so they'll
4049 # only be used when explicitly requested.
4050 if test "x$enable_dependency_tracking" = xyes; then
4056 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4057 # This compiler won't grok '-c -o', but also, the minuso test has
4058 # not run yet. These depmodes are late enough in the game, and
4059 # so weak that their functioning should not be impacted.
4060 am__obj=conftest.${OBJEXT-o}
4065 if depmode=$depmode \
4066 source=sub/conftest.c object=$am__obj \
4067 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4068 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4069 >/dev/null 2>conftest.err &&
4070 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4071 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4072 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4073 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4074 # icc doesn't choke on unknown options, it will just issue warnings
4075 # or remarks (even with -Werror). So we grep stderr for any message
4076 # that says an option was ignored or not supported.
4077 # When given -MP, icc 7.0 and 7.1 complain thusly:
4078 # icc: Command line warning: ignoring option '-M'; no argument required
4079 # The diagnosis changed in icc 8.0:
4080 # icc: Command line remark: option '-MP' not supported
4081 if (grep 'ignoring option' conftest.err ||
4082 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4083 am_cv_CC_dependencies_compiler_type=$depmode
4092 am_cv_CC_dependencies_compiler_type=none
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4097 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4098 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4101 test "x$enable_dependency_tracking" != xno \
4102 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4104 am__fastdepCC_FALSE='#'
4106 am__fastdepCC_TRUE='#'
4107 am__fastdepCC_FALSE=
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4114 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4119 macro_version='2.4.6'
4120 macro_revision='2.4.6'
4134 ltmain=$ac_aux_dir/ltmain.sh
4136 # Make sure we can run config.sub.
4137 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4138 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4141 $as_echo_n "checking build system type... " >&6; }
4142 if ${ac_cv_build+:} false; then :
4143 $as_echo_n "(cached) " >&6
4145 ac_build_alias=$build_alias
4146 test "x$ac_build_alias" = x &&
4147 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4148 test "x$ac_build_alias" = x &&
4149 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4150 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4151 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4155 $as_echo "$ac_cv_build" >&6; }
4156 case $ac_cv_build in
4158 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4161 ac_save_IFS=$IFS; IFS='-'
4167 # Remember, the first character of IFS is used to create $*,
4168 # except with old shells:
4171 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4175 $as_echo_n "checking host system type... " >&6; }
4176 if ${ac_cv_host+:} false; then :
4177 $as_echo_n "(cached) " >&6
4179 if test "x$host_alias" = x; then
4180 ac_cv_host=$ac_cv_build
4182 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4183 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4188 $as_echo "$ac_cv_host" >&6; }
4191 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4194 ac_save_IFS=$IFS; IFS='-'
4200 # Remember, the first character of IFS is used to create $*,
4201 # except with old shells:
4204 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4207 # Backslashify metacharacters that are still active within
4208 # double-quoted strings.
4209 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4211 # Same as above, but do not quote variable references.
4212 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4214 # Sed substitution to delay expansion of an escaped shell variable in a
4215 # double_quote_subst'ed string.
4216 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4218 # Sed substitution to delay expansion of an escaped single quote.
4219 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4221 # Sed substitution to avoid accidental globbing in evaled expressions
4222 no_glob_subst='s/\*/\\\*/g'
4224 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4225 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4226 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4229 $as_echo_n "checking how to print
strings...
" >&6; }
4230 # Test print first, because it will be a builtin if present.
4231 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4232 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4234 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4237 # Use this function as a fallback that always works.
4238 func_fallback_echo ()
4240 eval 'cat <<_LTECHO_EOF
4244 ECHO='func_fallback_echo'
4247 # func_echo_all arg...
4248 # Invoke $ECHO with all args, space-separated.
4255 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4256 $as_echo "printf" >&6; } ;;
4257 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4258 $as_echo "print
-r" >&6; } ;;
4259 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4260 $as_echo "cat" >&6; } ;;
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4277 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4278 if ${ac_cv_path_SED+:} false; then :
4279 $as_echo_n "(cached
) " >&6
4281 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4282 for ac_i in 1 2 3 4 5 6 7; do
4283 ac_script="$ac_script$as_nl$ac_script"
4285 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4286 { ac_script=; unset ac_script;}
4287 if test -z "$SED"; then
4288 ac_path_SED_found=false
4289 # Loop through the user's path and test for each of PROGNAME-LIST
4290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294 test -z "$as_dir" && as_dir=.
4295 for ac_prog in sed gsed; do
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4298 as_fn_executable_p "$ac_path_SED" || continue
4299 # Check for GNU ac_path_SED and select it if it is found.
4300 # Check for GNU $ac_path_SED
4301 case `"$ac_path_SED" --version 2>&1` in
4303 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4306 $as_echo_n 0123456789 >"conftest.
in"
4309 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4310 mv "conftest.tmp
" "conftest.
in"
4311 cp "conftest.
in" "conftest.
nl"
4312 $as_echo '' >> "conftest.
nl"
4313 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4314 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4315 as_fn_arith $ac_count + 1 && ac_count=$as_val
4316 if test $ac_count -gt ${ac_path_SED_max-0}; then
4317 # Best one so far, save it but keep looking for a better one
4318 ac_cv_path_SED="$ac_path_SED"
4319 ac_path_SED_max=$ac_count
4321 # 10*(2^10) chars as input seems more than enough
4322 test $ac_count -gt 10 && break
4324 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4327 $ac_path_SED_found && break 3
4332 if test -z "$ac_cv_path_SED"; then
4333 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4341 $as_echo "$ac_cv_path_SED" >&6; }
4342 SED="$ac_cv_path_SED"
4345 test -z "$SED" && SED=sed
4346 Xsed="$SED -e 1s
/^X
//"
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4359 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4360 if ${ac_cv_path_GREP+:} false; then :
4361 $as_echo_n "(cached
) " >&6
4363 if test -z "$GREP"; then
4364 ac_path_GREP_found=false
4365 # Loop through the user's path and test for each of PROGNAME-LIST
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4370 test -z "$as_dir" && as_dir=.
4371 for ac_prog in grep ggrep; do
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4374 as_fn_executable_p "$ac_path_GREP" || continue
4375 # Check for GNU ac_path_GREP and select it if it is found.
4376 # Check for GNU $ac_path_GREP
4377 case `"$ac_path_GREP" --version 2>&1` in
4379 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4382 $as_echo_n 0123456789 >"conftest.
in"
4385 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4386 mv "conftest.tmp
" "conftest.
in"
4387 cp "conftest.
in" "conftest.
nl"
4388 $as_echo 'GREP' >> "conftest.
nl"
4389 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4390 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4391 as_fn_arith $ac_count + 1 && ac_count=$as_val
4392 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4393 # Best one so far, save it but keep looking for a better one
4394 ac_cv_path_GREP="$ac_path_GREP"
4395 ac_path_GREP_max=$ac_count
4397 # 10*(2^10) chars as input seems more than enough
4398 test $ac_count -gt 10 && break
4400 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4403 $ac_path_GREP_found && break 3
4408 if test -z "$ac_cv_path_GREP"; then
4409 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4412 ac_cv_path_GREP=$GREP
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4417 $as_echo "$ac_cv_path_GREP" >&6; }
4418 GREP="$ac_cv_path_GREP"
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4422 $as_echo_n "checking
for egrep...
" >&6; }
4423 if ${ac_cv_path_EGREP+:} false; then :
4424 $as_echo_n "(cached
) " >&6
4426 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4427 then ac_cv_path_EGREP="$GREP -E"
4429 if test -z "$EGREP"; then
4430 ac_path_EGREP_found=false
4431 # Loop through the user's path and test for each of PROGNAME-LIST
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4436 test -z "$as_dir" && as_dir=.
4437 for ac_prog in egrep; do
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4440 as_fn_executable_p "$ac_path_EGREP" || continue
4441 # Check for GNU ac_path_EGREP and select it if it is found.
4442 # Check for GNU $ac_path_EGREP
4443 case `"$ac_path_EGREP" --version 2>&1` in
4445 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4448 $as_echo_n 0123456789 >"conftest.
in"
4451 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4452 mv "conftest.tmp
" "conftest.
in"
4453 cp "conftest.
in" "conftest.
nl"
4454 $as_echo 'EGREP' >> "conftest.
nl"
4455 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4456 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4457 as_fn_arith $ac_count + 1 && ac_count=$as_val
4458 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4459 # Best one so far, save it but keep looking for a better one
4460 ac_cv_path_EGREP="$ac_path_EGREP"
4461 ac_path_EGREP_max=$ac_count
4463 # 10*(2^10) chars as input seems more than enough
4464 test $ac_count -gt 10 && break
4466 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4469 $ac_path_EGREP_found && break 3
4474 if test -z "$ac_cv_path_EGREP"; then
4475 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4478 ac_cv_path_EGREP=$EGREP
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4484 $as_echo "$ac_cv_path_EGREP" >&6; }
4485 EGREP="$ac_cv_path_EGREP"
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4489 $as_echo_n "checking
for fgrep...
" >&6; }
4490 if ${ac_cv_path_FGREP+:} false; then :
4491 $as_echo_n "(cached
) " >&6
4493 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4494 then ac_cv_path_FGREP="$GREP -F"
4496 if test -z "$FGREP"; then
4497 ac_path_FGREP_found=false
4498 # Loop through the user's path and test for each of PROGNAME-LIST
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4503 test -z "$as_dir" && as_dir=.
4504 for ac_prog in fgrep; do
4505 for ac_exec_ext in '' $ac_executable_extensions; do
4506 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4507 as_fn_executable_p "$ac_path_FGREP" || continue
4508 # Check for GNU ac_path_FGREP and select it if it is found.
4509 # Check for GNU $ac_path_FGREP
4510 case `"$ac_path_FGREP" --version 2>&1` in
4512 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4515 $as_echo_n 0123456789 >"conftest.
in"
4518 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4519 mv "conftest.tmp
" "conftest.
in"
4520 cp "conftest.
in" "conftest.
nl"
4521 $as_echo 'FGREP' >> "conftest.
nl"
4522 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4523 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4524 as_fn_arith $ac_count + 1 && ac_count=$as_val
4525 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4526 # Best one so far, save it but keep looking for a better one
4527 ac_cv_path_FGREP="$ac_path_FGREP"
4528 ac_path_FGREP_max=$ac_count
4530 # 10*(2^10) chars as input seems more than enough
4531 test $ac_count -gt 10 && break
4533 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4536 $ac_path_FGREP_found && break 3
4541 if test -z "$ac_cv_path_FGREP"; then
4542 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4545 ac_cv_path_FGREP=$FGREP
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4551 $as_echo "$ac_cv_path_FGREP" >&6; }
4552 FGREP="$ac_cv_path_FGREP"
4555 test -z "$GREP" && GREP=grep
4575 # Check whether --with-gnu-ld was given.
4576 if test "${with_gnu_ld+set}" = set; then :
4577 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4583 if test yes = "$GCC"; then
4584 # Check if gcc -print-prog-name=ld gives a path.
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4586 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4589 # gcc leaves a trailing carriage return, which upsets mingw
4590 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4592 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4595 # Accept absolute paths.
4597 re_direlt='/[^/][^/]*/\.\./'
4598 # Canonicalize the pathname of ld
4599 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4600 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4601 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4603 test -z "$LD" && LD=$ac_prog
4606 # If it fails, then pretend we aren't using GCC.
4610 # If it is relative, then search for the first ld in PATH.
4614 elif test yes = "$with_gnu_ld"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4616 $as_echo_n "checking
for GNU ld...
" >&6; }
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4619 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4621 if ${lt_cv_path_LD+:} false; then :
4622 $as_echo_n "(cached
) " >&6
4624 if test -z "$LD"; then
4625 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4626 for ac_dir in $PATH; do
4628 test -z "$ac_dir" && ac_dir=.
4629 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4630 lt_cv_path_LD=$ac_dir/$ac_prog
4631 # Check to see if the program is GNU ld. I'd rather use --version,
4632 # but apparently some variants of GNU ld only accept -v.
4633 # Break only if it was the GNU/non-GNU ld that we prefer.
4634 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4635 *GNU* | *'with BFD'*)
4636 test no != "$with_gnu_ld" && break
4639 test yes != "$with_gnu_ld" && break
4646 lt_cv_path_LD=$LD # Let the user override the test with a path.
4651 if test -n "$LD"; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4653 $as_echo "$LD" >&6; }
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4656 $as_echo "no
" >&6; }
4658 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4660 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4661 if ${lt_cv_prog_gnu_ld+:} false; then :
4662 $as_echo_n "(cached
) " >&6
4664 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4665 case `$LD -v 2>&1 </dev/null` in
4666 *GNU* | *'with BFD'*)
4667 lt_cv_prog_gnu_ld=yes
4670 lt_cv_prog_gnu_ld=no
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4675 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4676 with_gnu_ld=$lt_cv_prog_gnu_ld
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4687 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4688 if ${lt_cv_path_NM+:} false; then :
4689 $as_echo_n "(cached
) " >&6
4691 if test -n "$NM"; then
4692 # Let the user override the test.
4695 lt_nm_to_check=${ac_tool_prefix}nm
4696 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4697 lt_nm_to_check="$lt_nm_to_check nm
"
4699 for lt_tmp_nm in $lt_nm_to_check; do
4700 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4701 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4703 test -z "$ac_dir" && ac_dir=.
4704 tmp_nm=$ac_dir/$lt_tmp_nm
4705 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4706 # Check to see if the nm accepts a BSD-compat flag.
4707 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4708 # nm: unknown option "B
" ignored
4709 # Tru64's nm complains that /dev/null is an invalid object file
4710 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4712 mingw*) lt_bad_file=conftest.nm/nofile ;;
4713 *) lt_bad_file=/dev/null ;;
4715 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4716 *$lt_bad_file* | *'Invalid file or object type'*)
4717 lt_cv_path_NM="$tmp_nm -B"
4721 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4723 lt_cv_path_NM="$tmp_nm -p"
4727 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4728 continue # so that we can try to find one that supports BSD flags
4737 : ${lt_cv_path_NM=no}
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4741 $as_echo "$lt_cv_path_NM" >&6; }
4742 if test no != "$lt_cv_path_NM"; then
4745 # Didn't find any BSD compatible name lister, look for dumpbin.
4746 if test -n "$DUMPBIN"; then :
4747 # Let the user override the test.
4749 if test -n "$ac_tool_prefix"; then
4750 for ac_prog in dumpbin "link
-dump"
4752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4755 $as_echo_n "checking
for $ac_word...
" >&6; }
4756 if ${ac_cv_prog_DUMPBIN+:} false; then :
4757 $as_echo_n "(cached
) " >&6
4759 if test -n "$DUMPBIN"; then
4760 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 test -z "$as_dir" && as_dir=.
4767 for ac_exec_ext in '' $ac_executable_extensions; do
4768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4769 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4779 DUMPBIN=$ac_cv_prog_DUMPBIN
4780 if test -n "$DUMPBIN"; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4782 $as_echo "$DUMPBIN" >&6; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4785 $as_echo "no
" >&6; }
4789 test -n "$DUMPBIN" && break
4792 if test -z "$DUMPBIN"; then
4793 ac_ct_DUMPBIN=$DUMPBIN
4794 for ac_prog in dumpbin "link
-dump"
4796 # Extract the first word of "$ac_prog", so it can be a program name with args.
4797 set dummy $ac_prog; ac_word=$2
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4799 $as_echo_n "checking
for $ac_word...
" >&6; }
4800 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4801 $as_echo_n "(cached
) " >&6
4803 if test -n "$ac_ct_DUMPBIN"; then
4804 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4810 test -z "$as_dir" && as_dir=.
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4813 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4823 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4824 if test -n "$ac_ct_DUMPBIN"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4826 $as_echo "$ac_ct_DUMPBIN" >&6; }
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4829 $as_echo "no
" >&6; }
4833 test -n "$ac_ct_DUMPBIN" && break
4836 if test "x
$ac_ct_DUMPBIN" = x; then
4839 case $cross_compiling:$ac_tool_warned in
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4842 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4843 ac_tool_warned=yes ;;
4845 DUMPBIN=$ac_ct_DUMPBIN
4849 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4851 DUMPBIN="$DUMPBIN -symbols -headers"
4859 if test : != "$DUMPBIN"; then
4863 test -z "$NM" && NM=nm
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4871 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4872 if ${lt_cv_nm_interface+:} false; then :
4873 $as_echo_n "(cached
) " >&6
4875 lt_cv_nm_interface="BSD nm
"
4876 echo "int some_variable
= 0;" > conftest.$ac_ext
4877 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4878 (eval "$ac_compile" 2>conftest.err)
4879 cat conftest.err >&5
4880 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4881 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4882 cat conftest.err >&5
4883 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4884 cat conftest.out >&5
4885 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4886 lt_cv_nm_interface="MS dumpbin
"
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4891 $as_echo "$lt_cv_nm_interface" >&6; }
4893 # find the maximum length of command line arguments
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4895 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4896 if ${lt_cv_sys_max_cmd_len+:} false; then :
4897 $as_echo_n "(cached
) " >&6
4904 # On DJGPP, this test can blow up pretty badly due to problems in libc
4905 # (any single argument exceeding 2000 bytes causes a buffer overrun
4906 # during glob expansion). Even if it were fixed, the result of this
4907 # check would be larger than it should be.
4908 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4912 # Under GNU Hurd, this test is not required because there is
4913 # no limit to the length of command line arguments.
4914 # Libtool will interpret -1 as no limit whatsoever
4915 lt_cv_sys_max_cmd_len=-1;
4918 cygwin* | mingw* | cegcc*)
4919 # On Win9x/ME, this test blows up -- it succeeds, but takes
4920 # about 5 minutes as the teststring grows exponentially.
4921 # Worse, since 9x/ME are not pre-emptively multitasking,
4922 # you end up with a "frozen
" computer, even though with patience
4923 # the test eventually succeeds (with a max line length of 256k).
4924 # Instead, let's just punt: use the minimum linelength reported by
4925 # all of the supported platforms: 8192 (on NT/2K/XP).
4926 lt_cv_sys_max_cmd_len=8192;
4930 # On MiNT this can take a long time and run out of memory.
4931 lt_cv_sys_max_cmd_len=8192;
4935 # On AmigaOS with pdksh, this test takes hours, literally.
4936 # So we just punt and use a minimum line length of 8192.
4937 lt_cv_sys_max_cmd_len=8192;
4940 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4941 # This has been around since 386BSD, at least. Likely further.
4942 if test -x /sbin/sysctl; then
4943 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4944 elif test -x /usr/sbin/sysctl; then
4945 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4947 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4949 # And add a safety zone
4950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4951 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4955 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4956 lt_cv_sys_max_cmd_len=196608
4960 # The test takes a long time on OS/2.
4961 lt_cv_sys_max_cmd_len=8192
4965 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4966 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4967 # nice to cause kernel panics so lets avoid the loop below.
4968 # First set a reasonable default.
4969 lt_cv_sys_max_cmd_len=16384
4971 if test -x /sbin/sysconfig; then
4972 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4973 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4978 lt_cv_sys_max_cmd_len=102400
4980 sysv5* | sco5v6* | sysv4.2uw2*)
4981 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4982 if test -n "$kargmax"; then
4983 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4985 lt_cv_sys_max_cmd_len=32768
4989 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4990 if test -n "$lt_cv_sys_max_cmd_len" && \
4991 test undefined != "$lt_cv_sys_max_cmd_len"; then
4992 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4993 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4995 # Make teststring a little bigger before we do anything with it.
4996 # a 1K string should be a reasonable start.
4997 for i in 1 2 3 4 5 6 7 8; do
4998 teststring=$teststring$teststring
5000 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5001 # If test is not a shell built-in, we'll probably end up computing a
5002 # maximum length that is only half of the actual maximum length, but
5004 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5005 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5006 test 17 != "$i" # 1/2 MB should be enough
5009 teststring=$teststring$teststring
5011 # Only check the string length outside the loop.
5012 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5014 # Add a significant safety factor because C++ compilers can tack on
5015 # massive amounts of additional arguments before passing them to the
5016 # linker. It appears as though 1/2 is a usable value.
5017 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5024 if test -n "$lt_cv_sys_max_cmd_len"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5026 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5029 $as_echo "none
" >&6; }
5031 max_cmd_len=$lt_cv_sys_max_cmd_len
5042 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5052 # test EBCDIC or ASCII
5053 case `echo X|tr X '\101'` in
5054 A) # ASCII based system
5055 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5056 lt_SP2NL='tr \040 \012'
5057 lt_NL2SP='tr \015\012 \040\040'
5059 *) # EBCDIC based system
5060 lt_SP2NL='tr \100 \n'
5061 lt_NL2SP='tr \r\n \100\100'
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5074 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5075 if ${lt_cv_to_host_file_cmd+:} false; then :
5076 $as_echo_n "(cached
) " >&6
5081 *-*-mingw* ) # actually msys
5082 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5085 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5087 * ) # otherwise, assume *nix
5088 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5094 *-*-mingw* ) # actually msys
5095 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5098 lt_cv_to_host_file_cmd=func_convert_file_noop
5100 * ) # otherwise, assume *nix
5101 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5105 * ) # unhandled hosts (and "normal
" native builds)
5106 lt_cv_to_host_file_cmd=func_convert_file_noop
5112 to_host_file_cmd=$lt_cv_to_host_file_cmd
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5114 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5121 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5122 if ${lt_cv_to_tool_file_cmd+:} false; then :
5123 $as_echo_n "(cached
) " >&6
5125 #assume ordinary cross tools, or native build.
5126 lt_cv_to_tool_file_cmd=func_convert_file_noop
5130 *-*-mingw* ) # actually msys
5131 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5139 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5141 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5148 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5149 if ${lt_cv_ld_reload_flag+:} false; then :
5150 $as_echo_n "(cached
) " >&6
5152 lt_cv_ld_reload_flag='-r'
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5155 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5156 reload_flag=$lt_cv_ld_reload_flag
5157 case $reload_flag in
5159 *) reload_flag=" $reload_flag" ;;
5161 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5163 cygwin* | mingw* | pw32* | cegcc*)
5164 if test yes != "$GCC"; then
5169 if test yes = "$GCC"; then
5170 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5172 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5185 if test -n "$ac_tool_prefix"; then
5186 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5187 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5189 $as_echo_n "checking
for $ac_word...
" >&6; }
5190 if ${ac_cv_prog_OBJDUMP+:} false; then :
5191 $as_echo_n "(cached
) " >&6
5193 if test -n "$OBJDUMP"; then
5194 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 test -z "$as_dir" && as_dir=.
5201 for ac_exec_ext in '' $ac_executable_extensions; do
5202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5203 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5213 OBJDUMP=$ac_cv_prog_OBJDUMP
5214 if test -n "$OBJDUMP"; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5216 $as_echo "$OBJDUMP" >&6; }
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5219 $as_echo "no
" >&6; }
5224 if test -z "$ac_cv_prog_OBJDUMP"; then
5225 ac_ct_OBJDUMP=$OBJDUMP
5226 # Extract the first word of "objdump
", so it can be a program name with args.
5227 set dummy objdump; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5229 $as_echo_n "checking
for $ac_word...
" >&6; }
5230 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5231 $as_echo_n "(cached
) " >&6
5233 if test -n "$ac_ct_OBJDUMP"; then
5234 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir=.
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5243 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5253 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5254 if test -n "$ac_ct_OBJDUMP"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5256 $as_echo "$ac_ct_OBJDUMP" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5259 $as_echo "no
" >&6; }
5262 if test "x
$ac_ct_OBJDUMP" = x; then
5265 case $cross_compiling:$ac_tool_warned in
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5268 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5269 ac_tool_warned=yes ;;
5271 OBJDUMP=$ac_ct_OBJDUMP
5274 OBJDUMP="$ac_cv_prog_OBJDUMP"
5277 test -z "$OBJDUMP" && OBJDUMP=objdump
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5288 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5289 if ${lt_cv_deplibs_check_method+:} false; then :
5290 $as_echo_n "(cached
) " >&6
5292 lt_cv_file_magic_cmd='$MAGIC_CMD'
5293 lt_cv_file_magic_test_file=
5294 lt_cv_deplibs_check_method='unknown'
5295 # Need to set the preceding variable on all platforms that support
5296 # interlibrary dependencies.
5297 # 'none' -- dependencies not supported.
5298 # 'unknown' -- same as none, but documents that we really don't know.
5299 # 'pass_all' -- all dependencies passed with no checks.
5300 # 'test_compile' -- check by making test program.
5301 # 'file_magic [[regex]]' -- check by looking for files in library path
5302 # that responds to the $file_magic_cmd with a given extended regex.
5303 # If you have 'file' or equivalent on your system and you're not sure
5304 # whether 'pass_all' will *always* work, you probably want this one.
5308 lt_cv_deplibs_check_method=pass_all
5312 lt_cv_deplibs_check_method=pass_all
5316 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5317 lt_cv_file_magic_cmd='/usr/bin/file -L'
5318 lt_cv_file_magic_test_file=/shlib/libc.so
5322 # func_win32_libid is a shell function defined in ltmain.sh
5323 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5324 lt_cv_file_magic_cmd='func_win32_libid'
5328 # Base MSYS/MinGW do not provide the 'file' command needed by
5329 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5330 # unless we find 'file', for example because we are cross-compiling.
5331 if ( file / ) >/dev/null 2>&1; then
5332 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5333 lt_cv_file_magic_cmd='func_win32_libid'
5335 # Keep this pattern in sync with the one in func_win32_libid.
5336 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5337 lt_cv_file_magic_cmd='$OBJDUMP -f'
5342 # use the weaker test based on 'objdump'. See mingw*.
5343 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5344 lt_cv_file_magic_cmd='$OBJDUMP -f'
5347 darwin* | rhapsody*)
5348 lt_cv_deplibs_check_method=pass_all
5351 freebsd* | dragonfly*)
5352 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5355 # Not sure whether the presence of OpenBSD here was a mistake.
5356 # Let's accept both of them until this is cleared up.
5357 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5358 lt_cv_file_magic_cmd=/usr/bin/file
5359 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5363 lt_cv_deplibs_check_method=pass_all
5368 lt_cv_deplibs_check_method=pass_all
5371 hpux10.20* | hpux11*)
5372 lt_cv_file_magic_cmd=/usr/bin/file
5375 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5376 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5379 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]'
5380 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5383 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5384 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5390 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5391 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5394 irix5* | irix6* | nonstopux*)
5396 *-32|*"-32 ") libmagic=32-bit;;
5397 *-n32|*"-n32 ") libmagic=N32;;
5398 *-64|*"-64 ") libmagic=64-bit;;
5399 *) libmagic=never-match;;
5401 lt_cv_deplibs_check_method=pass_all
5404 # This must be glibc/ELF.
5405 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5406 lt_cv_deplibs_check_method=pass_all
5410 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5413 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5419 lt_cv_file_magic_cmd=/usr/bin/file
5420 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5424 lt_cv_deplibs_check_method=pass_all
5428 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5435 osf3* | osf4* | osf5*)
5436 lt_cv_deplibs_check_method=pass_all
5440 lt_cv_deplibs_check_method=pass_all
5444 lt_cv_deplibs_check_method=pass_all
5447 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5448 lt_cv_deplibs_check_method=pass_all
5452 case $host_vendor in
5454 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]'
5455 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5458 lt_cv_deplibs_check_method=pass_all
5461 lt_cv_file_magic_cmd='/bin/file'
5462 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5465 lt_cv_file_magic_cmd='/bin/file'
5466 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5467 lt_cv_file_magic_test_file=/lib/libc.so
5470 lt_cv_deplibs_check_method=pass_all
5473 lt_cv_deplibs_check_method=pass_all
5479 lt_cv_deplibs_check_method=pass_all
5482 lt_cv_deplibs_check_method=pass_all
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5488 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5492 if test "$build" = "$host"; then
5495 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5498 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5504 file_magic_cmd=$lt_cv_file_magic_cmd
5505 deplibs_check_method=$lt_cv_deplibs_check_method
5506 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5529 if test -n "$ac_tool_prefix"; then
5530 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5531 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5533 $as_echo_n "checking
for $ac_word...
" >&6; }
5534 if ${ac_cv_prog_DLLTOOL+:} false; then :
5535 $as_echo_n "(cached
) " >&6
5537 if test -n "$DLLTOOL"; then
5538 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5547 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5557 DLLTOOL=$ac_cv_prog_DLLTOOL
5558 if test -n "$DLLTOOL"; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5560 $as_echo "$DLLTOOL" >&6; }
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5563 $as_echo "no
" >&6; }
5568 if test -z "$ac_cv_prog_DLLTOOL"; then
5569 ac_ct_DLLTOOL=$DLLTOOL
5570 # Extract the first word of "dlltool
", so it can be a program name with args.
5571 set dummy dlltool; ac_word=$2
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5573 $as_echo_n "checking
for $ac_word...
" >&6; }
5574 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5575 $as_echo_n "(cached
) " >&6
5577 if test -n "$ac_ct_DLLTOOL"; then
5578 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 test -z "$as_dir" && as_dir=.
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5597 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5598 if test -n "$ac_ct_DLLTOOL"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5600 $as_echo "$ac_ct_DLLTOOL" >&6; }
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5603 $as_echo "no
" >&6; }
5606 if test "x
$ac_ct_DLLTOOL" = x; then
5609 case $cross_compiling:$ac_tool_warned in
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5612 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5613 ac_tool_warned=yes ;;
5615 DLLTOOL=$ac_ct_DLLTOOL
5618 DLLTOOL="$ac_cv_prog_DLLTOOL"
5621 test -z "$DLLTOOL" && DLLTOOL=dlltool
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5633 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5634 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5635 $as_echo_n "(cached
) " >&6
5637 lt_cv_sharedlib_from_linklib_cmd='unknown'
5640 cygwin* | mingw* | pw32* | cegcc*)
5641 # two different shell functions defined in ltmain.sh;
5642 # decide which one to use based on capabilities of $DLLTOOL
5643 case `$DLLTOOL --help 2>&1` in
5644 *--identify-strict*)
5645 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5648 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5653 # fallback: assume linklib IS sharedlib
5654 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5660 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5661 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5662 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5671 if test -n "$ac_tool_prefix"; then
5674 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5675 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5677 $as_echo_n "checking
for $ac_word...
" >&6; }
5678 if ${ac_cv_prog_AR+:} false; then :
5679 $as_echo_n "(cached
) " >&6
5681 if test -n "$AR"; then
5682 ac_cv_prog_AR="$AR" # Let the user override the test.
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5702 if test -n "$AR"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5704 $as_echo "$AR" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5707 $as_echo "no
" >&6; }
5711 test -n "$AR" && break
5714 if test -z "$AR"; then
5718 # Extract the first word of "$ac_prog", so it can be a program name with args.
5719 set dummy $ac_prog; ac_word=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5721 $as_echo_n "checking
for $ac_word...
" >&6; }
5722 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5723 $as_echo_n "(cached
) " >&6
5725 if test -n "$ac_ct_AR"; then
5726 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 test -z "$as_dir" && as_dir=.
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5735 ac_cv_prog_ac_ct_AR="$ac_prog"
5736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5745 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5746 if test -n "$ac_ct_AR"; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5748 $as_echo "$ac_ct_AR" >&6; }
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5751 $as_echo "no
" >&6; }
5755 test -n "$ac_ct_AR" && break
5758 if test "x
$ac_ct_AR" = x; then
5761 case $cross_compiling:$ac_tool_warned in
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5764 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5765 ac_tool_warned=yes ;;
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5785 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5786 if ${lt_cv_ar_at_file+:} false; then :
5787 $as_echo_n "(cached
) " >&6
5790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5791 /* end confdefs.h. */
5801 if ac_fn_c_try_compile "$LINENO"; then :
5802 echo conftest.$ac_objext > conftest.lst
5803 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5804 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5805 (eval $lt_ar_try) 2>&5
5807 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5808 test $ac_status = 0; }
5809 if test 0 -eq "$ac_status"; then
5810 # Ensure the archiver fails upon bogus file names.
5811 rm -f conftest.$ac_objext libconftest.a
5812 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5813 (eval $lt_ar_try) 2>&5
5815 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5816 test $ac_status = 0; }
5817 if test 0 -ne "$ac_status"; then
5821 rm -f conftest.* libconftest.a
5824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5828 $as_echo "$lt_cv_ar_at_file" >&6; }
5830 if test no = "$lt_cv_ar_at_file"; then
5833 archiver_list_spec=$lt_cv_ar_at_file
5842 if test -n "$ac_tool_prefix"; then
5843 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5844 set dummy ${ac_tool_prefix}strip; ac_word=$2
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5846 $as_echo_n "checking
for $ac_word...
" >&6; }
5847 if ${ac_cv_prog_STRIP+:} false; then :
5848 $as_echo_n "(cached
) " >&6
5850 if test -n "$STRIP"; then
5851 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 test -z "$as_dir" && as_dir=.
5858 for ac_exec_ext in '' $ac_executable_extensions; do
5859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5860 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5870 STRIP=$ac_cv_prog_STRIP
5871 if test -n "$STRIP"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5873 $as_echo "$STRIP" >&6; }
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5876 $as_echo "no
" >&6; }
5881 if test -z "$ac_cv_prog_STRIP"; then
5883 # Extract the first word of "strip
", so it can be a program name with args.
5884 set dummy strip; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5886 $as_echo_n "checking
for $ac_word...
" >&6; }
5887 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5888 $as_echo_n "(cached
) " >&6
5890 if test -n "$ac_ct_STRIP"; then
5891 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_ac_ct_STRIP="strip
"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5911 if test -n "$ac_ct_STRIP"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5913 $as_echo "$ac_ct_STRIP" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5916 $as_echo "no
" >&6; }
5919 if test "x
$ac_ct_STRIP" = x; then
5922 case $cross_compiling:$ac_tool_warned in
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5925 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5926 ac_tool_warned=yes ;;
5931 STRIP="$ac_cv_prog_STRIP"
5934 test -z "$STRIP" && STRIP=:
5941 if test -n "$ac_tool_prefix"; then
5942 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5943 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5945 $as_echo_n "checking
for $ac_word...
" >&6; }
5946 if ${ac_cv_prog_RANLIB+:} false; then :
5947 $as_echo_n "(cached
) " >&6
5949 if test -n "$RANLIB"; then
5950 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 test -z "$as_dir" && as_dir=.
5957 for ac_exec_ext in '' $ac_executable_extensions; do
5958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5959 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5969 RANLIB=$ac_cv_prog_RANLIB
5970 if test -n "$RANLIB"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5972 $as_echo "$RANLIB" >&6; }
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5975 $as_echo "no
" >&6; }
5980 if test -z "$ac_cv_prog_RANLIB"; then
5981 ac_ct_RANLIB=$RANLIB
5982 # Extract the first word of "ranlib
", so it can be a program name with args.
5983 set dummy ranlib; ac_word=$2
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5985 $as_echo_n "checking
for $ac_word...
" >&6; }
5986 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5987 $as_echo_n "(cached
) " >&6
5989 if test -n "$ac_ct_RANLIB"; then
5990 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5996 test -z "$as_dir" && as_dir=.
5997 for ac_exec_ext in '' $ac_executable_extensions; do
5998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5999 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6009 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6010 if test -n "$ac_ct_RANLIB"; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6012 $as_echo "$ac_ct_RANLIB" >&6; }
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6015 $as_echo "no
" >&6; }
6018 if test "x
$ac_ct_RANLIB" = x; then
6021 case $cross_compiling:$ac_tool_warned in
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6024 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6025 ac_tool_warned=yes ;;
6027 RANLIB=$ac_ct_RANLIB
6030 RANLIB="$ac_cv_prog_RANLIB"
6033 test -z "$RANLIB" && RANLIB=:
6040 # Determine commands to create old-style static archives.
6041 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6042 old_postinstall_cmds='chmod 644 $oldlib'
6043 old_postuninstall_cmds=
6045 if test -n "$RANLIB"; then
6048 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6051 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6054 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6059 lock_old_archive_extraction=yes ;;
6061 lock_old_archive_extraction=no ;;
6102 # If no C compiler was specified, use CC.
6105 # If no C compiler flags were specified, use CFLAGS.
6106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6108 # Allow CC to be a program name with arguments.
6112 # Check for command to grab the raw symbol name followed by C symbol from nm.
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6114 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6115 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6116 $as_echo_n "(cached
) " >&6
6119 # These are sane defaults that work on at least a few old systems.
6120 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6122 # Character class describing NM global symbol codes.
6123 symcode='[BCDEGRST]'
6125 # Regexp to match symbols that can be accessed directly from C.
6126 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6128 # Define system-specific variables.
6133 cygwin* | mingw* | pw32* | cegcc*)
6134 symcode='[ABCDGISTW]'
6137 if test ia64 = "$host_cpu"; then
6138 symcode='[ABCDEGRST]'
6142 symcode='[BCDEGRST]'
6145 symcode='[BCDEGQRST]'
6156 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6164 # If we're using GNU nm, then use its standard symbol codes.
6165 case `$NM -V 2>&1` in
6166 *GNU* | *'with BFD'*)
6167 symcode='[ABCDGIRSTW]' ;;
6170 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6171 # Gets list of data symbols to import.
6172 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6173 # Adjust the below global symbol transforms to fixup imported variables.
6174 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6175 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6176 lt_c_name_lib_hook="\
6177 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6178 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6180 # Disable hooks by default.
6181 lt_cv_sys_global_symbol_to_import=
6187 # Transform an extracted symbol line into a proper C declaration.
6188 # Some systems (esp. on ia64) link data and code symbols differently,
6189 # so use this general approach.
6190 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6192 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6193 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6195 # Transform an extracted symbol line into symbol name and symbol address
6196 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6198 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6199 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6201 # Transform an extracted symbol line into symbol name with lib prefix and
6203 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6204 $lt_c_name_lib_hook\
6205 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6206 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6207 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6209 # Handle CRLF in mingw tool chain
6213 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6217 # Try without a prefix underscore, then with it.
6218 for ac_symprfx in "" "_
"; do
6220 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6221 symxfrm="\\1 $ac_symprfx\\2 \\2"
6223 # Write the raw and C identifiers.
6224 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6225 # Fake it for dumpbin and say T for any non-static function,
6226 # D for any global variable and I for any imported variable.
6227 # Also find C++ and __fastcall symbols from MSVC++,
6228 # which start with @ or ?.
6229 lt_cv_sys_global_symbol_pipe="$AWK '"\
6230 " {last_section=section; section=\$ 3};"\
6231 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6232 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6233 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6234 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6235 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6236 " \$ 0!~/External *\|/{next};"\
6237 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6238 " {if(hide[section]) next};"\
6239 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6240 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6241 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6242 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6243 " ' prfx
=^
$ac_symprfx"
6245 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6247 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6249 # Check to see that the pipe works correctly.
6253 cat > conftest.$ac_ext <<_LT_EOF
6258 void nm_test_func(void);
6259 void nm_test_func(void){}
6263 int main(){nm_test_var='a';nm_test_func();return(0);}
6266 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6267 (eval $ac_compile) 2>&5
6269 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6270 test $ac_status = 0; }; then
6271 # Now try to grab the symbols.
6273 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6274 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6276 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6277 test $ac_status = 0; } && test -s "$nlist"; then
6278 # Try sorting and uniquifying the output.
6279 if sort "$nlist" | uniq > "$nlist"T; then
6280 mv -f "$nlist"T "$nlist"
6285 # Make sure that we snagged all the symbols we need.
6286 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6287 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6288 cat <<_LT_EOF > conftest.$ac_ext
6289 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6290 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6291 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6292 relocations are performed -- see ld's documentation on pseudo-relocs. */
6293 # define LT_DLSYM_CONST
6294 #elif defined __osf__
6295 /* This system does not cope well with relocations in const data. */
6296 # define LT_DLSYM_CONST
6298 # define LT_DLSYM_CONST const
6306 # Now generate the symbol file.
6307 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6309 cat <<_LT_EOF >> conftest.$ac_ext
6311 /* The mapping between symbol names and symbols. */
6312 LT_DLSYM_CONST struct {
6316 lt__PROGRAM__LTX_preloaded_symbols[] =
6318 { "@PROGRAM@
", (void *) 0 },
6320 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6321 cat <<\_LT_EOF >> conftest.$ac_ext
6325 /* This works around a problem in FreeBSD linker */
6326 #ifdef FREEBSD_WORKAROUND
6327 static const void *lt_preloaded_setup() {
6328 return lt__PROGRAM__LTX_preloaded_symbols;
6336 # Now try linking the two files.
6337 mv conftest.$ac_objext conftstm.$ac_objext
6338 lt_globsym_save_LIBS=$LIBS
6339 lt_globsym_save_CFLAGS=$CFLAGS
6340 LIBS=conftstm.$ac_objext
6341 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6342 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6343 (eval $ac_link) 2>&5
6345 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6346 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6349 LIBS=$lt_globsym_save_LIBS
6350 CFLAGS=$lt_globsym_save_CFLAGS
6352 echo "cannot
find nm_test_func
in $nlist" >&5
6355 echo "cannot
find nm_test_var
in $nlist" >&5
6358 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6361 echo "$progname: failed program was
:" >&5
6362 cat conftest.$ac_ext >&5
6364 rm -rf conftest* conftst*
6366 # Do not use the global_symbol_pipe unless it works.
6367 if test yes = "$pipe_works"; then
6370 lt_cv_sys_global_symbol_pipe=
6376 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6377 lt_cv_sys_global_symbol_to_cdecl=
6379 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6381 $as_echo "failed
" >&6; }
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6384 $as_echo "ok
" >&6; }
6387 # Response file support.
6388 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6389 nm_file_list_spec='@'
6390 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6391 nm_file_list_spec='@'
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6431 $as_echo_n "checking
for sysroot...
" >&6; }
6433 # Check whether --with-sysroot was given.
6434 if test "${with_sysroot+set}" = set; then :
6435 withval=$with_sysroot;
6442 case $with_sysroot in #(
6444 if test yes = "$GCC"; then
6445 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6449 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6455 $as_echo "$with_sysroot" >&6; }
6456 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6461 $as_echo "${lt_sysroot:-no}" >&6; }
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6468 $as_echo_n "checking
for a working
dd...
" >&6; }
6469 if ${ac_cv_path_lt_DD+:} false; then :
6470 $as_echo_n "(cached
) " >&6
6472 printf 0123456789abcdef0123456789abcdef >conftest.i
6473 cat conftest.i conftest.i >conftest2.i
6475 if test -z "$lt_DD"; then
6476 ac_path_lt_DD_found=false
6477 # Loop through the user's path and test for each of PROGNAME-LIST
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 test -z "$as_dir" && as_dir=.
6483 for ac_prog in dd; do
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6486 as_fn_executable_p "$ac_path_lt_DD" || continue
6487 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6488 cmp -s conftest.i conftest.out \
6489 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6491 $ac_path_lt_DD_found && break 3
6496 if test -z "$ac_cv_path_lt_DD"; then
6500 ac_cv_path_lt_DD=$lt_DD
6503 rm -f conftest.i conftest2.i conftest.out
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6506 $as_echo "$ac_cv_path_lt_DD" >&6; }
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6510 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6511 if ${lt_cv_truncate_bin+:} false; then :
6512 $as_echo_n "(cached
) " >&6
6514 printf 0123456789abcdef0123456789abcdef >conftest.i
6515 cat conftest.i conftest.i >conftest2.i
6517 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6518 cmp -s conftest.i conftest.out \
6519 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6521 rm -f conftest.i conftest2.i conftest.out
6522 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6525 $as_echo "$lt_cv_truncate_bin" >&6; }
6533 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6536 for cc_temp in $*""; do
6538 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6539 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6544 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6547 # Check whether --enable-libtool-lock was given.
6548 if test "${enable_libtool_lock+set}" = set; then :
6549 enableval=$enable_libtool_lock;
6552 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6554 # Some flags need to be propagated to the compiler or linker for good
6558 # Find out what ABI is being produced by ac_compile, and set mode
6559 # options accordingly.
6560 echo 'int i;' > conftest.$ac_ext
6561 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6562 (eval $ac_compile) 2>&5
6564 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6565 test $ac_status = 0; }; then
6566 case `/usr/bin/file conftest.$ac_objext` in
6578 # Find out what ABI is being produced by ac_compile, and set linker
6579 # options accordingly.
6580 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6581 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6582 (eval $ac_compile) 2>&5
6584 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6585 test $ac_status = 0; }; then
6586 if test yes = "$lt_cv_prog_gnu_ld"; then
6587 case `/usr/bin/file conftest.$ac_objext` in
6589 LD="${LD-ld} -melf32bsmip"
6592 LD="${LD-ld} -melf32bmipn32"
6595 LD="${LD-ld} -melf64bmip"
6599 case `/usr/bin/file conftest.$ac_objext` in
6616 # Find out what ABI is being produced by ac_compile, and set linker
6617 # options accordingly.
6618 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6619 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6620 (eval $ac_compile) 2>&5
6622 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6623 test $ac_status = 0; }; then
6625 case `/usr/bin/file conftest.$ac_objext` in
6633 case `/usr/bin/file conftest.$ac_objext` in
6635 emul="${emul}btsmip
"
6638 emul="${emul}ltsmip
"
6641 case `/usr/bin/file conftest.$ac_objext` in
6646 LD="${LD-ld} -m $emul"
6651 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6652 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6653 # Find out what ABI is being produced by ac_compile, and set linker
6654 # options accordingly. Note that the listed cases only cover the
6655 # situations where additional linker options are needed (such as when
6656 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6657 # vice versa); the common cases where no linker options are needed do
6658 # not appear in the list.
6659 echo 'int i;' > conftest.$ac_ext
6660 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6661 (eval $ac_compile) 2>&5
6663 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6664 test $ac_status = 0; }; then
6665 case `/usr/bin/file conftest.o` in
6668 x86_64-*kfreebsd*-gnu)
6669 LD="${LD-ld} -m elf_i386_fbsd
"
6672 case `/usr/bin/file conftest.o` in
6674 LD="${LD-ld} -m elf32_x86_64
"
6677 LD="${LD-ld} -m elf_i386
"
6681 powerpc64le-*linux*)
6682 LD="${LD-ld} -m elf32lppclinux
"
6685 LD="${LD-ld} -m elf32ppclinux
"
6688 LD="${LD-ld} -m elf_s390
"
6691 LD="${LD-ld} -m elf32_sparc
"
6697 x86_64-*kfreebsd*-gnu)
6698 LD="${LD-ld} -m elf_x86_64_fbsd
"
6701 LD="${LD-ld} -m elf_x86_64
"
6704 LD="${LD-ld} -m elf64lppc
"
6707 LD="${LD-ld} -m elf64ppc
"
6709 s390*-*linux*|s390*-*tpf*)
6710 LD="${LD-ld} -m elf64_s390
"
6713 LD="${LD-ld} -m elf64_sparc
"
6723 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6725 CFLAGS="$CFLAGS -belf"
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6727 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6728 if ${lt_cv_cc_needs_belf+:} false; then :
6729 $as_echo_n "(cached
) " >&6
6732 ac_cpp='$CPP $CPPFLAGS'
6733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6738 /* end confdefs.h. */
6748 if ac_fn_c_try_link "$LINENO"; then :
6749 lt_cv_cc_needs_belf=yes
6751 lt_cv_cc_needs_belf=no
6753 rm -f core conftest.err conftest.$ac_objext \
6754 conftest$ac_exeext conftest.$ac_ext
6756 ac_cpp='$CPP $CPPFLAGS'
6757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6763 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6764 if test yes != "$lt_cv_cc_needs_belf"; then
6765 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6770 # Find out what ABI is being produced by ac_compile, and set linker
6771 # options accordingly.
6772 echo 'int i;' > conftest.$ac_ext
6773 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6774 (eval $ac_compile) 2>&5
6776 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6777 test $ac_status = 0; }; then
6778 case `/usr/bin/file conftest.o` in
6780 case $lt_cv_prog_gnu_ld in
6783 i?86-*-solaris*|x86_64-*-solaris*)
6784 LD="${LD-ld} -m elf_x86_64
"
6787 LD="${LD-ld} -m elf64_sparc
"
6790 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6791 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6796 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6808 need_locks=$enable_libtool_lock
6810 if test -n "$ac_tool_prefix"; then
6811 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6812 set dummy ${ac_tool_prefix}mt; ac_word=$2
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6814 $as_echo_n "checking
for $ac_word...
" >&6; }
6815 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6816 $as_echo_n "(cached
) " >&6
6818 if test -n "$MANIFEST_TOOL"; then
6819 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825 test -z "$as_dir" && as_dir=.
6826 for ac_exec_ext in '' $ac_executable_extensions; do
6827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6828 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6838 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6839 if test -n "$MANIFEST_TOOL"; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6841 $as_echo "$MANIFEST_TOOL" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6844 $as_echo "no
" >&6; }
6849 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6850 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6851 # Extract the first word of "mt
", so it can be a program name with args.
6852 set dummy mt; ac_word=$2
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6854 $as_echo_n "checking
for $ac_word...
" >&6; }
6855 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6856 $as_echo_n "(cached
) " >&6
6858 if test -n "$ac_ct_MANIFEST_TOOL"; then
6859 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865 test -z "$as_dir" && as_dir=.
6866 for ac_exec_ext in '' $ac_executable_extensions; do
6867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6868 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6878 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6879 if test -n "$ac_ct_MANIFEST_TOOL"; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6881 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6884 $as_echo "no
" >&6; }
6887 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6890 case $cross_compiling:$ac_tool_warned in
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6893 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6894 ac_tool_warned=yes ;;
6896 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6899 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6902 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6904 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6905 if ${lt_cv_path_mainfest_tool+:} false; then :
6906 $as_echo_n "(cached
) " >&6
6908 lt_cv_path_mainfest_tool=no
6909 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6910 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6911 cat conftest.err >&5
6912 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6913 lt_cv_path_mainfest_tool=yes
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6918 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6919 if test yes != "$lt_cv_path_mainfest_tool"; then
6929 rhapsody* | darwin*)
6930 if test -n "$ac_tool_prefix"; then
6931 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6932 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6934 $as_echo_n "checking
for $ac_word...
" >&6; }
6935 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6936 $as_echo_n "(cached
) " >&6
6938 if test -n "$DSYMUTIL"; then
6939 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6948 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6958 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6959 if test -n "$DSYMUTIL"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6961 $as_echo "$DSYMUTIL" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6964 $as_echo "no
" >&6; }
6969 if test -z "$ac_cv_prog_DSYMUTIL"; then
6970 ac_ct_DSYMUTIL=$DSYMUTIL
6971 # Extract the first word of "dsymutil
", so it can be a program name with args.
6972 set dummy dsymutil; ac_word=$2
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6974 $as_echo_n "checking
for $ac_word...
" >&6; }
6975 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6976 $as_echo_n "(cached
) " >&6
6978 if test -n "$ac_ct_DSYMUTIL"; then
6979 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6985 test -z "$as_dir" && as_dir=.
6986 for ac_exec_ext in '' $ac_executable_extensions; do
6987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6988 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6998 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6999 if test -n "$ac_ct_DSYMUTIL"; then
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7001 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7004 $as_echo "no
" >&6; }
7007 if test "x
$ac_ct_DSYMUTIL" = x; then
7010 case $cross_compiling:$ac_tool_warned in
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7013 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7014 ac_tool_warned=yes ;;
7016 DSYMUTIL=$ac_ct_DSYMUTIL
7019 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7022 if test -n "$ac_tool_prefix"; then
7023 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7024 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7026 $as_echo_n "checking
for $ac_word...
" >&6; }
7027 if ${ac_cv_prog_NMEDIT+:} false; then :
7028 $as_echo_n "(cached
) " >&6
7030 if test -n "$NMEDIT"; then
7031 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir=.
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7040 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7050 NMEDIT=$ac_cv_prog_NMEDIT
7051 if test -n "$NMEDIT"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7053 $as_echo "$NMEDIT" >&6; }
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7056 $as_echo "no
" >&6; }
7061 if test -z "$ac_cv_prog_NMEDIT"; then
7062 ac_ct_NMEDIT=$NMEDIT
7063 # Extract the first word of "nmedit
", so it can be a program name with args.
7064 set dummy nmedit; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7066 $as_echo_n "checking
for $ac_word...
" >&6; }
7067 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7068 $as_echo_n "(cached
) " >&6
7070 if test -n "$ac_ct_NMEDIT"; then
7071 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir=.
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7080 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7090 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7091 if test -n "$ac_ct_NMEDIT"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7093 $as_echo "$ac_ct_NMEDIT" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7096 $as_echo "no
" >&6; }
7099 if test "x
$ac_ct_NMEDIT" = x; then
7102 case $cross_compiling:$ac_tool_warned in
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7105 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7106 ac_tool_warned=yes ;;
7108 NMEDIT=$ac_ct_NMEDIT
7111 NMEDIT="$ac_cv_prog_NMEDIT"
7114 if test -n "$ac_tool_prefix"; then
7115 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7116 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7118 $as_echo_n "checking
for $ac_word...
" >&6; }
7119 if ${ac_cv_prog_LIPO+:} false; then :
7120 $as_echo_n "(cached
) " >&6
7122 if test -n "$LIPO"; then
7123 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 test -z "$as_dir" && as_dir=.
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7142 LIPO=$ac_cv_prog_LIPO
7143 if test -n "$LIPO"; then
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7145 $as_echo "$LIPO" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7148 $as_echo "no
" >&6; }
7153 if test -z "$ac_cv_prog_LIPO"; then
7155 # Extract the first word of "lipo
", so it can be a program name with args.
7156 set dummy lipo; ac_word=$2
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7158 $as_echo_n "checking
for $ac_word...
" >&6; }
7159 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7160 $as_echo_n "(cached
) " >&6
7162 if test -n "$ac_ct_LIPO"; then
7163 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 test -z "$as_dir" && as_dir=.
7170 for ac_exec_ext in '' $ac_executable_extensions; do
7171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7172 ac_cv_prog_ac_ct_LIPO="lipo
"
7173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7182 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7183 if test -n "$ac_ct_LIPO"; then
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7185 $as_echo "$ac_ct_LIPO" >&6; }
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7188 $as_echo "no
" >&6; }
7191 if test "x
$ac_ct_LIPO" = x; then
7194 case $cross_compiling:$ac_tool_warned in
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7197 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7198 ac_tool_warned=yes ;;
7203 LIPO="$ac_cv_prog_LIPO"
7206 if test -n "$ac_tool_prefix"; then
7207 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7208 set dummy ${ac_tool_prefix}otool; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7210 $as_echo_n "checking
for $ac_word...
" >&6; }
7211 if ${ac_cv_prog_OTOOL+:} false; then :
7212 $as_echo_n "(cached
) " >&6
7214 if test -n "$OTOOL"; then
7215 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir=.
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7224 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7234 OTOOL=$ac_cv_prog_OTOOL
7235 if test -n "$OTOOL"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7237 $as_echo "$OTOOL" >&6; }
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7240 $as_echo "no
" >&6; }
7245 if test -z "$ac_cv_prog_OTOOL"; then
7247 # Extract the first word of "otool
", so it can be a program name with args.
7248 set dummy otool; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7250 $as_echo_n "checking
for $ac_word...
" >&6; }
7251 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7252 $as_echo_n "(cached
) " >&6
7254 if test -n "$ac_ct_OTOOL"; then
7255 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7264 ac_cv_prog_ac_ct_OTOOL="otool
"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7274 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7275 if test -n "$ac_ct_OTOOL"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7277 $as_echo "$ac_ct_OTOOL" >&6; }
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7280 $as_echo "no
" >&6; }
7283 if test "x
$ac_ct_OTOOL" = x; then
7286 case $cross_compiling:$ac_tool_warned in
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7289 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7290 ac_tool_warned=yes ;;
7295 OTOOL="$ac_cv_prog_OTOOL"
7298 if test -n "$ac_tool_prefix"; then
7299 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7300 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7302 $as_echo_n "checking
for $ac_word...
" >&6; }
7303 if ${ac_cv_prog_OTOOL64+:} false; then :
7304 $as_echo_n "(cached
) " >&6
7306 if test -n "$OTOOL64"; then
7307 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7313 test -z "$as_dir" && as_dir=.
7314 for ac_exec_ext in '' $ac_executable_extensions; do
7315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7316 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7326 OTOOL64=$ac_cv_prog_OTOOL64
7327 if test -n "$OTOOL64"; then
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7329 $as_echo "$OTOOL64" >&6; }
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7332 $as_echo "no
" >&6; }
7337 if test -z "$ac_cv_prog_OTOOL64"; then
7338 ac_ct_OTOOL64=$OTOOL64
7339 # Extract the first word of "otool64
", so it can be a program name with args.
7340 set dummy otool64; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7342 $as_echo_n "checking
for $ac_word...
" >&6; }
7343 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7344 $as_echo_n "(cached
) " >&6
7346 if test -n "$ac_ct_OTOOL64"; then
7347 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7356 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7366 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7367 if test -n "$ac_ct_OTOOL64"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7369 $as_echo "$ac_ct_OTOOL64" >&6; }
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7372 $as_echo "no
" >&6; }
7375 if test "x
$ac_ct_OTOOL64" = x; then
7378 case $cross_compiling:$ac_tool_warned in
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7381 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7382 ac_tool_warned=yes ;;
7384 OTOOL64=$ac_ct_OTOOL64
7387 OTOOL64="$ac_cv_prog_OTOOL64"
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7417 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7418 if ${lt_cv_apple_cc_single_mod+:} false; then :
7419 $as_echo_n "(cached
) " >&6
7421 lt_cv_apple_cc_single_mod=no
7422 if test -z "$LT_MULTI_MODULE"; then
7423 # By default we will add the -single_module flag. You can override
7424 # by either setting the environment variable LT_MULTI_MODULE
7425 # non-empty at configure time, or by adding -multi_module to the
7427 rm -rf libconftest.dylib*
7428 echo "int foo
(void
){return 1;}" > conftest.c
7429 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7430 -dynamiclib -Wl,-single_module conftest.c
" >&5
7431 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7432 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7434 # If there is a non-empty error log, and "single_module
"
7435 # appears in it, assume the flag caused a linker warning
7436 if test -s conftest.err && $GREP single_module conftest.err; then
7437 cat conftest.err >&5
7438 # Otherwise, if the output was created with a 0 exit code from
7439 # the compiler, it worked.
7440 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7441 lt_cv_apple_cc_single_mod=yes
7443 cat conftest.err >&5
7445 rm -rf libconftest.dylib*
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7450 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7453 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7454 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7455 $as_echo_n "(cached
) " >&6
7457 lt_cv_ld_exported_symbols_list=no
7458 save_LDFLAGS=$LDFLAGS
7459 echo "_main
" > conftest.sym
7460 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7462 /* end confdefs.h. */
7472 if ac_fn_c_try_link "$LINENO"; then :
7473 lt_cv_ld_exported_symbols_list=yes
7475 lt_cv_ld_exported_symbols_list=no
7477 rm -f core conftest.err conftest.$ac_objext \
7478 conftest$ac_exeext conftest.$ac_ext
7479 LDFLAGS=$save_LDFLAGS
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7483 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7486 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7487 if ${lt_cv_ld_force_load+:} false; then :
7488 $as_echo_n "(cached
) " >&6
7490 lt_cv_ld_force_load=no
7491 cat > conftest.c << _LT_EOF
7492 int forced_loaded() { return 2;}
7494 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7495 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7496 echo "$AR cru libconftest.a conftest.o
" >&5
7497 $AR cru libconftest.a conftest.o 2>&5
7498 echo "$RANLIB libconftest.a
" >&5
7499 $RANLIB libconftest.a 2>&5
7500 cat > conftest.c << _LT_EOF
7501 int main() { return 0;}
7503 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7504 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7506 if test -s conftest.err && $GREP force_load conftest.err; then
7507 cat conftest.err >&5
7508 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7509 lt_cv_ld_force_load=yes
7511 cat conftest.err >&5
7513 rm -f conftest.err libconftest.a conftest conftest.c
7514 rm -rf conftest.dSYM
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7518 $as_echo "$lt_cv_ld_force_load" >&6; }
7520 rhapsody* | darwin1.[012])
7521 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7523 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7524 darwin*) # darwin 5.x on
7525 # if running on 10.5 or later, the deployment target defaults
7526 # to the OS version, if on x86, and 10.4, the deployment
7527 # target defaults to 10.4. Don't you love it?
7528 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7529 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7530 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7532 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7534 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7538 if test yes = "$lt_cv_apple_cc_single_mod"; then
7539 _lt_dar_single_mod='$single_module'
7541 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7542 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7544 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7546 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7547 _lt_dsymutil='~$DSYMUTIL $lib || :'
7554 # func_munge_path_list VARIABLE PATH
7555 # -----------------------------------
7556 # VARIABLE is name of variable containing _space_ separated list of
7557 # directories to be munged by the contents of PATH, which is string
7560 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7562 # string "DIR
[ DIR
]" will be appended to VARIABLE
7563 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7564 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7565 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7567 # VARIABLE will be replaced by "DIR
[ DIR
]"
7568 func_munge_path_list ()
7574 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7577 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7580 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7581 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7584 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7590 ac_cpp='$CPP $CPPFLAGS'
7591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7595 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7596 # On Suns, sometimes $CPP names a directory.
7597 if test -n "$CPP" && test -d "$CPP"; then
7600 if test -z "$CPP"; then
7601 if ${ac_cv_prog_CPP+:} false; then :
7602 $as_echo_n "(cached
) " >&6
7604 # Double quotes because CPP needs to be expanded
7605 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7608 for ac_c_preproc_warn_flag in '' yes
7610 # Use a header file that comes with gcc, so configuring glibc
7611 # with a fresh cross-compiler works.
7612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7613 # <limits.h> exists even on freestanding compilers.
7614 # On the NeXT, cc -E runs the code through the compiler's parser,
7615 # not just through cpp. "Syntax error
" is here to catch this case.
7616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h. */
7619 # include <limits.h>
7621 # include <assert.h>
7625 if ac_fn_c_try_cpp "$LINENO"; then :
7628 # Broken: fails on valid input.
7631 rm -f conftest.err conftest.i conftest.$ac_ext
7633 # OK, works on sane cases. Now check whether nonexistent headers
7634 # can be detected and how.
7635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7636 /* end confdefs.h. */
7637 #include <ac_nonexistent.h>
7639 if ac_fn_c_try_cpp "$LINENO"; then :
7640 # Broken: success on invalid input.
7643 # Passes both tests.
7647 rm -f conftest.err conftest.i conftest.$ac_ext
7650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7651 rm -f conftest.i conftest.err conftest.$ac_ext
7652 if $ac_preproc_ok; then :
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7665 $as_echo "$CPP" >&6; }
7667 for ac_c_preproc_warn_flag in '' yes
7669 # Use a header file that comes with gcc, so configuring glibc
7670 # with a fresh cross-compiler works.
7671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7672 # <limits.h> exists even on freestanding compilers.
7673 # On the NeXT, cc -E runs the code through the compiler's parser,
7674 # not just through cpp. "Syntax error
" is here to catch this case.
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7678 # include <limits.h>
7680 # include <assert.h>
7684 if ac_fn_c_try_cpp "$LINENO"; then :
7687 # Broken: fails on valid input.
7690 rm -f conftest.err conftest.i conftest.$ac_ext
7692 # OK, works on sane cases. Now check whether nonexistent headers
7693 # can be detected and how.
7694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7695 /* end confdefs.h. */
7696 #include <ac_nonexistent.h>
7698 if ac_fn_c_try_cpp "$LINENO"; then :
7699 # Broken: success on invalid input.
7702 # Passes both tests.
7706 rm -f conftest.err conftest.i conftest.$ac_ext
7709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7710 rm -f conftest.i conftest.err conftest.$ac_ext
7711 if $ac_preproc_ok; then :
7714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7716 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7717 See \`config.log' for more details
" "$LINENO" 5; }
7721 ac_cpp='$CPP $CPPFLAGS'
7722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7728 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7729 if ${ac_cv_header_stdc+:} false; then :
7730 $as_echo_n "(cached
) " >&6
7732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7733 /* end confdefs.h. */
7747 if ac_fn_c_try_compile "$LINENO"; then :
7748 ac_cv_header_stdc=yes
7750 ac_cv_header_stdc=no
7752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7754 if test $ac_cv_header_stdc = yes; then
7755 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h. */
7761 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7762 $EGREP "memchr
" >/dev/null 2>&1; then :
7765 ac_cv_header_stdc=no
7771 if test $ac_cv_header_stdc = yes; then
7772 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h. */
7778 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7779 $EGREP "free
" >/dev/null 2>&1; then :
7782 ac_cv_header_stdc=no
7788 if test $ac_cv_header_stdc = yes; then
7789 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7790 if test "$cross_compiling" = yes; then :
7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7797 #if ((' ' & 0x0FF) == 0x020)
7798 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7799 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7801 # define ISLOWER(c) \
7802 (('a' <= (c) && (c) <= 'i') \
7803 || ('j' <= (c) && (c) <= 'r') \
7804 || ('s' <= (c) && (c) <= 'z'))
7805 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7808 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7813 for (i = 0; i < 256; i++)
7814 if (XOR (islower (i), ISLOWER (i))
7815 || toupper (i) != TOUPPER (i))
7820 if ac_fn_c_try_run "$LINENO"; then :
7823 ac_cv_header_stdc=no
7825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7826 conftest.$ac_objext conftest.beam conftest.$ac_ext
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7832 $as_echo "$ac_cv_header_stdc" >&6; }
7833 if test $ac_cv_header_stdc = yes; then
7835 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7839 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7840 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7841 inttypes.h stdint.h unistd.h
7843 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7844 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7846 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7847 cat >>confdefs.h
<<_ACEOF
7848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7856 for ac_header
in dlfcn.h
7858 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7860 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7861 cat >>confdefs.h
<<_ACEOF
7862 #define HAVE_DLFCN_H 1
7883 # Check whether --enable-shared was given.
7884 if test "${enable_shared+set}" = set; then :
7885 enableval
=$enable_shared; p
=${PACKAGE-default}
7887 yes) enable_shared
=yes ;;
7888 no
) enable_shared
=no
;;
7891 # Look at the argument we got. We use all the common list separators.
7892 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7893 for pkg
in $enableval; do
7895 if test "X$pkg" = "X$p"; then
7914 # Check whether --enable-static was given.
7915 if test "${enable_static+set}" = set; then :
7916 enableval
=$enable_static; p
=${PACKAGE-default}
7918 yes) enable_static
=yes ;;
7919 no
) enable_static
=no
;;
7922 # Look at the argument we got. We use all the common list separators.
7923 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7924 for pkg
in $enableval; do
7926 if test "X$pkg" = "X$p"; then
7946 # Check whether --with-pic was given.
7947 if test "${with_pic+set}" = set; then :
7948 withval
=$with_pic; lt_p
=${PACKAGE-default}
7950 yes|no
) pic_mode
=$withval ;;
7953 # Look at the argument we got. We use all the common list separators.
7954 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7955 for lt_pkg
in $withval; do
7957 if test "X$lt_pkg" = "X$lt_p"; then
7975 # Check whether --enable-fast-install was given.
7976 if test "${enable_fast_install+set}" = set; then :
7977 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7979 yes) enable_fast_install
=yes ;;
7980 no
) enable_fast_install
=no
;;
7982 enable_fast_install
=no
7983 # Look at the argument we got. We use all the common list separators.
7984 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7985 for pkg
in $enableval; do
7987 if test "X$pkg" = "X$p"; then
7988 enable_fast_install
=yes
7995 enable_fast_install
=yes
8005 shared_archive_member_spec
=
8006 case $host,$enable_shared in
8007 power
*-*-aix[5-9]*,yes)
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8009 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8011 # Check whether --with-aix-soname was given.
8012 if test "${with_aix_soname+set}" = set; then :
8013 withval
=$with_aix_soname; case $withval in
8017 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
8020 lt_cv_with_aix_soname
=$with_aix_soname
8022 if ${lt_cv_with_aix_soname+:} false
; then :
8023 $as_echo_n "(cached) " >&6
8025 lt_cv_with_aix_soname
=aix
8028 with_aix_soname
=$lt_cv_with_aix_soname
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8032 $as_echo "$with_aix_soname" >&6; }
8033 if test aix
!= "$with_aix_soname"; then
8034 # For the AIX way of multilib, we name the shared archive member
8035 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8036 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8037 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8038 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8039 if test 64 = "${OBJECT_MODE-32}"; then
8040 shared_archive_member_spec
=shr_64
8042 shared_archive_member_spec
=shr
8060 # This can be used to rebuild libtool when needed
8061 LIBTOOL_DEPS
=$ltmain
8063 # Always use our own libtool.
8064 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8095 test -z "$LN_S" && LN_S
="ln -s"
8110 if test -n "${ZSH_VERSION+set}"; then
8111 setopt NO_GLOB_SUBST
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8115 $as_echo_n "checking for objdir... " >&6; }
8116 if ${lt_cv_objdir+:} false
; then :
8117 $as_echo_n "(cached) " >&6
8119 rm -f .libs
2>/dev
/null
8120 mkdir .libs
2>/dev
/null
8121 if test -d .libs
; then
8124 # MS-DOS does not allow filenames that begin with a dot.
8127 rmdir .libs
2>/dev
/null
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8130 $as_echo "$lt_cv_objdir" >&6; }
8131 objdir
=$lt_cv_objdir
8137 cat >>confdefs.h
<<_ACEOF
8138 #define LT_OBJDIR "$lt_cv_objdir/"
8146 # AIX sometimes has problems with the GCC collect2 program. For some
8147 # reason, if we set the COLLECT_NAMES environment variable, the problems
8148 # vanish in a puff of smoke.
8149 if test set != "${COLLECT_NAMES+set}"; then
8151 export COLLECT_NAMES
8158 can_build_shared
=yes
8160 # All known linkers require a '.a' archive for static linking (except MSVC,
8161 # which needs '.lib').
8164 with_gnu_ld
=$lt_cv_prog_gnu_ld
8169 # Set sane defaults for various variables
8170 test -z "$CC" && CC
=cc
8171 test -z "$LTCC" && LTCC
=$CC
8172 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8173 test -z "$LD" && LD
=ld
8174 test -z "$ac_objext" && ac_objext
=o
8176 func_cc_basename
$compiler
8177 cc_basename
=$func_cc_basename_result
8180 # Only perform the check for file, if the check method requires it
8181 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8182 case $deplibs_check_method in
8184 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8186 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8187 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8188 $as_echo_n "(cached) " >&6
8192 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8195 lt_save_MAGIC_CMD
=$MAGIC_CMD
8196 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8197 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8198 for ac_dir
in $ac_dummy; do
8200 test -z "$ac_dir" && ac_dir
=.
8201 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8202 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8203 if test -n "$file_magic_test_file"; then
8204 case $deplibs_check_method in
8206 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8207 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8208 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8209 $EGREP "$file_magic_regex" > /dev
/null
; then
8214 *** Warning: the command libtool uses to detect shared libraries,
8215 *** $file_magic_cmd, produces output that libtool cannot recognize.
8216 *** The result is that libtool may fail to recognize shared libraries
8217 *** as such. This will affect the creation of libtool libraries that
8218 *** depend on shared libraries, but programs linked with such libtool
8219 *** libraries will work regardless of this problem. Nevertheless, you
8220 *** may want to report the problem to your system manager and/or to
8221 *** bug-libtool@gnu.org
8231 MAGIC_CMD
=$lt_save_MAGIC_CMD
8236 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8237 if test -n "$MAGIC_CMD"; then
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8239 $as_echo "$MAGIC_CMD" >&6; }
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8242 $as_echo "no" >&6; }
8249 if test -z "$lt_cv_path_MAGIC_CMD"; then
8250 if test -n "$ac_tool_prefix"; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8252 $as_echo_n "checking for file... " >&6; }
8253 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8254 $as_echo_n "(cached) " >&6
8258 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8261 lt_save_MAGIC_CMD
=$MAGIC_CMD
8262 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8263 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8264 for ac_dir
in $ac_dummy; do
8266 test -z "$ac_dir" && ac_dir
=.
8267 if test -f "$ac_dir/file"; then
8268 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8269 if test -n "$file_magic_test_file"; then
8270 case $deplibs_check_method in
8272 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8273 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8274 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8275 $EGREP "$file_magic_regex" > /dev
/null
; then
8280 *** Warning: the command libtool uses to detect shared libraries,
8281 *** $file_magic_cmd, produces output that libtool cannot recognize.
8282 *** The result is that libtool may fail to recognize shared libraries
8283 *** as such. This will affect the creation of libtool libraries that
8284 *** depend on shared libraries, but programs linked with such libtool
8285 *** libraries will work regardless of this problem. Nevertheless, you
8286 *** may want to report the problem to your system manager and/or to
8287 *** bug-libtool@gnu.org
8297 MAGIC_CMD
=$lt_save_MAGIC_CMD
8302 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8303 if test -n "$MAGIC_CMD"; then
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8305 $as_echo "$MAGIC_CMD" >&6; }
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8308 $as_echo "no" >&6; }
8321 # Use C for the default configuration in the libtool script
8325 ac_cpp
='$CPP $CPPFLAGS'
8326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8331 # Source file extension for C test sources.
8334 # Object file extension for compiled C test sources.
8338 # Code to be used in simple compile tests
8339 lt_simple_compile_test_code
="int some_variable = 0;"
8341 # Code to be used in simple link tests
8342 lt_simple_link_test_code
='int main(){return(0);}'
8350 # If no C compiler was specified, use CC.
8353 # If no C compiler flags were specified, use CFLAGS.
8354 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8356 # Allow CC to be a program name with arguments.
8359 # Save the default compiler, since it gets overwritten when the other
8360 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8361 compiler_DEFAULT
=$CC
8363 # save warnings/boilerplate of simple test code
8364 ac_outfile
=conftest.
$ac_objext
8365 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8366 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8367 _lt_compiler_boilerplate
=`cat conftest.err`
8370 ac_outfile
=conftest.
$ac_objext
8371 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8372 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8373 _lt_linker_boilerplate
=`cat conftest.err`
8377 if test -n "$compiler"; then
8379 lt_prog_compiler_no_builtin_flag
=
8381 if test yes = "$GCC"; then
8382 case $cc_basename in
8384 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8386 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8390 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8391 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8392 $as_echo_n "(cached) " >&6
8394 lt_cv_prog_compiler_rtti_exceptions
=no
8395 ac_outfile
=conftest.
$ac_objext
8396 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8397 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8398 # Insert the option either (1) after the last *FLAGS variable, or
8399 # (2) before a word containing "conftest.", or (3) at the end.
8400 # Note that $ac_compile itself does not contain backslashes and begins
8401 # with a dollar sign (not a hyphen), so the echo should work correctly.
8402 # The option is referenced via a variable to avoid confusing sed.
8403 lt_compile
=`echo "$ac_compile" | $SED \
8404 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8405 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8406 -e 's:$: $lt_compiler_flag:'`
8407 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8408 (eval "$lt_compile" 2>conftest.err
)
8410 cat conftest.err
>&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 if (exit $ac_status) && test -s "$ac_outfile"; then
8413 # The compiler can only warn and ignore the option if not recognized
8414 # So say no if there are warnings other than the usual output.
8415 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8416 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8417 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8418 lt_cv_prog_compiler_rtti_exceptions
=yes
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8425 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8427 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8428 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8440 lt_prog_compiler_wl
=
8441 lt_prog_compiler_pic
=
8442 lt_prog_compiler_static
=
8445 if test yes = "$GCC"; then
8446 lt_prog_compiler_wl
='-Wl,'
8447 lt_prog_compiler_static
='-static'
8451 # All AIX code is PIC.
8452 if test ia64
= "$host_cpu"; then
8453 # AIX 5 now supports IA64 processor
8454 lt_prog_compiler_static
='-Bstatic'
8456 lt_prog_compiler_pic
='-fPIC'
8462 # see comment about AmigaOS4 .so support
8463 lt_prog_compiler_pic
='-fPIC'
8466 # FIXME: we need at least 68020 code to build shared libraries, but
8467 # adding the '-m68020' flag to GCC prevents building anything better,
8469 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8474 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8475 # PIC is the default for these OSes.
8478 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8479 # This hack is so that the source file can tell whether it is being
8480 # built for inclusion in a dll (and should export symbols for example).
8481 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8482 # (--disable-auto-import) libraries
8483 lt_prog_compiler_pic
='-DDLL_EXPORT'
8486 lt_prog_compiler_static
='$wl-static'
8491 darwin
* | rhapsody
*)
8492 # PIC is the default on this platform
8493 # Common symbols not allowed in MH_DYLIB files
8494 lt_prog_compiler_pic
='-fno-common'
8498 # PIC is the default for Haiku.
8499 # The "-static" flag exists, but is broken.
8500 lt_prog_compiler_static
=
8504 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8505 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8506 # sets the default TLS model and affects inlining.
8512 lt_prog_compiler_pic
='-fPIC'
8518 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8519 # Instead, we relocate shared libraries at runtime.
8523 # Just because we use GCC doesn't mean we suddenly get shared libraries
8524 # on systems that don't support them.
8525 lt_prog_compiler_can_build_shared
=no
8530 # QNX uses GNU C++, but need to define -shared option too, otherwise
8532 lt_prog_compiler_pic
='-fPIC -shared'
8536 if test -d /usr
/nec
; then
8537 lt_prog_compiler_pic
=-Kconform_pic
8542 lt_prog_compiler_pic
='-fPIC'
8546 case $cc_basename in
8547 nvcc
*) # Cuda Compiler Driver 2.2
8548 lt_prog_compiler_wl
='-Xlinker '
8549 if test -n "$lt_prog_compiler_pic"; then
8550 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8555 # PORTME Check for flag to pass linker flags through the system compiler.
8558 lt_prog_compiler_wl
='-Wl,'
8559 if test ia64
= "$host_cpu"; then
8560 # AIX 5 now supports IA64 processor
8561 lt_prog_compiler_static
='-Bstatic'
8563 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8567 darwin
* | rhapsody
*)
8568 # PIC is the default on this platform
8569 # Common symbols not allowed in MH_DYLIB files
8570 lt_prog_compiler_pic
='-fno-common'
8571 case $cc_basename in
8573 # NAG Fortran compiler
8574 lt_prog_compiler_wl
='-Wl,-Wl,,'
8575 lt_prog_compiler_pic
='-PIC'
8576 lt_prog_compiler_static
='-Bstatic'
8581 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8582 # This hack is so that the source file can tell whether it is being
8583 # built for inclusion in a dll (and should export symbols for example).
8584 lt_prog_compiler_pic
='-DDLL_EXPORT'
8587 lt_prog_compiler_static
='$wl-static'
8592 hpux9
* | hpux10
* | hpux11
*)
8593 lt_prog_compiler_wl
='-Wl,'
8594 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8601 lt_prog_compiler_pic
='+Z'
8604 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8605 lt_prog_compiler_static
='$wl-a ${wl}archive'
8608 irix5
* | irix6
* | nonstopux
*)
8609 lt_prog_compiler_wl
='-Wl,'
8610 # PIC (with -KPIC) is the default.
8611 lt_prog_compiler_static
='-non_shared'
8614 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8615 case $cc_basename in
8616 # old Intel for x86_64, which still supported -KPIC.
8618 lt_prog_compiler_wl
='-Wl,'
8619 lt_prog_compiler_pic
='-KPIC'
8620 lt_prog_compiler_static
='-static'
8622 # icc used to be incompatible with GCC.
8623 # ICC 10 doesn't accept -KPIC any more.
8625 lt_prog_compiler_wl
='-Wl,'
8626 lt_prog_compiler_pic
='-fPIC'
8627 lt_prog_compiler_static
='-static'
8629 # Lahey Fortran 8.1.
8631 lt_prog_compiler_wl
='-Wl,'
8632 lt_prog_compiler_pic
='--shared'
8633 lt_prog_compiler_static
='--static'
8636 # NAG Fortran compiler
8637 lt_prog_compiler_wl
='-Wl,-Wl,,'
8638 lt_prog_compiler_pic
='-PIC'
8639 lt_prog_compiler_static
='-Bstatic'
8642 # Fabrice Bellard et al's Tiny C Compiler
8643 lt_prog_compiler_wl
='-Wl,'
8644 lt_prog_compiler_pic
='-fPIC'
8645 lt_prog_compiler_static
='-static'
8647 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8648 # Portland Group compilers (*not* the Pentium gcc compiler,
8649 # which looks to be a dead project)
8650 lt_prog_compiler_wl
='-Wl,'
8651 lt_prog_compiler_pic
='-fpic'
8652 lt_prog_compiler_static
='-Bstatic'
8655 lt_prog_compiler_wl
='-Wl,'
8656 # All Alpha code is PIC.
8657 lt_prog_compiler_static
='-non_shared'
8659 xl
* | bgxl
* | bgf
* | mpixl
*)
8660 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8661 lt_prog_compiler_wl
='-Wl,'
8662 lt_prog_compiler_pic
='-qpic'
8663 lt_prog_compiler_static
='-qstaticlink'
8666 case `$CC -V 2>&1 | sed 5q` in
8667 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8668 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8669 lt_prog_compiler_pic
='-KPIC'
8670 lt_prog_compiler_static
='-Bstatic'
8671 lt_prog_compiler_wl
=''
8673 *Sun\ F
* |
*Sun
*Fortran
*)
8674 lt_prog_compiler_pic
='-KPIC'
8675 lt_prog_compiler_static
='-Bstatic'
8676 lt_prog_compiler_wl
='-Qoption ld '
8680 lt_prog_compiler_pic
='-KPIC'
8681 lt_prog_compiler_static
='-Bstatic'
8682 lt_prog_compiler_wl
='-Wl,'
8684 *Intel
*\
[CF
]*Compiler
*)
8685 lt_prog_compiler_wl
='-Wl,'
8686 lt_prog_compiler_pic
='-fPIC'
8687 lt_prog_compiler_static
='-static'
8690 lt_prog_compiler_wl
='-Wl,'
8691 lt_prog_compiler_pic
='-fpic'
8692 lt_prog_compiler_static
='-Bstatic'
8700 lt_prog_compiler_pic
='-KPIC'
8701 lt_prog_compiler_static
='-Bstatic'
8705 # QNX uses GNU C++, but need to define -shared option too, otherwise
8707 lt_prog_compiler_pic
='-fPIC -shared'
8710 osf3
* | osf4
* | osf5
*)
8711 lt_prog_compiler_wl
='-Wl,'
8712 # All OSF/1 code is PIC.
8713 lt_prog_compiler_static
='-non_shared'
8717 lt_prog_compiler_static
='-non_shared'
8721 lt_prog_compiler_pic
='-KPIC'
8722 lt_prog_compiler_static
='-Bstatic'
8723 case $cc_basename in
8724 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8725 lt_prog_compiler_wl
='-Qoption ld ';;
8727 lt_prog_compiler_wl
='-Wl,';;
8732 lt_prog_compiler_wl
='-Qoption ld '
8733 lt_prog_compiler_pic
='-PIC'
8734 lt_prog_compiler_static
='-Bstatic'
8737 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8738 lt_prog_compiler_wl
='-Wl,'
8739 lt_prog_compiler_pic
='-KPIC'
8740 lt_prog_compiler_static
='-Bstatic'
8744 if test -d /usr
/nec
; then
8745 lt_prog_compiler_pic
='-Kconform_pic'
8746 lt_prog_compiler_static
='-Bstatic'
8750 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8751 lt_prog_compiler_wl
='-Wl,'
8752 lt_prog_compiler_pic
='-KPIC'
8753 lt_prog_compiler_static
='-Bstatic'
8757 lt_prog_compiler_wl
='-Wl,'
8758 lt_prog_compiler_can_build_shared
=no
8762 lt_prog_compiler_pic
='-pic'
8763 lt_prog_compiler_static
='-Bstatic'
8767 lt_prog_compiler_can_build_shared
=no
8773 # For platforms that do not support PIC, -DPIC is meaningless:
8775 lt_prog_compiler_pic
=
8778 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8783 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8784 if ${lt_cv_prog_compiler_pic+:} false
; then :
8785 $as_echo_n "(cached) " >&6
8787 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8790 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8791 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8794 # Check to make sure the PIC flag actually works.
8796 if test -n "$lt_prog_compiler_pic"; then
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8798 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8799 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8800 $as_echo_n "(cached) " >&6
8802 lt_cv_prog_compiler_pic_works
=no
8803 ac_outfile
=conftest.
$ac_objext
8804 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8805 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8806 # Insert the option either (1) after the last *FLAGS variable, or
8807 # (2) before a word containing "conftest.", or (3) at the end.
8808 # Note that $ac_compile itself does not contain backslashes and begins
8809 # with a dollar sign (not a hyphen), so the echo should work correctly.
8810 # The option is referenced via a variable to avoid confusing sed.
8811 lt_compile
=`echo "$ac_compile" | $SED \
8812 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8813 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8814 -e 's:$: $lt_compiler_flag:'`
8815 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8816 (eval "$lt_compile" 2>conftest.err
)
8818 cat conftest.err
>&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 if (exit $ac_status) && test -s "$ac_outfile"; then
8821 # The compiler can only warn and ignore the option if not recognized
8822 # So say no if there are warnings other than the usual output.
8823 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8824 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8825 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8826 lt_cv_prog_compiler_pic_works
=yes
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8833 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8835 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8836 case $lt_prog_compiler_pic in
8838 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8841 lt_prog_compiler_pic
=
8842 lt_prog_compiler_can_build_shared
=no
8858 # Check to make sure the static flag actually works.
8860 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8862 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8863 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8864 $as_echo_n "(cached) " >&6
8866 lt_cv_prog_compiler_static_works
=no
8867 save_LDFLAGS
=$LDFLAGS
8868 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8869 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8870 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8871 # The linker can only warn and ignore the option if not recognized
8872 # So say no if there are warnings
8873 if test -s conftest.err
; then
8874 # Append any errors to the config.log.
8875 cat conftest.err
1>&5
8876 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8877 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8878 if diff conftest.exp conftest.er2
>/dev
/null
; then
8879 lt_cv_prog_compiler_static_works
=yes
8882 lt_cv_prog_compiler_static_works
=yes
8886 LDFLAGS
=$save_LDFLAGS
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8890 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8892 if test yes = "$lt_cv_prog_compiler_static_works"; then
8895 lt_prog_compiler_static
=
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8905 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8906 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8907 $as_echo_n "(cached) " >&6
8909 lt_cv_prog_compiler_c_o
=no
8910 $RM -r conftest
2>/dev
/null
8914 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8916 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8917 # Insert the option either (1) after the last *FLAGS variable, or
8918 # (2) before a word containing "conftest.", or (3) at the end.
8919 # Note that $ac_compile itself does not contain backslashes and begins
8920 # with a dollar sign (not a hyphen), so the echo should work correctly.
8921 lt_compile
=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>out
/conftest.err
)
8928 cat out
/conftest.err
>&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8932 # The compiler can only warn and ignore the option if not recognized
8933 # So say no if there are warnings
8934 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8935 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8936 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8937 lt_cv_prog_compiler_c_o
=yes
8942 # SGI C++ compiler will create directory out/ii_files/ for
8943 # template instantiation
8944 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8945 $RM out
/* && rmdir out
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8952 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8960 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8961 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8962 $as_echo_n "(cached) " >&6
8964 lt_cv_prog_compiler_c_o
=no
8965 $RM -r conftest
2>/dev
/null
8969 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8971 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8972 # Insert the option either (1) after the last *FLAGS variable, or
8973 # (2) before a word containing "conftest.", or (3) at the end.
8974 # Note that $ac_compile itself does not contain backslashes and begins
8975 # with a dollar sign (not a hyphen), so the echo should work correctly.
8976 lt_compile
=`echo "$ac_compile" | $SED \
8977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8979 -e 's:$: $lt_compiler_flag:'`
8980 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8981 (eval "$lt_compile" 2>out
/conftest.err
)
8983 cat out
/conftest.err
>&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8987 # The compiler can only warn and ignore the option if not recognized
8988 # So say no if there are warnings
8989 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8990 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8991 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8992 lt_cv_prog_compiler_c_o
=yes
8997 # SGI C++ compiler will create directory out/ii_files/ for
8998 # template instantiation
8999 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9000 $RM out
/* && rmdir out
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9007 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9012 hard_links
=nottested
9013 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
9014 # do not overwrite the value of need_locks provided by the user
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9016 $as_echo_n "checking if we can lock with hard links... " >&6; }
9019 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9021 ln conftest.a conftest.b
2>&5 || hard_links
=no
9022 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9024 $as_echo "$hard_links" >&6; }
9025 if test no
= "$hard_links"; then
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9027 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9040 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9043 allow_undefined_flag
=
9044 always_export_symbols
=no
9046 archive_expsym_cmds
=
9047 compiler_needs_object
=no
9048 enable_shared_with_static_runtimes
=no
9049 export_dynamic_flag_spec
=
9050 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9051 hardcode_automatic
=no
9053 hardcode_direct_absolute
=no
9054 hardcode_libdir_flag_spec
=
9055 hardcode_libdir_separator
=
9057 hardcode_shlibpath_var
=unsupported
9059 link_all_deplibs
=unknown
9062 old_archive_from_new_cmds
=
9063 old_archive_from_expsyms_cmds
=
9064 thread_safe_flag_spec
=
9065 whole_archive_flag_spec
=
9066 # include_expsyms should be a list of space-separated symbols to be *always*
9067 # included in the symbol list
9069 # exclude_expsyms can be an extended regexp of symbols to exclude
9070 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9071 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9072 # as well as any symbol that contains 'd'.
9073 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9074 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9075 # platforms (ab)use it in PIC code, but their linkers get confused if
9076 # the symbol is explicitly referenced. Since portable code cannot
9077 # rely on this symbol name, it's probably fine to never include it in
9078 # preloaded symbol tables.
9079 # Exclude shared library initialization/finalization symbols.
9080 extract_expsyms_cmds
=
9083 cygwin
* | mingw
* | pw32
* | cegcc
*)
9084 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9085 # When not using gcc, we currently assume that we are using
9086 # Microsoft Visual C++.
9087 if test yes != "$GCC"; then
9092 # we just hope/assume this is gcc and not c89 (= MSVC++)
9102 # On some targets, GNU ld is compatible enough with the native linker
9103 # that we're better off using the native interface for both.
9104 lt_use_gnu_ld_interface
=no
9105 if test yes = "$with_gnu_ld"; then
9108 # The AIX port of GNU ld has always aspired to compatibility
9109 # with the native linker. However, as the warning in the GNU ld
9110 # block says, versions before 2.19.5* couldn't really create working
9111 # shared libraries, regardless of the interface used.
9112 case `$LD -v 2>&1` in
9113 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9114 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9115 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9117 lt_use_gnu_ld_interface
=yes
9122 lt_use_gnu_ld_interface
=yes
9127 if test yes = "$lt_use_gnu_ld_interface"; then
9128 # If archive_cmds runs LD, not CC, wlarc should be empty
9131 # Set some defaults for GNU ld with shared library support. These
9132 # are reset later if shared libraries are not supported. Putting them
9133 # here allows them to be overridden if necessary.
9134 runpath_var
=LD_RUN_PATH
9135 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9136 export_dynamic_flag_spec
='$wl--export-dynamic'
9137 # ancient GNU ld didn't support --whole-archive et. al.
9138 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9139 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9141 whole_archive_flag_spec
=
9143 supports_anon_versioning
=no
9144 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9145 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9146 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9147 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9148 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9149 *\
2.11.
*) ;; # other 2.11 versions
9150 *) supports_anon_versioning
=yes ;;
9153 # See if GNU ld supports shared libraries.
9156 # On AIX/PPC, the GNU linker is very broken
9157 if test ia64
!= "$host_cpu"; then
9161 *** Warning: the GNU linker, at least up to release 2.19, is reported
9162 *** to be unable to reliably create shared libraries on AIX.
9163 *** Therefore, libtool is disabling shared libraries support. If you
9164 *** really care for shared libraries, you may want to install binutils
9165 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9166 *** You will then need to restart the configuration process.
9175 # see comment about AmigaOS4 .so support
9176 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9177 archive_expsym_cmds
=''
9180 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)'
9181 hardcode_libdir_flag_spec
='-L$libdir'
9182 hardcode_minus_L
=yes
9188 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9189 allow_undefined_flag
=unsupported
9190 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9191 # support --undefined. This deserves some investigation. FIXME
9192 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9198 cygwin
* | mingw
* | pw32
* | cegcc
*)
9199 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9200 # as there is no search path for DLLs.
9201 hardcode_libdir_flag_spec
='-L$libdir'
9202 export_dynamic_flag_spec
='$wl--export-all-symbols'
9203 allow_undefined_flag
=unsupported
9204 always_export_symbols
=no
9205 enable_shared_with_static_runtimes
=yes
9206 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'
9207 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9209 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9210 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9211 # If the export-symbols file already is a .def file, use it as
9212 # is; otherwise, prepend EXPORTS...
9213 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9214 cp $export_symbols $output_objdir/$soname.def;
9216 echo EXPORTS > $output_objdir/$soname.def;
9217 cat $export_symbols >> $output_objdir/$soname.def;
9219 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9226 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9227 link_all_deplibs
=yes
9231 hardcode_libdir_flag_spec
='-L$libdir'
9232 hardcode_minus_L
=yes
9233 allow_undefined_flag
=unsupported
9235 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9236 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9237 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9238 $ECHO EXPORTS >> $output_objdir/$libname.def~
9239 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9240 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9241 emximp -o $lib $output_objdir/$libname.def'
9242 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9243 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9244 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9245 $ECHO EXPORTS >> $output_objdir/$libname.def~
9247 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9248 prefix_cmds="$prefix_cmds -e 1d";
9250 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9251 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9252 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9253 emximp -o $lib $output_objdir/$libname.def'
9254 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9255 enable_shared_with_static_runtimes
=yes
9260 hardcode_shlibpath_var
=no
9261 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9262 export_dynamic_flag_spec
='$wl-E'
9263 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9264 # Instead, shared libraries are loaded at an image base (0x10000000 by
9265 # default) and relocated if they conflict, which is a slow very memory
9266 # consuming and fragmenting process. To avoid this, we pick a random,
9267 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9268 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9269 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9270 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'
9273 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9275 if test linux-dietlibc
= "$host_os"; then
9276 case $cc_basename in
9277 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9280 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9281 && test no
= "$tmp_diet"
9283 tmp_addflag
=' $pic_flag'
9284 tmp_sharedflag
='-shared'
9285 case $cc_basename,$host_cpu in
9286 pgcc
*) # Portland Group C compiler
9287 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'
9288 tmp_addflag
=' $pic_flag'
9290 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9291 # Portland Group f77 and f90 compilers
9292 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'
9293 tmp_addflag
=' $pic_flag -Mnomain' ;;
9294 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9295 tmp_addflag
=' -i_dynamic' ;;
9296 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9297 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9298 ifc
* | ifort
*) # Intel Fortran compiler
9299 tmp_addflag
=' -nofor_main' ;;
9300 lf95
*) # Lahey Fortran 8.1
9301 whole_archive_flag_spec
=
9302 tmp_sharedflag
='--shared' ;;
9303 nagfor
*) # NAGFOR 5.3
9304 tmp_sharedflag
='-Wl,-shared' ;;
9305 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9306 tmp_sharedflag
='-qmkshrobj'
9308 nvcc
*) # Cuda Compiler Driver 2.2
9309 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'
9310 compiler_needs_object
=yes
9313 case `$CC -V 2>&1 | sed 5q` in
9314 *Sun\ C
*) # Sun C 5.9
9315 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'
9316 compiler_needs_object
=yes
9317 tmp_sharedflag
='-G' ;;
9318 *Sun\ F
*) # Sun Fortran 8.3
9319 tmp_sharedflag
='-G' ;;
9321 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9323 if test yes = "$supports_anon_versioning"; then
9324 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9325 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9326 echo "local: *; };" >> $output_objdir/$libname.ver~
9327 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9330 case $cc_basename in
9332 export_dynamic_flag_spec
='-rdynamic'
9334 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9335 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9336 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9337 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9338 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9339 if test yes = "$supports_anon_versioning"; then
9340 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9341 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9342 echo "local: *; };" >> $output_objdir/$libname.ver~
9343 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9353 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9354 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9357 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9358 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9363 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9367 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9368 *** create shared libraries on Solaris systems. Therefore, libtool
9369 *** is disabling shared libraries support. We urge you to upgrade GNU
9370 *** binutils to release 2.9.1 or newer. Another option is to modify
9371 *** your PATH or compiler configuration so that the native linker is
9372 *** used, and then restart.
9375 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9376 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9377 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9383 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9384 case `$LD -v 2>&1` in
9385 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9389 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9390 *** reliably create shared libraries on SCO systems. Therefore, libtool
9391 *** is disabling shared libraries support. We urge you to upgrade GNU
9392 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9393 *** your PATH or compiler configuration so that the native linker is
9394 *** used, and then restart.
9399 # For security reasons, it is highly recommended that you always
9400 # use absolute paths for naming shared libraries, and exclude the
9401 # DT_RUNPATH tag from executables and libraries. But doing so
9402 # requires that you compile everything twice, which is a pain.
9403 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9404 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9405 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9406 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9415 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9418 hardcode_shlibpath_var
=no
9422 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9423 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9424 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9431 if test no
= "$ld_shlibs"; then
9433 hardcode_libdir_flag_spec
=
9434 export_dynamic_flag_spec
=
9435 whole_archive_flag_spec
=
9438 # PORTME fill in a description of your system's linker (not GNU ld)
9441 allow_undefined_flag
=unsupported
9442 always_export_symbols
=yes
9443 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'
9444 # Note: this linker hardcodes the directories in LIBPATH if there
9445 # are no directories specified by -L.
9446 hardcode_minus_L
=yes
9447 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9448 # Neither direct hardcoding nor static linking is supported with a
9450 hardcode_direct
=unsupported
9455 if test ia64
= "$host_cpu"; then
9456 # On IA64, the linker does run time linking by default, so we don't
9457 # have to do anything special.
9458 aix_use_runtimelinking
=no
9459 exp_sym_flag
='-Bexport'
9462 # If we're using GNU nm, then we don't want the "-C" option.
9463 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9464 # Without the "-l" option, or with the "-B" option, AIX nm treats
9465 # weak defined symbols like other global defined symbols, whereas
9466 # GNU nm marks them as "W".
9467 # While the 'weak' keyword is ignored in the Export File, we need
9468 # it in the Import File for the 'aix-soname' feature, so we have
9469 # to replace the "-B" option with "-P" for AIX nm.
9470 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9471 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9473 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9475 aix_use_runtimelinking
=no
9477 # Test if we are trying to use run time linking or normal
9478 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9479 # have runtime linking enabled, and use it for executables.
9480 # For shared libraries, we enable/disable runtime linking
9481 # depending on the kind of the shared library created -
9482 # when "with_aix_soname,aix_use_runtimelinking" is:
9483 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9484 # "aix,yes" lib.so shared, rtl:yes, for executables
9485 # lib.a static archive
9486 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9487 # lib.a(lib.so.V) shared, rtl:no, for executables
9488 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9489 # lib.a(lib.so.V) shared, rtl:no
9490 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9491 # lib.a static archive
9492 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9493 for ld_flag
in $LDFLAGS; do
9494 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9495 aix_use_runtimelinking
=yes
9499 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9500 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9501 # so we don't have lib.a shared libs to link our executables.
9502 # We have to force runtime linking in this case.
9503 aix_use_runtimelinking
=yes
9504 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9509 exp_sym_flag
='-bexport'
9510 no_entry_flag
='-bnoentry'
9513 # When large executables or shared objects are built, AIX ld can
9514 # have problems creating the table of contents. If linking a library
9515 # or program results in "error TOC overflow" add -mminimal-toc to
9516 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9517 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9521 hardcode_direct_absolute
=yes
9522 hardcode_libdir_separator
=':'
9523 link_all_deplibs
=yes
9524 file_list_spec
='$wl-f,'
9525 case $with_aix_soname,$aix_use_runtimelinking in
9526 aix
,*) ;; # traditional, no import file
9527 svr4
,* |
*,yes) # use import file
9528 # The Import File defines what to hardcode.
9530 hardcode_direct_absolute
=no
9534 if test yes = "$GCC"; then
9535 case $host_os in aix4.
[012]|aix4.
[012].
*)
9536 # We only want to do this on AIX 4.2 and lower, the check
9537 # below for broken collect2 doesn't work under 4.3+
9538 collect2name
=`$CC -print-prog-name=collect2`
9539 if test -f "$collect2name" &&
9540 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9542 # We have reworked collect2
9545 # We have old collect2
9546 hardcode_direct
=unsupported
9547 # It fails to find uninstalled libraries when the uninstalled
9548 # path is not listed in the libpath. Setting hardcode_minus_L
9549 # to unsupported forces relinking
9550 hardcode_minus_L
=yes
9551 hardcode_libdir_flag_spec
='-L$libdir'
9552 hardcode_libdir_separator
=
9556 shared_flag
='-shared'
9557 if test yes = "$aix_use_runtimelinking"; then
9558 shared_flag
="$shared_flag "'$wl-G'
9560 # Need to ensure runtime linking is disabled for the traditional
9561 # shared library, or the linker may eventually find shared libraries
9562 # /with/ Import File - we do not want to mix them.
9563 shared_flag_aix
='-shared'
9564 shared_flag_svr4
='-shared $wl-G'
9567 if test ia64
= "$host_cpu"; then
9568 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9569 # chokes on -Wl,-G. The following line is correct:
9572 if test yes = "$aix_use_runtimelinking"; then
9575 shared_flag
='$wl-bM:SRE'
9577 shared_flag_aix
='$wl-bM:SRE'
9578 shared_flag_svr4
='$wl-G'
9582 export_dynamic_flag_spec
='$wl-bexpall'
9583 # It seems that -bexpall does not export symbols beginning with
9584 # underscore (_), so it is better to generate a list of symbols to export.
9585 always_export_symbols
=yes
9586 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9587 # Warning - without using the other runtime loading flags (-brtl),
9588 # -berok will link without error, but may produce a broken library.
9589 allow_undefined_flag
='-berok'
9590 # Determine the default libpath from the value encoded in an
9592 if test set = "${lt_cv_aix_libpath+set}"; then
9593 aix_libpath
=$lt_cv_aix_libpath
9595 if ${lt_cv_aix_libpath_+:} false
; then :
9596 $as_echo_n "(cached) " >&6
9598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9609 if ac_fn_c_try_link
"$LINENO"; then :
9611 lt_aix_libpath_sed
='
9612 /Import File Strings/,/^$/ {
9614 s/^0 *\([^ ]*\) *$/\1/
9618 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9619 # Check for a 64-bit object if we didn't find anything.
9620 if test -z "$lt_cv_aix_libpath_"; then
9621 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9624 rm -f core conftest.err conftest.
$ac_objext \
9625 conftest
$ac_exeext conftest.
$ac_ext
9626 if test -z "$lt_cv_aix_libpath_"; then
9627 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9632 aix_libpath
=$lt_cv_aix_libpath_
9635 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9636 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
9638 if test ia64
= "$host_cpu"; then
9639 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9640 allow_undefined_flag
="-z nodefs"
9641 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"
9643 # Determine the default libpath from the value encoded in an
9645 if test set = "${lt_cv_aix_libpath+set}"; then
9646 aix_libpath
=$lt_cv_aix_libpath
9648 if ${lt_cv_aix_libpath_+:} false
; then :
9649 $as_echo_n "(cached) " >&6
9651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9662 if ac_fn_c_try_link
"$LINENO"; then :
9664 lt_aix_libpath_sed
='
9665 /Import File Strings/,/^$/ {
9667 s/^0 *\([^ ]*\) *$/\1/
9671 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9672 # Check for a 64-bit object if we didn't find anything.
9673 if test -z "$lt_cv_aix_libpath_"; then
9674 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9677 rm -f core conftest.err conftest.
$ac_objext \
9678 conftest
$ac_exeext conftest.
$ac_ext
9679 if test -z "$lt_cv_aix_libpath_"; then
9680 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9685 aix_libpath
=$lt_cv_aix_libpath_
9688 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9689 # Warning - without using the other run time loading flags,
9690 # -berok will link without error, but may produce a broken library.
9691 no_undefined_flag
=' $wl-bernotok'
9692 allow_undefined_flag
=' $wl-berok'
9693 if test yes = "$with_gnu_ld"; then
9694 # We only use this code for GNU lds that support --whole-archive.
9695 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9697 # Exported symbols can be pulled into shared objects from archives
9698 whole_archive_flag_spec
='$convenience'
9700 archive_cmds_need_lc
=yes
9701 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9702 # -brtl affects multiple linker settings, -berok does not and is overridden later
9703 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9704 if test svr4
!= "$with_aix_soname"; then
9705 # This is similar to how AIX traditionally builds its shared libraries.
9706 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9708 if test aix
!= "$with_aix_soname"; then
9709 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9711 # used by -dlpreopen to get the symbols
9712 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9714 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9722 # see comment about AmigaOS4 .so support
9723 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9724 archive_expsym_cmds
=''
9727 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)'
9728 hardcode_libdir_flag_spec
='-L$libdir'
9729 hardcode_minus_L
=yes
9735 export_dynamic_flag_spec
=-rdynamic
9738 cygwin
* | mingw
* | pw32
* | cegcc
*)
9739 # When not using gcc, we currently assume that we are using
9740 # Microsoft Visual C++.
9741 # hardcode_libdir_flag_spec is actually meaningless, as there is
9742 # no search path for DLLs.
9743 case $cc_basename in
9746 hardcode_libdir_flag_spec
=' '
9747 allow_undefined_flag
=unsupported
9748 always_export_symbols
=yes
9750 # Tell ltmain to make .lib files, not .a files.
9752 # Tell ltmain to make .dll files, not .so files.
9754 # FIXME: Setting linknames here is a bad hack.
9755 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9756 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9757 cp "$export_symbols" "$output_objdir/$soname.def";
9758 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9760 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9762 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9764 # The linker will not automatically build a static lib if we build a DLL.
9765 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9766 enable_shared_with_static_runtimes
=yes
9767 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9768 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9770 old_postinstall_cmds
='chmod 644 $oldlib'
9771 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9772 lt_tool_outputfile="@TOOL_OUTPUT@"~
9773 case $lt_outputfile in
9776 lt_outputfile=$lt_outputfile.exe
9777 lt_tool_outputfile=$lt_tool_outputfile.exe
9780 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9781 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9782 $RM "$lt_outputfile.manifest";
9786 # Assume MSVC wrapper
9787 hardcode_libdir_flag_spec
=' '
9788 allow_undefined_flag
=unsupported
9789 # Tell ltmain to make .lib files, not .a files.
9791 # Tell ltmain to make .dll files, not .so files.
9793 # FIXME: Setting linknames here is a bad hack.
9794 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9795 # The linker will automatically build a .lib file if we build a DLL.
9796 old_archive_from_new_cmds
='true'
9797 # FIXME: Should let the user specify the lib program.
9798 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9799 enable_shared_with_static_runtimes
=yes
9804 darwin
* | rhapsody
*)
9807 archive_cmds_need_lc
=no
9809 hardcode_automatic
=yes
9810 hardcode_shlibpath_var
=unsupported
9811 if test yes = "$lt_cv_ld_force_load"; then
9812 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\"`'
9815 whole_archive_flag_spec
=''
9817 link_all_deplibs
=yes
9818 allow_undefined_flag
=$_lt_dar_allow_undefined
9819 case $cc_basename in
9820 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9821 *) _lt_dar_can_shared
=$GCC ;;
9823 if test yes = "$_lt_dar_can_shared"; then
9824 output_verbose_link_cmd
=func_echo_all
9825 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9826 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9827 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"
9828 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"
9837 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9838 hardcode_libdir_flag_spec
='-L$libdir'
9839 hardcode_shlibpath_var
=no
9842 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9843 # support. Future versions do this automatically, but an explicit c++rt0.o
9844 # does not break anything, and helps significantly (at the cost of a little
9847 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9848 hardcode_libdir_flag_spec
='-R$libdir'
9850 hardcode_shlibpath_var
=no
9853 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9855 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9857 hardcode_minus_L
=yes
9858 hardcode_shlibpath_var
=no
9861 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9862 freebsd
* | dragonfly
*)
9863 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9864 hardcode_libdir_flag_spec
='-R$libdir'
9866 hardcode_shlibpath_var
=no
9870 if test yes = "$GCC"; then
9871 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9873 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9875 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9876 hardcode_libdir_separator
=:
9879 # hardcode_minus_L: Not really in the search PATH,
9880 # but as the default location of the library.
9881 hardcode_minus_L
=yes
9882 export_dynamic_flag_spec
='$wl-E'
9886 if test yes,no
= "$GCC,$with_gnu_ld"; then
9887 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9889 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9891 if test no
= "$with_gnu_ld"; then
9892 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9893 hardcode_libdir_separator
=:
9895 hardcode_direct_absolute
=yes
9896 export_dynamic_flag_spec
='$wl-E'
9897 # hardcode_minus_L: Not really in the search PATH,
9898 # but as the default location of the library.
9899 hardcode_minus_L
=yes
9904 if test yes,no
= "$GCC,$with_gnu_ld"; then
9907 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9910 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9922 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9926 # Older versions of the 11.00 compiler do not understand -b yet
9927 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9929 $as_echo_n "checking if $CC understands -b... " >&6; }
9930 if ${lt_cv_prog_compiler__b+:} false
; then :
9931 $as_echo_n "(cached) " >&6
9933 lt_cv_prog_compiler__b
=no
9934 save_LDFLAGS
=$LDFLAGS
9935 LDFLAGS
="$LDFLAGS -b"
9936 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9937 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9938 # The linker can only warn and ignore the option if not recognized
9939 # So say no if there are warnings
9940 if test -s conftest.err
; then
9941 # Append any errors to the config.log.
9942 cat conftest.err
1>&5
9943 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9944 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9945 if diff conftest.exp conftest.er2
>/dev
/null
; then
9946 lt_cv_prog_compiler__b
=yes
9949 lt_cv_prog_compiler__b
=yes
9953 LDFLAGS
=$save_LDFLAGS
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9957 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9959 if test yes = "$lt_cv_prog_compiler__b"; then
9960 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9962 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9968 if test no
= "$with_gnu_ld"; then
9969 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9970 hardcode_libdir_separator
=:
9975 hardcode_shlibpath_var
=no
9979 hardcode_direct_absolute
=yes
9980 export_dynamic_flag_spec
='$wl-E'
9982 # hardcode_minus_L: Not really in the search PATH,
9983 # but as the default location of the library.
9984 hardcode_minus_L
=yes
9990 irix5
* | irix6
* | nonstopux
*)
9991 if test yes = "$GCC"; then
9992 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'
9993 # Try to use the -exported_symbol ld option, if it does not
9994 # work, assume that -exports_file does not work either and
9995 # implicitly export all symbols.
9996 # This should be the same for all languages, so no per-tag cache variable.
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9998 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9999 if ${lt_cv_irix_exported_symbol+:} false
; then :
10000 $as_echo_n "(cached) " >&6
10002 save_LDFLAGS
=$LDFLAGS
10003 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10006 int foo (void) { return 0; }
10008 if ac_fn_c_try_link
"$LINENO"; then :
10009 lt_cv_irix_exported_symbol
=yes
10011 lt_cv_irix_exported_symbol
=no
10013 rm -f core conftest.err conftest.
$ac_objext \
10014 conftest
$ac_exeext conftest.
$ac_ext
10015 LDFLAGS
=$save_LDFLAGS
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10018 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10019 if test yes = "$lt_cv_irix_exported_symbol"; then
10020 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'
10023 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'
10024 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'
10026 archive_cmds_need_lc
='no'
10027 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10028 hardcode_libdir_separator
=:
10030 link_all_deplibs
=yes
10034 case $cc_basename in
10036 # Fabrice Bellard et al's Tiny C Compiler
10038 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10044 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10045 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10047 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10049 hardcode_libdir_flag_spec
='-R$libdir'
10050 hardcode_direct
=yes
10051 hardcode_shlibpath_var
=no
10055 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10056 hardcode_direct
=yes
10057 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10058 hardcode_libdir_separator
=:
10059 hardcode_shlibpath_var
=no
10065 openbsd
* | bitrig
*)
10066 if test -f /usr
/libexec
/ld.so
; then
10067 hardcode_direct
=yes
10068 hardcode_shlibpath_var
=no
10069 hardcode_direct_absolute
=yes
10070 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10071 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10073 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10074 export_dynamic_flag_spec
='$wl-E'
10076 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10077 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10085 hardcode_libdir_flag_spec
='-L$libdir'
10086 hardcode_minus_L
=yes
10087 allow_undefined_flag
=unsupported
10089 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10090 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10091 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10092 $ECHO EXPORTS >> $output_objdir/$libname.def~
10093 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10094 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10095 emximp -o $lib $output_objdir/$libname.def'
10096 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10097 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10098 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10099 $ECHO EXPORTS >> $output_objdir/$libname.def~
10100 prefix_cmds="$SED"~
10101 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10102 prefix_cmds="$prefix_cmds -e 1d";
10104 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10105 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10106 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10107 emximp -o $lib $output_objdir/$libname.def'
10108 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10109 enable_shared_with_static_runtimes
=yes
10113 if test yes = "$GCC"; then
10114 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10115 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'
10117 allow_undefined_flag
=' -expect_unresolved \*'
10118 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'
10120 archive_cmds_need_lc
='no'
10121 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10122 hardcode_libdir_separator
=:
10125 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10126 if test yes = "$GCC"; then
10127 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10128 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'
10129 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10131 allow_undefined_flag
=' -expect_unresolved \*'
10132 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'
10133 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~
10134 $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'
10136 # Both c and cxx compiler support -rpath directly
10137 hardcode_libdir_flag_spec
='-rpath $libdir'
10139 archive_cmds_need_lc
='no'
10140 hardcode_libdir_separator
=:
10144 no_undefined_flag
=' -z defs'
10145 if test yes = "$GCC"; then
10147 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10148 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10149 $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'
10151 case `$CC -V 2>&1` in
10154 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10155 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10156 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10160 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10161 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10162 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10166 hardcode_libdir_flag_spec
='-R$libdir'
10167 hardcode_shlibpath_var
=no
10169 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10171 # The compiler driver will combine and reorder linker options,
10172 # but understands '-z linker_flag'. GCC discards it without '$wl',
10173 # but is careful enough not to reorder.
10174 # Supported since Solaris 2.6 (maybe 2.5.1?)
10175 if test yes = "$GCC"; then
10176 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10178 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10182 link_all_deplibs
=yes
10186 if test sequent
= "$host_vendor"; then
10187 # Use $CC to link under sequent, because it throws in some extra .o
10188 # files that make .init and .fini sections work.
10189 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10191 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10193 hardcode_libdir_flag_spec
='-L$libdir'
10194 hardcode_direct
=yes
10195 hardcode_minus_L
=yes
10196 hardcode_shlibpath_var
=no
10200 case $host_vendor in
10202 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10203 hardcode_direct
=yes # is this really true???
10206 ## LD is ld it makes a PLAMLIB
10207 ## CC just makes a GrossModule.
10208 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10209 reload_cmds
='$CC -r -o $output$reload_objs'
10213 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10214 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10217 runpath_var
='LD_RUN_PATH'
10218 hardcode_shlibpath_var
=no
10222 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10223 hardcode_shlibpath_var
=no
10224 export_dynamic_flag_spec
='-Bexport'
10228 if test -d /usr
/nec
; then
10229 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10230 hardcode_shlibpath_var
=no
10231 runpath_var
=LD_RUN_PATH
10232 hardcode_runpath_var
=yes
10237 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10238 no_undefined_flag
='$wl-z,text'
10239 archive_cmds_need_lc
=no
10240 hardcode_shlibpath_var
=no
10241 runpath_var
='LD_RUN_PATH'
10243 if test yes = "$GCC"; then
10244 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10245 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10247 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10248 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10252 sysv5
* | sco3.2v5
* | sco5v6
*)
10253 # Note: We CANNOT use -z defs as we might desire, because we do not
10254 # link with -lc, and that would cause any symbols used from libc to
10255 # always be unresolved, which means just about no library would
10256 # ever link correctly. If we're not using GNU ld we use -z text
10257 # though, which does catch some bad symbols but isn't as heavy-handed
10259 no_undefined_flag
='$wl-z,text'
10260 allow_undefined_flag
='$wl-z,nodefs'
10261 archive_cmds_need_lc
=no
10262 hardcode_shlibpath_var
=no
10263 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10264 hardcode_libdir_separator
=':'
10265 link_all_deplibs
=yes
10266 export_dynamic_flag_spec
='$wl-Bexport'
10267 runpath_var
='LD_RUN_PATH'
10269 if test yes = "$GCC"; then
10270 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10271 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10273 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10274 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10279 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10280 hardcode_libdir_flag_spec
='-L$libdir'
10281 hardcode_shlibpath_var
=no
10289 if test sni
= "$host_vendor"; then
10291 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10292 export_dynamic_flag_spec
='$wl-Blargedynsym'
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10299 $as_echo "$ld_shlibs" >&6; }
10300 test no
= "$ld_shlibs" && can_build_shared
=no
10302 with_gnu_ld
=$with_gnu_ld
10319 # Do we need to explicitly link libc?
10321 case "x$archive_cmds_need_lc" in
10323 # Assume -lc should be added
10324 archive_cmds_need_lc
=yes
10326 if test yes,yes = "$GCC,$enable_shared"; then
10327 case $archive_cmds in
10329 # FIXME: we may have to deal with multi-command sequences.
10332 # Test whether the compiler implicitly links with -lc since on some
10333 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10334 # to ld, don't add -lc before -lgcc.
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10336 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10337 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10338 $as_echo_n "(cached) " >&6
10341 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10343 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10344 (eval $ac_compile) 2>&5
10346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10347 test $ac_status = 0; } 2>conftest.err
; then
10350 libobjs
=conftest.
$ac_objext
10352 wl
=$lt_prog_compiler_wl
10353 pic_flag
=$lt_prog_compiler_pic
10359 lt_save_allow_undefined_flag
=$allow_undefined_flag
10360 allow_undefined_flag
=
10361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10362 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10365 test $ac_status = 0; }
10367 lt_cv_archive_cmds_need_lc
=no
10369 lt_cv_archive_cmds_need_lc
=yes
10371 allow_undefined_flag
=$lt_save_allow_undefined_flag
10373 cat conftest.err
1>&5
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10379 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10380 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10539 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10541 if test yes = "$GCC"; then
10543 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10544 *) lt_awk_arg
='/^libraries:/' ;;
10547 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10548 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10550 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10551 case $lt_search_path_spec in
10553 # if the path contains ";" then we assume it to be the separator
10554 # otherwise default to the standard path separator (i.e. ":") - it is
10555 # assumed that no part of a normal pathname contains ";" but that should
10556 # okay in the real world where ";" in dirpaths is itself problematic.
10557 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10560 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10563 # Ok, now we have the path, separated by spaces, we can step through it
10564 # and add multilib dir if necessary...
10565 lt_tmp_lt_search_path_spec
=
10566 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10567 # ...but if some path component already ends with the multilib dir we assume
10568 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10569 case "$lt_multi_os_dir; $lt_search_path_spec " in
10570 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10574 for lt_sys_path
in $lt_search_path_spec; do
10575 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10576 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10577 elif test -n "$lt_multi_os_dir"; then
10578 test -d "$lt_sys_path" && \
10579 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10582 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10583 BEGIN {RS = " "; FS = "/|\n";} {
10586 for (lt_i = NF; lt_i > 0; lt_i--) {
10587 if ($lt_i != "" && $lt_i != ".") {
10588 if ($lt_i == "..") {
10591 if (lt_count == 0) {
10592 lt_foo = "/" $lt_i lt_foo;
10599 if (lt_foo != "") { lt_freq[lt_foo]++; }
10600 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10602 # AWK program above erroneously prepends '/' to C:/dos/paths
10605 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10606 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10608 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10610 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10612 library_names_spec
=
10613 libname_spec
='lib$name'
10617 postuninstall_cmds
=
10621 shlibpath_overrides_runpath
=unknown
10623 dynamic_linker
="$host_os ld.so"
10624 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10625 need_lib_prefix
=unknown
10626 hardcode_into_libs
=no
10628 # when you set need_version to no, make sure it does not cause -set_version
10629 # flags to be left without arguments
10630 need_version
=unknown
10636 version_type
=linux
# correct to gnu/linux during the next big refactor
10637 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10638 shlibpath_var
=LIBPATH
10640 # AIX 3 has no versioning support, so we append a major version to the name.
10641 soname_spec
='$libname$release$shared_ext$major'
10645 version_type
=linux
# correct to gnu/linux during the next big refactor
10648 hardcode_into_libs
=yes
10649 if test ia64
= "$host_cpu"; then
10650 # AIX 5 supports IA64
10651 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10652 shlibpath_var
=LD_LIBRARY_PATH
10654 # With GCC up to 2.95.x, collect2 would create an import file
10655 # for dependence libraries. The import file would start with
10656 # the line '#! .'. This would cause the generated library to
10657 # depend on '.', always an invalid library. This was fixed in
10658 # development snapshots of GCC prior to 3.0.
10660 aix4 | aix4.
[01] | aix4.
[01].
*)
10661 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10663 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10666 can_build_shared
=no
10670 # Using Import Files as archive members, it is possible to support
10671 # filename-based versioning of shared library archives on AIX. While
10672 # this would work for both with and without runtime linking, it will
10673 # prevent static linking of such archives. So we do filename-based
10674 # shared library versioning with .so extension only, which is used
10675 # when both runtime linking and shared linking is enabled.
10676 # Unfortunately, runtime linking may impact performance, so we do
10677 # not want this to be the default eventually. Also, we use the
10678 # versioned .so libs for executables only if there is the -brtl
10679 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10680 # To allow for filename-based versioning support, we need to create
10681 # libNAME.so.V as an archive file, containing:
10682 # *) an Import File, referring to the versioned filename of the
10683 # archive as well as the shared archive member, telling the
10684 # bitwidth (32 or 64) of that shared object, and providing the
10685 # list of exported symbols of that shared object, eventually
10686 # decorated with the 'weak' keyword
10687 # *) the shared object with the F_LOADONLY flag set, to really avoid
10688 # it being seen by the linker.
10689 # At run time we better use the real file rather than another symlink,
10690 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10692 case $with_aix_soname,$aix_use_runtimelinking in
10693 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10694 # soname into executable. Probably we can add versioning support to
10695 # collect2, so additional links can be useful in future.
10696 aix
,yes) # traditional libtool
10697 dynamic_linker
='AIX unversionable lib.so'
10698 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10699 # instead of lib<name>.a to let people know that these are not
10700 # typical AIX shared libraries.
10701 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10703 aix
,no
) # traditional AIX only
10704 dynamic_linker
='AIX lib.a(lib.so.V)'
10705 # We preserve .a as extension for shared libraries through AIX4.2
10706 # and later when we are not doing run time linking.
10707 library_names_spec
='$libname$release.a $libname.a'
10708 soname_spec
='$libname$release$shared_ext$major'
10710 svr4
,*) # full svr4 only
10711 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10712 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10713 # We do not specify a path in Import Files, so LIBPATH fires.
10714 shlibpath_overrides_runpath
=yes
10716 *,yes) # both, prefer svr4
10717 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10718 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10719 # unpreferred sharedlib libNAME.a needs extra handling
10720 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10721 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10722 # We do not specify a path in Import Files, so LIBPATH fires.
10723 shlibpath_overrides_runpath
=yes
10725 *,no
) # both, prefer aix
10726 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10727 library_names_spec
='$libname$release.a $libname.a'
10728 soname_spec
='$libname$release$shared_ext$major'
10729 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10730 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10731 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10734 shlibpath_var
=LIBPATH
10741 # Since July 2007 AmigaOS4 officially supports .so libraries.
10742 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10743 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10746 library_names_spec
='$libname.ixlibrary $libname.a'
10747 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10748 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10754 library_names_spec
='$libname$shared_ext'
10755 dynamic_linker
="$host_os ld.so"
10756 shlibpath_var
=LIBRARY_PATH
10760 version_type
=linux
# correct to gnu/linux during the next big refactor
10762 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10763 soname_spec
='$libname$release$shared_ext$major'
10764 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10765 shlibpath_var
=LD_LIBRARY_PATH
10766 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10767 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10768 # the default ld.so.conf also contains /usr/contrib/lib and
10769 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10770 # libtool to hard-code these into programs
10773 cygwin
* | mingw
* | pw32
* | cegcc
*)
10774 version_type
=windows
10779 case $GCC,$cc_basename in
10782 library_names_spec
='$libname.dll.a'
10783 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10784 postinstall_cmds
='base_file=`basename \$file`~
10785 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10786 dldir=$destdir/`dirname \$dlpath`~
10787 test -d \$dldir || mkdir -p \$dldir~
10788 $install_prog $dir/$dlname \$dldir/$dlname~
10789 chmod a+x \$dldir/$dlname~
10790 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10791 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10793 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10794 dlpath=$dir/\$dldll~
10796 shlibpath_overrides_runpath
=yes
10800 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10801 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10803 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10806 # MinGW DLLs use traditional 'lib' prefix
10807 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10810 # pw32 DLLs use 'pw' prefix rather than 'lib'
10811 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10814 dynamic_linker
='Win32 ld.exe'
10819 libname_spec
='$name'
10820 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10821 library_names_spec
='$libname.dll.lib'
10825 sys_lib_search_path_spec
=
10828 for lt_path
in $LIB
10831 # Let DOS variable expansion print the short 8.3 style file name.
10832 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10833 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10836 # Convert to MSYS style.
10837 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10840 # Convert to unix form, then to dos form, then back to unix form
10841 # but this time dos style (no spaces!) so that the unix form looks
10842 # like /cygdrive/c/PROGRA~1:/cygdr...
10843 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10844 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10845 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10848 sys_lib_search_path_spec
=$LIB
10849 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10850 # It is most probably a Windows format PATH.
10851 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10853 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10855 # FIXME: find the short name or the path components, as spaces are
10856 # common. (e.g. "Program Files" -> "PROGRA~1")
10860 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10861 postinstall_cmds
='base_file=`basename \$file`~
10862 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10863 dldir=$destdir/`dirname \$dlpath`~
10864 test -d \$dldir || mkdir -p \$dldir~
10865 $install_prog $dir/$dlname \$dldir/$dlname'
10866 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10867 dlpath=$dir/\$dldll~
10869 shlibpath_overrides_runpath
=yes
10870 dynamic_linker
='Win32 link.exe'
10874 # Assume MSVC wrapper
10875 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
10876 dynamic_linker
='Win32 ld.exe'
10879 # FIXME: first we should search . and the directory the executable is in
10883 darwin
* | rhapsody
*)
10884 dynamic_linker
="$host_os dyld"
10885 version_type
=darwin
10888 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
10889 soname_spec
='$libname$release$major$shared_ext'
10890 shlibpath_overrides_runpath
=yes
10891 shlibpath_var
=DYLD_LIBRARY_PATH
10892 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10894 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10895 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10899 version_type
=linux
# correct to gnu/linux during the next big refactor
10902 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10903 soname_spec
='$libname$release$shared_ext$major'
10904 shlibpath_var
=LD_LIBRARY_PATH
10907 freebsd
* | dragonfly
*)
10908 # DragonFly does not have aout. When/if they implement a new
10909 # versioning mechanism, adjust this.
10910 if test -x /usr
/bin
/objformat
; then
10911 objformat
=`/usr/bin/objformat`
10914 freebsd
[23].
*) objformat
=aout
;;
10915 *) objformat
=elf
;;
10918 version_type
=freebsd-
$objformat
10919 case $version_type in
10921 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10922 soname_spec
='$libname$release$shared_ext$major'
10927 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10931 shlibpath_var
=LD_LIBRARY_PATH
10934 shlibpath_overrides_runpath
=yes
10936 freebsd3.
[01]* | freebsdelf3.
[01]*)
10937 shlibpath_overrides_runpath
=yes
10938 hardcode_into_libs
=yes
10940 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10941 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10942 shlibpath_overrides_runpath
=no
10943 hardcode_into_libs
=yes
10945 *) # from 4.6 on, and DragonFly
10946 shlibpath_overrides_runpath
=yes
10947 hardcode_into_libs
=yes
10953 version_type
=linux
# correct to gnu/linux during the next big refactor
10956 dynamic_linker
="$host_os runtime_loader"
10957 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10958 soname_spec
='$libname$release$shared_ext$major'
10959 shlibpath_var
=LIBRARY_PATH
10960 shlibpath_overrides_runpath
=no
10961 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10962 hardcode_into_libs
=yes
10965 hpux9
* | hpux10
* | hpux11
*)
10966 # Give a soname corresponding to the major version so that dld.sl refuses to
10967 # link against other versions.
10974 hardcode_into_libs
=yes
10975 dynamic_linker
="$host_os dld.so"
10976 shlibpath_var
=LD_LIBRARY_PATH
10977 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10978 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10979 soname_spec
='$libname$release$shared_ext$major'
10980 if test 32 = "$HPUX_IA64_MODE"; then
10981 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10982 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10984 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10985 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10990 hardcode_into_libs
=yes
10991 dynamic_linker
="$host_os dld.sl"
10992 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10993 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10994 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10995 soname_spec
='$libname$release$shared_ext$major'
10996 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10997 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11001 dynamic_linker
="$host_os dld.sl"
11002 shlibpath_var
=SHLIB_PATH
11003 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11004 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11005 soname_spec
='$libname$release$shared_ext$major'
11008 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11009 postinstall_cmds
='chmod 555 $lib'
11010 # or fails outright, so override atomically:
11011 install_override_mode
=555
11015 version_type
=linux
# correct to gnu/linux during the next big refactor
11018 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11019 soname_spec
='$libname$release$shared_ext$major'
11020 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11021 shlibpath_var
=LD_LIBRARY_PATH
11022 shlibpath_overrides_runpath
=no
11023 hardcode_into_libs
=yes
11026 irix5
* | irix6
* | nonstopux
*)
11028 nonstopux
*) version_type
=nonstopux
;;
11030 if test yes = "$lt_cv_prog_gnu_ld"; then
11031 version_type
=linux
# correct to gnu/linux during the next big refactor
11038 soname_spec
='$libname$release$shared_ext$major'
11039 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11041 irix5
* | nonstopux
*)
11042 libsuff
= shlibsuff
=
11045 case $LD in # libtool.m4 will add one of these switches to LD
11046 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11047 libsuff
= shlibsuff
= libmagic
=32-bit;;
11048 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11049 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11050 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11051 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11052 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11056 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11057 shlibpath_overrides_runpath
=no
11058 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11059 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11060 hardcode_into_libs
=yes
11063 # No shared lib support for Linux oldld, aout, or coff.
11064 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11069 version_type
=none
# Android doesn't support versioned libraries.
11072 library_names_spec
='$libname$release$shared_ext'
11073 soname_spec
='$libname$release$shared_ext'
11075 shlibpath_var
=LD_LIBRARY_PATH
11076 shlibpath_overrides_runpath
=yes
11078 # This implies no fast_install, which is unacceptable.
11079 # Some rework will be needed to allow for fast_install
11080 # before this can be enabled.
11081 hardcode_into_libs
=yes
11083 dynamic_linker
='Android linker'
11084 # Don't embed -rpath directories since the linker doesn't support them.
11085 hardcode_libdir_flag_spec
='-L$libdir'
11088 # This must be glibc/ELF.
11089 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11090 version_type
=linux
# correct to gnu/linux during the next big refactor
11093 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11094 soname_spec
='$libname$release$shared_ext$major'
11095 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11096 shlibpath_var
=LD_LIBRARY_PATH
11097 shlibpath_overrides_runpath
=no
11099 # Some binutils ld are patched to set DT_RUNPATH
11100 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11101 $as_echo_n "(cached) " >&6
11103 lt_cv_shlibpath_overrides_runpath
=no
11104 save_LDFLAGS
=$LDFLAGS
11105 save_libdir
=$libdir
11106 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11107 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11119 if ac_fn_c_try_link
"$LINENO"; then :
11120 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11121 lt_cv_shlibpath_overrides_runpath
=yes
11124 rm -f core conftest.err conftest.
$ac_objext \
11125 conftest
$ac_exeext conftest.
$ac_ext
11126 LDFLAGS
=$save_LDFLAGS
11127 libdir
=$save_libdir
11131 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11133 # This implies no fast_install, which is unacceptable.
11134 # Some rework will be needed to allow for fast_install
11135 # before this can be enabled.
11136 hardcode_into_libs
=yes
11138 # Add ABI-specific directories to the system library path.
11139 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11141 # Ideally, we could use ldconfig to report *all* directores which are
11142 # searched for libraries, however this is still not possible. Aside from not
11143 # being certain /sbin/ldconfig is available, command
11144 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11145 # even though it is searched at run-time. Try to do the best guess by
11146 # appending ld.so.conf contents (and includes) to the search path.
11147 if test -f /etc
/ld.so.conf
; then
11148 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' ' '`
11149 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11152 # We used to test for /lib/ld.so.1 and disable shared libraries on
11153 # powerpc, because MkLinux only supported shared libraries with the
11154 # GNU dynamic linker. Since this was broken with cross compilers,
11155 # most powerpc-linux boxes support dynamic linking these days and
11156 # people can always --disable-shared, the test was removed, and we
11157 # assume the GNU/Linux dynamic linker is in use.
11158 dynamic_linker
='GNU/Linux ld.so'
11165 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11166 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11167 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11168 dynamic_linker
='NetBSD (a.out) ld.so'
11170 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11171 soname_spec
='$libname$release$shared_ext$major'
11172 dynamic_linker
='NetBSD ld.elf_so'
11174 shlibpath_var
=LD_LIBRARY_PATH
11175 shlibpath_overrides_runpath
=yes
11176 hardcode_into_libs
=yes
11180 version_type
=linux
# correct to gnu/linux during the next big refactor
11181 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11182 shlibpath_var
=LD_LIBRARY_PATH
11183 shlibpath_overrides_runpath
=yes
11190 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11191 soname_spec
='$libname$release$shared_ext$major'
11192 shlibpath_var
=LD_LIBRARY_PATH
11193 shlibpath_overrides_runpath
=no
11194 hardcode_into_libs
=yes
11195 dynamic_linker
='ldqnx.so'
11198 openbsd
* | bitrig
*)
11200 sys_lib_dlsearch_path_spec
=/usr
/lib
11202 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11207 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11208 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11209 shlibpath_var
=LD_LIBRARY_PATH
11210 shlibpath_overrides_runpath
=yes
11214 libname_spec
='$name'
11215 version_type
=windows
11219 # OS/2 can only load a DLL with a base name of 8 characters or less.
11220 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11221 v=$($ECHO $release$versuffix | tr -d .-);
11222 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11223 $ECHO $n$v`$shared_ext'
11224 library_names_spec
='${libname}_dll.$libext'
11225 dynamic_linker
='OS/2 ld.exe'
11226 shlibpath_var
=BEGINLIBPATH
11227 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11228 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11229 postinstall_cmds
='base_file=`basename \$file`~
11230 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11231 dldir=$destdir/`dirname \$dlpath`~
11232 test -d \$dldir || mkdir -p \$dldir~
11233 $install_prog $dir/$dlname \$dldir/$dlname~
11234 chmod a+x \$dldir/$dlname~
11235 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11236 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11238 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11239 dlpath=$dir/\$dldll~
11243 osf3
* | osf4
* | osf5
*)
11247 soname_spec
='$libname$release$shared_ext$major'
11248 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11249 shlibpath_var
=LD_LIBRARY_PATH
11250 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11251 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11259 version_type
=linux
# correct to gnu/linux during the next big refactor
11262 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11263 soname_spec
='$libname$release$shared_ext$major'
11264 shlibpath_var
=LD_LIBRARY_PATH
11265 shlibpath_overrides_runpath
=yes
11266 hardcode_into_libs
=yes
11267 # ldd complains unless libraries are executable
11268 postinstall_cmds
='chmod +x $lib'
11273 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11274 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11275 shlibpath_var
=LD_LIBRARY_PATH
11276 shlibpath_overrides_runpath
=yes
11277 if test yes = "$with_gnu_ld"; then
11284 version_type
=linux
# correct to gnu/linux during the next big refactor
11285 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11286 soname_spec
='$libname$release$shared_ext$major'
11287 shlibpath_var
=LD_LIBRARY_PATH
11288 case $host_vendor in
11290 shlibpath_overrides_runpath
=no
11292 runpath_var
=LD_RUN_PATH
11300 shlibpath_overrides_runpath
=no
11301 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11307 if test -d /usr
/nec
; then
11308 version_type
=linux
# correct to gnu/linux during the next big refactor
11309 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11310 soname_spec
='$libname$shared_ext.$major'
11311 shlibpath_var
=LD_LIBRARY_PATH
11315 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11319 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11320 soname_spec
='$libname$release$shared_ext$major'
11321 shlibpath_var
=LD_LIBRARY_PATH
11322 shlibpath_overrides_runpath
=yes
11323 hardcode_into_libs
=yes
11324 if test yes = "$with_gnu_ld"; then
11325 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11327 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11330 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11334 sys_lib_dlsearch_path_spec
='/usr/lib'
11338 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11339 version_type
=linux
# correct to gnu/linux during the next big refactor
11342 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11343 shlibpath_var
=LD_LIBRARY_PATH
11344 shlibpath_overrides_runpath
=no
11345 hardcode_into_libs
=yes
11349 version_type
=linux
# correct to gnu/linux during the next big refactor
11350 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11351 soname_spec
='$libname$release$shared_ext$major'
11352 shlibpath_var
=LD_LIBRARY_PATH
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11360 $as_echo "$dynamic_linker" >&6; }
11361 test no
= "$dynamic_linker" && can_build_shared
=no
11363 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11364 if test yes = "$GCC"; then
11365 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11368 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11369 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11372 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11373 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11376 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11377 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11379 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11380 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11382 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11383 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11482 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11484 if test -n "$hardcode_libdir_flag_spec" ||
11485 test -n "$runpath_var" ||
11486 test yes = "$hardcode_automatic"; then
11488 # We can hardcode non-existent directories.
11489 if test no
!= "$hardcode_direct" &&
11490 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11491 # have to relink, otherwise we might link with an installed library
11492 # when we should be linking with a yet-to-be-installed one
11493 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11494 test no
!= "$hardcode_minus_L"; then
11495 # Linking always hardcodes the temporary library directory.
11496 hardcode_action
=relink
11498 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11499 hardcode_action
=immediate
11502 # We cannot hardcode anything, or else we can only hardcode existing
11504 hardcode_action
=unsupported
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11507 $as_echo "$hardcode_action" >&6; }
11509 if test relink
= "$hardcode_action" ||
11510 test yes = "$inherit_rpath"; then
11511 # Fast installation is not supported
11512 enable_fast_install
=no
11513 elif test yes = "$shlibpath_overrides_runpath" ||
11514 test no
= "$enable_shared"; then
11515 # Fast installation is not necessary
11516 enable_fast_install
=needless
11524 if test yes != "$enable_dlopen"; then
11525 enable_dlopen
=unknown
11526 enable_dlopen_self
=unknown
11527 enable_dlopen_self_static
=unknown
11534 lt_cv_dlopen
=load_add_on
11536 lt_cv_dlopen_self
=yes
11539 mingw
* | pw32
* | cegcc
*)
11540 lt_cv_dlopen
=LoadLibrary
11545 lt_cv_dlopen
=dlopen
11550 # if libdl is installed we need to link against it
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11552 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11553 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11554 $as_echo_n "(cached) " >&6
11556 ac_check_lib_save_LIBS
=$LIBS
11558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11576 if ac_fn_c_try_link
"$LINENO"; then :
11577 ac_cv_lib_dl_dlopen
=yes
11579 ac_cv_lib_dl_dlopen
=no
11581 rm -f core conftest.err conftest.
$ac_objext \
11582 conftest
$ac_exeext conftest.
$ac_ext
11583 LIBS
=$ac_check_lib_save_LIBS
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11586 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11587 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11588 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11593 lt_cv_dlopen_self
=yes
11600 # Don't try to run any link tests for TPF. We know it's impossible
11601 # because TPF is a cross-compiler, and we know how we open DSOs.
11602 lt_cv_dlopen
=dlopen
11604 lt_cv_dlopen_self
=no
11608 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11609 if test "x$ac_cv_func_shl_load" = xyes
; then :
11610 lt_cv_dlopen
=shl_load
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11613 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11614 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11615 $as_echo_n "(cached) " >&6
11617 ac_check_lib_save_LIBS
=$LIBS
11619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11632 return shl_load ();
11637 if ac_fn_c_try_link
"$LINENO"; then :
11638 ac_cv_lib_dld_shl_load
=yes
11640 ac_cv_lib_dld_shl_load
=no
11642 rm -f core conftest.err conftest.
$ac_objext \
11643 conftest
$ac_exeext conftest.
$ac_ext
11644 LIBS
=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11647 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11648 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11649 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11651 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11652 if test "x$ac_cv_func_dlopen" = xyes
; then :
11653 lt_cv_dlopen
=dlopen
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11656 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11657 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11658 $as_echo_n "(cached) " >&6
11660 ac_check_lib_save_LIBS
=$LIBS
11662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11665 /* Override any GCC internal prototype to avoid an error.
11666 Use char because int might match the return type of a GCC
11667 builtin and then its argument prototype would still apply. */
11680 if ac_fn_c_try_link
"$LINENO"; then :
11681 ac_cv_lib_dl_dlopen
=yes
11683 ac_cv_lib_dl_dlopen
=no
11685 rm -f core conftest.err conftest.
$ac_objext \
11686 conftest
$ac_exeext conftest.
$ac_ext
11687 LIBS
=$ac_check_lib_save_LIBS
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11690 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11691 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11692 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11695 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11696 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11697 $as_echo_n "(cached) " >&6
11699 ac_check_lib_save_LIBS
=$LIBS
11700 LIBS
="-lsvld $LIBS"
11701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11704 /* Override any GCC internal prototype to avoid an error.
11705 Use char because int might match the return type of a GCC
11706 builtin and then its argument prototype would still apply. */
11719 if ac_fn_c_try_link
"$LINENO"; then :
11720 ac_cv_lib_svld_dlopen
=yes
11722 ac_cv_lib_svld_dlopen
=no
11724 rm -f core conftest.err conftest.
$ac_objext \
11725 conftest
$ac_exeext conftest.
$ac_ext
11726 LIBS
=$ac_check_lib_save_LIBS
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11729 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11730 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11731 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11734 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11735 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11736 $as_echo_n "(cached) " >&6
11738 ac_check_lib_save_LIBS
=$LIBS
11740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11743 /* Override any GCC internal prototype to avoid an error.
11744 Use char because int might match the return type of a GCC
11745 builtin and then its argument prototype would still apply. */
11753 return dld_link ();
11758 if ac_fn_c_try_link
"$LINENO"; then :
11759 ac_cv_lib_dld_dld_link
=yes
11761 ac_cv_lib_dld_dld_link
=no
11763 rm -f core conftest.err conftest.
$ac_objext \
11764 conftest
$ac_exeext conftest.
$ac_ext
11765 LIBS
=$ac_check_lib_save_LIBS
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11768 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11769 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11770 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11791 if test no
= "$lt_cv_dlopen"; then
11797 case $lt_cv_dlopen in
11799 save_CPPFLAGS
=$CPPFLAGS
11800 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11802 save_LDFLAGS
=$LDFLAGS
11803 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11806 LIBS
="$lt_cv_dlopen_libs $LIBS"
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11809 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11810 if ${lt_cv_dlopen_self+:} false
; then :
11811 $as_echo_n "(cached) " >&6
11813 if test yes = "$cross_compiling"; then :
11814 lt_cv_dlopen_self
=cross
11816 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11817 lt_status
=$lt_dlunknown
11818 cat > conftest.
$ac_ext <<_LT_EOF
11819 #line $LINENO "configure"
11820 #include "confdefs.h"
11829 # define LT_DLGLOBAL RTLD_GLOBAL
11832 # define LT_DLGLOBAL DL_GLOBAL
11834 # define LT_DLGLOBAL 0
11838 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11839 find out it does not work in some platform. */
11840 #ifndef LT_DLLAZY_OR_NOW
11842 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11845 # define LT_DLLAZY_OR_NOW DL_LAZY
11848 # define LT_DLLAZY_OR_NOW RTLD_NOW
11851 # define LT_DLLAZY_OR_NOW DL_NOW
11853 # define LT_DLLAZY_OR_NOW 0
11860 /* When -fvisibility=hidden is used, assume the code has been annotated
11861 correspondingly for the symbols needed. */
11862 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11863 int fnord () __attribute__((visibility("default")));
11866 int fnord () { return 42; }
11869 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11870 int status = $lt_dlunknown;
11874 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11877 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11878 else puts (dlerror ());
11880 /* dlclose (self); */
11888 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11889 (eval $ac_link) 2>&5
11891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11892 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11893 (.
/conftest
; exit; ) >&5 2>/dev
/null
11895 case x
$lt_status in
11896 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11897 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11898 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11901 # compilation failed
11902 lt_cv_dlopen_self
=no
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11910 $as_echo "$lt_cv_dlopen_self" >&6; }
11912 if test yes = "$lt_cv_dlopen_self"; then
11913 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11915 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11916 if ${lt_cv_dlopen_self_static+:} false
; then :
11917 $as_echo_n "(cached) " >&6
11919 if test yes = "$cross_compiling"; then :
11920 lt_cv_dlopen_self_static
=cross
11922 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11923 lt_status
=$lt_dlunknown
11924 cat > conftest.
$ac_ext <<_LT_EOF
11925 #line $LINENO "configure"
11926 #include "confdefs.h"
11935 # define LT_DLGLOBAL RTLD_GLOBAL
11938 # define LT_DLGLOBAL DL_GLOBAL
11940 # define LT_DLGLOBAL 0
11944 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11945 find out it does not work in some platform. */
11946 #ifndef LT_DLLAZY_OR_NOW
11948 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11951 # define LT_DLLAZY_OR_NOW DL_LAZY
11954 # define LT_DLLAZY_OR_NOW RTLD_NOW
11957 # define LT_DLLAZY_OR_NOW DL_NOW
11959 # define LT_DLLAZY_OR_NOW 0
11966 /* When -fvisibility=hidden is used, assume the code has been annotated
11967 correspondingly for the symbols needed. */
11968 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11969 int fnord () __attribute__((visibility("default")));
11972 int fnord () { return 42; }
11975 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11976 int status = $lt_dlunknown;
11980 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11983 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11984 else puts (dlerror ());
11986 /* dlclose (self); */
11994 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11995 (eval $ac_link) 2>&5
11997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11998 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11999 (.
/conftest
; exit; ) >&5 2>/dev
/null
12001 case x
$lt_status in
12002 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12003 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12004 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12007 # compilation failed
12008 lt_cv_dlopen_self_static
=no
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12016 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12019 CPPFLAGS
=$save_CPPFLAGS
12020 LDFLAGS
=$save_LDFLAGS
12025 case $lt_cv_dlopen_self in
12026 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12027 *) enable_dlopen_self
=unknown
;;
12030 case $lt_cv_dlopen_self_static in
12031 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12032 *) enable_dlopen_self_static
=unknown
;;
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12055 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12056 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12057 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12058 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12060 $as_echo "yes" >&6; }
12062 # FIXME - insert some real tests, host_os isn't really good enough
12065 if test -n "$STRIP"; then
12066 striplib
="$STRIP -x"
12067 old_striplib
="$STRIP -S"
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12069 $as_echo "yes" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12072 $as_echo "no" >&6; }
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12077 $as_echo "no" >&6; }
12093 # Report what library types will actually be built
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12095 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12097 $as_echo "$can_build_shared" >&6; }
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12100 $as_echo_n "checking whether to build shared libraries... " >&6; }
12101 test no
= "$can_build_shared" && enable_shared
=no
12103 # On AIX, shared libraries and static libraries use the same namespace, and
12104 # are all built from PIC.
12107 test yes = "$enable_shared" && enable_static
=no
12108 if test -n "$RANLIB"; then
12109 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12110 postinstall_cmds
='$RANLIB $lib'
12115 if test ia64
!= "$host_cpu"; then
12116 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12117 yes,aix
,yes) ;; # shared object as lib.so file only
12118 yes,svr4
,*) ;; # shared object as lib.so archive member only
12119 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12125 $as_echo "$enable_shared" >&6; }
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12128 $as_echo_n "checking whether to build static libraries... " >&6; }
12129 # Make sure either enable_shared or enable_static is yes.
12130 test yes = "$enable_shared" || enable_static
=yes
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12132 $as_echo "$enable_static" >&6; }
12139 ac_cpp
='$CPP $CPPFLAGS'
12140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12160 ac_config_commands
="$ac_config_commands libtool"
12165 # Only expand once:
12169 if test "$GCC" = yes
12171 CFLAGS
="-Wall $CFLAGS"
12174 CFLAGS
="$CFLAGS -I$srcdir/.. -I.."
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12178 $as_echo_n "checking for ANSI C header files... " >&6; }
12179 if ${ac_cv_header_stdc+:} false
; then :
12180 $as_echo_n "(cached) " >&6
12182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12183 /* end confdefs.h. */
12184 #include <stdlib.h>
12185 #include <stdarg.h>
12186 #include <string.h>
12197 if ac_fn_c_try_compile
"$LINENO"; then :
12198 ac_cv_header_stdc
=yes
12200 ac_cv_header_stdc
=no
12202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12204 if test $ac_cv_header_stdc = yes; then
12205 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12208 #include <string.h>
12211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12212 $EGREP "memchr" >/dev
/null
2>&1; then :
12215 ac_cv_header_stdc
=no
12221 if test $ac_cv_header_stdc = yes; then
12222 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12225 #include <stdlib.h>
12228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12229 $EGREP "free" >/dev
/null
2>&1; then :
12232 ac_cv_header_stdc
=no
12238 if test $ac_cv_header_stdc = yes; then
12239 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12240 if test "$cross_compiling" = yes; then :
12243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 #include <stdlib.h>
12247 #if ((' ' & 0x0FF) == 0x020)
12248 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12249 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12251 # define ISLOWER(c) \
12252 (('a' <= (c) && (c) <= 'i') \
12253 || ('j' <= (c) && (c) <= 'r') \
12254 || ('s' <= (c) && (c) <= 'z'))
12255 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12258 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12263 for (i = 0; i < 256; i++)
12264 if (XOR (islower (i), ISLOWER (i))
12265 || toupper (i) != TOUPPER (i))
12270 if ac_fn_c_try_run
"$LINENO"; then :
12273 ac_cv_header_stdc
=no
12275 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12276 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12282 $as_echo "$ac_cv_header_stdc" >&6; }
12283 if test $ac_cv_header_stdc = yes; then
12285 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12290 for ac_header
in sys
/types.h
12292 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
12293 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
12294 cat >>confdefs.h
<<_ACEOF
12295 #define HAVE_SYS_TYPES_H 1
12305 # Check whether --with-int32 was given.
12306 if test "${with_int32+set}" = set; then :
12307 withval
=$with_int32; int32
="$withval"
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint32_t" >&5
12312 $as_echo_n "checking for uint32_t... " >&6; }
12314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12317 #if HAVE_SYS_TYPES_H
12318 #include <sys/types.h>
12331 if ac_fn_c_try_compile
"$LINENO"; then :
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12333 $as_echo "yes" >&6; } ; int32
="uint32_t"
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12338 $as_echo "no" >&6; }
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int_32_t" >&5
12340 $as_echo_n "checking for u_int_32_t... " >&6; }
12342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h. */
12345 #if HAVE_SYS_TYPES_H
12346 #include <sys/types.h>
12359 if ac_fn_c_try_compile
"$LINENO"; then :
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12361 $as_echo "yes" >&6; }; int32
="u_int32_t"
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12366 $as_echo "no" >&6; }
12368 # The cast to long int works around a bug in the HP C Compiler
12369 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12370 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12371 # This bug is HP SR number 8606223364.
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned" >&5
12373 $as_echo_n "checking size of unsigned... " >&6; }
12374 if ${ac_cv_sizeof_unsigned+:} false
; then :
12375 $as_echo_n "(cached) " >&6
12377 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned))" "ac_cv_sizeof_unsigned" "$ac_includes_default"; then :
12380 if test "$ac_cv_type_unsigned" = yes; then
12381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12383 as_fn_error
77 "cannot compute sizeof (unsigned)
12384 See \`config.log' for more details" "$LINENO" 5; }
12386 ac_cv_sizeof_unsigned
=0
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned" >&5
12392 $as_echo "$ac_cv_sizeof_unsigned" >&6; }
12396 cat >>confdefs.h
<<_ACEOF
12397 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
12401 if test "$ac_cv_sizeof_unsigned" != 4
12403 # The cast to long int works around a bug in the HP C Compiler
12404 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12405 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12406 # This bug is HP SR number 8606223364.
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
12408 $as_echo_n "checking size of unsigned long... " >&6; }
12409 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
12410 $as_echo_n "(cached) " >&6
12412 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
12415 if test "$ac_cv_type_unsigned_long" = yes; then
12416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12418 as_fn_error
77 "cannot compute sizeof (unsigned long)
12419 See \`config.log' for more details" "$LINENO" 5; }
12421 ac_cv_sizeof_unsigned_long
=0
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
12427 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
12431 cat >>confdefs.h
<<_ACEOF
12432 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
12436 if test "$ac_cv_sizeof_unsigned_long" != 4
12438 # The cast to long int works around a bug in the HP C Compiler
12439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12441 # This bug is HP SR number 8606223364.
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
12443 $as_echo_n "checking size of unsigned short... " >&6; }
12444 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
12445 $as_echo_n "(cached) " >&6
12447 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
12450 if test "$ac_cv_type_unsigned_short" = yes; then
12451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12453 as_fn_error
77 "cannot compute sizeof (unsigned short)
12454 See \`config.log' for more details" "$LINENO" 5; }
12456 ac_cv_sizeof_unsigned_short
=0
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
12462 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
12466 cat >>confdefs.h
<<_ACEOF
12467 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
12471 if test "$ac_cv_sizeof_unsigned_short" != 4
12473 as_fn_error $?
"--with-int32 option is required" "$LINENO" 5
12475 int32
="unsigned short"
12477 int32
="unsigned long"
12483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12494 cat >>confdefs.h
<<_ACEOF
12495 #define MD5_WORD $UINT32
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12500 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12501 if ${ac_cv_c_const+:} false
; then :
12502 $as_echo_n "(cached) " >&6
12504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12511 #ifndef __cplusplus
12512 /* Ultrix mips cc rejects this sort of thing. */
12513 typedef int charset[2];
12514 const charset cs = { 0, 0 };
12515 /* SunOS 4.1.1 cc rejects this. */
12516 char const *const *pcpcc;
12518 /* NEC SVR4.0.2 mips cc rejects this. */
12519 struct point {int x, y;};
12520 static struct point const zero = {0,0};
12521 /* AIX XL C 1.02.0.0 rejects this.
12522 It does not let you subtract one const X* pointer from another in
12523 an arm of an if-expression whose if-part is not a constant
12525 const char *g = "string";
12526 pcpcc = &g + (g ? g-g : 0);
12527 /* HPUX 7.0 cc rejects these. */
12529 ppc = (char**) pcpcc;
12530 pcpcc = (char const *const *) ppc;
12531 { /* SCO 3.2v4 cc rejects this sort of thing. */
12534 char const *s = 0 ? (char *) 0 : (char const *) 0;
12539 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12540 int x[] = {25, 17};
12541 const int *foo = &x[0];
12544 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12545 typedef const int *iptr;
12549 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12550 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12551 struct s { int j; const int *ap[3]; } bx;
12552 struct s *b = &bx; b->j = 5;
12554 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12555 const int foo = 10;
12556 if (!foo) return 0;
12558 return !cs[0] && !zero.x;
12565 if ac_fn_c_try_compile
"$LINENO"; then :
12570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12573 $as_echo "$ac_cv_c_const" >&6; }
12574 if test $ac_cv_c_const = no
; then
12576 $as_echo "#define const /**/" >>confdefs.h
12580 # Check whether --enable-largefile was given.
12581 if test "${enable_largefile+set}" = set; then :
12582 enableval
=$enable_largefile;
12585 if test "$enable_largefile" != no
; then
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12588 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12589 if ${ac_cv_sys_largefile_CC+:} false
; then :
12590 $as_echo_n "(cached) " >&6
12592 ac_cv_sys_largefile_CC
=no
12593 if test "$GCC" != yes; then
12596 # IRIX 6.2 and later do not support large files by default,
12597 # so use the C compiler's -n32 option if that helps.
12598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12600 #include <sys/types.h>
12601 /* Check that off_t can represent 2**63 - 1 correctly.
12602 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12603 since some C++ compilers masquerading as C compilers
12604 incorrectly reject 9223372036854775807. */
12605 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12606 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12607 && LARGE_OFF_T % 2147483647 == 1)
12617 if ac_fn_c_try_compile
"$LINENO"; then :
12620 rm -f core conftest.err conftest.
$ac_objext
12622 if ac_fn_c_try_compile
"$LINENO"; then :
12623 ac_cv_sys_largefile_CC
=' -n32'; break
12625 rm -f core conftest.err conftest.
$ac_objext
12629 rm -f conftest.
$ac_ext
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12633 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12634 if test "$ac_cv_sys_largefile_CC" != no
; then
12635 CC
=$CC$ac_cv_sys_largefile_CC
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12639 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12640 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12641 $as_echo_n "(cached) " >&6
12644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12645 /* end confdefs.h. */
12646 #include <sys/types.h>
12647 /* Check that off_t can represent 2**63 - 1 correctly.
12648 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12649 since some C++ compilers masquerading as C compilers
12650 incorrectly reject 9223372036854775807. */
12651 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12652 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12653 && LARGE_OFF_T % 2147483647 == 1)
12663 if ac_fn_c_try_compile
"$LINENO"; then :
12664 ac_cv_sys_file_offset_bits
=no
; break
12666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12669 #define _FILE_OFFSET_BITS 64
12670 #include <sys/types.h>
12671 /* Check that off_t can represent 2**63 - 1 correctly.
12672 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12673 since some C++ compilers masquerading as C compilers
12674 incorrectly reject 9223372036854775807. */
12675 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12676 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12677 && LARGE_OFF_T % 2147483647 == 1)
12687 if ac_fn_c_try_compile
"$LINENO"; then :
12688 ac_cv_sys_file_offset_bits
=64; break
12690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12691 ac_cv_sys_file_offset_bits
=unknown
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12696 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12697 case $ac_cv_sys_file_offset_bits in #(
12700 cat >>confdefs.h
<<_ACEOF
12701 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12706 if test $ac_cv_sys_file_offset_bits = unknown
; then
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12708 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12709 if ${ac_cv_sys_large_files+:} false
; then :
12710 $as_echo_n "(cached) " >&6
12713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12715 #include <sys/types.h>
12716 /* Check that off_t can represent 2**63 - 1 correctly.
12717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12718 since some C++ compilers masquerading as C compilers
12719 incorrectly reject 9223372036854775807. */
12720 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12722 && LARGE_OFF_T % 2147483647 == 1)
12732 if ac_fn_c_try_compile
"$LINENO"; then :
12733 ac_cv_sys_large_files
=no
; break
12735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12738 #define _LARGE_FILES 1
12739 #include <sys/types.h>
12740 /* Check that off_t can represent 2**63 - 1 correctly.
12741 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12742 since some C++ compilers masquerading as C compilers
12743 incorrectly reject 9223372036854775807. */
12744 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12745 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12746 && LARGE_OFF_T % 2147483647 == 1)
12756 if ac_fn_c_try_compile
"$LINENO"; then :
12757 ac_cv_sys_large_files
=1; break
12759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12760 ac_cv_sys_large_files
=unknown
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12765 $as_echo "$ac_cv_sys_large_files" >&6; }
12766 case $ac_cv_sys_large_files in #(
12769 cat >>confdefs.h
<<_ACEOF
12770 #define _LARGE_FILES $ac_cv_sys_large_files
12782 ac_config_files
="$ac_config_files Makefile"
12784 cat >confcache
<<\_ACEOF
12785 # This file is a shell script that caches the results of configure
12786 # tests run on this system so they can be shared between configure
12787 # scripts and configure runs, see configure's option --config-cache.
12788 # It is not useful on other systems. If it contains results you don't
12789 # want to keep, you may remove or edit it.
12791 # config.status only pays attention to the cache file if you give it
12792 # the --recheck option to rerun configure.
12794 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12795 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12796 # following values.
12800 # The following way of writing the cache mishandles newlines in values,
12801 # but we know of no workaround that is simple, portable, and efficient.
12802 # So, we kill variables containing newlines.
12803 # Ultrix sh set writes to stderr and can't be redirected directly,
12804 # and sets the high bit in the cache file unless we assign to the vars.
12806 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12807 eval ac_val
=\$
$ac_var
12811 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12812 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12815 _ | IFS | as_nl
) ;; #(
12816 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12817 *) { eval $ac_var=; unset $ac_var;} ;;
12823 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12824 *${as_nl}ac_space
=\
*)
12825 # `set' does not quote correctly, so add quotes: double-quote
12826 # substitution turns \\\\ into \\, and sed turns \\ into \.
12829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12832 # `set' quotes correctly as required by POSIX, so do not add quotes.
12833 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12842 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12844 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12846 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12847 if test -w "$cache_file"; then
12848 if test "x$cache_file" != "x/dev/null"; then
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12850 $as_echo "$as_me: updating cache $cache_file" >&6;}
12851 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12852 cat confcache
>"$cache_file"
12854 case $cache_file in #(
12856 mv -f confcache
"$cache_file"$$
&&
12857 mv -f "$cache_file"$$
"$cache_file" ;; #(
12859 mv -f confcache
"$cache_file" ;;
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12865 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12870 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12871 # Let make expand exec_prefix.
12872 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12874 DEFS
=-DHAVE_CONFIG_H
12879 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12880 # 1. Remove the extension, and $U if already installed.
12881 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12882 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12883 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12884 # will be set to the directory where LIBOBJS objects are built.
12885 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12886 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12888 LIBOBJS
=$ac_libobjs
12890 LTLIBOBJS
=$ac_ltlibobjs
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12894 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12895 if test -n "$am_sleep_pid"; then
12896 # Hide warnings about reused PIDs.
12897 wait $am_sleep_pid 2>/dev
/null
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12900 $as_echo "done" >&6; }
12901 if test -n "$EXEEXT"; then
12903 am__EXEEXT_FALSE
='#'
12905 am__EXEEXT_TRUE
='#'
12909 if test -z "${HMACC_TRUE}" && test -z "${HMACC_FALSE}"; then
12910 as_fn_error $?
"conditional \"HMACC\" was never defined.
12911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12913 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12914 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12917 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12918 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12922 : "${CONFIG_STATUS=./config.status}"
12924 ac_clean_files_save
=$ac_clean_files
12925 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12927 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12929 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12931 # Generated by $as_me.
12932 # Run this file to recreate the current configuration.
12933 # Compiler output produced by configure, useful for debugging
12934 # configure, is in config.log if it exists.
12937 ac_cs_recheck=false
12940 SHELL=\${CONFIG_SHELL-$SHELL}
12943 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12944 ## -------------------- ##
12945 ## M4sh Initialization. ##
12946 ## -------------------- ##
12948 # Be more Bourne compatible
12949 DUALCASE
=1; export DUALCASE
# for MKS sh
12950 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12953 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12954 # is contrary to our usage. Disable this feature.
12955 alias -g '${1+"$@"}'='"$@"'
12956 setopt NO_GLOB_SUBST
12958 case `(set -o) 2>/dev/null` in #(
12970 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12971 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12972 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12973 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12974 # Prefer a ksh shell builtin over an external printf program on Solaris,
12975 # but without wasting forks for bash or zsh.
12976 if test -z "$BASH_VERSION$ZSH_VERSION" \
12977 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12978 as_echo='print
-r --'
12979 as_echo_n='print
-rn --'
12980 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12981 as_echo='printf %s
\n'
12982 as_echo_n='printf %s
'
12984 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12985 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12986 as_echo_n='/usr
/ucb
/echo -n'
12988 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12989 as_echo_n_body='eval
12993 expr "X$arg" : "X\\(.*\\)$as_nl";
12994 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12996 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12998 export as_echo_n_body
12999 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13001 export as_echo_body
13002 as_echo='sh
-c $as_echo_body as_echo
'
13005 # The user is always right.
13006 if test "${PATH_SEPARATOR+set}" != set; then
13008 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13009 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13016 # We need space, tab and new line, in precisely that order. Quoting is
13017 # there to prevent editors from complaining about space-tab.
13018 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13019 # splitting by setting IFS to empty value.)
13022 # Find who we are. Look in the path if we contain no directory separator.
13025 *[\\/]* ) as_myself=$0 ;;
13026 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13027 for as_dir in $PATH
13030 test -z "$as_dir" && as_dir=.
13031 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13037 # We did not find ourselves, most probably we were run as `sh COMMAND'
13038 # in which case we are not to be found in the path.
13039 if test "x$as_myself" = x
; then
13042 if test ! -f "$as_myself"; then
13043 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13047 # Unset variables that we do not need and which cause bugs (e.g. in
13048 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13049 # suppresses any "Segmentation fault" message there. '((' could
13050 # trigger a bug in pdksh 5.2.14.
13051 for as_var
in BASH_ENV ENV MAIL MAILPATH
13052 do eval test x\
${$as_var+set} = xset \
13053 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13066 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13069 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13070 # ----------------------------------------
13071 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13072 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13073 # script with STATUS, using 1 if that was 0.
13076 as_status
=$1; test $as_status -eq 0 && as_status
=1
13078 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13079 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13081 $as_echo "$as_me: error: $2" >&2
13082 as_fn_exit
$as_status
13086 # as_fn_set_status STATUS
13087 # -----------------------
13088 # Set $? to STATUS, without forking.
13089 as_fn_set_status
()
13092 } # as_fn_set_status
13094 # as_fn_exit STATUS
13095 # -----------------
13096 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13100 as_fn_set_status
$1
13106 # Portably unset VAR.
13109 { eval $1=; unset $1;}
13111 as_unset
=as_fn_unset
13112 # as_fn_append VAR VALUE
13113 # ----------------------
13114 # Append the text in VALUE to the end of the definition contained in VAR. Take
13115 # advantage of any shell optimizations that allow amortized linear growth over
13116 # repeated appends, instead of the typical quadratic growth present in naive
13118 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13119 eval 'as_fn_append ()
13130 # as_fn_arith ARG...
13131 # ------------------
13132 # Perform arithmetic evaluation on the ARGs, and store the result in the
13133 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13134 # must be portable across $(()) and expr.
13135 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13136 eval 'as_fn_arith ()
13143 as_val
=`expr "$@" || test $? -eq 1`
13148 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13149 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13155 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13156 as_basename
=basename
13161 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13167 as_me
=`$as_basename -- "$0" ||
13168 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13169 X"$0" : 'X\(//\)$' \| \
13170 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13172 sed '/^.*\/\([^/][^/]*\)\/*$/{
13186 # Avoid depending upon Character Ranges.
13187 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13188 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13189 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13190 as_cr_digits
='0123456789'
13191 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13193 ECHO_C
= ECHO_N
= ECHO_T
=
13194 case `echo -n x` in #(((((
13196 case `echo 'xy\c'` in
13197 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13199 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13206 rm -f conf$$ conf$$.exe conf$$.
file
13207 if test -d conf$$.dir
; then
13208 rm -f conf$$.dir
/conf$$.
file
13211 mkdir conf$$.dir
2>/dev
/null
13213 if (echo >conf$$.
file) 2>/dev
/null
; then
13214 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13216 # ... but there are two gotchas:
13217 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13218 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13219 # In both cases, we have to default to `cp -pR'.
13220 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13222 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13230 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13231 rmdir conf$$.dir
2>/dev
/null
13236 # Create "$as_dir" as a directory, including parents if necessary.
13241 -*) as_dir
=.
/$as_dir;;
13243 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13247 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13248 *) as_qdir
=$as_dir;;
13250 as_dirs
="'$as_qdir' $as_dirs"
13251 as_dir
=`$as_dirname -- "$as_dir" ||
13252 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13253 X"$as_dir" : 'X\(//\)[^/]' \| \
13254 X"$as_dir" : 'X\(//\)$' \| \
13255 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13256 $as_echo X"$as_dir" |
13257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13261 /^X\(\/\/\)[^/].*/{
13274 test -d "$as_dir" && break
13276 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13277 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13281 if mkdir
-p .
2>/dev
/null
; then
13282 as_mkdir_p
='mkdir -p "$as_dir"'
13284 test -d .
/-p && rmdir .
/-p
13289 # as_fn_executable_p FILE
13290 # -----------------------
13291 # Test if FILE is an executable regular file.
13292 as_fn_executable_p
()
13294 test -f "$1" && test -x "$1"
13295 } # as_fn_executable_p
13296 as_test_x
='test -x'
13297 as_executable_p
=as_fn_executable_p
13299 # Sed expression to map a string onto a valid CPP name.
13300 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13302 # Sed expression to map a string onto a valid variable name.
13303 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13307 ## ----------------------------------- ##
13308 ## Main body of $CONFIG_STATUS script. ##
13309 ## ----------------------------------- ##
13311 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13314 # Save the log message, to keep $0 and so on meaningful, and to
13315 # report actual input values of CONFIG_FILES etc. instead of their
13316 # values after options handling.
13318 This file was extended by libmd5 $as_me 1.21, which was
13319 generated by GNU Autoconf 2.69. Invocation command line was
13321 CONFIG_FILES = $CONFIG_FILES
13322 CONFIG_HEADERS = $CONFIG_HEADERS
13323 CONFIG_LINKS = $CONFIG_LINKS
13324 CONFIG_COMMANDS = $CONFIG_COMMANDS
13327 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13332 case $ac_config_files in *"
13333 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13336 case $ac_config_headers in *"
13337 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13342 # Files that config.status was made for.
13343 config_files="$ac_config_files"
13344 config_headers="$ac_config_headers"
13345 config_commands="$ac_config_commands"
13349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13351 \`$as_me' instantiates files and other configuration actions
13352 from templates according to the current configuration. Unless the files
13353 and actions are specified as TAGs, all are instantiated by default.
13355 Usage: $0 [OPTION]... [TAG]...
13357 -h, --help print this help, then exit
13358 -V, --version print version number and configuration settings, then exit
13359 --config print configuration, then exit
13360 -q, --quiet, --silent
13361 do not print progress messages
13362 -d, --debug don't remove temporary files
13363 --recheck update $as_me by reconfiguring in the same conditions
13364 --file=FILE[:TEMPLATE]
13365 instantiate the configuration file FILE
13366 --header=FILE[:TEMPLATE]
13367 instantiate the configuration header FILE
13369 Configuration files:
13372 Configuration headers:
13375 Configuration commands:
13378 Report bugs to <courier-users@lists.sourceforge.net>."
13381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13382 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13384 libmd5 config.status 1.21
13385 configured by $0, generated by GNU Autoconf 2.69,
13386 with options \\"\$ac_cs_config\\"
13388 Copyright (C) 2012 Free Software Foundation, Inc.
13389 This config.status script is free software; the Free Software Foundation
13390 gives unlimited permission to copy, distribute and modify it."
13397 test -n "\$AWK" || AWK=awk
13400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13401 # The default lists apply if the user does not specify any file.
13407 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13408 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13412 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13424 # Handling of the options.
13425 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13427 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13428 $as_echo "$ac_cs_version"; exit ;;
13429 --config |
--confi |
--conf |
--con |
--co |
--c )
13430 $as_echo "$ac_cs_config"; exit ;;
13431 --debug |
--debu |
--deb |
--de |
--d |
-d )
13433 --file |
--fil |
--fi |
--f )
13436 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13437 '') as_fn_error $?
"missing file argument" ;;
13439 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13440 ac_need_defaults
=false
;;
13441 --header |
--heade |
--head |
--hea )
13444 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13446 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13447 ac_need_defaults
=false
;;
13449 # Conflict between --help and --header
13450 as_fn_error $?
"ambiguous option: \`$1'
13451 Try \`$0 --help' for more information.";;
13452 --help |
--hel |
-h )
13453 $as_echo "$ac_cs_usage"; exit ;;
13454 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13455 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13458 # This is an error.
13459 -*) as_fn_error $?
"unrecognized option: \`$1'
13460 Try \`$0 --help' for more information." ;;
13462 *) as_fn_append ac_config_targets
" $1"
13463 ac_need_defaults
=false
;;
13469 ac_configure_extra_args
=
13471 if $ac_cs_silent; then
13473 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13478 if \$ac_cs_recheck; then
13479 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13481 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13482 CONFIG_SHELL='$SHELL'
13483 export CONFIG_SHELL
13488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13492 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13493 ## Running $as_me. ##
13499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13503 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13506 # The HP-UX ksh and POSIX shell print the target directory to stdout
13507 # if CDPATH is set.
13508 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13510 sed_quote_subst='$sed_quote_subst'
13511 double_quote_subst='$double_quote_subst'
13512 delay_variable_subst='$delay_variable_subst'
13513 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13514 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13515 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13516 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13517 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13518 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13519 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13520 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13521 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13522 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13523 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13524 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13525 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13526 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13527 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13528 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13529 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13530 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13531 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13532 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13533 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13534 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13535 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13536 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13537 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13538 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13539 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13540 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13541 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13542 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13543 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13544 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13545 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13546 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13547 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13548 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13549 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13550 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13551 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13552 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13553 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13554 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13555 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13556 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13557 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13558 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13559 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13560 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13561 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13562 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13563 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13564 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13565 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13566 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13567 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13568 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13569 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13570 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13571 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"`'
13572 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13573 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13574 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13575 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13576 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13577 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13578 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13579 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13580 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13581 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13582 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13583 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13584 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13585 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13586 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13587 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13588 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13589 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13590 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13591 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13592 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13593 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13594 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13595 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13596 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13597 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13598 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13599 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13600 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13601 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13602 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13603 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13604 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13605 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13606 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13607 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13608 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13609 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13610 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13611 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13612 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13613 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13614 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13615 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13616 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13617 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13618 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13619 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13620 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13621 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13622 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13623 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13624 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13625 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13626 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13627 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13628 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13629 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13630 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13631 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13632 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13633 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13634 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13635 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13636 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13637 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13638 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13639 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13640 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13641 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13642 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13643 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13644 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13645 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13646 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13647 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13650 LTCFLAGS='$LTCFLAGS'
13651 compiler='$compiler_DEFAULT'
13653 # A function that is used when there is no print builtin or printf.
13654 func_fallback_echo ()
13656 eval 'cat <<_LTECHO_EOF
13661 # Quote evaled strings.
13676 deplibs_check_method \
13681 sharedlib_from_linklib_cmd \
13684 archiver_list_spec \
13690 lt_cv_sys_global_symbol_pipe \
13691 lt_cv_sys_global_symbol_to_cdecl \
13692 lt_cv_sys_global_symbol_to_import \
13693 lt_cv_sys_global_symbol_to_c_name_address \
13694 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13695 lt_cv_nm_interface \
13696 nm_file_list_spec \
13697 lt_cv_truncate_bin \
13698 lt_prog_compiler_no_builtin_flag \
13699 lt_prog_compiler_pic \
13700 lt_prog_compiler_wl \
13701 lt_prog_compiler_static \
13702 lt_cv_prog_compiler_c_o \
13711 export_dynamic_flag_spec \
13712 whole_archive_flag_spec \
13713 compiler_needs_object \
13715 allow_undefined_flag \
13716 no_undefined_flag \
13717 hardcode_libdir_flag_spec \
13718 hardcode_libdir_separator \
13722 variables_saved_for_relink \
13724 library_names_spec \
13726 install_override_mode \
13730 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13731 *[\\\\\\\`\\"\\\$]*)
13732 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13735 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13740 # Double-quote double-evaled strings.
13741 for var in reload_cmds \
13742 old_postinstall_cmds \
13743 old_postuninstall_cmds \
13745 extract_expsyms_cmds \
13746 old_archive_from_new_cmds \
13747 old_archive_from_expsyms_cmds \
13749 archive_expsym_cmds \
13751 module_expsym_cmds \
13752 export_symbols_cmds \
13756 postuninstall_cmds \
13758 sys_lib_search_path_spec \
13759 configure_time_dlsearch_path \
13760 configure_time_lt_sys_library_path; do
13761 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13762 *[\\\\\\\`\\"\\\$]*)
13763 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13766 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13771 ac_aux_dir='$ac_aux_dir'
13773 # See if we are running on zsh, and set the options that allow our
13774 # commands through without removal of \ escapes INIT.
13775 if test -n "\${ZSH_VERSION+set}"; then
13776 setopt NO_GLOB_SUBST
13790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13792 # Handling of arguments.
13793 for ac_config_target
in $ac_config_targets
13795 case $ac_config_target in
13796 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13797 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13798 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13799 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13801 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13806 # If the user did not use the arguments to specify the items to instantiate,
13807 # then the envvar interface is used. Set only those that are not.
13808 # We use the long form for the default assignment because of an extremely
13809 # bizarre bug on SunOS 4.1.3.
13810 if $ac_need_defaults; then
13811 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13812 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13813 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13816 # Have a temporary directory for convenience. Make it in the build tree
13817 # simply because there is no reason against having it here, and in addition,
13818 # creating and moving files from /tmp can sometimes cause problems.
13819 # Hook for its removal unless debugging.
13820 # Note that there is a small window in which the directory will not be cleaned:
13821 # after its creation but before its name has been assigned to `$tmp'.
13825 trap 'exit_status=$?
13826 : "${ac_tmp:=$tmp}"
13827 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13829 trap 'as_fn_exit 1' 1 2 13 15
13831 # Create a (secure) tmp directory for tmp files.
13834 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13838 tmp
=.
/conf$$
-$RANDOM
13839 (umask 077 && mkdir
"$tmp")
13840 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13843 # Set up the scripts for CONFIG_FILES section.
13844 # No need to generate them if there are no CONFIG_FILES.
13845 # This happens for instance with `./config.status config.h'.
13846 if test -n "$CONFIG_FILES"; then
13849 ac_cr
=`echo X | tr X '\015'`
13850 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13851 # But we know of no other shell where ac_cr would be empty at this
13852 # point, so we can use a bashism as a fallback.
13853 if test "x$ac_cr" = x
; then
13854 eval ac_cr
=\$
\'\\r
\'
13856 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13857 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13860 ac_cs_awk_cr
=$ac_cr
13863 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13868 echo "cat >conf$$subs.awk <<_ACEOF" &&
13869 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13871 } >conf$$subs.sh ||
13872 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13873 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13875 for ac_last_try in false false false false false :; do
13876 . ./conf$$subs.sh ||
13877 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13879 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13880 if test $ac_delim_n = $ac_delim_num; then
13882 elif $ac_last_try; then
13883 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13885 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13888 rm -f conf$$subs.sh
13890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13891 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13895 s/^/S["/; s
/!.
*/"]=/
13905 s/\(.\{148\}\)..*/\1/
13907 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13912 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13919 s/\(.\{148\}\)..*/\1/
13921 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13925 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13930 ' <conf$$subs.awk | sed '
13935 ' >>$CONFIG_STATUS || ac_write_fail=1
13936 rm -f conf$$subs.awk
13937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13939 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13940 for (key in S) S_is_set[key] = 1
13946 nfields = split(line, field, "@
")
13948 len = length(field[1])
13949 for (i = 2; i < nfields; i++) {
13951 keylen = length(key)
13952 if (S_is_set[key]) {
13954 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13955 len += length(value) + length(field[++i])
13966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13967 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13968 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13971 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13972 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13975 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13976 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13977 # trailing colons and then remove the whole line if VPATH becomes empty
13978 # (actually we leave an empty line to preserve line numbers).
13979 if test "x
$srcdir" = x.; then
13980 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13999 fi # test -n "$CONFIG_FILES"
14001 # Set up the scripts for CONFIG_HEADERS section.
14002 # No need to generate them if there are no CONFIG_HEADERS.
14003 # This happens for instance with `./config.status Makefile'.
14004 if test -n "$CONFIG_HEADERS"; then
14005 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14009 # Transform confdefs.h into an awk script `defines.awk', embedded as
14010 # here-document in config.status, that substitutes the proper values into
14011 # config.h.in to produce config.h.
14013 # Create a delimiter string that does not exist in confdefs.h, to ease
14014 # handling of long lines.
14016 for ac_last_try in false false :; do
14017 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14018 if test -z "$ac_tt"; then
14020 elif $ac_last_try; then
14021 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14023 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14027 # For the awk script, D is an array of macro values keyed by name,
14028 # likewise P contains macro parameters if any. Preserve backslash
14029 # newline sequences.
14031 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14033 s/.\{148\}/&'"$ac_delim"'/g
14036 s/^[ ]*#[ ]*define[ ][ ]*/ /
14043 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14045 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14049 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14050 D["\
1"]=" \
3\\\\\\n
"\\/p
14052 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14057 s/.\{148\}/&'"$ac_delim"'/g
14062 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14065 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14067 ' <confdefs.h | sed '
14068 s/'"$ac_delim"'/"\\\
14069 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14072 for (key in D) D_is_set[key] = 1
14075 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14077 split(line, arg, " ")
14078 if (arg[1] == "#") {
14082 defundef
= substr
(arg
[1], 2)
14085 split(mac1
, mac2
, "(") #)
14087 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14088 if (D_is_set
[macro
]) {
14089 # Preserve the white space surrounding the "#".
14090 print prefix
"define", macro P
[macro
] D
[macro
]
14093 # Replace #undef with comments. This is necessary, for example,
14094 # in the case of _POSIX_SOURCE, which is predefined and required
14095 # on some systems where configure will not decide to define it.
14096 if (defundef
== "undef") {
14097 print
"/*", prefix defundef
, macro
, "*/"
14105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14106 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14107 fi # test -n "$CONFIG_HEADERS"
14110 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14115 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14117 case $ac_mode$ac_tag in
14119 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14120 :[FH
]-) ac_tag
=-:-;;
14121 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14138 -) ac_f
="$ac_tmp/stdin";;
14139 *) # Look for the file first in the build tree, then in the source tree
14140 # (if the path is not absolute). The absolute path cannot be DOS-style,
14141 # because $ac_f cannot contain `:'.
14145 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14147 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14149 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14150 as_fn_append ac_file_inputs
" '$ac_f'"
14153 # Let's still pretend it is `configure' which instantiates (i.e., don't
14154 # use $as_me), people would be surprised to read:
14155 # /* config.h. Generated by config.status. */
14156 configure_input
='Generated from '`
14157 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14159 if test x
"$ac_file" != x-
; then
14160 configure_input
="$ac_file. $configure_input"
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14162 $as_echo "$as_me: creating $ac_file" >&6;}
14164 # Neutralize special characters interpreted by sed in replacement strings.
14165 case $configure_input in #(
14166 *\
&* |
*\|
* |
*\\* )
14167 ac_sed_conf_input
=`$as_echo "$configure_input" |
14168 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14169 *) ac_sed_conf_input
=$configure_input;;
14173 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14174 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14179 ac_dir
=`$as_dirname -- "$ac_file" ||
14180 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14181 X"$ac_file" : 'X\(//\)[^/]' \| \
14182 X"$ac_file" : 'X\(//\)$' \| \
14183 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14184 $as_echo X"$ac_file" |
14185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14189 /^X\(\/\/\)[^/].*/{
14202 as_dir
="$ac_dir"; as_fn_mkdir_p
14206 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14208 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14209 # A ".." for each directory in $ac_dir_suffix.
14210 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14211 case $ac_top_builddir_sub in
14212 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14213 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14216 ac_abs_top_builddir
=$ac_pwd
14217 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14218 # for backward compatibility:
14219 ac_top_builddir
=$ac_top_build_prefix
14222 .
) # We are building in place.
14224 ac_top_srcdir
=$ac_top_builddir_sub
14225 ac_abs_top_srcdir
=$ac_pwd ;;
14226 [\\/]* | ?
:[\\/]* ) # Absolute name.
14227 ac_srcdir
=$srcdir$ac_dir_suffix;
14228 ac_top_srcdir
=$srcdir
14229 ac_abs_top_srcdir
=$srcdir ;;
14230 *) # Relative name.
14231 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14232 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14233 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14235 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14245 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14246 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14248 ac_MKDIR_P
=$MKDIR_P
14250 [\\/$
]* | ?
:[\\/]* ) ;;
14251 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14256 # If the template does not know about datarootdir, expand it.
14257 # FIXME: This hack should be removed a few years after 2.60.
14258 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14269 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14270 *datarootdir
*) ac_datarootdir_seen
=yes;;
14271 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14273 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14276 ac_datarootdir_hack='
14277 s&@datadir@&$datadir&g
14278 s&@docdir@&$docdir&g
14279 s&@infodir@&$infodir&g
14280 s&@localedir@&$localedir&g
14281 s&@mandir@&$mandir&g
14282 s&\\\${datarootdir}&$datarootdir&g' ;;
14286 # Neutralize VPATH when `$srcdir' = `.'.
14287 # Shell code in configure.ac might set extrasub.
14288 # FIXME: do we really want to maintain this feature?
14289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14290 ac_sed_extra="$ac_vpsub
14293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14295 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14296 s|@configure_input@|
$ac_sed_conf_input|
;t t
14297 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14298 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14299 s
&@srcdir@
&$ac_srcdir&;t t
14300 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14301 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14302 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14303 s
&@builddir@
&$ac_builddir&;t t
14304 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14305 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14306 s
&@INSTALL@
&$ac_INSTALL&;t t
14307 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14308 $ac_datarootdir_hack
14310 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14311 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14313 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14314 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14315 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14316 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14318 which seems to be undefined. Please make sure it is defined" >&5
14319 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14320 which seems to be undefined. Please make sure it is defined" >&2;}
14322 rm -f "$ac_tmp/stdin"
14324 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14325 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14327 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14333 if test x"$ac_file" != x-; then
14335 $as_echo "/* $configure_input */" \
14336 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14337 } >"$ac_tmp/config.h" \
14338 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14339 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14341 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14344 mv "$ac_tmp/config.h" "$ac_file" \
14345 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14348 $as_echo "/* $configure_input */" \
14349 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14350 || as_fn_error $? "could not create -" "$LINENO" 5
14352 # Compute "$ac_file"'s index
in $config_headers.
14355 for _am_header
in $config_headers :; do
14356 case $_am_header in
14357 $_am_arg |
$_am_arg:* )
14360 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14363 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14364 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14365 X"$_am_arg" : 'X\(//\)[^/]' \| \
14366 X"$_am_arg" : 'X\(//\)$' \| \
14367 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14368 $as_echo X"$_am_arg" |
14369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14373 /^X\(\/\/\)[^/].*/{
14385 s/.*/./; q'`/stamp-h
$_am_stamp_count
14388 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14389 $as_echo "$as_me: executing $ac_file commands" >&6;}
14394 case $ac_file$ac_mode in
14395 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14396 # Older Autoconf quotes --file arguments for eval, but not when files
14397 # are listed without --file. Let's play safe and only enable the eval
14398 # if we detect the quoting.
14399 case $CONFIG_FILES in
14400 *\'*) eval set x
"$CONFIG_FILES" ;;
14401 *) set x
$CONFIG_FILES ;;
14406 # Strip MF so we end up with the name of the file.
14407 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14408 # Check whether this is an Automake generated Makefile or not.
14409 # We used to match only the files named 'Makefile.in', but
14410 # some people rename them; so instead we look at the file content.
14411 # Grep'ing the first line is not enough: some people post-process
14412 # each Makefile.in and add a new line on top of each file to say so.
14413 # Grep'ing the whole file is not good either: AIX grep has a line
14414 # limit of 2048, but all sed's we know have understand at least 4000.
14415 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14416 dirpart
=`$as_dirname -- "$mf" ||
14417 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14418 X"$mf" : 'X\(//\)[^/]' \| \
14419 X"$mf" : 'X\(//\)$' \| \
14420 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14426 /^X\(\/\/\)[^/].*/{
14442 # Extract the definition of DEPDIR, am__include, and am__quote
14443 # from the Makefile without running 'make'.
14444 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14445 test -z "$DEPDIR" && continue
14446 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14447 test -z "$am__include" && continue
14448 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14449 # Find all dependency output files, they are included files with
14450 # $(DEPDIR) in their names. We invoke sed twice because it is the
14451 # simplest approach to changing $(DEPDIR) to its actual value in the
14453 for file in `sed -n "
14454 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14455 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14456 # Make sure the directory exists.
14457 test -f "$dirpart/$file" && continue
14458 fdir
=`$as_dirname -- "$file" ||
14459 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14460 X"$file" : 'X\(//\)[^/]' \| \
14461 X"$file" : 'X\(//\)$' \| \
14462 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14463 $as_echo X"$file" |
14464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14468 /^X\(\/\/\)[^/].*/{
14481 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14482 # echo "creating $dirpart/$file"
14483 echo '# dummy' > "$dirpart/$file"
14490 # See if we are running on zsh, and set the options that allow our
14491 # commands through without removal of \ escapes.
14492 if test -n "${ZSH_VERSION+set}"; then
14493 setopt NO_GLOB_SUBST
14497 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14500 cat <<_LT_EOF >> "$cfgfile"
14502 # Generated automatically by $as_me ($PACKAGE) $VERSION
14503 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14504 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14506 # Provide generalized library-building support services.
14507 # Written by Gordon Matzigkeit, 1996
14509 # Copyright (C) 2014 Free Software Foundation, Inc.
14510 # This is free software; see the source for copying conditions. There is NO
14511 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14513 # GNU Libtool is free software; you can redistribute it and/or modify
14514 # it under the terms of the GNU General Public License as published by
14515 # the Free Software Foundation; either version 2 of of the License, or
14516 # (at your option) any later version.
14518 # As a special exception to the GNU General Public License, if you
14519 # distribute this file as part of a program or library that is built
14520 # using GNU Libtool, you may include this file under the same
14521 # distribution terms that you use for the rest of that program.
14523 # GNU Libtool is distributed in the hope that it will be useful, but
14524 # WITHOUT ANY WARRANTY; without even the implied warranty of
14525 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14526 # GNU General Public License for more details.
14528 # You should have received a copy of the GNU General Public License
14529 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14532 # The names of the tagged configurations supported by this script.
14535 # Configured defaults for sys_lib_dlsearch_path munging.
14536 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14538 # ### BEGIN LIBTOOL CONFIG
14540 # Which release of libtool.m4 was used?
14541 macro_version=$macro_version
14542 macro_revision=$macro_revision
14544 # Whether or not to build shared libraries.
14545 build_libtool_libs=$enable_shared
14547 # Whether or not to build static libraries.
14548 build_old_libs=$enable_static
14550 # What type of objects to build.
14553 # Whether or not to optimize for fast installation.
14554 fast_install=$enable_fast_install
14556 # Shared archive member basename,for filename based shared library versioning on AIX.
14557 shared_archive_member_spec=$shared_archive_member_spec
14559 # Shell to use when invoking shell scripts.
14562 # An echo program that protects backslashes.
14565 # The PATH separator for the build system.
14566 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14569 host_alias=$host_alias
14573 # The build system.
14574 build_alias=$build_alias
14578 # A sed program that does not truncate output.
14581 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14582 Xsed="\$SED -e 1s/^X//"
14584 # A grep program that handles long lines.
14590 # A literal string matcher.
14593 # A BSD- or MS-compatible name lister.
14596 # Whether we need soft or hard links.
14599 # What is the maximum length of a command?
14600 max_cmd_len=$max_cmd_len
14602 # Object file suffix (normally "o").
14605 # Executable file suffix (normally "").
14608 # whether the shell understands "unset".
14611 # turn spaces into newlines.
14614 # turn newlines into spaces.
14617 # convert \$build file names to \$host format.
14618 to_host_file_cmd=$lt_cv_to_host_file_cmd
14620 # convert \$build files to toolchain format.
14621 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14623 # An object symbol dumper.
14624 OBJDUMP=$lt_OBJDUMP
14626 # Method to check whether dependent libraries are shared objects.
14627 deplibs_check_method=$lt_deplibs_check_method
14629 # Command to use when deplibs_check_method = "file_magic".
14630 file_magic_cmd=$lt_file_magic_cmd
14632 # How to find potential files when deplibs_check_method = "file_magic".
14633 file_magic_glob=$lt_file_magic_glob
14635 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14636 want_nocaseglob=$lt_want_nocaseglob
14638 # DLL creation program.
14639 DLLTOOL=$lt_DLLTOOL
14641 # Command to associate shared and link libraries.
14642 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14647 # Flags to create an archive.
14648 AR_FLAGS=$lt_AR_FLAGS
14650 # How to feed a file listing to the archiver.
14651 archiver_list_spec=$lt_archiver_list_spec
14653 # A symbol stripping program.
14656 # Commands used to install an old-style archive.
14658 old_postinstall_cmds=$lt_old_postinstall_cmds
14659 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14661 # Whether to use a lock for old archive extraction.
14662 lock_old_archive_extraction=$lock_old_archive_extraction
14667 # LTCC compiler flags.
14668 LTCFLAGS=$lt_CFLAGS
14670 # Take the output of nm and produce a listing of raw symbols and C names.
14671 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14673 # Transform the output of nm in a proper C declaration.
14674 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14676 # Transform the output of nm into a list of symbols to manually relocate.
14677 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14679 # Transform the output of nm in a C name address pair.
14680 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14682 # Transform the output of nm in a C name address pair when lib prefix is needed.
14683 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14685 # The name lister interface.
14686 nm_interface=$lt_lt_cv_nm_interface
14688 # Specify filename containing input files for \$NM.
14689 nm_file_list_spec=$lt_nm_file_list_spec
14691 # The root where to search for dependent libraries,and where our libraries should be installed.
14692 lt_sysroot=$lt_sysroot
14694 # Command to truncate a binary pipe.
14695 lt_truncate_bin=$lt_lt_cv_truncate_bin
14697 # The name of the directory that contains temporary libtool files.
14700 # Used to examine libraries when file_magic_cmd begins with "file".
14701 MAGIC_CMD=$MAGIC_CMD
14703 # Must we lock files when doing compilation?
14704 need_locks=$lt_need_locks
14707 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14709 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14710 DSYMUTIL=$lt_DSYMUTIL
14712 # Tool to change global to local symbols on Mac OS X.
14715 # Tool to manipulate fat objects and archives on Mac OS X.
14718 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14721 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14722 OTOOL64=$lt_OTOOL64
14724 # Old archive suffix (normally "a").
14727 # Shared library suffix (normally ".so").
14728 shrext_cmds=$lt_shrext_cmds
14730 # The commands to extract the exported symbol list from a shared archive.
14731 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14733 # Variables whose values should be saved in libtool wrapper scripts and
14734 # restored at link time.
14735 variables_saved_for_relink=$lt_variables_saved_for_relink
14737 # Do we need the "lib" prefix for modules?
14738 need_lib_prefix=$need_lib_prefix
14740 # Do we need a version for libraries?
14741 need_version=$need_version
14743 # Library versioning type.
14744 version_type=$version_type
14746 # Shared library runtime path variable.
14747 runpath_var=$runpath_var
14749 # Shared library path variable.
14750 shlibpath_var=$shlibpath_var
14752 # Is shlibpath searched before the hard-coded library search path?
14753 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14755 # Format of library name prefix.
14756 libname_spec=$lt_libname_spec
14758 # List of archive names. First name is the real one, the rest are links.
14759 # The last name is the one that the linker finds with -lNAME
14760 library_names_spec=$lt_library_names_spec
14762 # The coded name of the library, if different from the real name.
14763 soname_spec=$lt_soname_spec
14765 # Permission mode override for installation of shared libraries.
14766 install_override_mode=$lt_install_override_mode
14768 # Command to use after installation of a shared archive.
14769 postinstall_cmds=$lt_postinstall_cmds
14771 # Command to use after uninstallation of a shared archive.
14772 postuninstall_cmds=$lt_postuninstall_cmds
14774 # Commands used to finish a libtool library installation in a directory.
14775 finish_cmds=$lt_finish_cmds
14777 # As "finish_cmds", except a single script fragment to be evaled but
14779 finish_eval=$lt_finish_eval
14781 # Whether we should hardcode library paths into libraries.
14782 hardcode_into_libs=$hardcode_into_libs
14784 # Compile-time system search path for libraries.
14785 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14787 # Detected run-time system search path for libraries.
14788 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14790 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14791 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14793 # Whether dlopen is supported.
14794 dlopen_support=$enable_dlopen
14796 # Whether dlopen of programs is supported.
14797 dlopen_self=$enable_dlopen_self
14799 # Whether dlopen of statically linked programs is supported.
14800 dlopen_self_static=$enable_dlopen_self_static
14802 # Commands to strip libraries.
14803 old_striplib=$lt_old_striplib
14804 striplib=$lt_striplib
14807 # The linker used to build libraries.
14810 # How to create reloadable object files.
14811 reload_flag=$lt_reload_flag
14812 reload_cmds=$lt_reload_cmds
14814 # Commands used to build an old-style archive.
14815 old_archive_cmds=$lt_old_archive_cmds
14817 # A language specific compiler.
14820 # Is the compiler the GNU compiler?
14823 # Compiler flag to turn off builtin functions.
14824 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14826 # Additional compiler flags for building library objects.
14827 pic_flag=$lt_lt_prog_compiler_pic
14829 # How to pass a linker flag through the compiler.
14830 wl=$lt_lt_prog_compiler_wl
14832 # Compiler flag to prevent dynamic linking.
14833 link_static_flag=$lt_lt_prog_compiler_static
14835 # Does compiler simultaneously support -c and -o options?
14836 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14838 # Whether or not to add -lc for building shared libraries.
14839 build_libtool_need_lc=$archive_cmds_need_lc
14841 # Whether or not to disallow shared libs when runtime libs are static.
14842 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14844 # Compiler flag to allow reflexive dlopens.
14845 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14847 # Compiler flag to generate shared objects directly from archives.
14848 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14850 # Whether the compiler copes with passing no objects directly.
14851 compiler_needs_object=$lt_compiler_needs_object
14853 # Create an old-style archive from a shared archive.
14854 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14856 # Create a temporary old-style archive to link instead of a shared archive.
14857 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14859 # Commands used to build a shared archive.
14860 archive_cmds=$lt_archive_cmds
14861 archive_expsym_cmds=$lt_archive_expsym_cmds
14863 # Commands used to build a loadable module if different from building
14864 # a shared archive.
14865 module_cmds=$lt_module_cmds
14866 module_expsym_cmds=$lt_module_expsym_cmds
14868 # Whether we are building with GNU ld or not.
14869 with_gnu_ld=$lt_with_gnu_ld
14871 # Flag that allows shared libraries with undefined symbols to be built.
14872 allow_undefined_flag=$lt_allow_undefined_flag
14874 # Flag that enforces no undefined symbols.
14875 no_undefined_flag=$lt_no_undefined_flag
14877 # Flag to hardcode \$libdir into a binary during linking.
14878 # This must work even if \$libdir does not exist
14879 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14881 # Whether we need a single "-rpath" flag with a separated argument.
14882 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14884 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14885 # DIR into the resulting binary.
14886 hardcode_direct=$hardcode_direct
14888 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14889 # DIR into the resulting binary and the resulting library dependency is
14890 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
14891 # library is relocated.
14892 hardcode_direct_absolute=$hardcode_direct_absolute
14894 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14895 # into the resulting binary.
14896 hardcode_minus_L=$hardcode_minus_L
14898 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14899 # into the resulting binary.
14900 hardcode_shlibpath_var=$hardcode_shlibpath_var
14902 # Set to "yes" if building a shared library automatically hardcodes DIR
14903 # into the library and all subsequent libraries and executables linked
14905 hardcode_automatic=$hardcode_automatic
14907 # Set to yes if linker adds runtime paths of dependent libraries
14908 # to runtime path list.
14909 inherit_rpath=$inherit_rpath
14911 # Whether libtool must link a program against all its dependency libraries.
14912 link_all_deplibs=$link_all_deplibs
14914 # Set to "yes" if exported symbols are required.
14915 always_export_symbols=$always_export_symbols
14917 # The commands to list exported symbols.
14918 export_symbols_cmds=$lt_export_symbols_cmds
14920 # Symbols that should not be listed in the preloaded symbols.
14921 exclude_expsyms=$lt_exclude_expsyms
14923 # Symbols that must always be exported.
14924 include_expsyms=$lt_include_expsyms
14926 # Commands necessary for linking programs (against libraries) with templates.
14927 prelink_cmds=$lt_prelink_cmds
14929 # Commands necessary for finishing linking programs.
14930 postlink_cmds=$lt_postlink_cmds
14932 # Specify filename containing input files.
14933 file_list_spec=$lt_file_list_spec
14935 # How to hardcode a shared library path into an executable.
14936 hardcode_action=$hardcode_action
14938 # ### END LIBTOOL CONFIG
14942 cat <<'_LT_EOF' >> "$cfgfile"
14944 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14946 # func_munge_path_list VARIABLE PATH
14947 # -----------------------------------
14948 # VARIABLE is name of variable containing _space_ separated list of
14949 # directories to be munged by the contents of PATH, which is string
14952 # string "DIR[ DIR]" will be prepended to VARIABLE
14954 # string "DIR[ DIR]" will be appended to VARIABLE
14955 # "DIRP[:DIRP]::[DIRA:]DIRA"
14956 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14957 # "DIRA[ DIRA]" will be appended to VARIABLE
14959 # VARIABLE will be replaced by "DIR[ DIR]"
14960 func_munge_path_list ()
14966 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14969 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14972 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14973 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14976 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14982 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
14983 func_cc_basename ()
14985 for cc_temp in $*""; do
14987 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14988 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14993 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14997 # ### END FUNCTIONS SHARED WITH CONFIGURE
15003 cat <<\_LT_EOF
>> "$cfgfile"
15004 # AIX sometimes has problems with the GCC collect2 program. For some
15005 # reason, if we set the COLLECT_NAMES environment variable, the problems
15006 # vanish in a puff of smoke.
15007 if test set != "${COLLECT_NAMES+set}"; then
15009 export COLLECT_NAMES
15016 ltmain
=$ac_aux_dir/ltmain.sh
15019 # We use sed instead of cat because bash on DJGPP gets confused if
15020 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15021 # text mode, it properly converts lines to CR/LF. This bash problem
15022 # is reportedly fixed, but why not run on old versions too?
15023 sed '$q' "$ltmain" >> "$cfgfile" \
15024 ||
(rm -f "$cfgfile"; exit 1)
15026 mv -f "$cfgfile" "$ofile" ||
15027 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15038 ac_clean_files
=$ac_clean_files_save
15040 test $ac_write_fail = 0 ||
15041 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15044 # configure is writing to config.log, and then calls config.status.
15045 # config.status does its own redirection, appending to config.log.
15046 # Unfortunately, on DOS this fails, as config.log is still kept open
15047 # by configure, so config.status won't be able to write to it; its
15048 # output is simply discarded. So we exec the FD to /dev/null,
15049 # effectively closing config.log, so it can be properly (re)opened and
15050 # appended to by config.status. When coming back to configure, we
15051 # need to make the FD available again.
15052 if test "$no_create" != yes; then
15054 ac_config_status_args
=
15055 test "$silent" = yes &&
15056 ac_config_status_args
="$ac_config_status_args --quiet"
15058 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15060 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15061 # would make configure fail if this is the last instruction.
15062 $ac_cs_success || as_fn_exit
1
15064 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15066 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}