2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libhmac 1.00.
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
='libhmac'
592 PACKAGE_TARNAME
='libhmac'
593 PACKAGE_VERSION
='1.00'
594 PACKAGE_STRING
='libhmac 1.00'
595 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
598 ac_unique_file
="hmac.h"
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
700 INSTALL_STRIP_PROGRAM
742 program_transform_name
755 enable_option_checking
757 enable_dependency_tracking
766 ac_precious_vars
='build_alias
777 # Initialize some variables set by options.
779 ac_init_version
=false
780 ac_unrecognized_opts
=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
791 program_transform_name
=s
,x
,x
,
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir
='${exec_prefix}/bin'
806 sbindir
='${exec_prefix}/sbin'
807 libexecdir
='${exec_prefix}/libexec'
808 datarootdir
='${prefix}/share'
809 datadir
='${datarootdir}'
810 sysconfdir
='${prefix}/etc'
811 sharedstatedir
='${prefix}/com'
812 localstatedir
='${prefix}/var'
813 includedir
='${prefix}/include'
814 oldincludedir
='/usr/include'
815 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
816 infodir
='${datarootdir}/info'
821 libdir
='${exec_prefix}/lib'
822 localedir
='${datarootdir}/locale'
823 mandir
='${datarootdir}/man'
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\
$ac_option
837 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
850 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
853 -build |
--build |
--buil |
--bui |
--bu)
854 ac_prev
=build_alias
;;
855 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
859 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
860 ac_prev
=cache_file
;;
861 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
862 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir |
--datadir |
--datadi |
--datad)
870 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
874 |
--dataroo |
--dataro |
--datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
877 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* |
--disable-*)
881 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
884 as_fn_error $?
"invalid feature name: $ac_useropt"
885 ac_useropt_orig
=$ac_useropt
886 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep
=', ';;
894 eval enable_
$ac_useropt=no
;;
896 -docdir |
--docdir |
--docdi |
--doc |
--do)
898 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
901 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
903 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
906 -enable-* |
--enable-*)
907 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
910 as_fn_error $?
"invalid feature name: $ac_useropt"
911 ac_useropt_orig
=$ac_useropt
912 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep
=', ';;
920 eval enable_
$ac_useropt=\
$ac_optarg ;;
922 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
923 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
924 |
--exec |
--exe |
--ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
927 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
928 |
--exec=* |
--exe=* |
--ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas |
--gas |
--ga |
--g)
932 # Obsolete; use --with-gas.
935 -help |
--help |
--hel |
--he |
-h)
937 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
940 ac_init_help
=short
;;
942 -host |
--host |
--hos |
--ho)
943 ac_prev
=host_alias
;;
944 -host=* |
--host=* |
--hos=* |
--ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
949 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir |
--includedir |
--includedi |
--included |
--include \
954 |
--includ |
--inclu |
--incl |
--inc)
955 ac_prev
=includedir
;;
956 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
957 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
962 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir |
--libdir |
--libdi |
--libd)
967 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
970 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
971 |
--libexe |
--libex |
--libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
974 |
--libexe=* |
--libex=* |
--libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir |
--localedir |
--localedi |
--localed |
--locale)
979 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
983 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
986 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
991 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
995 # Obsolete; use --without-fp.
998 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
999 |
--no-cr |
--no-c |
-n)
1002 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1003 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1006 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1007 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1008 |
--oldin |
--oldi |
--old |
--ol |
--o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1011 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1012 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1017 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1021 |
--program-pre |
--program-pr |
--program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1024 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1028 |
--program-suf |
--program-su |
--program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1031 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name |
--program-transform-name \
1035 |
--program-transform-nam |
--program-transform-na \
1036 |
--program-transform-n |
--program-transform- \
1037 |
--program-transform |
--program-transfor \
1038 |
--program-transfo |
--program-transf \
1039 |
--program-trans |
--program-tran \
1040 |
--progr-tra |
--program-tr |
--program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* |
--program-transform-name=* \
1043 |
--program-transform-nam=* |
--program-transform-na=* \
1044 |
--program-transform-n=* |
--program-transform-=* \
1045 |
--program-transform=* |
--program-transfor=* \
1046 |
--program-transfo=* |
--program-transf=* \
1047 |
--program-trans=* |
--program-tran=* \
1048 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1053 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1058 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1062 |
-silent |
--silent |
--silen |
--sile |
--sil)
1065 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1067 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1072 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1073 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1077 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1078 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site |
--site |
--sit)
1084 -site=* |
--site=* |
--sit=*)
1087 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1089 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1093 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1096 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1100 ac_prev
=target_alias
;;
1101 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1107 -version |
--version |
--versio |
--versi |
--vers |
-V)
1108 ac_init_version
=: ;;
1111 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1114 as_fn_error $?
"invalid package name: $ac_useropt"
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval with_
$ac_useropt=\
$ac_optarg ;;
1126 -without-* |
--without-*)
1127 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 as_fn_error $?
"invalid package name: $ac_useropt"
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=no
;;
1143 # Obsolete; use --with-x.
1146 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1147 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1148 ac_prev
=x_includes
;;
1149 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1150 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1151 x_includes
=$ac_optarg ;;
1153 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1154 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1155 ac_prev
=x_libraries
;;
1156 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1157 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1158 x_libraries
=$ac_optarg ;;
1160 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1165 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1169 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\
$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1185 if test -n "$ac_prev"; then
1186 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error $?
"missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val
=\$
$ac_var
1205 # Remove trailing slashes.
1208 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\
$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$
]* | ?
:[\\/]* ) continue;;
1214 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1216 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target
=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x
; then
1228 if test "x$build_alias" = x
; then
1229 cross_compiling
=maybe
1230 elif test "x$build_alias" != "x$host_alias"; then
1236 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1238 test "$silent" = yes && exec 6>/dev
/null
1241 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di
=`ls -di .` &&
1243 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1244 as_fn_error $?
"working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 as_fn_error $?
"pwd does not report name of working directory"
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted
=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir
=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1281 ac_srcdir_defaulted
=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1285 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1287 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1299 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 for ac_var
in $ac_precious_vars; do
1302 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1303 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1304 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1315 \`configure' configures libhmac 1.00 to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking ...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/libhmac]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1373 --program-prefix=PREFIX prepend PREFIX to installed program names
1374 --program-suffix=SUFFIX append SUFFIX to installed program names
1375 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1378 --build=BUILD configure
for building on BUILD
[guessed
]
1379 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1383 if test -n "$ac_init_help"; then
1384 case $ac_init_help in
1385 short | recursive
) echo "Configuration of libhmac 1.00:";;
1390 --disable-option-checking ignore unrecognized
--enable/--with options
1391 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1392 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1393 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1394 --disable-silent-rules verbose build output
(undo
: "make V=0")
1395 --enable-dependency-tracking
1396 do not reject slow dependency extractors
1397 --disable-dependency-tracking
1398 speeds up one-time build
1399 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1400 --enable-static[=PKGS
] build static libraries
[default
=yes]
1401 --enable-fast-install[=PKGS
]
1402 optimize
for fast installation
[default
=yes]
1403 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1406 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1407 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1408 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1410 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1411 --with-sysroot=DIR Search
for dependent libraries within DIR
1412 (or the compiler
's sysroot if not specified).
1414 Some influential environment variables:
1415 CC C compiler command
1416 CFLAGS C compiler flags
1417 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1418 nonstandard directory <lib dir>
1419 LIBS libraries to pass to the linker, e.g. -l<library>
1420 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1421 you have headers in a nonstandard directory <include dir>
1424 Use these variables to override the choices made by `configure' or to
help
1425 it to
find libraries and programs with nonstandard names
/locations.
1427 Report bugs to
<courier-users@lists.sourceforge.net
>.
1432 if test "$ac_init_help" = "recursive"; then
1433 # If there are subdirs, report their specific --help.
1434 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1435 test -d "$ac_dir" ||
1436 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1441 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1443 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1444 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1446 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1448 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1451 ac_abs_top_builddir
=$ac_pwd
1452 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1453 # for backward compatibility:
1454 ac_top_builddir
=$ac_top_build_prefix
1457 .
) # We are building in place.
1459 ac_top_srcdir
=$ac_top_builddir_sub
1460 ac_abs_top_srcdir
=$ac_pwd ;;
1461 [\\/]* | ?
:[\\/]* ) # Absolute name.
1462 ac_srcdir
=$srcdir$ac_dir_suffix;
1463 ac_top_srcdir
=$srcdir
1464 ac_abs_top_srcdir
=$srcdir ;;
1466 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1467 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1468 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1470 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1472 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1473 # Check for guested configure.
1474 if test -f "$ac_srcdir/configure.gnu"; then
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1477 elif test -f "$ac_srcdir/configure"; then
1479 $SHELL "$ac_srcdir/configure" --help=recursive
1481 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1483 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1487 test -n "$ac_init_help" && exit $ac_status
1488 if $ac_init_version; then
1490 libhmac configure
1.00
1491 generated by GNU Autoconf
2.69
1493 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1494 This configure
script is free software
; the Free Software Foundation
1495 gives unlimited permission to copy
, distribute and modify it.
1500 ## ------------------------ ##
1501 ## Autoconf initialization. ##
1502 ## ------------------------ ##
1504 # ac_fn_c_try_compile LINENO
1505 # --------------------------
1506 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1507 ac_fn_c_try_compile
()
1509 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1510 rm -f conftest.
$ac_objext
1511 if { { ac_try
="$ac_compile"
1513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1514 *) ac_try_echo=$ac_try;;
1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517 $as_echo "$ac_try_echo"; } >&5
1518 (eval "$ac_compile") 2>conftest.err
1520 if test -s conftest.err; then
1521 grep -v '^ *+' conftest.err >conftest.er1
1522 cat conftest.er1 >&5
1523 mv -f conftest.er1 conftest.err
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 test $ac_status = 0; } && {
1527 test -z "$ac_c_werror_flag" ||
1528 test ! -s conftest.err
1529 } && test -s conftest.$ac_objext; then :
1532 $as_echo "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.$ac_ext >&5
1537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1538 as_fn_set_status $ac_retval
1540 } # ac_fn_c_try_compile
1542 # ac_fn_c_try_link LINENO
1543 # -----------------------
1544 # Try to link conftest.$ac_ext, and return whether this succeeded.
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 rm -f conftest.$ac_objext conftest$ac_exeext
1549 if { { ac_try="$ac_link"
1551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1552 *) ac_try_echo
=$ac_try;;
1554 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_link") 2>conftest.err
1558 if test -s conftest.err
; then
1559 grep -v '^ *+' conftest.err
>conftest.er1
1560 cat conftest.er1
>&5
1561 mv -f conftest.er1 conftest.err
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564 test $ac_status = 0; } && {
1565 test -z "$ac_c_werror_flag" ||
1566 test ! -s conftest.err
1567 } && test -s conftest
$ac_exeext && {
1568 test "$cross_compiling" = yes ||
1569 test -x conftest
$ac_exeext
1573 $as_echo "$as_me: failed program was:" >&5
1574 sed 's/^/| /' conftest.
$ac_ext >&5
1578 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1579 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1580 # interfere with the next link command; also delete a directory that is
1581 # left behind by Apple's compiler. We do this before executing the actions.
1582 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584 as_fn_set_status
$ac_retval
1586 } # ac_fn_c_try_link
1588 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1589 # -------------------------------------------------------
1590 # Tests whether HEADER exists and can be compiled using the include files in
1591 # INCLUDES, setting the cache variable VAR accordingly.
1592 ac_fn_c_check_header_compile
()
1594 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1596 $as_echo_n "checking for $2... " >&6; }
1597 if eval \
${$3+:} false
; then :
1598 $as_echo_n "(cached) " >&6
1600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1601 /* end confdefs.h. */
1605 if ac_fn_c_try_compile
"$LINENO"; then :
1610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1614 $as_echo "$ac_res" >&6; }
1615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 } # ac_fn_c_check_header_compile
1619 # ac_fn_c_try_cpp LINENO
1620 # ----------------------
1621 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1624 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1625 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } > conftest.i && {
1641 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1656 # ac_fn_c_try_run LINENO
1657 # ----------------------
1658 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1659 # that executables *can* be run.
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 if { { ac_try="$ac_link"
1665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1666 *) ac_try_echo
=$ac_try;;
1668 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_link") 2>&5
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1674 { { case "(($ac_try" in
1675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1676 *) ac_try_echo=$ac_try;;
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680 (eval "$ac_try") 2>&5
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; }; }; then :
1686 $as_echo "$as_me: program exited with status $ac_status" >&5
1687 $as_echo "$as_me: failed program was:" >&5
1688 sed 's/^/| /' conftest.$ac_ext >&5
1690 ac_retval=$ac_status
1692 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 as_fn_set_status $ac_retval
1698 # ac_fn_c_check_func LINENO FUNC VAR
1699 # ----------------------------------
1700 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1701 ac_fn_c_check_func ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1705 $as_echo_n "checking for $2... " >&6; }
1706 if eval \${$3+:} false; then :
1707 $as_echo_n "(cached) " >&6
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1711 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1713 #define $2 innocuous_$2
1715 /* System header to define __stub macros and hopefully few prototypes,
1716 which can conflict with char $2 (); below.
1717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1718 <limits.h> exists even on freestanding compilers. */
1721 # include <limits.h>
1723 # include <assert.h>
1728 /* Override any GCC internal prototype to avoid an error.
1729 Use char because int might match the return type of a GCC
1730 builtin and then its argument prototype would still apply. */
1735 /* The GNU C library defines this for functions which it implements
1736 to always fail with ENOSYS. Some functions are actually named
1737 something starting with __ and the normal name is an alias. */
1738 #if defined __stub_$2 || defined __stub___$2
1750 if ac_fn_c_try_link "$LINENO"; then :
1755 rm -f core conftest.err conftest.$ac_objext \
1756 conftest$ac_exeext conftest.$ac_ext
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760 $as_echo "$ac_res" >&6; }
1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763 } # ac_fn_c_check_func
1765 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1766 # -------------------------------------------
1767 # Tests whether TYPE exists after having included INCLUDES, setting cache
1768 # variable VAR accordingly.
1769 ac_fn_c_check_type ()
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773 $as_echo_n "checking for $2... " >&6; }
1774 if eval \${$3+:} false; then :
1775 $as_echo_n "(cached) " >&6
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1790 if ac_fn_c_try_compile "$LINENO"; then :
1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1803 if ac_fn_c_try_compile "$LINENO"; then :
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 $as_echo "$ac_res" >&6; }
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 } # ac_fn_c_check_type
1818 cat >config.log <<_ACEOF
1819 This file contains any messages produced by compilers while
1820 running configure, to aid debugging if configure makes a mistake.
1822 It was created by libhmac $as_me 1.00, which was
1823 generated by GNU Autoconf 2.69. Invocation command line was
1835 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1836 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1837 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1838 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1839 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1841 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1842 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1844 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1845 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1846 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1847 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1848 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1849 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1850 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1858 test -z "$as_dir" && as_dir=.
1859 $as_echo "PATH: $as_dir"
1875 # Keep a trace of the command line.
1876 # Strip out --no-create and --no-recursion so they do not pile up.
1877 # Strip out --silent because we don't want to record it for future runs.
1878 # Also quote any args containing shell meta-characters.
1879 # Make two passes to allow for proper duplicate-argument suppression.
1883 ac_must_keep_next=false
1889 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1890 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1891 | -silent | --silent | --silen | --sile | --sil)
1894 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1897 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1899 as_fn_append ac_configure_args1 " '$ac_arg'"
1900 if test $ac_must_keep_next = true; then
1901 ac_must_keep_next=false # Got value, back to normal.
1904 *=* | --config-cache | -C | -disable-* | --disable-* \
1905 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1906 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1907 | -with-* | --with-* | -without-* | --without-* | --x)
1908 case "$ac_configure_args0 " in
1909 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1912 -* ) ac_must_keep_next=true ;;
1915 as_fn_append ac_configure_args " '$ac_arg'"
1920 { ac_configure_args0=; unset ac_configure_args0;}
1921 { ac_configure_args1=; unset ac_configure_args1;}
1923 # When interrupted or exit'd, cleanup temporary files, and complete
1924 # config.log. We remove comments because anyway the quotes in there
1925 # would cause problems or look ugly.
1926 # WARNING: Use '\'' to represent an apostrophe within the trap.
1927 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1928 trap 'exit_status=$?
1929 # Save into config.log some information that might help in debugging.
1933 $as_echo "## ---------------- ##
1934 ## Cache variables. ##
1935 ## ---------------- ##"
1937 # The following way of writing the cache mishandles newlines in values,
1939 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1940 eval ac_val=\$$ac_var
1944 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1945 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1948 _ | IFS | as_nl) ;; #(
1949 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1950 *) { eval $ac_var=; unset $ac_var;} ;;
1955 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1956 *${as_nl}ac_space=\ *)
1958 "s/'\''/'\''\\\\'\'''\''/g;
1959 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1962 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1969 $as_echo "## ----------------- ##
1970 ## Output variables. ##
1971 ## ----------------- ##"
1973 for ac_var in $ac_subst_vars
1975 eval ac_val=\$$ac_var
1977 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1979 $as_echo "$ac_var='\''$ac_val'\''"
1983 if test -n "$ac_subst_files"; then
1984 $as_echo "## ------------------- ##
1985 ## File substitutions. ##
1986 ## ------------------- ##"
1988 for ac_var in $ac_subst_files
1990 eval ac_val=\$$ac_var
1992 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1994 $as_echo "$ac_var='\''$ac_val'\''"
1999 if test -s confdefs.h; then
2000 $as_echo "## ----------- ##
2007 test "$ac_signal" != 0 &&
2008 $as_echo "$as_me: caught signal $ac_signal"
2009 $as_echo "$as_me: exit $exit_status"
2011 rm -f core *.core core.conftest.* &&
2012 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2015 for ac_signal in 1 2 13 15; do
2016 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2020 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2021 rm -f -r conftest* confdefs.h
2023 $as_echo "/* confdefs.h */" > confdefs.h
2025 # Predefined preprocessor variables.
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_NAME "$PACKAGE_NAME"
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_STRING "$PACKAGE_STRING"
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_URL "$PACKAGE_URL"
2052 # Let the site file select an alternate cache file if it wants to.
2053 # Prefer an explicitly selected file to automatically selected ones.
2056 if test -n "$CONFIG_SITE"; then
2057 # We do not want a PATH search for config.site.
2058 case $CONFIG_SITE in #((
2059 -*) ac_site_file1=./$CONFIG_SITE;;
2060 */*) ac_site_file1=$CONFIG_SITE;;
2061 *) ac_site_file1=./$CONFIG_SITE;;
2063 elif test "x$prefix" != xNONE; then
2064 ac_site_file1=$prefix/share/config.site
2065 ac_site_file2=$prefix/etc/config.site
2067 ac_site_file1=$ac_default_prefix/share/config.site
2068 ac_site_file2=$ac_default_prefix/etc/config.site
2070 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2072 test "x$ac_site_file" = xNONE && continue
2073 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2075 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2076 sed 's/^/| /' "$ac_site_file" >&5
2078 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2080 as_fn_error $? "failed to load site
script $ac_site_file
2081 See \
`config.log' for more details" "$LINENO" 5; }
2085 if test -r "$cache_file"; then
2086 # Some versions of bash will fail to source /dev/null (special files
2087 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2088 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2090 $as_echo "$as_me: loading cache $cache_file" >&6;}
2092 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2093 *) . "./$cache_file";;
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2098 $as_echo "$as_me: creating cache $cache_file" >&6;}
2102 # Check that the precious variables saved in the cache have kept the same
2104 ac_cache_corrupted=false
2105 for ac_var in $ac_precious_vars; do
2106 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2107 eval ac_new_set=\$ac_env_${ac_var}_set
2108 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2109 eval ac_new_val=\$ac_env_${ac_var}_value
2110 case $ac_old_set,$ac_new_set in
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2113 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2114 ac_cache_corrupted=: ;;
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2117 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2118 ac_cache_corrupted=: ;;
2121 if test "x$ac_old_val" != "x$ac_new_val"; then
2122 # differences in whitespace do not lead to failure.
2123 ac_old_val_w=`echo x
$ac_old_val`
2124 ac_new_val_w=`echo x
$ac_new_val`
2125 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2127 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2128 ac_cache_corrupted=:
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2131 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2132 eval $ac_var=\$ac_old_val
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2135 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2137 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2140 # Pass precious variables to config.status.
2141 if test "$ac_new_set" = set; then
2143 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2144 *) ac_arg=$ac_var=$ac_new_val ;;
2146 case " $ac_configure_args " in
2147 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2148 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2152 if $ac_cache_corrupted; then
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2156 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2157 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2159 ## -------------------- ##
2160 ## Main body of script. ##
2161 ## -------------------- ##
2164 ac_cpp='$CPP $CPPFLAGS'
2165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2171 >confdefs.h # Kill PACKAGE_ macros
2175 for ac_dir in ../.. "$srcdir"/../..; do
2176 if test -f "$ac_dir/install-sh"; then
2178 ac_install_sh="$ac_aux_dir/install-sh -c"
2180 elif test -f "$ac_dir/install.sh"; then
2182 ac_install_sh="$ac_aux_dir/install.sh -c"
2184 elif test -f "$ac_dir/shtool"; then
2186 ac_install_sh="$ac_aux_dir/shtool install -c"
2190 if test -z "$ac_aux_dir"; then
2191 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2194 # These three variables are undocumented and unsupported,
2195 # and are intended to be withdrawn in a future Autoconf release.
2196 # They can cause serious problems if a builder's source tree is in a directory
2197 # whose full name contains unusual characters.
2198 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2199 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2200 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2203 am__api_version='1.13'
2205 # Find a good install program. We prefer a C program (faster),
2206 # so one script is as good as another. But avoid the broken or
2207 # incompatible versions:
2208 # SysV /etc/install, /usr/sbin/install
2209 # SunOS /usr/etc/install
2210 # IRIX /sbin/install
2212 # AmigaOS /C/install, which installs bootblocks on floppy discs
2213 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2214 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2215 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2216 # OS/2's system install, which has a completely different semantic
2217 # ./install, which can be erroneously created by make from ./install.sh.
2218 # Reject install programs that cannot install multiple files.
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2220 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2221 if test -z "$INSTALL"; then
2222 if ${ac_cv_path_install+:} false; then :
2223 $as_echo_n "(cached) " >&6
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir=.
2230 # Account for people who put trailing slashes in PATH elements.
2231 case $as_dir/ in #((
2232 ./ | .// | /[cC]/* | \
2233 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2234 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2237 # OSF1 and SCO ODT 3.0 have their own names for install.
2238 # Don't use installbsd from OSF since it installs stuff as root
2240 for ac_prog in ginstall scoinst install; do
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2243 if test $ac_prog = install &&
2244 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2245 # AIX install. It has an incompatible calling convention.
2247 elif test $ac_prog = install &&
2248 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2249 # program-specific install script used by HP pwplus--don't use.
2252 rm -rf conftest.one conftest.two conftest.dir
2253 echo one > conftest.one
2254 echo two > conftest.two
2256 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2257 test -s conftest.one && test -s conftest.two &&
2258 test -s conftest.dir/conftest.one &&
2259 test -s conftest.dir/conftest.two
2261 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2274 rm -rf conftest.one conftest.two conftest.dir
2277 if test "${ac_cv_path_install+set}" = set; then
2278 INSTALL=$ac_cv_path_install
2280 # As a last resort, use the slow shell script. Don't cache a
2281 # value for INSTALL within a source directory, because that will
2282 # break other packages using the cache if that directory is
2283 # removed, or if the value is a relative name.
2284 INSTALL=$ac_install_sh
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2288 $as_echo "$INSTALL" >&6; }
2290 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2291 # It thinks the first close brace ends the variable substitution.
2292 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2294 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2296 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2299 $as_echo_n "checking whether build environment is sane... " >&6; }
2300 # Reject unsafe characters in $srcdir or the absolute working directory
2301 # name. Accept space and tab only in the latter.
2305 *[\\\"\#\$\&\'\`$am_lf]*)
2306 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2309 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2310 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2313 # Do 'set' in a subshell so we don't clobber the current shell's
2314 # arguments. Must try -L first in case configure is actually a
2315 # symlink; some systems play weird games with the mod time of symlinks
2316 # (eg FreeBSD returns the mod time of the symlink's containing
2320 for am_try
in 1 2; do
2321 echo "timestamp, slept: $am_has_slept" > conftest.
file
2322 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2323 if test "$*" = "X"; then
2325 set X
`ls -t "$srcdir/configure" conftest.file`
2327 if test "$*" != "X $srcdir/configure conftest.file" \
2328 && test "$*" != "X conftest.file $srcdir/configure"; then
2330 # If neither matched, then we have a broken ls. This can happen
2331 # if, for instance, CONFIG_SHELL is bash and it inherits a
2332 # broken ls alias from the environment. This has actually
2333 # happened. Such a system could not be considered "sane".
2334 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2335 alias in your environment" "$LINENO" 5
2337 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2344 test "$2" = conftest.
file
2350 as_fn_error $?
"newly created file is older than distributed files!
2351 Check your system clock" "$LINENO" 5
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2354 $as_echo "yes" >&6; }
2355 # If we didn't sleep, we still need to ensure time stamps of config.status and
2356 # generated files are strictly newer.
2358 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2365 test "$program_prefix" != NONE
&&
2366 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2367 # Use a double $ so make ignores it.
2368 test "$program_suffix" != NONE
&&
2369 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2370 # Double any \ or $.
2371 # By default was `s,x,x', remove it if useless.
2372 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2373 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2375 # expand $ac_aux_dir to an absolute path
2376 am_aux_dir
=`cd $ac_aux_dir && pwd`
2378 if test x
"${MISSING+set}" != xset
; then
2381 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2383 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2386 # Use eval to expand $SHELL
2387 if eval "$MISSING --is-lightweight"; then
2388 am_missing_run
="$MISSING "
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2392 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2395 if test x
"${install_sh}" != xset
; then
2398 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2400 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2404 # Installed binaries are usually stripped using 'strip' when the user
2405 # run "make install-strip". However 'strip' might not be the right
2406 # tool to use in cross-compilation environments, therefore Automake
2407 # will honor the 'STRIP' environment variable to overrule this program.
2408 if test "$cross_compiling" != no
; then
2409 if test -n "$ac_tool_prefix"; then
2410 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2411 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2413 $as_echo_n "checking for $ac_word... " >&6; }
2414 if ${ac_cv_prog_STRIP+:} false
; then :
2415 $as_echo_n "(cached) " >&6
2417 if test -n "$STRIP"; then
2418 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2424 test -z "$as_dir" && as_dir
=.
2425 for ac_exec_ext
in '' $ac_executable_extensions; do
2426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2427 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 STRIP
=$ac_cv_prog_STRIP
2438 if test -n "$STRIP"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2440 $as_echo "$STRIP" >&6; }
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2443 $as_echo "no" >&6; }
2448 if test -z "$ac_cv_prog_STRIP"; then
2450 # Extract the first word of "strip", so it can be a program name with args.
2451 set dummy strip
; ac_word
=$2
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2453 $as_echo_n "checking for $ac_word... " >&6; }
2454 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2455 $as_echo_n "(cached) " >&6
2457 if test -n "$ac_ct_STRIP"; then
2458 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir
=.
2465 for ac_exec_ext
in '' $ac_executable_extensions; do
2466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2467 ac_cv_prog_ac_ct_STRIP
="strip"
2468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2478 if test -n "$ac_ct_STRIP"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2480 $as_echo "$ac_ct_STRIP" >&6; }
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2483 $as_echo "no" >&6; }
2486 if test "x$ac_ct_STRIP" = x
; then
2489 case $cross_compiling:$ac_tool_warned in
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2493 ac_tool_warned
=yes ;;
2498 STRIP
="$ac_cv_prog_STRIP"
2502 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2505 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2506 if test -z "$MKDIR_P"; then
2507 if ${ac_cv_path_mkdir+:} false
; then :
2508 $as_echo_n "(cached) " >&6
2510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2514 test -z "$as_dir" && as_dir
=.
2515 for ac_prog
in mkdir gmkdir
; do
2516 for ac_exec_ext
in '' $ac_executable_extensions; do
2517 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2518 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2519 'mkdir (GNU coreutils) '* | \
2520 'mkdir (coreutils) '* | \
2521 'mkdir (fileutils) '4.1*)
2522 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2532 test -d .
/--version && rmdir .
/--version
2533 if test "${ac_cv_path_mkdir+set}" = set; then
2534 MKDIR_P
="$ac_cv_path_mkdir -p"
2536 # As a last resort, use the slow shell script. Don't cache a
2537 # value for MKDIR_P within a source directory, because that will
2538 # break other packages using the cache if that directory is
2539 # removed, or if the value is a relative name.
2540 MKDIR_P
="$ac_install_sh -d"
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2544 $as_echo "$MKDIR_P" >&6; }
2546 for ac_prog
in gawk mawk nawk
awk
2548 # Extract the first word of "$ac_prog", so it can be a program name with args.
2549 set dummy
$ac_prog; ac_word
=$2
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2551 $as_echo_n "checking for $ac_word... " >&6; }
2552 if ${ac_cv_prog_AWK+:} false
; then :
2553 $as_echo_n "(cached) " >&6
2555 if test -n "$AWK"; then
2556 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir
=.
2563 for ac_exec_ext
in '' $ac_executable_extensions; do
2564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2565 ac_cv_prog_AWK
="$ac_prog"
2566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 if test -n "$AWK"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2578 $as_echo "$AWK" >&6; }
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 $as_echo "no" >&6; }
2585 test -n "$AWK" && break
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2589 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2591 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2592 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2593 $as_echo_n "(cached) " >&6
2595 cat >conftest.
make <<\_ACEOF
2598 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2600 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2601 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2603 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2605 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2609 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2611 $as_echo "yes" >&6; }
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2615 $as_echo "no" >&6; }
2616 SET_MAKE
="MAKE=${MAKE-make}"
2619 rm -rf .tst
2>/dev
/null
2620 mkdir .tst
2>/dev
/null
2621 if test -d .tst
; then
2626 rmdir .tst
2>/dev
/null
2628 # Check whether --enable-silent-rules was given.
2629 if test "${enable_silent_rules+set}" = set; then :
2630 enableval
=$enable_silent_rules;
2633 case $enable_silent_rules in # (((
2634 yes) AM_DEFAULT_VERBOSITY
=0;;
2635 no
) AM_DEFAULT_VERBOSITY
=1;;
2636 *) AM_DEFAULT_VERBOSITY
=1;;
2638 am_make
=${MAKE-make}
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2640 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2641 if ${am_cv_make_support_nested_variables+:} false
; then :
2642 $as_echo_n "(cached) " >&6
2644 if $as_echo 'TRUE=$(BAR$(V))
2650 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2651 am_cv_make_support_nested_variables
=yes
2653 am_cv_make_support_nested_variables
=no
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2657 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2658 if test $am_cv_make_support_nested_variables = yes; then
2660 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2662 AM_V
=$AM_DEFAULT_VERBOSITY
2663 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2667 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2668 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2669 # is not polluted with repeated "-I."
2670 am__isrc
=' -I$(srcdir)'
2671 # test to see if srcdir already configured
2672 if test -f $srcdir/config.status
; then
2673 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2677 # test whether we have cygpath
2678 if test -z "$CYGPATH_W"; then
2679 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2680 CYGPATH_W
='cygpath -w'
2687 # Define the identity of the package.
2692 # Some tools Automake needs.
2694 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2697 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2700 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2703 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2706 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2708 # For better backward compatibility. To be removed once Automake 1.9.x
2709 # dies out for good. For more background, see:
2710 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2711 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2712 mkdir_p
='$(MKDIR_P)'
2714 # We need awk for the "check" target. The system "awk" is bad on
2716 # Always define AMTAR for backward compatibility. Yes, it's still used
2717 # in the wild :-( We should find a proper way to deprecate it ...
2721 # We'll loop over all known methods to create a tar archive until one works.
2722 _am_tools
='gnutar pax cpio none'
2724 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2733 ac_config_headers
="$ac_config_headers config.h"
2736 for ac_prog
in gawk mawk nawk
awk
2738 # Extract the first word of "$ac_prog", so it can be a program name with args.
2739 set dummy
$ac_prog; ac_word
=$2
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741 $as_echo_n "checking for $ac_word... " >&6; }
2742 if ${ac_cv_prog_AWK+:} false
; then :
2743 $as_echo_n "(cached) " >&6
2745 if test -n "$AWK"; then
2746 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir
=.
2753 for ac_exec_ext
in '' $ac_executable_extensions; do
2754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2755 ac_cv_prog_AWK
="$ac_prog"
2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 if test -n "$AWK"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2768 $as_echo "$AWK" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2775 test -n "$AWK" && break
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2780 $as_echo_n "checking whether ln -s works... " >&6; }
2782 if test "$LN_S" = "ln -s"; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2784 $as_echo "yes" >&6; }
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2787 $as_echo "no, using $LN_S" >&6; }
2791 ac_cpp
='$CPP $CPPFLAGS'
2792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2795 if test -n "$ac_tool_prefix"; then
2796 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2797 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2799 $as_echo_n "checking for $ac_word... " >&6; }
2800 if ${ac_cv_prog_CC+:} false
; then :
2801 $as_echo_n "(cached) " >&6
2803 if test -n "$CC"; then
2804 ac_cv_prog_CC
="$CC" # Let the user override the test.
2806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2810 test -z "$as_dir" && as_dir
=.
2811 for ac_exec_ext
in '' $ac_executable_extensions; do
2812 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2813 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 if test -n "$CC"; then
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2826 $as_echo "$CC" >&6; }
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829 $as_echo "no" >&6; }
2834 if test -z "$ac_cv_prog_CC"; then
2836 # Extract the first word of "gcc", so it can be a program name with args.
2837 set dummy gcc
; ac_word
=$2
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839 $as_echo_n "checking for $ac_word... " >&6; }
2840 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2841 $as_echo_n "(cached) " >&6
2843 if test -n "$ac_ct_CC"; then
2844 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir
=.
2851 for ac_exec_ext
in '' $ac_executable_extensions; do
2852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2853 ac_cv_prog_ac_ct_CC
="gcc"
2854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2864 if test -n "$ac_ct_CC"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2866 $as_echo "$ac_ct_CC" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2872 if test "x$ac_ct_CC" = x
; then
2875 case $cross_compiling:$ac_tool_warned in
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2879 ac_tool_warned
=yes ;;
2887 if test -z "$CC"; then
2888 if test -n "$ac_tool_prefix"; then
2889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2890 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892 $as_echo_n "checking for $ac_word... " >&6; }
2893 if ${ac_cv_prog_CC+:} false
; then :
2894 $as_echo_n "(cached) " >&6
2896 if test -n "$CC"; then
2897 ac_cv_prog_CC
="$CC" # Let the user override the test.
2899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir
=.
2904 for ac_exec_ext
in '' $ac_executable_extensions; do
2905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2906 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 if test -n "$CC"; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2919 $as_echo "$CC" >&6; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2928 if test -z "$CC"; then
2929 # Extract the first word of "cc", so it can be a program name with args.
2930 set dummy cc
; ac_word
=$2
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932 $as_echo_n "checking for $ac_word... " >&6; }
2933 if ${ac_cv_prog_CC+:} false
; then :
2934 $as_echo_n "(cached) " >&6
2936 if test -n "$CC"; then
2937 ac_cv_prog_CC
="$CC" # Let the user override the test.
2940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir
=.
2945 for ac_exec_ext
in '' $ac_executable_extensions; do
2946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2948 ac_prog_rejected
=yes
2952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 if test $ac_prog_rejected = yes; then
2960 # We found a bogon in the path, so make sure we never use it.
2961 set dummy
$ac_cv_prog_CC
2963 if test $# != 0; then
2964 # We chose a different compiler from the bogus one.
2965 # However, it has the same basename, so the bogon will be chosen
2966 # first if we set CC to just the basename; use the full file name.
2968 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2974 if test -n "$CC"; then
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2976 $as_echo "$CC" >&6; }
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2979 $as_echo "no" >&6; }
2984 if test -z "$CC"; then
2985 if test -n "$ac_tool_prefix"; then
2986 for ac_prog
in cl.exe
2988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2989 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if ${ac_cv_prog_CC+:} false
; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$CC"; then
2996 ac_cv_prog_CC
="$CC" # Let the user override the test.
2998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir
=.
3003 for ac_exec_ext
in '' $ac_executable_extensions; do
3004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3005 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 if test -n "$CC"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3018 $as_echo "$CC" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3025 test -n "$CC" && break
3028 if test -z "$CC"; then
3030 for ac_prog
in cl.exe
3032 # Extract the first word of "$ac_prog", so it can be a program name with args.
3033 set dummy
$ac_prog; ac_word
=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3037 $as_echo_n "(cached) " >&6
3039 if test -n "$ac_ct_CC"; then
3040 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir
=.
3047 for ac_exec_ext
in '' $ac_executable_extensions; do
3048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_ac_ct_CC
="$ac_prog"
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3060 if test -n "$ac_ct_CC"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3062 $as_echo "$ac_ct_CC" >&6; }
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3069 test -n "$ac_ct_CC" && break
3072 if test "x$ac_ct_CC" = x
; then
3075 case $cross_compiling:$ac_tool_warned in
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3079 ac_tool_warned
=yes ;;
3088 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3090 as_fn_error $?
"no acceptable C compiler found in \$PATH
3091 See \`config.log' for more details" "$LINENO" 5; }
3093 # Provide some information about the compiler.
3094 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3097 for ac_option
in --version -v -V -qversion; do
3098 { { ac_try
="$ac_compiler $ac_option >&5"
3100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3104 $as_echo "$ac_try_echo"; } >&5
3105 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3107 if test -s conftest.err; then
3109 ... rest of stderr output deleted ...
3110 10q' conftest.err >conftest.er1
3111 cat conftest.er1 >&5
3113 rm -f conftest.er1 conftest.err
3114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115 test $ac_status = 0; }
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3129 ac_clean_files_save=$ac_clean_files
3130 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3131 # Try to create an executable without -o first, disregard a.out.
3132 # It will help us diagnose broken compilers, and finding out an intuition
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3135 $as_echo_n "checking whether the C compiler works... " >&6; }
3136 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3138 # The possible output files:
3139 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3142 for ac_file in $ac_files
3145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3146 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3151 if { { ac_try="$ac_link_default"
3153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3154 *) ac_try_echo
=$ac_try;;
3156 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3157 $as_echo "$ac_try_echo"; } >&5
3158 (eval "$ac_link_default") 2>&5
3160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3161 test $ac_status = 0; }; then :
3162 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3163 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3164 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3165 # so that the user can short-circuit this test for compilers unknown to
3167 for ac_file
in $ac_files ''
3169 test -f "$ac_file" ||
continue
3171 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3174 # We found the default executable, but exeext='' is most
3178 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3180 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3182 # We set ac_cv_exeext here because the later test for it is not
3183 # safe: cross compilers may not add the suffix if given an `-o'
3184 # argument, so we may need to know it at that point already.
3185 # Even if this section looks crufty: it has the advantage of
3192 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3197 if test -z "$ac_file"; then :
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 $as_echo "no" >&6; }
3200 $as_echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.
$ac_ext >&5
3203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3205 as_fn_error
77 "C compiler cannot create executables
3206 See \`config.log' for more details" "$LINENO" 5; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3209 $as_echo "yes" >&6; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3212 $as_echo_n "checking for C compiler default output file name... " >&6; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3214 $as_echo "$ac_file" >&6; }
3215 ac_exeext
=$ac_cv_exeext
3217 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3218 ac_clean_files
=$ac_clean_files_save
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3220 $as_echo_n "checking for suffix of executables... " >&6; }
3221 if { { ac_try
="$ac_link"
3223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3224 *) ac_try_echo=$ac_try;;
3226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3227 $as_echo "$ac_try_echo"; } >&5
3228 (eval "$ac_link") 2>&5
3230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3231 test $ac_status = 0; }; then :
3232 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3233 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3234 # work properly (i.e., refer to `conftest.exe'), while it won't with
3236 for ac_file
in conftest.exe conftest conftest.
*; do
3237 test -f "$ac_file" ||
continue
3239 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3240 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3249 See \`config.log' for more details" "$LINENO" 5; }
3251 rm -f conftest conftest
$ac_cv_exeext
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3253 $as_echo "$ac_cv_exeext" >&6; }
3255 rm -f conftest.
$ac_ext
3256 EXEEXT
=$ac_cv_exeext
3258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3264 FILE *f = fopen ("conftest.out", "w");
3265 return ferror (f) || fclose (f) != 0;
3271 ac_clean_files
="$ac_clean_files conftest.out"
3272 # Check that the compiler produces executables we can run. If not, either
3273 # the compiler is broken, or we cross compile.
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3275 $as_echo_n "checking whether we are cross compiling... " >&6; }
3276 if test "$cross_compiling" != yes; then
3277 { { ac_try
="$ac_link"
3279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3283 $as_echo "$ac_try_echo"; } >&5
3284 (eval "$ac_link") 2>&5
3286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3287 test $ac_status = 0; }
3288 if { ac_try='./conftest$ac_cv_exeext'
3289 { { case "(($ac_try" in
3290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3291 *) ac_try_echo
=$ac_try;;
3293 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3294 $as_echo "$ac_try_echo"; } >&5
3295 (eval "$ac_try") 2>&5
3297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3298 test $ac_status = 0; }; }; then
3301 if test "$cross_compiling" = maybe
; then
3304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3306 as_fn_error $?
"cannot run C compiled programs.
3307 If you meant to cross compile, use \`--host'.
3308 See \`config.log' for more details" "$LINENO" 5; }
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3313 $as_echo "$cross_compiling" >&6; }
3315 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3316 ac_clean_files
=$ac_clean_files_save
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3318 $as_echo_n "checking for suffix of object files... " >&6; }
3319 if ${ac_cv_objext+:} false
; then :
3320 $as_echo_n "(cached) " >&6
3322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3333 rm -f conftest.o conftest.obj
3334 if { { ac_try
="$ac_compile"
3336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3340 $as_echo "$ac_try_echo"; } >&5
3341 (eval "$ac_compile") 2>&5
3343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3344 test $ac_status = 0; }; then :
3345 for ac_file in conftest.o conftest.obj conftest.*; do
3346 test -f "$ac_file" || continue;
3348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3349 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3354 $as_echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3360 See \
`config.log' for more details" "$LINENO" 5; }
3362 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3365 $as_echo "$ac_cv_objext" >&6; }
3366 OBJEXT=$ac_cv_objext
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3369 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3370 if ${ac_cv_c_compiler_gnu+:} false; then :
3371 $as_echo_n "(cached) " >&6
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3387 if ac_fn_c_try_compile "$LINENO"; then :
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3397 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3398 if test $ac_compiler_gnu = yes; then
3403 ac_test_CFLAGS=${CFLAGS+set}
3404 ac_save_CFLAGS=$CFLAGS
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3406 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3407 if ${ac_cv_prog_cc_g+:} false; then :
3408 $as_echo_n "(cached) " >&6
3410 ac_save_c_werror_flag=$ac_c_werror_flag
3411 ac_c_werror_flag=yes
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3425 if ac_fn_c_try_compile "$LINENO"; then :
3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3440 if ac_fn_c_try_compile "$LINENO"; then :
3443 ac_c_werror_flag=$ac_save_c_werror_flag
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3456 if ac_fn_c_try_compile "$LINENO"; then :
3459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 ac_c_werror_flag=$ac_save_c_werror_flag
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3467 $as_echo "$ac_cv_prog_cc_g" >&6; }
3468 if test "$ac_test_CFLAGS" = set; then
3469 CFLAGS=$ac_save_CFLAGS
3470 elif test $ac_cv_prog_cc_g = yes; then
3471 if test "$GCC" = yes; then
3477 if test "$GCC" = yes; then
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3484 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3485 if ${ac_cv_prog_cc_c89+:} false; then :
3486 $as_echo_n "(cached) " >&6
3488 ac_cv_prog_cc_c89=no
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3495 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3496 struct buf { int x; };
3497 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3498 static char *e (p, i)
3504 static char *f (char * (*g) (char **, int), char **p, ...)
3509 s = g (p, va_arg (v,int));
3514 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3515 function prototypes and stuff, but not '\xHH' hex character constants.
3516 These don't provoke an error unfortunately, instead are silently treated
3517 as 'x'. The following induces an error, until -std is added to get
3518 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3519 array size at least. It's necessary to write '\x00'==0 to get something
3520 that's true only with -std. */
3521 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3523 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3524 inside strings and character constants. */
3526 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3528 int test (int i, double x);
3529 struct s1 {int (*f) (int a);};
3530 struct s2 {int (*f) (double a);};
3531 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3537 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3542 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3543 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3545 CC="$ac_save_CC $ac_arg"
3546 if ac_fn_c_try_compile "$LINENO"; then :
3547 ac_cv_prog_cc_c89=$ac_arg
3549 rm -f core conftest.err conftest.$ac_objext
3550 test "x$ac_cv_prog_cc_c89" != "xno" && break
3552 rm -f conftest.$ac_ext
3557 case "x$ac_cv_prog_cc_c89" in
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3560 $as_echo "none needed" >&6; } ;;
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3563 $as_echo "unsupported" >&6; } ;;
3565 CC="$CC $ac_cv_prog_cc_c89"
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3567 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3569 if test "x$ac_cv_prog_cc_c89" != xno; then :
3574 ac_cpp='$CPP $CPPFLAGS'
3575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3578 DEPDIR="${am__leading_dot}deps"
3580 ac_config_commands="$ac_config_commands depfiles"
3583 am_make=${MAKE-make}
3584 cat > confinc << 'END'
3586 @echo this is the am__doit target
3589 # If we don't find an include directive, just comment out the code.
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3591 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3595 # First try GNU make style include.
3596 echo "include confinc" > confmf
3597 # Ignore all kinds of additional output from 'make'.
3598 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3599 *the\ am__doit\ target*)
3605 # Now try BSD make style include.
3606 if test "$am__include" = "#"; then
3607 echo '.include "confinc"' > confmf
3608 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3609 *the\ am__doit\ target*)
3610 am__include=.include
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3619 $as_echo "$_am_result" >&6; }
3620 rm -f confinc confmf
3622 # Check whether --enable-dependency-tracking was given.
3623 if test "${enable_dependency_tracking+set}" = set; then :
3624 enableval=$enable_dependency_tracking;
3627 if test "x$enable_dependency_tracking" != xno; then
3628 am_depcomp="$ac_aux_dir/depcomp"
3632 if test "x$enable_dependency_tracking" != xno; then
3642 depcc="$CC" am_compiler_list=
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3645 $as_echo_n "checking dependency style of $depcc... " >&6; }
3646 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3647 $as_echo_n "(cached) " >&6
3649 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3650 # We make a subdir and do the tests there. Otherwise we can end up
3651 # making bogus files that we don't know about and never remove. For
3652 # instance it was reported that on HP-UX the gcc test will end up
3653 # making a dummy file named 'D' -- because '-MD' means "put the output
3657 # Copy depcomp to subdir because otherwise we won't find it if we're
3658 # using a relative directory.
3659 cp "$am_depcomp" conftest.dir
3661 # We will build objects and dependencies in a subdirectory because
3662 # it helps to detect inapplicable dependency modes. For instance
3663 # both Tru64's cc and ICC support -MD to output dependencies as a
3664 # side effect of compilation, but ICC will put the dependencies in
3665 # the current directory while Tru64 will put them in the object
3669 am_cv_CC_dependencies_compiler_type=none
3670 if test "$am_compiler_list" = ""; then
3671 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3674 case " $depcc " in #(
3675 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3678 for depmode in $am_compiler_list; do
3679 # Setup a source with many dependencies, because some compilers
3680 # like to wrap large dependency lists on column 80 (with \), and
3681 # we should not choose a depcomp mode which is confused by this.
3683 # We need to recreate these files for each test, as the compiler may
3684 # overwrite some of them when testing with obscure command lines.
3685 # This happens at least with the AIX C compiler.
3687 for i in 1 2 3 4 5 6; do
3688 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3689 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3690 # Solaris 10 /bin/sh.
3691 echo '/* dummy */' > sub/conftst$i.h
3693 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3695 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3696 # mode. It turns out that the SunPro C++ compiler does not properly
3697 # handle '-M -o', and we need to detect this. Also, some Intel
3698 # versions had trouble with output in subdirs.
3699 am__obj=sub/conftest.${OBJEXT-o}
3700 am__minus_obj="-o $am__obj"
3703 # This depmode causes a compiler race in universal mode.
3704 test "$am__universal" = false || continue
3707 # After this tag, mechanisms are not by side-effect, so they'll
3708 # only be used when explicitly requested.
3709 if test "x$enable_dependency_tracking" = xyes; then
3715 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3716 # This compiler won't grok '-c -o', but also, the minuso test has
3717 # not run yet. These depmodes are late enough in the game, and
3718 # so weak that their functioning should not be impacted.
3719 am__obj=conftest.${OBJEXT-o}
3724 if depmode=$depmode \
3725 source=sub/conftest.c object=$am__obj \
3726 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3727 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3728 >/dev/null 2>conftest.err &&
3729 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3730 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3731 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3732 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3733 # icc doesn't choke on unknown options, it will just issue warnings
3734 # or remarks (even with -Werror). So we grep stderr for any message
3735 # that says an option was ignored or not supported.
3736 # When given -MP, icc 7.0 and 7.1 complain thusly:
3737 # icc: Command line warning: ignoring option '-M'; no argument required
3738 # The diagnosis changed in icc 8.0:
3739 # icc: Command line remark: option '-MP' not supported
3740 if (grep 'ignoring option' conftest.err ||
3741 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3742 am_cv_CC_dependencies_compiler_type=$depmode
3751 am_cv_CC_dependencies_compiler_type=none
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3756 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3757 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3760 test "x$enable_dependency_tracking" != xno \
3761 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3763 am__fastdepCC_FALSE='#'
3765 am__fastdepCC_TRUE='#'
3766 am__fastdepCC_FALSE=
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
3773 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
3778 macro_version='2.4.2'
3779 macro_revision='1.3337'
3793 ltmain="$ac_aux_dir/ltmain.sh"
3795 # Make sure we can run config.sub.
3796 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3797 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3800 $as_echo_n "checking build system type... " >&6; }
3801 if ${ac_cv_build+:} false; then :
3802 $as_echo_n "(cached) " >&6
3804 ac_build_alias=$build_alias
3805 test "x$ac_build_alias" = x &&
3806 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3807 test "x$ac_build_alias" = x &&
3808 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3809 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3810 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3814 $as_echo "$ac_cv_build" >&6; }
3815 case $ac_cv_build in
3817 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3820 ac_save_IFS=$IFS; IFS='-'
3826 # Remember, the first character of IFS is used to create $*,
3827 # except with old shells:
3830 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3834 $as_echo_n "checking host system type... " >&6; }
3835 if ${ac_cv_host+:} false; then :
3836 $as_echo_n "(cached) " >&6
3838 if test "x$host_alias" = x; then
3839 ac_cv_host=$ac_cv_build
3841 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3842 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3847 $as_echo "$ac_cv_host" >&6; }
3850 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3853 ac_save_IFS=$IFS; IFS='-'
3859 # Remember, the first character of IFS is used to create $*,
3860 # except with old shells:
3863 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3866 # Backslashify metacharacters that are still active within
3867 # double-quoted strings.
3868 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
3870 # Same as above, but do not quote variable references.
3871 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
3873 # Sed substitution to delay expansion of an escaped shell variable in a
3874 # double_quote_subst'ed string.
3875 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3877 # Sed substitution to delay expansion of an escaped single quote.
3878 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3880 # Sed substitution to avoid accidental globbing in evaled expressions
3881 no_glob_subst='s/\*/\\\*/g'
3883 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3884 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3885 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
3888 $as_echo_n "checking how to print
strings...
" >&6; }
3889 # Test print first, because it will be a builtin if present.
3890 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
3891 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
3893 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
3896 # Use this function as a fallback that always works.
3897 func_fallback_echo ()
3899 eval 'cat <<_LTECHO_EOF
3903 ECHO='func_fallback_echo'
3906 # func_echo_all arg...
3907 # Invoke $ECHO with all args, space-separated.
3914 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
3915 $as_echo "printf" >&6; } ;;
3916 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
3917 $as_echo "print
-r" >&6; } ;;
3918 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
3919 $as_echo "cat" >&6; } ;;
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
3936 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
3937 if ${ac_cv_path_SED+:} false; then :
3938 $as_echo_n "(cached
) " >&6
3940 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3941 for ac_i in 1 2 3 4 5 6 7; do
3942 ac_script="$ac_script$as_nl$ac_script"
3944 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3945 { ac_script=; unset ac_script;}
3946 if test -z "$SED"; then
3947 ac_path_SED_found=false
3948 # Loop through the user's path and test for each of PROGNAME-LIST
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3953 test -z "$as_dir" && as_dir=.
3954 for ac_prog in sed gsed; do
3955 for ac_exec_ext in '' $ac_executable_extensions; do
3956 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3957 as_fn_executable_p "$ac_path_SED" || continue
3958 # Check for GNU ac_path_SED and select it if it is found.
3959 # Check for GNU $ac_path_SED
3960 case `"$ac_path_SED" --version 2>&1` in
3962 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3965 $as_echo_n 0123456789 >"conftest.
in"
3968 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3969 mv "conftest.tmp
" "conftest.
in"
3970 cp "conftest.
in" "conftest.
nl"
3971 $as_echo '' >> "conftest.
nl"
3972 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3973 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3974 as_fn_arith $ac_count + 1 && ac_count=$as_val
3975 if test $ac_count -gt ${ac_path_SED_max-0}; then
3976 # Best one so far, save it but keep looking for a better one
3977 ac_cv_path_SED="$ac_path_SED"
3978 ac_path_SED_max=$ac_count
3980 # 10*(2^10) chars as input seems more than enough
3981 test $ac_count -gt 10 && break
3983 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3986 $ac_path_SED_found && break 3
3991 if test -z "$ac_cv_path_SED"; then
3992 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4000 $as_echo "$ac_cv_path_SED" >&6; }
4001 SED="$ac_cv_path_SED"
4004 test -z "$SED" && SED=sed
4005 Xsed="$SED -e 1s
/^X
//"
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4018 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4019 if ${ac_cv_path_GREP+:} false; then :
4020 $as_echo_n "(cached
) " >&6
4022 if test -z "$GREP"; then
4023 ac_path_GREP_found=false
4024 # Loop through the user's path and test for each of PROGNAME-LIST
4025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4026 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4029 test -z "$as_dir" && as_dir=.
4030 for ac_prog in grep ggrep; do
4031 for ac_exec_ext in '' $ac_executable_extensions; do
4032 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4033 as_fn_executable_p "$ac_path_GREP" || continue
4034 # Check for GNU ac_path_GREP and select it if it is found.
4035 # Check for GNU $ac_path_GREP
4036 case `"$ac_path_GREP" --version 2>&1` in
4038 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4041 $as_echo_n 0123456789 >"conftest.
in"
4044 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4045 mv "conftest.tmp
" "conftest.
in"
4046 cp "conftest.
in" "conftest.
nl"
4047 $as_echo 'GREP' >> "conftest.
nl"
4048 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4049 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4050 as_fn_arith $ac_count + 1 && ac_count=$as_val
4051 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4052 # Best one so far, save it but keep looking for a better one
4053 ac_cv_path_GREP="$ac_path_GREP"
4054 ac_path_GREP_max=$ac_count
4056 # 10*(2^10) chars as input seems more than enough
4057 test $ac_count -gt 10 && break
4059 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4062 $ac_path_GREP_found && break 3
4067 if test -z "$ac_cv_path_GREP"; then
4068 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4071 ac_cv_path_GREP=$GREP
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4076 $as_echo "$ac_cv_path_GREP" >&6; }
4077 GREP="$ac_cv_path_GREP"
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4081 $as_echo_n "checking
for egrep...
" >&6; }
4082 if ${ac_cv_path_EGREP+:} false; then :
4083 $as_echo_n "(cached
) " >&6
4085 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4086 then ac_cv_path_EGREP="$GREP -E"
4088 if test -z "$EGREP"; then
4089 ac_path_EGREP_found=false
4090 # Loop through the user's path and test for each of PROGNAME-LIST
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4095 test -z "$as_dir" && as_dir=.
4096 for ac_prog in egrep; do
4097 for ac_exec_ext in '' $ac_executable_extensions; do
4098 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4099 as_fn_executable_p "$ac_path_EGREP" || continue
4100 # Check for GNU ac_path_EGREP and select it if it is found.
4101 # Check for GNU $ac_path_EGREP
4102 case `"$ac_path_EGREP" --version 2>&1` in
4104 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4107 $as_echo_n 0123456789 >"conftest.
in"
4110 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4111 mv "conftest.tmp
" "conftest.
in"
4112 cp "conftest.
in" "conftest.
nl"
4113 $as_echo 'EGREP' >> "conftest.
nl"
4114 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4115 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4116 as_fn_arith $ac_count + 1 && ac_count=$as_val
4117 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4118 # Best one so far, save it but keep looking for a better one
4119 ac_cv_path_EGREP="$ac_path_EGREP"
4120 ac_path_EGREP_max=$ac_count
4122 # 10*(2^10) chars as input seems more than enough
4123 test $ac_count -gt 10 && break
4125 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4128 $ac_path_EGREP_found && break 3
4133 if test -z "$ac_cv_path_EGREP"; then
4134 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4137 ac_cv_path_EGREP=$EGREP
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4143 $as_echo "$ac_cv_path_EGREP" >&6; }
4144 EGREP="$ac_cv_path_EGREP"
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4148 $as_echo_n "checking
for fgrep...
" >&6; }
4149 if ${ac_cv_path_FGREP+:} false; then :
4150 $as_echo_n "(cached
) " >&6
4152 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4153 then ac_cv_path_FGREP="$GREP -F"
4155 if test -z "$FGREP"; then
4156 ac_path_FGREP_found=false
4157 # Loop through the user's path and test for each of PROGNAME-LIST
4158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4159 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4162 test -z "$as_dir" && as_dir=.
4163 for ac_prog in fgrep; do
4164 for ac_exec_ext in '' $ac_executable_extensions; do
4165 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4166 as_fn_executable_p "$ac_path_FGREP" || continue
4167 # Check for GNU ac_path_FGREP and select it if it is found.
4168 # Check for GNU $ac_path_FGREP
4169 case `"$ac_path_FGREP" --version 2>&1` in
4171 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4174 $as_echo_n 0123456789 >"conftest.
in"
4177 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4178 mv "conftest.tmp
" "conftest.
in"
4179 cp "conftest.
in" "conftest.
nl"
4180 $as_echo 'FGREP' >> "conftest.
nl"
4181 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4182 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4183 as_fn_arith $ac_count + 1 && ac_count=$as_val
4184 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4185 # Best one so far, save it but keep looking for a better one
4186 ac_cv_path_FGREP="$ac_path_FGREP"
4187 ac_path_FGREP_max=$ac_count
4189 # 10*(2^10) chars as input seems more than enough
4190 test $ac_count -gt 10 && break
4192 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4195 $ac_path_FGREP_found && break 3
4200 if test -z "$ac_cv_path_FGREP"; then
4201 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4204 ac_cv_path_FGREP=$FGREP
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4210 $as_echo "$ac_cv_path_FGREP" >&6; }
4211 FGREP="$ac_cv_path_FGREP"
4214 test -z "$GREP" && GREP=grep
4234 # Check whether --with-gnu-ld was given.
4235 if test "${with_gnu_ld+set}" = set; then :
4236 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4242 if test "$GCC" = yes; then
4243 # Check if gcc -print-prog-name=ld gives a path.
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4245 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4248 # gcc leaves a trailing carriage return which upsets mingw
4249 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4251 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4254 # Accept absolute paths.
4256 re_direlt='/[^/][^/]*/\.\./'
4257 # Canonicalize the pathname of ld
4258 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4259 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4260 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4262 test -z "$LD" && LD="$ac_prog"
4265 # If it fails, then pretend we aren't using GCC.
4269 # If it is relative, then search for the first ld in PATH.
4273 elif test "$with_gnu_ld" = yes; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4275 $as_echo_n "checking
for GNU ld...
" >&6; }
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4278 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4280 if ${lt_cv_path_LD+:} false; then :
4281 $as_echo_n "(cached
) " >&6
4283 if test -z "$LD"; then
4284 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4285 for ac_dir in $PATH; do
4287 test -z "$ac_dir" && ac_dir=.
4288 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4289 lt_cv_path_LD="$ac_dir/$ac_prog"
4290 # Check to see if the program is GNU ld. I'd rather use --version,
4291 # but apparently some variants of GNU ld only accept -v.
4292 # Break only if it was the GNU/non-GNU ld that we prefer.
4293 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4294 *GNU* | *'with BFD'*)
4295 test "$with_gnu_ld" != no && break
4298 test "$with_gnu_ld" != yes && break
4305 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4310 if test -n "$LD"; then
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4312 $as_echo "$LD" >&6; }
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4315 $as_echo "no
" >&6; }
4317 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4319 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4320 if ${lt_cv_prog_gnu_ld+:} false; then :
4321 $as_echo_n "(cached
) " >&6
4323 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4324 case `$LD -v 2>&1 </dev/null` in
4325 *GNU* | *'with BFD'*)
4326 lt_cv_prog_gnu_ld=yes
4329 lt_cv_prog_gnu_ld=no
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4334 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4335 with_gnu_ld=$lt_cv_prog_gnu_ld
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4346 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4347 if ${lt_cv_path_NM+:} false; then :
4348 $as_echo_n "(cached
) " >&6
4350 if test -n "$NM"; then
4351 # Let the user override the test.
4354 lt_nm_to_check="${ac_tool_prefix}nm
"
4355 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4356 lt_nm_to_check="$lt_nm_to_check nm
"
4358 for lt_tmp_nm in $lt_nm_to_check; do
4359 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4360 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4362 test -z "$ac_dir" && ac_dir=.
4363 tmp_nm="$ac_dir/$lt_tmp_nm"
4364 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4365 # Check to see if the nm accepts a BSD-compat flag.
4366 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4367 # nm: unknown option "B
" ignored
4368 # Tru64's nm complains that /dev/null is an invalid object file
4369 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4370 */dev/null* | *'Invalid file or object type'*)
4371 lt_cv_path_NM="$tmp_nm -B"
4375 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4377 lt_cv_path_NM="$tmp_nm -p"
4381 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4382 continue # so that we can try to find one that supports BSD flags
4391 : ${lt_cv_path_NM=no}
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4395 $as_echo "$lt_cv_path_NM" >&6; }
4396 if test "$lt_cv_path_NM" != "no
"; then
4399 # Didn't find any BSD compatible name lister, look for dumpbin.
4400 if test -n "$DUMPBIN"; then :
4401 # Let the user override the test.
4403 if test -n "$ac_tool_prefix"; then
4404 for ac_prog in dumpbin "link
-dump"
4406 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4407 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4409 $as_echo_n "checking
for $ac_word...
" >&6; }
4410 if ${ac_cv_prog_DUMPBIN+:} false; then :
4411 $as_echo_n "(cached
) " >&6
4413 if test -n "$DUMPBIN"; then
4414 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir=.
4421 for ac_exec_ext in '' $ac_executable_extensions; do
4422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4423 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4433 DUMPBIN=$ac_cv_prog_DUMPBIN
4434 if test -n "$DUMPBIN"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4436 $as_echo "$DUMPBIN" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4439 $as_echo "no
" >&6; }
4443 test -n "$DUMPBIN" && break
4446 if test -z "$DUMPBIN"; then
4447 ac_ct_DUMPBIN=$DUMPBIN
4448 for ac_prog in dumpbin "link
-dump"
4450 # Extract the first word of "$ac_prog", so it can be a program name with args.
4451 set dummy $ac_prog; ac_word=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4453 $as_echo_n "checking
for $ac_word...
" >&6; }
4454 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4455 $as_echo_n "(cached
) " >&6
4457 if test -n "$ac_ct_DUMPBIN"; then
4458 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4477 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4478 if test -n "$ac_ct_DUMPBIN"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4480 $as_echo "$ac_ct_DUMPBIN" >&6; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4483 $as_echo "no
" >&6; }
4487 test -n "$ac_ct_DUMPBIN" && break
4490 if test "x
$ac_ct_DUMPBIN" = x; then
4493 case $cross_compiling:$ac_tool_warned in
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4496 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4497 ac_tool_warned=yes ;;
4499 DUMPBIN=$ac_ct_DUMPBIN
4503 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4505 DUMPBIN="$DUMPBIN -symbols"
4513 if test "$DUMPBIN" != ":"; then
4517 test -z "$NM" && NM=nm
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4525 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4526 if ${lt_cv_nm_interface+:} false; then :
4527 $as_echo_n "(cached
) " >&6
4529 lt_cv_nm_interface="BSD nm
"
4530 echo "int some_variable
= 0;" > conftest.$ac_ext
4531 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4532 (eval "$ac_compile" 2>conftest.err)
4533 cat conftest.err >&5
4534 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4535 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4536 cat conftest.err >&5
4537 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4538 cat conftest.out >&5
4539 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4540 lt_cv_nm_interface="MS dumpbin
"
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4545 $as_echo "$lt_cv_nm_interface" >&6; }
4547 # find the maximum length of command line arguments
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4549 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4550 if ${lt_cv_sys_max_cmd_len+:} false; then :
4551 $as_echo_n "(cached
) " >&6
4558 # On DJGPP, this test can blow up pretty badly due to problems in libc
4559 # (any single argument exceeding 2000 bytes causes a buffer overrun
4560 # during glob expansion). Even if it were fixed, the result of this
4561 # check would be larger than it should be.
4562 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4566 # Under GNU Hurd, this test is not required because there is
4567 # no limit to the length of command line arguments.
4568 # Libtool will interpret -1 as no limit whatsoever
4569 lt_cv_sys_max_cmd_len=-1;
4572 cygwin* | mingw* | cegcc*)
4573 # On Win9x/ME, this test blows up -- it succeeds, but takes
4574 # about 5 minutes as the teststring grows exponentially.
4575 # Worse, since 9x/ME are not pre-emptively multitasking,
4576 # you end up with a "frozen
" computer, even though with patience
4577 # the test eventually succeeds (with a max line length of 256k).
4578 # Instead, let's just punt: use the minimum linelength reported by
4579 # all of the supported platforms: 8192 (on NT/2K/XP).
4580 lt_cv_sys_max_cmd_len=8192;
4584 # On MiNT this can take a long time and run out of memory.
4585 lt_cv_sys_max_cmd_len=8192;
4589 # On AmigaOS with pdksh, this test takes hours, literally.
4590 # So we just punt and use a minimum line length of 8192.
4591 lt_cv_sys_max_cmd_len=8192;
4594 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4595 # This has been around since 386BSD, at least. Likely further.
4596 if test -x /sbin/sysctl; then
4597 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4598 elif test -x /usr/sbin/sysctl; then
4599 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4601 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4603 # And add a safety zone
4604 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4605 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4609 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4610 lt_cv_sys_max_cmd_len=196608
4614 # The test takes a long time on OS/2.
4615 lt_cv_sys_max_cmd_len=8192
4619 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4620 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4621 # nice to cause kernel panics so lets avoid the loop below.
4622 # First set a reasonable default.
4623 lt_cv_sys_max_cmd_len=16384
4625 if test -x /sbin/sysconfig; then
4626 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4627 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4632 lt_cv_sys_max_cmd_len=102400
4634 sysv5* | sco5v6* | sysv4.2uw2*)
4635 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4636 if test -n "$kargmax"; then
4637 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4639 lt_cv_sys_max_cmd_len=32768
4643 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4644 if test -n "$lt_cv_sys_max_cmd_len"; then
4645 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4646 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4648 # Make teststring a little bigger before we do anything with it.
4649 # a 1K string should be a reasonable start.
4650 for i in 1 2 3 4 5 6 7 8 ; do
4651 teststring=$teststring$teststring
4653 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4654 # If test is not a shell built-in, we'll probably end up computing a
4655 # maximum length that is only half of the actual maximum length, but
4657 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
4658 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4659 test $i != 17 # 1/2 MB should be enough
4662 teststring=$teststring$teststring
4664 # Only check the string length outside the loop.
4665 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4667 # Add a significant safety factor because C++ compilers can tack on
4668 # massive amounts of additional arguments before passing them to the
4669 # linker. It appears as though 1/2 is a usable value.
4670 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4677 if test -n $lt_cv_sys_max_cmd_len ; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4679 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4682 $as_echo "none
" >&6; }
4684 max_cmd_len=$lt_cv_sys_max_cmd_len
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
4696 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
4697 # Try some XSI features
4700 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4702 && eval 'test $(( 1 + 1 )) -eq 2 \
4703 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4706 $as_echo "$xsi_shell" >&6; }
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4710 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4712 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4714 && lt_shell_append
=yes
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4716 $as_echo "$lt_shell_append" >&6; }
4719 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4729 # test EBCDIC or ASCII
4730 case `echo X|tr X '\101'` in
4731 A
) # ASCII based system
4732 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4733 lt_SP2NL
='tr \040 \012'
4734 lt_NL2SP
='tr \015\012 \040\040'
4736 *) # EBCDIC based system
4737 lt_SP2NL
='tr \100 \n'
4738 lt_NL2SP
='tr \r\n \100\100'
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4751 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4752 if ${lt_cv_to_host_file_cmd+:} false
; then :
4753 $as_echo_n "(cached) " >&6
4758 *-*-mingw* ) # actually msys
4759 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4762 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4764 * ) # otherwise, assume *nix
4765 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4771 *-*-mingw* ) # actually msys
4772 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4775 lt_cv_to_host_file_cmd
=func_convert_file_noop
4777 * ) # otherwise, assume *nix
4778 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4782 * ) # unhandled hosts (and "normal" native builds)
4783 lt_cv_to_host_file_cmd
=func_convert_file_noop
4789 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4791 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4798 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4799 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4800 $as_echo_n "(cached) " >&6
4802 #assume ordinary cross tools, or native build.
4803 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4807 *-*-mingw* ) # actually msys
4808 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4816 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4818 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4825 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4826 if ${lt_cv_ld_reload_flag+:} false
; then :
4827 $as_echo_n "(cached) " >&6
4829 lt_cv_ld_reload_flag
='-r'
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4832 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4833 reload_flag
=$lt_cv_ld_reload_flag
4834 case $reload_flag in
4836 *) reload_flag
=" $reload_flag" ;;
4838 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4840 cygwin
* | mingw
* | pw32
* | cegcc
*)
4841 if test "$GCC" != yes; then
4846 if test "$GCC" = yes; then
4847 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4849 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4862 if test -n "$ac_tool_prefix"; then
4863 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4864 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 $as_echo_n "checking for $ac_word... " >&6; }
4867 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4868 $as_echo_n "(cached) " >&6
4870 if test -n "$OBJDUMP"; then
4871 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4877 test -z "$as_dir" && as_dir
=.
4878 for ac_exec_ext
in '' $ac_executable_extensions; do
4879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4880 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4890 OBJDUMP
=$ac_cv_prog_OBJDUMP
4891 if test -n "$OBJDUMP"; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4893 $as_echo "$OBJDUMP" >&6; }
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4901 if test -z "$ac_cv_prog_OBJDUMP"; then
4902 ac_ct_OBJDUMP
=$OBJDUMP
4903 # Extract the first word of "objdump", so it can be a program name with args.
4904 set dummy objdump
; ac_word
=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$ac_ct_OBJDUMP"; then
4911 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir
=.
4918 for ac_exec_ext
in '' $ac_executable_extensions; do
4919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4920 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4931 if test -n "$ac_ct_OBJDUMP"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4933 $as_echo "$ac_ct_OBJDUMP" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4939 if test "x$ac_ct_OBJDUMP" = x
; then
4942 case $cross_compiling:$ac_tool_warned in
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4946 ac_tool_warned
=yes ;;
4948 OBJDUMP
=$ac_ct_OBJDUMP
4951 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4954 test -z "$OBJDUMP" && OBJDUMP
=objdump
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4965 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4966 if ${lt_cv_deplibs_check_method+:} false
; then :
4967 $as_echo_n "(cached) " >&6
4969 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4970 lt_cv_file_magic_test_file
=
4971 lt_cv_deplibs_check_method
='unknown'
4972 # Need to set the preceding variable on all platforms that support
4973 # interlibrary dependencies.
4974 # 'none' -- dependencies not supported.
4975 # `unknown' -- same as none, but documents that we really don't know.
4976 # 'pass_all' -- all dependencies passed with no checks.
4977 # 'test_compile' -- check by making test program.
4978 # 'file_magic [[regex]]' -- check by looking for files in library path
4979 # which responds to the $file_magic_cmd with a given extended regex.
4980 # If you have `file' or equivalent on your system and you're not sure
4981 # whether `pass_all' will *always* work, you probably want this one.
4985 lt_cv_deplibs_check_method
=pass_all
4989 lt_cv_deplibs_check_method
=pass_all
4993 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4994 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4995 lt_cv_file_magic_test_file
=/shlib
/libc.so
4999 # func_win32_libid is a shell function defined in ltmain.sh
5000 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5001 lt_cv_file_magic_cmd
='func_win32_libid'
5005 # Base MSYS/MinGW do not provide the 'file' command needed by
5006 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5007 # unless we find 'file', for example because we are cross-compiling.
5008 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5009 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5010 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5011 lt_cv_file_magic_cmd
='func_win32_libid'
5013 # Keep this pattern in sync with the one in func_win32_libid.
5014 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5015 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5020 # use the weaker test based on 'objdump'. See mingw*.
5021 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5022 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5025 darwin
* | rhapsody
*)
5026 lt_cv_deplibs_check_method
=pass_all
5029 freebsd
* | dragonfly
*)
5030 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5033 # Not sure whether the presence of OpenBSD here was a mistake.
5034 # Let's accept both of them until this is cleared up.
5035 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5036 lt_cv_file_magic_cmd
=/usr
/bin
/file
5037 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5041 lt_cv_deplibs_check_method
=pass_all
5046 lt_cv_deplibs_check_method
=pass_all
5050 lt_cv_deplibs_check_method
=pass_all
5053 hpux10.20
* | hpux11
*)
5054 lt_cv_file_magic_cmd
=/usr
/bin
/file
5057 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5058 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5061 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]'
5062 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5065 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5066 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5072 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5073 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5076 irix5
* | irix6
* | nonstopux
*)
5078 *-32|
*"-32 ") libmagic
=32-bit;;
5079 *-n32|
*"-n32 ") libmagic
=N32
;;
5080 *-64|
*"-64 ") libmagic
=64-bit;;
5081 *) libmagic
=never-match
;;
5083 lt_cv_deplibs_check_method
=pass_all
5086 # This must be glibc/ELF.
5087 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5088 lt_cv_deplibs_check_method
=pass_all
5092 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5093 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5095 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5100 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5101 lt_cv_file_magic_cmd
=/usr
/bin
/file
5102 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5106 lt_cv_deplibs_check_method
=pass_all
5110 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5111 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5113 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5117 osf3
* | osf4
* | osf5
*)
5118 lt_cv_deplibs_check_method
=pass_all
5122 lt_cv_deplibs_check_method
=pass_all
5126 lt_cv_deplibs_check_method
=pass_all
5129 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5130 lt_cv_deplibs_check_method
=pass_all
5134 case $host_vendor in
5136 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]'
5137 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5140 lt_cv_deplibs_check_method
=pass_all
5143 lt_cv_file_magic_cmd
='/bin/file'
5144 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5147 lt_cv_file_magic_cmd
='/bin/file'
5148 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5149 lt_cv_file_magic_test_file
=/lib
/libc.so
5152 lt_cv_deplibs_check_method
=pass_all
5155 lt_cv_deplibs_check_method
=pass_all
5161 lt_cv_deplibs_check_method
=pass_all
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5167 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5171 if test "$build" = "$host"; then
5174 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
5177 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5183 file_magic_cmd
=$lt_cv_file_magic_cmd
5184 deplibs_check_method
=$lt_cv_deplibs_check_method
5185 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5208 if test -n "$ac_tool_prefix"; then
5209 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5210 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5214 $as_echo_n "(cached) " >&6
5216 if test -n "$DLLTOOL"; then
5217 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5223 test -z "$as_dir" && as_dir
=.
5224 for ac_exec_ext
in '' $ac_executable_extensions; do
5225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5226 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 DLLTOOL
=$ac_cv_prog_DLLTOOL
5237 if test -n "$DLLTOOL"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5239 $as_echo "$DLLTOOL" >&6; }
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5247 if test -z "$ac_cv_prog_DLLTOOL"; then
5248 ac_ct_DLLTOOL
=$DLLTOOL
5249 # Extract the first word of "dlltool", so it can be a program name with args.
5250 set dummy dlltool
; ac_word
=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
5254 $as_echo_n "(cached) " >&6
5256 if test -n "$ac_ct_DLLTOOL"; then
5257 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir
=.
5264 for ac_exec_ext
in '' $ac_executable_extensions; do
5265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5266 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5277 if test -n "$ac_ct_DLLTOOL"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5279 $as_echo "$ac_ct_DLLTOOL" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5285 if test "x$ac_ct_DLLTOOL" = x
; then
5288 case $cross_compiling:$ac_tool_warned in
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5292 ac_tool_warned
=yes ;;
5294 DLLTOOL
=$ac_ct_DLLTOOL
5297 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5300 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5312 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5313 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
5314 $as_echo_n "(cached) " >&6
5316 lt_cv_sharedlib_from_linklib_cmd
='unknown'
5319 cygwin
* | mingw
* | pw32
* | cegcc
*)
5320 # two different shell functions defined in ltmain.sh
5321 # decide which to use based on capabilities of $DLLTOOL
5322 case `$DLLTOOL --help 2>&1` in
5323 *--identify-strict*)
5324 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
5327 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
5332 # fallback: assume linklib IS sharedlib
5333 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5339 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5340 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
5341 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
5350 if test -n "$ac_tool_prefix"; then
5353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5354 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5356 $as_echo_n "checking for $ac_word... " >&6; }
5357 if ${ac_cv_prog_AR+:} false
; then :
5358 $as_echo_n "(cached) " >&6
5360 if test -n "$AR"; then
5361 ac_cv_prog_AR
="$AR" # Let the user override the test.
5363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5367 test -z "$as_dir" && as_dir
=.
5368 for ac_exec_ext
in '' $ac_executable_extensions; do
5369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5370 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 if test -n "$AR"; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5383 $as_echo "$AR" >&6; }
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5386 $as_echo "no" >&6; }
5390 test -n "$AR" && break
5393 if test -z "$AR"; then
5397 # Extract the first word of "$ac_prog", so it can be a program name with args.
5398 set dummy
$ac_prog; ac_word
=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5402 $as_echo_n "(cached) " >&6
5404 if test -n "$ac_ct_AR"; then
5405 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir
=.
5412 for ac_exec_ext
in '' $ac_executable_extensions; do
5413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5414 ac_cv_prog_ac_ct_AR
="$ac_prog"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5425 if test -n "$ac_ct_AR"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5427 $as_echo "$ac_ct_AR" >&6; }
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5434 test -n "$ac_ct_AR" && break
5437 if test "x$ac_ct_AR" = x
; then
5440 case $cross_compiling:$ac_tool_warned in
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5444 ac_tool_warned
=yes ;;
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5464 $as_echo_n "checking for archiver @FILE support... " >&6; }
5465 if ${lt_cv_ar_at_file+:} false
; then :
5466 $as_echo_n "(cached) " >&6
5469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5480 if ac_fn_c_try_compile
"$LINENO"; then :
5481 echo conftest.
$ac_objext > conftest.lst
5482 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5483 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5484 (eval $lt_ar_try) 2>&5
5486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5487 test $ac_status = 0; }
5488 if test "$ac_status" -eq 0; then
5489 # Ensure the archiver fails upon bogus file names.
5490 rm -f conftest.
$ac_objext libconftest.a
5491 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5492 (eval $lt_ar_try) 2>&5
5494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5495 test $ac_status = 0; }
5496 if test "$ac_status" -ne 0; then
5500 rm -f conftest.
* libconftest.a
5503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5507 $as_echo "$lt_cv_ar_at_file" >&6; }
5509 if test "x$lt_cv_ar_at_file" = xno
; then
5512 archiver_list_spec
=$lt_cv_ar_at_file
5521 if test -n "$ac_tool_prefix"; then
5522 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5523 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5525 $as_echo_n "checking for $ac_word... " >&6; }
5526 if ${ac_cv_prog_STRIP+:} false
; then :
5527 $as_echo_n "(cached) " >&6
5529 if test -n "$STRIP"; then
5530 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5536 test -z "$as_dir" && as_dir
=.
5537 for ac_exec_ext
in '' $ac_executable_extensions; do
5538 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 STRIP
=$ac_cv_prog_STRIP
5550 if test -n "$STRIP"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5552 $as_echo "$STRIP" >&6; }
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5560 if test -z "$ac_cv_prog_STRIP"; then
5562 # Extract the first word of "strip", so it can be a program name with args.
5563 set dummy strip
; ac_word
=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5567 $as_echo_n "(cached) " >&6
5569 if test -n "$ac_ct_STRIP"; then
5570 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5576 test -z "$as_dir" && as_dir
=.
5577 for ac_exec_ext
in '' $ac_executable_extensions; do
5578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_ac_ct_STRIP
="strip"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5590 if test -n "$ac_ct_STRIP"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5592 $as_echo "$ac_ct_STRIP" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5598 if test "x$ac_ct_STRIP" = x
; then
5601 case $cross_compiling:$ac_tool_warned in
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5605 ac_tool_warned
=yes ;;
5610 STRIP
="$ac_cv_prog_STRIP"
5613 test -z "$STRIP" && STRIP
=:
5620 if test -n "$ac_tool_prefix"; then
5621 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5622 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_prog_RANLIB+:} false
; then :
5626 $as_echo_n "(cached) " >&6
5628 if test -n "$RANLIB"; then
5629 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5635 test -z "$as_dir" && as_dir
=.
5636 for ac_exec_ext
in '' $ac_executable_extensions; do
5637 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5638 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 RANLIB
=$ac_cv_prog_RANLIB
5649 if test -n "$RANLIB"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5651 $as_echo "$RANLIB" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5659 if test -z "$ac_cv_prog_RANLIB"; then
5660 ac_ct_RANLIB
=$RANLIB
5661 # Extract the first word of "ranlib", so it can be a program name with args.
5662 set dummy ranlib
; ac_word
=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5666 $as_echo_n "(cached) " >&6
5668 if test -n "$ac_ct_RANLIB"; then
5669 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5675 test -z "$as_dir" && as_dir
=.
5676 for ac_exec_ext
in '' $ac_executable_extensions; do
5677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5678 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5689 if test -n "$ac_ct_RANLIB"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5691 $as_echo "$ac_ct_RANLIB" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5697 if test "x$ac_ct_RANLIB" = x
; then
5700 case $cross_compiling:$ac_tool_warned in
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5704 ac_tool_warned
=yes ;;
5706 RANLIB
=$ac_ct_RANLIB
5709 RANLIB
="$ac_cv_prog_RANLIB"
5712 test -z "$RANLIB" && RANLIB
=:
5719 # Determine commands to create old-style static archives.
5720 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5721 old_postinstall_cmds
='chmod 644 $oldlib'
5722 old_postuninstall_cmds
=
5724 if test -n "$RANLIB"; then
5727 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5730 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5733 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5738 lock_old_archive_extraction
=yes ;;
5740 lock_old_archive_extraction
=no
;;
5781 # If no C compiler was specified, use CC.
5784 # If no C compiler flags were specified, use CFLAGS.
5785 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5787 # Allow CC to be a program name with arguments.
5791 # Check for command to grab the raw symbol name followed by C symbol from nm.
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5793 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5794 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5795 $as_echo_n "(cached) " >&6
5798 # These are sane defaults that work on at least a few old systems.
5799 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5801 # Character class describing NM global symbol codes.
5802 symcode
='[BCDEGRST]'
5804 # Regexp to match symbols that can be accessed directly from C.
5805 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5807 # Define system-specific variables.
5812 cygwin
* | mingw
* | pw32
* | cegcc
*)
5813 symcode
='[ABCDGISTW]'
5816 if test "$host_cpu" = ia64
; then
5817 symcode
='[ABCDEGRST]'
5821 symcode
='[BCDEGRST]'
5824 symcode
='[BCDEGQRST]'
5835 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5843 # If we're using GNU nm, then use its standard symbol codes.
5844 case `$NM -V 2>&1` in
5845 *GNU
* |
*'with BFD'*)
5846 symcode
='[ABCDGIRSTW]' ;;
5849 # Transform an extracted symbol line into a proper C declaration.
5850 # Some systems (esp. on ia64) link data and code symbols differently,
5851 # so use this general approach.
5852 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5854 # Transform an extracted symbol line into symbol name and symbol address
5855 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5856 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5858 # Handle CRLF in mingw tool chain
5862 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5866 # Try without a prefix underscore, then with it.
5867 for ac_symprfx
in "" "_"; do
5869 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5870 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5872 # Write the raw and C identifiers.
5873 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5874 # Fake it for dumpbin and say T for any non-static function
5875 # and D for any global variable.
5876 # Also find C++ and __fastcall symbols from MSVC++,
5877 # which start with @ or ?.
5878 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5879 " {last_section=section; section=\$ 3};"\
5880 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5881 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5882 " \$ 0!~/External *\|/{next};"\
5883 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5884 " {if(hide[section]) next};"\
5885 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5886 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5887 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5888 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5889 " ' prfx=^$ac_symprfx"
5891 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5893 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5895 # Check to see that the pipe works correctly.
5899 cat > conftest.
$ac_ext <<_LT_EOF
5904 void nm_test_func(void);
5905 void nm_test_func(void){}
5909 int main(){nm_test_var='a';nm_test_func();return(0);}
5912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5913 (eval $ac_compile) 2>&5
5915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5916 test $ac_status = 0; }; then
5917 # Now try to grab the symbols.
5919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5920 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
5922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5923 test $ac_status = 0; } && test -s "$nlist"; then
5924 # Try sorting and uniquifying the output.
5925 if sort "$nlist" |
uniq > "$nlist"T
; then
5926 mv -f "$nlist"T
"$nlist"
5931 # Make sure that we snagged all the symbols we need.
5932 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5933 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5934 cat <<_LT_EOF > conftest.$ac_ext
5935 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5936 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5937 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5938 relocations are performed -- see ld's documentation on pseudo-relocs. */
5939 # define LT_DLSYM_CONST
5940 #elif defined(__osf__)
5941 /* This system does not cope well with relocations in const data. */
5942 # define LT_DLSYM_CONST
5944 # define LT_DLSYM_CONST const
5952 # Now generate the symbol file.
5953 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5955 cat <<_LT_EOF >> conftest.$ac_ext
5957 /* The mapping between symbol names and symbols. */
5958 LT_DLSYM_CONST struct {
5962 lt__PROGRAM__LTX_preloaded_symbols[] =
5964 { "@PROGRAM@", (void *) 0 },
5966 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
5967 cat <<\_LT_EOF
>> conftest.
$ac_ext
5971 /* This works around a problem
in FreeBSD linker
*/
5972 #ifdef FREEBSD_WORKAROUND
5973 static const void
*lt_preloaded_setup
() {
5974 return lt__PROGRAM__LTX_preloaded_symbols
;
5982 # Now try linking the two files.
5983 mv conftest.
$ac_objext conftstm.
$ac_objext
5984 lt_globsym_save_LIBS
=$LIBS
5985 lt_globsym_save_CFLAGS
=$CFLAGS
5986 LIBS
="conftstm.$ac_objext"
5987 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5988 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5989 (eval $ac_link) 2>&5
5991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5992 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5995 LIBS
=$lt_globsym_save_LIBS
5996 CFLAGS
=$lt_globsym_save_CFLAGS
5998 echo "cannot find nm_test_func in $nlist" >&5
6001 echo "cannot find nm_test_var in $nlist" >&5
6004 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6007 echo "$progname: failed program was:" >&5
6008 cat conftest.
$ac_ext >&5
6010 rm -rf conftest
* conftst
*
6012 # Do not use the global_symbol_pipe unless it works.
6013 if test "$pipe_works" = yes; then
6016 lt_cv_sys_global_symbol_pipe
=
6022 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6023 lt_cv_sys_global_symbol_to_cdecl
=
6025 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6027 $as_echo "failed" >&6; }
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6030 $as_echo "ok" >&6; }
6033 # Response file support.
6034 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6035 nm_file_list_spec
='@'
6036 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
6037 nm_file_list_spec
='@'
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6067 $as_echo_n "checking for sysroot... " >&6; }
6069 # Check whether --with-sysroot was given.
6070 if test "${with_sysroot+set}" = set; then :
6071 withval
=$with_sysroot;
6078 case ${with_sysroot} in #(
6080 if test "$GCC" = yes; then
6081 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
6085 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6091 $as_echo "${with_sysroot}" >&6; }
6092 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6097 $as_echo "${lt_sysroot:-no}" >&6; }
6103 # Check whether --enable-libtool-lock was given.
6104 if test "${enable_libtool_lock+set}" = set; then :
6105 enableval
=$enable_libtool_lock;
6108 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6110 # Some flags need to be propagated to the compiler or linker for good
6114 # Find out which ABI we are using.
6115 echo 'int i;' > conftest.
$ac_ext
6116 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6117 (eval $ac_compile) 2>&5
6119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6120 test $ac_status = 0; }; then
6121 case `/usr/bin/file conftest.$ac_objext` in
6133 # Find out which ABI we are using.
6134 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6135 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6136 (eval $ac_compile) 2>&5
6138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6139 test $ac_status = 0; }; then
6140 if test "$lt_cv_prog_gnu_ld" = yes; then
6141 case `/usr/bin/file conftest.$ac_objext` in
6143 LD
="${LD-ld} -melf32bsmip"
6146 LD
="${LD-ld} -melf32bmipn32"
6149 LD
="${LD-ld} -melf64bmip"
6153 case `/usr/bin/file conftest.$ac_objext` in
6169 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6170 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6171 # Find out which ABI we are using.
6172 echo 'int i;' > conftest.
$ac_ext
6173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6174 (eval $ac_compile) 2>&5
6176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6177 test $ac_status = 0; }; then
6178 case `/usr/bin/file conftest.o` in
6181 x86_64-
*kfreebsd
*-gnu)
6182 LD
="${LD-ld} -m elf_i386_fbsd"
6185 LD
="${LD-ld} -m elf_i386"
6187 ppc64-
*linux
*|powerpc64-
*linux
*)
6188 LD
="${LD-ld} -m elf32ppclinux"
6191 LD
="${LD-ld} -m elf_s390"
6194 LD
="${LD-ld} -m elf32_sparc"
6200 x86_64-
*kfreebsd
*-gnu)
6201 LD
="${LD-ld} -m elf_x86_64_fbsd"
6204 LD
="${LD-ld} -m elf_x86_64"
6206 ppc
*-*linux
*|powerpc
*-*linux
*)
6207 LD
="${LD-ld} -m elf64ppc"
6209 s390
*-*linux
*|s390
*-*tpf
*)
6210 LD
="${LD-ld} -m elf64_s390"
6213 LD
="${LD-ld} -m elf64_sparc"
6223 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6224 SAVE_CFLAGS
="$CFLAGS"
6225 CFLAGS
="$CFLAGS -belf"
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6227 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6228 if ${lt_cv_cc_needs_belf+:} false
; then :
6229 $as_echo_n "(cached) " >&6
6232 ac_cpp
='$CPP $CPPFLAGS'
6233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6238 /* end confdefs.h. */
6248 if ac_fn_c_try_link
"$LINENO"; then :
6249 lt_cv_cc_needs_belf
=yes
6251 lt_cv_cc_needs_belf
=no
6253 rm -f core conftest.err conftest.
$ac_objext \
6254 conftest
$ac_exeext conftest.
$ac_ext
6256 ac_cpp
='$CPP $CPPFLAGS'
6257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6263 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6264 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6265 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6266 CFLAGS
="$SAVE_CFLAGS"
6270 # Find out which ABI we are using.
6271 echo 'int i;' > conftest.
$ac_ext
6272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6273 (eval $ac_compile) 2>&5
6275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6276 test $ac_status = 0; }; then
6277 case `/usr/bin/file conftest.o` in
6279 case $lt_cv_prog_gnu_ld in
6283 LD
="${LD-ld} -m elf_x86_64"
6286 LD
="${LD-ld} -m elf64_sparc"
6289 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6290 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6295 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6307 need_locks
="$enable_libtool_lock"
6309 if test -n "$ac_tool_prefix"; then
6310 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6311 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313 $as_echo_n "checking for $ac_word... " >&6; }
6314 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
6315 $as_echo_n "(cached) " >&6
6317 if test -n "$MANIFEST_TOOL"; then
6318 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
6320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6324 test -z "$as_dir" && as_dir
=.
6325 for ac_exec_ext
in '' $ac_executable_extensions; do
6326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6327 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
6328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
6338 if test -n "$MANIFEST_TOOL"; then
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6340 $as_echo "$MANIFEST_TOOL" >&6; }
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343 $as_echo "no" >&6; }
6348 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6349 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
6350 # Extract the first word of "mt", so it can be a program name with args.
6351 set dummy mt
; ac_word
=$2
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6353 $as_echo_n "checking for $ac_word... " >&6; }
6354 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
6355 $as_echo_n "(cached) " >&6
6357 if test -n "$ac_ct_MANIFEST_TOOL"; then
6358 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6364 test -z "$as_dir" && as_dir
=.
6365 for ac_exec_ext
in '' $ac_executable_extensions; do
6366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6367 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
6368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6377 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6378 if test -n "$ac_ct_MANIFEST_TOOL"; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6380 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6383 $as_echo "no" >&6; }
6386 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
6389 case $cross_compiling:$ac_tool_warned in
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6393 ac_tool_warned
=yes ;;
6395 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
6398 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
6401 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6403 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6404 if ${lt_cv_path_mainfest_tool+:} false
; then :
6405 $as_echo_n "(cached) " >&6
6407 lt_cv_path_mainfest_tool
=no
6408 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6409 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
6410 cat conftest.err
>&5
6411 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
6412 lt_cv_path_mainfest_tool
=yes
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6417 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6418 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
6428 rhapsody
* | darwin
*)
6429 if test -n "$ac_tool_prefix"; then
6430 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6431 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6433 $as_echo_n "checking for $ac_word... " >&6; }
6434 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6435 $as_echo_n "(cached) " >&6
6437 if test -n "$DSYMUTIL"; then
6438 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6444 test -z "$as_dir" && as_dir
=.
6445 for ac_exec_ext
in '' $ac_executable_extensions; do
6446 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6447 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6458 if test -n "$DSYMUTIL"; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6460 $as_echo "$DSYMUTIL" >&6; }
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 $as_echo "no" >&6; }
6468 if test -z "$ac_cv_prog_DSYMUTIL"; then
6469 ac_ct_DSYMUTIL
=$DSYMUTIL
6470 # Extract the first word of "dsymutil", so it can be a program name with args.
6471 set dummy dsymutil
; ac_word
=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6475 $as_echo_n "(cached) " >&6
6477 if test -n "$ac_ct_DSYMUTIL"; then
6478 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6484 test -z "$as_dir" && as_dir
=.
6485 for ac_exec_ext
in '' $ac_executable_extensions; do
6486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6487 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6497 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6498 if test -n "$ac_ct_DSYMUTIL"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6500 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6506 if test "x$ac_ct_DSYMUTIL" = x
; then
6509 case $cross_compiling:$ac_tool_warned in
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6513 ac_tool_warned
=yes ;;
6515 DSYMUTIL
=$ac_ct_DSYMUTIL
6518 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6521 if test -n "$ac_tool_prefix"; then
6522 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6523 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if ${ac_cv_prog_NMEDIT+:} false
; then :
6527 $as_echo_n "(cached) " >&6
6529 if test -n "$NMEDIT"; then
6530 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6536 test -z "$as_dir" && as_dir
=.
6537 for ac_exec_ext
in '' $ac_executable_extensions; do
6538 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6539 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 NMEDIT
=$ac_cv_prog_NMEDIT
6550 if test -n "$NMEDIT"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6552 $as_echo "$NMEDIT" >&6; }
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6560 if test -z "$ac_cv_prog_NMEDIT"; then
6561 ac_ct_NMEDIT
=$NMEDIT
6562 # Extract the first word of "nmedit", so it can be a program name with args.
6563 set dummy nmedit
; ac_word
=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6567 $as_echo_n "(cached) " >&6
6569 if test -n "$ac_ct_NMEDIT"; then
6570 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6576 test -z "$as_dir" && as_dir
=.
6577 for ac_exec_ext
in '' $ac_executable_extensions; do
6578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6579 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6590 if test -n "$ac_ct_NMEDIT"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6592 $as_echo "$ac_ct_NMEDIT" >&6; }
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6598 if test "x$ac_ct_NMEDIT" = x
; then
6601 case $cross_compiling:$ac_tool_warned in
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605 ac_tool_warned
=yes ;;
6607 NMEDIT
=$ac_ct_NMEDIT
6610 NMEDIT
="$ac_cv_prog_NMEDIT"
6613 if test -n "$ac_tool_prefix"; then
6614 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6615 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_LIPO+:} false
; then :
6619 $as_echo_n "(cached) " >&6
6621 if test -n "$LIPO"; then
6622 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6628 test -z "$as_dir" && as_dir
=.
6629 for ac_exec_ext
in '' $ac_executable_extensions; do
6630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6631 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641 LIPO
=$ac_cv_prog_LIPO
6642 if test -n "$LIPO"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6644 $as_echo "$LIPO" >&6; }
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6652 if test -z "$ac_cv_prog_LIPO"; then
6654 # Extract the first word of "lipo", so it can be a program name with args.
6655 set dummy lipo
; ac_word
=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6659 $as_echo_n "(cached) " >&6
6661 if test -n "$ac_ct_LIPO"; then
6662 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6668 test -z "$as_dir" && as_dir
=.
6669 for ac_exec_ext
in '' $ac_executable_extensions; do
6670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6671 ac_cv_prog_ac_ct_LIPO
="lipo"
6672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6682 if test -n "$ac_ct_LIPO"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6684 $as_echo "$ac_ct_LIPO" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6690 if test "x$ac_ct_LIPO" = x
; then
6693 case $cross_compiling:$ac_tool_warned in
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6697 ac_tool_warned
=yes ;;
6702 LIPO
="$ac_cv_prog_LIPO"
6705 if test -n "$ac_tool_prefix"; then
6706 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6707 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if ${ac_cv_prog_OTOOL+:} false
; then :
6711 $as_echo_n "(cached) " >&6
6713 if test -n "$OTOOL"; then
6714 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6720 test -z "$as_dir" && as_dir
=.
6721 for ac_exec_ext
in '' $ac_executable_extensions; do
6722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6723 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6733 OTOOL
=$ac_cv_prog_OTOOL
6734 if test -n "$OTOOL"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6736 $as_echo "$OTOOL" >&6; }
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6744 if test -z "$ac_cv_prog_OTOOL"; then
6746 # Extract the first word of "otool", so it can be a program name with args.
6747 set dummy otool
; ac_word
=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6751 $as_echo_n "(cached) " >&6
6753 if test -n "$ac_ct_OTOOL"; then
6754 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6760 test -z "$as_dir" && as_dir
=.
6761 for ac_exec_ext
in '' $ac_executable_extensions; do
6762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6763 ac_cv_prog_ac_ct_OTOOL
="otool"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6774 if test -n "$ac_ct_OTOOL"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6776 $as_echo "$ac_ct_OTOOL" >&6; }
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6782 if test "x$ac_ct_OTOOL" = x
; then
6785 case $cross_compiling:$ac_tool_warned in
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6789 ac_tool_warned
=yes ;;
6794 OTOOL
="$ac_cv_prog_OTOOL"
6797 if test -n "$ac_tool_prefix"; then
6798 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6799 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6801 $as_echo_n "checking for $ac_word... " >&6; }
6802 if ${ac_cv_prog_OTOOL64+:} false
; then :
6803 $as_echo_n "(cached) " >&6
6805 if test -n "$OTOOL64"; then
6806 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6812 test -z "$as_dir" && as_dir
=.
6813 for ac_exec_ext
in '' $ac_executable_extensions; do
6814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6815 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6825 OTOOL64
=$ac_cv_prog_OTOOL64
6826 if test -n "$OTOOL64"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6828 $as_echo "$OTOOL64" >&6; }
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6831 $as_echo "no" >&6; }
6836 if test -z "$ac_cv_prog_OTOOL64"; then
6837 ac_ct_OTOOL64
=$OTOOL64
6838 # Extract the first word of "otool64", so it can be a program name with args.
6839 set dummy otool64
; ac_word
=$2
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 $as_echo_n "checking for $ac_word... " >&6; }
6842 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6843 $as_echo_n "(cached) " >&6
6845 if test -n "$ac_ct_OTOOL64"; then
6846 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir
=.
6853 for ac_exec_ext
in '' $ac_executable_extensions; do
6854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6855 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6866 if test -n "$ac_ct_OTOOL64"; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6868 $as_echo "$ac_ct_OTOOL64" >&6; }
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 $as_echo "no" >&6; }
6874 if test "x$ac_ct_OTOOL64" = x
; then
6877 case $cross_compiling:$ac_tool_warned in
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6881 ac_tool_warned
=yes ;;
6883 OTOOL64
=$ac_ct_OTOOL64
6886 OTOOL64
="$ac_cv_prog_OTOOL64"
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6916 $as_echo_n "checking for -single_module linker flag... " >&6; }
6917 if ${lt_cv_apple_cc_single_mod+:} false
; then :
6918 $as_echo_n "(cached) " >&6
6920 lt_cv_apple_cc_single_mod
=no
6921 if test -z "${LT_MULTI_MODULE}"; then
6922 # By default we will add the -single_module flag. You can override
6923 # by either setting the environment variable LT_MULTI_MODULE
6924 # non-empty at configure time, or by adding -multi_module to the
6926 rm -rf libconftest.dylib
*
6927 echo "int foo(void){return 1;}" > conftest.c
6928 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6929 -dynamiclib -Wl,-single_module conftest.c" >&5
6930 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6931 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6933 # If there is a non-empty error log, and "single_module"
6934 # appears in it, assume the flag caused a linker warning
6935 if test -s conftest.err
&& $GREP single_module conftest.err
; then
6936 cat conftest.err
>&5
6937 # Otherwise, if the output was created with a 0 exit code from
6938 # the compiler, it worked.
6939 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
6940 lt_cv_apple_cc_single_mod
=yes
6942 cat conftest.err
>&5
6944 rm -rf libconftest.dylib
*
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6949 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6952 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6953 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
6954 $as_echo_n "(cached) " >&6
6956 lt_cv_ld_exported_symbols_list
=no
6957 save_LDFLAGS
=$LDFLAGS
6958 echo "_main" > conftest.sym
6959 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6961 /* end confdefs.h. */
6971 if ac_fn_c_try_link
"$LINENO"; then :
6972 lt_cv_ld_exported_symbols_list
=yes
6974 lt_cv_ld_exported_symbols_list
=no
6976 rm -f core conftest.err conftest.
$ac_objext \
6977 conftest
$ac_exeext conftest.
$ac_ext
6978 LDFLAGS
="$save_LDFLAGS"
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6982 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6985 $as_echo_n "checking for -force_load linker flag... " >&6; }
6986 if ${lt_cv_ld_force_load+:} false
; then :
6987 $as_echo_n "(cached) " >&6
6989 lt_cv_ld_force_load
=no
6990 cat > conftest.c
<< _LT_EOF
6991 int forced_loaded() { return 2;}
6993 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6994 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6995 echo "$AR cru libconftest.a conftest.o" >&5
6996 $AR cru libconftest.a conftest.o
2>&5
6997 echo "$RANLIB libconftest.a" >&5
6998 $RANLIB libconftest.a
2>&5
6999 cat > conftest.c
<< _LT_EOF
7000 int main() { return 0;}
7002 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7003 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7005 if test -s conftest.err
&& $GREP force_load conftest.err
; then
7006 cat conftest.err
>&5
7007 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
7008 lt_cv_ld_force_load
=yes
7010 cat conftest.err
>&5
7012 rm -f conftest.err libconftest.a conftest conftest.c
7013 rm -rf conftest.dSYM
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7017 $as_echo "$lt_cv_ld_force_load" >&6; }
7019 rhapsody
* | darwin1.
[012])
7020 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7022 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7023 darwin
*) # darwin 5.x on
7024 # if running on 10.5 or later, the deployment target defaults
7025 # to the OS version, if on x86, and 10.4, the deployment
7026 # target defaults to 10.4. Don't you love it?
7027 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7028 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7029 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7031 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7033 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7037 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7038 _lt_dar_single_mod
='$single_module'
7040 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7041 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7043 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7045 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7046 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7054 ac_cpp
='$CPP $CPPFLAGS'
7055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7059 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7060 # On Suns, sometimes $CPP names a directory.
7061 if test -n "$CPP" && test -d "$CPP"; then
7064 if test -z "$CPP"; then
7065 if ${ac_cv_prog_CPP+:} false
; then :
7066 $as_echo_n "(cached) " >&6
7068 # Double quotes because CPP needs to be expanded
7069 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7072 for ac_c_preproc_warn_flag
in '' yes
7074 # Use a header file that comes with gcc, so configuring glibc
7075 # with a fresh cross-compiler works.
7076 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7077 # <limits.h> exists even on freestanding compilers.
7078 # On the NeXT, cc -E runs the code through the compiler's parser,
7079 # not just through cpp. "Syntax error" is here to catch this case.
7080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7081 /* end confdefs.h. */
7083 # include <limits.h>
7085 # include <assert.h>
7089 if ac_fn_c_try_cpp
"$LINENO"; then :
7092 # Broken: fails on valid input.
7095 rm -f conftest.err conftest.i conftest.
$ac_ext
7097 # OK, works on sane cases. Now check whether nonexistent headers
7098 # can be detected and how.
7099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7100 /* end confdefs.h. */
7101 #include <ac_nonexistent.h>
7103 if ac_fn_c_try_cpp
"$LINENO"; then :
7104 # Broken: success on invalid input.
7107 # Passes both tests.
7111 rm -f conftest.err conftest.i conftest.
$ac_ext
7114 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7115 rm -f conftest.i conftest.err conftest.
$ac_ext
7116 if $ac_preproc_ok; then :
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7129 $as_echo "$CPP" >&6; }
7131 for ac_c_preproc_warn_flag
in '' yes
7133 # Use a header file that comes with gcc, so configuring glibc
7134 # with a fresh cross-compiler works.
7135 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7136 # <limits.h> exists even on freestanding compilers.
7137 # On the NeXT, cc -E runs the code through the compiler's parser,
7138 # not just through cpp. "Syntax error" is here to catch this case.
7139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7142 # include <limits.h>
7144 # include <assert.h>
7148 if ac_fn_c_try_cpp
"$LINENO"; then :
7151 # Broken: fails on valid input.
7154 rm -f conftest.err conftest.i conftest.
$ac_ext
7156 # OK, works on sane cases. Now check whether nonexistent headers
7157 # can be detected and how.
7158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7159 /* end confdefs.h. */
7160 #include <ac_nonexistent.h>
7162 if ac_fn_c_try_cpp
"$LINENO"; then :
7163 # Broken: success on invalid input.
7166 # Passes both tests.
7170 rm -f conftest.err conftest.i conftest.
$ac_ext
7173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7174 rm -f conftest.i conftest.err conftest.
$ac_ext
7175 if $ac_preproc_ok; then :
7178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7180 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7181 See \`config.log' for more details" "$LINENO" 5; }
7185 ac_cpp
='$CPP $CPPFLAGS'
7186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7192 $as_echo_n "checking for ANSI C header files... " >&6; }
7193 if ${ac_cv_header_stdc+:} false
; then :
7194 $as_echo_n "(cached) " >&6
7196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7197 /* end confdefs.h. */
7211 if ac_fn_c_try_compile
"$LINENO"; then :
7212 ac_cv_header_stdc
=yes
7214 ac_cv_header_stdc
=no
7216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7218 if test $ac_cv_header_stdc = yes; then
7219 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7221 /* end confdefs.h. */
7225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7226 $EGREP "memchr" >/dev
/null
2>&1; then :
7229 ac_cv_header_stdc
=no
7235 if test $ac_cv_header_stdc = yes; then
7236 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7243 $EGREP "free" >/dev
/null
2>&1; then :
7246 ac_cv_header_stdc
=no
7252 if test $ac_cv_header_stdc = yes; then
7253 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7254 if test "$cross_compiling" = yes; then :
7257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7258 /* end confdefs.h. */
7261 #if ((' ' & 0x0FF) == 0x020)
7262 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7263 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7265 # define ISLOWER(c) \
7266 (('a' <= (c) && (c) <= 'i') \
7267 || ('j' <= (c) && (c) <= 'r') \
7268 || ('s' <= (c) && (c) <= 'z'))
7269 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7272 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7277 for (i = 0; i < 256; i++)
7278 if (XOR (islower (i), ISLOWER (i))
7279 || toupper (i) != TOUPPER (i))
7284 if ac_fn_c_try_run
"$LINENO"; then :
7287 ac_cv_header_stdc
=no
7289 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7290 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7296 $as_echo "$ac_cv_header_stdc" >&6; }
7297 if test $ac_cv_header_stdc = yes; then
7299 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7303 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7304 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7305 inttypes.h stdint.h unistd.h
7307 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7308 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7310 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7311 cat >>confdefs.h
<<_ACEOF
7312 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7320 for ac_header
in dlfcn.h
7322 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7324 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7325 cat >>confdefs.h
<<_ACEOF
7326 #define HAVE_DLFCN_H 1
7347 # Check whether --enable-shared was given.
7348 if test "${enable_shared+set}" = set; then :
7349 enableval
=$enable_shared; p
=${PACKAGE-default}
7351 yes) enable_shared
=yes ;;
7352 no
) enable_shared
=no
;;
7355 # Look at the argument we got. We use all the common list separators.
7356 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7357 for pkg
in $enableval; do
7359 if test "X$pkg" = "X$p"; then
7378 # Check whether --enable-static was given.
7379 if test "${enable_static+set}" = set; then :
7380 enableval
=$enable_static; p
=${PACKAGE-default}
7382 yes) enable_static
=yes ;;
7383 no
) enable_static
=no
;;
7386 # Look at the argument we got. We use all the common list separators.
7387 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7388 for pkg
in $enableval; do
7390 if test "X$pkg" = "X$p"; then
7410 # Check whether --with-pic was given.
7411 if test "${with_pic+set}" = set; then :
7412 withval
=$with_pic; lt_p
=${PACKAGE-default}
7414 yes|no
) pic_mode
=$withval ;;
7417 # Look at the argument we got. We use all the common list separators.
7418 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7419 for lt_pkg
in $withval; do
7421 if test "X$lt_pkg" = "X$lt_p"; then
7433 test -z "$pic_mode" && pic_mode
=default
7441 # Check whether --enable-fast-install was given.
7442 if test "${enable_fast_install+set}" = set; then :
7443 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7445 yes) enable_fast_install
=yes ;;
7446 no
) enable_fast_install
=no
;;
7448 enable_fast_install
=no
7449 # Look at the argument we got. We use all the common list separators.
7450 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7451 for pkg
in $enableval; do
7453 if test "X$pkg" = "X$p"; then
7454 enable_fast_install
=yes
7461 enable_fast_install
=yes
7474 # This can be used to rebuild libtool when needed
7475 LIBTOOL_DEPS
="$ltmain"
7477 # Always use our own libtool.
7478 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7509 test -z "$LN_S" && LN_S
="ln -s"
7524 if test -n "${ZSH_VERSION+set}" ; then
7525 setopt NO_GLOB_SUBST
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7529 $as_echo_n "checking for objdir... " >&6; }
7530 if ${lt_cv_objdir+:} false
; then :
7531 $as_echo_n "(cached) " >&6
7533 rm -f .libs
2>/dev
/null
7534 mkdir .libs
2>/dev
/null
7535 if test -d .libs
; then
7538 # MS-DOS does not allow filenames that begin with a dot.
7541 rmdir .libs
2>/dev
/null
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7544 $as_echo "$lt_cv_objdir" >&6; }
7545 objdir
=$lt_cv_objdir
7551 cat >>confdefs.h
<<_ACEOF
7552 #define LT_OBJDIR "$lt_cv_objdir/"
7560 # AIX sometimes has problems with the GCC collect2 program. For some
7561 # reason, if we set the COLLECT_NAMES environment variable, the problems
7562 # vanish in a puff of smoke.
7563 if test "X${COLLECT_NAMES+set}" != Xset
; then
7565 export COLLECT_NAMES
7572 can_build_shared
=yes
7574 # All known linkers require a `.a' archive for static linking (except MSVC,
7575 # which needs '.lib').
7578 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7581 old_CFLAGS
="$CFLAGS"
7583 # Set sane defaults for various variables
7584 test -z "$CC" && CC
=cc
7585 test -z "$LTCC" && LTCC
=$CC
7586 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7587 test -z "$LD" && LD
=ld
7588 test -z "$ac_objext" && ac_objext
=o
7590 for cc_temp
in $compiler""; do
7592 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7593 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7598 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7601 # Only perform the check for file, if the check method requires it
7602 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7603 case $deplibs_check_method in
7605 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7607 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7608 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7609 $as_echo_n "(cached) " >&6
7613 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7616 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7617 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7618 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7619 for ac_dir
in $ac_dummy; do
7621 test -z "$ac_dir" && ac_dir
=.
7622 if test -f $ac_dir/${ac_tool_prefix}file; then
7623 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7624 if test -n "$file_magic_test_file"; then
7625 case $deplibs_check_method in
7627 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7628 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7629 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7630 $EGREP "$file_magic_regex" > /dev
/null
; then
7635 *** Warning: the command libtool uses to detect shared libraries,
7636 *** $file_magic_cmd, produces output that libtool cannot recognize.
7637 *** The result is that libtool may fail to recognize shared libraries
7638 *** as such. This will affect the creation of libtool libraries that
7639 *** depend on shared libraries, but programs linked with such libtool
7640 *** libraries will work regardless of this problem. Nevertheless, you
7641 *** may want to report the problem to your system manager and/or to
7642 *** bug-libtool@gnu.org
7652 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7657 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7658 if test -n "$MAGIC_CMD"; then
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7660 $as_echo "$MAGIC_CMD" >&6; }
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7663 $as_echo "no" >&6; }
7670 if test -z "$lt_cv_path_MAGIC_CMD"; then
7671 if test -n "$ac_tool_prefix"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7673 $as_echo_n "checking for file... " >&6; }
7674 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7675 $as_echo_n "(cached) " >&6
7679 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7682 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7683 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7684 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7685 for ac_dir
in $ac_dummy; do
7687 test -z "$ac_dir" && ac_dir
=.
7688 if test -f $ac_dir/file; then
7689 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7690 if test -n "$file_magic_test_file"; then
7691 case $deplibs_check_method in
7693 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7694 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7695 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7696 $EGREP "$file_magic_regex" > /dev
/null
; then
7701 *** Warning: the command libtool uses to detect shared libraries,
7702 *** $file_magic_cmd, produces output that libtool cannot recognize.
7703 *** The result is that libtool may fail to recognize shared libraries
7704 *** as such. This will affect the creation of libtool libraries that
7705 *** depend on shared libraries, but programs linked with such libtool
7706 *** libraries will work regardless of this problem. Nevertheless, you
7707 *** may want to report the problem to your system manager and/or to
7708 *** bug-libtool@gnu.org
7718 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7723 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7724 if test -n "$MAGIC_CMD"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7726 $as_echo "$MAGIC_CMD" >&6; }
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7729 $as_echo "no" >&6; }
7742 # Use C for the default configuration in the libtool script
7746 ac_cpp
='$CPP $CPPFLAGS'
7747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7752 # Source file extension for C test sources.
7755 # Object file extension for compiled C test sources.
7759 # Code to be used in simple compile tests
7760 lt_simple_compile_test_code
="int some_variable = 0;"
7762 # Code to be used in simple link tests
7763 lt_simple_link_test_code
='int main(){return(0);}'
7771 # If no C compiler was specified, use CC.
7774 # If no C compiler flags were specified, use CFLAGS.
7775 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7777 # Allow CC to be a program name with arguments.
7780 # Save the default compiler, since it gets overwritten when the other
7781 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7782 compiler_DEFAULT
=$CC
7784 # save warnings/boilerplate of simple test code
7785 ac_outfile
=conftest.
$ac_objext
7786 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7787 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7788 _lt_compiler_boilerplate
=`cat conftest.err`
7791 ac_outfile
=conftest.
$ac_objext
7792 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7793 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7794 _lt_linker_boilerplate
=`cat conftest.err`
7798 if test -n "$compiler"; then
7800 lt_prog_compiler_no_builtin_flag
=
7802 if test "$GCC" = yes; then
7803 case $cc_basename in
7805 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7807 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7811 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7812 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7813 $as_echo_n "(cached) " >&6
7815 lt_cv_prog_compiler_rtti_exceptions
=no
7816 ac_outfile
=conftest.
$ac_objext
7817 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7818 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7819 # Insert the option either (1) after the last *FLAGS variable, or
7820 # (2) before a word containing "conftest.", or (3) at the end.
7821 # Note that $ac_compile itself does not contain backslashes and begins
7822 # with a dollar sign (not a hyphen), so the echo should work correctly.
7823 # The option is referenced via a variable to avoid confusing sed.
7824 lt_compile
=`echo "$ac_compile" | $SED \
7825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7827 -e 's:$: $lt_compiler_flag:'`
7828 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7829 (eval "$lt_compile" 2>conftest.err
)
7831 cat conftest.err
>&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 if (exit $ac_status) && test -s "$ac_outfile"; then
7834 # The compiler can only warn and ignore the option if not recognized
7835 # So say no if there are warnings other than the usual output.
7836 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7837 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7838 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7839 lt_cv_prog_compiler_rtti_exceptions
=yes
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7846 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7848 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7849 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7861 lt_prog_compiler_wl
=
7862 lt_prog_compiler_pic
=
7863 lt_prog_compiler_static
=
7866 if test "$GCC" = yes; then
7867 lt_prog_compiler_wl
='-Wl,'
7868 lt_prog_compiler_static
='-static'
7872 # All AIX code is PIC.
7873 if test "$host_cpu" = ia64
; then
7874 # AIX 5 now supports IA64 processor
7875 lt_prog_compiler_static
='-Bstatic'
7882 # see comment about AmigaOS4 .so support
7883 lt_prog_compiler_pic
='-fPIC'
7886 # FIXME: we need at least 68020 code to build shared libraries, but
7887 # adding the `-m68020' flag to GCC prevents building anything better,
7889 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7894 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7895 # PIC is the default for these OSes.
7898 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7899 # This hack is so that the source file can tell whether it is being
7900 # built for inclusion in a dll (and should export symbols for example).
7901 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7902 # (--disable-auto-import) libraries
7903 lt_prog_compiler_pic
='-DDLL_EXPORT'
7906 darwin
* | rhapsody
*)
7907 # PIC is the default on this platform
7908 # Common symbols not allowed in MH_DYLIB files
7909 lt_prog_compiler_pic
='-fno-common'
7913 # PIC is the default for Haiku.
7914 # The "-static" flag exists, but is broken.
7915 lt_prog_compiler_static
=
7919 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7920 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7921 # sets the default TLS model and affects inlining.
7927 lt_prog_compiler_pic
='-fPIC'
7933 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7934 # Instead, we relocate shared libraries at runtime.
7938 # Just because we use GCC doesn't mean we suddenly get shared libraries
7939 # on systems that don't support them.
7940 lt_prog_compiler_can_build_shared
=no
7945 # QNX uses GNU C++, but need to define -shared option too, otherwise
7947 lt_prog_compiler_pic
='-fPIC -shared'
7951 if test -d /usr
/nec
; then
7952 lt_prog_compiler_pic
=-Kconform_pic
7957 lt_prog_compiler_pic
='-fPIC'
7961 case $cc_basename in
7962 nvcc
*) # Cuda Compiler Driver 2.2
7963 lt_prog_compiler_wl
='-Xlinker '
7964 if test -n "$lt_prog_compiler_pic"; then
7965 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
7970 # PORTME Check for flag to pass linker flags through the system compiler.
7973 lt_prog_compiler_wl
='-Wl,'
7974 if test "$host_cpu" = ia64
; then
7975 # AIX 5 now supports IA64 processor
7976 lt_prog_compiler_static
='-Bstatic'
7978 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7982 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7983 # This hack is so that the source file can tell whether it is being
7984 # built for inclusion in a dll (and should export symbols for example).
7985 lt_prog_compiler_pic
='-DDLL_EXPORT'
7988 hpux9
* | hpux10
* | hpux11
*)
7989 lt_prog_compiler_wl
='-Wl,'
7990 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7997 lt_prog_compiler_pic
='+Z'
8000 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8001 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8004 irix5
* | irix6
* | nonstopux
*)
8005 lt_prog_compiler_wl
='-Wl,'
8006 # PIC (with -KPIC) is the default.
8007 lt_prog_compiler_static
='-non_shared'
8010 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8011 case $cc_basename in
8012 # old Intel for x86_64 which still supported -KPIC.
8014 lt_prog_compiler_wl
='-Wl,'
8015 lt_prog_compiler_pic
='-KPIC'
8016 lt_prog_compiler_static
='-static'
8018 # icc used to be incompatible with GCC.
8019 # ICC 10 doesn't accept -KPIC any more.
8021 lt_prog_compiler_wl
='-Wl,'
8022 lt_prog_compiler_pic
='-fPIC'
8023 lt_prog_compiler_static
='-static'
8025 # Lahey Fortran 8.1.
8027 lt_prog_compiler_wl
='-Wl,'
8028 lt_prog_compiler_pic
='--shared'
8029 lt_prog_compiler_static
='--static'
8032 # NAG Fortran compiler
8033 lt_prog_compiler_wl
='-Wl,-Wl,,'
8034 lt_prog_compiler_pic
='-PIC'
8035 lt_prog_compiler_static
='-Bstatic'
8037 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8038 # Portland Group compilers (*not* the Pentium gcc compiler,
8039 # which looks to be a dead project)
8040 lt_prog_compiler_wl
='-Wl,'
8041 lt_prog_compiler_pic
='-fpic'
8042 lt_prog_compiler_static
='-Bstatic'
8045 lt_prog_compiler_wl
='-Wl,'
8046 # All Alpha code is PIC.
8047 lt_prog_compiler_static
='-non_shared'
8049 xl
* | bgxl
* | bgf
* | mpixl
*)
8050 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8051 lt_prog_compiler_wl
='-Wl,'
8052 lt_prog_compiler_pic
='-qpic'
8053 lt_prog_compiler_static
='-qstaticlink'
8056 case `$CC -V 2>&1 | sed 5q` in
8057 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8058 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8059 lt_prog_compiler_pic
='-KPIC'
8060 lt_prog_compiler_static
='-Bstatic'
8061 lt_prog_compiler_wl
=''
8063 *Sun\ F
* |
*Sun
*Fortran
*)
8064 lt_prog_compiler_pic
='-KPIC'
8065 lt_prog_compiler_static
='-Bstatic'
8066 lt_prog_compiler_wl
='-Qoption ld '
8070 lt_prog_compiler_pic
='-KPIC'
8071 lt_prog_compiler_static
='-Bstatic'
8072 lt_prog_compiler_wl
='-Wl,'
8074 *Intel
*\
[CF
]*Compiler
*)
8075 lt_prog_compiler_wl
='-Wl,'
8076 lt_prog_compiler_pic
='-fPIC'
8077 lt_prog_compiler_static
='-static'
8080 lt_prog_compiler_wl
='-Wl,'
8081 lt_prog_compiler_pic
='-fpic'
8082 lt_prog_compiler_static
='-Bstatic'
8090 lt_prog_compiler_pic
='-KPIC'
8091 lt_prog_compiler_static
='-Bstatic'
8095 # QNX uses GNU C++, but need to define -shared option too, otherwise
8097 lt_prog_compiler_pic
='-fPIC -shared'
8100 osf3
* | osf4
* | osf5
*)
8101 lt_prog_compiler_wl
='-Wl,'
8102 # All OSF/1 code is PIC.
8103 lt_prog_compiler_static
='-non_shared'
8107 lt_prog_compiler_static
='-non_shared'
8111 lt_prog_compiler_pic
='-KPIC'
8112 lt_prog_compiler_static
='-Bstatic'
8113 case $cc_basename in
8114 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8115 lt_prog_compiler_wl
='-Qoption ld ';;
8117 lt_prog_compiler_wl
='-Wl,';;
8122 lt_prog_compiler_wl
='-Qoption ld '
8123 lt_prog_compiler_pic
='-PIC'
8124 lt_prog_compiler_static
='-Bstatic'
8127 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8128 lt_prog_compiler_wl
='-Wl,'
8129 lt_prog_compiler_pic
='-KPIC'
8130 lt_prog_compiler_static
='-Bstatic'
8134 if test -d /usr
/nec
;then
8135 lt_prog_compiler_pic
='-Kconform_pic'
8136 lt_prog_compiler_static
='-Bstatic'
8140 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8141 lt_prog_compiler_wl
='-Wl,'
8142 lt_prog_compiler_pic
='-KPIC'
8143 lt_prog_compiler_static
='-Bstatic'
8147 lt_prog_compiler_wl
='-Wl,'
8148 lt_prog_compiler_can_build_shared
=no
8152 lt_prog_compiler_pic
='-pic'
8153 lt_prog_compiler_static
='-Bstatic'
8157 lt_prog_compiler_can_build_shared
=no
8163 # For platforms which do not support PIC, -DPIC is meaningless:
8165 lt_prog_compiler_pic
=
8168 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8173 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8174 if ${lt_cv_prog_compiler_pic+:} false
; then :
8175 $as_echo_n "(cached) " >&6
8177 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8180 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8181 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8184 # Check to make sure the PIC flag actually works.
8186 if test -n "$lt_prog_compiler_pic"; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8188 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8189 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8190 $as_echo_n "(cached) " >&6
8192 lt_cv_prog_compiler_pic_works
=no
8193 ac_outfile
=conftest.
$ac_objext
8194 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8195 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8196 # Insert the option either (1) after the last *FLAGS variable, or
8197 # (2) before a word containing "conftest.", or (3) at the end.
8198 # Note that $ac_compile itself does not contain backslashes and begins
8199 # with a dollar sign (not a hyphen), so the echo should work correctly.
8200 # The option is referenced via a variable to avoid confusing sed.
8201 lt_compile
=`echo "$ac_compile" | $SED \
8202 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8203 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8204 -e 's:$: $lt_compiler_flag:'`
8205 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8206 (eval "$lt_compile" 2>conftest.err
)
8208 cat conftest.err
>&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 if (exit $ac_status) && test -s "$ac_outfile"; then
8211 # The compiler can only warn and ignore the option if not recognized
8212 # So say no if there are warnings other than the usual output.
8213 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8214 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8215 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8216 lt_cv_prog_compiler_pic_works
=yes
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8223 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8225 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8226 case $lt_prog_compiler_pic in
8228 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8231 lt_prog_compiler_pic
=
8232 lt_prog_compiler_can_build_shared
=no
8248 # Check to make sure the static flag actually works.
8250 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8252 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8253 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8254 $as_echo_n "(cached) " >&6
8256 lt_cv_prog_compiler_static_works
=no
8257 save_LDFLAGS
="$LDFLAGS"
8258 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8259 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8260 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8261 # The linker can only warn and ignore the option if not recognized
8262 # So say no if there are warnings
8263 if test -s conftest.err
; then
8264 # Append any errors to the config.log.
8265 cat conftest.err
1>&5
8266 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8267 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8268 if diff conftest.exp conftest.er2
>/dev
/null
; then
8269 lt_cv_prog_compiler_static_works
=yes
8272 lt_cv_prog_compiler_static_works
=yes
8276 LDFLAGS
="$save_LDFLAGS"
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8280 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8282 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8285 lt_prog_compiler_static
=
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8295 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8296 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8297 $as_echo_n "(cached) " >&6
8299 lt_cv_prog_compiler_c_o
=no
8300 $RM -r conftest
2>/dev
/null
8304 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8306 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8307 # Insert the option either (1) after the last *FLAGS variable, or
8308 # (2) before a word containing "conftest.", or (3) at the end.
8309 # Note that $ac_compile itself does not contain backslashes and begins
8310 # with a dollar sign (not a hyphen), so the echo should work correctly.
8311 lt_compile
=`echo "$ac_compile" | $SED \
8312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8314 -e 's:$: $lt_compiler_flag:'`
8315 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8316 (eval "$lt_compile" 2>out
/conftest.err
)
8318 cat out
/conftest.err
>&5
8319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8320 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8322 # The compiler can only warn and ignore the option if not recognized
8323 # So say no if there are warnings
8324 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8325 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8326 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8327 lt_cv_prog_compiler_c_o
=yes
8332 # SGI C++ compiler will create directory out/ii_files/ for
8333 # template instantiation
8334 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8335 $RM out
/* && rmdir out
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8342 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8350 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8351 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8352 $as_echo_n "(cached) " >&6
8354 lt_cv_prog_compiler_c_o
=no
8355 $RM -r conftest
2>/dev
/null
8359 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8361 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8362 # Insert the option either (1) after the last *FLAGS variable, or
8363 # (2) before a word containing "conftest.", or (3) at the end.
8364 # Note that $ac_compile itself does not contain backslashes and begins
8365 # with a dollar sign (not a hyphen), so the echo should work correctly.
8366 lt_compile
=`echo "$ac_compile" | $SED \
8367 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8368 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8369 -e 's:$: $lt_compiler_flag:'`
8370 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8371 (eval "$lt_compile" 2>out
/conftest.err
)
8373 cat out
/conftest.err
>&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8377 # The compiler can only warn and ignore the option if not recognized
8378 # So say no if there are warnings
8379 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8380 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8381 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8382 lt_cv_prog_compiler_c_o
=yes
8387 # SGI C++ compiler will create directory out/ii_files/ for
8388 # template instantiation
8389 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8390 $RM out
/* && rmdir out
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8397 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8402 hard_links
="nottested"
8403 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8404 # do not overwrite the value of need_locks provided by the user
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8406 $as_echo_n "checking if we can lock with hard links... " >&6; }
8409 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8411 ln conftest.a conftest.b
2>&5 || hard_links
=no
8412 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8414 $as_echo "$hard_links" >&6; }
8415 if test "$hard_links" = no
; then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8417 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8430 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8433 allow_undefined_flag
=
8434 always_export_symbols
=no
8436 archive_expsym_cmds
=
8437 compiler_needs_object
=no
8438 enable_shared_with_static_runtimes
=no
8439 export_dynamic_flag_spec
=
8440 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8441 hardcode_automatic
=no
8443 hardcode_direct_absolute
=no
8444 hardcode_libdir_flag_spec
=
8445 hardcode_libdir_separator
=
8447 hardcode_shlibpath_var
=unsupported
8449 link_all_deplibs
=unknown
8452 old_archive_from_new_cmds
=
8453 old_archive_from_expsyms_cmds
=
8454 thread_safe_flag_spec
=
8455 whole_archive_flag_spec
=
8456 # include_expsyms should be a list of space-separated symbols to be *always*
8457 # included in the symbol list
8459 # exclude_expsyms can be an extended regexp of symbols to exclude
8460 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8461 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8462 # as well as any symbol that contains `d'.
8463 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8464 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8465 # platforms (ab)use it in PIC code, but their linkers get confused if
8466 # the symbol is explicitly referenced. Since portable code cannot
8467 # rely on this symbol name, it's probably fine to never include it in
8468 # preloaded symbol tables.
8469 # Exclude shared library initialization/finalization symbols.
8470 extract_expsyms_cmds
=
8473 cygwin
* | mingw
* | pw32
* | cegcc
*)
8474 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8475 # When not using gcc, we currently assume that we are using
8476 # Microsoft Visual C++.
8477 if test "$GCC" != yes; then
8482 # we just hope/assume this is gcc and not c89 (= MSVC++)
8492 # On some targets, GNU ld is compatible enough with the native linker
8493 # that we're better off using the native interface for both.
8494 lt_use_gnu_ld_interface
=no
8495 if test "$with_gnu_ld" = yes; then
8498 # The AIX port of GNU ld has always aspired to compatibility
8499 # with the native linker. However, as the warning in the GNU ld
8500 # block says, versions before 2.19.5* couldn't really create working
8501 # shared libraries, regardless of the interface used.
8502 case `$LD -v 2>&1` in
8503 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8504 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8505 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8507 lt_use_gnu_ld_interface
=yes
8512 lt_use_gnu_ld_interface
=yes
8517 if test "$lt_use_gnu_ld_interface" = yes; then
8518 # If archive_cmds runs LD, not CC, wlarc should be empty
8521 # Set some defaults for GNU ld with shared library support. These
8522 # are reset later if shared libraries are not supported. Putting them
8523 # here allows them to be overridden if necessary.
8524 runpath_var
=LD_RUN_PATH
8525 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8526 export_dynamic_flag_spec
='${wl}--export-dynamic'
8527 # ancient GNU ld didn't support --whole-archive et. al.
8528 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8529 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8531 whole_archive_flag_spec
=
8533 supports_anon_versioning
=no
8534 case `$LD -v 2>&1` in
8535 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8536 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8537 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8538 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8539 *\
2.11.
*) ;; # other 2.11 versions
8540 *) supports_anon_versioning
=yes ;;
8543 # See if GNU ld supports shared libraries.
8546 # On AIX/PPC, the GNU linker is very broken
8547 if test "$host_cpu" != ia64
; then
8551 *** Warning: the GNU linker, at least up to release 2.19, is reported
8552 *** to be unable to reliably create shared libraries on AIX.
8553 *** Therefore, libtool is disabling shared libraries support. If you
8554 *** really care for shared libraries, you may want to install binutils
8555 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8556 *** You will then need to restart the configuration process.
8565 # see comment about AmigaOS4 .so support
8566 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8567 archive_expsym_cmds
=''
8570 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)'
8571 hardcode_libdir_flag_spec
='-L$libdir'
8572 hardcode_minus_L
=yes
8578 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8579 allow_undefined_flag
=unsupported
8580 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8581 # support --undefined. This deserves some investigation. FIXME
8582 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8588 cygwin
* | mingw
* | pw32
* | cegcc
*)
8589 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8590 # as there is no search path for DLLs.
8591 hardcode_libdir_flag_spec
='-L$libdir'
8592 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8593 allow_undefined_flag
=unsupported
8594 always_export_symbols
=no
8595 enable_shared_with_static_runtimes
=yes
8596 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'
8597 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8599 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8600 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8601 # If the export-symbols file already is a .def file (1st line
8602 # is EXPORTS), use it as is; otherwise, prepend...
8603 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8604 cp $export_symbols $output_objdir/$soname.def;
8606 echo EXPORTS > $output_objdir/$soname.def;
8607 cat $export_symbols >> $output_objdir/$soname.def;
8609 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8616 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8617 link_all_deplibs
=yes
8622 hardcode_shlibpath_var
=no
8623 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8624 export_dynamic_flag_spec
='${wl}-E'
8625 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8626 # Instead, shared libraries are loaded at an image base (0x10000000 by
8627 # default) and relocated if they conflict, which is a slow very memory
8628 # consuming and fragmenting process. To avoid this, we pick a random,
8629 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8630 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8631 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8632 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'
8635 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8637 if test "$host_os" = linux-dietlibc
; then
8638 case $cc_basename in
8639 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8642 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8643 && test "$tmp_diet" = no
8645 tmp_addflag
=' $pic_flag'
8646 tmp_sharedflag
='-shared'
8647 case $cc_basename,$host_cpu in
8648 pgcc
*) # Portland Group C compiler
8649 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'
8650 tmp_addflag
=' $pic_flag'
8652 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8653 # Portland Group f77 and f90 compilers
8654 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'
8655 tmp_addflag
=' $pic_flag -Mnomain' ;;
8656 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8657 tmp_addflag
=' -i_dynamic' ;;
8658 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8659 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8660 ifc
* | ifort
*) # Intel Fortran compiler
8661 tmp_addflag
=' -nofor_main' ;;
8662 lf95
*) # Lahey Fortran 8.1
8663 whole_archive_flag_spec
=
8664 tmp_sharedflag
='--shared' ;;
8665 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8666 tmp_sharedflag
='-qmkshrobj'
8668 nvcc
*) # Cuda Compiler Driver 2.2
8669 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'
8670 compiler_needs_object
=yes
8673 case `$CC -V 2>&1 | sed 5q` in
8674 *Sun\ C
*) # Sun C 5.9
8675 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'
8676 compiler_needs_object
=yes
8677 tmp_sharedflag
='-G' ;;
8678 *Sun\ F
*) # Sun Fortran 8.3
8679 tmp_sharedflag
='-G' ;;
8681 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8683 if test "x$supports_anon_versioning" = xyes
; then
8684 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8685 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8686 echo "local: *; };" >> $output_objdir/$libname.ver~
8687 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8690 case $cc_basename in
8691 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8692 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8693 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8694 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8695 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8696 if test "x$supports_anon_versioning" = xyes
; then
8697 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8698 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8699 echo "local: *; };" >> $output_objdir/$libname.ver~
8700 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8710 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8711 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8714 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8715 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8720 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8724 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8725 *** create shared libraries on Solaris systems. Therefore, libtool
8726 *** is disabling shared libraries support. We urge you to upgrade GNU
8727 *** binutils to release 2.9.1 or newer. Another option is to modify
8728 *** your PATH or compiler configuration so that the native linker is
8729 *** used, and then restart.
8732 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8733 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8734 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8740 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8741 case `$LD -v 2>&1` in
8742 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8746 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8747 *** reliably create shared libraries on SCO systems. Therefore, libtool
8748 *** is disabling shared libraries support. We urge you to upgrade GNU
8749 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8750 *** your PATH or compiler configuration so that the native linker is
8751 *** used, and then restart.
8756 # For security reasons, it is highly recommended that you always
8757 # use absolute paths for naming shared libraries, and exclude the
8758 # DT_RUNPATH tag from executables and libraries. But doing so
8759 # requires that you compile everything twice, which is a pain.
8760 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8761 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8762 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8763 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8772 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8775 hardcode_shlibpath_var
=no
8779 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8780 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8781 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8788 if test "$ld_shlibs" = no
; then
8790 hardcode_libdir_flag_spec
=
8791 export_dynamic_flag_spec
=
8792 whole_archive_flag_spec
=
8795 # PORTME fill in a description of your system's linker (not GNU ld)
8798 allow_undefined_flag
=unsupported
8799 always_export_symbols
=yes
8800 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'
8801 # Note: this linker hardcodes the directories in LIBPATH if there
8802 # are no directories specified by -L.
8803 hardcode_minus_L
=yes
8804 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8805 # Neither direct hardcoding nor static linking is supported with a
8807 hardcode_direct
=unsupported
8812 if test "$host_cpu" = ia64
; then
8813 # On IA64, the linker does run time linking by default, so we don't
8814 # have to do anything special.
8815 aix_use_runtimelinking
=no
8816 exp_sym_flag
='-Bexport'
8819 # If we're using GNU nm, then we don't want the "-C" option.
8820 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8821 # Also, AIX nm treats weak defined symbols like other global
8822 # defined symbols, whereas GNU nm marks them as "W".
8823 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8824 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8826 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8828 aix_use_runtimelinking
=no
8830 # Test if we are trying to use run time linking or normal
8831 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8832 # need to do runtime linking.
8833 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8834 for ld_flag
in $LDFLAGS; do
8835 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8836 aix_use_runtimelinking
=yes
8843 exp_sym_flag
='-bexport'
8844 no_entry_flag
='-bnoentry'
8847 # When large executables or shared objects are built, AIX ld can
8848 # have problems creating the table of contents. If linking a library
8849 # or program results in "error TOC overflow" add -mminimal-toc to
8850 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8851 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8855 hardcode_direct_absolute
=yes
8856 hardcode_libdir_separator
=':'
8857 link_all_deplibs
=yes
8858 file_list_spec
='${wl}-f,'
8860 if test "$GCC" = yes; then
8861 case $host_os in aix4.
[012]|aix4.
[012].
*)
8862 # We only want to do this on AIX 4.2 and lower, the check
8863 # below for broken collect2 doesn't work under 4.3+
8864 collect2name
=`${CC} -print-prog-name=collect2`
8865 if test -f "$collect2name" &&
8866 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8868 # We have reworked collect2
8871 # We have old collect2
8872 hardcode_direct
=unsupported
8873 # It fails to find uninstalled libraries when the uninstalled
8874 # path is not listed in the libpath. Setting hardcode_minus_L
8875 # to unsupported forces relinking
8876 hardcode_minus_L
=yes
8877 hardcode_libdir_flag_spec
='-L$libdir'
8878 hardcode_libdir_separator
=
8882 shared_flag
='-shared'
8883 if test "$aix_use_runtimelinking" = yes; then
8884 shared_flag
="$shared_flag "'${wl}-G'
8888 if test "$host_cpu" = ia64
; then
8889 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8890 # chokes on -Wl,-G. The following line is correct:
8893 if test "$aix_use_runtimelinking" = yes; then
8894 shared_flag
='${wl}-G'
8896 shared_flag
='${wl}-bM:SRE'
8901 export_dynamic_flag_spec
='${wl}-bexpall'
8902 # It seems that -bexpall does not export symbols beginning with
8903 # underscore (_), so it is better to generate a list of symbols to export.
8904 always_export_symbols
=yes
8905 if test "$aix_use_runtimelinking" = yes; then
8906 # Warning - without using the other runtime loading flags (-brtl),
8907 # -berok will link without error, but may produce a broken library.
8908 allow_undefined_flag
='-berok'
8909 # Determine the default libpath from the value encoded in an
8911 if test "${lt_cv_aix_libpath+set}" = set; then
8912 aix_libpath
=$lt_cv_aix_libpath
8914 if ${lt_cv_aix_libpath_+:} false
; then :
8915 $as_echo_n "(cached) " >&6
8917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8928 if ac_fn_c_try_link
"$LINENO"; then :
8930 lt_aix_libpath_sed
='
8931 /Import File Strings/,/^$/ {
8933 s/^0 *\([^ ]*\) *$/\1/
8937 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8938 # Check for a 64-bit object if we didn't find anything.
8939 if test -z "$lt_cv_aix_libpath_"; then
8940 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8943 rm -f core conftest.err conftest.
$ac_objext \
8944 conftest
$ac_exeext conftest.
$ac_ext
8945 if test -z "$lt_cv_aix_libpath_"; then
8946 lt_cv_aix_libpath_
="/usr/lib:/lib"
8951 aix_libpath
=$lt_cv_aix_libpath_
8954 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8955 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8957 if test "$host_cpu" = ia64
; then
8958 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8959 allow_undefined_flag
="-z nodefs"
8960 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"
8962 # Determine the default libpath from the value encoded in an
8964 if test "${lt_cv_aix_libpath+set}" = set; then
8965 aix_libpath
=$lt_cv_aix_libpath
8967 if ${lt_cv_aix_libpath_+:} false
; then :
8968 $as_echo_n "(cached) " >&6
8970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8971 /* end confdefs.h. */
8981 if ac_fn_c_try_link
"$LINENO"; then :
8983 lt_aix_libpath_sed
='
8984 /Import File Strings/,/^$/ {
8986 s/^0 *\([^ ]*\) *$/\1/
8990 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8991 # Check for a 64-bit object if we didn't find anything.
8992 if test -z "$lt_cv_aix_libpath_"; then
8993 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8996 rm -f core conftest.err conftest.
$ac_objext \
8997 conftest
$ac_exeext conftest.
$ac_ext
8998 if test -z "$lt_cv_aix_libpath_"; then
8999 lt_cv_aix_libpath_
="/usr/lib:/lib"
9004 aix_libpath
=$lt_cv_aix_libpath_
9007 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9008 # Warning - without using the other run time loading flags,
9009 # -berok will link without error, but may produce a broken library.
9010 no_undefined_flag
=' ${wl}-bernotok'
9011 allow_undefined_flag
=' ${wl}-berok'
9012 if test "$with_gnu_ld" = yes; then
9013 # We only use this code for GNU lds that support --whole-archive.
9014 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9016 # Exported symbols can be pulled into shared objects from archives
9017 whole_archive_flag_spec
='$convenience'
9019 archive_cmds_need_lc
=yes
9020 # This is similar to how AIX traditionally builds its shared libraries.
9021 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9029 # see comment about AmigaOS4 .so support
9030 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9031 archive_expsym_cmds
=''
9034 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)'
9035 hardcode_libdir_flag_spec
='-L$libdir'
9036 hardcode_minus_L
=yes
9042 export_dynamic_flag_spec
=-rdynamic
9045 cygwin
* | mingw
* | pw32
* | cegcc
*)
9046 # When not using gcc, we currently assume that we are using
9047 # Microsoft Visual C++.
9048 # hardcode_libdir_flag_spec is actually meaningless, as there is
9049 # no search path for DLLs.
9050 case $cc_basename in
9053 hardcode_libdir_flag_spec
=' '
9054 allow_undefined_flag
=unsupported
9055 always_export_symbols
=yes
9057 # Tell ltmain to make .lib files, not .a files.
9059 # Tell ltmain to make .dll files, not .so files.
9061 # FIXME: Setting linknames here is a bad hack.
9062 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9063 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9064 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9066 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9068 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9070 # The linker will not automatically build a static lib if we build a DLL.
9071 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9072 enable_shared_with_static_runtimes
=yes
9073 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9074 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9076 old_postinstall_cmds
='chmod 644 $oldlib'
9077 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9078 lt_tool_outputfile="@TOOL_OUTPUT@"~
9079 case $lt_outputfile in
9082 lt_outputfile="$lt_outputfile.exe"
9083 lt_tool_outputfile="$lt_tool_outputfile.exe"
9086 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9087 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9088 $RM "$lt_outputfile.manifest";
9092 # Assume MSVC wrapper
9093 hardcode_libdir_flag_spec
=' '
9094 allow_undefined_flag
=unsupported
9095 # Tell ltmain to make .lib files, not .a files.
9097 # Tell ltmain to make .dll files, not .so files.
9099 # FIXME: Setting linknames here is a bad hack.
9100 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9101 # The linker will automatically build a .lib file if we build a DLL.
9102 old_archive_from_new_cmds
='true'
9103 # FIXME: Should let the user specify the lib program.
9104 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9105 enable_shared_with_static_runtimes
=yes
9110 darwin
* | rhapsody
*)
9113 archive_cmds_need_lc
=no
9115 hardcode_automatic
=yes
9116 hardcode_shlibpath_var
=unsupported
9117 if test "$lt_cv_ld_force_load" = "yes"; then
9118 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\"`'
9121 whole_archive_flag_spec
=''
9123 link_all_deplibs
=yes
9124 allow_undefined_flag
="$_lt_dar_allow_undefined"
9125 case $cc_basename in
9126 ifort
*) _lt_dar_can_shared
=yes ;;
9127 *) _lt_dar_can_shared
=$GCC ;;
9129 if test "$_lt_dar_can_shared" = "yes"; then
9130 output_verbose_link_cmd
=func_echo_all
9131 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9132 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9133 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}"
9134 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}"
9143 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9144 hardcode_libdir_flag_spec
='-L$libdir'
9145 hardcode_shlibpath_var
=no
9148 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9149 # support. Future versions do this automatically, but an explicit c++rt0.o
9150 # does not break anything, and helps significantly (at the cost of a little
9153 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9154 hardcode_libdir_flag_spec
='-R$libdir'
9156 hardcode_shlibpath_var
=no
9159 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9161 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9163 hardcode_minus_L
=yes
9164 hardcode_shlibpath_var
=no
9167 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9168 freebsd
* | dragonfly
*)
9169 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9170 hardcode_libdir_flag_spec
='-R$libdir'
9172 hardcode_shlibpath_var
=no
9176 if test "$GCC" = yes; then
9177 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9179 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9181 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9182 hardcode_libdir_separator
=:
9185 # hardcode_minus_L: Not really in the search PATH,
9186 # but as the default location of the library.
9187 hardcode_minus_L
=yes
9188 export_dynamic_flag_spec
='${wl}-E'
9192 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9193 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9195 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9197 if test "$with_gnu_ld" = no
; then
9198 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9199 hardcode_libdir_separator
=:
9201 hardcode_direct_absolute
=yes
9202 export_dynamic_flag_spec
='${wl}-E'
9203 # hardcode_minus_L: Not really in the search PATH,
9204 # but as the default location of the library.
9205 hardcode_minus_L
=yes
9210 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9213 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9216 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9219 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9225 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9228 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9232 # Older versions of the 11.00 compiler do not understand -b yet
9233 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9235 $as_echo_n "checking if $CC understands -b... " >&6; }
9236 if ${lt_cv_prog_compiler__b+:} false
; then :
9237 $as_echo_n "(cached) " >&6
9239 lt_cv_prog_compiler__b
=no
9240 save_LDFLAGS
="$LDFLAGS"
9241 LDFLAGS
="$LDFLAGS -b"
9242 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9243 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9244 # The linker can only warn and ignore the option if not recognized
9245 # So say no if there are warnings
9246 if test -s conftest.err
; then
9247 # Append any errors to the config.log.
9248 cat conftest.err
1>&5
9249 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9250 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9251 if diff conftest.exp conftest.er2
>/dev
/null
; then
9252 lt_cv_prog_compiler__b
=yes
9255 lt_cv_prog_compiler__b
=yes
9259 LDFLAGS
="$save_LDFLAGS"
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9263 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9265 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9266 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9268 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9274 if test "$with_gnu_ld" = no
; then
9275 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9276 hardcode_libdir_separator
=:
9281 hardcode_shlibpath_var
=no
9285 hardcode_direct_absolute
=yes
9286 export_dynamic_flag_spec
='${wl}-E'
9288 # hardcode_minus_L: Not really in the search PATH,
9289 # but as the default location of the library.
9290 hardcode_minus_L
=yes
9296 irix5
* | irix6
* | nonstopux
*)
9297 if test "$GCC" = yes; then
9298 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'
9299 # Try to use the -exported_symbol ld option, if it does not
9300 # work, assume that -exports_file does not work either and
9301 # implicitly export all symbols.
9302 # This should be the same for all languages, so no per-tag cache variable.
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9304 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9305 if ${lt_cv_irix_exported_symbol+:} false
; then :
9306 $as_echo_n "(cached) " >&6
9308 save_LDFLAGS
="$LDFLAGS"
9309 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9311 /* end confdefs.h. */
9312 int foo (void) { return 0; }
9314 if ac_fn_c_try_link
"$LINENO"; then :
9315 lt_cv_irix_exported_symbol
=yes
9317 lt_cv_irix_exported_symbol
=no
9319 rm -f core conftest.err conftest.
$ac_objext \
9320 conftest
$ac_exeext conftest.
$ac_ext
9321 LDFLAGS
="$save_LDFLAGS"
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9324 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9325 if test "$lt_cv_irix_exported_symbol" = yes; then
9326 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'
9329 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'
9330 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'
9332 archive_cmds_need_lc
='no'
9333 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9334 hardcode_libdir_separator
=:
9336 link_all_deplibs
=yes
9340 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9341 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9343 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9345 hardcode_libdir_flag_spec
='-R$libdir'
9347 hardcode_shlibpath_var
=no
9351 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9353 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9354 hardcode_libdir_separator
=:
9355 hardcode_shlibpath_var
=no
9362 if test -f /usr
/libexec
/ld.so
; then
9364 hardcode_shlibpath_var
=no
9365 hardcode_direct_absolute
=yes
9366 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9367 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9368 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9369 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9370 export_dynamic_flag_spec
='${wl}-E'
9373 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9374 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9375 hardcode_libdir_flag_spec
='-R$libdir'
9378 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9379 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9389 hardcode_libdir_flag_spec
='-L$libdir'
9390 hardcode_minus_L
=yes
9391 allow_undefined_flag
=unsupported
9392 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9393 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9397 if test "$GCC" = yes; then
9398 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9399 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'
9401 allow_undefined_flag
=' -expect_unresolved \*'
9402 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'
9404 archive_cmds_need_lc
='no'
9405 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9406 hardcode_libdir_separator
=:
9409 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9410 if test "$GCC" = yes; then
9411 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9412 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'
9413 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9415 allow_undefined_flag
=' -expect_unresolved \*'
9416 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'
9417 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~
9418 $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'
9420 # Both c and cxx compiler support -rpath directly
9421 hardcode_libdir_flag_spec
='-rpath $libdir'
9423 archive_cmds_need_lc
='no'
9424 hardcode_libdir_separator
=:
9428 no_undefined_flag
=' -z defs'
9429 if test "$GCC" = yes; then
9431 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9432 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9433 $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'
9435 case `$CC -V 2>&1` in
9438 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9439 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9440 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9444 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9445 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9446 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9450 hardcode_libdir_flag_spec
='-R$libdir'
9451 hardcode_shlibpath_var
=no
9453 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9455 # The compiler driver will combine and reorder linker options,
9456 # but understands `-z linker_flag'. GCC discards it without `$wl',
9457 # but is careful enough not to reorder.
9458 # Supported since Solaris 2.6 (maybe 2.5.1?)
9459 if test "$GCC" = yes; then
9460 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9462 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9466 link_all_deplibs
=yes
9470 if test "x$host_vendor" = xsequent
; then
9471 # Use $CC to link under sequent, because it throws in some extra .o
9472 # files that make .init and .fini sections work.
9473 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9475 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9477 hardcode_libdir_flag_spec
='-L$libdir'
9479 hardcode_minus_L
=yes
9480 hardcode_shlibpath_var
=no
9484 case $host_vendor in
9486 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9487 hardcode_direct
=yes # is this really true???
9490 ## LD is ld it makes a PLAMLIB
9491 ## CC just makes a GrossModule.
9492 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9493 reload_cmds
='$CC -r -o $output$reload_objs'
9497 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9498 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9501 runpath_var
='LD_RUN_PATH'
9502 hardcode_shlibpath_var
=no
9506 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9507 hardcode_shlibpath_var
=no
9508 export_dynamic_flag_spec
='-Bexport'
9512 if test -d /usr
/nec
; then
9513 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9514 hardcode_shlibpath_var
=no
9515 runpath_var
=LD_RUN_PATH
9516 hardcode_runpath_var
=yes
9521 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9522 no_undefined_flag
='${wl}-z,text'
9523 archive_cmds_need_lc
=no
9524 hardcode_shlibpath_var
=no
9525 runpath_var
='LD_RUN_PATH'
9527 if test "$GCC" = yes; then
9528 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9529 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9531 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9532 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9536 sysv5
* | sco3.2v5
* | sco5v6
*)
9537 # Note: We can NOT use -z defs as we might desire, because we do not
9538 # link with -lc, and that would cause any symbols used from libc to
9539 # always be unresolved, which means just about no library would
9540 # ever link correctly. If we're not using GNU ld we use -z text
9541 # though, which does catch some bad symbols but isn't as heavy-handed
9543 no_undefined_flag
='${wl}-z,text'
9544 allow_undefined_flag
='${wl}-z,nodefs'
9545 archive_cmds_need_lc
=no
9546 hardcode_shlibpath_var
=no
9547 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9548 hardcode_libdir_separator
=':'
9549 link_all_deplibs
=yes
9550 export_dynamic_flag_spec
='${wl}-Bexport'
9551 runpath_var
='LD_RUN_PATH'
9553 if test "$GCC" = yes; then
9554 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9555 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9558 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9563 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9564 hardcode_libdir_flag_spec
='-L$libdir'
9565 hardcode_shlibpath_var
=no
9573 if test x
$host_vendor = xsni
; then
9575 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9576 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9583 $as_echo "$ld_shlibs" >&6; }
9584 test "$ld_shlibs" = no
&& can_build_shared
=no
9586 with_gnu_ld
=$with_gnu_ld
9603 # Do we need to explicitly link libc?
9605 case "x$archive_cmds_need_lc" in
9607 # Assume -lc should be added
9608 archive_cmds_need_lc
=yes
9610 if test "$enable_shared" = yes && test "$GCC" = yes; then
9611 case $archive_cmds in
9613 # FIXME: we may have to deal with multi-command sequences.
9616 # Test whether the compiler implicitly links with -lc since on some
9617 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9618 # to ld, don't add -lc before -lgcc.
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9620 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9621 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9622 $as_echo_n "(cached) " >&6
9625 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9627 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9628 (eval $ac_compile) 2>&5
9630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9631 test $ac_status = 0; } 2>conftest.err
; then
9634 libobjs
=conftest.
$ac_objext
9636 wl
=$lt_prog_compiler_wl
9637 pic_flag
=$lt_prog_compiler_pic
9643 lt_save_allow_undefined_flag
=$allow_undefined_flag
9644 allow_undefined_flag
=
9645 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9646 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9649 test $ac_status = 0; }
9651 lt_cv_archive_cmds_need_lc
=no
9653 lt_cv_archive_cmds_need_lc
=yes
9655 allow_undefined_flag
=$lt_save_allow_undefined_flag
9657 cat conftest.err
1>&5
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9663 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9664 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9823 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9825 if test "$GCC" = yes; then
9827 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9828 *) lt_awk_arg
="/^libraries:/" ;;
9831 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9832 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9834 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9835 case $lt_search_path_spec in
9837 # if the path contains ";" then we assume it to be the separator
9838 # otherwise default to the standard path separator (i.e. ":") - it is
9839 # assumed that no part of a normal pathname contains ";" but that should
9840 # okay in the real world where ";" in dirpaths is itself problematic.
9841 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9844 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9847 # Ok, now we have the path, separated by spaces, we can step through it
9848 # and add multilib dir if necessary.
9849 lt_tmp_lt_search_path_spec
=
9850 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9851 for lt_sys_path
in $lt_search_path_spec; do
9852 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9853 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9855 test -d "$lt_sys_path" && \
9856 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9859 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9860 BEGIN {RS=" "; FS="/|\n";} {
9863 for (lt_i = NF; lt_i > 0; lt_i--) {
9864 if ($lt_i != "" && $lt_i != ".") {
9865 if ($lt_i == "..") {
9868 if (lt_count == 0) {
9869 lt_foo="/" $lt_i lt_foo;
9876 if (lt_foo != "") { lt_freq[lt_foo]++; }
9877 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9879 # AWK program above erroneously prepends '/' to C:/dos/paths
9882 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9883 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9885 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9887 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9890 libname_spec
='lib$name'
9898 shlibpath_overrides_runpath
=unknown
9900 dynamic_linker
="$host_os ld.so"
9901 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9902 need_lib_prefix
=unknown
9903 hardcode_into_libs
=no
9905 # when you set need_version to no, make sure it does not cause -set_version
9906 # flags to be left without arguments
9907 need_version
=unknown
9911 version_type
=linux
# correct to gnu/linux during the next big refactor
9912 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9913 shlibpath_var
=LIBPATH
9915 # AIX 3 has no versioning support, so we append a major version to the name.
9916 soname_spec
='${libname}${release}${shared_ext}$major'
9920 version_type
=linux
# correct to gnu/linux during the next big refactor
9923 hardcode_into_libs
=yes
9924 if test "$host_cpu" = ia64
; then
9925 # AIX 5 supports IA64
9926 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9927 shlibpath_var
=LD_LIBRARY_PATH
9929 # With GCC up to 2.95.x, collect2 would create an import file
9930 # for dependence libraries. The import file would start with
9931 # the line `#! .'. This would cause the generated library to
9932 # depend on `.', always an invalid library. This was fixed in
9933 # development snapshots of GCC prior to 3.0.
9935 aix4 | aix4.
[01] | aix4.
[01].
*)
9936 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9938 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9945 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9946 # soname into executable. Probably we can add versioning support to
9947 # collect2, so additional links can be useful in future.
9948 if test "$aix_use_runtimelinking" = yes; then
9949 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9950 # instead of lib<name>.a to let people know that these are not
9951 # typical AIX shared libraries.
9952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9954 # We preserve .a as extension for shared libraries through AIX4.2
9955 # and later when we are not doing run time linking.
9956 library_names_spec
='${libname}${release}.a $libname.a'
9957 soname_spec
='${libname}${release}${shared_ext}$major'
9959 shlibpath_var
=LIBPATH
9966 # Since July 2007 AmigaOS4 officially supports .so libraries.
9967 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9971 library_names_spec
='$libname.ixlibrary $libname.a'
9972 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9973 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9979 library_names_spec
='${libname}${shared_ext}'
9980 dynamic_linker
="$host_os ld.so"
9981 shlibpath_var
=LIBRARY_PATH
9985 version_type
=linux
# correct to gnu/linux during the next big refactor
9987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9988 soname_spec
='${libname}${release}${shared_ext}$major'
9989 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9990 shlibpath_var
=LD_LIBRARY_PATH
9991 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9992 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9993 # the default ld.so.conf also contains /usr/contrib/lib and
9994 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9995 # libtool to hard-code these into programs
9998 cygwin
* | mingw
* | pw32
* | cegcc
*)
9999 version_type
=windows
10004 case $GCC,$cc_basename in
10007 library_names_spec
='$libname.dll.a'
10008 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10009 postinstall_cmds
='base_file=`basename \${file}`~
10010 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10011 dldir=$destdir/`dirname \$dlpath`~
10012 test -d \$dldir || mkdir -p \$dldir~
10013 $install_prog $dir/$dlname \$dldir/$dlname~
10014 chmod a+x \$dldir/$dlname~
10015 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10016 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10018 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10019 dlpath=$dir/\$dldll~
10021 shlibpath_overrides_runpath
=yes
10025 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10026 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10028 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10031 # MinGW DLLs use traditional 'lib' prefix
10032 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10035 # pw32 DLLs use 'pw' prefix rather than 'lib'
10036 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10039 dynamic_linker
='Win32 ld.exe'
10044 libname_spec
='$name'
10045 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10046 library_names_spec
='${libname}.dll.lib'
10050 sys_lib_search_path_spec
=
10053 for lt_path
in $LIB
10056 # Let DOS variable expansion print the short 8.3 style file name.
10057 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10058 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10061 # Convert to MSYS style.
10062 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10065 # Convert to unix form, then to dos form, then back to unix form
10066 # but this time dos style (no spaces!) so that the unix form looks
10067 # like /cygdrive/c/PROGRA~1:/cygdr...
10068 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10069 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10070 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10073 sys_lib_search_path_spec
="$LIB"
10074 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10075 # It is most probably a Windows format PATH.
10076 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10078 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10080 # FIXME: find the short name or the path components, as spaces are
10081 # common. (e.g. "Program Files" -> "PROGRA~1")
10085 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10086 postinstall_cmds
='base_file=`basename \${file}`~
10087 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10088 dldir=$destdir/`dirname \$dlpath`~
10089 test -d \$dldir || mkdir -p \$dldir~
10090 $install_prog $dir/$dlname \$dldir/$dlname'
10091 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10092 dlpath=$dir/\$dldll~
10094 shlibpath_overrides_runpath
=yes
10095 dynamic_linker
='Win32 link.exe'
10099 # Assume MSVC wrapper
10100 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10101 dynamic_linker
='Win32 ld.exe'
10104 # FIXME: first we should search . and the directory the executable is in
10108 darwin
* | rhapsody
*)
10109 dynamic_linker
="$host_os dyld"
10110 version_type
=darwin
10113 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10114 soname_spec
='${libname}${release}${major}$shared_ext'
10115 shlibpath_overrides_runpath
=yes
10116 shlibpath_var
=DYLD_LIBRARY_PATH
10117 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10119 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10120 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10124 version_type
=linux
# correct to gnu/linux during the next big refactor
10127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10128 soname_spec
='${libname}${release}${shared_ext}$major'
10129 shlibpath_var
=LD_LIBRARY_PATH
10132 freebsd
* | dragonfly
*)
10133 # DragonFly does not have aout. When/if they implement a new
10134 # versioning mechanism, adjust this.
10135 if test -x /usr
/bin
/objformat
; then
10136 objformat
=`/usr/bin/objformat`
10139 freebsd
[23].
*) objformat
=aout
;;
10140 *) objformat
=elf
;;
10143 version_type
=freebsd-
$objformat
10144 case $version_type in
10146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10151 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10155 shlibpath_var
=LD_LIBRARY_PATH
10158 shlibpath_overrides_runpath
=yes
10160 freebsd3.
[01]* | freebsdelf3.
[01]*)
10161 shlibpath_overrides_runpath
=yes
10162 hardcode_into_libs
=yes
10164 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10165 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10166 shlibpath_overrides_runpath
=no
10167 hardcode_into_libs
=yes
10169 *) # from 4.6 on, and DragonFly
10170 shlibpath_overrides_runpath
=yes
10171 hardcode_into_libs
=yes
10177 version_type
=linux
# correct to gnu/linux during the next big refactor
10180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10181 soname_spec
='${libname}${release}${shared_ext}$major'
10182 shlibpath_var
=LD_LIBRARY_PATH
10183 shlibpath_overrides_runpath
=no
10184 hardcode_into_libs
=yes
10188 version_type
=linux
# correct to gnu/linux during the next big refactor
10191 dynamic_linker
="$host_os runtime_loader"
10192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10193 soname_spec
='${libname}${release}${shared_ext}$major'
10194 shlibpath_var
=LIBRARY_PATH
10195 shlibpath_overrides_runpath
=yes
10196 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10197 hardcode_into_libs
=yes
10200 hpux9
* | hpux10
* | hpux11
*)
10201 # Give a soname corresponding to the major version so that dld.sl refuses to
10202 # link against other versions.
10209 hardcode_into_libs
=yes
10210 dynamic_linker
="$host_os dld.so"
10211 shlibpath_var
=LD_LIBRARY_PATH
10212 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10214 soname_spec
='${libname}${release}${shared_ext}$major'
10215 if test "X$HPUX_IA64_MODE" = X32
; then
10216 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10218 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10220 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10224 hardcode_into_libs
=yes
10225 dynamic_linker
="$host_os dld.sl"
10226 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10227 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10229 soname_spec
='${libname}${release}${shared_ext}$major'
10230 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10231 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10235 dynamic_linker
="$host_os dld.sl"
10236 shlibpath_var
=SHLIB_PATH
10237 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10239 soname_spec
='${libname}${release}${shared_ext}$major'
10242 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10243 postinstall_cmds
='chmod 555 $lib'
10244 # or fails outright, so override atomically:
10245 install_override_mode
=555
10249 version_type
=linux
# correct to gnu/linux during the next big refactor
10252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10253 soname_spec
='${libname}${release}${shared_ext}$major'
10254 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10255 shlibpath_var
=LD_LIBRARY_PATH
10256 shlibpath_overrides_runpath
=no
10257 hardcode_into_libs
=yes
10260 irix5
* | irix6
* | nonstopux
*)
10262 nonstopux
*) version_type
=nonstopux
;;
10264 if test "$lt_cv_prog_gnu_ld" = yes; then
10265 version_type
=linux
# correct to gnu/linux during the next big refactor
10272 soname_spec
='${libname}${release}${shared_ext}$major'
10273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10275 irix5
* | nonstopux
*)
10276 libsuff
= shlibsuff
=
10279 case $LD in # libtool.m4 will add one of these switches to LD
10280 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10281 libsuff
= shlibsuff
= libmagic
=32-bit;;
10282 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10283 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10284 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10285 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10286 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10290 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10291 shlibpath_overrides_runpath
=no
10292 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10293 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10294 hardcode_into_libs
=yes
10297 # No shared lib support for Linux oldld, aout, or coff.
10298 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10302 # This must be glibc/ELF.
10303 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10304 version_type
=linux
# correct to gnu/linux during the next big refactor
10307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10308 soname_spec
='${libname}${release}${shared_ext}$major'
10309 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10310 shlibpath_var
=LD_LIBRARY_PATH
10311 shlibpath_overrides_runpath
=no
10313 # Some binutils ld are patched to set DT_RUNPATH
10314 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10315 $as_echo_n "(cached) " >&6
10317 lt_cv_shlibpath_overrides_runpath
=no
10318 save_LDFLAGS
=$LDFLAGS
10319 save_libdir
=$libdir
10320 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10321 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10333 if ac_fn_c_try_link
"$LINENO"; then :
10334 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10335 lt_cv_shlibpath_overrides_runpath
=yes
10338 rm -f core conftest.err conftest.
$ac_objext \
10339 conftest
$ac_exeext conftest.
$ac_ext
10340 LDFLAGS
=$save_LDFLAGS
10341 libdir
=$save_libdir
10345 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10347 # This implies no fast_install, which is unacceptable.
10348 # Some rework will be needed to allow for fast_install
10349 # before this can be enabled.
10350 hardcode_into_libs
=yes
10352 # Add ABI-specific directories to the system library path.
10353 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
10355 # Append ld.so.conf contents to the search path
10356 if test -f /etc
/ld.so.conf
; then
10357 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' ' '`
10358 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10362 # We used to test for /lib/ld.so.1 and disable shared libraries on
10363 # powerpc, because MkLinux only supported shared libraries with the
10364 # GNU dynamic linker. Since this was broken with cross compilers,
10365 # most powerpc-linux boxes support dynamic linking these days and
10366 # people can always --disable-shared, the test was removed, and we
10367 # assume the GNU/Linux dynamic linker is in use.
10368 dynamic_linker
='GNU/Linux ld.so'
10375 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10377 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10378 dynamic_linker
='NetBSD (a.out) ld.so'
10380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10381 soname_spec
='${libname}${release}${shared_ext}$major'
10382 dynamic_linker
='NetBSD ld.elf_so'
10384 shlibpath_var
=LD_LIBRARY_PATH
10385 shlibpath_overrides_runpath
=yes
10386 hardcode_into_libs
=yes
10390 version_type
=linux
# correct to gnu/linux during the next big refactor
10391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10392 shlibpath_var
=LD_LIBRARY_PATH
10393 shlibpath_overrides_runpath
=yes
10400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10401 soname_spec
='${libname}${release}${shared_ext}$major'
10402 shlibpath_var
=LD_LIBRARY_PATH
10403 shlibpath_overrides_runpath
=no
10404 hardcode_into_libs
=yes
10405 dynamic_linker
='ldqnx.so'
10410 sys_lib_dlsearch_path_spec
="/usr/lib"
10412 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10414 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10415 *) need_version
=no
;;
10417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10418 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10419 shlibpath_var
=LD_LIBRARY_PATH
10420 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10422 openbsd2.
[89] | openbsd2.
[89].
*)
10423 shlibpath_overrides_runpath
=no
10426 shlibpath_overrides_runpath
=yes
10430 shlibpath_overrides_runpath
=yes
10435 libname_spec
='$name'
10438 library_names_spec
='$libname${shared_ext} $libname.a'
10439 dynamic_linker
='OS/2 ld.exe'
10440 shlibpath_var
=LIBPATH
10443 osf3
* | osf4
* | osf5
*)
10447 soname_spec
='${libname}${release}${shared_ext}$major'
10448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10449 shlibpath_var
=LD_LIBRARY_PATH
10450 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10451 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10459 version_type
=linux
# correct to gnu/linux during the next big refactor
10462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10463 soname_spec
='${libname}${release}${shared_ext}$major'
10464 shlibpath_var
=LD_LIBRARY_PATH
10465 shlibpath_overrides_runpath
=yes
10466 hardcode_into_libs
=yes
10467 # ldd complains unless libraries are executable
10468 postinstall_cmds
='chmod +x $lib'
10473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10474 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10475 shlibpath_var
=LD_LIBRARY_PATH
10476 shlibpath_overrides_runpath
=yes
10477 if test "$with_gnu_ld" = yes; then
10484 version_type
=linux
# correct to gnu/linux during the next big refactor
10485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10486 soname_spec
='${libname}${release}${shared_ext}$major'
10487 shlibpath_var
=LD_LIBRARY_PATH
10488 case $host_vendor in
10490 shlibpath_overrides_runpath
=no
10492 runpath_var
=LD_RUN_PATH
10500 shlibpath_overrides_runpath
=no
10501 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10507 if test -d /usr
/nec
;then
10508 version_type
=linux
# correct to gnu/linux during the next big refactor
10509 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10510 soname_spec
='$libname${shared_ext}.$major'
10511 shlibpath_var
=LD_LIBRARY_PATH
10515 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10516 version_type
=freebsd-elf
10519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10520 soname_spec
='${libname}${release}${shared_ext}$major'
10521 shlibpath_var
=LD_LIBRARY_PATH
10522 shlibpath_overrides_runpath
=yes
10523 hardcode_into_libs
=yes
10524 if test "$with_gnu_ld" = yes; then
10525 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10527 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10530 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10534 sys_lib_dlsearch_path_spec
='/usr/lib'
10538 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10539 version_type
=linux
# correct to gnu/linux during the next big refactor
10542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 shlibpath_var
=LD_LIBRARY_PATH
10544 shlibpath_overrides_runpath
=no
10545 hardcode_into_libs
=yes
10549 version_type
=linux
# correct to gnu/linux during the next big refactor
10550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10551 soname_spec
='${libname}${release}${shared_ext}$major'
10552 shlibpath_var
=LD_LIBRARY_PATH
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10560 $as_echo "$dynamic_linker" >&6; }
10561 test "$dynamic_linker" = no
&& can_build_shared
=no
10563 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10564 if test "$GCC" = yes; then
10565 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10568 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10569 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10571 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10572 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10667 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10669 if test -n "$hardcode_libdir_flag_spec" ||
10670 test -n "$runpath_var" ||
10671 test "X$hardcode_automatic" = "Xyes" ; then
10673 # We can hardcode non-existent directories.
10674 if test "$hardcode_direct" != no
&&
10675 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10676 # have to relink, otherwise we might link with an installed library
10677 # when we should be linking with a yet-to-be-installed one
10678 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10679 test "$hardcode_minus_L" != no
; then
10680 # Linking always hardcodes the temporary library directory.
10681 hardcode_action
=relink
10683 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10684 hardcode_action
=immediate
10687 # We cannot hardcode anything, or else we can only hardcode existing
10689 hardcode_action
=unsupported
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10692 $as_echo "$hardcode_action" >&6; }
10694 if test "$hardcode_action" = relink ||
10695 test "$inherit_rpath" = yes; then
10696 # Fast installation is not supported
10697 enable_fast_install
=no
10698 elif test "$shlibpath_overrides_runpath" = yes ||
10699 test "$enable_shared" = no
; then
10700 # Fast installation is not necessary
10701 enable_fast_install
=needless
10709 if test "x$enable_dlopen" != xyes
; then
10710 enable_dlopen
=unknown
10711 enable_dlopen_self
=unknown
10712 enable_dlopen_self_static
=unknown
10719 lt_cv_dlopen
="load_add_on"
10721 lt_cv_dlopen_self
=yes
10724 mingw
* | pw32
* | cegcc
*)
10725 lt_cv_dlopen
="LoadLibrary"
10730 lt_cv_dlopen
="dlopen"
10735 # if libdl is installed we need to link against it
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10737 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10738 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10739 $as_echo_n "(cached) " >&6
10741 ac_check_lib_save_LIBS
=$LIBS
10743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10744 /* end confdefs.h. */
10746 /* Override any GCC internal prototype to avoid an error.
10747 Use char because int might match the return type of a GCC
10748 builtin and then its argument prototype would still apply. */
10761 if ac_fn_c_try_link
"$LINENO"; then :
10762 ac_cv_lib_dl_dlopen
=yes
10764 ac_cv_lib_dl_dlopen
=no
10766 rm -f core conftest.err conftest.
$ac_objext \
10767 conftest
$ac_exeext conftest.
$ac_ext
10768 LIBS
=$ac_check_lib_save_LIBS
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10771 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10772 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10773 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10776 lt_cv_dlopen
="dyld"
10778 lt_cv_dlopen_self
=yes
10785 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10786 if test "x$ac_cv_func_shl_load" = xyes
; then :
10787 lt_cv_dlopen
="shl_load"
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10790 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10791 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10792 $as_echo_n "(cached) " >&6
10794 ac_check_lib_save_LIBS
=$LIBS
10796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10809 return shl_load ();
10814 if ac_fn_c_try_link
"$LINENO"; then :
10815 ac_cv_lib_dld_shl_load
=yes
10817 ac_cv_lib_dld_shl_load
=no
10819 rm -f core conftest.err conftest.
$ac_objext \
10820 conftest
$ac_exeext conftest.
$ac_ext
10821 LIBS
=$ac_check_lib_save_LIBS
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10824 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10825 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10826 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10828 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10829 if test "x$ac_cv_func_dlopen" = xyes
; then :
10830 lt_cv_dlopen
="dlopen"
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10833 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10834 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10835 $as_echo_n "(cached) " >&6
10837 ac_check_lib_save_LIBS
=$LIBS
10839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10842 /* Override any GCC internal prototype to avoid an error.
10843 Use char because int might match the return type of a GCC
10844 builtin and then its argument prototype would still apply. */
10857 if ac_fn_c_try_link
"$LINENO"; then :
10858 ac_cv_lib_dl_dlopen
=yes
10860 ac_cv_lib_dl_dlopen
=no
10862 rm -f core conftest.err conftest.
$ac_objext \
10863 conftest
$ac_exeext conftest.
$ac_ext
10864 LIBS
=$ac_check_lib_save_LIBS
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10867 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10868 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10869 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10872 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10873 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10874 $as_echo_n "(cached) " >&6
10876 ac_check_lib_save_LIBS
=$LIBS
10877 LIBS
="-lsvld $LIBS"
10878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10896 if ac_fn_c_try_link
"$LINENO"; then :
10897 ac_cv_lib_svld_dlopen
=yes
10899 ac_cv_lib_svld_dlopen
=no
10901 rm -f core conftest.err conftest.
$ac_objext \
10902 conftest
$ac_exeext conftest.
$ac_ext
10903 LIBS
=$ac_check_lib_save_LIBS
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10906 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10907 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10908 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10911 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10912 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10913 $as_echo_n "(cached) " >&6
10915 ac_check_lib_save_LIBS
=$LIBS
10917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10920 /* Override any GCC internal prototype to avoid an error.
10921 Use char because int might match the return type of a GCC
10922 builtin and then its argument prototype would still apply. */
10930 return dld_link ();
10935 if ac_fn_c_try_link
"$LINENO"; then :
10936 ac_cv_lib_dld_dld_link
=yes
10938 ac_cv_lib_dld_dld_link
=no
10940 rm -f core conftest.err conftest.
$ac_objext \
10941 conftest
$ac_exeext conftest.
$ac_ext
10942 LIBS
=$ac_check_lib_save_LIBS
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10945 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10946 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10947 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10968 if test "x$lt_cv_dlopen" != xno
; then
10974 case $lt_cv_dlopen in
10976 save_CPPFLAGS
="$CPPFLAGS"
10977 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10979 save_LDFLAGS
="$LDFLAGS"
10980 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10983 LIBS
="$lt_cv_dlopen_libs $LIBS"
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10986 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10987 if ${lt_cv_dlopen_self+:} false
; then :
10988 $as_echo_n "(cached) " >&6
10990 if test "$cross_compiling" = yes; then :
10991 lt_cv_dlopen_self
=cross
10993 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10994 lt_status
=$lt_dlunknown
10995 cat > conftest.
$ac_ext <<_LT_EOF
10996 #line $LINENO "configure"
10997 #include "confdefs.h"
11006 # define LT_DLGLOBAL RTLD_GLOBAL
11009 # define LT_DLGLOBAL DL_GLOBAL
11011 # define LT_DLGLOBAL 0
11015 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11016 find out it does not work in some platform. */
11017 #ifndef LT_DLLAZY_OR_NOW
11019 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11022 # define LT_DLLAZY_OR_NOW DL_LAZY
11025 # define LT_DLLAZY_OR_NOW RTLD_NOW
11028 # define LT_DLLAZY_OR_NOW DL_NOW
11030 # define LT_DLLAZY_OR_NOW 0
11037 /* When -fvisbility=hidden is used, assume the code has been annotated
11038 correspondingly for the symbols needed. */
11039 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11040 int fnord () __attribute__((visibility("default")));
11043 int fnord () { return 42; }
11046 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11047 int status = $lt_dlunknown;
11051 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11054 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11055 else puts (dlerror ());
11057 /* dlclose (self); */
11065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11066 (eval $ac_link) 2>&5
11068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11069 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11070 (.
/conftest
; exit; ) >&5 2>/dev
/null
11072 case x
$lt_status in
11073 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11074 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11075 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11078 # compilation failed
11079 lt_cv_dlopen_self
=no
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11087 $as_echo "$lt_cv_dlopen_self" >&6; }
11089 if test "x$lt_cv_dlopen_self" = xyes
; then
11090 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11092 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11093 if ${lt_cv_dlopen_self_static+:} false
; then :
11094 $as_echo_n "(cached) " >&6
11096 if test "$cross_compiling" = yes; then :
11097 lt_cv_dlopen_self_static
=cross
11099 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11100 lt_status
=$lt_dlunknown
11101 cat > conftest.
$ac_ext <<_LT_EOF
11102 #line $LINENO "configure"
11103 #include "confdefs.h"
11112 # define LT_DLGLOBAL RTLD_GLOBAL
11115 # define LT_DLGLOBAL DL_GLOBAL
11117 # define LT_DLGLOBAL 0
11121 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11122 find out it does not work in some platform. */
11123 #ifndef LT_DLLAZY_OR_NOW
11125 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11128 # define LT_DLLAZY_OR_NOW DL_LAZY
11131 # define LT_DLLAZY_OR_NOW RTLD_NOW
11134 # define LT_DLLAZY_OR_NOW DL_NOW
11136 # define LT_DLLAZY_OR_NOW 0
11143 /* When -fvisbility=hidden is used, assume the code has been annotated
11144 correspondingly for the symbols needed. */
11145 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11146 int fnord () __attribute__((visibility("default")));
11149 int fnord () { return 42; }
11152 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11153 int status = $lt_dlunknown;
11157 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11160 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11161 else puts (dlerror ());
11163 /* dlclose (self); */
11171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11172 (eval $ac_link) 2>&5
11174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11175 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11176 (.
/conftest
; exit; ) >&5 2>/dev
/null
11178 case x
$lt_status in
11179 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11180 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11181 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11184 # compilation failed
11185 lt_cv_dlopen_self_static
=no
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11193 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11196 CPPFLAGS
="$save_CPPFLAGS"
11197 LDFLAGS
="$save_LDFLAGS"
11202 case $lt_cv_dlopen_self in
11203 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11204 *) enable_dlopen_self
=unknown
;;
11207 case $lt_cv_dlopen_self_static in
11208 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11209 *) enable_dlopen_self_static
=unknown
;;
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11232 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11233 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11234 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11235 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11237 $as_echo "yes" >&6; }
11239 # FIXME - insert some real tests, host_os isn't really good enough
11242 if test -n "$STRIP" ; then
11243 striplib
="$STRIP -x"
11244 old_striplib
="$STRIP -S"
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11246 $as_echo "yes" >&6; }
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11249 $as_echo "no" >&6; }
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11254 $as_echo "no" >&6; }
11270 # Report which library types will actually be built
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11272 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11274 $as_echo "$can_build_shared" >&6; }
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11277 $as_echo_n "checking whether to build shared libraries... " >&6; }
11278 test "$can_build_shared" = "no" && enable_shared
=no
11280 # On AIX, shared libraries and static libraries use the same namespace, and
11281 # are all built from PIC.
11284 test "$enable_shared" = yes && enable_static
=no
11285 if test -n "$RANLIB"; then
11286 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11287 postinstall_cmds
='$RANLIB $lib'
11292 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11293 test "$enable_shared" = yes && enable_static
=no
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11298 $as_echo "$enable_shared" >&6; }
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11301 $as_echo_n "checking whether to build static libraries... " >&6; }
11302 # Make sure either enable_shared or enable_static is yes.
11303 test "$enable_shared" = yes || enable_static
=yes
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11305 $as_echo "$enable_static" >&6; }
11312 ac_cpp
='$CPP $CPPFLAGS'
11313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11333 ac_config_commands
="$ac_config_commands libtool"
11338 # Only expand once:
11342 if test "$GCC" = yes
11344 CFLAGS
="-Wall $CFLAGS"
11347 CPPFLAGS
="$CPPFLAGS -I$srcdir/.. -I.."
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11351 $as_echo_n "checking for ANSI C header files... " >&6; }
11352 if ${ac_cv_header_stdc+:} false
; then :
11353 $as_echo_n "(cached) " >&6
11355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11357 #include <stdlib.h>
11358 #include <stdarg.h>
11359 #include <string.h>
11370 if ac_fn_c_try_compile
"$LINENO"; then :
11371 ac_cv_header_stdc
=yes
11373 ac_cv_header_stdc
=no
11375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11377 if test $ac_cv_header_stdc = yes; then
11378 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11381 #include <string.h>
11384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11385 $EGREP "memchr" >/dev
/null
2>&1; then :
11388 ac_cv_header_stdc
=no
11394 if test $ac_cv_header_stdc = yes; then
11395 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h. */
11398 #include <stdlib.h>
11401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11402 $EGREP "free" >/dev
/null
2>&1; then :
11405 ac_cv_header_stdc
=no
11411 if test $ac_cv_header_stdc = yes; then
11412 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11413 if test "$cross_compiling" = yes; then :
11416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h. */
11419 #include <stdlib.h>
11420 #if ((' ' & 0x0FF) == 0x020)
11421 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11422 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11424 # define ISLOWER(c) \
11425 (('a' <= (c) && (c) <= 'i') \
11426 || ('j' <= (c) && (c) <= 'r') \
11427 || ('s' <= (c) && (c) <= 'z'))
11428 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11431 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11436 for (i = 0; i < 256; i++)
11437 if (XOR (islower (i), ISLOWER (i))
11438 || toupper (i) != TOUPPER (i))
11443 if ac_fn_c_try_run
"$LINENO"; then :
11446 ac_cv_header_stdc
=no
11448 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11449 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11455 $as_echo "$ac_cv_header_stdc" >&6; }
11456 if test $ac_cv_header_stdc = yes; then
11458 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11464 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11465 if ${ac_cv_c_const+:} false
; then :
11466 $as_echo_n "(cached) " >&6
11468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11475 #ifndef __cplusplus
11476 /* Ultrix mips cc rejects this sort of thing. */
11477 typedef int charset[2];
11478 const charset cs = { 0, 0 };
11479 /* SunOS 4.1.1 cc rejects this. */
11480 char const *const *pcpcc;
11482 /* NEC SVR4.0.2 mips cc rejects this. */
11483 struct point {int x, y;};
11484 static struct point const zero = {0,0};
11485 /* AIX XL C 1.02.0.0 rejects this.
11486 It does not let you subtract one const X* pointer from another in
11487 an arm of an if-expression whose if-part is not a constant
11489 const char *g = "string";
11490 pcpcc = &g + (g ? g-g : 0);
11491 /* HPUX 7.0 cc rejects these. */
11493 ppc = (char**) pcpcc;
11494 pcpcc = (char const *const *) ppc;
11495 { /* SCO 3.2v4 cc rejects this sort of thing. */
11498 char const *s = 0 ? (char *) 0 : (char const *) 0;
11503 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11504 int x[] = {25, 17};
11505 const int *foo = &x[0];
11508 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11509 typedef const int *iptr;
11513 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
11514 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11515 struct s { int j; const int *ap[3]; } bx;
11516 struct s *b = &bx; b->j = 5;
11518 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11519 const int foo = 10;
11520 if (!foo) return 0;
11522 return !cs[0] && !zero.x;
11529 if ac_fn_c_try_compile
"$LINENO"; then :
11534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
11537 $as_echo "$ac_cv_c_const" >&6; }
11538 if test $ac_cv_c_const = no
; then
11540 $as_echo "#define const /**/" >>confdefs.h
11544 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11545 if test "x$ac_cv_type_size_t" = xyes
; then :
11549 cat >>confdefs.h
<<_ACEOF
11550 #define size_t unsigned int
11563 if test -d ${srcdir}/..
/md5
11565 TESTPROGS
="$TESTPROGS md5hmactest${EXEEXT}"
11566 hmac_list
="$hmac_list &hmac_md5,"
11567 hashlibs
="$hashlibs ../md5/libmd5.la"
11570 if test -d ${srcdir}/..
/sha1
11572 TESTPROGS
="$TESTPROGS sha1hmactest${EXEEXT}"
11573 hmac_list
="$hmac_list &hmac_sha1, &hmac_sha256, "
11574 hashlibs
="$hashlibs ../sha1/libsha1.la"
11578 hmac_list
="$hmac_list 0"
11582 cat >>confdefs.h
<<_ACEOF
11583 #define HMAC_LIST $hmac_list
11587 ac_config_files
="$ac_config_files Makefile"
11589 cat >confcache
<<\_ACEOF
11590 # This file is a shell script that caches the results of configure
11591 # tests run on this system so they can be shared between configure
11592 # scripts and configure runs, see configure's option --config-cache.
11593 # It is not useful on other systems. If it contains results you don't
11594 # want to keep, you may remove or edit it.
11596 # config.status only pays attention to the cache file if you give it
11597 # the --recheck option to rerun configure.
11599 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11600 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11601 # following values.
11605 # The following way of writing the cache mishandles newlines in values,
11606 # but we know of no workaround that is simple, portable, and efficient.
11607 # So, we kill variables containing newlines.
11608 # Ultrix sh set writes to stderr and can't be redirected directly,
11609 # and sets the high bit in the cache file unless we assign to the vars.
11611 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11612 eval ac_val
=\$
$ac_var
11616 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11620 _ | IFS | as_nl
) ;; #(
11621 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11622 *) { eval $ac_var=; unset $ac_var;} ;;
11628 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11629 *${as_nl}ac_space
=\
*)
11630 # `set' does not quote correctly, so add quotes: double-quote
11631 # substitution turns \\\\ into \\, and sed turns \\ into \.
11634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11637 # `set' quotes correctly as required by POSIX, so do not add quotes.
11638 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11647 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11649 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11651 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11652 if test -w "$cache_file"; then
11653 if test "x$cache_file" != "x/dev/null"; then
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11655 $as_echo "$as_me: updating cache $cache_file" >&6;}
11656 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11657 cat confcache
>"$cache_file"
11659 case $cache_file in #(
11661 mv -f confcache
"$cache_file"$$
&&
11662 mv -f "$cache_file"$$
"$cache_file" ;; #(
11664 mv -f confcache
"$cache_file" ;;
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11670 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11675 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11676 # Let make expand exec_prefix.
11677 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11679 DEFS
=-DHAVE_CONFIG_H
11683 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11684 # 1. Remove the extension, and $U if already installed.
11685 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11686 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11687 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11688 # will be set to the directory where LIBOBJS objects are built.
11689 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11690 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11692 LIBOBJS
=$ac_libobjs
11694 LTLIBOBJS
=$ac_ltlibobjs
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11698 $as_echo_n "checking that generated files are newer than configure... " >&6; }
11699 if test -n "$am_sleep_pid"; then
11700 # Hide warnings about reused PIDs.
11701 wait $am_sleep_pid 2>/dev
/null
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11704 $as_echo "done" >&6; }
11705 if test -n "$EXEEXT"; then
11707 am__EXEEXT_FALSE
='#'
11709 am__EXEEXT_TRUE
='#'
11713 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11714 as_fn_error $?
"conditional \"AMDEP\" was never defined.
11715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11717 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11718 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11722 : "${CONFIG_STATUS=./config.status}"
11724 ac_clean_files_save
=$ac_clean_files
11725 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11727 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11729 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11731 # Generated by $as_me.
11732 # Run this file to recreate the current configuration.
11733 # Compiler output produced by configure, useful for debugging
11734 # configure, is in config.log if it exists.
11737 ac_cs_recheck=false
11740 SHELL=\${CONFIG_SHELL-$SHELL}
11743 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11744 ## -------------------- ##
11745 ## M4sh Initialization. ##
11746 ## -------------------- ##
11748 # Be more Bourne compatible
11749 DUALCASE
=1; export DUALCASE
# for MKS sh
11750 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11753 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11754 # is contrary to our usage. Disable this feature.
11755 alias -g '${1+"$@"}'='"$@"'
11756 setopt NO_GLOB_SUBST
11758 case `(set -o) 2>/dev/null` in #(
11770 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11771 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11772 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11773 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11774 # Prefer a ksh shell builtin over an external printf program on Solaris,
11775 # but without wasting forks for bash or zsh.
11776 if test -z "$BASH_VERSION$ZSH_VERSION" \
11777 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11778 as_echo='print
-r --'
11779 as_echo_n='print
-rn --'
11780 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11781 as_echo='printf %s
\n'
11782 as_echo_n='printf %s
'
11784 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11785 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11786 as_echo_n='/usr
/ucb
/echo -n'
11788 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11789 as_echo_n_body='eval
11793 expr "X$arg" : "X\\(.*\\)$as_nl";
11794 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11796 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11798 export as_echo_n_body
11799 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11801 export as_echo_body
11802 as_echo='sh
-c $as_echo_body as_echo
'
11805 # The user is always right.
11806 if test "${PATH_SEPARATOR+set}" != set; then
11808 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11809 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11816 # We need space, tab and new line, in precisely that order. Quoting is
11817 # there to prevent editors from complaining about space-tab.
11818 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11819 # splitting by setting IFS to empty value.)
11822 # Find who we are. Look in the path if we contain no directory separator.
11825 *[\\/]* ) as_myself=$0 ;;
11826 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11827 for as_dir in $PATH
11830 test -z "$as_dir" && as_dir=.
11831 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11837 # We did not find ourselves, most probably we were run as `sh COMMAND'
11838 # in which case we are not to be found in the path.
11839 if test "x$as_myself" = x
; then
11842 if test ! -f "$as_myself"; then
11843 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11847 # Unset variables that we do not need and which cause bugs (e.g. in
11848 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11849 # suppresses any "Segmentation fault" message there. '((' could
11850 # trigger a bug in pdksh 5.2.14.
11851 for as_var
in BASH_ENV ENV MAIL MAILPATH
11852 do eval test x\
${$as_var+set} = xset \
11853 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11866 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11869 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11870 # ----------------------------------------
11871 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11872 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11873 # script with STATUS, using 1 if that was 0.
11876 as_status
=$1; test $as_status -eq 0 && as_status
=1
11878 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11879 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11881 $as_echo "$as_me: error: $2" >&2
11882 as_fn_exit
$as_status
11886 # as_fn_set_status STATUS
11887 # -----------------------
11888 # Set $? to STATUS, without forking.
11889 as_fn_set_status
()
11892 } # as_fn_set_status
11894 # as_fn_exit STATUS
11895 # -----------------
11896 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11900 as_fn_set_status
$1
11906 # Portably unset VAR.
11909 { eval $1=; unset $1;}
11911 as_unset
=as_fn_unset
11912 # as_fn_append VAR VALUE
11913 # ----------------------
11914 # Append the text in VALUE to the end of the definition contained in VAR. Take
11915 # advantage of any shell optimizations that allow amortized linear growth over
11916 # repeated appends, instead of the typical quadratic growth present in naive
11918 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11919 eval 'as_fn_append ()
11930 # as_fn_arith ARG...
11931 # ------------------
11932 # Perform arithmetic evaluation on the ARGs, and store the result in the
11933 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11934 # must be portable across $(()) and expr.
11935 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11936 eval 'as_fn_arith ()
11943 as_val
=`expr "$@" || test $? -eq 1`
11948 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11949 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11955 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11956 as_basename
=basename
11961 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11967 as_me
=`$as_basename -- "$0" ||
11968 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11969 X"$0" : 'X\(//\)$' \| \
11970 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11972 sed '/^.*\/\([^/][^/]*\)\/*$/{
11986 # Avoid depending upon Character Ranges.
11987 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11988 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11989 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11990 as_cr_digits
='0123456789'
11991 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11993 ECHO_C
= ECHO_N
= ECHO_T
=
11994 case `echo -n x` in #(((((
11996 case `echo 'xy\c'` in
11997 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11999 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12006 rm -f conf$$ conf$$.exe conf$$.
file
12007 if test -d conf$$.dir
; then
12008 rm -f conf$$.dir
/conf$$.
file
12011 mkdir conf$$.dir
2>/dev
/null
12013 if (echo >conf$$.
file) 2>/dev
/null
; then
12014 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12016 # ... but there are two gotchas:
12017 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12018 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12019 # In both cases, we have to default to `cp -pR'.
12020 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12022 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12030 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12031 rmdir conf$$.dir
2>/dev
/null
12036 # Create "$as_dir" as a directory, including parents if necessary.
12041 -*) as_dir
=.
/$as_dir;;
12043 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12047 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12048 *) as_qdir
=$as_dir;;
12050 as_dirs
="'$as_qdir' $as_dirs"
12051 as_dir
=`$as_dirname -- "$as_dir" ||
12052 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12053 X"$as_dir" : 'X\(//\)[^/]' \| \
12054 X"$as_dir" : 'X\(//\)$' \| \
12055 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12056 $as_echo X"$as_dir" |
12057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12061 /^X\(\/\/\)[^/].*/{
12074 test -d "$as_dir" && break
12076 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12077 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12081 if mkdir
-p .
2>/dev
/null
; then
12082 as_mkdir_p
='mkdir -p "$as_dir"'
12084 test -d .
/-p && rmdir .
/-p
12089 # as_fn_executable_p FILE
12090 # -----------------------
12091 # Test if FILE is an executable regular file.
12092 as_fn_executable_p
()
12094 test -f "$1" && test -x "$1"
12095 } # as_fn_executable_p
12096 as_test_x
='test -x'
12097 as_executable_p
=as_fn_executable_p
12099 # Sed expression to map a string onto a valid CPP name.
12100 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12102 # Sed expression to map a string onto a valid variable name.
12103 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12107 ## ----------------------------------- ##
12108 ## Main body of $CONFIG_STATUS script. ##
12109 ## ----------------------------------- ##
12111 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12114 # Save the log message, to keep $0 and so on meaningful, and to
12115 # report actual input values of CONFIG_FILES etc. instead of their
12116 # values after options handling.
12118 This file was extended by libhmac $as_me 1.00, which was
12119 generated by GNU Autoconf 2.69. Invocation command line was
12121 CONFIG_FILES = $CONFIG_FILES
12122 CONFIG_HEADERS = $CONFIG_HEADERS
12123 CONFIG_LINKS = $CONFIG_LINKS
12124 CONFIG_COMMANDS = $CONFIG_COMMANDS
12127 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12132 case $ac_config_files in *"
12133 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12136 case $ac_config_headers in *"
12137 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12142 # Files that config.status was made for.
12143 config_files="$ac_config_files"
12144 config_headers="$ac_config_headers"
12145 config_commands="$ac_config_commands"
12149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12151 \`$as_me' instantiates files and other configuration actions
12152 from templates according to the current configuration. Unless the files
12153 and actions are specified as TAGs, all are instantiated by default.
12155 Usage: $0 [OPTION]... [TAG]...
12157 -h, --help print this help, then exit
12158 -V, --version print version number and configuration settings, then exit
12159 --config print configuration, then exit
12160 -q, --quiet, --silent
12161 do not print progress messages
12162 -d, --debug don't remove temporary files
12163 --recheck update $as_me by reconfiguring in the same conditions
12164 --file=FILE[:TEMPLATE]
12165 instantiate the configuration file FILE
12166 --header=FILE[:TEMPLATE]
12167 instantiate the configuration header FILE
12169 Configuration files:
12172 Configuration headers:
12175 Configuration commands:
12178 Report bugs to <courier-users@lists.sourceforge.net>."
12181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12182 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12184 libhmac config.status 1.00
12185 configured by $0, generated by GNU Autoconf 2.69,
12186 with options \\"\$ac_cs_config\\"
12188 Copyright (C) 2012 Free Software Foundation, Inc.
12189 This config.status script is free software; the Free Software Foundation
12190 gives unlimited permission to copy, distribute and modify it."
12197 test -n "\$AWK" || AWK=awk
12200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12201 # The default lists apply if the user does not specify any file.
12207 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12208 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12212 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12224 # Handling of the options.
12225 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12227 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12228 $as_echo "$ac_cs_version"; exit ;;
12229 --config |
--confi |
--conf |
--con |
--co |
--c )
12230 $as_echo "$ac_cs_config"; exit ;;
12231 --debug |
--debu |
--deb |
--de |
--d |
-d )
12233 --file |
--fil |
--fi |
--f )
12236 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12237 '') as_fn_error $?
"missing file argument" ;;
12239 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12240 ac_need_defaults
=false
;;
12241 --header |
--heade |
--head |
--hea )
12244 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12246 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12247 ac_need_defaults
=false
;;
12249 # Conflict between --help and --header
12250 as_fn_error $?
"ambiguous option: \`$1'
12251 Try \`$0 --help' for more information.";;
12252 --help |
--hel |
-h )
12253 $as_echo "$ac_cs_usage"; exit ;;
12254 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12255 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12258 # This is an error.
12259 -*) as_fn_error $?
"unrecognized option: \`$1'
12260 Try \`$0 --help' for more information." ;;
12262 *) as_fn_append ac_config_targets
" $1"
12263 ac_need_defaults
=false
;;
12269 ac_configure_extra_args
=
12271 if $ac_cs_silent; then
12273 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12278 if \$ac_cs_recheck; then
12279 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12281 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12282 CONFIG_SHELL='$SHELL'
12283 export CONFIG_SHELL
12288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12292 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12293 ## Running $as_me. ##
12299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12303 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12306 # The HP-UX ksh and POSIX shell print the target directory to stdout
12307 # if CDPATH is set.
12308 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12310 sed_quote_subst='$sed_quote_subst'
12311 double_quote_subst='$double_quote_subst'
12312 delay_variable_subst='$delay_variable_subst'
12313 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12314 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12315 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12316 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12317 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12318 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12319 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12320 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12321 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12322 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12323 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12324 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12325 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12326 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12327 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12328 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12329 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12330 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12331 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12332 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12333 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12334 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12335 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12336 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12337 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12338 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12339 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12340 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12341 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12342 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12343 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12344 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12345 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12346 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12347 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12348 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12349 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12350 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12351 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12352 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12353 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12354 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12355 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12356 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12357 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12358 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12359 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12360 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12361 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12362 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12363 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12364 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12365 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12366 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12367 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12368 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12369 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"`'
12370 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12371 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12372 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12373 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12374 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12375 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12376 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12377 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12378 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12379 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12380 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12381 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12382 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12383 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12384 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12385 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12386 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12387 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12388 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12389 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12390 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12391 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12392 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12393 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12394 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12395 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12396 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12397 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12398 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12399 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12400 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12401 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12402 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12403 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12404 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12405 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12406 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12407 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12408 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12409 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12410 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12411 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12412 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12413 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12414 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12415 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12416 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12417 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12418 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12419 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12420 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12421 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12422 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12423 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12424 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12425 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12426 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12427 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12428 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12429 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12430 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12431 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12432 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12433 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12434 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12435 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12436 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12437 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12438 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12439 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12440 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12441 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12442 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12445 LTCFLAGS='$LTCFLAGS'
12446 compiler='$compiler_DEFAULT'
12448 # A function that is used when there is no print builtin or printf.
12449 func_fallback_echo ()
12451 eval 'cat <<_LTECHO_EOF
12456 # Quote evaled strings.
12471 deplibs_check_method \
12476 sharedlib_from_linklib_cmd \
12479 archiver_list_spec \
12485 lt_cv_sys_global_symbol_pipe \
12486 lt_cv_sys_global_symbol_to_cdecl \
12487 lt_cv_sys_global_symbol_to_c_name_address \
12488 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12489 nm_file_list_spec \
12490 lt_prog_compiler_no_builtin_flag \
12491 lt_prog_compiler_pic \
12492 lt_prog_compiler_wl \
12493 lt_prog_compiler_static \
12494 lt_cv_prog_compiler_c_o \
12503 export_dynamic_flag_spec \
12504 whole_archive_flag_spec \
12505 compiler_needs_object \
12507 allow_undefined_flag \
12508 no_undefined_flag \
12509 hardcode_libdir_flag_spec \
12510 hardcode_libdir_separator \
12514 variables_saved_for_relink \
12516 library_names_spec \
12518 install_override_mode \
12522 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12523 *[\\\\\\\`\\"\\\$]*)
12524 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12527 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12532 # Double-quote double-evaled strings.
12533 for var in reload_cmds \
12534 old_postinstall_cmds \
12535 old_postuninstall_cmds \
12537 extract_expsyms_cmds \
12538 old_archive_from_new_cmds \
12539 old_archive_from_expsyms_cmds \
12541 archive_expsym_cmds \
12543 module_expsym_cmds \
12544 export_symbols_cmds \
12548 postuninstall_cmds \
12550 sys_lib_search_path_spec \
12551 sys_lib_dlsearch_path_spec; do
12552 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12553 *[\\\\\\\`\\"\\\$]*)
12554 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12557 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12562 ac_aux_dir='$ac_aux_dir'
12563 xsi_shell='$xsi_shell'
12564 lt_shell_append='$lt_shell_append'
12566 # See if we are running on zsh, and set the options which allow our
12567 # commands through without removal of \ escapes INIT.
12568 if test -n "\${ZSH_VERSION+set}" ; then
12569 setopt NO_GLOB_SUBST
12575 TIMESTAMP='$TIMESTAMP'
12584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12586 # Handling of arguments.
12587 for ac_config_target
in $ac_config_targets
12589 case $ac_config_target in
12590 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12591 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12592 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12593 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12595 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12600 # If the user did not use the arguments to specify the items to instantiate,
12601 # then the envvar interface is used. Set only those that are not.
12602 # We use the long form for the default assignment because of an extremely
12603 # bizarre bug on SunOS 4.1.3.
12604 if $ac_need_defaults; then
12605 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12606 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12607 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12610 # Have a temporary directory for convenience. Make it in the build tree
12611 # simply because there is no reason against having it here, and in addition,
12612 # creating and moving files from /tmp can sometimes cause problems.
12613 # Hook for its removal unless debugging.
12614 # Note that there is a small window in which the directory will not be cleaned:
12615 # after its creation but before its name has been assigned to `$tmp'.
12619 trap 'exit_status=$?
12620 : "${ac_tmp:=$tmp}"
12621 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12623 trap 'as_fn_exit 1' 1 2 13 15
12625 # Create a (secure) tmp directory for tmp files.
12628 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12632 tmp
=.
/conf$$
-$RANDOM
12633 (umask 077 && mkdir
"$tmp")
12634 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12637 # Set up the scripts for CONFIG_FILES section.
12638 # No need to generate them if there are no CONFIG_FILES.
12639 # This happens for instance with `./config.status config.h'.
12640 if test -n "$CONFIG_FILES"; then
12643 ac_cr
=`echo X | tr X '\015'`
12644 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12645 # But we know of no other shell where ac_cr would be empty at this
12646 # point, so we can use a bashism as a fallback.
12647 if test "x$ac_cr" = x
; then
12648 eval ac_cr
=\$
\'\\r
\'
12650 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12651 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12654 ac_cs_awk_cr
=$ac_cr
12657 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12662 echo "cat >conf$$subs.awk <<_ACEOF" &&
12663 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12665 } >conf$$subs.sh ||
12666 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12667 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12669 for ac_last_try in false false false false false :; do
12670 . ./conf$$subs.sh ||
12671 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12673 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12674 if test $ac_delim_n = $ac_delim_num; then
12676 elif $ac_last_try; then
12677 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12679 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12682 rm -f conf$$subs.sh
12684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12685 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12689 s/^/S["/; s
/!.
*/"]=/
12699 s/\(.\{148\}\)..*/\1/
12701 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12706 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12713 s/\(.\{148\}\)..*/\1/
12715 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12719 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12724 ' <conf$$subs.awk | sed '
12729 ' >>$CONFIG_STATUS || ac_write_fail=1
12730 rm -f conf$$subs.awk
12731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12733 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12734 for (key in S) S_is_set[key] = 1
12740 nfields = split(line, field, "@
")
12742 len = length(field[1])
12743 for (i = 2; i < nfields; i++) {
12745 keylen = length(key)
12746 if (S_is_set[key]) {
12748 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12749 len += length(value) + length(field[++i])
12760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12761 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12762 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12765 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12766 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12769 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12770 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12771 # trailing colons and then remove the whole line if VPATH becomes empty
12772 # (actually we leave an empty line to preserve line numbers).
12773 if test "x
$srcdir" = x.; then
12774 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12793 fi # test -n "$CONFIG_FILES"
12795 # Set up the scripts for CONFIG_HEADERS section.
12796 # No need to generate them if there are no CONFIG_HEADERS.
12797 # This happens for instance with `./config.status Makefile'.
12798 if test -n "$CONFIG_HEADERS"; then
12799 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
12803 # Transform confdefs.h into an awk script `defines.awk', embedded as
12804 # here-document in config.status, that substitutes the proper values into
12805 # config.h.in to produce config.h.
12807 # Create a delimiter string that does not exist in confdefs.h, to ease
12808 # handling of long lines.
12810 for ac_last_try in false false :; do
12811 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
12812 if test -z "$ac_tt"; then
12814 elif $ac_last_try; then
12815 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12817 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12821 # For the awk script, D is an array of macro values keyed by name,
12822 # likewise P contains macro parameters if any. Preserve backslash
12823 # newline sequences.
12825 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12827 s/.\{148\}/&'"$ac_delim"'/g
12830 s/^[ ]*#[ ]*define[ ][ ]*/ /
12837 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12839 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12843 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12844 D["\
1"]=" \
3\\\\\\n
"\\/p
12846 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12851 s/.\{148\}/&'"$ac_delim"'/g
12856 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12859 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12861 ' <confdefs.h | sed '
12862 s/'"$ac_delim"'/"\\\
12863 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12866 for (key in D) D_is_set[key] = 1
12869 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12871 split(line, arg, " ")
12872 if (arg[1] == "#") {
12876 defundef
= substr
(arg
[1], 2)
12879 split(mac1
, mac2
, "(") #)
12881 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12882 if (D_is_set
[macro
]) {
12883 # Preserve the white space surrounding the "#".
12884 print prefix
"define", macro P
[macro
] D
[macro
]
12887 # Replace #undef with comments. This is necessary, for example,
12888 # in the case of _POSIX_SOURCE, which is predefined and required
12889 # on some systems where configure will not decide to define it.
12890 if (defundef
== "undef") {
12891 print
"/*", prefix defundef
, macro
, "*/"
12899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12900 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
12901 fi # test -n "$CONFIG_HEADERS"
12904 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12909 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12911 case $ac_mode$ac_tag in
12913 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12914 :[FH
]-) ac_tag
=-:-;;
12915 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12932 -) ac_f
="$ac_tmp/stdin";;
12933 *) # Look for the file first in the build tree, then in the source tree
12934 # (if the path is not absolute). The absolute path cannot be DOS-style,
12935 # because $ac_f cannot contain `:'.
12939 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12941 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12943 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12944 as_fn_append ac_file_inputs
" '$ac_f'"
12947 # Let's still pretend it is `configure' which instantiates (i.e., don't
12948 # use $as_me), people would be surprised to read:
12949 # /* config.h. Generated by config.status. */
12950 configure_input
='Generated from '`
12951 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12953 if test x
"$ac_file" != x-
; then
12954 configure_input
="$ac_file. $configure_input"
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12956 $as_echo "$as_me: creating $ac_file" >&6;}
12958 # Neutralize special characters interpreted by sed in replacement strings.
12959 case $configure_input in #(
12960 *\
&* |
*\|
* |
*\\* )
12961 ac_sed_conf_input
=`$as_echo "$configure_input" |
12962 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12963 *) ac_sed_conf_input
=$configure_input;;
12967 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
12968 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
12973 ac_dir
=`$as_dirname -- "$ac_file" ||
12974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12975 X"$ac_file" : 'X\(//\)[^/]' \| \
12976 X"$ac_file" : 'X\(//\)$' \| \
12977 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12978 $as_echo X"$ac_file" |
12979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12983 /^X\(\/\/\)[^/].*/{
12996 as_dir
="$ac_dir"; as_fn_mkdir_p
13000 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13002 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13003 # A ".." for each directory in $ac_dir_suffix.
13004 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13005 case $ac_top_builddir_sub in
13006 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13007 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13010 ac_abs_top_builddir
=$ac_pwd
13011 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13012 # for backward compatibility:
13013 ac_top_builddir
=$ac_top_build_prefix
13016 .
) # We are building in place.
13018 ac_top_srcdir
=$ac_top_builddir_sub
13019 ac_abs_top_srcdir
=$ac_pwd ;;
13020 [\\/]* | ?
:[\\/]* ) # Absolute name.
13021 ac_srcdir
=$srcdir$ac_dir_suffix;
13022 ac_top_srcdir
=$srcdir
13023 ac_abs_top_srcdir
=$srcdir ;;
13024 *) # Relative name.
13025 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13026 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13027 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13029 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13039 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13040 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13042 ac_MKDIR_P
=$MKDIR_P
13044 [\\/$
]* | ?
:[\\/]* ) ;;
13045 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13050 # If the template does not know about datarootdir, expand it.
13051 # FIXME: This hack should be removed a few years after 2.60.
13052 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13063 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13064 *datarootdir
*) ac_datarootdir_seen
=yes;;
13065 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13067 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13070 ac_datarootdir_hack='
13071 s&@datadir@&$datadir&g
13072 s&@docdir@&$docdir&g
13073 s&@infodir@&$infodir&g
13074 s&@localedir@&$localedir&g
13075 s&@mandir@&$mandir&g
13076 s&\\\${datarootdir}&$datarootdir&g' ;;
13080 # Neutralize VPATH when `$srcdir' = `.'.
13081 # Shell code in configure.ac might set extrasub.
13082 # FIXME: do we really want to maintain this feature?
13083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13084 ac_sed_extra="$ac_vpsub
13087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13089 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13090 s|@configure_input@|
$ac_sed_conf_input|
;t t
13091 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13092 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13093 s
&@srcdir@
&$ac_srcdir&;t t
13094 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13095 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13096 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13097 s
&@builddir@
&$ac_builddir&;t t
13098 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13099 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13100 s
&@INSTALL@
&$ac_INSTALL&;t t
13101 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13102 $ac_datarootdir_hack
13104 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13105 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13107 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13108 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13109 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13110 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13112 which seems to be undefined. Please make sure it is defined" >&5
13113 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13114 which seems to be undefined. Please make sure it is defined" >&2;}
13116 rm -f "$ac_tmp/stdin"
13118 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13119 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13127 if test x"$ac_file" != x-; then
13129 $as_echo "/* $configure_input */" \
13130 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13131 } >"$ac_tmp/config.h" \
13132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13133 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13135 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13138 mv "$ac_tmp/config.h" "$ac_file" \
13139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13142 $as_echo "/* $configure_input */" \
13143 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13144 || as_fn_error $? "could not create -" "$LINENO" 5
13146 # Compute "$ac_file"'s index
in $config_headers.
13149 for _am_header
in $config_headers :; do
13150 case $_am_header in
13151 $_am_arg |
$_am_arg:* )
13154 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13157 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13158 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13159 X"$_am_arg" : 'X\(//\)[^/]' \| \
13160 X"$_am_arg" : 'X\(//\)$' \| \
13161 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13162 $as_echo X"$_am_arg" |
13163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13167 /^X\(\/\/\)[^/].*/{
13179 s/.*/./; q'`/stamp-h
$_am_stamp_count
13182 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13183 $as_echo "$as_me: executing $ac_file commands" >&6;}
13188 case $ac_file$ac_mode in
13189 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13190 # Older Autoconf quotes --file arguments for eval, but not when files
13191 # are listed without --file. Let's play safe and only enable the eval
13192 # if we detect the quoting.
13193 case $CONFIG_FILES in
13194 *\'*) eval set x
"$CONFIG_FILES" ;;
13195 *) set x
$CONFIG_FILES ;;
13200 # Strip MF so we end up with the name of the file.
13201 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13202 # Check whether this is an Automake generated Makefile or not.
13203 # We used to match only the files named 'Makefile.in', but
13204 # some people rename them; so instead we look at the file content.
13205 # Grep'ing the first line is not enough: some people post-process
13206 # each Makefile.in and add a new line on top of each file to say so.
13207 # Grep'ing the whole file is not good either: AIX grep has a line
13208 # limit of 2048, but all sed's we know have understand at least 4000.
13209 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13210 dirpart
=`$as_dirname -- "$mf" ||
13211 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13212 X"$mf" : 'X\(//\)[^/]' \| \
13213 X"$mf" : 'X\(//\)$' \| \
13214 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13220 /^X\(\/\/\)[^/].*/{
13236 # Extract the definition of DEPDIR, am__include, and am__quote
13237 # from the Makefile without running 'make'.
13238 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13239 test -z "$DEPDIR" && continue
13240 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13241 test -z "$am__include" && continue
13242 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13243 # Find all dependency output files, they are included files with
13244 # $(DEPDIR) in their names. We invoke sed twice because it is the
13245 # simplest approach to changing $(DEPDIR) to its actual value in the
13247 for file in `sed -n "
13248 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13249 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13250 # Make sure the directory exists.
13251 test -f "$dirpart/$file" && continue
13252 fdir
=`$as_dirname -- "$file" ||
13253 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13254 X"$file" : 'X\(//\)[^/]' \| \
13255 X"$file" : 'X\(//\)$' \| \
13256 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13257 $as_echo X"$file" |
13258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13262 /^X\(\/\/\)[^/].*/{
13275 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13276 # echo "creating $dirpart/$file"
13277 echo '# dummy' > "$dirpart/$file"
13284 # See if we are running on zsh, and set the options which allow our
13285 # commands through without removal of \ escapes.
13286 if test -n "${ZSH_VERSION+set}" ; then
13287 setopt NO_GLOB_SUBST
13290 cfgfile
="${ofile}T"
13291 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13294 cat <<_LT_EOF >> "$cfgfile"
13297 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13298 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13299 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13300 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13302 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13303 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13305 # Written by Gordon Matzigkeit, 1996
13307 # This file is part of GNU Libtool.
13309 # GNU Libtool is free software; you can redistribute it and/or
13310 # modify it under the terms of the GNU General Public License as
13311 # published by the Free Software Foundation; either version 2 of
13312 # the License, or (at your option) any later version.
13314 # As a special exception to the GNU General Public License,
13315 # if you distribute this file as part of a program or library that
13316 # is built using GNU Libtool, you may include this file under the
13317 # same distribution terms that you use for the rest of that program.
13319 # GNU Libtool is distributed in the hope that it will be useful,
13320 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13321 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13322 # GNU General Public License for more details.
13324 # You should have received a copy of the GNU General Public License
13325 # along with GNU Libtool; see the file COPYING. If not, a copy
13326 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13327 # obtained by writing to the Free Software Foundation, Inc.,
13328 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13331 # The names of the tagged configurations supported by this script.
13334 # ### BEGIN LIBTOOL CONFIG
13336 # Which release of libtool.m4 was used?
13337 macro_version=$macro_version
13338 macro_revision=$macro_revision
13340 # Whether or not to build shared libraries.
13341 build_libtool_libs=$enable_shared
13343 # Whether or not to build static libraries.
13344 build_old_libs=$enable_static
13346 # What type of objects to build.
13349 # Whether or not to optimize for fast installation.
13350 fast_install=$enable_fast_install
13352 # Shell to use when invoking shell scripts.
13355 # An echo program that protects backslashes.
13358 # The PATH separator for the build system.
13359 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13362 host_alias=$host_alias
13366 # The build system.
13367 build_alias=$build_alias
13371 # A sed program that does not truncate output.
13374 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13375 Xsed="\$SED -e 1s/^X//"
13377 # A grep program that handles long lines.
13383 # A literal string matcher.
13386 # A BSD- or MS-compatible name lister.
13389 # Whether we need soft or hard links.
13392 # What is the maximum length of a command?
13393 max_cmd_len=$max_cmd_len
13395 # Object file suffix (normally "o").
13398 # Executable file suffix (normally "").
13401 # whether the shell understands "unset".
13404 # turn spaces into newlines.
13407 # turn newlines into spaces.
13410 # convert \$build file names to \$host format.
13411 to_host_file_cmd=$lt_cv_to_host_file_cmd
13413 # convert \$build files to toolchain format.
13414 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13416 # An object symbol dumper.
13417 OBJDUMP=$lt_OBJDUMP
13419 # Method to check whether dependent libraries are shared objects.
13420 deplibs_check_method=$lt_deplibs_check_method
13422 # Command to use when deplibs_check_method = "file_magic".
13423 file_magic_cmd=$lt_file_magic_cmd
13425 # How to find potential files when deplibs_check_method = "file_magic".
13426 file_magic_glob=$lt_file_magic_glob
13428 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13429 want_nocaseglob=$lt_want_nocaseglob
13431 # DLL creation program.
13432 DLLTOOL=$lt_DLLTOOL
13434 # Command to associate shared and link libraries.
13435 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13440 # Flags to create an archive.
13441 AR_FLAGS=$lt_AR_FLAGS
13443 # How to feed a file listing to the archiver.
13444 archiver_list_spec=$lt_archiver_list_spec
13446 # A symbol stripping program.
13449 # Commands used to install an old-style archive.
13451 old_postinstall_cmds=$lt_old_postinstall_cmds
13452 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13454 # Whether to use a lock for old archive extraction.
13455 lock_old_archive_extraction=$lock_old_archive_extraction
13460 # LTCC compiler flags.
13461 LTCFLAGS=$lt_CFLAGS
13463 # Take the output of nm and produce a listing of raw symbols and C names.
13464 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13466 # Transform the output of nm in a proper C declaration.
13467 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13469 # Transform the output of nm in a C name address pair.
13470 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13472 # Transform the output of nm in a C name address pair when lib prefix is needed.
13473 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13475 # Specify filename containing input files for \$NM.
13476 nm_file_list_spec=$lt_nm_file_list_spec
13478 # The root where to search for dependent libraries,and in which our libraries should be installed.
13479 lt_sysroot=$lt_sysroot
13481 # The name of the directory that contains temporary libtool files.
13484 # Used to examine libraries when file_magic_cmd begins with "file".
13485 MAGIC_CMD=$MAGIC_CMD
13487 # Must we lock files when doing compilation?
13488 need_locks=$lt_need_locks
13491 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13493 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13494 DSYMUTIL=$lt_DSYMUTIL
13496 # Tool to change global to local symbols on Mac OS X.
13499 # Tool to manipulate fat objects and archives on Mac OS X.
13502 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13505 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13506 OTOOL64=$lt_OTOOL64
13508 # Old archive suffix (normally "a").
13511 # Shared library suffix (normally ".so").
13512 shrext_cmds=$lt_shrext_cmds
13514 # The commands to extract the exported symbol list from a shared archive.
13515 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13517 # Variables whose values should be saved in libtool wrapper scripts and
13518 # restored at link time.
13519 variables_saved_for_relink=$lt_variables_saved_for_relink
13521 # Do we need the "lib" prefix for modules?
13522 need_lib_prefix=$need_lib_prefix
13524 # Do we need a version for libraries?
13525 need_version=$need_version
13527 # Library versioning type.
13528 version_type=$version_type
13530 # Shared library runtime path variable.
13531 runpath_var=$runpath_var
13533 # Shared library path variable.
13534 shlibpath_var=$shlibpath_var
13536 # Is shlibpath searched before the hard-coded library search path?
13537 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13539 # Format of library name prefix.
13540 libname_spec=$lt_libname_spec
13542 # List of archive names. First name is the real one, the rest are links.
13543 # The last name is the one that the linker finds with -lNAME
13544 library_names_spec=$lt_library_names_spec
13546 # The coded name of the library, if different from the real name.
13547 soname_spec=$lt_soname_spec
13549 # Permission mode override for installation of shared libraries.
13550 install_override_mode=$lt_install_override_mode
13552 # Command to use after installation of a shared archive.
13553 postinstall_cmds=$lt_postinstall_cmds
13555 # Command to use after uninstallation of a shared archive.
13556 postuninstall_cmds=$lt_postuninstall_cmds
13558 # Commands used to finish a libtool library installation in a directory.
13559 finish_cmds=$lt_finish_cmds
13561 # As "finish_cmds", except a single script fragment to be evaled but
13563 finish_eval=$lt_finish_eval
13565 # Whether we should hardcode library paths into libraries.
13566 hardcode_into_libs=$hardcode_into_libs
13568 # Compile-time system search path for libraries.
13569 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13571 # Run-time system search path for libraries.
13572 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13574 # Whether dlopen is supported.
13575 dlopen_support=$enable_dlopen
13577 # Whether dlopen of programs is supported.
13578 dlopen_self=$enable_dlopen_self
13580 # Whether dlopen of statically linked programs is supported.
13581 dlopen_self_static=$enable_dlopen_self_static
13583 # Commands to strip libraries.
13584 old_striplib=$lt_old_striplib
13585 striplib=$lt_striplib
13588 # The linker used to build libraries.
13591 # How to create reloadable object files.
13592 reload_flag=$lt_reload_flag
13593 reload_cmds=$lt_reload_cmds
13595 # Commands used to build an old-style archive.
13596 old_archive_cmds=$lt_old_archive_cmds
13598 # A language specific compiler.
13601 # Is the compiler the GNU compiler?
13604 # Compiler flag to turn off builtin functions.
13605 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13607 # Additional compiler flags for building library objects.
13608 pic_flag=$lt_lt_prog_compiler_pic
13610 # How to pass a linker flag through the compiler.
13611 wl=$lt_lt_prog_compiler_wl
13613 # Compiler flag to prevent dynamic linking.
13614 link_static_flag=$lt_lt_prog_compiler_static
13616 # Does compiler simultaneously support -c and -o options?
13617 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13619 # Whether or not to add -lc for building shared libraries.
13620 build_libtool_need_lc=$archive_cmds_need_lc
13622 # Whether or not to disallow shared libs when runtime libs are static.
13623 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13625 # Compiler flag to allow reflexive dlopens.
13626 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13628 # Compiler flag to generate shared objects directly from archives.
13629 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13631 # Whether the compiler copes with passing no objects directly.
13632 compiler_needs_object=$lt_compiler_needs_object
13634 # Create an old-style archive from a shared archive.
13635 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13637 # Create a temporary old-style archive to link instead of a shared archive.
13638 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13640 # Commands used to build a shared archive.
13641 archive_cmds=$lt_archive_cmds
13642 archive_expsym_cmds=$lt_archive_expsym_cmds
13644 # Commands used to build a loadable module if different from building
13645 # a shared archive.
13646 module_cmds=$lt_module_cmds
13647 module_expsym_cmds=$lt_module_expsym_cmds
13649 # Whether we are building with GNU ld or not.
13650 with_gnu_ld=$lt_with_gnu_ld
13652 # Flag that allows shared libraries with undefined symbols to be built.
13653 allow_undefined_flag=$lt_allow_undefined_flag
13655 # Flag that enforces no undefined symbols.
13656 no_undefined_flag=$lt_no_undefined_flag
13658 # Flag to hardcode \$libdir into a binary during linking.
13659 # This must work even if \$libdir does not exist
13660 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13662 # Whether we need a single "-rpath" flag with a separated argument.
13663 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13665 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13666 # DIR into the resulting binary.
13667 hardcode_direct=$hardcode_direct
13669 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13670 # DIR into the resulting binary and the resulting library dependency is
13671 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13672 # library is relocated.
13673 hardcode_direct_absolute=$hardcode_direct_absolute
13675 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13676 # into the resulting binary.
13677 hardcode_minus_L=$hardcode_minus_L
13679 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13680 # into the resulting binary.
13681 hardcode_shlibpath_var=$hardcode_shlibpath_var
13683 # Set to "yes" if building a shared library automatically hardcodes DIR
13684 # into the library and all subsequent libraries and executables linked
13686 hardcode_automatic=$hardcode_automatic
13688 # Set to yes if linker adds runtime paths of dependent libraries
13689 # to runtime path list.
13690 inherit_rpath=$inherit_rpath
13692 # Whether libtool must link a program against all its dependency libraries.
13693 link_all_deplibs=$link_all_deplibs
13695 # Set to "yes" if exported symbols are required.
13696 always_export_symbols=$always_export_symbols
13698 # The commands to list exported symbols.
13699 export_symbols_cmds=$lt_export_symbols_cmds
13701 # Symbols that should not be listed in the preloaded symbols.
13702 exclude_expsyms=$lt_exclude_expsyms
13704 # Symbols that must always be exported.
13705 include_expsyms=$lt_include_expsyms
13707 # Commands necessary for linking programs (against libraries) with templates.
13708 prelink_cmds=$lt_prelink_cmds
13710 # Commands necessary for finishing linking programs.
13711 postlink_cmds=$lt_postlink_cmds
13713 # Specify filename containing input files.
13714 file_list_spec=$lt_file_list_spec
13716 # How to hardcode a shared library path into an executable.
13717 hardcode_action=$hardcode_action
13719 # ### END LIBTOOL CONFIG
13725 cat <<\_LT_EOF
>> "$cfgfile"
13726 # AIX sometimes has problems with the GCC collect2 program. For some
13727 # reason, if we set the COLLECT_NAMES environment variable, the problems
13728 # vanish in a puff of smoke.
13729 if test "X${COLLECT_NAMES+set}" != Xset
; then
13731 export COLLECT_NAMES
13738 ltmain
="$ac_aux_dir/ltmain.sh"
13741 # We use sed instead of cat because bash on DJGPP gets confused if
13742 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13743 # text mode, it properly converts lines to CR/LF. This bash problem
13744 # is reportedly fixed, but why not run on old versions too?
13745 sed '$q' "$ltmain" >> "$cfgfile" \
13746 ||
(rm -f "$cfgfile"; exit 1)
13748 if test x
"$xsi_shell" = xyes
; then
13749 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13753 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13754 \ * ) func_dirname_result="${3}" ;;\
13756 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13757 && mv -f "$cfgfile.tmp" "$cfgfile" \
13758 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13759 test 0 -eq $? || _lt_function_replace_fail
=:
13762 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13765 \ func_basename_result="${1##*/}"\
13766 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13767 && mv -f "$cfgfile.tmp" "$cfgfile" \
13768 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13769 test 0 -eq $? || _lt_function_replace_fail
=:
13772 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13773 func_dirname_and_basename ()\
13776 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13777 \ * ) func_dirname_result="${3}" ;;\
13779 \ func_basename_result="${1##*/}"\
13780 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13781 && mv -f "$cfgfile.tmp" "$cfgfile" \
13782 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13783 test 0 -eq $? || _lt_function_replace_fail
=:
13786 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13789 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13790 \ # positional parameters, so assign one to ordinary parameter first.\
13791 \ func_stripname_result=${3}\
13792 \ func_stripname_result=${func_stripname_result#"${1}"}\
13793 \ func_stripname_result=${func_stripname_result%"${2}"}\
13794 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13795 && mv -f "$cfgfile.tmp" "$cfgfile" \
13796 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13797 test 0 -eq $? || _lt_function_replace_fail
=:
13800 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13801 func_split_long_opt ()\
13803 \ func_split_long_opt_name=${1%%=*}\
13804 \ func_split_long_opt_arg=${1#*=}\
13805 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13806 && mv -f "$cfgfile.tmp" "$cfgfile" \
13807 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13808 test 0 -eq $? || _lt_function_replace_fail
=:
13811 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13812 func_split_short_opt ()\
13814 \ func_split_short_opt_arg=${1#??}\
13815 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13816 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13817 && mv -f "$cfgfile.tmp" "$cfgfile" \
13818 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13819 test 0 -eq $? || _lt_function_replace_fail
=:
13822 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13826 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13827 \ *) func_lo2o_result=${1} ;;\
13829 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13830 && mv -f "$cfgfile.tmp" "$cfgfile" \
13831 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13832 test 0 -eq $? || _lt_function_replace_fail
=:
13835 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13838 func_xform_result=${1%.*}.lo\
13839 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13840 && mv -f "$cfgfile.tmp" "$cfgfile" \
13841 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13842 test 0 -eq $? || _lt_function_replace_fail
=:
13845 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13848 func_arith_result=$(( $* ))\
13849 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13850 && mv -f "$cfgfile.tmp" "$cfgfile" \
13851 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13852 test 0 -eq $? || _lt_function_replace_fail
=:
13855 sed -e '/^func_len ()$/,/^} # func_len /c\
13858 func_len_result=${#1}\
13859 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13860 && mv -f "$cfgfile.tmp" "$cfgfile" \
13861 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13862 test 0 -eq $? || _lt_function_replace_fail
=:
13866 if test x
"$lt_shell_append" = xyes
; then
13867 sed -e '/^func_append ()$/,/^} # func_append /c\
13870 eval "${1}+=\\${2}"\
13871 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13872 && mv -f "$cfgfile.tmp" "$cfgfile" \
13873 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13874 test 0 -eq $? || _lt_function_replace_fail
=:
13877 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13878 func_append_quoted ()\
13880 \ func_quote_for_eval "${2}"\
13881 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13882 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13883 && mv -f "$cfgfile.tmp" "$cfgfile" \
13884 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13885 test 0 -eq $? || _lt_function_replace_fail
=:
13888 # Save a `func_append' function call where possible by direct use of '+='
13889 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13890 && mv -f "$cfgfile.tmp" "$cfgfile" \
13891 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13892 test 0 -eq $? || _lt_function_replace_fail
=:
13894 # Save a `func_append' function call even when '+=' is not available
13895 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13896 && mv -f "$cfgfile.tmp" "$cfgfile" \
13897 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13898 test 0 -eq $? || _lt_function_replace_fail
=:
13901 if test x
"$_lt_function_replace_fail" = x
":"; then
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13903 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13907 mv -f "$cfgfile" "$ofile" ||
13908 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13919 ac_clean_files
=$ac_clean_files_save
13921 test $ac_write_fail = 0 ||
13922 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13925 # configure is writing to config.log, and then calls config.status.
13926 # config.status does its own redirection, appending to config.log.
13927 # Unfortunately, on DOS this fails, as config.log is still kept open
13928 # by configure, so config.status won't be able to write to it; its
13929 # output is simply discarded. So we exec the FD to /dev/null,
13930 # effectively closing config.log, so it can be properly (re)opened and
13931 # appended to by config.status. When coming back to configure, we
13932 # need to make the FD available again.
13933 if test "$no_create" != yes; then
13935 ac_config_status_args
=
13936 test "$silent" = yes &&
13937 ac_config_status_args
="$ac_config_status_args --quiet"
13939 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13942 # would make configure fail if this is the last instruction.
13943 $ac_cs_success || as_fn_exit
1
13945 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13947 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}