2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libsha1 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
='libsha1'
592 PACKAGE_TARNAME
='libsha1'
593 PACKAGE_VERSION
='1.21'
594 PACKAGE_STRING
='libsha1 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
771 ac_precious_vars
='build_alias
783 # Initialize some variables set by options.
785 ac_init_version
=false
786 ac_unrecognized_opts
=
788 # The variables have the same names as the options, with
789 # dashes changed to underlines.
797 program_transform_name
=s
,x
,x
,
805 # Installation directory options.
806 # These are left unexpanded so users can "make install exec_prefix=/foo"
807 # and all the variables that are supposed to be based on exec_prefix
808 # by default will actually change.
809 # Use braces instead of parens because sh, perl, etc. also accept them.
810 # (The list follows the same order as the GNU Coding Standards.)
811 bindir
='${exec_prefix}/bin'
812 sbindir
='${exec_prefix}/sbin'
813 libexecdir
='${exec_prefix}/libexec'
814 datarootdir
='${prefix}/share'
815 datadir
='${datarootdir}'
816 sysconfdir
='${prefix}/etc'
817 sharedstatedir
='${prefix}/com'
818 localstatedir
='${prefix}/var'
819 includedir
='${prefix}/include'
820 oldincludedir
='/usr/include'
821 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
822 infodir
='${datarootdir}/info'
827 libdir
='${exec_prefix}/lib'
828 localedir
='${datarootdir}/locale'
829 mandir
='${datarootdir}/man'
835 # If the previous option needs an argument, assign it.
836 if test -n "$ac_prev"; then
837 eval $ac_prev=\
$ac_option
843 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
848 # Accept the important Cygnus configure options, so we can diagnose typos.
850 case $ac_dashdash$ac_option in
854 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
856 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
859 -build |
--build |
--buil |
--bui |
--bu)
860 ac_prev
=build_alias
;;
861 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
862 build_alias
=$ac_optarg ;;
864 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
865 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
866 ac_prev
=cache_file
;;
867 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
868 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
869 cache_file
=$ac_optarg ;;
872 cache_file
=config.cache
;;
874 -datadir |
--datadir |
--datadi |
--datad)
876 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
877 datadir
=$ac_optarg ;;
879 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
880 |
--dataroo |
--dataro |
--datar)
881 ac_prev
=datarootdir
;;
882 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
883 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
884 datarootdir
=$ac_optarg ;;
886 -disable-* |
--disable-*)
887 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
888 # Reject names that are not valid shell variable names.
889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
890 as_fn_error $?
"invalid feature name: $ac_useropt"
891 ac_useropt_orig
=$ac_useropt
892 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893 case $ac_user_opts in
897 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
898 ac_unrecognized_sep
=', ';;
900 eval enable_
$ac_useropt=no
;;
902 -docdir |
--docdir |
--docdi |
--doc |
--do)
904 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
907 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
909 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
912 -enable-* |
--enable-*)
913 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
916 as_fn_error $?
"invalid feature name: $ac_useropt"
917 ac_useropt_orig
=$ac_useropt
918 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919 case $ac_user_opts in
923 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
924 ac_unrecognized_sep
=', ';;
926 eval enable_
$ac_useropt=\
$ac_optarg ;;
928 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
929 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
930 |
--exec |
--exe |
--ex)
931 ac_prev
=exec_prefix
;;
932 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
933 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
934 |
--exec=* |
--exe=* |
--ex=*)
935 exec_prefix
=$ac_optarg ;;
937 -gas |
--gas |
--ga |
--g)
938 # Obsolete; use --with-gas.
941 -help |
--help |
--hel |
--he |
-h)
943 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
944 ac_init_help
=recursive
;;
945 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
946 ac_init_help
=short
;;
948 -host |
--host |
--hos |
--ho)
949 ac_prev
=host_alias
;;
950 -host=* |
--host=* |
--hos=* |
--ho=*)
951 host_alias
=$ac_optarg ;;
953 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
955 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
957 htmldir
=$ac_optarg ;;
959 -includedir |
--includedir |
--includedi |
--included |
--include \
960 |
--includ |
--inclu |
--incl |
--inc)
961 ac_prev
=includedir
;;
962 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
963 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
964 includedir
=$ac_optarg ;;
966 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
968 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
969 infodir
=$ac_optarg ;;
971 -libdir |
--libdir |
--libdi |
--libd)
973 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
976 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
977 |
--libexe |
--libex |
--libe)
978 ac_prev
=libexecdir
;;
979 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
980 |
--libexe=* |
--libex=* |
--libe=*)
981 libexecdir
=$ac_optarg ;;
983 -localedir |
--localedir |
--localedi |
--localed |
--locale)
985 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
986 localedir
=$ac_optarg ;;
988 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
989 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
990 ac_prev
=localstatedir
;;
991 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
992 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
993 localstatedir
=$ac_optarg ;;
995 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
997 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 -nfp |
--nfp |
--nf)
1001 # Obsolete; use --without-fp.
1004 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1005 |
--no-cr |
--no-c |
-n)
1008 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1009 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1012 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1013 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1014 |
--oldin |
--oldi |
--old |
--ol |
--o)
1015 ac_prev
=oldincludedir
;;
1016 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1017 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1018 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1019 oldincludedir
=$ac_optarg ;;
1021 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1023 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1024 prefix
=$ac_optarg ;;
1026 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1027 |
--program-pre |
--program-pr |
--program-p)
1028 ac_prev
=program_prefix
;;
1029 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1030 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1031 program_prefix
=$ac_optarg ;;
1033 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1034 |
--program-suf |
--program-su |
--program-s)
1035 ac_prev
=program_suffix
;;
1036 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1037 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1038 program_suffix
=$ac_optarg ;;
1040 -program-transform-name |
--program-transform-name \
1041 |
--program-transform-nam |
--program-transform-na \
1042 |
--program-transform-n |
--program-transform- \
1043 |
--program-transform |
--program-transfor \
1044 |
--program-transfo |
--program-transf \
1045 |
--program-trans |
--program-tran \
1046 |
--progr-tra |
--program-tr |
--program-t)
1047 ac_prev
=program_transform_name
;;
1048 -program-transform-name=* |
--program-transform-name=* \
1049 |
--program-transform-nam=* |
--program-transform-na=* \
1050 |
--program-transform-n=* |
--program-transform-=* \
1051 |
--program-transform=* |
--program-transfor=* \
1052 |
--program-transfo=* |
--program-transf=* \
1053 |
--program-trans=* |
--program-tran=* \
1054 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1055 program_transform_name
=$ac_optarg ;;
1057 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1059 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1060 pdfdir
=$ac_optarg ;;
1062 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1064 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1067 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1068 |
-silent |
--silent |
--silen |
--sile |
--sil)
1071 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1073 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1075 sbindir
=$ac_optarg ;;
1077 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1078 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1079 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1081 ac_prev
=sharedstatedir
;;
1082 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1083 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1084 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1086 sharedstatedir
=$ac_optarg ;;
1088 -site |
--site |
--sit)
1090 -site=* |
--site=* |
--sit=*)
1093 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1095 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1096 srcdir
=$ac_optarg ;;
1098 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1099 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1100 ac_prev
=sysconfdir
;;
1101 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1102 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1103 sysconfdir
=$ac_optarg ;;
1105 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1106 ac_prev
=target_alias
;;
1107 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1108 target_alias
=$ac_optarg ;;
1110 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1113 -version |
--version |
--versio |
--versi |
--vers |
-V)
1114 ac_init_version
=: ;;
1117 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1120 as_fn_error $?
"invalid package name: $ac_useropt"
1121 ac_useropt_orig
=$ac_useropt
1122 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1128 ac_unrecognized_sep
=', ';;
1130 eval with_
$ac_useropt=\
$ac_optarg ;;
1132 -without-* |
--without-*)
1133 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1134 # Reject names that are not valid shell variable names.
1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1136 as_fn_error $?
"invalid package name: $ac_useropt"
1137 ac_useropt_orig
=$ac_useropt
1138 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1139 case $ac_user_opts in
1143 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1144 ac_unrecognized_sep
=', ';;
1146 eval with_
$ac_useropt=no
;;
1149 # Obsolete; use --with-x.
1152 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1153 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1154 ac_prev
=x_includes
;;
1155 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1156 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1157 x_includes
=$ac_optarg ;;
1159 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1160 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1161 ac_prev
=x_libraries
;;
1162 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1163 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1164 x_libraries
=$ac_optarg ;;
1166 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1167 Try \`$0 --help' for more information"
1171 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1172 # Reject names that are not valid shell variable names.
1173 case $ac_envvar in #(
1174 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1175 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1177 eval $ac_envvar=\
$ac_optarg
1178 export $ac_envvar ;;
1181 # FIXME: should be removed in autoconf 3.0.
1182 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1184 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1185 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1191 if test -n "$ac_prev"; then
1192 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1193 as_fn_error $?
"missing argument to $ac_option"
1196 if test -n "$ac_unrecognized_opts"; then
1197 case $enable_option_checking in
1199 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1200 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204 # Check all directory arguments for consistency.
1205 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1206 datadir sysconfdir sharedstatedir localstatedir includedir \
1207 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1208 libdir localedir mandir
1210 eval ac_val
=\$
$ac_var
1211 # Remove trailing slashes.
1214 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1215 eval $ac_var=\
$ac_val;;
1217 # Be sure to have absolute directory names.
1219 [\\/$
]* | ?
:[\\/]* ) continue;;
1220 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1222 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1225 # There might be people who depend on the old broken behavior: `$host'
1226 # used to hold the argument of --host etc.
1227 # FIXME: To remove some day.
1230 target
=$target_alias
1232 # FIXME: To remove some day.
1233 if test "x$host_alias" != x
; then
1234 if test "x$build_alias" = x
; then
1235 cross_compiling
=maybe
1236 elif test "x$build_alias" != "x$host_alias"; then
1242 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1244 test "$silent" = yes && exec 6>/dev
/null
1247 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1248 ac_ls_di
=`ls -di .` &&
1249 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1250 as_fn_error $?
"working directory cannot be determined"
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252 as_fn_error $?
"pwd does not report name of working directory"
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257 ac_srcdir_defaulted
=yes
1258 # Try the directory containing this script, then the parent directory.
1259 ac_confdir
=`$as_dirname -- "$as_myself" ||
1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261 X"$as_myself" : 'X\(//\)[^/]' \| \
1262 X"$as_myself" : 'X\(//\)$' \| \
1263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1264 $as_echo X"$as_myself" |
1265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1287 ac_srcdir_defaulted
=no
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1291 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1293 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1297 # When building in place, set srcdir=.
1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
1301 # Remove unnecessary trailing slashes from srcdir.
1302 # Double slashes in file names in object file debugging info
1303 # mess up M-x gdb in Emacs.
1305 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 for ac_var
in $ac_precious_vars; do
1308 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1309 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1310 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1311 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1315 # Report the --help message.
1317 if test "$ac_init_help" = "long"; then
1318 # Omit some internal or obsolete options to make the list less imposing.
1319 # This message is too long to be a string in the A/UX 3.1 sh.
1321 \`configure' configures libsha1 1.21 to adapt to many kinds of systems.
1323 Usage: $0 [OPTION]... [VAR=VALUE]...
1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1326 VAR=VALUE. See below for descriptions of some of the useful variables.
1328 Defaults for the options are specified in brackets.
1331 -h, --help display this help and exit
1332 --help=short display options specific to this package
1333 --help=recursive display the short help of all the included packages
1334 -V, --version display version information and exit
1335 -q, --quiet, --silent do not print \`checking ...' messages
1336 --cache-file=FILE cache test results in FILE [disabled]
1337 -C, --config-cache alias for \`--cache-file=config.cache'
1338 -n, --no-create do not create output files
1339 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1341 Installation directories:
1342 --prefix=PREFIX install architecture-independent files in PREFIX
1343 [$ac_default_prefix]
1344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1347 By default, \`make install' will install all the files in
1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1350 for instance \`--prefix=\$HOME'.
1352 For better control, use the options below.
1354 Fine tuning of the installation directories:
1355 --bindir=DIR user executables [EPREFIX/bin]
1356 --sbindir=DIR system admin executables [EPREFIX/sbin]
1357 --libexecdir=DIR program executables [EPREFIX/libexec]
1358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1360 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1361 --libdir=DIR object code libraries [EPREFIX/lib]
1362 --includedir=DIR C header files [PREFIX/include]
1363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1366 --infodir=DIR info documentation [DATAROOTDIR/info]
1367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1368 --mandir=DIR man documentation [DATAROOTDIR/man]
1369 --docdir=DIR documentation root [DATAROOTDIR/doc/libsha1]
1370 --htmldir=DIR html documentation [DOCDIR]
1371 --dvidir=DIR dvi documentation [DOCDIR]
1372 --pdfdir=DIR pdf documentation [DOCDIR]
1373 --psdir=DIR ps documentation [DOCDIR]
1379 --program-prefix=PREFIX prepend PREFIX to installed program names
1380 --program-suffix=SUFFIX append SUFFIX to installed program names
1381 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1384 --build=BUILD configure
for building on BUILD
[guessed
]
1385 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1389 if test -n "$ac_init_help"; then
1390 case $ac_init_help in
1391 short | recursive
) echo "Configuration of libsha1 1.21:";;
1396 --disable-option-checking ignore unrecognized
--enable/--with options
1397 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1398 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1399 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1400 --disable-silent-rules verbose build output
(undo
: "make V=0")
1401 --enable-dependency-tracking
1402 do not reject slow dependency extractors
1403 --disable-dependency-tracking
1404 speeds up one-time build
1405 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1406 --enable-static[=PKGS
] build static libraries
[default
=yes]
1407 --enable-fast-install[=PKGS
]
1408 optimize
for fast installation
[default
=yes]
1409 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1410 --disable-largefile omit support
for large files
1413 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1414 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1415 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1417 --with-aix-soname=aix|svr4|both
1418 shared library versioning
(aka
"SONAME") variant to
1419 provide on AIX
, [default
=aix
].
1420 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1421 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1422 compiler
's sysroot if not specified).
1423 --with-int32='type' use 'type' for an unsigned 32 bit integer type
1424 ( default is 'unsigned
')
1425 --with-int64='type' use 'type' for an unsigned 64 bit integer type
1426 ( default is 'unsigned
')
1428 Some influential environment variables:
1429 CC C compiler command
1430 CFLAGS C compiler flags
1431 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1432 nonstandard directory <lib dir>
1433 LIBS libraries to pass to the linker, e.g. -l<library>
1434 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1435 you have headers in a nonstandard directory <include dir>
1437 User-defined run-time library search path.
1440 Use these variables to override the choices made by `configure' or to
help
1441 it to
find libraries and programs with nonstandard names
/locations.
1443 Report bugs to
<courier-users@lists.sourceforge.net
>.
1448 if test "$ac_init_help" = "recursive"; then
1449 # If there are subdirs, report their specific --help.
1450 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1451 test -d "$ac_dir" ||
1452 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1457 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1459 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1460 # A ".." for each directory in $ac_dir_suffix.
1461 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1462 case $ac_top_builddir_sub in
1463 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1464 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1467 ac_abs_top_builddir
=$ac_pwd
1468 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1469 # for backward compatibility:
1470 ac_top_builddir
=$ac_top_build_prefix
1473 .
) # We are building in place.
1475 ac_top_srcdir
=$ac_top_builddir_sub
1476 ac_abs_top_srcdir
=$ac_pwd ;;
1477 [\\/]* | ?
:[\\/]* ) # Absolute name.
1478 ac_srcdir
=$srcdir$ac_dir_suffix;
1479 ac_top_srcdir
=$srcdir
1480 ac_abs_top_srcdir
=$srcdir ;;
1482 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1483 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1484 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1486 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1488 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1489 # Check for guested configure.
1490 if test -f "$ac_srcdir/configure.gnu"; then
1492 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1493 elif test -f "$ac_srcdir/configure"; then
1495 $SHELL "$ac_srcdir/configure" --help=recursive
1497 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1499 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1503 test -n "$ac_init_help" && exit $ac_status
1504 if $ac_init_version; then
1506 libsha1 configure
1.21
1507 generated by GNU Autoconf
2.69
1509 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1510 This configure
script is free software
; the Free Software Foundation
1511 gives unlimited permission to copy
, distribute and modify it.
1516 ## ------------------------ ##
1517 ## Autoconf initialization. ##
1518 ## ------------------------ ##
1520 # ac_fn_c_try_compile LINENO
1521 # --------------------------
1522 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1523 ac_fn_c_try_compile
()
1525 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1526 rm -f conftest.
$ac_objext
1527 if { { ac_try
="$ac_compile"
1529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1530 *) ac_try_echo=$ac_try;;
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_compile") 2>conftest.err
1536 if test -s conftest.err; then
1537 grep -v '^ *+' conftest.err >conftest.er1
1538 cat conftest.er1 >&5
1539 mv -f conftest.er1 conftest.err
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; } && {
1543 test -z "$ac_c_werror_flag" ||
1544 test ! -s conftest.err
1545 } && test -s conftest.$ac_objext; then :
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554 as_fn_set_status $ac_retval
1556 } # ac_fn_c_try_compile
1558 # ac_fn_c_try_link LINENO
1559 # -----------------------
1560 # Try to link conftest.$ac_ext, and return whether this succeeded.
1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564 rm -f conftest.$ac_objext conftest$ac_exeext
1565 if { { ac_try="$ac_link"
1567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1568 *) ac_try_echo
=$ac_try;;
1570 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_link") 2>conftest.err
1574 if test -s conftest.err
; then
1575 grep -v '^ *+' conftest.err
>conftest.er1
1576 cat conftest.er1
>&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && {
1581 test -z "$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1583 } && test -s conftest
$ac_exeext && {
1584 test "$cross_compiling" = yes ||
1585 test -x conftest
$ac_exeext
1589 $as_echo "$as_me: failed program was:" >&5
1590 sed 's/^/| /' conftest.
$ac_ext >&5
1594 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1595 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1596 # interfere with the next link command; also delete a directory that is
1597 # left behind by Apple's compiler. We do this before executing the actions.
1598 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status
$ac_retval
1602 } # ac_fn_c_try_link
1604 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists and can be compiled using the include files in
1607 # INCLUDES, setting the cache variable VAR accordingly.
1608 ac_fn_c_check_header_compile
()
1610 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1612 $as_echo_n "checking for $2... " >&6; }
1613 if eval \
${$3+:} false
; then :
1614 $as_echo_n "(cached) " >&6
1616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1617 /* end confdefs.h. */
1621 if ac_fn_c_try_compile
"$LINENO"; then :
1626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1630 $as_echo "$ac_res" >&6; }
1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633 } # ac_fn_c_check_header_compile
1635 # ac_fn_c_try_cpp LINENO
1636 # ----------------------
1637 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1640 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1641 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1644 *) ac_try_echo=$ac_try;;
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1650 if test -s conftest.err; then
1651 grep -v '^ *+' conftest.err >conftest.er1
1652 cat conftest.er1 >&5
1653 mv -f conftest.er1 conftest.err
1655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656 test $ac_status = 0; } > conftest.i && {
1657 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1658 test ! -s conftest.err
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.$ac_ext >&5
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 as_fn_set_status $ac_retval
1672 # ac_fn_c_try_run LINENO
1673 # ----------------------
1674 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1675 # that executables *can* be run.
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 if { { ac_try="$ac_link"
1681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1682 *) ac_try_echo
=$ac_try;;
1684 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_link") 2>&5
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1690 { { case "(($ac_try" in
1691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1692 *) ac_try_echo=$ac_try;;
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_try") 2>&5
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; }; }; then :
1702 $as_echo "$as_me: program exited with status $ac_status" >&5
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1706 ac_retval=$ac_status
1708 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 as_fn_set_status $ac_retval
1714 # ac_fn_c_check_func LINENO FUNC VAR
1715 # ----------------------------------
1716 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1717 ac_fn_c_check_func ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721 $as_echo_n "checking for $2... " >&6; }
1722 if eval \${$3+:} false; then :
1723 $as_echo_n "(cached) " >&6
1725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1726 /* end confdefs.h. */
1727 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1729 #define $2 innocuous_$2
1731 /* System header to define __stub macros and hopefully few prototypes,
1732 which can conflict with char $2 (); below.
1733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1734 <limits.h> exists even on freestanding compilers. */
1737 # include <limits.h>
1739 # include <assert.h>
1744 /* Override any GCC internal prototype to avoid an error.
1745 Use char because int might match the return type of a GCC
1746 builtin and then its argument prototype would still apply. */
1751 /* The GNU C library defines this for functions which it implements
1752 to always fail with ENOSYS. Some functions are actually named
1753 something starting with __ and the normal name is an alias. */
1754 #if defined __stub_$2 || defined __stub___$2
1766 if ac_fn_c_try_link "$LINENO"; then :
1771 rm -f core conftest.err conftest.$ac_objext \
1772 conftest$ac_exeext conftest.$ac_ext
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776 $as_echo "$ac_res" >&6; }
1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779 } # ac_fn_c_check_func
1781 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1782 # -------------------------------------------------------
1783 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1784 # the include files in INCLUDES and setting the cache variable VAR
1786 ac_fn_c_check_header_mongrel ()
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 if eval \${$3+:} false; then :
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1791 $as_echo_n "checking for $2... " >&6; }
1792 if eval \${$3+:} false; then :
1793 $as_echo_n "(cached) " >&6
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1797 $as_echo "$ac_res" >&6; }
1799 # Is the header compilable?
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1801 $as_echo_n "checking $2 usability... " >&6; }
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1807 if ac_fn_c_try_compile "$LINENO"; then :
1808 ac_header_compiler=yes
1810 ac_header_compiler=no
1812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1814 $as_echo "$ac_header_compiler" >&6; }
1816 # Is the header present?
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1818 $as_echo_n "checking $2 presence... " >&6; }
1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1823 if ac_fn_c_try_cpp "$LINENO"; then :
1824 ac_header_preproc=yes
1826 ac_header_preproc=no
1828 rm -f conftest.err conftest.i conftest.$ac_ext
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1830 $as_echo "$ac_header_preproc" >&6; }
1832 # So? What about this header?
1833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1836 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1838 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1842 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1844 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1846 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1848 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1850 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1851 ( $as_echo "## -------------------------------------------------- ##
1852 ## Report this to courier-users@lists.sourceforge.net ##
1853 ## -------------------------------------------------- ##"
1854 ) | sed "s/^/$as_me: WARNING: /" >&2
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if eval \${$3+:} false; then :
1860 $as_echo_n "(cached) " >&6
1862 eval "$3=\$ac_header_compiler"
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 } # ac_fn_c_check_header_mongrel
1872 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1873 # --------------------------------------------
1874 # Tries to find the compile-time value of EXPR in a program that includes
1875 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1877 ac_fn_c_compute_int ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 if test "$cross_compiling" = yes; then
1881 # Depending upon the size, compute the lo and hi bounds.
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1888 static int test_array [1 - 2 * !(($2) >= 0)];
1890 return test_array [0];
1896 if ac_fn_c_try_compile "$LINENO"; then :
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1905 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1907 return test_array [0];
1913 if ac_fn_c_try_compile "$LINENO"; then :
1914 ac_hi=$ac_mid; break
1916 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1917 if test $ac_lo -le $ac_mid; then
1921 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1932 static int test_array [1 - 2 * !(($2) < 0)];
1934 return test_array [0];
1940 if ac_fn_c_try_compile "$LINENO"; then :
1943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1949 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1951 return test_array [0];
1957 if ac_fn_c_try_compile "$LINENO"; then :
1958 ac_lo=$ac_mid; break
1960 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1961 if test $ac_mid -le $ac_hi; then
1965 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1975 # Binary search between lo and hi bounds.
1976 while test "x$ac_lo" != "x$ac_hi"; do
1977 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1979 /* end confdefs.h. */
1984 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1986 return test_array [0];
1992 if ac_fn_c_try_compile "$LINENO"; then :
1995 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2000 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2007 static long int longval () { return $2; }
2008 static unsigned long int ulongval () { return $2; }
2015 FILE *f = fopen ("conftest.val", "w");
2020 long int i = longval ();
2023 fprintf (f, "%ld", i);
2027 unsigned long int i = ulongval ();
2030 fprintf (f, "%lu", i);
2032 /* Do not output a trailing newline, as this causes \r\n confusion
2033 on some platforms. */
2034 return ferror (f) || fclose (f) != 0;
2040 if ac_fn_c_try_run "$LINENO"; then :
2041 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2046 conftest.$ac_objext conftest.beam conftest.$ac_ext
2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2051 as_fn_set_status $ac_retval
2053 } # ac_fn_c_compute_int
2054 cat >config.log <<_ACEOF
2055 This file contains any messages produced by compilers while
2056 running configure, to aid debugging if configure makes a mistake.
2058 It was created by libsha1 $as_me 1.21, which was
2059 generated by GNU Autoconf 2.69. Invocation command line was
2071 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2072 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2073 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2074 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2075 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2077 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2078 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2080 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2081 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2082 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2083 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2084 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2085 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2086 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 test -z "$as_dir" && as_dir=.
2095 $as_echo "PATH: $as_dir"
2111 # Keep a trace of the command line.
2112 # Strip out --no-create and --no-recursion so they do not pile up.
2113 # Strip out --silent because we don't want to record it for future runs.
2114 # Also quote any args containing shell meta-characters.
2115 # Make two passes to allow for proper duplicate-argument suppression.
2119 ac_must_keep_next=false
2125 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2127 | -silent | --silent | --silen | --sile | --sil)
2130 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2133 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2135 as_fn_append ac_configure_args1 " '$ac_arg'"
2136 if test $ac_must_keep_next = true; then
2137 ac_must_keep_next=false # Got value, back to normal.
2140 *=* | --config-cache | -C | -disable-* | --disable-* \
2141 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2142 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2143 | -with-* | --with-* | -without-* | --without-* | --x)
2144 case "$ac_configure_args0 " in
2145 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2148 -* ) ac_must_keep_next=true ;;
2151 as_fn_append ac_configure_args " '$ac_arg'"
2156 { ac_configure_args0=; unset ac_configure_args0;}
2157 { ac_configure_args1=; unset ac_configure_args1;}
2159 # When interrupted or exit'd, cleanup temporary files, and complete
2160 # config.log. We remove comments because anyway the quotes in there
2161 # would cause problems or look ugly.
2162 # WARNING: Use '\'' to represent an apostrophe within the trap.
2163 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2164 trap 'exit_status=$?
2165 # Save into config.log some information that might help in debugging.
2169 $as_echo "## ---------------- ##
2170 ## Cache variables. ##
2171 ## ---------------- ##"
2173 # The following way of writing the cache mishandles newlines in values,
2175 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2176 eval ac_val=\$$ac_var
2180 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2181 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2184 _ | IFS | as_nl) ;; #(
2185 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2186 *) { eval $ac_var=; unset $ac_var;} ;;
2191 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2192 *${as_nl}ac_space=\ *)
2194 "s/'\''/'\''\\\\'\'''\''/g;
2195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2198 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2205 $as_echo "## ----------------- ##
2206 ## Output variables. ##
2207 ## ----------------- ##"
2209 for ac_var in $ac_subst_vars
2211 eval ac_val=\$$ac_var
2213 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2215 $as_echo "$ac_var='\''$ac_val'\''"
2219 if test -n "$ac_subst_files"; then
2220 $as_echo "## ------------------- ##
2221 ## File substitutions. ##
2222 ## ------------------- ##"
2224 for ac_var in $ac_subst_files
2226 eval ac_val=\$$ac_var
2228 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2230 $as_echo "$ac_var='\''$ac_val'\''"
2235 if test -s confdefs.h; then
2236 $as_echo "## ----------- ##
2243 test "$ac_signal" != 0 &&
2244 $as_echo "$as_me: caught signal $ac_signal"
2245 $as_echo "$as_me: exit $exit_status"
2247 rm -f core *.core core.conftest.* &&
2248 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2251 for ac_signal in 1 2 13 15; do
2252 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2256 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2257 rm -f -r conftest* confdefs.h
2259 $as_echo "/* confdefs.h */" > confdefs.h
2261 # Predefined preprocessor variables.
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_NAME "$PACKAGE_NAME"
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_STRING "$PACKAGE_STRING"
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2283 cat >>confdefs.h <<_ACEOF
2284 #define PACKAGE_URL "$PACKAGE_URL"
2288 # Let the site file select an alternate cache file if it wants to.
2289 # Prefer an explicitly selected file to automatically selected ones.
2292 if test -n "$CONFIG_SITE"; then
2293 # We do not want a PATH search for config.site.
2294 case $CONFIG_SITE in #((
2295 -*) ac_site_file1=./$CONFIG_SITE;;
2296 */*) ac_site_file1=$CONFIG_SITE;;
2297 *) ac_site_file1=./$CONFIG_SITE;;
2299 elif test "x$prefix" != xNONE; then
2300 ac_site_file1=$prefix/share/config.site
2301 ac_site_file2=$prefix/etc/config.site
2303 ac_site_file1=$ac_default_prefix/share/config.site
2304 ac_site_file2=$ac_default_prefix/etc/config.site
2306 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2308 test "x$ac_site_file" = xNONE && continue
2309 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2311 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2312 sed 's/^/| /' "$ac_site_file" >&5
2314 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2316 as_fn_error $? "failed to load site
script $ac_site_file
2317 See \
`config.log' for more details" "$LINENO" 5; }
2321 if test -r "$cache_file"; then
2322 # Some versions of bash will fail to source /dev/null (special files
2323 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2324 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2326 $as_echo "$as_me: loading cache $cache_file" >&6;}
2328 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2329 *) . "./$cache_file";;
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2334 $as_echo "$as_me: creating cache $cache_file" >&6;}
2338 # Check that the precious variables saved in the cache have kept the same
2340 ac_cache_corrupted=false
2341 for ac_var in $ac_precious_vars; do
2342 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2343 eval ac_new_set=\$ac_env_${ac_var}_set
2344 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2345 eval ac_new_val=\$ac_env_${ac_var}_value
2346 case $ac_old_set,$ac_new_set in
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2349 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2350 ac_cache_corrupted=: ;;
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2353 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2354 ac_cache_corrupted=: ;;
2357 if test "x$ac_old_val" != "x$ac_new_val"; then
2358 # differences in whitespace do not lead to failure.
2359 ac_old_val_w=`echo x
$ac_old_val`
2360 ac_new_val_w=`echo x
$ac_new_val`
2361 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2363 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2364 ac_cache_corrupted=:
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2367 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2368 eval $ac_var=\$ac_old_val
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2371 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2373 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2376 # Pass precious variables to config.status.
2377 if test "$ac_new_set" = set; then
2379 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2380 *) ac_arg=$ac_var=$ac_new_val ;;
2382 case " $ac_configure_args " in
2383 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2384 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2388 if $ac_cache_corrupted; then
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2392 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2393 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2395 ## -------------------- ##
2396 ## Main body of script. ##
2397 ## -------------------- ##
2400 ac_cpp='$CPP $CPPFLAGS'
2401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2407 >confdefs.h # Kill PACKAGE_ macros
2411 for ac_dir in ../.. "$srcdir"/../..; do
2412 if test -f "$ac_dir/install-sh"; then
2414 ac_install_sh="$ac_aux_dir/install-sh -c"
2416 elif test -f "$ac_dir/install.sh"; then
2418 ac_install_sh="$ac_aux_dir/install.sh -c"
2420 elif test -f "$ac_dir/shtool"; then
2422 ac_install_sh="$ac_aux_dir/shtool install -c"
2426 if test -z "$ac_aux_dir"; then
2427 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2430 # These three variables are undocumented and unsupported,
2431 # and are intended to be withdrawn in a future Autoconf release.
2432 # They can cause serious problems if a builder's source tree is in a directory
2433 # whose full name contains unusual characters.
2434 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2435 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2436 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2439 ac_config_headers="$ac_config_headers config.h"
2441 am__api_version='1.15'
2443 # Find a good install program. We prefer a C program (faster),
2444 # so one script is as good as another. But avoid the broken or
2445 # incompatible versions:
2446 # SysV /etc/install, /usr/sbin/install
2447 # SunOS /usr/etc/install
2448 # IRIX /sbin/install
2450 # AmigaOS /C/install, which installs bootblocks on floppy discs
2451 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2452 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2453 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2454 # OS/2's system install, which has a completely different semantic
2455 # ./install, which can be erroneously created by make from ./install.sh.
2456 # Reject install programs that cannot install multiple files.
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2458 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2459 if test -z "$INSTALL"; then
2460 if ${ac_cv_path_install+:} false; then :
2461 $as_echo_n "(cached) " >&6
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 # Account for people who put trailing slashes in PATH elements.
2469 case $as_dir/ in #((
2470 ./ | .// | /[cC]/* | \
2471 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2472 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2475 # OSF1 and SCO ODT 3.0 have their own names for install.
2476 # Don't use installbsd from OSF since it installs stuff as root
2478 for ac_prog in ginstall scoinst install; do
2479 for ac_exec_ext in '' $ac_executable_extensions; do
2480 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2481 if test $ac_prog = install &&
2482 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2483 # AIX install. It has an incompatible calling convention.
2485 elif test $ac_prog = install &&
2486 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2487 # program-specific install script used by HP pwplus--don't use.
2490 rm -rf conftest.one conftest.two conftest.dir
2491 echo one > conftest.one
2492 echo two > conftest.two
2494 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2495 test -s conftest.one && test -s conftest.two &&
2496 test -s conftest.dir/conftest.one &&
2497 test -s conftest.dir/conftest.two
2499 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2512 rm -rf conftest.one conftest.two conftest.dir
2515 if test "${ac_cv_path_install+set}" = set; then
2516 INSTALL=$ac_cv_path_install
2518 # As a last resort, use the slow shell script. Don't cache a
2519 # value for INSTALL within a source directory, because that will
2520 # break other packages using the cache if that directory is
2521 # removed, or if the value is a relative name.
2522 INSTALL=$ac_install_sh
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2526 $as_echo "$INSTALL" >&6; }
2528 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2529 # It thinks the first close brace ends the variable substitution.
2530 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2532 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2534 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2537 $as_echo_n "checking whether build environment is sane... " >&6; }
2538 # Reject unsafe characters in $srcdir or the absolute working directory
2539 # name. Accept space and tab only in the latter.
2543 *[\\\"\#\$\&\'\`$am_lf]*)
2544 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2547 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2548 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2551 # Do 'set' in a subshell so we don't clobber the current shell's
2552 # arguments. Must try -L first in case configure is actually a
2553 # symlink; some systems play weird games with the mod time of symlinks
2554 # (eg FreeBSD returns the mod time of the symlink's containing
2558 for am_try
in 1 2; do
2559 echo "timestamp, slept: $am_has_slept" > conftest.
file
2560 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2561 if test "$*" = "X"; then
2563 set X
`ls -t "$srcdir/configure" conftest.file`
2565 if test "$*" != "X $srcdir/configure conftest.file" \
2566 && test "$*" != "X conftest.file $srcdir/configure"; then
2568 # If neither matched, then we have a broken ls. This can happen
2569 # if, for instance, CONFIG_SHELL is bash and it inherits a
2570 # broken ls alias from the environment. This has actually
2571 # happened. Such a system could not be considered "sane".
2572 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2573 alias in your environment" "$LINENO" 5
2575 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2582 test "$2" = conftest.
file
2588 as_fn_error $?
"newly created file is older than distributed files!
2589 Check your system clock" "$LINENO" 5
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2592 $as_echo "yes" >&6; }
2593 # If we didn't sleep, we still need to ensure time stamps of config.status and
2594 # generated files are strictly newer.
2596 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2603 test "$program_prefix" != NONE
&&
2604 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2605 # Use a double $ so make ignores it.
2606 test "$program_suffix" != NONE
&&
2607 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2608 # Double any \ or $.
2609 # By default was `s,x,x', remove it if useless.
2610 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2611 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2613 # Expand $ac_aux_dir to an absolute path.
2614 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2616 if test x
"${MISSING+set}" != xset
; then
2619 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2621 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2624 # Use eval to expand $SHELL
2625 if eval "$MISSING --is-lightweight"; then
2626 am_missing_run
="$MISSING "
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2630 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2633 if test x
"${install_sh+set}" != xset
; then
2636 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2638 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2642 # Installed binaries are usually stripped using 'strip' when the user
2643 # run "make install-strip". However 'strip' might not be the right
2644 # tool to use in cross-compilation environments, therefore Automake
2645 # will honor the 'STRIP' environment variable to overrule this program.
2646 if test "$cross_compiling" != no
; then
2647 if test -n "$ac_tool_prefix"; then
2648 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2649 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651 $as_echo_n "checking for $ac_word... " >&6; }
2652 if ${ac_cv_prog_STRIP+:} false
; then :
2653 $as_echo_n "(cached) " >&6
2655 if test -n "$STRIP"; then
2656 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir
=.
2663 for ac_exec_ext
in '' $ac_executable_extensions; do
2664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2665 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2675 STRIP
=$ac_cv_prog_STRIP
2676 if test -n "$STRIP"; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2678 $as_echo "$STRIP" >&6; }
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2681 $as_echo "no" >&6; }
2686 if test -z "$ac_cv_prog_STRIP"; then
2688 # Extract the first word of "strip", so it can be a program name with args.
2689 set dummy strip
; ac_word
=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2693 $as_echo_n "(cached) " >&6
2695 if test -n "$ac_ct_STRIP"; then
2696 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir
=.
2703 for ac_exec_ext
in '' $ac_executable_extensions; do
2704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2705 ac_cv_prog_ac_ct_STRIP
="strip"
2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2716 if test -n "$ac_ct_STRIP"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2718 $as_echo "$ac_ct_STRIP" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2724 if test "x$ac_ct_STRIP" = x
; then
2727 case $cross_compiling:$ac_tool_warned in
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2731 ac_tool_warned
=yes ;;
2736 STRIP
="$ac_cv_prog_STRIP"
2740 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2743 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2744 if test -z "$MKDIR_P"; then
2745 if ${ac_cv_path_mkdir+:} false
; then :
2746 $as_echo_n "(cached) " >&6
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2749 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2752 test -z "$as_dir" && as_dir
=.
2753 for ac_prog
in mkdir gmkdir
; do
2754 for ac_exec_ext
in '' $ac_executable_extensions; do
2755 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2756 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2757 'mkdir (GNU coreutils) '* | \
2758 'mkdir (coreutils) '* | \
2759 'mkdir (fileutils) '4.1*)
2760 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2770 test -d .
/--version && rmdir .
/--version
2771 if test "${ac_cv_path_mkdir+set}" = set; then
2772 MKDIR_P
="$ac_cv_path_mkdir -p"
2774 # As a last resort, use the slow shell script. Don't cache a
2775 # value for MKDIR_P within a source directory, because that will
2776 # break other packages using the cache if that directory is
2777 # removed, or if the value is a relative name.
2778 MKDIR_P
="$ac_install_sh -d"
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2782 $as_echo "$MKDIR_P" >&6; }
2784 for ac_prog
in gawk mawk nawk
awk
2786 # Extract the first word of "$ac_prog", so it can be a program name with args.
2787 set dummy
$ac_prog; ac_word
=$2
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789 $as_echo_n "checking for $ac_word... " >&6; }
2790 if ${ac_cv_prog_AWK+:} false
; then :
2791 $as_echo_n "(cached) " >&6
2793 if test -n "$AWK"; then
2794 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir
=.
2801 for ac_exec_ext
in '' $ac_executable_extensions; do
2802 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_AWK
="$ac_prog"
2804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 if test -n "$AWK"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2816 $as_echo "$AWK" >&6; }
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2823 test -n "$AWK" && break
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2827 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2829 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2830 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2831 $as_echo_n "(cached) " >&6
2833 cat >conftest.
make <<\_ACEOF
2836 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2838 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2839 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2841 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2843 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2847 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2849 $as_echo "yes" >&6; }
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2854 SET_MAKE
="MAKE=${MAKE-make}"
2857 rm -rf .tst
2>/dev
/null
2858 mkdir .tst
2>/dev
/null
2859 if test -d .tst
; then
2864 rmdir .tst
2>/dev
/null
2866 # Check whether --enable-silent-rules was given.
2867 if test "${enable_silent_rules+set}" = set; then :
2868 enableval
=$enable_silent_rules;
2871 case $enable_silent_rules in # (((
2872 yes) AM_DEFAULT_VERBOSITY
=0;;
2873 no
) AM_DEFAULT_VERBOSITY
=1;;
2874 *) AM_DEFAULT_VERBOSITY
=1;;
2876 am_make
=${MAKE-make}
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2878 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2879 if ${am_cv_make_support_nested_variables+:} false
; then :
2880 $as_echo_n "(cached) " >&6
2882 if $as_echo 'TRUE=$(BAR$(V))
2888 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2889 am_cv_make_support_nested_variables
=yes
2891 am_cv_make_support_nested_variables
=no
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2895 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2896 if test $am_cv_make_support_nested_variables = yes; then
2898 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2900 AM_V
=$AM_DEFAULT_VERBOSITY
2901 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2905 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2906 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2907 # is not polluted with repeated "-I."
2908 am__isrc
=' -I$(srcdir)'
2909 # test to see if srcdir already configured
2910 if test -f $srcdir/config.status
; then
2911 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2915 # test whether we have cygpath
2916 if test -z "$CYGPATH_W"; then
2917 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2918 CYGPATH_W
='cygpath -w'
2925 # Define the identity of the package.
2930 # Some tools Automake needs.
2932 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2935 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2938 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2941 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2944 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2946 # For better backward compatibility. To be removed once Automake 1.9.x
2947 # dies out for good. For more background, see:
2948 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2949 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2950 mkdir_p
='$(MKDIR_P)'
2952 # We need awk for the "check" target (and possibly the TAP driver). The
2953 # system "awk" is bad on some platforms.
2954 # Always define AMTAR for backward compatibility. Yes, it's still used
2955 # in the wild :-( We should find a proper way to deprecate it ...
2959 # We'll loop over all known methods to create a tar archive until one works.
2960 _am_tools
='gnutar pax cpio none'
2962 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2969 # POSIX will say in a future version that running "rm -f" with no argument
2970 # is OK; and we want to be able to make that assumption in our Makefile
2971 # recipes. So use an aggressive probe to check that the usage we want is
2972 # actually supported "in the wild" to an acceptable degree.
2973 # See automake bug#10828.
2974 # To make any issue more visible, cause the running configure to be aborted
2975 # by default if the 'rm' program in use doesn't match our expectations; the
2976 # user can still override this though.
2977 if rm -f && rm -fr && rm -rf; then : OK
; else
2981 Your 'rm' program seems unable to run without file operands specified
2982 on the command line, even when the '-f' option is present. This is contrary
2983 to the behaviour of most rm programs out there, and not conforming with
2984 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2986 Please tell bug-automake@gnu.org about your system, including the value
2987 of your $PATH and any error possibly output before this message. This
2988 can help us improve future automake versions.
2991 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2992 echo 'Configuration will proceed anyway, since you have set the' >&2
2993 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2997 Aborting the configuration process, to ensure you take notice of the issue.
2999 You can download and install GNU coreutils to get an 'rm' implementation
3000 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3002 If you want to complete the configuration process using your problematic
3003 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3004 to "yes", and re-run configure.
3007 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3012 if test -d ${srcdir}/..
/libhmac
; then
3022 ac_cpp
='$CPP $CPPFLAGS'
3023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3026 if test -n "$ac_tool_prefix"; then
3027 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3028 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_CC+:} false
; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$CC"; then
3035 ac_cv_prog_CC
="$CC" # Let the user override the test.
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_exec_ext
in '' $ac_executable_extensions; do
3043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3044 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 if test -n "$CC"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3057 $as_echo "$CC" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3065 if test -z "$ac_cv_prog_CC"; then
3067 # Extract the first word of "gcc", so it can be a program name with args.
3068 set dummy gcc
; ac_word
=$2
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070 $as_echo_n "checking for $ac_word... " >&6; }
3071 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3072 $as_echo_n "(cached) " >&6
3074 if test -n "$ac_ct_CC"; then
3075 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir
=.
3082 for ac_exec_ext
in '' $ac_executable_extensions; do
3083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3084 ac_cv_prog_ac_ct_CC
="gcc"
3085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3095 if test -n "$ac_ct_CC"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3097 $as_echo "$ac_ct_CC" >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3103 if test "x$ac_ct_CC" = x
; then
3106 case $cross_compiling:$ac_tool_warned in
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3110 ac_tool_warned
=yes ;;
3118 if test -z "$CC"; then
3119 if test -n "$ac_tool_prefix"; then
3120 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3121 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if ${ac_cv_prog_CC+:} false
; then :
3125 $as_echo_n "(cached) " >&6
3127 if test -n "$CC"; then
3128 ac_cv_prog_CC
="$CC" # Let the user override the test.
3130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir
=.
3135 for ac_exec_ext
in '' $ac_executable_extensions; do
3136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3137 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 if test -n "$CC"; then
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150 $as_echo "$CC" >&6; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3159 if test -z "$CC"; then
3160 # Extract the first word of "cc", so it can be a program name with args.
3161 set dummy cc
; ac_word
=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if ${ac_cv_prog_CC+:} false
; then :
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$CC"; then
3168 ac_cv_prog_CC
="$CC" # Let the user override the test.
3171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir
=.
3176 for ac_exec_ext
in '' $ac_executable_extensions; do
3177 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3178 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3179 ac_prog_rejected
=yes
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3190 if test $ac_prog_rejected = yes; then
3191 # We found a bogon in the path, so make sure we never use it.
3192 set dummy
$ac_cv_prog_CC
3194 if test $# != 0; then
3195 # We chose a different compiler from the bogus one.
3196 # However, it has the same basename, so the bogon will be chosen
3197 # first if we set CC to just the basename; use the full file name.
3199 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3205 if test -n "$CC"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3207 $as_echo "$CC" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3215 if test -z "$CC"; then
3216 if test -n "$ac_tool_prefix"; then
3217 for ac_prog
in cl.exe
3219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3220 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if ${ac_cv_prog_CC+:} false
; then :
3224 $as_echo_n "(cached) " >&6
3226 if test -n "$CC"; then
3227 ac_cv_prog_CC
="$CC" # Let the user override the test.
3229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir
=.
3234 for ac_exec_ext
in '' $ac_executable_extensions; do
3235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3236 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 if test -n "$CC"; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3249 $as_echo "$CC" >&6; }
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3256 test -n "$CC" && break
3259 if test -z "$CC"; then
3261 for ac_prog
in cl.exe
3263 # Extract the first word of "$ac_prog", so it can be a program name with args.
3264 set dummy
$ac_prog; ac_word
=$2
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3268 $as_echo_n "(cached) " >&6
3270 if test -n "$ac_ct_CC"; then
3271 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3277 test -z "$as_dir" && as_dir
=.
3278 for ac_exec_ext
in '' $ac_executable_extensions; do
3279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3280 ac_cv_prog_ac_ct_CC
="$ac_prog"
3281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3291 if test -n "$ac_ct_CC"; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3293 $as_echo "$ac_ct_CC" >&6; }
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3300 test -n "$ac_ct_CC" && break
3303 if test "x$ac_ct_CC" = x
; then
3306 case $cross_compiling:$ac_tool_warned in
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3310 ac_tool_warned
=yes ;;
3319 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321 as_fn_error $?
"no acceptable C compiler found in \$PATH
3322 See \`config.log' for more details" "$LINENO" 5; }
3324 # Provide some information about the compiler.
3325 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3328 for ac_option
in --version -v -V -qversion; do
3329 { { ac_try
="$ac_compiler $ac_option >&5"
3331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3338 if test -s conftest.err; then
3340 ... rest of stderr output deleted ...
3341 10q' conftest.err >conftest.er1
3342 cat conftest.er1 >&5
3344 rm -f conftest.er1 conftest.err
3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346 test $ac_status = 0; }
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3360 ac_clean_files_save=$ac_clean_files
3361 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3362 # Try to create an executable without -o first, disregard a.out.
3363 # It will help us diagnose broken compilers, and finding out an intuition
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3366 $as_echo_n "checking whether the C compiler works... " >&6; }
3367 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3369 # The possible output files:
3370 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3373 for ac_file in $ac_files
3376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3377 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3382 if { { ac_try="$ac_link_default"
3384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3385 *) ac_try_echo
=$ac_try;;
3387 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388 $as_echo "$ac_try_echo"; } >&5
3389 (eval "$ac_link_default") 2>&5
3391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 test $ac_status = 0; }; then :
3393 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3394 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3395 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3396 # so that the user can short-circuit this test for compilers unknown to
3398 for ac_file
in $ac_files ''
3400 test -f "$ac_file" ||
continue
3402 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3405 # We found the default executable, but exeext='' is most
3409 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3411 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3413 # We set ac_cv_exeext here because the later test for it is not
3414 # safe: cross compilers may not add the suffix if given an `-o'
3415 # argument, so we may need to know it at that point already.
3416 # Even if this section looks crufty: it has the advantage of
3423 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3428 if test -z "$ac_file"; then :
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3431 $as_echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.
$ac_ext >&5
3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436 as_fn_error
77 "C compiler cannot create executables
3437 See \`config.log' for more details" "$LINENO" 5; }
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3440 $as_echo "yes" >&6; }
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3443 $as_echo_n "checking for C compiler default output file name... " >&6; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3445 $as_echo "$ac_file" >&6; }
3446 ac_exeext
=$ac_cv_exeext
3448 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3449 ac_clean_files
=$ac_clean_files_save
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3451 $as_echo_n "checking for suffix of executables... " >&6; }
3452 if { { ac_try
="$ac_link"
3454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3455 *) ac_try_echo=$ac_try;;
3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458 $as_echo "$ac_try_echo"; } >&5
3459 (eval "$ac_link") 2>&5
3461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462 test $ac_status = 0; }; then :
3463 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3464 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3465 # work properly (i.e., refer to `conftest.exe'), while it won't with
3467 for ac_file
in conftest.exe conftest conftest.
*; do
3468 test -f "$ac_file" ||
continue
3470 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3471 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3480 See \`config.log' for more details" "$LINENO" 5; }
3482 rm -f conftest conftest
$ac_cv_exeext
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3484 $as_echo "$ac_cv_exeext" >&6; }
3486 rm -f conftest.
$ac_ext
3487 EXEEXT
=$ac_cv_exeext
3489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h. */
3495 FILE *f = fopen ("conftest.out", "w");
3496 return ferror (f) || fclose (f) != 0;
3502 ac_clean_files
="$ac_clean_files conftest.out"
3503 # Check that the compiler produces executables we can run. If not, either
3504 # the compiler is broken, or we cross compile.
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3506 $as_echo_n "checking whether we are cross compiling... " >&6; }
3507 if test "$cross_compiling" != yes; then
3508 { { ac_try
="$ac_link"
3510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515 (eval "$ac_link") 2>&5
3517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518 test $ac_status = 0; }
3519 if { ac_try='./conftest$ac_cv_exeext'
3520 { { case "(($ac_try" in
3521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3522 *) ac_try_echo
=$ac_try;;
3524 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3525 $as_echo "$ac_try_echo"; } >&5
3526 (eval "$ac_try") 2>&5
3528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3529 test $ac_status = 0; }; }; then
3532 if test "$cross_compiling" = maybe
; then
3535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error $?
"cannot run C compiled programs.
3538 If you meant to cross compile, use \`--host'.
3539 See \`config.log' for more details" "$LINENO" 5; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3544 $as_echo "$cross_compiling" >&6; }
3546 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3547 ac_clean_files
=$ac_clean_files_save
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3549 $as_echo_n "checking for suffix of object files... " >&6; }
3550 if ${ac_cv_objext+:} false
; then :
3551 $as_echo_n "(cached) " >&6
3553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3564 rm -f conftest.o conftest.obj
3565 if { { ac_try
="$ac_compile"
3567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3568 *) ac_try_echo=$ac_try;;
3570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3571 $as_echo "$ac_try_echo"; } >&5
3572 (eval "$ac_compile") 2>&5
3574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3575 test $ac_status = 0; }; then :
3576 for ac_file in conftest.o conftest.obj conftest.*; do
3577 test -f "$ac_file" || continue;
3579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3580 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3585 $as_echo "$as_me: failed program was:" >&5
3586 sed 's/^/| /' conftest.$ac_ext >&5
3588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3591 See \
`config.log' for more details" "$LINENO" 5; }
3593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3596 $as_echo "$ac_cv_objext" >&6; }
3597 OBJEXT=$ac_cv_objext
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3600 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3601 if ${ac_cv_c_compiler_gnu+:} false; then :
3602 $as_echo_n "(cached) " >&6
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3618 if ac_fn_c_try_compile "$LINENO"; then :
3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3624 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3628 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3629 if test $ac_compiler_gnu = yes; then
3634 ac_test_CFLAGS=${CFLAGS+set}
3635 ac_save_CFLAGS=$CFLAGS
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3637 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3638 if ${ac_cv_prog_cc_g+:} false; then :
3639 $as_echo_n "(cached) " >&6
3641 ac_save_c_werror_flag=$ac_c_werror_flag
3642 ac_c_werror_flag=yes
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3656 if ac_fn_c_try_compile "$LINENO"; then :
3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3671 if ac_fn_c_try_compile "$LINENO"; then :
3674 ac_c_werror_flag=$ac_save_c_werror_flag
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3687 if ac_fn_c_try_compile "$LINENO"; then :
3690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 ac_c_werror_flag=$ac_save_c_werror_flag
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3698 $as_echo "$ac_cv_prog_cc_g" >&6; }
3699 if test "$ac_test_CFLAGS" = set; then
3700 CFLAGS=$ac_save_CFLAGS
3701 elif test $ac_cv_prog_cc_g = yes; then
3702 if test "$GCC" = yes; then
3708 if test "$GCC" = yes; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3715 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3716 if ${ac_cv_prog_cc_c89+:} false; then :
3717 $as_echo_n "(cached) " >&6
3719 ac_cv_prog_cc_c89=no
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3726 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3727 struct buf { int x; };
3728 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3729 static char *e (p, i)
3735 static char *f (char * (*g) (char **, int), char **p, ...)
3740 s = g (p, va_arg (v,int));
3745 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3746 function prototypes and stuff, but not '\xHH' hex character constants.
3747 These don't provoke an error unfortunately, instead are silently treated
3748 as 'x'. The following induces an error, until -std is added to get
3749 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3750 array size at least. It's necessary to write '\x00'==0 to get something
3751 that's true only with -std. */
3752 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3754 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3755 inside strings and character constants. */
3757 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3759 int test (int i, double x);
3760 struct s1 {int (*f) (int a);};
3761 struct s2 {int (*f) (double a);};
3762 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3768 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3773 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3774 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3776 CC="$ac_save_CC $ac_arg"
3777 if ac_fn_c_try_compile "$LINENO"; then :
3778 ac_cv_prog_cc_c89=$ac_arg
3780 rm -f core conftest.err conftest.$ac_objext
3781 test "x$ac_cv_prog_cc_c89" != "xno" && break
3783 rm -f conftest.$ac_ext
3788 case "x$ac_cv_prog_cc_c89" in
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3791 $as_echo "none needed" >&6; } ;;
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3794 $as_echo "unsupported" >&6; } ;;
3796 CC="$CC $ac_cv_prog_cc_c89"
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3798 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3800 if test "x$ac_cv_prog_cc_c89" != xno; then :
3805 ac_cpp='$CPP $CPPFLAGS'
3806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811 ac_cpp='$CPP $CPPFLAGS'
3812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3816 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3817 if ${am_cv_prog_cc_c_o+:} false; then :
3818 $as_echo_n "(cached) " >&6
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3831 # Make sure it works both with $CC and with simple cc.
3832 # Following AC_PROG_CC_C_O, we do the test twice because some
3833 # compilers refuse to overwrite an existing .o file with -o,
3834 # though they will create one.
3835 am_cv_prog_cc_c_o=yes
3837 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3838 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); } \
3842 && test -f conftest2.$ac_objext; then
3845 am_cv_prog_cc_c_o=no
3849 rm -f core conftest*
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3853 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3854 if test "$am_cv_prog_cc_c_o" != yes; then
3855 # Losing compiler, so override with the script.
3856 # FIXME: It is wrong to rewrite CC.
3857 # But if we don't then we get into trouble of one sort or another.
3858 # A longer-term fix would be to have automake use am__CC in this case,
3859 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3860 CC="$am_aux_dir/compile $CC"
3863 ac_cpp='$CPP $CPPFLAGS'
3864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3868 DEPDIR="${am__leading_dot}deps"
3870 ac_config_commands="$ac_config_commands depfiles"
3873 am_make=${MAKE-make}
3874 cat > confinc << 'END'
3876 @echo this is the am__doit target
3879 # If we don't find an include directive, just comment out the code.
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3881 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3885 # First try GNU make style include.
3886 echo "include confinc" > confmf
3887 # Ignore all kinds of additional output from 'make'.
3888 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3889 *the\ am__doit\ target*)
3895 # Now try BSD make style include.
3896 if test "$am__include" = "#"; then
3897 echo '.include "confinc"' > confmf
3898 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3899 *the\ am__doit\ target*)
3900 am__include=.include
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3909 $as_echo "$_am_result" >&6; }
3910 rm -f confinc confmf
3912 # Check whether --enable-dependency-tracking was given.
3913 if test "${enable_dependency_tracking+set}" = set; then :
3914 enableval=$enable_dependency_tracking;
3917 if test "x$enable_dependency_tracking" != xno; then
3918 am_depcomp="$ac_aux_dir/depcomp"
3922 if test "x$enable_dependency_tracking" != xno; then
3932 depcc="$CC" am_compiler_list=
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3935 $as_echo_n "checking dependency style of $depcc... " >&6; }
3936 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3937 $as_echo_n "(cached) " >&6
3939 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3940 # We make a subdir and do the tests there. Otherwise we can end up
3941 # making bogus files that we don't know about and never remove. For
3942 # instance it was reported that on HP-UX the gcc test will end up
3943 # making a dummy file named 'D' -- because '-MD' means "put the output
3947 # Copy depcomp to subdir because otherwise we won't find it if we're
3948 # using a relative directory.
3949 cp "$am_depcomp" conftest.dir
3951 # We will build objects and dependencies in a subdirectory because
3952 # it helps to detect inapplicable dependency modes. For instance
3953 # both Tru64's cc and ICC support -MD to output dependencies as a
3954 # side effect of compilation, but ICC will put the dependencies in
3955 # the current directory while Tru64 will put them in the object
3959 am_cv_CC_dependencies_compiler_type=none
3960 if test "$am_compiler_list" = ""; then
3961 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3964 case " $depcc " in #(
3965 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3968 for depmode in $am_compiler_list; do
3969 # Setup a source with many dependencies, because some compilers
3970 # like to wrap large dependency lists on column 80 (with \), and
3971 # we should not choose a depcomp mode which is confused by this.
3973 # We need to recreate these files for each test, as the compiler may
3974 # overwrite some of them when testing with obscure command lines.
3975 # This happens at least with the AIX C compiler.
3977 for i in 1 2 3 4 5 6; do
3978 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3979 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3980 # Solaris 10 /bin/sh.
3981 echo '/* dummy */' > sub/conftst$i.h
3983 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3985 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3986 # mode. It turns out that the SunPro C++ compiler does not properly
3987 # handle '-M -o', and we need to detect this. Also, some Intel
3988 # versions had trouble with output in subdirs.
3989 am__obj=sub/conftest.${OBJEXT-o}
3990 am__minus_obj="-o $am__obj"
3993 # This depmode causes a compiler race in universal mode.
3994 test "$am__universal" = false || continue
3997 # After this tag, mechanisms are not by side-effect, so they'll
3998 # only be used when explicitly requested.
3999 if test "x$enable_dependency_tracking" = xyes; then
4005 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4006 # This compiler won't grok '-c -o', but also, the minuso test has
4007 # not run yet. These depmodes are late enough in the game, and
4008 # so weak that their functioning should not be impacted.
4009 am__obj=conftest.${OBJEXT-o}
4014 if depmode=$depmode \
4015 source=sub/conftest.c object=$am__obj \
4016 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4017 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4018 >/dev/null 2>conftest.err &&
4019 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4020 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4021 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4022 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4023 # icc doesn't choke on unknown options, it will just issue warnings
4024 # or remarks (even with -Werror). So we grep stderr for any message
4025 # that says an option was ignored or not supported.
4026 # When given -MP, icc 7.0 and 7.1 complain thusly:
4027 # icc: Command line warning: ignoring option '-M'; no argument required
4028 # The diagnosis changed in icc 8.0:
4029 # icc: Command line remark: option '-MP' not supported
4030 if (grep 'ignoring option' conftest.err ||
4031 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4032 am_cv_CC_dependencies_compiler_type=$depmode
4041 am_cv_CC_dependencies_compiler_type=none
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4046 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4047 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4050 test "x$enable_dependency_tracking" != xno \
4051 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4053 am__fastdepCC_FALSE='#'
4055 am__fastdepCC_TRUE='#'
4056 am__fastdepCC_FALSE=
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4062 $as_echo_n "checking whether ln -s works... " >&6; }
4064 if test "$LN_S" = "ln -s"; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4066 $as_echo "yes" >&6; }
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4069 $as_echo "no, using $LN_S" >&6; }
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4075 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4080 macro_version='2.4.6'
4081 macro_revision='2.4.6'
4095 ltmain=$ac_aux_dir/ltmain.sh
4097 # Make sure we can run config.sub.
4098 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4099 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4102 $as_echo_n "checking build system type... " >&6; }
4103 if ${ac_cv_build+:} false; then :
4104 $as_echo_n "(cached) " >&6
4106 ac_build_alias=$build_alias
4107 test "x$ac_build_alias" = x &&
4108 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4109 test "x$ac_build_alias" = x &&
4110 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4111 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4112 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4116 $as_echo "$ac_cv_build" >&6; }
4117 case $ac_cv_build in
4119 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4122 ac_save_IFS=$IFS; IFS='-'
4128 # Remember, the first character of IFS is used to create $*,
4129 # except with old shells:
4132 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4136 $as_echo_n "checking host system type... " >&6; }
4137 if ${ac_cv_host+:} false; then :
4138 $as_echo_n "(cached) " >&6
4140 if test "x$host_alias" = x; then
4141 ac_cv_host=$ac_cv_build
4143 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4144 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4149 $as_echo "$ac_cv_host" >&6; }
4152 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4155 ac_save_IFS=$IFS; IFS='-'
4161 # Remember, the first character of IFS is used to create $*,
4162 # except with old shells:
4165 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4168 # Backslashify metacharacters that are still active within
4169 # double-quoted strings.
4170 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4172 # Same as above, but do not quote variable references.
4173 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4175 # Sed substitution to delay expansion of an escaped shell variable in a
4176 # double_quote_subst'ed string.
4177 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4179 # Sed substitution to delay expansion of an escaped single quote.
4180 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4182 # Sed substitution to avoid accidental globbing in evaled expressions
4183 no_glob_subst='s/\*/\\\*/g'
4185 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4186 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4187 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4190 $as_echo_n "checking how to print
strings...
" >&6; }
4191 # Test print first, because it will be a builtin if present.
4192 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4193 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4195 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4198 # Use this function as a fallback that always works.
4199 func_fallback_echo ()
4201 eval 'cat <<_LTECHO_EOF
4205 ECHO='func_fallback_echo'
4208 # func_echo_all arg...
4209 # Invoke $ECHO with all args, space-separated.
4216 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4217 $as_echo "printf" >&6; } ;;
4218 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4219 $as_echo "print
-r" >&6; } ;;
4220 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4221 $as_echo "cat" >&6; } ;;
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4238 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4239 if ${ac_cv_path_SED+:} false; then :
4240 $as_echo_n "(cached
) " >&6
4242 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4243 for ac_i in 1 2 3 4 5 6 7; do
4244 ac_script="$ac_script$as_nl$ac_script"
4246 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4247 { ac_script=; unset ac_script;}
4248 if test -z "$SED"; then
4249 ac_path_SED_found=false
4250 # Loop through the user's path and test for each of PROGNAME-LIST
4251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4255 test -z "$as_dir" && as_dir=.
4256 for ac_prog in sed gsed; do
4257 for ac_exec_ext in '' $ac_executable_extensions; do
4258 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4259 as_fn_executable_p "$ac_path_SED" || continue
4260 # Check for GNU ac_path_SED and select it if it is found.
4261 # Check for GNU $ac_path_SED
4262 case `"$ac_path_SED" --version 2>&1` in
4264 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4267 $as_echo_n 0123456789 >"conftest.
in"
4270 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4271 mv "conftest.tmp
" "conftest.
in"
4272 cp "conftest.
in" "conftest.
nl"
4273 $as_echo '' >> "conftest.
nl"
4274 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4275 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4276 as_fn_arith $ac_count + 1 && ac_count=$as_val
4277 if test $ac_count -gt ${ac_path_SED_max-0}; then
4278 # Best one so far, save it but keep looking for a better one
4279 ac_cv_path_SED="$ac_path_SED"
4280 ac_path_SED_max=$ac_count
4282 # 10*(2^10) chars as input seems more than enough
4283 test $ac_count -gt 10 && break
4285 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4288 $ac_path_SED_found && break 3
4293 if test -z "$ac_cv_path_SED"; then
4294 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4302 $as_echo "$ac_cv_path_SED" >&6; }
4303 SED="$ac_cv_path_SED"
4306 test -z "$SED" && SED=sed
4307 Xsed="$SED -e 1s
/^X
//"
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4320 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4321 if ${ac_cv_path_GREP+:} false; then :
4322 $as_echo_n "(cached
) " >&6
4324 if test -z "$GREP"; then
4325 ac_path_GREP_found=false
4326 # Loop through the user's path and test for each of PROGNAME-LIST
4327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4328 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4331 test -z "$as_dir" && as_dir=.
4332 for ac_prog in grep ggrep; do
4333 for ac_exec_ext in '' $ac_executable_extensions; do
4334 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4335 as_fn_executable_p "$ac_path_GREP" || continue
4336 # Check for GNU ac_path_GREP and select it if it is found.
4337 # Check for GNU $ac_path_GREP
4338 case `"$ac_path_GREP" --version 2>&1` in
4340 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4343 $as_echo_n 0123456789 >"conftest.
in"
4346 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4347 mv "conftest.tmp
" "conftest.
in"
4348 cp "conftest.
in" "conftest.
nl"
4349 $as_echo 'GREP' >> "conftest.
nl"
4350 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4351 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4352 as_fn_arith $ac_count + 1 && ac_count=$as_val
4353 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4354 # Best one so far, save it but keep looking for a better one
4355 ac_cv_path_GREP="$ac_path_GREP"
4356 ac_path_GREP_max=$ac_count
4358 # 10*(2^10) chars as input seems more than enough
4359 test $ac_count -gt 10 && break
4361 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4364 $ac_path_GREP_found && break 3
4369 if test -z "$ac_cv_path_GREP"; then
4370 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4373 ac_cv_path_GREP=$GREP
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4378 $as_echo "$ac_cv_path_GREP" >&6; }
4379 GREP="$ac_cv_path_GREP"
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4383 $as_echo_n "checking
for egrep...
" >&6; }
4384 if ${ac_cv_path_EGREP+:} false; then :
4385 $as_echo_n "(cached
) " >&6
4387 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4388 then ac_cv_path_EGREP="$GREP -E"
4390 if test -z "$EGREP"; then
4391 ac_path_EGREP_found=false
4392 # Loop through the user's path and test for each of PROGNAME-LIST
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4397 test -z "$as_dir" && as_dir=.
4398 for ac_prog in egrep; do
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4401 as_fn_executable_p "$ac_path_EGREP" || continue
4402 # Check for GNU ac_path_EGREP and select it if it is found.
4403 # Check for GNU $ac_path_EGREP
4404 case `"$ac_path_EGREP" --version 2>&1` in
4406 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4409 $as_echo_n 0123456789 >"conftest.
in"
4412 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4413 mv "conftest.tmp
" "conftest.
in"
4414 cp "conftest.
in" "conftest.
nl"
4415 $as_echo 'EGREP' >> "conftest.
nl"
4416 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4417 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4418 as_fn_arith $ac_count + 1 && ac_count=$as_val
4419 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4420 # Best one so far, save it but keep looking for a better one
4421 ac_cv_path_EGREP="$ac_path_EGREP"
4422 ac_path_EGREP_max=$ac_count
4424 # 10*(2^10) chars as input seems more than enough
4425 test $ac_count -gt 10 && break
4427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4430 $ac_path_EGREP_found && break 3
4435 if test -z "$ac_cv_path_EGREP"; then
4436 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4439 ac_cv_path_EGREP=$EGREP
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4445 $as_echo "$ac_cv_path_EGREP" >&6; }
4446 EGREP="$ac_cv_path_EGREP"
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4450 $as_echo_n "checking
for fgrep...
" >&6; }
4451 if ${ac_cv_path_FGREP+:} false; then :
4452 $as_echo_n "(cached
) " >&6
4454 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4455 then ac_cv_path_FGREP="$GREP -F"
4457 if test -z "$FGREP"; then
4458 ac_path_FGREP_found=false
4459 # Loop through the user's path and test for each of PROGNAME-LIST
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4464 test -z "$as_dir" && as_dir=.
4465 for ac_prog in fgrep; do
4466 for ac_exec_ext in '' $ac_executable_extensions; do
4467 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4468 as_fn_executable_p "$ac_path_FGREP" || continue
4469 # Check for GNU ac_path_FGREP and select it if it is found.
4470 # Check for GNU $ac_path_FGREP
4471 case `"$ac_path_FGREP" --version 2>&1` in
4473 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4476 $as_echo_n 0123456789 >"conftest.
in"
4479 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4480 mv "conftest.tmp
" "conftest.
in"
4481 cp "conftest.
in" "conftest.
nl"
4482 $as_echo 'FGREP' >> "conftest.
nl"
4483 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4484 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4485 as_fn_arith $ac_count + 1 && ac_count=$as_val
4486 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4487 # Best one so far, save it but keep looking for a better one
4488 ac_cv_path_FGREP="$ac_path_FGREP"
4489 ac_path_FGREP_max=$ac_count
4491 # 10*(2^10) chars as input seems more than enough
4492 test $ac_count -gt 10 && break
4494 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4497 $ac_path_FGREP_found && break 3
4502 if test -z "$ac_cv_path_FGREP"; then
4503 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4506 ac_cv_path_FGREP=$FGREP
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4512 $as_echo "$ac_cv_path_FGREP" >&6; }
4513 FGREP="$ac_cv_path_FGREP"
4516 test -z "$GREP" && GREP=grep
4536 # Check whether --with-gnu-ld was given.
4537 if test "${with_gnu_ld+set}" = set; then :
4538 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4544 if test yes = "$GCC"; then
4545 # Check if gcc -print-prog-name=ld gives a path.
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4547 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4550 # gcc leaves a trailing carriage return, which upsets mingw
4551 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4553 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4556 # Accept absolute paths.
4558 re_direlt='/[^/][^/]*/\.\./'
4559 # Canonicalize the pathname of ld
4560 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4561 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4562 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4564 test -z "$LD" && LD=$ac_prog
4567 # If it fails, then pretend we aren't using GCC.
4571 # If it is relative, then search for the first ld in PATH.
4575 elif test yes = "$with_gnu_ld"; then
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4577 $as_echo_n "checking
for GNU ld...
" >&6; }
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4580 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4582 if ${lt_cv_path_LD+:} false; then :
4583 $as_echo_n "(cached
) " >&6
4585 if test -z "$LD"; then
4586 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4587 for ac_dir in $PATH; do
4589 test -z "$ac_dir" && ac_dir=.
4590 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4591 lt_cv_path_LD=$ac_dir/$ac_prog
4592 # Check to see if the program is GNU ld. I'd rather use --version,
4593 # but apparently some variants of GNU ld only accept -v.
4594 # Break only if it was the GNU/non-GNU ld that we prefer.
4595 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4596 *GNU* | *'with BFD'*)
4597 test no != "$with_gnu_ld" && break
4600 test yes != "$with_gnu_ld" && break
4607 lt_cv_path_LD=$LD # Let the user override the test with a path.
4612 if test -n "$LD"; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4614 $as_echo "$LD" >&6; }
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4617 $as_echo "no
" >&6; }
4619 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4621 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4622 if ${lt_cv_prog_gnu_ld+:} false; then :
4623 $as_echo_n "(cached
) " >&6
4625 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4626 case `$LD -v 2>&1 </dev/null` in
4627 *GNU* | *'with BFD'*)
4628 lt_cv_prog_gnu_ld=yes
4631 lt_cv_prog_gnu_ld=no
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4636 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4637 with_gnu_ld=$lt_cv_prog_gnu_ld
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4648 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4649 if ${lt_cv_path_NM+:} false; then :
4650 $as_echo_n "(cached
) " >&6
4652 if test -n "$NM"; then
4653 # Let the user override the test.
4656 lt_nm_to_check=${ac_tool_prefix}nm
4657 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4658 lt_nm_to_check="$lt_nm_to_check nm
"
4660 for lt_tmp_nm in $lt_nm_to_check; do
4661 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4662 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4664 test -z "$ac_dir" && ac_dir=.
4665 tmp_nm=$ac_dir/$lt_tmp_nm
4666 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4667 # Check to see if the nm accepts a BSD-compat flag.
4668 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4669 # nm: unknown option "B
" ignored
4670 # Tru64's nm complains that /dev/null is an invalid object file
4671 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4673 mingw*) lt_bad_file=conftest.nm/nofile ;;
4674 *) lt_bad_file=/dev/null ;;
4676 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4677 *$lt_bad_file* | *'Invalid file or object type'*)
4678 lt_cv_path_NM="$tmp_nm -B"
4682 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4684 lt_cv_path_NM="$tmp_nm -p"
4688 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4689 continue # so that we can try to find one that supports BSD flags
4698 : ${lt_cv_path_NM=no}
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4702 $as_echo "$lt_cv_path_NM" >&6; }
4703 if test no != "$lt_cv_path_NM"; then
4706 # Didn't find any BSD compatible name lister, look for dumpbin.
4707 if test -n "$DUMPBIN"; then :
4708 # Let the user override the test.
4710 if test -n "$ac_tool_prefix"; then
4711 for ac_prog in dumpbin "link
-dump"
4713 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4714 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4716 $as_echo_n "checking
for $ac_word...
" >&6; }
4717 if ${ac_cv_prog_DUMPBIN+:} false; then :
4718 $as_echo_n "(cached
) " >&6
4720 if test -n "$DUMPBIN"; then
4721 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4727 test -z "$as_dir" && as_dir=.
4728 for ac_exec_ext in '' $ac_executable_extensions; do
4729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4730 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4740 DUMPBIN=$ac_cv_prog_DUMPBIN
4741 if test -n "$DUMPBIN"; then
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4743 $as_echo "$DUMPBIN" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4746 $as_echo "no
" >&6; }
4750 test -n "$DUMPBIN" && break
4753 if test -z "$DUMPBIN"; then
4754 ac_ct_DUMPBIN=$DUMPBIN
4755 for ac_prog in dumpbin "link
-dump"
4757 # Extract the first word of "$ac_prog", so it can be a program name with args.
4758 set dummy $ac_prog; ac_word=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4760 $as_echo_n "checking
for $ac_word...
" >&6; }
4761 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4762 $as_echo_n "(cached
) " >&6
4764 if test -n "$ac_ct_DUMPBIN"; then
4765 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir=.
4772 for ac_exec_ext in '' $ac_executable_extensions; do
4773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4774 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4784 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4785 if test -n "$ac_ct_DUMPBIN"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4787 $as_echo "$ac_ct_DUMPBIN" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4790 $as_echo "no
" >&6; }
4794 test -n "$ac_ct_DUMPBIN" && break
4797 if test "x
$ac_ct_DUMPBIN" = x; then
4800 case $cross_compiling:$ac_tool_warned in
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4803 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4804 ac_tool_warned=yes ;;
4806 DUMPBIN=$ac_ct_DUMPBIN
4810 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4812 DUMPBIN="$DUMPBIN -symbols -headers"
4820 if test : != "$DUMPBIN"; then
4824 test -z "$NM" && NM=nm
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4832 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4833 if ${lt_cv_nm_interface+:} false; then :
4834 $as_echo_n "(cached
) " >&6
4836 lt_cv_nm_interface="BSD nm
"
4837 echo "int some_variable
= 0;" > conftest.$ac_ext
4838 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4839 (eval "$ac_compile" 2>conftest.err)
4840 cat conftest.err >&5
4841 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4842 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4843 cat conftest.err >&5
4844 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4845 cat conftest.out >&5
4846 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4847 lt_cv_nm_interface="MS dumpbin
"
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4852 $as_echo "$lt_cv_nm_interface" >&6; }
4854 # find the maximum length of command line arguments
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4856 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4857 if ${lt_cv_sys_max_cmd_len+:} false; then :
4858 $as_echo_n "(cached
) " >&6
4865 # On DJGPP, this test can blow up pretty badly due to problems in libc
4866 # (any single argument exceeding 2000 bytes causes a buffer overrun
4867 # during glob expansion). Even if it were fixed, the result of this
4868 # check would be larger than it should be.
4869 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4873 # Under GNU Hurd, this test is not required because there is
4874 # no limit to the length of command line arguments.
4875 # Libtool will interpret -1 as no limit whatsoever
4876 lt_cv_sys_max_cmd_len=-1;
4879 cygwin* | mingw* | cegcc*)
4880 # On Win9x/ME, this test blows up -- it succeeds, but takes
4881 # about 5 minutes as the teststring grows exponentially.
4882 # Worse, since 9x/ME are not pre-emptively multitasking,
4883 # you end up with a "frozen
" computer, even though with patience
4884 # the test eventually succeeds (with a max line length of 256k).
4885 # Instead, let's just punt: use the minimum linelength reported by
4886 # all of the supported platforms: 8192 (on NT/2K/XP).
4887 lt_cv_sys_max_cmd_len=8192;
4891 # On MiNT this can take a long time and run out of memory.
4892 lt_cv_sys_max_cmd_len=8192;
4896 # On AmigaOS with pdksh, this test takes hours, literally.
4897 # So we just punt and use a minimum line length of 8192.
4898 lt_cv_sys_max_cmd_len=8192;
4901 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4902 # This has been around since 386BSD, at least. Likely further.
4903 if test -x /sbin/sysctl; then
4904 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4905 elif test -x /usr/sbin/sysctl; then
4906 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4908 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4910 # And add a safety zone
4911 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4912 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4916 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4917 lt_cv_sys_max_cmd_len=196608
4921 # The test takes a long time on OS/2.
4922 lt_cv_sys_max_cmd_len=8192
4926 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4927 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4928 # nice to cause kernel panics so lets avoid the loop below.
4929 # First set a reasonable default.
4930 lt_cv_sys_max_cmd_len=16384
4932 if test -x /sbin/sysconfig; then
4933 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4934 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4939 lt_cv_sys_max_cmd_len=102400
4941 sysv5* | sco5v6* | sysv4.2uw2*)
4942 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4943 if test -n "$kargmax"; then
4944 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4946 lt_cv_sys_max_cmd_len=32768
4950 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4951 if test -n "$lt_cv_sys_max_cmd_len" && \
4952 test undefined != "$lt_cv_sys_max_cmd_len"; then
4953 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4954 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4956 # Make teststring a little bigger before we do anything with it.
4957 # a 1K string should be a reasonable start.
4958 for i in 1 2 3 4 5 6 7 8; do
4959 teststring=$teststring$teststring
4961 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4962 # If test is not a shell built-in, we'll probably end up computing a
4963 # maximum length that is only half of the actual maximum length, but
4965 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4966 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4967 test 17 != "$i" # 1/2 MB should be enough
4970 teststring=$teststring$teststring
4972 # Only check the string length outside the loop.
4973 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4975 # Add a significant safety factor because C++ compilers can tack on
4976 # massive amounts of additional arguments before passing them to the
4977 # linker. It appears as though 1/2 is a usable value.
4978 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4985 if test -n "$lt_cv_sys_max_cmd_len"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4987 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4990 $as_echo "none
" >&6; }
4992 max_cmd_len=$lt_cv_sys_max_cmd_len
5003 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5013 # test EBCDIC or ASCII
5014 case `echo X|tr X '\101'` in
5015 A) # ASCII based system
5016 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5017 lt_SP2NL='tr \040 \012'
5018 lt_NL2SP='tr \015\012 \040\040'
5020 *) # EBCDIC based system
5021 lt_SP2NL='tr \100 \n'
5022 lt_NL2SP='tr \r\n \100\100'
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5035 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5036 if ${lt_cv_to_host_file_cmd+:} false; then :
5037 $as_echo_n "(cached
) " >&6
5042 *-*-mingw* ) # actually msys
5043 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5046 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5048 * ) # otherwise, assume *nix
5049 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5055 *-*-mingw* ) # actually msys
5056 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5059 lt_cv_to_host_file_cmd=func_convert_file_noop
5061 * ) # otherwise, assume *nix
5062 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5066 * ) # unhandled hosts (and "normal
" native builds)
5067 lt_cv_to_host_file_cmd=func_convert_file_noop
5073 to_host_file_cmd=$lt_cv_to_host_file_cmd
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5075 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5082 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5083 if ${lt_cv_to_tool_file_cmd+:} false; then :
5084 $as_echo_n "(cached
) " >&6
5086 #assume ordinary cross tools, or native build.
5087 lt_cv_to_tool_file_cmd=func_convert_file_noop
5091 *-*-mingw* ) # actually msys
5092 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5100 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5102 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5109 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5110 if ${lt_cv_ld_reload_flag+:} false; then :
5111 $as_echo_n "(cached
) " >&6
5113 lt_cv_ld_reload_flag='-r'
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5116 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5117 reload_flag=$lt_cv_ld_reload_flag
5118 case $reload_flag in
5120 *) reload_flag=" $reload_flag" ;;
5122 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5124 cygwin* | mingw* | pw32* | cegcc*)
5125 if test yes != "$GCC"; then
5130 if test yes = "$GCC"; then
5131 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5133 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5146 if test -n "$ac_tool_prefix"; then
5147 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5148 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5150 $as_echo_n "checking
for $ac_word...
" >&6; }
5151 if ${ac_cv_prog_OBJDUMP+:} false; then :
5152 $as_echo_n "(cached
) " >&6
5154 if test -n "$OBJDUMP"; then
5155 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 test -z "$as_dir" && as_dir=.
5162 for ac_exec_ext in '' $ac_executable_extensions; do
5163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5164 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5174 OBJDUMP=$ac_cv_prog_OBJDUMP
5175 if test -n "$OBJDUMP"; then
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5177 $as_echo "$OBJDUMP" >&6; }
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5180 $as_echo "no
" >&6; }
5185 if test -z "$ac_cv_prog_OBJDUMP"; then
5186 ac_ct_OBJDUMP=$OBJDUMP
5187 # Extract the first word of "objdump
", so it can be a program name with args.
5188 set dummy objdump; ac_word=$2
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5190 $as_echo_n "checking
for $ac_word...
" >&6; }
5191 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5192 $as_echo_n "(cached
) " >&6
5194 if test -n "$ac_ct_OBJDUMP"; then
5195 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5201 test -z "$as_dir" && as_dir=.
5202 for ac_exec_ext in '' $ac_executable_extensions; do
5203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5204 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5214 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5215 if test -n "$ac_ct_OBJDUMP"; then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5217 $as_echo "$ac_ct_OBJDUMP" >&6; }
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5220 $as_echo "no
" >&6; }
5223 if test "x
$ac_ct_OBJDUMP" = x; then
5226 case $cross_compiling:$ac_tool_warned in
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5229 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5230 ac_tool_warned=yes ;;
5232 OBJDUMP=$ac_ct_OBJDUMP
5235 OBJDUMP="$ac_cv_prog_OBJDUMP"
5238 test -z "$OBJDUMP" && OBJDUMP=objdump
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5249 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5250 if ${lt_cv_deplibs_check_method+:} false; then :
5251 $as_echo_n "(cached
) " >&6
5253 lt_cv_file_magic_cmd='$MAGIC_CMD'
5254 lt_cv_file_magic_test_file=
5255 lt_cv_deplibs_check_method='unknown'
5256 # Need to set the preceding variable on all platforms that support
5257 # interlibrary dependencies.
5258 # 'none' -- dependencies not supported.
5259 # 'unknown' -- same as none, but documents that we really don't know.
5260 # 'pass_all' -- all dependencies passed with no checks.
5261 # 'test_compile' -- check by making test program.
5262 # 'file_magic [[regex]]' -- check by looking for files in library path
5263 # that responds to the $file_magic_cmd with a given extended regex.
5264 # If you have 'file' or equivalent on your system and you're not sure
5265 # whether 'pass_all' will *always* work, you probably want this one.
5269 lt_cv_deplibs_check_method=pass_all
5273 lt_cv_deplibs_check_method=pass_all
5277 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5278 lt_cv_file_magic_cmd='/usr/bin/file -L'
5279 lt_cv_file_magic_test_file=/shlib/libc.so
5283 # func_win32_libid is a shell function defined in ltmain.sh
5284 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5285 lt_cv_file_magic_cmd='func_win32_libid'
5289 # Base MSYS/MinGW do not provide the 'file' command needed by
5290 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5291 # unless we find 'file', for example because we are cross-compiling.
5292 if ( file / ) >/dev/null 2>&1; then
5293 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5294 lt_cv_file_magic_cmd='func_win32_libid'
5296 # Keep this pattern in sync with the one in func_win32_libid.
5297 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5298 lt_cv_file_magic_cmd='$OBJDUMP -f'
5303 # use the weaker test based on 'objdump'. See mingw*.
5304 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5305 lt_cv_file_magic_cmd='$OBJDUMP -f'
5308 darwin* | rhapsody*)
5309 lt_cv_deplibs_check_method=pass_all
5312 freebsd* | dragonfly*)
5313 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5316 # Not sure whether the presence of OpenBSD here was a mistake.
5317 # Let's accept both of them until this is cleared up.
5318 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5319 lt_cv_file_magic_cmd=/usr/bin/file
5320 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5324 lt_cv_deplibs_check_method=pass_all
5329 lt_cv_deplibs_check_method=pass_all
5332 hpux10.20* | hpux11*)
5333 lt_cv_file_magic_cmd=/usr/bin/file
5336 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5337 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5340 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]'
5341 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5344 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5345 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5351 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5355 irix5* | irix6* | nonstopux*)
5357 *-32|*"-32 ") libmagic=32-bit;;
5358 *-n32|*"-n32 ") libmagic=N32;;
5359 *-64|*"-64 ") libmagic=64-bit;;
5360 *) libmagic=never-match;;
5362 lt_cv_deplibs_check_method=pass_all
5365 # This must be glibc/ELF.
5366 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5367 lt_cv_deplibs_check_method=pass_all
5371 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5372 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5374 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5379 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5380 lt_cv_file_magic_cmd=/usr/bin/file
5381 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5385 lt_cv_deplibs_check_method=pass_all
5389 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5390 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5392 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5396 osf3* | osf4* | osf5*)
5397 lt_cv_deplibs_check_method=pass_all
5401 lt_cv_deplibs_check_method=pass_all
5405 lt_cv_deplibs_check_method=pass_all
5408 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5409 lt_cv_deplibs_check_method=pass_all
5413 case $host_vendor in
5415 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]'
5416 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5419 lt_cv_deplibs_check_method=pass_all
5422 lt_cv_file_magic_cmd='/bin/file'
5423 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5426 lt_cv_file_magic_cmd='/bin/file'
5427 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5428 lt_cv_file_magic_test_file=/lib/libc.so
5431 lt_cv_deplibs_check_method=pass_all
5434 lt_cv_deplibs_check_method=pass_all
5440 lt_cv_deplibs_check_method=pass_all
5443 lt_cv_deplibs_check_method=pass_all
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5449 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5453 if test "$build" = "$host"; then
5456 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5459 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5465 file_magic_cmd=$lt_cv_file_magic_cmd
5466 deplibs_check_method=$lt_cv_deplibs_check_method
5467 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5490 if test -n "$ac_tool_prefix"; then
5491 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5492 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5494 $as_echo_n "checking
for $ac_word...
" >&6; }
5495 if ${ac_cv_prog_DLLTOOL+:} false; then :
5496 $as_echo_n "(cached
) " >&6
5498 if test -n "$DLLTOOL"; then
5499 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5508 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5518 DLLTOOL=$ac_cv_prog_DLLTOOL
5519 if test -n "$DLLTOOL"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5521 $as_echo "$DLLTOOL" >&6; }
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5524 $as_echo "no
" >&6; }
5529 if test -z "$ac_cv_prog_DLLTOOL"; then
5530 ac_ct_DLLTOOL=$DLLTOOL
5531 # Extract the first word of "dlltool
", so it can be a program name with args.
5532 set dummy dlltool; ac_word=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5534 $as_echo_n "checking
for $ac_word...
" >&6; }
5535 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5536 $as_echo_n "(cached
) " >&6
5538 if test -n "$ac_ct_DLLTOOL"; then
5539 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545 test -z "$as_dir" && as_dir=.
5546 for ac_exec_ext in '' $ac_executable_extensions; do
5547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5548 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5558 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5559 if test -n "$ac_ct_DLLTOOL"; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5561 $as_echo "$ac_ct_DLLTOOL" >&6; }
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5564 $as_echo "no
" >&6; }
5567 if test "x
$ac_ct_DLLTOOL" = x; then
5570 case $cross_compiling:$ac_tool_warned in
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5573 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5574 ac_tool_warned=yes ;;
5576 DLLTOOL=$ac_ct_DLLTOOL
5579 DLLTOOL="$ac_cv_prog_DLLTOOL"
5582 test -z "$DLLTOOL" && DLLTOOL=dlltool
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5594 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5595 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5596 $as_echo_n "(cached
) " >&6
5598 lt_cv_sharedlib_from_linklib_cmd='unknown'
5601 cygwin* | mingw* | pw32* | cegcc*)
5602 # two different shell functions defined in ltmain.sh;
5603 # decide which one to use based on capabilities of $DLLTOOL
5604 case `$DLLTOOL --help 2>&1` in
5605 *--identify-strict*)
5606 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5609 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5614 # fallback: assume linklib IS sharedlib
5615 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5621 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5622 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5623 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5632 if test -n "$ac_tool_prefix"; then
5635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5638 $as_echo_n "checking
for $ac_word...
" >&6; }
5639 if ${ac_cv_prog_AR+:} false; then :
5640 $as_echo_n "(cached
) " >&6
5642 if test -n "$AR"; then
5643 ac_cv_prog_AR="$AR" # Let the user override the test.
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir=.
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5653 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5663 if test -n "$AR"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5665 $as_echo "$AR" >&6; }
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5668 $as_echo "no
" >&6; }
5672 test -n "$AR" && break
5675 if test -z "$AR"; then
5679 # Extract the first word of "$ac_prog", so it can be a program name with args.
5680 set dummy $ac_prog; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5682 $as_echo_n "checking
for $ac_word...
" >&6; }
5683 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5684 $as_echo_n "(cached
) " >&6
5686 if test -n "$ac_ct_AR"; then
5687 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_ac_ct_AR="$ac_prog"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5706 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5707 if test -n "$ac_ct_AR"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5709 $as_echo "$ac_ct_AR" >&6; }
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5712 $as_echo "no
" >&6; }
5716 test -n "$ac_ct_AR" && break
5719 if test "x
$ac_ct_AR" = x; then
5722 case $cross_compiling:$ac_tool_warned in
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5725 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5726 ac_tool_warned=yes ;;
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5746 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5747 if ${lt_cv_ar_at_file+:} false; then :
5748 $as_echo_n "(cached
) " >&6
5751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5752 /* end confdefs.h. */
5762 if ac_fn_c_try_compile "$LINENO"; then :
5763 echo conftest.$ac_objext > conftest.lst
5764 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5765 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5766 (eval $lt_ar_try) 2>&5
5768 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5769 test $ac_status = 0; }
5770 if test 0 -eq "$ac_status"; then
5771 # Ensure the archiver fails upon bogus file names.
5772 rm -f conftest.$ac_objext libconftest.a
5773 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5774 (eval $lt_ar_try) 2>&5
5776 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5777 test $ac_status = 0; }
5778 if test 0 -ne "$ac_status"; then
5782 rm -f conftest.* libconftest.a
5785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5789 $as_echo "$lt_cv_ar_at_file" >&6; }
5791 if test no = "$lt_cv_ar_at_file"; then
5794 archiver_list_spec=$lt_cv_ar_at_file
5803 if test -n "$ac_tool_prefix"; then
5804 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5805 set dummy ${ac_tool_prefix}strip; ac_word=$2
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5807 $as_echo_n "checking
for $ac_word...
" >&6; }
5808 if ${ac_cv_prog_STRIP+:} false; then :
5809 $as_echo_n "(cached
) " >&6
5811 if test -n "$STRIP"; then
5812 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 test -z "$as_dir" && as_dir=.
5819 for ac_exec_ext in '' $ac_executable_extensions; do
5820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5821 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5831 STRIP=$ac_cv_prog_STRIP
5832 if test -n "$STRIP"; then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5834 $as_echo "$STRIP" >&6; }
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5837 $as_echo "no
" >&6; }
5842 if test -z "$ac_cv_prog_STRIP"; then
5844 # Extract the first word of "strip
", so it can be a program name with args.
5845 set dummy strip; ac_word=$2
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5847 $as_echo_n "checking
for $ac_word...
" >&6; }
5848 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5849 $as_echo_n "(cached
) " >&6
5851 if test -n "$ac_ct_STRIP"; then
5852 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 test -z "$as_dir" && as_dir=.
5859 for ac_exec_ext in '' $ac_executable_extensions; do
5860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861 ac_cv_prog_ac_ct_STRIP="strip
"
5862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5871 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5872 if test -n "$ac_ct_STRIP"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5874 $as_echo "$ac_ct_STRIP" >&6; }
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5877 $as_echo "no
" >&6; }
5880 if test "x
$ac_ct_STRIP" = x; then
5883 case $cross_compiling:$ac_tool_warned in
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5886 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5887 ac_tool_warned=yes ;;
5892 STRIP="$ac_cv_prog_STRIP"
5895 test -z "$STRIP" && STRIP=:
5902 if test -n "$ac_tool_prefix"; then
5903 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5904 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5906 $as_echo_n "checking
for $ac_word...
" >&6; }
5907 if ${ac_cv_prog_RANLIB+:} false; then :
5908 $as_echo_n "(cached
) " >&6
5910 if test -n "$RANLIB"; then
5911 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 test -z "$as_dir" && as_dir=.
5918 for ac_exec_ext in '' $ac_executable_extensions; do
5919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5920 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5930 RANLIB=$ac_cv_prog_RANLIB
5931 if test -n "$RANLIB"; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5933 $as_echo "$RANLIB" >&6; }
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5936 $as_echo "no
" >&6; }
5941 if test -z "$ac_cv_prog_RANLIB"; then
5942 ac_ct_RANLIB=$RANLIB
5943 # Extract the first word of "ranlib
", so it can be a program name with args.
5944 set dummy ranlib; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5946 $as_echo_n "checking
for $ac_word...
" >&6; }
5947 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5948 $as_echo_n "(cached
) " >&6
5950 if test -n "$ac_ct_RANLIB"; then
5951 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957 test -z "$as_dir" && as_dir=.
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5960 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5970 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5971 if test -n "$ac_ct_RANLIB"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5973 $as_echo "$ac_ct_RANLIB" >&6; }
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5976 $as_echo "no
" >&6; }
5979 if test "x
$ac_ct_RANLIB" = x; then
5982 case $cross_compiling:$ac_tool_warned in
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5985 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5986 ac_tool_warned=yes ;;
5988 RANLIB=$ac_ct_RANLIB
5991 RANLIB="$ac_cv_prog_RANLIB"
5994 test -z "$RANLIB" && RANLIB=:
6001 # Determine commands to create old-style static archives.
6002 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6003 old_postinstall_cmds='chmod 644 $oldlib'
6004 old_postuninstall_cmds=
6006 if test -n "$RANLIB"; then
6009 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6012 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6015 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6020 lock_old_archive_extraction=yes ;;
6022 lock_old_archive_extraction=no ;;
6063 # If no C compiler was specified, use CC.
6066 # If no C compiler flags were specified, use CFLAGS.
6067 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6069 # Allow CC to be a program name with arguments.
6073 # Check for command to grab the raw symbol name followed by C symbol from nm.
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6075 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6076 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6077 $as_echo_n "(cached
) " >&6
6080 # These are sane defaults that work on at least a few old systems.
6081 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6083 # Character class describing NM global symbol codes.
6084 symcode='[BCDEGRST]'
6086 # Regexp to match symbols that can be accessed directly from C.
6087 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6089 # Define system-specific variables.
6094 cygwin* | mingw* | pw32* | cegcc*)
6095 symcode='[ABCDGISTW]'
6098 if test ia64 = "$host_cpu"; then
6099 symcode='[ABCDEGRST]'
6103 symcode='[BCDEGRST]'
6106 symcode='[BCDEGQRST]'
6117 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6125 # If we're using GNU nm, then use its standard symbol codes.
6126 case `$NM -V 2>&1` in
6127 *GNU* | *'with BFD'*)
6128 symcode='[ABCDGIRSTW]' ;;
6131 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6132 # Gets list of data symbols to import.
6133 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6134 # Adjust the below global symbol transforms to fixup imported variables.
6135 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6136 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6137 lt_c_name_lib_hook="\
6138 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6139 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6141 # Disable hooks by default.
6142 lt_cv_sys_global_symbol_to_import=
6148 # Transform an extracted symbol line into a proper C declaration.
6149 # Some systems (esp. on ia64) link data and code symbols differently,
6150 # so use this general approach.
6151 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6153 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6154 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6156 # Transform an extracted symbol line into symbol name and symbol address
6157 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6159 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6160 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6162 # Transform an extracted symbol line into symbol name with lib prefix and
6164 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6165 $lt_c_name_lib_hook\
6166 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6167 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6168 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6170 # Handle CRLF in mingw tool chain
6174 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6178 # Try without a prefix underscore, then with it.
6179 for ac_symprfx in "" "_
"; do
6181 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6182 symxfrm="\\1 $ac_symprfx\\2 \\2"
6184 # Write the raw and C identifiers.
6185 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6186 # Fake it for dumpbin and say T for any non-static function,
6187 # D for any global variable and I for any imported variable.
6188 # Also find C++ and __fastcall symbols from MSVC++,
6189 # which start with @ or ?.
6190 lt_cv_sys_global_symbol_pipe="$AWK '"\
6191 " {last_section=section; section=\$ 3};"\
6192 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6193 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6194 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6195 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6196 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6197 " \$ 0!~/External *\|/{next};"\
6198 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6199 " {if(hide[section]) next};"\
6200 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6201 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6202 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6203 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6204 " ' prfx
=^
$ac_symprfx"
6206 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6208 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6210 # Check to see that the pipe works correctly.
6214 cat > conftest.$ac_ext <<_LT_EOF
6219 void nm_test_func(void);
6220 void nm_test_func(void){}
6224 int main(){nm_test_var='a';nm_test_func();return(0);}
6227 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6228 (eval $ac_compile) 2>&5
6230 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6231 test $ac_status = 0; }; then
6232 # Now try to grab the symbols.
6234 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6235 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6237 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6238 test $ac_status = 0; } && test -s "$nlist"; then
6239 # Try sorting and uniquifying the output.
6240 if sort "$nlist" | uniq > "$nlist"T; then
6241 mv -f "$nlist"T "$nlist"
6246 # Make sure that we snagged all the symbols we need.
6247 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6248 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6249 cat <<_LT_EOF > conftest.$ac_ext
6250 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6251 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6252 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6253 relocations are performed -- see ld's documentation on pseudo-relocs. */
6254 # define LT_DLSYM_CONST
6255 #elif defined __osf__
6256 /* This system does not cope well with relocations in const data. */
6257 # define LT_DLSYM_CONST
6259 # define LT_DLSYM_CONST const
6267 # Now generate the symbol file.
6268 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6270 cat <<_LT_EOF >> conftest.$ac_ext
6272 /* The mapping between symbol names and symbols. */
6273 LT_DLSYM_CONST struct {
6277 lt__PROGRAM__LTX_preloaded_symbols[] =
6279 { "@PROGRAM@
", (void *) 0 },
6281 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6282 cat <<\_LT_EOF >> conftest.$ac_ext
6286 /* This works around a problem in FreeBSD linker */
6287 #ifdef FREEBSD_WORKAROUND
6288 static const void *lt_preloaded_setup() {
6289 return lt__PROGRAM__LTX_preloaded_symbols;
6297 # Now try linking the two files.
6298 mv conftest.$ac_objext conftstm.$ac_objext
6299 lt_globsym_save_LIBS=$LIBS
6300 lt_globsym_save_CFLAGS=$CFLAGS
6301 LIBS=conftstm.$ac_objext
6302 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6303 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6304 (eval $ac_link) 2>&5
6306 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6307 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6310 LIBS=$lt_globsym_save_LIBS
6311 CFLAGS=$lt_globsym_save_CFLAGS
6313 echo "cannot
find nm_test_func
in $nlist" >&5
6316 echo "cannot
find nm_test_var
in $nlist" >&5
6319 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6322 echo "$progname: failed program was
:" >&5
6323 cat conftest.$ac_ext >&5
6325 rm -rf conftest* conftst*
6327 # Do not use the global_symbol_pipe unless it works.
6328 if test yes = "$pipe_works"; then
6331 lt_cv_sys_global_symbol_pipe=
6337 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6338 lt_cv_sys_global_symbol_to_cdecl=
6340 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6342 $as_echo "failed
" >&6; }
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6345 $as_echo "ok
" >&6; }
6348 # Response file support.
6349 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6350 nm_file_list_spec='@'
6351 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6352 nm_file_list_spec='@'
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6392 $as_echo_n "checking
for sysroot...
" >&6; }
6394 # Check whether --with-sysroot was given.
6395 if test "${with_sysroot+set}" = set; then :
6396 withval=$with_sysroot;
6403 case $with_sysroot in #(
6405 if test yes = "$GCC"; then
6406 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6410 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6416 $as_echo "$with_sysroot" >&6; }
6417 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6422 $as_echo "${lt_sysroot:-no}" >&6; }
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6429 $as_echo_n "checking
for a working
dd...
" >&6; }
6430 if ${ac_cv_path_lt_DD+:} false; then :
6431 $as_echo_n "(cached
) " >&6
6433 printf 0123456789abcdef0123456789abcdef >conftest.i
6434 cat conftest.i conftest.i >conftest2.i
6436 if test -z "$lt_DD"; then
6437 ac_path_lt_DD_found=false
6438 # Loop through the user's path and test for each of PROGNAME-LIST
6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 test -z "$as_dir" && as_dir=.
6444 for ac_prog in dd; do
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6447 as_fn_executable_p "$ac_path_lt_DD" || continue
6448 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6449 cmp -s conftest.i conftest.out \
6450 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6452 $ac_path_lt_DD_found && break 3
6457 if test -z "$ac_cv_path_lt_DD"; then
6461 ac_cv_path_lt_DD=$lt_DD
6464 rm -f conftest.i conftest2.i conftest.out
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6467 $as_echo "$ac_cv_path_lt_DD" >&6; }
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6471 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6472 if ${lt_cv_truncate_bin+:} false; then :
6473 $as_echo_n "(cached
) " >&6
6475 printf 0123456789abcdef0123456789abcdef >conftest.i
6476 cat conftest.i conftest.i >conftest2.i
6478 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6479 cmp -s conftest.i conftest.out \
6480 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6482 rm -f conftest.i conftest2.i conftest.out
6483 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6486 $as_echo "$lt_cv_truncate_bin" >&6; }
6494 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6497 for cc_temp in $*""; do
6499 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6500 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6505 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6508 # Check whether --enable-libtool-lock was given.
6509 if test "${enable_libtool_lock+set}" = set; then :
6510 enableval=$enable_libtool_lock;
6513 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6515 # Some flags need to be propagated to the compiler or linker for good
6519 # Find out what ABI is being produced by ac_compile, and set mode
6520 # options accordingly.
6521 echo 'int i;' > conftest.$ac_ext
6522 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6523 (eval $ac_compile) 2>&5
6525 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6526 test $ac_status = 0; }; then
6527 case `/usr/bin/file conftest.$ac_objext` in
6539 # Find out what ABI is being produced by ac_compile, and set linker
6540 # options accordingly.
6541 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6542 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6543 (eval $ac_compile) 2>&5
6545 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6546 test $ac_status = 0; }; then
6547 if test yes = "$lt_cv_prog_gnu_ld"; then
6548 case `/usr/bin/file conftest.$ac_objext` in
6550 LD="${LD-ld} -melf32bsmip"
6553 LD="${LD-ld} -melf32bmipn32"
6556 LD="${LD-ld} -melf64bmip"
6560 case `/usr/bin/file conftest.$ac_objext` in
6577 # Find out what ABI is being produced by ac_compile, and set linker
6578 # options accordingly.
6579 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6580 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6581 (eval $ac_compile) 2>&5
6583 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6584 test $ac_status = 0; }; then
6586 case `/usr/bin/file conftest.$ac_objext` in
6594 case `/usr/bin/file conftest.$ac_objext` in
6596 emul="${emul}btsmip
"
6599 emul="${emul}ltsmip
"
6602 case `/usr/bin/file conftest.$ac_objext` in
6607 LD="${LD-ld} -m $emul"
6612 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6613 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6614 # Find out what ABI is being produced by ac_compile, and set linker
6615 # options accordingly. Note that the listed cases only cover the
6616 # situations where additional linker options are needed (such as when
6617 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6618 # vice versa); the common cases where no linker options are needed do
6619 # not appear in the list.
6620 echo 'int i;' > conftest.$ac_ext
6621 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6622 (eval $ac_compile) 2>&5
6624 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6625 test $ac_status = 0; }; then
6626 case `/usr/bin/file conftest.o` in
6629 x86_64-*kfreebsd*-gnu)
6630 LD="${LD-ld} -m elf_i386_fbsd
"
6633 case `/usr/bin/file conftest.o` in
6635 LD="${LD-ld} -m elf32_x86_64
"
6638 LD="${LD-ld} -m elf_i386
"
6642 powerpc64le-*linux*)
6643 LD="${LD-ld} -m elf32lppclinux
"
6646 LD="${LD-ld} -m elf32ppclinux
"
6649 LD="${LD-ld} -m elf_s390
"
6652 LD="${LD-ld} -m elf32_sparc
"
6658 x86_64-*kfreebsd*-gnu)
6659 LD="${LD-ld} -m elf_x86_64_fbsd
"
6662 LD="${LD-ld} -m elf_x86_64
"
6665 LD="${LD-ld} -m elf64lppc
"
6668 LD="${LD-ld} -m elf64ppc
"
6670 s390*-*linux*|s390*-*tpf*)
6671 LD="${LD-ld} -m elf64_s390
"
6674 LD="${LD-ld} -m elf64_sparc
"
6684 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6686 CFLAGS="$CFLAGS -belf"
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6688 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6689 if ${lt_cv_cc_needs_belf+:} false; then :
6690 $as_echo_n "(cached
) " >&6
6693 ac_cpp='$CPP $CPPFLAGS'
6694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h. */
6709 if ac_fn_c_try_link "$LINENO"; then :
6710 lt_cv_cc_needs_belf=yes
6712 lt_cv_cc_needs_belf=no
6714 rm -f core conftest.err conftest.$ac_objext \
6715 conftest$ac_exeext conftest.$ac_ext
6717 ac_cpp='$CPP $CPPFLAGS'
6718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6724 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6725 if test yes != "$lt_cv_cc_needs_belf"; then
6726 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6731 # Find out what ABI is being produced by ac_compile, and set linker
6732 # options accordingly.
6733 echo 'int i;' > conftest.$ac_ext
6734 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6735 (eval $ac_compile) 2>&5
6737 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6738 test $ac_status = 0; }; then
6739 case `/usr/bin/file conftest.o` in
6741 case $lt_cv_prog_gnu_ld in
6744 i?86-*-solaris*|x86_64-*-solaris*)
6745 LD="${LD-ld} -m elf_x86_64
"
6748 LD="${LD-ld} -m elf64_sparc
"
6751 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6752 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6757 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6769 need_locks=$enable_libtool_lock
6771 if test -n "$ac_tool_prefix"; then
6772 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6773 set dummy ${ac_tool_prefix}mt; ac_word=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6775 $as_echo_n "checking
for $ac_word...
" >&6; }
6776 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6777 $as_echo_n "(cached
) " >&6
6779 if test -n "$MANIFEST_TOOL"; then
6780 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 test -z "$as_dir" && as_dir=.
6787 for ac_exec_ext in '' $ac_executable_extensions; do
6788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6799 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6800 if test -n "$MANIFEST_TOOL"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6802 $as_echo "$MANIFEST_TOOL" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6805 $as_echo "no
" >&6; }
6810 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6811 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6812 # Extract the first word of "mt
", so it can be a program name with args.
6813 set dummy mt; ac_word=$2
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6815 $as_echo_n "checking
for $ac_word...
" >&6; }
6816 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6817 $as_echo_n "(cached
) " >&6
6819 if test -n "$ac_ct_MANIFEST_TOOL"; then
6820 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6826 test -z "$as_dir" && as_dir=.
6827 for ac_exec_ext in '' $ac_executable_extensions; do
6828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6829 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6839 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6840 if test -n "$ac_ct_MANIFEST_TOOL"; then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6842 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6845 $as_echo "no
" >&6; }
6848 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6851 case $cross_compiling:$ac_tool_warned in
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6854 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6855 ac_tool_warned=yes ;;
6857 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6860 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6863 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6865 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6866 if ${lt_cv_path_mainfest_tool+:} false; then :
6867 $as_echo_n "(cached
) " >&6
6869 lt_cv_path_mainfest_tool=no
6870 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6871 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6872 cat conftest.err >&5
6873 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6874 lt_cv_path_mainfest_tool=yes
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6879 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6880 if test yes != "$lt_cv_path_mainfest_tool"; then
6890 rhapsody* | darwin*)
6891 if test -n "$ac_tool_prefix"; then
6892 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6893 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6895 $as_echo_n "checking
for $ac_word...
" >&6; }
6896 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6897 $as_echo_n "(cached
) " >&6
6899 if test -n "$DSYMUTIL"; then
6900 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6919 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6920 if test -n "$DSYMUTIL"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6922 $as_echo "$DSYMUTIL" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6925 $as_echo "no
" >&6; }
6930 if test -z "$ac_cv_prog_DSYMUTIL"; then
6931 ac_ct_DSYMUTIL=$DSYMUTIL
6932 # Extract the first word of "dsymutil
", so it can be a program name with args.
6933 set dummy dsymutil; ac_word=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6935 $as_echo_n "checking
for $ac_word...
" >&6; }
6936 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6937 $as_echo_n "(cached
) " >&6
6939 if test -n "$ac_ct_DSYMUTIL"; then
6940 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir=.
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6949 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6959 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6960 if test -n "$ac_ct_DSYMUTIL"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6962 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6965 $as_echo "no
" >&6; }
6968 if test "x
$ac_ct_DSYMUTIL" = x; then
6971 case $cross_compiling:$ac_tool_warned in
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6974 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6975 ac_tool_warned=yes ;;
6977 DSYMUTIL=$ac_ct_DSYMUTIL
6980 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6983 if test -n "$ac_tool_prefix"; then
6984 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6985 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6987 $as_echo_n "checking
for $ac_word...
" >&6; }
6988 if ${ac_cv_prog_NMEDIT+:} false; then :
6989 $as_echo_n "(cached
) " >&6
6991 if test -n "$NMEDIT"; then
6992 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7011 NMEDIT=$ac_cv_prog_NMEDIT
7012 if test -n "$NMEDIT"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7014 $as_echo "$NMEDIT" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7017 $as_echo "no
" >&6; }
7022 if test -z "$ac_cv_prog_NMEDIT"; then
7023 ac_ct_NMEDIT=$NMEDIT
7024 # Extract the first word of "nmedit
", so it can be a program name with args.
7025 set dummy nmedit; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7027 $as_echo_n "checking
for $ac_word...
" >&6; }
7028 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7029 $as_echo_n "(cached
) " >&6
7031 if test -n "$ac_ct_NMEDIT"; then
7032 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 test -z "$as_dir" && as_dir=.
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7041 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7051 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7052 if test -n "$ac_ct_NMEDIT"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7054 $as_echo "$ac_ct_NMEDIT" >&6; }
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7057 $as_echo "no
" >&6; }
7060 if test "x
$ac_ct_NMEDIT" = x; then
7063 case $cross_compiling:$ac_tool_warned in
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7066 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7067 ac_tool_warned=yes ;;
7069 NMEDIT=$ac_ct_NMEDIT
7072 NMEDIT="$ac_cv_prog_NMEDIT"
7075 if test -n "$ac_tool_prefix"; then
7076 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7077 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7079 $as_echo_n "checking
for $ac_word...
" >&6; }
7080 if ${ac_cv_prog_LIPO+:} false; then :
7081 $as_echo_n "(cached
) " >&6
7083 if test -n "$LIPO"; then
7084 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7093 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7103 LIPO=$ac_cv_prog_LIPO
7104 if test -n "$LIPO"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7106 $as_echo "$LIPO" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7109 $as_echo "no
" >&6; }
7114 if test -z "$ac_cv_prog_LIPO"; then
7116 # Extract the first word of "lipo
", so it can be a program name with args.
7117 set dummy lipo; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7119 $as_echo_n "checking
for $ac_word...
" >&6; }
7120 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7121 $as_echo_n "(cached
) " >&6
7123 if test -n "$ac_ct_LIPO"; then
7124 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_ac_ct_LIPO="lipo
"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7143 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7144 if test -n "$ac_ct_LIPO"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7146 $as_echo "$ac_ct_LIPO" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7149 $as_echo "no
" >&6; }
7152 if test "x
$ac_ct_LIPO" = x; then
7155 case $cross_compiling:$ac_tool_warned in
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7158 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7159 ac_tool_warned=yes ;;
7164 LIPO="$ac_cv_prog_LIPO"
7167 if test -n "$ac_tool_prefix"; then
7168 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7169 set dummy ${ac_tool_prefix}otool; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7171 $as_echo_n "checking
for $ac_word...
" >&6; }
7172 if ${ac_cv_prog_OTOOL+:} false; then :
7173 $as_echo_n "(cached
) " >&6
7175 if test -n "$OTOOL"; then
7176 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 test -z "$as_dir" && as_dir=.
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7195 OTOOL=$ac_cv_prog_OTOOL
7196 if test -n "$OTOOL"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7198 $as_echo "$OTOOL" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7201 $as_echo "no
" >&6; }
7206 if test -z "$ac_cv_prog_OTOOL"; then
7208 # Extract the first word of "otool
", so it can be a program name with args.
7209 set dummy otool; ac_word=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7211 $as_echo_n "checking
for $ac_word...
" >&6; }
7212 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7213 $as_echo_n "(cached
) " >&6
7215 if test -n "$ac_ct_OTOOL"; then
7216 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 test -z "$as_dir" && as_dir=.
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7225 ac_cv_prog_ac_ct_OTOOL="otool
"
7226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7235 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7236 if test -n "$ac_ct_OTOOL"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7238 $as_echo "$ac_ct_OTOOL" >&6; }
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7241 $as_echo "no
" >&6; }
7244 if test "x
$ac_ct_OTOOL" = x; then
7247 case $cross_compiling:$ac_tool_warned in
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7250 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7251 ac_tool_warned=yes ;;
7256 OTOOL="$ac_cv_prog_OTOOL"
7259 if test -n "$ac_tool_prefix"; then
7260 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7261 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7263 $as_echo_n "checking
for $ac_word...
" >&6; }
7264 if ${ac_cv_prog_OTOOL64+:} false; then :
7265 $as_echo_n "(cached
) " >&6
7267 if test -n "$OTOOL64"; then
7268 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7287 OTOOL64=$ac_cv_prog_OTOOL64
7288 if test -n "$OTOOL64"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7290 $as_echo "$OTOOL64" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7293 $as_echo "no
" >&6; }
7298 if test -z "$ac_cv_prog_OTOOL64"; then
7299 ac_ct_OTOOL64=$OTOOL64
7300 # Extract the first word of "otool64
", so it can be a program name with args.
7301 set dummy otool64; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7303 $as_echo_n "checking
for $ac_word...
" >&6; }
7304 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7305 $as_echo_n "(cached
) " >&6
7307 if test -n "$ac_ct_OTOOL64"; then
7308 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 test -z "$as_dir" && as_dir=.
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7317 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7327 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7328 if test -n "$ac_ct_OTOOL64"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7330 $as_echo "$ac_ct_OTOOL64" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7333 $as_echo "no
" >&6; }
7336 if test "x
$ac_ct_OTOOL64" = x; then
7339 case $cross_compiling:$ac_tool_warned in
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7342 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7343 ac_tool_warned=yes ;;
7345 OTOOL64=$ac_ct_OTOOL64
7348 OTOOL64="$ac_cv_prog_OTOOL64"
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7378 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7379 if ${lt_cv_apple_cc_single_mod+:} false; then :
7380 $as_echo_n "(cached
) " >&6
7382 lt_cv_apple_cc_single_mod=no
7383 if test -z "$LT_MULTI_MODULE"; then
7384 # By default we will add the -single_module flag. You can override
7385 # by either setting the environment variable LT_MULTI_MODULE
7386 # non-empty at configure time, or by adding -multi_module to the
7388 rm -rf libconftest.dylib*
7389 echo "int foo
(void
){return 1;}" > conftest.c
7390 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7391 -dynamiclib -Wl,-single_module conftest.c
" >&5
7392 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7393 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7395 # If there is a non-empty error log, and "single_module
"
7396 # appears in it, assume the flag caused a linker warning
7397 if test -s conftest.err && $GREP single_module conftest.err; then
7398 cat conftest.err >&5
7399 # Otherwise, if the output was created with a 0 exit code from
7400 # the compiler, it worked.
7401 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7402 lt_cv_apple_cc_single_mod=yes
7404 cat conftest.err >&5
7406 rm -rf libconftest.dylib*
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7411 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7414 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7415 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7416 $as_echo_n "(cached
) " >&6
7418 lt_cv_ld_exported_symbols_list=no
7419 save_LDFLAGS=$LDFLAGS
7420 echo "_main
" > conftest.sym
7421 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7423 /* end confdefs.h. */
7433 if ac_fn_c_try_link "$LINENO"; then :
7434 lt_cv_ld_exported_symbols_list=yes
7436 lt_cv_ld_exported_symbols_list=no
7438 rm -f core conftest.err conftest.$ac_objext \
7439 conftest$ac_exeext conftest.$ac_ext
7440 LDFLAGS=$save_LDFLAGS
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7444 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7447 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7448 if ${lt_cv_ld_force_load+:} false; then :
7449 $as_echo_n "(cached
) " >&6
7451 lt_cv_ld_force_load=no
7452 cat > conftest.c << _LT_EOF
7453 int forced_loaded() { return 2;}
7455 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7456 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7457 echo "$AR cru libconftest.a conftest.o
" >&5
7458 $AR cru libconftest.a conftest.o 2>&5
7459 echo "$RANLIB libconftest.a
" >&5
7460 $RANLIB libconftest.a 2>&5
7461 cat > conftest.c << _LT_EOF
7462 int main() { return 0;}
7464 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7465 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7467 if test -s conftest.err && $GREP force_load conftest.err; then
7468 cat conftest.err >&5
7469 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7470 lt_cv_ld_force_load=yes
7472 cat conftest.err >&5
7474 rm -f conftest.err libconftest.a conftest conftest.c
7475 rm -rf conftest.dSYM
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7479 $as_echo "$lt_cv_ld_force_load" >&6; }
7481 rhapsody* | darwin1.[012])
7482 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7484 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7485 darwin*) # darwin 5.x on
7486 # if running on 10.5 or later, the deployment target defaults
7487 # to the OS version, if on x86, and 10.4, the deployment
7488 # target defaults to 10.4. Don't you love it?
7489 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7490 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7491 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7493 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7495 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7499 if test yes = "$lt_cv_apple_cc_single_mod"; then
7500 _lt_dar_single_mod='$single_module'
7502 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7503 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7505 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7507 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7508 _lt_dsymutil='~$DSYMUTIL $lib || :'
7515 # func_munge_path_list VARIABLE PATH
7516 # -----------------------------------
7517 # VARIABLE is name of variable containing _space_ separated list of
7518 # directories to be munged by the contents of PATH, which is string
7521 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7523 # string "DIR
[ DIR
]" will be appended to VARIABLE
7524 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7525 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7526 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7528 # VARIABLE will be replaced by "DIR
[ DIR
]"
7529 func_munge_path_list ()
7535 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7538 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7541 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7542 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7545 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7551 ac_cpp='$CPP $CPPFLAGS'
7552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7556 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7557 # On Suns, sometimes $CPP names a directory.
7558 if test -n "$CPP" && test -d "$CPP"; then
7561 if test -z "$CPP"; then
7562 if ${ac_cv_prog_CPP+:} false; then :
7563 $as_echo_n "(cached
) " >&6
7565 # Double quotes because CPP needs to be expanded
7566 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7569 for ac_c_preproc_warn_flag in '' yes
7571 # Use a header file that comes with gcc, so configuring glibc
7572 # with a fresh cross-compiler works.
7573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7574 # <limits.h> exists even on freestanding compilers.
7575 # On the NeXT, cc -E runs the code through the compiler's parser,
7576 # not just through cpp. "Syntax error
" is here to catch this case.
7577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7578 /* end confdefs.h. */
7580 # include <limits.h>
7582 # include <assert.h>
7586 if ac_fn_c_try_cpp "$LINENO"; then :
7589 # Broken: fails on valid input.
7592 rm -f conftest.err conftest.i conftest.$ac_ext
7594 # OK, works on sane cases. Now check whether nonexistent headers
7595 # can be detected and how.
7596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7597 /* end confdefs.h. */
7598 #include <ac_nonexistent.h>
7600 if ac_fn_c_try_cpp "$LINENO"; then :
7601 # Broken: success on invalid input.
7604 # Passes both tests.
7608 rm -f conftest.err conftest.i conftest.$ac_ext
7611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7612 rm -f conftest.i conftest.err conftest.$ac_ext
7613 if $ac_preproc_ok; then :
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7626 $as_echo "$CPP" >&6; }
7628 for ac_c_preproc_warn_flag in '' yes
7630 # Use a header file that comes with gcc, so configuring glibc
7631 # with a fresh cross-compiler works.
7632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7633 # <limits.h> exists even on freestanding compilers.
7634 # On the NeXT, cc -E runs the code through the compiler's parser,
7635 # not just through cpp. "Syntax error
" is here to catch this case.
7636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7637 /* end confdefs.h. */
7639 # include <limits.h>
7641 # include <assert.h>
7645 if ac_fn_c_try_cpp "$LINENO"; then :
7648 # Broken: fails on valid input.
7651 rm -f conftest.err conftest.i conftest.$ac_ext
7653 # OK, works on sane cases. Now check whether nonexistent headers
7654 # can be detected and how.
7655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7656 /* end confdefs.h. */
7657 #include <ac_nonexistent.h>
7659 if ac_fn_c_try_cpp "$LINENO"; then :
7660 # Broken: success on invalid input.
7663 # Passes both tests.
7667 rm -f conftest.err conftest.i conftest.$ac_ext
7670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7671 rm -f conftest.i conftest.err conftest.$ac_ext
7672 if $ac_preproc_ok; then :
7675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7677 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7678 See \`config.log' for more details
" "$LINENO" 5; }
7682 ac_cpp='$CPP $CPPFLAGS'
7683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7689 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7690 if ${ac_cv_header_stdc+:} false; then :
7691 $as_echo_n "(cached
) " >&6
7693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7694 /* end confdefs.h. */
7708 if ac_fn_c_try_compile "$LINENO"; then :
7709 ac_cv_header_stdc=yes
7711 ac_cv_header_stdc=no
7713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7715 if test $ac_cv_header_stdc = yes; then
7716 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7722 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7723 $EGREP "memchr
" >/dev/null 2>&1; then :
7726 ac_cv_header_stdc=no
7732 if test $ac_cv_header_stdc = yes; then
7733 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h. */
7739 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7740 $EGREP "free
" >/dev/null 2>&1; then :
7743 ac_cv_header_stdc=no
7749 if test $ac_cv_header_stdc = yes; then
7750 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7751 if test "$cross_compiling" = yes; then :
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7758 #if ((' ' & 0x0FF) == 0x020)
7759 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7760 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7762 # define ISLOWER(c) \
7763 (('a' <= (c) && (c) <= 'i') \
7764 || ('j' <= (c) && (c) <= 'r') \
7765 || ('s' <= (c) && (c) <= 'z'))
7766 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7769 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7774 for (i = 0; i < 256; i++)
7775 if (XOR (islower (i), ISLOWER (i))
7776 || toupper (i) != TOUPPER (i))
7781 if ac_fn_c_try_run "$LINENO"; then :
7784 ac_cv_header_stdc=no
7786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7787 conftest.$ac_objext conftest.beam conftest.$ac_ext
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7793 $as_echo "$ac_cv_header_stdc" >&6; }
7794 if test $ac_cv_header_stdc = yes; then
7796 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7800 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7801 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7802 inttypes.h stdint.h unistd.h
7804 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7805 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7807 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7808 cat >>confdefs.h
<<_ACEOF
7809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7817 for ac_header
in dlfcn.h
7819 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7821 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7822 cat >>confdefs.h
<<_ACEOF
7823 #define HAVE_DLFCN_H 1
7844 # Check whether --enable-shared was given.
7845 if test "${enable_shared+set}" = set; then :
7846 enableval
=$enable_shared; p
=${PACKAGE-default}
7848 yes) enable_shared
=yes ;;
7849 no
) enable_shared
=no
;;
7852 # Look at the argument we got. We use all the common list separators.
7853 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7854 for pkg
in $enableval; do
7856 if test "X$pkg" = "X$p"; then
7875 # Check whether --enable-static was given.
7876 if test "${enable_static+set}" = set; then :
7877 enableval
=$enable_static; p
=${PACKAGE-default}
7879 yes) enable_static
=yes ;;
7880 no
) enable_static
=no
;;
7883 # Look at the argument we got. We use all the common list separators.
7884 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7885 for pkg
in $enableval; do
7887 if test "X$pkg" = "X$p"; then
7907 # Check whether --with-pic was given.
7908 if test "${with_pic+set}" = set; then :
7909 withval
=$with_pic; lt_p
=${PACKAGE-default}
7911 yes|no
) pic_mode
=$withval ;;
7914 # Look at the argument we got. We use all the common list separators.
7915 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7916 for lt_pkg
in $withval; do
7918 if test "X$lt_pkg" = "X$lt_p"; then
7936 # Check whether --enable-fast-install was given.
7937 if test "${enable_fast_install+set}" = set; then :
7938 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7940 yes) enable_fast_install
=yes ;;
7941 no
) enable_fast_install
=no
;;
7943 enable_fast_install
=no
7944 # Look at the argument we got. We use all the common list separators.
7945 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7946 for pkg
in $enableval; do
7948 if test "X$pkg" = "X$p"; then
7949 enable_fast_install
=yes
7956 enable_fast_install
=yes
7966 shared_archive_member_spec
=
7967 case $host,$enable_shared in
7968 power
*-*-aix[5-9]*,yes)
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7970 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7972 # Check whether --with-aix-soname was given.
7973 if test "${with_aix_soname+set}" = set; then :
7974 withval
=$with_aix_soname; case $withval in
7978 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7981 lt_cv_with_aix_soname
=$with_aix_soname
7983 if ${lt_cv_with_aix_soname+:} false
; then :
7984 $as_echo_n "(cached) " >&6
7986 lt_cv_with_aix_soname
=aix
7989 with_aix_soname
=$lt_cv_with_aix_soname
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7993 $as_echo "$with_aix_soname" >&6; }
7994 if test aix
!= "$with_aix_soname"; then
7995 # For the AIX way of multilib, we name the shared archive member
7996 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7997 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7998 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7999 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8000 if test 64 = "${OBJECT_MODE-32}"; then
8001 shared_archive_member_spec
=shr_64
8003 shared_archive_member_spec
=shr
8021 # This can be used to rebuild libtool when needed
8022 LIBTOOL_DEPS
=$ltmain
8024 # Always use our own libtool.
8025 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8056 test -z "$LN_S" && LN_S
="ln -s"
8071 if test -n "${ZSH_VERSION+set}"; then
8072 setopt NO_GLOB_SUBST
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8076 $as_echo_n "checking for objdir... " >&6; }
8077 if ${lt_cv_objdir+:} false
; then :
8078 $as_echo_n "(cached) " >&6
8080 rm -f .libs
2>/dev
/null
8081 mkdir .libs
2>/dev
/null
8082 if test -d .libs
; then
8085 # MS-DOS does not allow filenames that begin with a dot.
8088 rmdir .libs
2>/dev
/null
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8091 $as_echo "$lt_cv_objdir" >&6; }
8092 objdir
=$lt_cv_objdir
8098 cat >>confdefs.h
<<_ACEOF
8099 #define LT_OBJDIR "$lt_cv_objdir/"
8107 # AIX sometimes has problems with the GCC collect2 program. For some
8108 # reason, if we set the COLLECT_NAMES environment variable, the problems
8109 # vanish in a puff of smoke.
8110 if test set != "${COLLECT_NAMES+set}"; then
8112 export COLLECT_NAMES
8119 can_build_shared
=yes
8121 # All known linkers require a '.a' archive for static linking (except MSVC,
8122 # which needs '.lib').
8125 with_gnu_ld
=$lt_cv_prog_gnu_ld
8130 # Set sane defaults for various variables
8131 test -z "$CC" && CC
=cc
8132 test -z "$LTCC" && LTCC
=$CC
8133 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8134 test -z "$LD" && LD
=ld
8135 test -z "$ac_objext" && ac_objext
=o
8137 func_cc_basename
$compiler
8138 cc_basename
=$func_cc_basename_result
8141 # Only perform the check for file, if the check method requires it
8142 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8143 case $deplibs_check_method in
8145 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8147 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8148 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8149 $as_echo_n "(cached) " >&6
8153 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8156 lt_save_MAGIC_CMD
=$MAGIC_CMD
8157 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8158 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8159 for ac_dir
in $ac_dummy; do
8161 test -z "$ac_dir" && ac_dir
=.
8162 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8163 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8164 if test -n "$file_magic_test_file"; then
8165 case $deplibs_check_method in
8167 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8168 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8169 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8170 $EGREP "$file_magic_regex" > /dev
/null
; then
8175 *** Warning: the command libtool uses to detect shared libraries,
8176 *** $file_magic_cmd, produces output that libtool cannot recognize.
8177 *** The result is that libtool may fail to recognize shared libraries
8178 *** as such. This will affect the creation of libtool libraries that
8179 *** depend on shared libraries, but programs linked with such libtool
8180 *** libraries will work regardless of this problem. Nevertheless, you
8181 *** may want to report the problem to your system manager and/or to
8182 *** bug-libtool@gnu.org
8192 MAGIC_CMD
=$lt_save_MAGIC_CMD
8197 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8198 if test -n "$MAGIC_CMD"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8200 $as_echo "$MAGIC_CMD" >&6; }
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8210 if test -z "$lt_cv_path_MAGIC_CMD"; then
8211 if test -n "$ac_tool_prefix"; then
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8213 $as_echo_n "checking for file... " >&6; }
8214 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8215 $as_echo_n "(cached) " >&6
8219 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8222 lt_save_MAGIC_CMD
=$MAGIC_CMD
8223 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8224 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8225 for ac_dir
in $ac_dummy; do
8227 test -z "$ac_dir" && ac_dir
=.
8228 if test -f "$ac_dir/file"; then
8229 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8230 if test -n "$file_magic_test_file"; then
8231 case $deplibs_check_method in
8233 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8234 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8235 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8236 $EGREP "$file_magic_regex" > /dev
/null
; then
8241 *** Warning: the command libtool uses to detect shared libraries,
8242 *** $file_magic_cmd, produces output that libtool cannot recognize.
8243 *** The result is that libtool may fail to recognize shared libraries
8244 *** as such. This will affect the creation of libtool libraries that
8245 *** depend on shared libraries, but programs linked with such libtool
8246 *** libraries will work regardless of this problem. Nevertheless, you
8247 *** may want to report the problem to your system manager and/or to
8248 *** bug-libtool@gnu.org
8258 MAGIC_CMD
=$lt_save_MAGIC_CMD
8263 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8264 if test -n "$MAGIC_CMD"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8266 $as_echo "$MAGIC_CMD" >&6; }
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8282 # Use C for the default configuration in the libtool script
8286 ac_cpp
='$CPP $CPPFLAGS'
8287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8292 # Source file extension for C test sources.
8295 # Object file extension for compiled C test sources.
8299 # Code to be used in simple compile tests
8300 lt_simple_compile_test_code
="int some_variable = 0;"
8302 # Code to be used in simple link tests
8303 lt_simple_link_test_code
='int main(){return(0);}'
8311 # If no C compiler was specified, use CC.
8314 # If no C compiler flags were specified, use CFLAGS.
8315 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8317 # Allow CC to be a program name with arguments.
8320 # Save the default compiler, since it gets overwritten when the other
8321 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8322 compiler_DEFAULT
=$CC
8324 # save warnings/boilerplate of simple test code
8325 ac_outfile
=conftest.
$ac_objext
8326 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8327 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8328 _lt_compiler_boilerplate
=`cat conftest.err`
8331 ac_outfile
=conftest.
$ac_objext
8332 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8333 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8334 _lt_linker_boilerplate
=`cat conftest.err`
8338 if test -n "$compiler"; then
8340 lt_prog_compiler_no_builtin_flag
=
8342 if test yes = "$GCC"; then
8343 case $cc_basename in
8345 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8347 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8351 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8352 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8353 $as_echo_n "(cached) " >&6
8355 lt_cv_prog_compiler_rtti_exceptions
=no
8356 ac_outfile
=conftest.
$ac_objext
8357 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8358 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8359 # Insert the option either (1) after the last *FLAGS variable, or
8360 # (2) before a word containing "conftest.", or (3) at the end.
8361 # Note that $ac_compile itself does not contain backslashes and begins
8362 # with a dollar sign (not a hyphen), so the echo should work correctly.
8363 # The option is referenced via a variable to avoid confusing sed.
8364 lt_compile
=`echo "$ac_compile" | $SED \
8365 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8366 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8367 -e 's:$: $lt_compiler_flag:'`
8368 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8369 (eval "$lt_compile" 2>conftest.err
)
8371 cat conftest.err
>&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 if (exit $ac_status) && test -s "$ac_outfile"; then
8374 # The compiler can only warn and ignore the option if not recognized
8375 # So say no if there are warnings other than the usual output.
8376 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8377 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8378 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8379 lt_cv_prog_compiler_rtti_exceptions
=yes
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8386 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8388 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8389 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8401 lt_prog_compiler_wl
=
8402 lt_prog_compiler_pic
=
8403 lt_prog_compiler_static
=
8406 if test yes = "$GCC"; then
8407 lt_prog_compiler_wl
='-Wl,'
8408 lt_prog_compiler_static
='-static'
8412 # All AIX code is PIC.
8413 if test ia64
= "$host_cpu"; then
8414 # AIX 5 now supports IA64 processor
8415 lt_prog_compiler_static
='-Bstatic'
8417 lt_prog_compiler_pic
='-fPIC'
8423 # see comment about AmigaOS4 .so support
8424 lt_prog_compiler_pic
='-fPIC'
8427 # FIXME: we need at least 68020 code to build shared libraries, but
8428 # adding the '-m68020' flag to GCC prevents building anything better,
8430 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8435 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8436 # PIC is the default for these OSes.
8439 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8440 # This hack is so that the source file can tell whether it is being
8441 # built for inclusion in a dll (and should export symbols for example).
8442 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8443 # (--disable-auto-import) libraries
8444 lt_prog_compiler_pic
='-DDLL_EXPORT'
8447 lt_prog_compiler_static
='$wl-static'
8452 darwin
* | rhapsody
*)
8453 # PIC is the default on this platform
8454 # Common symbols not allowed in MH_DYLIB files
8455 lt_prog_compiler_pic
='-fno-common'
8459 # PIC is the default for Haiku.
8460 # The "-static" flag exists, but is broken.
8461 lt_prog_compiler_static
=
8465 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8466 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8467 # sets the default TLS model and affects inlining.
8473 lt_prog_compiler_pic
='-fPIC'
8479 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8480 # Instead, we relocate shared libraries at runtime.
8484 # Just because we use GCC doesn't mean we suddenly get shared libraries
8485 # on systems that don't support them.
8486 lt_prog_compiler_can_build_shared
=no
8491 # QNX uses GNU C++, but need to define -shared option too, otherwise
8493 lt_prog_compiler_pic
='-fPIC -shared'
8497 if test -d /usr
/nec
; then
8498 lt_prog_compiler_pic
=-Kconform_pic
8503 lt_prog_compiler_pic
='-fPIC'
8507 case $cc_basename in
8508 nvcc
*) # Cuda Compiler Driver 2.2
8509 lt_prog_compiler_wl
='-Xlinker '
8510 if test -n "$lt_prog_compiler_pic"; then
8511 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8516 # PORTME Check for flag to pass linker flags through the system compiler.
8519 lt_prog_compiler_wl
='-Wl,'
8520 if test ia64
= "$host_cpu"; then
8521 # AIX 5 now supports IA64 processor
8522 lt_prog_compiler_static
='-Bstatic'
8524 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8528 darwin
* | rhapsody
*)
8529 # PIC is the default on this platform
8530 # Common symbols not allowed in MH_DYLIB files
8531 lt_prog_compiler_pic
='-fno-common'
8532 case $cc_basename in
8534 # NAG Fortran compiler
8535 lt_prog_compiler_wl
='-Wl,-Wl,,'
8536 lt_prog_compiler_pic
='-PIC'
8537 lt_prog_compiler_static
='-Bstatic'
8542 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8543 # This hack is so that the source file can tell whether it is being
8544 # built for inclusion in a dll (and should export symbols for example).
8545 lt_prog_compiler_pic
='-DDLL_EXPORT'
8548 lt_prog_compiler_static
='$wl-static'
8553 hpux9
* | hpux10
* | hpux11
*)
8554 lt_prog_compiler_wl
='-Wl,'
8555 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8562 lt_prog_compiler_pic
='+Z'
8565 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8566 lt_prog_compiler_static
='$wl-a ${wl}archive'
8569 irix5
* | irix6
* | nonstopux
*)
8570 lt_prog_compiler_wl
='-Wl,'
8571 # PIC (with -KPIC) is the default.
8572 lt_prog_compiler_static
='-non_shared'
8575 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8576 case $cc_basename in
8577 # old Intel for x86_64, which still supported -KPIC.
8579 lt_prog_compiler_wl
='-Wl,'
8580 lt_prog_compiler_pic
='-KPIC'
8581 lt_prog_compiler_static
='-static'
8583 # icc used to be incompatible with GCC.
8584 # ICC 10 doesn't accept -KPIC any more.
8586 lt_prog_compiler_wl
='-Wl,'
8587 lt_prog_compiler_pic
='-fPIC'
8588 lt_prog_compiler_static
='-static'
8590 # Lahey Fortran 8.1.
8592 lt_prog_compiler_wl
='-Wl,'
8593 lt_prog_compiler_pic
='--shared'
8594 lt_prog_compiler_static
='--static'
8597 # NAG Fortran compiler
8598 lt_prog_compiler_wl
='-Wl,-Wl,,'
8599 lt_prog_compiler_pic
='-PIC'
8600 lt_prog_compiler_static
='-Bstatic'
8603 # Fabrice Bellard et al's Tiny C Compiler
8604 lt_prog_compiler_wl
='-Wl,'
8605 lt_prog_compiler_pic
='-fPIC'
8606 lt_prog_compiler_static
='-static'
8608 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8609 # Portland Group compilers (*not* the Pentium gcc compiler,
8610 # which looks to be a dead project)
8611 lt_prog_compiler_wl
='-Wl,'
8612 lt_prog_compiler_pic
='-fpic'
8613 lt_prog_compiler_static
='-Bstatic'
8616 lt_prog_compiler_wl
='-Wl,'
8617 # All Alpha code is PIC.
8618 lt_prog_compiler_static
='-non_shared'
8620 xl
* | bgxl
* | bgf
* | mpixl
*)
8621 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8622 lt_prog_compiler_wl
='-Wl,'
8623 lt_prog_compiler_pic
='-qpic'
8624 lt_prog_compiler_static
='-qstaticlink'
8627 case `$CC -V 2>&1 | sed 5q` in
8628 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8629 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8630 lt_prog_compiler_pic
='-KPIC'
8631 lt_prog_compiler_static
='-Bstatic'
8632 lt_prog_compiler_wl
=''
8634 *Sun\ F
* |
*Sun
*Fortran
*)
8635 lt_prog_compiler_pic
='-KPIC'
8636 lt_prog_compiler_static
='-Bstatic'
8637 lt_prog_compiler_wl
='-Qoption ld '
8641 lt_prog_compiler_pic
='-KPIC'
8642 lt_prog_compiler_static
='-Bstatic'
8643 lt_prog_compiler_wl
='-Wl,'
8645 *Intel
*\
[CF
]*Compiler
*)
8646 lt_prog_compiler_wl
='-Wl,'
8647 lt_prog_compiler_pic
='-fPIC'
8648 lt_prog_compiler_static
='-static'
8651 lt_prog_compiler_wl
='-Wl,'
8652 lt_prog_compiler_pic
='-fpic'
8653 lt_prog_compiler_static
='-Bstatic'
8661 lt_prog_compiler_pic
='-KPIC'
8662 lt_prog_compiler_static
='-Bstatic'
8666 # QNX uses GNU C++, but need to define -shared option too, otherwise
8668 lt_prog_compiler_pic
='-fPIC -shared'
8671 osf3
* | osf4
* | osf5
*)
8672 lt_prog_compiler_wl
='-Wl,'
8673 # All OSF/1 code is PIC.
8674 lt_prog_compiler_static
='-non_shared'
8678 lt_prog_compiler_static
='-non_shared'
8682 lt_prog_compiler_pic
='-KPIC'
8683 lt_prog_compiler_static
='-Bstatic'
8684 case $cc_basename in
8685 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8686 lt_prog_compiler_wl
='-Qoption ld ';;
8688 lt_prog_compiler_wl
='-Wl,';;
8693 lt_prog_compiler_wl
='-Qoption ld '
8694 lt_prog_compiler_pic
='-PIC'
8695 lt_prog_compiler_static
='-Bstatic'
8698 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8699 lt_prog_compiler_wl
='-Wl,'
8700 lt_prog_compiler_pic
='-KPIC'
8701 lt_prog_compiler_static
='-Bstatic'
8705 if test -d /usr
/nec
; then
8706 lt_prog_compiler_pic
='-Kconform_pic'
8707 lt_prog_compiler_static
='-Bstatic'
8711 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8712 lt_prog_compiler_wl
='-Wl,'
8713 lt_prog_compiler_pic
='-KPIC'
8714 lt_prog_compiler_static
='-Bstatic'
8718 lt_prog_compiler_wl
='-Wl,'
8719 lt_prog_compiler_can_build_shared
=no
8723 lt_prog_compiler_pic
='-pic'
8724 lt_prog_compiler_static
='-Bstatic'
8728 lt_prog_compiler_can_build_shared
=no
8734 # For platforms that do not support PIC, -DPIC is meaningless:
8736 lt_prog_compiler_pic
=
8739 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8744 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8745 if ${lt_cv_prog_compiler_pic+:} false
; then :
8746 $as_echo_n "(cached) " >&6
8748 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8751 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8752 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8755 # Check to make sure the PIC flag actually works.
8757 if test -n "$lt_prog_compiler_pic"; then
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8759 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8760 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8761 $as_echo_n "(cached) " >&6
8763 lt_cv_prog_compiler_pic_works
=no
8764 ac_outfile
=conftest.
$ac_objext
8765 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8766 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8767 # Insert the option either (1) after the last *FLAGS variable, or
8768 # (2) before a word containing "conftest.", or (3) at the end.
8769 # Note that $ac_compile itself does not contain backslashes and begins
8770 # with a dollar sign (not a hyphen), so the echo should work correctly.
8771 # The option is referenced via a variable to avoid confusing sed.
8772 lt_compile
=`echo "$ac_compile" | $SED \
8773 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8774 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8775 -e 's:$: $lt_compiler_flag:'`
8776 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8777 (eval "$lt_compile" 2>conftest.err
)
8779 cat conftest.err
>&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 if (exit $ac_status) && test -s "$ac_outfile"; then
8782 # The compiler can only warn and ignore the option if not recognized
8783 # So say no if there are warnings other than the usual output.
8784 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8785 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8786 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8787 lt_cv_prog_compiler_pic_works
=yes
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8794 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8796 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8797 case $lt_prog_compiler_pic in
8799 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8802 lt_prog_compiler_pic
=
8803 lt_prog_compiler_can_build_shared
=no
8819 # Check to make sure the static flag actually works.
8821 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8823 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8824 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8825 $as_echo_n "(cached) " >&6
8827 lt_cv_prog_compiler_static_works
=no
8828 save_LDFLAGS
=$LDFLAGS
8829 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8830 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8831 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8832 # The linker can only warn and ignore the option if not recognized
8833 # So say no if there are warnings
8834 if test -s conftest.err
; then
8835 # Append any errors to the config.log.
8836 cat conftest.err
1>&5
8837 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8838 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8839 if diff conftest.exp conftest.er2
>/dev
/null
; then
8840 lt_cv_prog_compiler_static_works
=yes
8843 lt_cv_prog_compiler_static_works
=yes
8847 LDFLAGS
=$save_LDFLAGS
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8851 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8853 if test yes = "$lt_cv_prog_compiler_static_works"; then
8856 lt_prog_compiler_static
=
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8866 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8867 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8868 $as_echo_n "(cached) " >&6
8870 lt_cv_prog_compiler_c_o
=no
8871 $RM -r conftest
2>/dev
/null
8875 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8877 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8878 # Insert the option either (1) after the last *FLAGS variable, or
8879 # (2) before a word containing "conftest.", or (3) at the end.
8880 # Note that $ac_compile itself does not contain backslashes and begins
8881 # with a dollar sign (not a hyphen), so the echo should work correctly.
8882 lt_compile
=`echo "$ac_compile" | $SED \
8883 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8885 -e 's:$: $lt_compiler_flag:'`
8886 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8887 (eval "$lt_compile" 2>out
/conftest.err
)
8889 cat out
/conftest.err
>&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8893 # The compiler can only warn and ignore the option if not recognized
8894 # So say no if there are warnings
8895 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8896 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8897 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8898 lt_cv_prog_compiler_c_o
=yes
8903 # SGI C++ compiler will create directory out/ii_files/ for
8904 # template instantiation
8905 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8906 $RM out
/* && rmdir out
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8913 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8921 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8922 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8923 $as_echo_n "(cached) " >&6
8925 lt_cv_prog_compiler_c_o
=no
8926 $RM -r conftest
2>/dev
/null
8930 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8932 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8933 # Insert the option either (1) after the last *FLAGS variable, or
8934 # (2) before a word containing "conftest.", or (3) at the end.
8935 # Note that $ac_compile itself does not contain backslashes and begins
8936 # with a dollar sign (not a hyphen), so the echo should work correctly.
8937 lt_compile
=`echo "$ac_compile" | $SED \
8938 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8939 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8940 -e 's:$: $lt_compiler_flag:'`
8941 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8942 (eval "$lt_compile" 2>out
/conftest.err
)
8944 cat out
/conftest.err
>&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8948 # The compiler can only warn and ignore the option if not recognized
8949 # So say no if there are warnings
8950 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8951 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8952 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8953 lt_cv_prog_compiler_c_o
=yes
8958 # SGI C++ compiler will create directory out/ii_files/ for
8959 # template instantiation
8960 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8961 $RM out
/* && rmdir out
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8968 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8973 hard_links
=nottested
8974 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8975 # do not overwrite the value of need_locks provided by the user
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8977 $as_echo_n "checking if we can lock with hard links... " >&6; }
8980 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8982 ln conftest.a conftest.b
2>&5 || hard_links
=no
8983 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8985 $as_echo "$hard_links" >&6; }
8986 if test no
= "$hard_links"; then
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8988 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9001 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9004 allow_undefined_flag
=
9005 always_export_symbols
=no
9007 archive_expsym_cmds
=
9008 compiler_needs_object
=no
9009 enable_shared_with_static_runtimes
=no
9010 export_dynamic_flag_spec
=
9011 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9012 hardcode_automatic
=no
9014 hardcode_direct_absolute
=no
9015 hardcode_libdir_flag_spec
=
9016 hardcode_libdir_separator
=
9018 hardcode_shlibpath_var
=unsupported
9020 link_all_deplibs
=unknown
9023 old_archive_from_new_cmds
=
9024 old_archive_from_expsyms_cmds
=
9025 thread_safe_flag_spec
=
9026 whole_archive_flag_spec
=
9027 # include_expsyms should be a list of space-separated symbols to be *always*
9028 # included in the symbol list
9030 # exclude_expsyms can be an extended regexp of symbols to exclude
9031 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9032 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9033 # as well as any symbol that contains 'd'.
9034 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9035 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9036 # platforms (ab)use it in PIC code, but their linkers get confused if
9037 # the symbol is explicitly referenced. Since portable code cannot
9038 # rely on this symbol name, it's probably fine to never include it in
9039 # preloaded symbol tables.
9040 # Exclude shared library initialization/finalization symbols.
9041 extract_expsyms_cmds
=
9044 cygwin
* | mingw
* | pw32
* | cegcc
*)
9045 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9046 # When not using gcc, we currently assume that we are using
9047 # Microsoft Visual C++.
9048 if test yes != "$GCC"; then
9053 # we just hope/assume this is gcc and not c89 (= MSVC++)
9063 # On some targets, GNU ld is compatible enough with the native linker
9064 # that we're better off using the native interface for both.
9065 lt_use_gnu_ld_interface
=no
9066 if test yes = "$with_gnu_ld"; then
9069 # The AIX port of GNU ld has always aspired to compatibility
9070 # with the native linker. However, as the warning in the GNU ld
9071 # block says, versions before 2.19.5* couldn't really create working
9072 # shared libraries, regardless of the interface used.
9073 case `$LD -v 2>&1` in
9074 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9075 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9076 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9078 lt_use_gnu_ld_interface
=yes
9083 lt_use_gnu_ld_interface
=yes
9088 if test yes = "$lt_use_gnu_ld_interface"; then
9089 # If archive_cmds runs LD, not CC, wlarc should be empty
9092 # Set some defaults for GNU ld with shared library support. These
9093 # are reset later if shared libraries are not supported. Putting them
9094 # here allows them to be overridden if necessary.
9095 runpath_var
=LD_RUN_PATH
9096 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9097 export_dynamic_flag_spec
='$wl--export-dynamic'
9098 # ancient GNU ld didn't support --whole-archive et. al.
9099 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9100 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9102 whole_archive_flag_spec
=
9104 supports_anon_versioning
=no
9105 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9106 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9107 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9108 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9109 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9110 *\
2.11.
*) ;; # other 2.11 versions
9111 *) supports_anon_versioning
=yes ;;
9114 # See if GNU ld supports shared libraries.
9117 # On AIX/PPC, the GNU linker is very broken
9118 if test ia64
!= "$host_cpu"; then
9122 *** Warning: the GNU linker, at least up to release 2.19, is reported
9123 *** to be unable to reliably create shared libraries on AIX.
9124 *** Therefore, libtool is disabling shared libraries support. If you
9125 *** really care for shared libraries, you may want to install binutils
9126 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9127 *** You will then need to restart the configuration process.
9136 # see comment about AmigaOS4 .so support
9137 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9138 archive_expsym_cmds
=''
9141 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)'
9142 hardcode_libdir_flag_spec
='-L$libdir'
9143 hardcode_minus_L
=yes
9149 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9150 allow_undefined_flag
=unsupported
9151 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9152 # support --undefined. This deserves some investigation. FIXME
9153 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9159 cygwin
* | mingw
* | pw32
* | cegcc
*)
9160 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9161 # as there is no search path for DLLs.
9162 hardcode_libdir_flag_spec
='-L$libdir'
9163 export_dynamic_flag_spec
='$wl--export-all-symbols'
9164 allow_undefined_flag
=unsupported
9165 always_export_symbols
=no
9166 enable_shared_with_static_runtimes
=yes
9167 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'
9168 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9170 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9171 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9172 # If the export-symbols file already is a .def file, use it as
9173 # is; otherwise, prepend EXPORTS...
9174 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9175 cp $export_symbols $output_objdir/$soname.def;
9177 echo EXPORTS > $output_objdir/$soname.def;
9178 cat $export_symbols >> $output_objdir/$soname.def;
9180 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9187 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9188 link_all_deplibs
=yes
9192 hardcode_libdir_flag_spec
='-L$libdir'
9193 hardcode_minus_L
=yes
9194 allow_undefined_flag
=unsupported
9196 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9197 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9198 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9199 $ECHO EXPORTS >> $output_objdir/$libname.def~
9200 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9201 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9202 emximp -o $lib $output_objdir/$libname.def'
9203 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9204 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9205 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9206 $ECHO EXPORTS >> $output_objdir/$libname.def~
9208 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9209 prefix_cmds="$prefix_cmds -e 1d";
9211 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9212 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9213 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9214 emximp -o $lib $output_objdir/$libname.def'
9215 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9216 enable_shared_with_static_runtimes
=yes
9221 hardcode_shlibpath_var
=no
9222 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9223 export_dynamic_flag_spec
='$wl-E'
9224 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9225 # Instead, shared libraries are loaded at an image base (0x10000000 by
9226 # default) and relocated if they conflict, which is a slow very memory
9227 # consuming and fragmenting process. To avoid this, we pick a random,
9228 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9229 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9230 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9231 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'
9234 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9236 if test linux-dietlibc
= "$host_os"; then
9237 case $cc_basename in
9238 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9241 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9242 && test no
= "$tmp_diet"
9244 tmp_addflag
=' $pic_flag'
9245 tmp_sharedflag
='-shared'
9246 case $cc_basename,$host_cpu in
9247 pgcc
*) # Portland Group C compiler
9248 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'
9249 tmp_addflag
=' $pic_flag'
9251 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9252 # Portland Group f77 and f90 compilers
9253 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'
9254 tmp_addflag
=' $pic_flag -Mnomain' ;;
9255 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9256 tmp_addflag
=' -i_dynamic' ;;
9257 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9258 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9259 ifc
* | ifort
*) # Intel Fortran compiler
9260 tmp_addflag
=' -nofor_main' ;;
9261 lf95
*) # Lahey Fortran 8.1
9262 whole_archive_flag_spec
=
9263 tmp_sharedflag
='--shared' ;;
9264 nagfor
*) # NAGFOR 5.3
9265 tmp_sharedflag
='-Wl,-shared' ;;
9266 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9267 tmp_sharedflag
='-qmkshrobj'
9269 nvcc
*) # Cuda Compiler Driver 2.2
9270 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'
9271 compiler_needs_object
=yes
9274 case `$CC -V 2>&1 | sed 5q` in
9275 *Sun\ C
*) # Sun C 5.9
9276 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'
9277 compiler_needs_object
=yes
9278 tmp_sharedflag
='-G' ;;
9279 *Sun\ F
*) # Sun Fortran 8.3
9280 tmp_sharedflag
='-G' ;;
9282 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9284 if test yes = "$supports_anon_versioning"; then
9285 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9286 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9287 echo "local: *; };" >> $output_objdir/$libname.ver~
9288 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9291 case $cc_basename in
9293 export_dynamic_flag_spec
='-rdynamic'
9295 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9296 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9297 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9298 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9299 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9300 if test yes = "$supports_anon_versioning"; then
9301 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9302 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9303 echo "local: *; };" >> $output_objdir/$libname.ver~
9304 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9314 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9315 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9318 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9319 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9324 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9328 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9329 *** create shared libraries on Solaris systems. Therefore, libtool
9330 *** is disabling shared libraries support. We urge you to upgrade GNU
9331 *** binutils to release 2.9.1 or newer. Another option is to modify
9332 *** your PATH or compiler configuration so that the native linker is
9333 *** used, and then restart.
9336 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9337 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9338 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9344 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9345 case `$LD -v 2>&1` in
9346 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9350 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9351 *** reliably create shared libraries on SCO systems. Therefore, libtool
9352 *** is disabling shared libraries support. We urge you to upgrade GNU
9353 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9354 *** your PATH or compiler configuration so that the native linker is
9355 *** used, and then restart.
9360 # For security reasons, it is highly recommended that you always
9361 # use absolute paths for naming shared libraries, and exclude the
9362 # DT_RUNPATH tag from executables and libraries. But doing so
9363 # requires that you compile everything twice, which is a pain.
9364 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9365 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9366 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9367 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9376 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9379 hardcode_shlibpath_var
=no
9383 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9384 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9385 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9392 if test no
= "$ld_shlibs"; then
9394 hardcode_libdir_flag_spec
=
9395 export_dynamic_flag_spec
=
9396 whole_archive_flag_spec
=
9399 # PORTME fill in a description of your system's linker (not GNU ld)
9402 allow_undefined_flag
=unsupported
9403 always_export_symbols
=yes
9404 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'
9405 # Note: this linker hardcodes the directories in LIBPATH if there
9406 # are no directories specified by -L.
9407 hardcode_minus_L
=yes
9408 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9409 # Neither direct hardcoding nor static linking is supported with a
9411 hardcode_direct
=unsupported
9416 if test ia64
= "$host_cpu"; then
9417 # On IA64, the linker does run time linking by default, so we don't
9418 # have to do anything special.
9419 aix_use_runtimelinking
=no
9420 exp_sym_flag
='-Bexport'
9423 # If we're using GNU nm, then we don't want the "-C" option.
9424 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9425 # Without the "-l" option, or with the "-B" option, AIX nm treats
9426 # weak defined symbols like other global defined symbols, whereas
9427 # GNU nm marks them as "W".
9428 # While the 'weak' keyword is ignored in the Export File, we need
9429 # it in the Import File for the 'aix-soname' feature, so we have
9430 # to replace the "-B" option with "-P" for AIX nm.
9431 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9432 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'
9434 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'
9436 aix_use_runtimelinking
=no
9438 # Test if we are trying to use run time linking or normal
9439 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9440 # have runtime linking enabled, and use it for executables.
9441 # For shared libraries, we enable/disable runtime linking
9442 # depending on the kind of the shared library created -
9443 # when "with_aix_soname,aix_use_runtimelinking" is:
9444 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9445 # "aix,yes" lib.so shared, rtl:yes, for executables
9446 # lib.a static archive
9447 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9448 # lib.a(lib.so.V) shared, rtl:no, for executables
9449 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9450 # lib.a(lib.so.V) shared, rtl:no
9451 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9452 # lib.a static archive
9453 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9454 for ld_flag
in $LDFLAGS; do
9455 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9456 aix_use_runtimelinking
=yes
9460 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9461 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9462 # so we don't have lib.a shared libs to link our executables.
9463 # We have to force runtime linking in this case.
9464 aix_use_runtimelinking
=yes
9465 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9470 exp_sym_flag
='-bexport'
9471 no_entry_flag
='-bnoentry'
9474 # When large executables or shared objects are built, AIX ld can
9475 # have problems creating the table of contents. If linking a library
9476 # or program results in "error TOC overflow" add -mminimal-toc to
9477 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9478 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9482 hardcode_direct_absolute
=yes
9483 hardcode_libdir_separator
=':'
9484 link_all_deplibs
=yes
9485 file_list_spec
='$wl-f,'
9486 case $with_aix_soname,$aix_use_runtimelinking in
9487 aix
,*) ;; # traditional, no import file
9488 svr4
,* |
*,yes) # use import file
9489 # The Import File defines what to hardcode.
9491 hardcode_direct_absolute
=no
9495 if test yes = "$GCC"; then
9496 case $host_os in aix4.
[012]|aix4.
[012].
*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name
=`$CC -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9503 # We have reworked collect2
9506 # We have old collect2
9507 hardcode_direct
=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L
=yes
9512 hardcode_libdir_flag_spec
='-L$libdir'
9513 hardcode_libdir_separator
=
9517 shared_flag
='-shared'
9518 if test yes = "$aix_use_runtimelinking"; then
9519 shared_flag
="$shared_flag "'$wl-G'
9521 # Need to ensure runtime linking is disabled for the traditional
9522 # shared library, or the linker may eventually find shared libraries
9523 # /with/ Import File - we do not want to mix them.
9524 shared_flag_aix
='-shared'
9525 shared_flag_svr4
='-shared $wl-G'
9528 if test ia64
= "$host_cpu"; then
9529 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9530 # chokes on -Wl,-G. The following line is correct:
9533 if test yes = "$aix_use_runtimelinking"; then
9536 shared_flag
='$wl-bM:SRE'
9538 shared_flag_aix
='$wl-bM:SRE'
9539 shared_flag_svr4
='$wl-G'
9543 export_dynamic_flag_spec
='$wl-bexpall'
9544 # It seems that -bexpall does not export symbols beginning with
9545 # underscore (_), so it is better to generate a list of symbols to export.
9546 always_export_symbols
=yes
9547 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9548 # Warning - without using the other runtime loading flags (-brtl),
9549 # -berok will link without error, but may produce a broken library.
9550 allow_undefined_flag
='-berok'
9551 # Determine the default libpath from the value encoded in an
9553 if test set = "${lt_cv_aix_libpath+set}"; then
9554 aix_libpath
=$lt_cv_aix_libpath
9556 if ${lt_cv_aix_libpath_+:} false
; then :
9557 $as_echo_n "(cached) " >&6
9559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9570 if ac_fn_c_try_link
"$LINENO"; then :
9572 lt_aix_libpath_sed
='
9573 /Import File Strings/,/^$/ {
9575 s/^0 *\([^ ]*\) *$/\1/
9579 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9580 # Check for a 64-bit object if we didn't find anything.
9581 if test -z "$lt_cv_aix_libpath_"; then
9582 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9585 rm -f core conftest.err conftest.
$ac_objext \
9586 conftest
$ac_exeext conftest.
$ac_ext
9587 if test -z "$lt_cv_aix_libpath_"; then
9588 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9593 aix_libpath
=$lt_cv_aix_libpath_
9596 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9597 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
9599 if test ia64
= "$host_cpu"; then
9600 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9601 allow_undefined_flag
="-z nodefs"
9602 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"
9604 # Determine the default libpath from the value encoded in an
9606 if test set = "${lt_cv_aix_libpath+set}"; then
9607 aix_libpath
=$lt_cv_aix_libpath
9609 if ${lt_cv_aix_libpath_+:} false
; then :
9610 $as_echo_n "(cached) " >&6
9612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */
9623 if ac_fn_c_try_link
"$LINENO"; then :
9625 lt_aix_libpath_sed
='
9626 /Import File Strings/,/^$/ {
9628 s/^0 *\([^ ]*\) *$/\1/
9632 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9633 # Check for a 64-bit object if we didn't find anything.
9634 if test -z "$lt_cv_aix_libpath_"; then
9635 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9638 rm -f core conftest.err conftest.
$ac_objext \
9639 conftest
$ac_exeext conftest.
$ac_ext
9640 if test -z "$lt_cv_aix_libpath_"; then
9641 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9646 aix_libpath
=$lt_cv_aix_libpath_
9649 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9650 # Warning - without using the other run time loading flags,
9651 # -berok will link without error, but may produce a broken library.
9652 no_undefined_flag
=' $wl-bernotok'
9653 allow_undefined_flag
=' $wl-berok'
9654 if test yes = "$with_gnu_ld"; then
9655 # We only use this code for GNU lds that support --whole-archive.
9656 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9658 # Exported symbols can be pulled into shared objects from archives
9659 whole_archive_flag_spec
='$convenience'
9661 archive_cmds_need_lc
=yes
9662 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9663 # -brtl affects multiple linker settings, -berok does not and is overridden later
9664 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9665 if test svr4
!= "$with_aix_soname"; then
9666 # This is similar to how AIX traditionally builds its shared libraries.
9667 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'
9669 if test aix
!= "$with_aix_soname"; then
9670 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'
9672 # used by -dlpreopen to get the symbols
9673 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9675 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9683 # see comment about AmigaOS4 .so support
9684 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9685 archive_expsym_cmds
=''
9688 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)'
9689 hardcode_libdir_flag_spec
='-L$libdir'
9690 hardcode_minus_L
=yes
9696 export_dynamic_flag_spec
=-rdynamic
9699 cygwin
* | mingw
* | pw32
* | cegcc
*)
9700 # When not using gcc, we currently assume that we are using
9701 # Microsoft Visual C++.
9702 # hardcode_libdir_flag_spec is actually meaningless, as there is
9703 # no search path for DLLs.
9704 case $cc_basename in
9707 hardcode_libdir_flag_spec
=' '
9708 allow_undefined_flag
=unsupported
9709 always_export_symbols
=yes
9711 # Tell ltmain to make .lib files, not .a files.
9713 # Tell ltmain to make .dll files, not .so files.
9715 # FIXME: Setting linknames here is a bad hack.
9716 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9717 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9718 cp "$export_symbols" "$output_objdir/$soname.def";
9719 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9721 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9723 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9725 # The linker will not automatically build a static lib if we build a DLL.
9726 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9727 enable_shared_with_static_runtimes
=yes
9728 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9729 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9731 old_postinstall_cmds
='chmod 644 $oldlib'
9732 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9733 lt_tool_outputfile="@TOOL_OUTPUT@"~
9734 case $lt_outputfile in
9737 lt_outputfile=$lt_outputfile.exe
9738 lt_tool_outputfile=$lt_tool_outputfile.exe
9741 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9742 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9743 $RM "$lt_outputfile.manifest";
9747 # Assume MSVC wrapper
9748 hardcode_libdir_flag_spec
=' '
9749 allow_undefined_flag
=unsupported
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 $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9756 # The linker will automatically build a .lib file if we build a DLL.
9757 old_archive_from_new_cmds
='true'
9758 # FIXME: Should let the user specify the lib program.
9759 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9760 enable_shared_with_static_runtimes
=yes
9765 darwin
* | rhapsody
*)
9768 archive_cmds_need_lc
=no
9770 hardcode_automatic
=yes
9771 hardcode_shlibpath_var
=unsupported
9772 if test yes = "$lt_cv_ld_force_load"; then
9773 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\"`'
9776 whole_archive_flag_spec
=''
9778 link_all_deplibs
=yes
9779 allow_undefined_flag
=$_lt_dar_allow_undefined
9780 case $cc_basename in
9781 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9782 *) _lt_dar_can_shared
=$GCC ;;
9784 if test yes = "$_lt_dar_can_shared"; then
9785 output_verbose_link_cmd
=func_echo_all
9786 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9787 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9788 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"
9789 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"
9798 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9799 hardcode_libdir_flag_spec
='-L$libdir'
9800 hardcode_shlibpath_var
=no
9803 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9804 # support. Future versions do this automatically, but an explicit c++rt0.o
9805 # does not break anything, and helps significantly (at the cost of a little
9808 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9809 hardcode_libdir_flag_spec
='-R$libdir'
9811 hardcode_shlibpath_var
=no
9814 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9816 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9818 hardcode_minus_L
=yes
9819 hardcode_shlibpath_var
=no
9822 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9823 freebsd
* | dragonfly
*)
9824 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9825 hardcode_libdir_flag_spec
='-R$libdir'
9827 hardcode_shlibpath_var
=no
9831 if test yes = "$GCC"; then
9832 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'
9834 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'
9836 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9837 hardcode_libdir_separator
=:
9840 # hardcode_minus_L: Not really in the search PATH,
9841 # but as the default location of the library.
9842 hardcode_minus_L
=yes
9843 export_dynamic_flag_spec
='$wl-E'
9847 if test yes,no
= "$GCC,$with_gnu_ld"; then
9848 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9850 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9852 if test no
= "$with_gnu_ld"; then
9853 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9854 hardcode_libdir_separator
=:
9856 hardcode_direct_absolute
=yes
9857 export_dynamic_flag_spec
='$wl-E'
9858 # hardcode_minus_L: Not really in the search PATH,
9859 # but as the default location of the library.
9860 hardcode_minus_L
=yes
9865 if test yes,no
= "$GCC,$with_gnu_ld"; then
9868 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9874 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9880 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9887 # Older versions of the 11.00 compiler do not understand -b yet
9888 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9890 $as_echo_n "checking if $CC understands -b... " >&6; }
9891 if ${lt_cv_prog_compiler__b+:} false
; then :
9892 $as_echo_n "(cached) " >&6
9894 lt_cv_prog_compiler__b
=no
9895 save_LDFLAGS
=$LDFLAGS
9896 LDFLAGS
="$LDFLAGS -b"
9897 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9898 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9899 # The linker can only warn and ignore the option if not recognized
9900 # So say no if there are warnings
9901 if test -s conftest.err
; then
9902 # Append any errors to the config.log.
9903 cat conftest.err
1>&5
9904 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9905 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9906 if diff conftest.exp conftest.er2
>/dev
/null
; then
9907 lt_cv_prog_compiler__b
=yes
9910 lt_cv_prog_compiler__b
=yes
9914 LDFLAGS
=$save_LDFLAGS
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9918 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9920 if test yes = "$lt_cv_prog_compiler__b"; then
9921 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9923 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9929 if test no
= "$with_gnu_ld"; then
9930 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9931 hardcode_libdir_separator
=:
9936 hardcode_shlibpath_var
=no
9940 hardcode_direct_absolute
=yes
9941 export_dynamic_flag_spec
='$wl-E'
9943 # hardcode_minus_L: Not really in the search PATH,
9944 # but as the default location of the library.
9945 hardcode_minus_L
=yes
9951 irix5
* | irix6
* | nonstopux
*)
9952 if test yes = "$GCC"; then
9953 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'
9954 # Try to use the -exported_symbol ld option, if it does not
9955 # work, assume that -exports_file does not work either and
9956 # implicitly export all symbols.
9957 # This should be the same for all languages, so no per-tag cache variable.
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9959 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9960 if ${lt_cv_irix_exported_symbol+:} false
; then :
9961 $as_echo_n "(cached) " >&6
9963 save_LDFLAGS
=$LDFLAGS
9964 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9967 int foo (void) { return 0; }
9969 if ac_fn_c_try_link
"$LINENO"; then :
9970 lt_cv_irix_exported_symbol
=yes
9972 lt_cv_irix_exported_symbol
=no
9974 rm -f core conftest.err conftest.
$ac_objext \
9975 conftest
$ac_exeext conftest.
$ac_ext
9976 LDFLAGS
=$save_LDFLAGS
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9979 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9980 if test yes = "$lt_cv_irix_exported_symbol"; then
9981 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'
9984 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'
9985 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'
9987 archive_cmds_need_lc
='no'
9988 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9989 hardcode_libdir_separator
=:
9991 link_all_deplibs
=yes
9995 case $cc_basename in
9997 # Fabrice Bellard et al's Tiny C Compiler
9999 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10005 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10006 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10008 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10010 hardcode_libdir_flag_spec
='-R$libdir'
10011 hardcode_direct
=yes
10012 hardcode_shlibpath_var
=no
10016 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_direct
=yes
10018 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10019 hardcode_libdir_separator
=:
10020 hardcode_shlibpath_var
=no
10026 openbsd
* | bitrig
*)
10027 if test -f /usr
/libexec
/ld.so
; then
10028 hardcode_direct
=yes
10029 hardcode_shlibpath_var
=no
10030 hardcode_direct_absolute
=yes
10031 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10032 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10033 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10034 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10035 export_dynamic_flag_spec
='$wl-E'
10037 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10038 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10046 hardcode_libdir_flag_spec
='-L$libdir'
10047 hardcode_minus_L
=yes
10048 allow_undefined_flag
=unsupported
10050 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10051 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10052 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10053 $ECHO EXPORTS >> $output_objdir/$libname.def~
10054 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10055 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10056 emximp -o $lib $output_objdir/$libname.def'
10057 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10058 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10059 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10060 $ECHO EXPORTS >> $output_objdir/$libname.def~
10061 prefix_cmds="$SED"~
10062 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10063 prefix_cmds="$prefix_cmds -e 1d";
10065 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10066 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10067 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10068 emximp -o $lib $output_objdir/$libname.def'
10069 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10070 enable_shared_with_static_runtimes
=yes
10074 if test yes = "$GCC"; then
10075 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10076 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'
10078 allow_undefined_flag
=' -expect_unresolved \*'
10079 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'
10081 archive_cmds_need_lc
='no'
10082 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10083 hardcode_libdir_separator
=:
10086 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10087 if test yes = "$GCC"; then
10088 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10089 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'
10090 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10092 allow_undefined_flag
=' -expect_unresolved \*'
10093 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'
10094 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~
10095 $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'
10097 # Both c and cxx compiler support -rpath directly
10098 hardcode_libdir_flag_spec
='-rpath $libdir'
10100 archive_cmds_need_lc
='no'
10101 hardcode_libdir_separator
=:
10105 no_undefined_flag
=' -z defs'
10106 if test yes = "$GCC"; then
10108 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10109 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10110 $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'
10112 case `$CC -V 2>&1` in
10115 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10116 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10117 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10121 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10122 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10123 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10127 hardcode_libdir_flag_spec
='-R$libdir'
10128 hardcode_shlibpath_var
=no
10130 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10132 # The compiler driver will combine and reorder linker options,
10133 # but understands '-z linker_flag'. GCC discards it without '$wl',
10134 # but is careful enough not to reorder.
10135 # Supported since Solaris 2.6 (maybe 2.5.1?)
10136 if test yes = "$GCC"; then
10137 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10139 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10143 link_all_deplibs
=yes
10147 if test sequent
= "$host_vendor"; then
10148 # Use $CC to link under sequent, because it throws in some extra .o
10149 # files that make .init and .fini sections work.
10150 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10152 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10154 hardcode_libdir_flag_spec
='-L$libdir'
10155 hardcode_direct
=yes
10156 hardcode_minus_L
=yes
10157 hardcode_shlibpath_var
=no
10161 case $host_vendor in
10163 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10164 hardcode_direct
=yes # is this really true???
10167 ## LD is ld it makes a PLAMLIB
10168 ## CC just makes a GrossModule.
10169 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10170 reload_cmds
='$CC -r -o $output$reload_objs'
10174 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10175 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10178 runpath_var
='LD_RUN_PATH'
10179 hardcode_shlibpath_var
=no
10183 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10184 hardcode_shlibpath_var
=no
10185 export_dynamic_flag_spec
='-Bexport'
10189 if test -d /usr
/nec
; then
10190 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10191 hardcode_shlibpath_var
=no
10192 runpath_var
=LD_RUN_PATH
10193 hardcode_runpath_var
=yes
10198 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10199 no_undefined_flag
='$wl-z,text'
10200 archive_cmds_need_lc
=no
10201 hardcode_shlibpath_var
=no
10202 runpath_var
='LD_RUN_PATH'
10204 if test yes = "$GCC"; then
10205 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10208 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10209 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10213 sysv5
* | sco3.2v5
* | sco5v6
*)
10214 # Note: We CANNOT use -z defs as we might desire, because we do not
10215 # link with -lc, and that would cause any symbols used from libc to
10216 # always be unresolved, which means just about no library would
10217 # ever link correctly. If we're not using GNU ld we use -z text
10218 # though, which does catch some bad symbols but isn't as heavy-handed
10220 no_undefined_flag
='$wl-z,text'
10221 allow_undefined_flag
='$wl-z,nodefs'
10222 archive_cmds_need_lc
=no
10223 hardcode_shlibpath_var
=no
10224 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10225 hardcode_libdir_separator
=':'
10226 link_all_deplibs
=yes
10227 export_dynamic_flag_spec
='$wl-Bexport'
10228 runpath_var
='LD_RUN_PATH'
10230 if test yes = "$GCC"; then
10231 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10234 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10235 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10240 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10241 hardcode_libdir_flag_spec
='-L$libdir'
10242 hardcode_shlibpath_var
=no
10250 if test sni
= "$host_vendor"; then
10252 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10253 export_dynamic_flag_spec
='$wl-Blargedynsym'
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10260 $as_echo "$ld_shlibs" >&6; }
10261 test no
= "$ld_shlibs" && can_build_shared
=no
10263 with_gnu_ld
=$with_gnu_ld
10280 # Do we need to explicitly link libc?
10282 case "x$archive_cmds_need_lc" in
10284 # Assume -lc should be added
10285 archive_cmds_need_lc
=yes
10287 if test yes,yes = "$GCC,$enable_shared"; then
10288 case $archive_cmds in
10290 # FIXME: we may have to deal with multi-command sequences.
10293 # Test whether the compiler implicitly links with -lc since on some
10294 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10295 # to ld, don't add -lc before -lgcc.
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10297 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10298 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10299 $as_echo_n "(cached) " >&6
10302 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10305 (eval $ac_compile) 2>&5
10307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10308 test $ac_status = 0; } 2>conftest.err
; then
10311 libobjs
=conftest.
$ac_objext
10313 wl
=$lt_prog_compiler_wl
10314 pic_flag
=$lt_prog_compiler_pic
10320 lt_save_allow_undefined_flag
=$allow_undefined_flag
10321 allow_undefined_flag
=
10322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10323 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10326 test $ac_status = 0; }
10328 lt_cv_archive_cmds_need_lc
=no
10330 lt_cv_archive_cmds_need_lc
=yes
10332 allow_undefined_flag
=$lt_save_allow_undefined_flag
10334 cat conftest.err
1>&5
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10340 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10341 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10500 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10502 if test yes = "$GCC"; then
10504 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10505 *) lt_awk_arg
='/^libraries:/' ;;
10508 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10509 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10511 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10512 case $lt_search_path_spec in
10514 # if the path contains ";" then we assume it to be the separator
10515 # otherwise default to the standard path separator (i.e. ":") - it is
10516 # assumed that no part of a normal pathname contains ";" but that should
10517 # okay in the real world where ";" in dirpaths is itself problematic.
10518 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10521 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10524 # Ok, now we have the path, separated by spaces, we can step through it
10525 # and add multilib dir if necessary...
10526 lt_tmp_lt_search_path_spec
=
10527 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10528 # ...but if some path component already ends with the multilib dir we assume
10529 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10530 case "$lt_multi_os_dir; $lt_search_path_spec " in
10531 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10535 for lt_sys_path
in $lt_search_path_spec; do
10536 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10537 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10538 elif test -n "$lt_multi_os_dir"; then
10539 test -d "$lt_sys_path" && \
10540 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10543 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10544 BEGIN {RS = " "; FS = "/|\n";} {
10547 for (lt_i = NF; lt_i > 0; lt_i--) {
10548 if ($lt_i != "" && $lt_i != ".") {
10549 if ($lt_i == "..") {
10552 if (lt_count == 0) {
10553 lt_foo = "/" $lt_i lt_foo;
10560 if (lt_foo != "") { lt_freq[lt_foo]++; }
10561 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10563 # AWK program above erroneously prepends '/' to C:/dos/paths
10566 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10567 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10569 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10571 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10573 library_names_spec
=
10574 libname_spec
='lib$name'
10578 postuninstall_cmds
=
10582 shlibpath_overrides_runpath
=unknown
10584 dynamic_linker
="$host_os ld.so"
10585 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10586 need_lib_prefix
=unknown
10587 hardcode_into_libs
=no
10589 # when you set need_version to no, make sure it does not cause -set_version
10590 # flags to be left without arguments
10591 need_version
=unknown
10597 version_type
=linux
# correct to gnu/linux during the next big refactor
10598 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10599 shlibpath_var
=LIBPATH
10601 # AIX 3 has no versioning support, so we append a major version to the name.
10602 soname_spec
='$libname$release$shared_ext$major'
10606 version_type
=linux
# correct to gnu/linux during the next big refactor
10609 hardcode_into_libs
=yes
10610 if test ia64
= "$host_cpu"; then
10611 # AIX 5 supports IA64
10612 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10613 shlibpath_var
=LD_LIBRARY_PATH
10615 # With GCC up to 2.95.x, collect2 would create an import file
10616 # for dependence libraries. The import file would start with
10617 # the line '#! .'. This would cause the generated library to
10618 # depend on '.', always an invalid library. This was fixed in
10619 # development snapshots of GCC prior to 3.0.
10621 aix4 | aix4.
[01] | aix4.
[01].
*)
10622 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10624 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10627 can_build_shared
=no
10631 # Using Import Files as archive members, it is possible to support
10632 # filename-based versioning of shared library archives on AIX. While
10633 # this would work for both with and without runtime linking, it will
10634 # prevent static linking of such archives. So we do filename-based
10635 # shared library versioning with .so extension only, which is used
10636 # when both runtime linking and shared linking is enabled.
10637 # Unfortunately, runtime linking may impact performance, so we do
10638 # not want this to be the default eventually. Also, we use the
10639 # versioned .so libs for executables only if there is the -brtl
10640 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10641 # To allow for filename-based versioning support, we need to create
10642 # libNAME.so.V as an archive file, containing:
10643 # *) an Import File, referring to the versioned filename of the
10644 # archive as well as the shared archive member, telling the
10645 # bitwidth (32 or 64) of that shared object, and providing the
10646 # list of exported symbols of that shared object, eventually
10647 # decorated with the 'weak' keyword
10648 # *) the shared object with the F_LOADONLY flag set, to really avoid
10649 # it being seen by the linker.
10650 # At run time we better use the real file rather than another symlink,
10651 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10653 case $with_aix_soname,$aix_use_runtimelinking in
10654 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10655 # soname into executable. Probably we can add versioning support to
10656 # collect2, so additional links can be useful in future.
10657 aix
,yes) # traditional libtool
10658 dynamic_linker
='AIX unversionable lib.so'
10659 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10660 # instead of lib<name>.a to let people know that these are not
10661 # typical AIX shared libraries.
10662 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10664 aix
,no
) # traditional AIX only
10665 dynamic_linker
='AIX lib.a(lib.so.V)'
10666 # We preserve .a as extension for shared libraries through AIX4.2
10667 # and later when we are not doing run time linking.
10668 library_names_spec
='$libname$release.a $libname.a'
10669 soname_spec
='$libname$release$shared_ext$major'
10671 svr4
,*) # full svr4 only
10672 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10673 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10674 # We do not specify a path in Import Files, so LIBPATH fires.
10675 shlibpath_overrides_runpath
=yes
10677 *,yes) # both, prefer svr4
10678 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10679 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10680 # unpreferred sharedlib libNAME.a needs extra handling
10681 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"'
10682 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"'
10683 # We do not specify a path in Import Files, so LIBPATH fires.
10684 shlibpath_overrides_runpath
=yes
10686 *,no
) # both, prefer aix
10687 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10688 library_names_spec
='$libname$release.a $libname.a'
10689 soname_spec
='$libname$release$shared_ext$major'
10690 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10691 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)'
10692 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"'
10695 shlibpath_var
=LIBPATH
10702 # Since July 2007 AmigaOS4 officially supports .so libraries.
10703 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10704 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10707 library_names_spec
='$libname.ixlibrary $libname.a'
10708 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10709 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'
10715 library_names_spec
='$libname$shared_ext'
10716 dynamic_linker
="$host_os ld.so"
10717 shlibpath_var
=LIBRARY_PATH
10721 version_type
=linux
# correct to gnu/linux during the next big refactor
10723 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10724 soname_spec
='$libname$release$shared_ext$major'
10725 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10726 shlibpath_var
=LD_LIBRARY_PATH
10727 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10728 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10729 # the default ld.so.conf also contains /usr/contrib/lib and
10730 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10731 # libtool to hard-code these into programs
10734 cygwin
* | mingw
* | pw32
* | cegcc
*)
10735 version_type
=windows
10740 case $GCC,$cc_basename in
10743 library_names_spec
='$libname.dll.a'
10744 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10745 postinstall_cmds
='base_file=`basename \$file`~
10746 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10747 dldir=$destdir/`dirname \$dlpath`~
10748 test -d \$dldir || mkdir -p \$dldir~
10749 $install_prog $dir/$dlname \$dldir/$dlname~
10750 chmod a+x \$dldir/$dlname~
10751 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10752 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10754 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10755 dlpath=$dir/\$dldll~
10757 shlibpath_overrides_runpath
=yes
10761 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10762 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10764 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10767 # MinGW DLLs use traditional 'lib' prefix
10768 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10771 # pw32 DLLs use 'pw' prefix rather than 'lib'
10772 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10775 dynamic_linker
='Win32 ld.exe'
10780 libname_spec
='$name'
10781 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10782 library_names_spec
='$libname.dll.lib'
10786 sys_lib_search_path_spec
=
10789 for lt_path
in $LIB
10792 # Let DOS variable expansion print the short 8.3 style file name.
10793 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10794 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10797 # Convert to MSYS style.
10798 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10801 # Convert to unix form, then to dos form, then back to unix form
10802 # but this time dos style (no spaces!) so that the unix form looks
10803 # like /cygdrive/c/PROGRA~1:/cygdr...
10804 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10805 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10806 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10809 sys_lib_search_path_spec
=$LIB
10810 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10811 # It is most probably a Windows format PATH.
10812 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10814 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10816 # FIXME: find the short name or the path components, as spaces are
10817 # common. (e.g. "Program Files" -> "PROGRA~1")
10821 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10822 postinstall_cmds
='base_file=`basename \$file`~
10823 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10824 dldir=$destdir/`dirname \$dlpath`~
10825 test -d \$dldir || mkdir -p \$dldir~
10826 $install_prog $dir/$dlname \$dldir/$dlname'
10827 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10828 dlpath=$dir/\$dldll~
10830 shlibpath_overrides_runpath
=yes
10831 dynamic_linker
='Win32 link.exe'
10835 # Assume MSVC wrapper
10836 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
10837 dynamic_linker
='Win32 ld.exe'
10840 # FIXME: first we should search . and the directory the executable is in
10844 darwin
* | rhapsody
*)
10845 dynamic_linker
="$host_os dyld"
10846 version_type
=darwin
10849 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
10850 soname_spec
='$libname$release$major$shared_ext'
10851 shlibpath_overrides_runpath
=yes
10852 shlibpath_var
=DYLD_LIBRARY_PATH
10853 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10855 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10856 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10860 version_type
=linux
# correct to gnu/linux during the next big refactor
10863 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10864 soname_spec
='$libname$release$shared_ext$major'
10865 shlibpath_var
=LD_LIBRARY_PATH
10868 freebsd
* | dragonfly
*)
10869 # DragonFly does not have aout. When/if they implement a new
10870 # versioning mechanism, adjust this.
10871 if test -x /usr
/bin
/objformat
; then
10872 objformat
=`/usr/bin/objformat`
10875 freebsd
[23].
*) objformat
=aout
;;
10876 *) objformat
=elf
;;
10879 version_type
=freebsd-
$objformat
10880 case $version_type in
10882 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10883 soname_spec
='$libname$release$shared_ext$major'
10888 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10892 shlibpath_var
=LD_LIBRARY_PATH
10895 shlibpath_overrides_runpath
=yes
10897 freebsd3.
[01]* | freebsdelf3.
[01]*)
10898 shlibpath_overrides_runpath
=yes
10899 hardcode_into_libs
=yes
10901 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10902 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10903 shlibpath_overrides_runpath
=no
10904 hardcode_into_libs
=yes
10906 *) # from 4.6 on, and DragonFly
10907 shlibpath_overrides_runpath
=yes
10908 hardcode_into_libs
=yes
10914 version_type
=linux
# correct to gnu/linux during the next big refactor
10917 dynamic_linker
="$host_os runtime_loader"
10918 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10919 soname_spec
='$libname$release$shared_ext$major'
10920 shlibpath_var
=LIBRARY_PATH
10921 shlibpath_overrides_runpath
=no
10922 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10923 hardcode_into_libs
=yes
10926 hpux9
* | hpux10
* | hpux11
*)
10927 # Give a soname corresponding to the major version so that dld.sl refuses to
10928 # link against other versions.
10935 hardcode_into_libs
=yes
10936 dynamic_linker
="$host_os dld.so"
10937 shlibpath_var
=LD_LIBRARY_PATH
10938 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10939 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10940 soname_spec
='$libname$release$shared_ext$major'
10941 if test 32 = "$HPUX_IA64_MODE"; then
10942 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10943 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10945 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10946 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10951 hardcode_into_libs
=yes
10952 dynamic_linker
="$host_os dld.sl"
10953 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10954 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10955 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10956 soname_spec
='$libname$release$shared_ext$major'
10957 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10958 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10962 dynamic_linker
="$host_os dld.sl"
10963 shlibpath_var
=SHLIB_PATH
10964 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10965 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10966 soname_spec
='$libname$release$shared_ext$major'
10969 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10970 postinstall_cmds
='chmod 555 $lib'
10971 # or fails outright, so override atomically:
10972 install_override_mode
=555
10976 version_type
=linux
# correct to gnu/linux during the next big refactor
10979 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10980 soname_spec
='$libname$release$shared_ext$major'
10981 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10982 shlibpath_var
=LD_LIBRARY_PATH
10983 shlibpath_overrides_runpath
=no
10984 hardcode_into_libs
=yes
10987 irix5
* | irix6
* | nonstopux
*)
10989 nonstopux
*) version_type
=nonstopux
;;
10991 if test yes = "$lt_cv_prog_gnu_ld"; then
10992 version_type
=linux
# correct to gnu/linux during the next big refactor
10999 soname_spec
='$libname$release$shared_ext$major'
11000 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11002 irix5
* | nonstopux
*)
11003 libsuff
= shlibsuff
=
11006 case $LD in # libtool.m4 will add one of these switches to LD
11007 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11008 libsuff
= shlibsuff
= libmagic
=32-bit;;
11009 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11010 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11011 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11012 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11013 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11017 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11018 shlibpath_overrides_runpath
=no
11019 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11020 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11021 hardcode_into_libs
=yes
11024 # No shared lib support for Linux oldld, aout, or coff.
11025 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11030 version_type
=none
# Android doesn't support versioned libraries.
11033 library_names_spec
='$libname$release$shared_ext'
11034 soname_spec
='$libname$release$shared_ext'
11036 shlibpath_var
=LD_LIBRARY_PATH
11037 shlibpath_overrides_runpath
=yes
11039 # This implies no fast_install, which is unacceptable.
11040 # Some rework will be needed to allow for fast_install
11041 # before this can be enabled.
11042 hardcode_into_libs
=yes
11044 dynamic_linker
='Android linker'
11045 # Don't embed -rpath directories since the linker doesn't support them.
11046 hardcode_libdir_flag_spec
='-L$libdir'
11049 # This must be glibc/ELF.
11050 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11051 version_type
=linux
# correct to gnu/linux during the next big refactor
11054 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11055 soname_spec
='$libname$release$shared_ext$major'
11056 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11057 shlibpath_var
=LD_LIBRARY_PATH
11058 shlibpath_overrides_runpath
=no
11060 # Some binutils ld are patched to set DT_RUNPATH
11061 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11062 $as_echo_n "(cached) " >&6
11064 lt_cv_shlibpath_overrides_runpath
=no
11065 save_LDFLAGS
=$LDFLAGS
11066 save_libdir
=$libdir
11067 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11068 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11080 if ac_fn_c_try_link
"$LINENO"; then :
11081 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11082 lt_cv_shlibpath_overrides_runpath
=yes
11085 rm -f core conftest.err conftest.
$ac_objext \
11086 conftest
$ac_exeext conftest.
$ac_ext
11087 LDFLAGS
=$save_LDFLAGS
11088 libdir
=$save_libdir
11092 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11094 # This implies no fast_install, which is unacceptable.
11095 # Some rework will be needed to allow for fast_install
11096 # before this can be enabled.
11097 hardcode_into_libs
=yes
11099 # Add ABI-specific directories to the system library path.
11100 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11102 # Ideally, we could use ldconfig to report *all* directores which are
11103 # searched for libraries, however this is still not possible. Aside from not
11104 # being certain /sbin/ldconfig is available, command
11105 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11106 # even though it is searched at run-time. Try to do the best guess by
11107 # appending ld.so.conf contents (and includes) to the search path.
11108 if test -f /etc
/ld.so.conf
; then
11109 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' ' '`
11110 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11113 # We used to test for /lib/ld.so.1 and disable shared libraries on
11114 # powerpc, because MkLinux only supported shared libraries with the
11115 # GNU dynamic linker. Since this was broken with cross compilers,
11116 # most powerpc-linux boxes support dynamic linking these days and
11117 # people can always --disable-shared, the test was removed, and we
11118 # assume the GNU/Linux dynamic linker is in use.
11119 dynamic_linker
='GNU/Linux ld.so'
11126 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11127 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11128 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11129 dynamic_linker
='NetBSD (a.out) ld.so'
11131 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11132 soname_spec
='$libname$release$shared_ext$major'
11133 dynamic_linker
='NetBSD ld.elf_so'
11135 shlibpath_var
=LD_LIBRARY_PATH
11136 shlibpath_overrides_runpath
=yes
11137 hardcode_into_libs
=yes
11141 version_type
=linux
# correct to gnu/linux during the next big refactor
11142 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11143 shlibpath_var
=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath
=yes
11151 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11152 soname_spec
='$libname$release$shared_ext$major'
11153 shlibpath_var
=LD_LIBRARY_PATH
11154 shlibpath_overrides_runpath
=no
11155 hardcode_into_libs
=yes
11156 dynamic_linker
='ldqnx.so'
11159 openbsd
* | bitrig
*)
11161 sys_lib_dlsearch_path_spec
=/usr
/lib
11163 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11168 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11169 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11170 shlibpath_var
=LD_LIBRARY_PATH
11171 shlibpath_overrides_runpath
=yes
11175 libname_spec
='$name'
11176 version_type
=windows
11180 # OS/2 can only load a DLL with a base name of 8 characters or less.
11181 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11182 v=$($ECHO $release$versuffix | tr -d .-);
11183 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11184 $ECHO $n$v`$shared_ext'
11185 library_names_spec
='${libname}_dll.$libext'
11186 dynamic_linker
='OS/2 ld.exe'
11187 shlibpath_var
=BEGINLIBPATH
11188 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11189 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11190 postinstall_cmds
='base_file=`basename \$file`~
11191 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11192 dldir=$destdir/`dirname \$dlpath`~
11193 test -d \$dldir || mkdir -p \$dldir~
11194 $install_prog $dir/$dlname \$dldir/$dlname~
11195 chmod a+x \$dldir/$dlname~
11196 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11197 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11199 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11200 dlpath=$dir/\$dldll~
11204 osf3
* | osf4
* | osf5
*)
11208 soname_spec
='$libname$release$shared_ext$major'
11209 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11210 shlibpath_var
=LD_LIBRARY_PATH
11211 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11212 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11220 version_type
=linux
# correct to gnu/linux during the next big refactor
11223 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11224 soname_spec
='$libname$release$shared_ext$major'
11225 shlibpath_var
=LD_LIBRARY_PATH
11226 shlibpath_overrides_runpath
=yes
11227 hardcode_into_libs
=yes
11228 # ldd complains unless libraries are executable
11229 postinstall_cmds
='chmod +x $lib'
11234 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11235 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11236 shlibpath_var
=LD_LIBRARY_PATH
11237 shlibpath_overrides_runpath
=yes
11238 if test yes = "$with_gnu_ld"; then
11245 version_type
=linux
# correct to gnu/linux during the next big refactor
11246 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11247 soname_spec
='$libname$release$shared_ext$major'
11248 shlibpath_var
=LD_LIBRARY_PATH
11249 case $host_vendor in
11251 shlibpath_overrides_runpath
=no
11253 runpath_var
=LD_RUN_PATH
11261 shlibpath_overrides_runpath
=no
11262 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11268 if test -d /usr
/nec
; then
11269 version_type
=linux
# correct to gnu/linux during the next big refactor
11270 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11271 soname_spec
='$libname$shared_ext.$major'
11272 shlibpath_var
=LD_LIBRARY_PATH
11276 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11280 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11281 soname_spec
='$libname$release$shared_ext$major'
11282 shlibpath_var
=LD_LIBRARY_PATH
11283 shlibpath_overrides_runpath
=yes
11284 hardcode_into_libs
=yes
11285 if test yes = "$with_gnu_ld"; then
11286 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11288 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11291 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11295 sys_lib_dlsearch_path_spec
='/usr/lib'
11299 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11300 version_type
=linux
# correct to gnu/linux during the next big refactor
11303 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11304 shlibpath_var
=LD_LIBRARY_PATH
11305 shlibpath_overrides_runpath
=no
11306 hardcode_into_libs
=yes
11310 version_type
=linux
# correct to gnu/linux during the next big refactor
11311 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11312 soname_spec
='$libname$release$shared_ext$major'
11313 shlibpath_var
=LD_LIBRARY_PATH
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11321 $as_echo "$dynamic_linker" >&6; }
11322 test no
= "$dynamic_linker" && can_build_shared
=no
11324 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11325 if test yes = "$GCC"; then
11326 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11329 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11330 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11333 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11334 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11337 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11338 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11340 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11341 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11343 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11344 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11443 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11445 if test -n "$hardcode_libdir_flag_spec" ||
11446 test -n "$runpath_var" ||
11447 test yes = "$hardcode_automatic"; then
11449 # We can hardcode non-existent directories.
11450 if test no
!= "$hardcode_direct" &&
11451 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11452 # have to relink, otherwise we might link with an installed library
11453 # when we should be linking with a yet-to-be-installed one
11454 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11455 test no
!= "$hardcode_minus_L"; then
11456 # Linking always hardcodes the temporary library directory.
11457 hardcode_action
=relink
11459 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11460 hardcode_action
=immediate
11463 # We cannot hardcode anything, or else we can only hardcode existing
11465 hardcode_action
=unsupported
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11468 $as_echo "$hardcode_action" >&6; }
11470 if test relink
= "$hardcode_action" ||
11471 test yes = "$inherit_rpath"; then
11472 # Fast installation is not supported
11473 enable_fast_install
=no
11474 elif test yes = "$shlibpath_overrides_runpath" ||
11475 test no
= "$enable_shared"; then
11476 # Fast installation is not necessary
11477 enable_fast_install
=needless
11485 if test yes != "$enable_dlopen"; then
11486 enable_dlopen
=unknown
11487 enable_dlopen_self
=unknown
11488 enable_dlopen_self_static
=unknown
11495 lt_cv_dlopen
=load_add_on
11497 lt_cv_dlopen_self
=yes
11500 mingw
* | pw32
* | cegcc
*)
11501 lt_cv_dlopen
=LoadLibrary
11506 lt_cv_dlopen
=dlopen
11511 # if libdl is installed we need to link against it
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11513 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11514 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11515 $as_echo_n "(cached) " >&6
11517 ac_check_lib_save_LIBS
=$LIBS
11519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11522 /* Override any GCC internal prototype to avoid an error.
11523 Use char because int might match the return type of a GCC
11524 builtin and then its argument prototype would still apply. */
11537 if ac_fn_c_try_link
"$LINENO"; then :
11538 ac_cv_lib_dl_dlopen
=yes
11540 ac_cv_lib_dl_dlopen
=no
11542 rm -f core conftest.err conftest.
$ac_objext \
11543 conftest
$ac_exeext conftest.
$ac_ext
11544 LIBS
=$ac_check_lib_save_LIBS
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11547 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11548 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11549 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11554 lt_cv_dlopen_self
=yes
11561 # Don't try to run any link tests for TPF. We know it's impossible
11562 # because TPF is a cross-compiler, and we know how we open DSOs.
11563 lt_cv_dlopen
=dlopen
11565 lt_cv_dlopen_self
=no
11569 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11570 if test "x$ac_cv_func_shl_load" = xyes
; then :
11571 lt_cv_dlopen
=shl_load
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11574 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11575 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11576 $as_echo_n "(cached) " >&6
11578 ac_check_lib_save_LIBS
=$LIBS
11580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11593 return shl_load ();
11598 if ac_fn_c_try_link
"$LINENO"; then :
11599 ac_cv_lib_dld_shl_load
=yes
11601 ac_cv_lib_dld_shl_load
=no
11603 rm -f core conftest.err conftest.
$ac_objext \
11604 conftest
$ac_exeext conftest.
$ac_ext
11605 LIBS
=$ac_check_lib_save_LIBS
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11608 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11609 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11610 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11612 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11613 if test "x$ac_cv_func_dlopen" = xyes
; then :
11614 lt_cv_dlopen
=dlopen
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11617 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11618 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11619 $as_echo_n "(cached) " >&6
11621 ac_check_lib_save_LIBS
=$LIBS
11623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11626 /* Override any GCC internal prototype to avoid an error.
11627 Use char because int might match the return type of a GCC
11628 builtin and then its argument prototype would still apply. */
11641 if ac_fn_c_try_link
"$LINENO"; then :
11642 ac_cv_lib_dl_dlopen
=yes
11644 ac_cv_lib_dl_dlopen
=no
11646 rm -f core conftest.err conftest.
$ac_objext \
11647 conftest
$ac_exeext conftest.
$ac_ext
11648 LIBS
=$ac_check_lib_save_LIBS
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11651 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11652 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11653 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11656 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11657 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11658 $as_echo_n "(cached) " >&6
11660 ac_check_lib_save_LIBS
=$LIBS
11661 LIBS
="-lsvld $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_svld_dlopen
=yes
11683 ac_cv_lib_svld_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_svld_dlopen" >&5
11690 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11691 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11692 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11695 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11696 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11697 $as_echo_n "(cached) " >&6
11699 ac_check_lib_save_LIBS
=$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. */
11714 return dld_link ();
11719 if ac_fn_c_try_link
"$LINENO"; then :
11720 ac_cv_lib_dld_dld_link
=yes
11722 ac_cv_lib_dld_dld_link
=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_dld_dld_link" >&5
11729 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11730 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11731 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11752 if test no
= "$lt_cv_dlopen"; then
11758 case $lt_cv_dlopen in
11760 save_CPPFLAGS
=$CPPFLAGS
11761 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11763 save_LDFLAGS
=$LDFLAGS
11764 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11767 LIBS
="$lt_cv_dlopen_libs $LIBS"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11770 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11771 if ${lt_cv_dlopen_self+:} false
; then :
11772 $as_echo_n "(cached) " >&6
11774 if test yes = "$cross_compiling"; then :
11775 lt_cv_dlopen_self
=cross
11777 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11778 lt_status
=$lt_dlunknown
11779 cat > conftest.
$ac_ext <<_LT_EOF
11780 #line $LINENO "configure"
11781 #include "confdefs.h"
11790 # define LT_DLGLOBAL RTLD_GLOBAL
11793 # define LT_DLGLOBAL DL_GLOBAL
11795 # define LT_DLGLOBAL 0
11799 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11800 find out it does not work in some platform. */
11801 #ifndef LT_DLLAZY_OR_NOW
11803 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11806 # define LT_DLLAZY_OR_NOW DL_LAZY
11809 # define LT_DLLAZY_OR_NOW RTLD_NOW
11812 # define LT_DLLAZY_OR_NOW DL_NOW
11814 # define LT_DLLAZY_OR_NOW 0
11821 /* When -fvisibility=hidden is used, assume the code has been annotated
11822 correspondingly for the symbols needed. */
11823 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11824 int fnord () __attribute__((visibility("default")));
11827 int fnord () { return 42; }
11830 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11831 int status = $lt_dlunknown;
11835 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11838 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11839 else puts (dlerror ());
11841 /* dlclose (self); */
11849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11850 (eval $ac_link) 2>&5
11852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11853 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11854 (.
/conftest
; exit; ) >&5 2>/dev
/null
11856 case x
$lt_status in
11857 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11858 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11859 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11862 # compilation failed
11863 lt_cv_dlopen_self
=no
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11871 $as_echo "$lt_cv_dlopen_self" >&6; }
11873 if test yes = "$lt_cv_dlopen_self"; then
11874 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11876 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11877 if ${lt_cv_dlopen_self_static+:} false
; then :
11878 $as_echo_n "(cached) " >&6
11880 if test yes = "$cross_compiling"; then :
11881 lt_cv_dlopen_self_static
=cross
11883 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11884 lt_status
=$lt_dlunknown
11885 cat > conftest.
$ac_ext <<_LT_EOF
11886 #line $LINENO "configure"
11887 #include "confdefs.h"
11896 # define LT_DLGLOBAL RTLD_GLOBAL
11899 # define LT_DLGLOBAL DL_GLOBAL
11901 # define LT_DLGLOBAL 0
11905 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11906 find out it does not work in some platform. */
11907 #ifndef LT_DLLAZY_OR_NOW
11909 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11912 # define LT_DLLAZY_OR_NOW DL_LAZY
11915 # define LT_DLLAZY_OR_NOW RTLD_NOW
11918 # define LT_DLLAZY_OR_NOW DL_NOW
11920 # define LT_DLLAZY_OR_NOW 0
11927 /* When -fvisibility=hidden is used, assume the code has been annotated
11928 correspondingly for the symbols needed. */
11929 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11930 int fnord () __attribute__((visibility("default")));
11933 int fnord () { return 42; }
11936 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11937 int status = $lt_dlunknown;
11941 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11944 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11945 else puts (dlerror ());
11947 /* dlclose (self); */
11955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11956 (eval $ac_link) 2>&5
11958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11959 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11960 (.
/conftest
; exit; ) >&5 2>/dev
/null
11962 case x
$lt_status in
11963 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11964 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11965 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11968 # compilation failed
11969 lt_cv_dlopen_self_static
=no
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11977 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11980 CPPFLAGS
=$save_CPPFLAGS
11981 LDFLAGS
=$save_LDFLAGS
11986 case $lt_cv_dlopen_self in
11987 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11988 *) enable_dlopen_self
=unknown
;;
11991 case $lt_cv_dlopen_self_static in
11992 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11993 *) enable_dlopen_self_static
=unknown
;;
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12016 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12017 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12018 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12019 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12021 $as_echo "yes" >&6; }
12023 # FIXME - insert some real tests, host_os isn't really good enough
12026 if test -n "$STRIP"; then
12027 striplib
="$STRIP -x"
12028 old_striplib
="$STRIP -S"
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12030 $as_echo "yes" >&6; }
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12033 $as_echo "no" >&6; }
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12038 $as_echo "no" >&6; }
12054 # Report what library types will actually be built
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12056 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12058 $as_echo "$can_build_shared" >&6; }
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12061 $as_echo_n "checking whether to build shared libraries... " >&6; }
12062 test no
= "$can_build_shared" && enable_shared
=no
12064 # On AIX, shared libraries and static libraries use the same namespace, and
12065 # are all built from PIC.
12068 test yes = "$enable_shared" && enable_static
=no
12069 if test -n "$RANLIB"; then
12070 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12071 postinstall_cmds
='$RANLIB $lib'
12076 if test ia64
!= "$host_cpu"; then
12077 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12078 yes,aix
,yes) ;; # shared object as lib.so file only
12079 yes,svr4
,*) ;; # shared object as lib.so archive member only
12080 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12086 $as_echo "$enable_shared" >&6; }
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12089 $as_echo_n "checking whether to build static libraries... " >&6; }
12090 # Make sure either enable_shared or enable_static is yes.
12091 test yes = "$enable_shared" || enable_static
=yes
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12093 $as_echo "$enable_static" >&6; }
12100 ac_cpp
='$CPP $CPPFLAGS'
12101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12121 ac_config_commands
="$ac_config_commands libtool"
12126 # Only expand once:
12130 if test "$GCC" = yes
12132 CFLAGS
="-Wall $CFLAGS"
12134 CFLAGS
="$CFLAGS -I$srcdir/.. -I.."
12138 for ac_header
in sys
/types.h
12140 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
12141 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
12142 cat >>confdefs.h
<<_ACEOF
12143 #define HAVE_SYS_TYPES_H 1
12152 # Check whether --with-int32 was given.
12153 if test "${with_int32+set}" = set; then :
12154 withval
=$with_int32; int32
="$withval"
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint32_t" >&5
12159 $as_echo_n "checking for uint32_t... " >&6; }
12161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 #if HAVE_SYS_TYPES_H
12165 #include <sys/types.h>
12178 if ac_fn_c_try_compile
"$LINENO"; then :
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12180 $as_echo "yes" >&6; } ; int32
="uint32_t"
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12185 $as_echo "no" >&6; }
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int_32_t" >&5
12187 $as_echo_n "checking for u_int_32_t... " >&6; }
12189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 #if HAVE_SYS_TYPES_H
12193 #include <sys/types.h>
12206 if ac_fn_c_try_compile
"$LINENO"; then :
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12208 $as_echo "yes" >&6; }; int32
="u_int32_t"
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12213 $as_echo "no" >&6; }
12215 # The cast to long int works around a bug in the HP C Compiler
12216 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12217 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12218 # This bug is HP SR number 8606223364.
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned" >&5
12220 $as_echo_n "checking size of unsigned... " >&6; }
12221 if ${ac_cv_sizeof_unsigned+:} false
; then :
12222 $as_echo_n "(cached) " >&6
12224 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned))" "ac_cv_sizeof_unsigned" "$ac_includes_default"; then :
12227 if test "$ac_cv_type_unsigned" = yes; then
12228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12230 as_fn_error
77 "cannot compute sizeof (unsigned)
12231 See \`config.log' for more details" "$LINENO" 5; }
12233 ac_cv_sizeof_unsigned
=0
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned" >&5
12239 $as_echo "$ac_cv_sizeof_unsigned" >&6; }
12243 cat >>confdefs.h
<<_ACEOF
12244 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
12248 if test "$ac_cv_sizeof_unsigned" != 4
12250 # The cast to long int works around a bug in the HP C Compiler
12251 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12252 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12253 # This bug is HP SR number 8606223364.
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
12255 $as_echo_n "checking size of unsigned long... " >&6; }
12256 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
12257 $as_echo_n "(cached) " >&6
12259 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
12262 if test "$ac_cv_type_unsigned_long" = yes; then
12263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12265 as_fn_error
77 "cannot compute sizeof (unsigned long)
12266 See \`config.log' for more details" "$LINENO" 5; }
12268 ac_cv_sizeof_unsigned_long
=0
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
12274 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
12278 cat >>confdefs.h
<<_ACEOF
12279 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
12283 if test "$ac_cv_sizeof_unsigned_long" != 4
12285 # The cast to long int works around a bug in the HP C Compiler
12286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12288 # This bug is HP SR number 8606223364.
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
12290 $as_echo_n "checking size of unsigned short... " >&6; }
12291 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
12292 $as_echo_n "(cached) " >&6
12294 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
12297 if test "$ac_cv_type_unsigned_short" = yes; then
12298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12300 as_fn_error
77 "cannot compute sizeof (unsigned short)
12301 See \`config.log' for more details" "$LINENO" 5; }
12303 ac_cv_sizeof_unsigned_short
=0
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
12309 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
12313 cat >>confdefs.h
<<_ACEOF
12314 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
12318 if test "$ac_cv_sizeof_unsigned_short" != 4
12320 as_fn_error $?
"--with-int32 option is required" "$LINENO" 5
12322 int32
="unsigned short"
12324 int32
="unsigned long"
12331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12342 cat >>confdefs.h
<<_ACEOF
12343 #define SHA1_WORD $UINT32
12348 # Check whether --with-int64 was given.
12349 if test "${with_int64+set}" = set; then :
12350 withval
=$with_int64; int64
="$withval"
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint64_t" >&5
12355 $as_echo_n "checking for uint64_t... " >&6; }
12357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12360 #if HAVE_SYS_TYPES_H
12361 #include <sys/types.h>
12374 if ac_fn_c_try_compile
"$LINENO"; then :
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12376 $as_echo "yes" >&6; } ; int64
="uint64_t"
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12381 $as_echo "no" >&6; }
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int_64_t" >&5
12383 $as_echo_n "checking for u_int_64_t... " >&6; }
12385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 #if HAVE_SYS_TYPES_H
12389 #include <sys/types.h>
12402 if ac_fn_c_try_compile
"$LINENO"; then :
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12404 $as_echo "yes" >&6; }; int64
="u_int64_t"
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12409 $as_echo "no" >&6; }
12411 # The cast to long int works around a bug in the HP C Compiler
12412 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12413 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12414 # This bug is HP SR number 8606223364.
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned" >&5
12416 $as_echo_n "checking size of unsigned... " >&6; }
12417 if ${ac_cv_sizeof_unsigned+:} false
; then :
12418 $as_echo_n "(cached) " >&6
12420 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned))" "ac_cv_sizeof_unsigned" "$ac_includes_default"; then :
12423 if test "$ac_cv_type_unsigned" = yes; then
12424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12426 as_fn_error
77 "cannot compute sizeof (unsigned)
12427 See \`config.log' for more details" "$LINENO" 5; }
12429 ac_cv_sizeof_unsigned
=0
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned" >&5
12435 $as_echo "$ac_cv_sizeof_unsigned" >&6; }
12439 cat >>confdefs.h
<<_ACEOF
12440 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
12444 if test "$ac_cv_sizeof_unsigned" != 8
12446 # The cast to long int works around a bug in the HP C Compiler
12447 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12448 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12449 # This bug is HP SR number 8606223364.
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
12451 $as_echo_n "checking size of unsigned long... " >&6; }
12452 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
12453 $as_echo_n "(cached) " >&6
12455 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
12458 if test "$ac_cv_type_unsigned_long" = yes; then
12459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12461 as_fn_error
77 "cannot compute sizeof (unsigned long)
12462 See \`config.log' for more details" "$LINENO" 5; }
12464 ac_cv_sizeof_unsigned_long
=0
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
12470 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
12474 cat >>confdefs.h
<<_ACEOF
12475 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
12479 if test "$ac_cv_sizeof_unsigned_long" != 8
12481 # The cast to long int works around a bug in the HP C Compiler
12482 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12483 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12484 # This bug is HP SR number 8606223364.
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&5
12486 $as_echo_n "checking size of unsigned long long... " >&6; }
12487 if ${ac_cv_sizeof_unsigned_long_long+:} false
; then :
12488 $as_echo_n "(cached) " >&6
12490 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long long))" "ac_cv_sizeof_unsigned_long_long" "$ac_includes_default"; then :
12493 if test "$ac_cv_type_unsigned_long_long" = yes; then
12494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12496 as_fn_error
77 "cannot compute sizeof (unsigned long long)
12497 See \`config.log' for more details" "$LINENO" 5; }
12499 ac_cv_sizeof_unsigned_long_long
=0
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_long" >&5
12505 $as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; }
12509 cat >>confdefs.h
<<_ACEOF
12510 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
12514 if test "$ac_cv_sizeof_unsigned_long_long" != 8
12516 # The cast to long int works around a bug in the HP C Compiler
12517 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12518 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12519 # This bug is HP SR number 8606223364.
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
12521 $as_echo_n "checking size of unsigned short... " >&6; }
12522 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
12523 $as_echo_n "(cached) " >&6
12525 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
12528 if test "$ac_cv_type_unsigned_short" = yes; then
12529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12531 as_fn_error
77 "cannot compute sizeof (unsigned short)
12532 See \`config.log' for more details" "$LINENO" 5; }
12534 ac_cv_sizeof_unsigned_short
=0
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
12540 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
12544 cat >>confdefs.h
<<_ACEOF
12545 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
12549 if test "$ac_cv_sizeof_unsigned_short" != 8
12551 as_fn_error $?
"--with-int64 option is required" "$LINENO" 5
12553 int64
="unsigned short"
12555 int64
="unsigned long long"
12558 int64
="unsigned long"
12565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12576 cat >>confdefs.h
<<_ACEOF
12577 #define SHA512_WORD $UINT64
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12581 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12582 if ${ac_cv_c_const+:} false
; then :
12583 $as_echo_n "(cached) " >&6
12585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12592 #ifndef __cplusplus
12593 /* Ultrix mips cc rejects this sort of thing. */
12594 typedef int charset[2];
12595 const charset cs = { 0, 0 };
12596 /* SunOS 4.1.1 cc rejects this. */
12597 char const *const *pcpcc;
12599 /* NEC SVR4.0.2 mips cc rejects this. */
12600 struct point {int x, y;};
12601 static struct point const zero = {0,0};
12602 /* AIX XL C 1.02.0.0 rejects this.
12603 It does not let you subtract one const X* pointer from another in
12604 an arm of an if-expression whose if-part is not a constant
12606 const char *g = "string";
12607 pcpcc = &g + (g ? g-g : 0);
12608 /* HPUX 7.0 cc rejects these. */
12610 ppc = (char**) pcpcc;
12611 pcpcc = (char const *const *) ppc;
12612 { /* SCO 3.2v4 cc rejects this sort of thing. */
12615 char const *s = 0 ? (char *) 0 : (char const *) 0;
12620 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12621 int x[] = {25, 17};
12622 const int *foo = &x[0];
12625 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12626 typedef const int *iptr;
12630 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12631 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12632 struct s { int j; const int *ap[3]; } bx;
12633 struct s *b = &bx; b->j = 5;
12635 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12636 const int foo = 10;
12637 if (!foo) return 0;
12639 return !cs[0] && !zero.x;
12646 if ac_fn_c_try_compile
"$LINENO"; then :
12651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12654 $as_echo "$ac_cv_c_const" >&6; }
12655 if test $ac_cv_c_const = no
; then
12657 $as_echo "#define const /**/" >>confdefs.h
12661 # Check whether --enable-largefile was given.
12662 if test "${enable_largefile+set}" = set; then :
12663 enableval
=$enable_largefile;
12666 if test "$enable_largefile" != no
; then
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12669 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12670 if ${ac_cv_sys_largefile_CC+:} false
; then :
12671 $as_echo_n "(cached) " >&6
12673 ac_cv_sys_largefile_CC
=no
12674 if test "$GCC" != yes; then
12677 # IRIX 6.2 and later do not support large files by default,
12678 # so use the C compiler's -n32 option if that helps.
12679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12680 /* end confdefs.h. */
12681 #include <sys/types.h>
12682 /* Check that off_t can represent 2**63 - 1 correctly.
12683 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12684 since some C++ compilers masquerading as C compilers
12685 incorrectly reject 9223372036854775807. */
12686 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12687 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12688 && LARGE_OFF_T % 2147483647 == 1)
12698 if ac_fn_c_try_compile
"$LINENO"; then :
12701 rm -f core conftest.err conftest.
$ac_objext
12703 if ac_fn_c_try_compile
"$LINENO"; then :
12704 ac_cv_sys_largefile_CC
=' -n32'; break
12706 rm -f core conftest.err conftest.
$ac_objext
12710 rm -f conftest.
$ac_ext
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12714 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12715 if test "$ac_cv_sys_largefile_CC" != no
; then
12716 CC
=$CC$ac_cv_sys_largefile_CC
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12720 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12721 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12722 $as_echo_n "(cached) " >&6
12725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12726 /* end confdefs.h. */
12727 #include <sys/types.h>
12728 /* Check that off_t can represent 2**63 - 1 correctly.
12729 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12730 since some C++ compilers masquerading as C compilers
12731 incorrectly reject 9223372036854775807. */
12732 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12733 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12734 && LARGE_OFF_T % 2147483647 == 1)
12744 if ac_fn_c_try_compile
"$LINENO"; then :
12745 ac_cv_sys_file_offset_bits
=no
; break
12747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12750 #define _FILE_OFFSET_BITS 64
12751 #include <sys/types.h>
12752 /* Check that off_t can represent 2**63 - 1 correctly.
12753 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12754 since some C++ compilers masquerading as C compilers
12755 incorrectly reject 9223372036854775807. */
12756 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12757 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12758 && LARGE_OFF_T % 2147483647 == 1)
12768 if ac_fn_c_try_compile
"$LINENO"; then :
12769 ac_cv_sys_file_offset_bits
=64; break
12771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12772 ac_cv_sys_file_offset_bits
=unknown
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12777 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12778 case $ac_cv_sys_file_offset_bits in #(
12781 cat >>confdefs.h
<<_ACEOF
12782 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12787 if test $ac_cv_sys_file_offset_bits = unknown
; then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12789 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12790 if ${ac_cv_sys_large_files+:} false
; then :
12791 $as_echo_n "(cached) " >&6
12794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12796 #include <sys/types.h>
12797 /* Check that off_t can represent 2**63 - 1 correctly.
12798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12799 since some C++ compilers masquerading as C compilers
12800 incorrectly reject 9223372036854775807. */
12801 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12803 && LARGE_OFF_T % 2147483647 == 1)
12813 if ac_fn_c_try_compile
"$LINENO"; then :
12814 ac_cv_sys_large_files
=no
; break
12816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12819 #define _LARGE_FILES 1
12820 #include <sys/types.h>
12821 /* Check that off_t can represent 2**63 - 1 correctly.
12822 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12823 since some C++ compilers masquerading as C compilers
12824 incorrectly reject 9223372036854775807. */
12825 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12826 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12827 && LARGE_OFF_T % 2147483647 == 1)
12837 if ac_fn_c_try_compile
"$LINENO"; then :
12838 ac_cv_sys_large_files
=1; break
12840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12841 ac_cv_sys_large_files
=unknown
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12846 $as_echo "$ac_cv_sys_large_files" >&6; }
12847 case $ac_cv_sys_large_files in #(
12850 cat >>confdefs.h
<<_ACEOF
12851 #define _LARGE_FILES $ac_cv_sys_large_files
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12863 $as_echo_n "checking for ANSI C header files... " >&6; }
12864 if ${ac_cv_header_stdc+:} false
; then :
12865 $as_echo_n "(cached) " >&6
12867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12869 #include <stdlib.h>
12870 #include <stdarg.h>
12871 #include <string.h>
12882 if ac_fn_c_try_compile
"$LINENO"; then :
12883 ac_cv_header_stdc
=yes
12885 ac_cv_header_stdc
=no
12887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12889 if test $ac_cv_header_stdc = yes; then
12890 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12893 #include <string.h>
12896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12897 $EGREP "memchr" >/dev
/null
2>&1; then :
12900 ac_cv_header_stdc
=no
12906 if test $ac_cv_header_stdc = yes; then
12907 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12910 #include <stdlib.h>
12913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12914 $EGREP "free" >/dev
/null
2>&1; then :
12917 ac_cv_header_stdc
=no
12923 if test $ac_cv_header_stdc = yes; then
12924 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12925 if test "$cross_compiling" = yes; then :
12928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12931 #include <stdlib.h>
12932 #if ((' ' & 0x0FF) == 0x020)
12933 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12934 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12936 # define ISLOWER(c) \
12937 (('a' <= (c) && (c) <= 'i') \
12938 || ('j' <= (c) && (c) <= 'r') \
12939 || ('s' <= (c) && (c) <= 'z'))
12940 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12943 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12948 for (i = 0; i < 256; i++)
12949 if (XOR (islower (i), ISLOWER (i))
12950 || toupper (i) != TOUPPER (i))
12955 if ac_fn_c_try_run
"$LINENO"; then :
12958 ac_cv_header_stdc
=no
12960 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12961 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12967 $as_echo "$ac_cv_header_stdc" >&6; }
12968 if test $ac_cv_header_stdc = yes; then
12970 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12975 ac_config_files
="$ac_config_files Makefile"
12977 cat >confcache
<<\_ACEOF
12978 # This file is a shell script that caches the results of configure
12979 # tests run on this system so they can be shared between configure
12980 # scripts and configure runs, see configure's option --config-cache.
12981 # It is not useful on other systems. If it contains results you don't
12982 # want to keep, you may remove or edit it.
12984 # config.status only pays attention to the cache file if you give it
12985 # the --recheck option to rerun configure.
12987 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12988 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12989 # following values.
12993 # The following way of writing the cache mishandles newlines in values,
12994 # but we know of no workaround that is simple, portable, and efficient.
12995 # So, we kill variables containing newlines.
12996 # Ultrix sh set writes to stderr and can't be redirected directly,
12997 # and sets the high bit in the cache file unless we assign to the vars.
12999 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13000 eval ac_val
=\$
$ac_var
13004 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13005 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13008 _ | IFS | as_nl
) ;; #(
13009 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13010 *) { eval $ac_var=; unset $ac_var;} ;;
13016 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13017 *${as_nl}ac_space
=\
*)
13018 # `set' does not quote correctly, so add quotes: double-quote
13019 # substitution turns \\\\ into \\, and sed turns \\ into \.
13022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13025 # `set' quotes correctly as required by POSIX, so do not add quotes.
13026 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13035 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13037 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13039 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13040 if test -w "$cache_file"; then
13041 if test "x$cache_file" != "x/dev/null"; then
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13043 $as_echo "$as_me: updating cache $cache_file" >&6;}
13044 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13045 cat confcache
>"$cache_file"
13047 case $cache_file in #(
13049 mv -f confcache
"$cache_file"$$
&&
13050 mv -f "$cache_file"$$
"$cache_file" ;; #(
13052 mv -f confcache
"$cache_file" ;;
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13058 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13063 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13064 # Let make expand exec_prefix.
13065 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13067 DEFS
=-DHAVE_CONFIG_H
13072 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13073 # 1. Remove the extension, and $U if already installed.
13074 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13075 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13076 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13077 # will be set to the directory where LIBOBJS objects are built.
13078 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13079 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13081 LIBOBJS
=$ac_libobjs
13083 LTLIBOBJS
=$ac_ltlibobjs
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13087 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13088 if test -n "$am_sleep_pid"; then
13089 # Hide warnings about reused PIDs.
13090 wait $am_sleep_pid 2>/dev
/null
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13093 $as_echo "done" >&6; }
13094 if test -n "$EXEEXT"; then
13096 am__EXEEXT_FALSE
='#'
13098 am__EXEEXT_TRUE
='#'
13102 if test -z "${HMACC_TRUE}" && test -z "${HMACC_FALSE}"; then
13103 as_fn_error $?
"conditional \"HMACC\" was never defined.
13104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13106 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13107 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13110 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13111 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13115 : "${CONFIG_STATUS=./config.status}"
13117 ac_clean_files_save
=$ac_clean_files
13118 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13120 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13122 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13124 # Generated by $as_me.
13125 # Run this file to recreate the current configuration.
13126 # Compiler output produced by configure, useful for debugging
13127 # configure, is in config.log if it exists.
13130 ac_cs_recheck=false
13133 SHELL=\${CONFIG_SHELL-$SHELL}
13136 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13137 ## -------------------- ##
13138 ## M4sh Initialization. ##
13139 ## -------------------- ##
13141 # Be more Bourne compatible
13142 DUALCASE
=1; export DUALCASE
# for MKS sh
13143 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13146 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13147 # is contrary to our usage. Disable this feature.
13148 alias -g '${1+"$@"}'='"$@"'
13149 setopt NO_GLOB_SUBST
13151 case `(set -o) 2>/dev/null` in #(
13163 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13164 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13165 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13166 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13167 # Prefer a ksh shell builtin over an external printf program on Solaris,
13168 # but without wasting forks for bash or zsh.
13169 if test -z "$BASH_VERSION$ZSH_VERSION" \
13170 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13171 as_echo='print
-r --'
13172 as_echo_n='print
-rn --'
13173 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13174 as_echo='printf %s
\n'
13175 as_echo_n='printf %s
'
13177 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13178 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13179 as_echo_n='/usr
/ucb
/echo -n'
13181 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13182 as_echo_n_body='eval
13186 expr "X$arg" : "X\\(.*\\)$as_nl";
13187 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13189 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13191 export as_echo_n_body
13192 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13194 export as_echo_body
13195 as_echo='sh
-c $as_echo_body as_echo
'
13198 # The user is always right.
13199 if test "${PATH_SEPARATOR+set}" != set; then
13201 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13202 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13209 # We need space, tab and new line, in precisely that order. Quoting is
13210 # there to prevent editors from complaining about space-tab.
13211 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13212 # splitting by setting IFS to empty value.)
13215 # Find who we are. Look in the path if we contain no directory separator.
13218 *[\\/]* ) as_myself=$0 ;;
13219 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13220 for as_dir in $PATH
13223 test -z "$as_dir" && as_dir=.
13224 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13230 # We did not find ourselves, most probably we were run as `sh COMMAND'
13231 # in which case we are not to be found in the path.
13232 if test "x$as_myself" = x
; then
13235 if test ! -f "$as_myself"; then
13236 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13240 # Unset variables that we do not need and which cause bugs (e.g. in
13241 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13242 # suppresses any "Segmentation fault" message there. '((' could
13243 # trigger a bug in pdksh 5.2.14.
13244 for as_var
in BASH_ENV ENV MAIL MAILPATH
13245 do eval test x\
${$as_var+set} = xset \
13246 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13259 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13262 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13263 # ----------------------------------------
13264 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13265 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13266 # script with STATUS, using 1 if that was 0.
13269 as_status
=$1; test $as_status -eq 0 && as_status
=1
13271 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13272 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13274 $as_echo "$as_me: error: $2" >&2
13275 as_fn_exit
$as_status
13279 # as_fn_set_status STATUS
13280 # -----------------------
13281 # Set $? to STATUS, without forking.
13282 as_fn_set_status
()
13285 } # as_fn_set_status
13287 # as_fn_exit STATUS
13288 # -----------------
13289 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13293 as_fn_set_status
$1
13299 # Portably unset VAR.
13302 { eval $1=; unset $1;}
13304 as_unset
=as_fn_unset
13305 # as_fn_append VAR VALUE
13306 # ----------------------
13307 # Append the text in VALUE to the end of the definition contained in VAR. Take
13308 # advantage of any shell optimizations that allow amortized linear growth over
13309 # repeated appends, instead of the typical quadratic growth present in naive
13311 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13312 eval 'as_fn_append ()
13323 # as_fn_arith ARG...
13324 # ------------------
13325 # Perform arithmetic evaluation on the ARGs, and store the result in the
13326 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13327 # must be portable across $(()) and expr.
13328 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13329 eval 'as_fn_arith ()
13336 as_val
=`expr "$@" || test $? -eq 1`
13341 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13342 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13348 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13349 as_basename
=basename
13354 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13360 as_me
=`$as_basename -- "$0" ||
13361 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13362 X"$0" : 'X\(//\)$' \| \
13363 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13365 sed '/^.*\/\([^/][^/]*\)\/*$/{
13379 # Avoid depending upon Character Ranges.
13380 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13381 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13382 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13383 as_cr_digits
='0123456789'
13384 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13386 ECHO_C
= ECHO_N
= ECHO_T
=
13387 case `echo -n x` in #(((((
13389 case `echo 'xy\c'` in
13390 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13392 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13399 rm -f conf$$ conf$$.exe conf$$.
file
13400 if test -d conf$$.dir
; then
13401 rm -f conf$$.dir
/conf$$.
file
13404 mkdir conf$$.dir
2>/dev
/null
13406 if (echo >conf$$.
file) 2>/dev
/null
; then
13407 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13409 # ... but there are two gotchas:
13410 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13411 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13412 # In both cases, we have to default to `cp -pR'.
13413 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13415 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13423 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13424 rmdir conf$$.dir
2>/dev
/null
13429 # Create "$as_dir" as a directory, including parents if necessary.
13434 -*) as_dir
=.
/$as_dir;;
13436 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13440 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13441 *) as_qdir
=$as_dir;;
13443 as_dirs
="'$as_qdir' $as_dirs"
13444 as_dir
=`$as_dirname -- "$as_dir" ||
13445 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13446 X"$as_dir" : 'X\(//\)[^/]' \| \
13447 X"$as_dir" : 'X\(//\)$' \| \
13448 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13449 $as_echo X"$as_dir" |
13450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13454 /^X\(\/\/\)[^/].*/{
13467 test -d "$as_dir" && break
13469 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13470 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13474 if mkdir
-p .
2>/dev
/null
; then
13475 as_mkdir_p
='mkdir -p "$as_dir"'
13477 test -d .
/-p && rmdir .
/-p
13482 # as_fn_executable_p FILE
13483 # -----------------------
13484 # Test if FILE is an executable regular file.
13485 as_fn_executable_p
()
13487 test -f "$1" && test -x "$1"
13488 } # as_fn_executable_p
13489 as_test_x
='test -x'
13490 as_executable_p
=as_fn_executable_p
13492 # Sed expression to map a string onto a valid CPP name.
13493 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13495 # Sed expression to map a string onto a valid variable name.
13496 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13500 ## ----------------------------------- ##
13501 ## Main body of $CONFIG_STATUS script. ##
13502 ## ----------------------------------- ##
13504 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13507 # Save the log message, to keep $0 and so on meaningful, and to
13508 # report actual input values of CONFIG_FILES etc. instead of their
13509 # values after options handling.
13511 This file was extended by libsha1 $as_me 1.21, which was
13512 generated by GNU Autoconf 2.69. Invocation command line was
13514 CONFIG_FILES = $CONFIG_FILES
13515 CONFIG_HEADERS = $CONFIG_HEADERS
13516 CONFIG_LINKS = $CONFIG_LINKS
13517 CONFIG_COMMANDS = $CONFIG_COMMANDS
13520 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13525 case $ac_config_files in *"
13526 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13529 case $ac_config_headers in *"
13530 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13535 # Files that config.status was made for.
13536 config_files="$ac_config_files"
13537 config_headers="$ac_config_headers"
13538 config_commands="$ac_config_commands"
13542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13544 \`$as_me' instantiates files and other configuration actions
13545 from templates according to the current configuration. Unless the files
13546 and actions are specified as TAGs, all are instantiated by default.
13548 Usage: $0 [OPTION]... [TAG]...
13550 -h, --help print this help, then exit
13551 -V, --version print version number and configuration settings, then exit
13552 --config print configuration, then exit
13553 -q, --quiet, --silent
13554 do not print progress messages
13555 -d, --debug don't remove temporary files
13556 --recheck update $as_me by reconfiguring in the same conditions
13557 --file=FILE[:TEMPLATE]
13558 instantiate the configuration file FILE
13559 --header=FILE[:TEMPLATE]
13560 instantiate the configuration header FILE
13562 Configuration files:
13565 Configuration headers:
13568 Configuration commands:
13571 Report bugs to <courier-users@lists.sourceforge.net>."
13574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13575 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13577 libsha1 config.status 1.21
13578 configured by $0, generated by GNU Autoconf 2.69,
13579 with options \\"\$ac_cs_config\\"
13581 Copyright (C) 2012 Free Software Foundation, Inc.
13582 This config.status script is free software; the Free Software Foundation
13583 gives unlimited permission to copy, distribute and modify it."
13590 test -n "\$AWK" || AWK=awk
13593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13594 # The default lists apply if the user does not specify any file.
13600 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13601 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13605 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13617 # Handling of the options.
13618 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13620 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13621 $as_echo "$ac_cs_version"; exit ;;
13622 --config |
--confi |
--conf |
--con |
--co |
--c )
13623 $as_echo "$ac_cs_config"; exit ;;
13624 --debug |
--debu |
--deb |
--de |
--d |
-d )
13626 --file |
--fil |
--fi |
--f )
13629 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13630 '') as_fn_error $?
"missing file argument" ;;
13632 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13633 ac_need_defaults
=false
;;
13634 --header |
--heade |
--head |
--hea )
13637 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13639 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13640 ac_need_defaults
=false
;;
13642 # Conflict between --help and --header
13643 as_fn_error $?
"ambiguous option: \`$1'
13644 Try \`$0 --help' for more information.";;
13645 --help |
--hel |
-h )
13646 $as_echo "$ac_cs_usage"; exit ;;
13647 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13648 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13651 # This is an error.
13652 -*) as_fn_error $?
"unrecognized option: \`$1'
13653 Try \`$0 --help' for more information." ;;
13655 *) as_fn_append ac_config_targets
" $1"
13656 ac_need_defaults
=false
;;
13662 ac_configure_extra_args
=
13664 if $ac_cs_silent; then
13666 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13671 if \$ac_cs_recheck; then
13672 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13674 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13675 CONFIG_SHELL='$SHELL'
13676 export CONFIG_SHELL
13681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13685 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13686 ## Running $as_me. ##
13692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13696 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13699 # The HP-UX ksh and POSIX shell print the target directory to stdout
13700 # if CDPATH is set.
13701 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13703 sed_quote_subst='$sed_quote_subst'
13704 double_quote_subst='$double_quote_subst'
13705 delay_variable_subst='$delay_variable_subst'
13706 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13707 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13708 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13709 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13710 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13711 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13712 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13713 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13714 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13715 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13716 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13717 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13718 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13719 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13720 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13721 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13722 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13723 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13724 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13725 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13726 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13727 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13728 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13729 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13730 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13731 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13732 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13733 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13734 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13735 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13736 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13737 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13738 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13739 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13740 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13741 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13742 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13743 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13744 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13745 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13746 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13747 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13748 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13749 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13750 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13751 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13752 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13753 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13754 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13755 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13756 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13757 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13758 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13759 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13760 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13761 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13762 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13763 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13764 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"`'
13765 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13766 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13767 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13768 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13769 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13770 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13771 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13772 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13773 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13774 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13775 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13776 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13777 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13778 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13779 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13780 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13781 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13782 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13783 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13784 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13785 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13786 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13787 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13788 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13789 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13790 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13791 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13792 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13793 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13794 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13795 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13796 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13797 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13798 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13799 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13800 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13801 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13802 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13803 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13804 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13805 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13806 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13807 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13808 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13809 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13810 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13811 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13812 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13813 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13814 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13815 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13816 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13817 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13818 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13819 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13820 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13821 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13822 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13823 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13824 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13825 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13826 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13827 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13828 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13829 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13830 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13831 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13832 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13833 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13834 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13835 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13836 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13837 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13838 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13839 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13840 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13843 LTCFLAGS='$LTCFLAGS'
13844 compiler='$compiler_DEFAULT'
13846 # A function that is used when there is no print builtin or printf.
13847 func_fallback_echo ()
13849 eval 'cat <<_LTECHO_EOF
13854 # Quote evaled strings.
13869 deplibs_check_method \
13874 sharedlib_from_linklib_cmd \
13877 archiver_list_spec \
13883 lt_cv_sys_global_symbol_pipe \
13884 lt_cv_sys_global_symbol_to_cdecl \
13885 lt_cv_sys_global_symbol_to_import \
13886 lt_cv_sys_global_symbol_to_c_name_address \
13887 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13888 lt_cv_nm_interface \
13889 nm_file_list_spec \
13890 lt_cv_truncate_bin \
13891 lt_prog_compiler_no_builtin_flag \
13892 lt_prog_compiler_pic \
13893 lt_prog_compiler_wl \
13894 lt_prog_compiler_static \
13895 lt_cv_prog_compiler_c_o \
13904 export_dynamic_flag_spec \
13905 whole_archive_flag_spec \
13906 compiler_needs_object \
13908 allow_undefined_flag \
13909 no_undefined_flag \
13910 hardcode_libdir_flag_spec \
13911 hardcode_libdir_separator \
13915 variables_saved_for_relink \
13917 library_names_spec \
13919 install_override_mode \
13923 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13924 *[\\\\\\\`\\"\\\$]*)
13925 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13928 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13933 # Double-quote double-evaled strings.
13934 for var in reload_cmds \
13935 old_postinstall_cmds \
13936 old_postuninstall_cmds \
13938 extract_expsyms_cmds \
13939 old_archive_from_new_cmds \
13940 old_archive_from_expsyms_cmds \
13942 archive_expsym_cmds \
13944 module_expsym_cmds \
13945 export_symbols_cmds \
13949 postuninstall_cmds \
13951 sys_lib_search_path_spec \
13952 configure_time_dlsearch_path \
13953 configure_time_lt_sys_library_path; do
13954 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13955 *[\\\\\\\`\\"\\\$]*)
13956 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13959 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13964 ac_aux_dir='$ac_aux_dir'
13966 # See if we are running on zsh, and set the options that allow our
13967 # commands through without removal of \ escapes INIT.
13968 if test -n "\${ZSH_VERSION+set}"; then
13969 setopt NO_GLOB_SUBST
13983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13985 # Handling of arguments.
13986 for ac_config_target
in $ac_config_targets
13988 case $ac_config_target in
13989 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13990 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13991 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13992 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13994 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13999 # If the user did not use the arguments to specify the items to instantiate,
14000 # then the envvar interface is used. Set only those that are not.
14001 # We use the long form for the default assignment because of an extremely
14002 # bizarre bug on SunOS 4.1.3.
14003 if $ac_need_defaults; then
14004 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14005 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14006 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14009 # Have a temporary directory for convenience. Make it in the build tree
14010 # simply because there is no reason against having it here, and in addition,
14011 # creating and moving files from /tmp can sometimes cause problems.
14012 # Hook for its removal unless debugging.
14013 # Note that there is a small window in which the directory will not be cleaned:
14014 # after its creation but before its name has been assigned to `$tmp'.
14018 trap 'exit_status=$?
14019 : "${ac_tmp:=$tmp}"
14020 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14022 trap 'as_fn_exit 1' 1 2 13 15
14024 # Create a (secure) tmp directory for tmp files.
14027 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14031 tmp
=.
/conf$$
-$RANDOM
14032 (umask 077 && mkdir
"$tmp")
14033 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14036 # Set up the scripts for CONFIG_FILES section.
14037 # No need to generate them if there are no CONFIG_FILES.
14038 # This happens for instance with `./config.status config.h'.
14039 if test -n "$CONFIG_FILES"; then
14042 ac_cr
=`echo X | tr X '\015'`
14043 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14044 # But we know of no other shell where ac_cr would be empty at this
14045 # point, so we can use a bashism as a fallback.
14046 if test "x$ac_cr" = x
; then
14047 eval ac_cr
=\$
\'\\r
\'
14049 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14050 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14053 ac_cs_awk_cr
=$ac_cr
14056 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14061 echo "cat >conf$$subs.awk <<_ACEOF" &&
14062 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14064 } >conf$$subs.sh ||
14065 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14066 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14068 for ac_last_try in false false false false false :; do
14069 . ./conf$$subs.sh ||
14070 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14072 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14073 if test $ac_delim_n = $ac_delim_num; then
14075 elif $ac_last_try; then
14076 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14078 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14081 rm -f conf$$subs.sh
14083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14084 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14088 s/^/S["/; s
/!.
*/"]=/
14098 s/\(.\{148\}\)..*/\1/
14100 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14105 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14112 s/\(.\{148\}\)..*/\1/
14114 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14118 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14123 ' <conf$$subs.awk | sed '
14128 ' >>$CONFIG_STATUS || ac_write_fail=1
14129 rm -f conf$$subs.awk
14130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14132 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14133 for (key in S) S_is_set[key] = 1
14139 nfields = split(line, field, "@
")
14141 len = length(field[1])
14142 for (i = 2; i < nfields; i++) {
14144 keylen = length(key)
14145 if (S_is_set[key]) {
14147 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14148 len += length(value) + length(field[++i])
14159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14160 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14161 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14164 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14165 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14168 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14169 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14170 # trailing colons and then remove the whole line if VPATH becomes empty
14171 # (actually we leave an empty line to preserve line numbers).
14172 if test "x
$srcdir" = x.; then
14173 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14192 fi # test -n "$CONFIG_FILES"
14194 # Set up the scripts for CONFIG_HEADERS section.
14195 # No need to generate them if there are no CONFIG_HEADERS.
14196 # This happens for instance with `./config.status Makefile'.
14197 if test -n "$CONFIG_HEADERS"; then
14198 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14202 # Transform confdefs.h into an awk script `defines.awk', embedded as
14203 # here-document in config.status, that substitutes the proper values into
14204 # config.h.in to produce config.h.
14206 # Create a delimiter string that does not exist in confdefs.h, to ease
14207 # handling of long lines.
14209 for ac_last_try in false false :; do
14210 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14211 if test -z "$ac_tt"; then
14213 elif $ac_last_try; then
14214 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14216 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14220 # For the awk script, D is an array of macro values keyed by name,
14221 # likewise P contains macro parameters if any. Preserve backslash
14222 # newline sequences.
14224 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14226 s/.\{148\}/&'"$ac_delim"'/g
14229 s/^[ ]*#[ ]*define[ ][ ]*/ /
14236 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14238 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14242 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14243 D["\
1"]=" \
3\\\\\\n
"\\/p
14245 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14250 s/.\{148\}/&'"$ac_delim"'/g
14255 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14258 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14260 ' <confdefs.h | sed '
14261 s/'"$ac_delim"'/"\\\
14262 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14265 for (key in D) D_is_set[key] = 1
14268 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14270 split(line, arg, " ")
14271 if (arg[1] == "#") {
14275 defundef
= substr
(arg
[1], 2)
14278 split(mac1
, mac2
, "(") #)
14280 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14281 if (D_is_set
[macro
]) {
14282 # Preserve the white space surrounding the "#".
14283 print prefix
"define", macro P
[macro
] D
[macro
]
14286 # Replace #undef with comments. This is necessary, for example,
14287 # in the case of _POSIX_SOURCE, which is predefined and required
14288 # on some systems where configure will not decide to define it.
14289 if (defundef
== "undef") {
14290 print
"/*", prefix defundef
, macro
, "*/"
14298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14299 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14300 fi # test -n "$CONFIG_HEADERS"
14303 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14308 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14310 case $ac_mode$ac_tag in
14312 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14313 :[FH
]-) ac_tag
=-:-;;
14314 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14331 -) ac_f
="$ac_tmp/stdin";;
14332 *) # Look for the file first in the build tree, then in the source tree
14333 # (if the path is not absolute). The absolute path cannot be DOS-style,
14334 # because $ac_f cannot contain `:'.
14338 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14340 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14342 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14343 as_fn_append ac_file_inputs
" '$ac_f'"
14346 # Let's still pretend it is `configure' which instantiates (i.e., don't
14347 # use $as_me), people would be surprised to read:
14348 # /* config.h. Generated by config.status. */
14349 configure_input
='Generated from '`
14350 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14352 if test x
"$ac_file" != x-
; then
14353 configure_input
="$ac_file. $configure_input"
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14355 $as_echo "$as_me: creating $ac_file" >&6;}
14357 # Neutralize special characters interpreted by sed in replacement strings.
14358 case $configure_input in #(
14359 *\
&* |
*\|
* |
*\\* )
14360 ac_sed_conf_input
=`$as_echo "$configure_input" |
14361 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14362 *) ac_sed_conf_input
=$configure_input;;
14366 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14367 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14372 ac_dir
=`$as_dirname -- "$ac_file" ||
14373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14374 X"$ac_file" : 'X\(//\)[^/]' \| \
14375 X"$ac_file" : 'X\(//\)$' \| \
14376 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14377 $as_echo X"$ac_file" |
14378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14382 /^X\(\/\/\)[^/].*/{
14395 as_dir
="$ac_dir"; as_fn_mkdir_p
14399 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14401 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14402 # A ".." for each directory in $ac_dir_suffix.
14403 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14404 case $ac_top_builddir_sub in
14405 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14406 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14409 ac_abs_top_builddir
=$ac_pwd
14410 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14411 # for backward compatibility:
14412 ac_top_builddir
=$ac_top_build_prefix
14415 .
) # We are building in place.
14417 ac_top_srcdir
=$ac_top_builddir_sub
14418 ac_abs_top_srcdir
=$ac_pwd ;;
14419 [\\/]* | ?
:[\\/]* ) # Absolute name.
14420 ac_srcdir
=$srcdir$ac_dir_suffix;
14421 ac_top_srcdir
=$srcdir
14422 ac_abs_top_srcdir
=$srcdir ;;
14423 *) # Relative name.
14424 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14425 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14426 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14428 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14438 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14439 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14441 ac_MKDIR_P
=$MKDIR_P
14443 [\\/$
]* | ?
:[\\/]* ) ;;
14444 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14449 # If the template does not know about datarootdir, expand it.
14450 # FIXME: This hack should be removed a few years after 2.60.
14451 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14462 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14463 *datarootdir
*) ac_datarootdir_seen
=yes;;
14464 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14466 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14469 ac_datarootdir_hack='
14470 s&@datadir@&$datadir&g
14471 s&@docdir@&$docdir&g
14472 s&@infodir@&$infodir&g
14473 s&@localedir@&$localedir&g
14474 s&@mandir@&$mandir&g
14475 s&\\\${datarootdir}&$datarootdir&g' ;;
14479 # Neutralize VPATH when `$srcdir' = `.'.
14480 # Shell code in configure.ac might set extrasub.
14481 # FIXME: do we really want to maintain this feature?
14482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14483 ac_sed_extra="$ac_vpsub
14486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14488 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14489 s|@configure_input@|
$ac_sed_conf_input|
;t t
14490 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14491 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14492 s
&@srcdir@
&$ac_srcdir&;t t
14493 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14494 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14495 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14496 s
&@builddir@
&$ac_builddir&;t t
14497 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14498 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14499 s
&@INSTALL@
&$ac_INSTALL&;t t
14500 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14501 $ac_datarootdir_hack
14503 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14504 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14506 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14507 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14508 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14509 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14511 which seems to be undefined. Please make sure it is defined" >&5
14512 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14513 which seems to be undefined. Please make sure it is defined" >&2;}
14515 rm -f "$ac_tmp/stdin"
14517 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14518 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14520 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14526 if test x"$ac_file" != x-; then
14528 $as_echo "/* $configure_input */" \
14529 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14530 } >"$ac_tmp/config.h" \
14531 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14532 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14534 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14537 mv "$ac_tmp/config.h" "$ac_file" \
14538 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14541 $as_echo "/* $configure_input */" \
14542 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14543 || as_fn_error $? "could not create -" "$LINENO" 5
14545 # Compute "$ac_file"'s index
in $config_headers.
14548 for _am_header
in $config_headers :; do
14549 case $_am_header in
14550 $_am_arg |
$_am_arg:* )
14553 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14556 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14557 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14558 X"$_am_arg" : 'X\(//\)[^/]' \| \
14559 X"$_am_arg" : 'X\(//\)$' \| \
14560 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14561 $as_echo X"$_am_arg" |
14562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14566 /^X\(\/\/\)[^/].*/{
14578 s/.*/./; q'`/stamp-h
$_am_stamp_count
14581 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14582 $as_echo "$as_me: executing $ac_file commands" >&6;}
14587 case $ac_file$ac_mode in
14588 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14589 # Older Autoconf quotes --file arguments for eval, but not when files
14590 # are listed without --file. Let's play safe and only enable the eval
14591 # if we detect the quoting.
14592 case $CONFIG_FILES in
14593 *\'*) eval set x
"$CONFIG_FILES" ;;
14594 *) set x
$CONFIG_FILES ;;
14599 # Strip MF so we end up with the name of the file.
14600 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14601 # Check whether this is an Automake generated Makefile or not.
14602 # We used to match only the files named 'Makefile.in', but
14603 # some people rename them; so instead we look at the file content.
14604 # Grep'ing the first line is not enough: some people post-process
14605 # each Makefile.in and add a new line on top of each file to say so.
14606 # Grep'ing the whole file is not good either: AIX grep has a line
14607 # limit of 2048, but all sed's we know have understand at least 4000.
14608 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14609 dirpart
=`$as_dirname -- "$mf" ||
14610 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14611 X"$mf" : 'X\(//\)[^/]' \| \
14612 X"$mf" : 'X\(//\)$' \| \
14613 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14619 /^X\(\/\/\)[^/].*/{
14635 # Extract the definition of DEPDIR, am__include, and am__quote
14636 # from the Makefile without running 'make'.
14637 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14638 test -z "$DEPDIR" && continue
14639 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14640 test -z "$am__include" && continue
14641 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14642 # Find all dependency output files, they are included files with
14643 # $(DEPDIR) in their names. We invoke sed twice because it is the
14644 # simplest approach to changing $(DEPDIR) to its actual value in the
14646 for file in `sed -n "
14647 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14648 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14649 # Make sure the directory exists.
14650 test -f "$dirpart/$file" && continue
14651 fdir
=`$as_dirname -- "$file" ||
14652 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14653 X"$file" : 'X\(//\)[^/]' \| \
14654 X"$file" : 'X\(//\)$' \| \
14655 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14656 $as_echo X"$file" |
14657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14661 /^X\(\/\/\)[^/].*/{
14674 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14675 # echo "creating $dirpart/$file"
14676 echo '# dummy' > "$dirpart/$file"
14683 # See if we are running on zsh, and set the options that allow our
14684 # commands through without removal of \ escapes.
14685 if test -n "${ZSH_VERSION+set}"; then
14686 setopt NO_GLOB_SUBST
14690 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14693 cat <<_LT_EOF >> "$cfgfile"
14695 # Generated automatically by $as_me ($PACKAGE) $VERSION
14696 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14697 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14699 # Provide generalized library-building support services.
14700 # Written by Gordon Matzigkeit, 1996
14702 # Copyright (C) 2014 Free Software Foundation, Inc.
14703 # This is free software; see the source for copying conditions. There is NO
14704 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14706 # GNU Libtool is free software; you can redistribute it and/or modify
14707 # it under the terms of the GNU General Public License as published by
14708 # the Free Software Foundation; either version 2 of of the License, or
14709 # (at your option) any later version.
14711 # As a special exception to the GNU General Public License, if you
14712 # distribute this file as part of a program or library that is built
14713 # using GNU Libtool, you may include this file under the same
14714 # distribution terms that you use for the rest of that program.
14716 # GNU Libtool is distributed in the hope that it will be useful, but
14717 # WITHOUT ANY WARRANTY; without even the implied warranty of
14718 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14719 # GNU General Public License for more details.
14721 # You should have received a copy of the GNU General Public License
14722 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14725 # The names of the tagged configurations supported by this script.
14728 # Configured defaults for sys_lib_dlsearch_path munging.
14729 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14731 # ### BEGIN LIBTOOL CONFIG
14733 # Which release of libtool.m4 was used?
14734 macro_version=$macro_version
14735 macro_revision=$macro_revision
14737 # Whether or not to build shared libraries.
14738 build_libtool_libs=$enable_shared
14740 # Whether or not to build static libraries.
14741 build_old_libs=$enable_static
14743 # What type of objects to build.
14746 # Whether or not to optimize for fast installation.
14747 fast_install=$enable_fast_install
14749 # Shared archive member basename,for filename based shared library versioning on AIX.
14750 shared_archive_member_spec=$shared_archive_member_spec
14752 # Shell to use when invoking shell scripts.
14755 # An echo program that protects backslashes.
14758 # The PATH separator for the build system.
14759 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14762 host_alias=$host_alias
14766 # The build system.
14767 build_alias=$build_alias
14771 # A sed program that does not truncate output.
14774 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14775 Xsed="\$SED -e 1s/^X//"
14777 # A grep program that handles long lines.
14783 # A literal string matcher.
14786 # A BSD- or MS-compatible name lister.
14789 # Whether we need soft or hard links.
14792 # What is the maximum length of a command?
14793 max_cmd_len=$max_cmd_len
14795 # Object file suffix (normally "o").
14798 # Executable file suffix (normally "").
14801 # whether the shell understands "unset".
14804 # turn spaces into newlines.
14807 # turn newlines into spaces.
14810 # convert \$build file names to \$host format.
14811 to_host_file_cmd=$lt_cv_to_host_file_cmd
14813 # convert \$build files to toolchain format.
14814 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14816 # An object symbol dumper.
14817 OBJDUMP=$lt_OBJDUMP
14819 # Method to check whether dependent libraries are shared objects.
14820 deplibs_check_method=$lt_deplibs_check_method
14822 # Command to use when deplibs_check_method = "file_magic".
14823 file_magic_cmd=$lt_file_magic_cmd
14825 # How to find potential files when deplibs_check_method = "file_magic".
14826 file_magic_glob=$lt_file_magic_glob
14828 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14829 want_nocaseglob=$lt_want_nocaseglob
14831 # DLL creation program.
14832 DLLTOOL=$lt_DLLTOOL
14834 # Command to associate shared and link libraries.
14835 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14840 # Flags to create an archive.
14841 AR_FLAGS=$lt_AR_FLAGS
14843 # How to feed a file listing to the archiver.
14844 archiver_list_spec=$lt_archiver_list_spec
14846 # A symbol stripping program.
14849 # Commands used to install an old-style archive.
14851 old_postinstall_cmds=$lt_old_postinstall_cmds
14852 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14854 # Whether to use a lock for old archive extraction.
14855 lock_old_archive_extraction=$lock_old_archive_extraction
14860 # LTCC compiler flags.
14861 LTCFLAGS=$lt_CFLAGS
14863 # Take the output of nm and produce a listing of raw symbols and C names.
14864 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14866 # Transform the output of nm in a proper C declaration.
14867 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14869 # Transform the output of nm into a list of symbols to manually relocate.
14870 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14872 # Transform the output of nm in a C name address pair.
14873 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14875 # Transform the output of nm in a C name address pair when lib prefix is needed.
14876 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14878 # The name lister interface.
14879 nm_interface=$lt_lt_cv_nm_interface
14881 # Specify filename containing input files for \$NM.
14882 nm_file_list_spec=$lt_nm_file_list_spec
14884 # The root where to search for dependent libraries,and where our libraries should be installed.
14885 lt_sysroot=$lt_sysroot
14887 # Command to truncate a binary pipe.
14888 lt_truncate_bin=$lt_lt_cv_truncate_bin
14890 # The name of the directory that contains temporary libtool files.
14893 # Used to examine libraries when file_magic_cmd begins with "file".
14894 MAGIC_CMD=$MAGIC_CMD
14896 # Must we lock files when doing compilation?
14897 need_locks=$lt_need_locks
14900 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14902 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14903 DSYMUTIL=$lt_DSYMUTIL
14905 # Tool to change global to local symbols on Mac OS X.
14908 # Tool to manipulate fat objects and archives on Mac OS X.
14911 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14914 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14915 OTOOL64=$lt_OTOOL64
14917 # Old archive suffix (normally "a").
14920 # Shared library suffix (normally ".so").
14921 shrext_cmds=$lt_shrext_cmds
14923 # The commands to extract the exported symbol list from a shared archive.
14924 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14926 # Variables whose values should be saved in libtool wrapper scripts and
14927 # restored at link time.
14928 variables_saved_for_relink=$lt_variables_saved_for_relink
14930 # Do we need the "lib" prefix for modules?
14931 need_lib_prefix=$need_lib_prefix
14933 # Do we need a version for libraries?
14934 need_version=$need_version
14936 # Library versioning type.
14937 version_type=$version_type
14939 # Shared library runtime path variable.
14940 runpath_var=$runpath_var
14942 # Shared library path variable.
14943 shlibpath_var=$shlibpath_var
14945 # Is shlibpath searched before the hard-coded library search path?
14946 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14948 # Format of library name prefix.
14949 libname_spec=$lt_libname_spec
14951 # List of archive names. First name is the real one, the rest are links.
14952 # The last name is the one that the linker finds with -lNAME
14953 library_names_spec=$lt_library_names_spec
14955 # The coded name of the library, if different from the real name.
14956 soname_spec=$lt_soname_spec
14958 # Permission mode override for installation of shared libraries.
14959 install_override_mode=$lt_install_override_mode
14961 # Command to use after installation of a shared archive.
14962 postinstall_cmds=$lt_postinstall_cmds
14964 # Command to use after uninstallation of a shared archive.
14965 postuninstall_cmds=$lt_postuninstall_cmds
14967 # Commands used to finish a libtool library installation in a directory.
14968 finish_cmds=$lt_finish_cmds
14970 # As "finish_cmds", except a single script fragment to be evaled but
14972 finish_eval=$lt_finish_eval
14974 # Whether we should hardcode library paths into libraries.
14975 hardcode_into_libs=$hardcode_into_libs
14977 # Compile-time system search path for libraries.
14978 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14980 # Detected run-time system search path for libraries.
14981 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14983 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14984 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14986 # Whether dlopen is supported.
14987 dlopen_support=$enable_dlopen
14989 # Whether dlopen of programs is supported.
14990 dlopen_self=$enable_dlopen_self
14992 # Whether dlopen of statically linked programs is supported.
14993 dlopen_self_static=$enable_dlopen_self_static
14995 # Commands to strip libraries.
14996 old_striplib=$lt_old_striplib
14997 striplib=$lt_striplib
15000 # The linker used to build libraries.
15003 # How to create reloadable object files.
15004 reload_flag=$lt_reload_flag
15005 reload_cmds=$lt_reload_cmds
15007 # Commands used to build an old-style archive.
15008 old_archive_cmds=$lt_old_archive_cmds
15010 # A language specific compiler.
15013 # Is the compiler the GNU compiler?
15016 # Compiler flag to turn off builtin functions.
15017 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15019 # Additional compiler flags for building library objects.
15020 pic_flag=$lt_lt_prog_compiler_pic
15022 # How to pass a linker flag through the compiler.
15023 wl=$lt_lt_prog_compiler_wl
15025 # Compiler flag to prevent dynamic linking.
15026 link_static_flag=$lt_lt_prog_compiler_static
15028 # Does compiler simultaneously support -c and -o options?
15029 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15031 # Whether or not to add -lc for building shared libraries.
15032 build_libtool_need_lc=$archive_cmds_need_lc
15034 # Whether or not to disallow shared libs when runtime libs are static.
15035 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15037 # Compiler flag to allow reflexive dlopens.
15038 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15040 # Compiler flag to generate shared objects directly from archives.
15041 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15043 # Whether the compiler copes with passing no objects directly.
15044 compiler_needs_object=$lt_compiler_needs_object
15046 # Create an old-style archive from a shared archive.
15047 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15049 # Create a temporary old-style archive to link instead of a shared archive.
15050 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15052 # Commands used to build a shared archive.
15053 archive_cmds=$lt_archive_cmds
15054 archive_expsym_cmds=$lt_archive_expsym_cmds
15056 # Commands used to build a loadable module if different from building
15057 # a shared archive.
15058 module_cmds=$lt_module_cmds
15059 module_expsym_cmds=$lt_module_expsym_cmds
15061 # Whether we are building with GNU ld or not.
15062 with_gnu_ld=$lt_with_gnu_ld
15064 # Flag that allows shared libraries with undefined symbols to be built.
15065 allow_undefined_flag=$lt_allow_undefined_flag
15067 # Flag that enforces no undefined symbols.
15068 no_undefined_flag=$lt_no_undefined_flag
15070 # Flag to hardcode \$libdir into a binary during linking.
15071 # This must work even if \$libdir does not exist
15072 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15074 # Whether we need a single "-rpath" flag with a separated argument.
15075 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15077 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15078 # DIR into the resulting binary.
15079 hardcode_direct=$hardcode_direct
15081 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15082 # DIR into the resulting binary and the resulting library dependency is
15083 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15084 # library is relocated.
15085 hardcode_direct_absolute=$hardcode_direct_absolute
15087 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15088 # into the resulting binary.
15089 hardcode_minus_L=$hardcode_minus_L
15091 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15092 # into the resulting binary.
15093 hardcode_shlibpath_var=$hardcode_shlibpath_var
15095 # Set to "yes" if building a shared library automatically hardcodes DIR
15096 # into the library and all subsequent libraries and executables linked
15098 hardcode_automatic=$hardcode_automatic
15100 # Set to yes if linker adds runtime paths of dependent libraries
15101 # to runtime path list.
15102 inherit_rpath=$inherit_rpath
15104 # Whether libtool must link a program against all its dependency libraries.
15105 link_all_deplibs=$link_all_deplibs
15107 # Set to "yes" if exported symbols are required.
15108 always_export_symbols=$always_export_symbols
15110 # The commands to list exported symbols.
15111 export_symbols_cmds=$lt_export_symbols_cmds
15113 # Symbols that should not be listed in the preloaded symbols.
15114 exclude_expsyms=$lt_exclude_expsyms
15116 # Symbols that must always be exported.
15117 include_expsyms=$lt_include_expsyms
15119 # Commands necessary for linking programs (against libraries) with templates.
15120 prelink_cmds=$lt_prelink_cmds
15122 # Commands necessary for finishing linking programs.
15123 postlink_cmds=$lt_postlink_cmds
15125 # Specify filename containing input files.
15126 file_list_spec=$lt_file_list_spec
15128 # How to hardcode a shared library path into an executable.
15129 hardcode_action=$hardcode_action
15131 # ### END LIBTOOL CONFIG
15135 cat <<'_LT_EOF' >> "$cfgfile"
15137 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15139 # func_munge_path_list VARIABLE PATH
15140 # -----------------------------------
15141 # VARIABLE is name of variable containing _space_ separated list of
15142 # directories to be munged by the contents of PATH, which is string
15145 # string "DIR[ DIR]" will be prepended to VARIABLE
15147 # string "DIR[ DIR]" will be appended to VARIABLE
15148 # "DIRP[:DIRP]::[DIRA:]DIRA"
15149 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15150 # "DIRA[ DIRA]" will be appended to VARIABLE
15152 # VARIABLE will be replaced by "DIR[ DIR]"
15153 func_munge_path_list ()
15159 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15162 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15165 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15166 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15169 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15175 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15176 func_cc_basename ()
15178 for cc_temp in $*""; do
15180 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15181 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15186 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15190 # ### END FUNCTIONS SHARED WITH CONFIGURE
15196 cat <<\_LT_EOF
>> "$cfgfile"
15197 # AIX sometimes has problems with the GCC collect2 program. For some
15198 # reason, if we set the COLLECT_NAMES environment variable, the problems
15199 # vanish in a puff of smoke.
15200 if test set != "${COLLECT_NAMES+set}"; then
15202 export COLLECT_NAMES
15209 ltmain
=$ac_aux_dir/ltmain.sh
15212 # We use sed instead of cat because bash on DJGPP gets confused if
15213 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15214 # text mode, it properly converts lines to CR/LF. This bash problem
15215 # is reportedly fixed, but why not run on old versions too?
15216 sed '$q' "$ltmain" >> "$cfgfile" \
15217 ||
(rm -f "$cfgfile"; exit 1)
15219 mv -f "$cfgfile" "$ofile" ||
15220 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15231 ac_clean_files
=$ac_clean_files_save
15233 test $ac_write_fail = 0 ||
15234 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15237 # configure is writing to config.log, and then calls config.status.
15238 # config.status does its own redirection, appending to config.log.
15239 # Unfortunately, on DOS this fails, as config.log is still kept open
15240 # by configure, so config.status won't be able to write to it; its
15241 # output is simply discarded. So we exec the FD to /dev/null,
15242 # effectively closing config.log, so it can be properly (re)opened and
15243 # appended to by config.status. When coming back to configure, we
15244 # need to make the FD available again.
15245 if test "$no_create" != yes; then
15247 ac_config_status_args
=
15248 test "$silent" = yes &&
15249 ac_config_status_args
="$ac_config_status_args --quiet"
15251 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15253 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15254 # would make configure fail if this is the last instruction.
15255 $ac_cs_success || as_fn_exit
1
15257 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15259 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}