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
701 INSTALL_STRIP_PROGRAM
743 program_transform_name
756 enable_option_checking
758 enable_dependency_tracking
768 ac_precious_vars
='build_alias
780 # Initialize some variables set by options.
782 ac_init_version
=false
783 ac_unrecognized_opts
=
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
794 program_transform_name
=s
,x
,x
,
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir
='${exec_prefix}/bin'
809 sbindir
='${exec_prefix}/sbin'
810 libexecdir
='${exec_prefix}/libexec'
811 datarootdir
='${prefix}/share'
812 datadir
='${datarootdir}'
813 sysconfdir
='${prefix}/etc'
814 sharedstatedir
='${prefix}/com'
815 localstatedir
='${prefix}/var'
816 includedir
='${prefix}/include'
817 oldincludedir
='/usr/include'
818 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir
='${datarootdir}/info'
824 libdir
='${exec_prefix}/lib'
825 localedir
='${datarootdir}/locale'
826 mandir
='${datarootdir}/man'
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\
$ac_option
840 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845 # Accept the important Cygnus configure options, so we can diagnose typos.
847 case $ac_dashdash$ac_option in
851 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
853 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
856 -build |
--build |
--buil |
--bui |
--bu)
857 ac_prev
=build_alias
;;
858 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
859 build_alias
=$ac_optarg ;;
861 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
862 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
863 ac_prev
=cache_file
;;
864 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
865 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
866 cache_file
=$ac_optarg ;;
869 cache_file
=config.cache
;;
871 -datadir |
--datadir |
--datadi |
--datad)
873 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
874 datadir
=$ac_optarg ;;
876 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
877 |
--dataroo |
--dataro |
--datar)
878 ac_prev
=datarootdir
;;
879 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
880 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
881 datarootdir
=$ac_optarg ;;
883 -disable-* |
--disable-*)
884 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
887 as_fn_error $?
"invalid feature name: $ac_useropt"
888 ac_useropt_orig
=$ac_useropt
889 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890 case $ac_user_opts in
894 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
895 ac_unrecognized_sep
=', ';;
897 eval enable_
$ac_useropt=no
;;
899 -docdir |
--docdir |
--docdi |
--doc |
--do)
901 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
904 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
906 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
909 -enable-* |
--enable-*)
910 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
911 # Reject names that are not valid shell variable names.
912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
913 as_fn_error $?
"invalid feature name: $ac_useropt"
914 ac_useropt_orig
=$ac_useropt
915 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 case $ac_user_opts in
920 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
921 ac_unrecognized_sep
=', ';;
923 eval enable_
$ac_useropt=\
$ac_optarg ;;
925 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
926 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
927 |
--exec |
--exe |
--ex)
928 ac_prev
=exec_prefix
;;
929 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
930 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
931 |
--exec=* |
--exe=* |
--ex=*)
932 exec_prefix
=$ac_optarg ;;
934 -gas |
--gas |
--ga |
--g)
935 # Obsolete; use --with-gas.
938 -help |
--help |
--hel |
--he |
-h)
940 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
941 ac_init_help
=recursive
;;
942 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
943 ac_init_help
=short
;;
945 -host |
--host |
--hos |
--ho)
946 ac_prev
=host_alias
;;
947 -host=* |
--host=* |
--hos=* |
--ho=*)
948 host_alias
=$ac_optarg ;;
950 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
952 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
954 htmldir
=$ac_optarg ;;
956 -includedir |
--includedir |
--includedi |
--included |
--include \
957 |
--includ |
--inclu |
--incl |
--inc)
958 ac_prev
=includedir
;;
959 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
960 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
961 includedir
=$ac_optarg ;;
963 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
965 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
966 infodir
=$ac_optarg ;;
968 -libdir |
--libdir |
--libdi |
--libd)
970 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
973 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
974 |
--libexe |
--libex |
--libe)
975 ac_prev
=libexecdir
;;
976 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
977 |
--libexe=* |
--libex=* |
--libe=*)
978 libexecdir
=$ac_optarg ;;
980 -localedir |
--localedir |
--localedi |
--localed |
--locale)
982 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
983 localedir
=$ac_optarg ;;
985 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
986 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
987 ac_prev
=localstatedir
;;
988 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
989 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
990 localstatedir
=$ac_optarg ;;
992 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
994 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
998 # Obsolete; use --without-fp.
1001 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1002 |
--no-cr |
--no-c |
-n)
1005 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1006 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1009 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1010 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1011 |
--oldin |
--oldi |
--old |
--ol |
--o)
1012 ac_prev
=oldincludedir
;;
1013 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1014 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1015 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1016 oldincludedir
=$ac_optarg ;;
1018 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1020 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1021 prefix
=$ac_optarg ;;
1023 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1024 |
--program-pre |
--program-pr |
--program-p)
1025 ac_prev
=program_prefix
;;
1026 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1027 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1028 program_prefix
=$ac_optarg ;;
1030 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1031 |
--program-suf |
--program-su |
--program-s)
1032 ac_prev
=program_suffix
;;
1033 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1034 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1035 program_suffix
=$ac_optarg ;;
1037 -program-transform-name |
--program-transform-name \
1038 |
--program-transform-nam |
--program-transform-na \
1039 |
--program-transform-n |
--program-transform- \
1040 |
--program-transform |
--program-transfor \
1041 |
--program-transfo |
--program-transf \
1042 |
--program-trans |
--program-tran \
1043 |
--progr-tra |
--program-tr |
--program-t)
1044 ac_prev
=program_transform_name
;;
1045 -program-transform-name=* |
--program-transform-name=* \
1046 |
--program-transform-nam=* |
--program-transform-na=* \
1047 |
--program-transform-n=* |
--program-transform-=* \
1048 |
--program-transform=* |
--program-transfor=* \
1049 |
--program-transfo=* |
--program-transf=* \
1050 |
--program-trans=* |
--program-tran=* \
1051 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1052 program_transform_name
=$ac_optarg ;;
1054 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1056 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1057 pdfdir
=$ac_optarg ;;
1059 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1061 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1064 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1065 |
-silent |
--silent |
--silen |
--sile |
--sil)
1068 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1070 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1072 sbindir
=$ac_optarg ;;
1074 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1075 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1076 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1078 ac_prev
=sharedstatedir
;;
1079 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1080 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1081 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1083 sharedstatedir
=$ac_optarg ;;
1085 -site |
--site |
--sit)
1087 -site=* |
--site=* |
--sit=*)
1090 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1092 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1093 srcdir
=$ac_optarg ;;
1095 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1096 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1097 ac_prev
=sysconfdir
;;
1098 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1099 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1100 sysconfdir
=$ac_optarg ;;
1102 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1103 ac_prev
=target_alias
;;
1104 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1105 target_alias
=$ac_optarg ;;
1107 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1110 -version |
--version |
--versio |
--versi |
--vers |
-V)
1111 ac_init_version
=: ;;
1114 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1117 as_fn_error $?
"invalid package name: $ac_useropt"
1118 ac_useropt_orig
=$ac_useropt
1119 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1124 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1125 ac_unrecognized_sep
=', ';;
1127 eval with_
$ac_useropt=\
$ac_optarg ;;
1129 -without-* |
--without-*)
1130 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1131 # Reject names that are not valid shell variable names.
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1133 as_fn_error $?
"invalid package name: $ac_useropt"
1134 ac_useropt_orig
=$ac_useropt
1135 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136 case $ac_user_opts in
1140 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1141 ac_unrecognized_sep
=', ';;
1143 eval with_
$ac_useropt=no
;;
1146 # Obsolete; use --with-x.
1149 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1150 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1151 ac_prev
=x_includes
;;
1152 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1153 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1154 x_includes
=$ac_optarg ;;
1156 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1157 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1158 ac_prev
=x_libraries
;;
1159 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1160 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1161 x_libraries
=$ac_optarg ;;
1163 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1164 Try \`$0 --help' for more information"
1168 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1169 # Reject names that are not valid shell variable names.
1170 case $ac_envvar in #(
1171 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1172 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1174 eval $ac_envvar=\
$ac_optarg
1175 export $ac_envvar ;;
1178 # FIXME: should be removed in autoconf 3.0.
1179 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1180 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1181 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1182 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1188 if test -n "$ac_prev"; then
1189 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1190 as_fn_error $?
"missing argument to $ac_option"
1193 if test -n "$ac_unrecognized_opts"; then
1194 case $enable_option_checking in
1196 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1197 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1201 # Check all directory arguments for consistency.
1202 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1203 datadir sysconfdir sharedstatedir localstatedir includedir \
1204 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1205 libdir localedir mandir
1207 eval ac_val
=\$
$ac_var
1208 # Remove trailing slashes.
1211 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1212 eval $ac_var=\
$ac_val;;
1214 # Be sure to have absolute directory names.
1216 [\\/$
]* | ?
:[\\/]* ) continue;;
1217 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1219 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1222 # There might be people who depend on the old broken behavior: `$host'
1223 # used to hold the argument of --host etc.
1224 # FIXME: To remove some day.
1227 target
=$target_alias
1229 # FIXME: To remove some day.
1230 if test "x$host_alias" != x
; then
1231 if test "x$build_alias" = x
; then
1232 cross_compiling
=maybe
1233 elif test "x$build_alias" != "x$host_alias"; then
1239 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1241 test "$silent" = yes && exec 6>/dev
/null
1244 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1245 ac_ls_di
=`ls -di .` &&
1246 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1247 as_fn_error $?
"working directory cannot be determined"
1248 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1249 as_fn_error $?
"pwd does not report name of working directory"
1252 # Find the source files, if location was not specified.
1253 if test -z "$srcdir"; then
1254 ac_srcdir_defaulted
=yes
1255 # Try the directory containing this script, then the parent directory.
1256 ac_confdir
=`$as_dirname -- "$as_myself" ||
1257 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1258 X"$as_myself" : 'X\(//\)[^/]' \| \
1259 X"$as_myself" : 'X\(//\)$' \| \
1260 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1261 $as_echo X"$as_myself" |
1262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1280 if test ! -r "$srcdir/$ac_unique_file"; then
1284 ac_srcdir_defaulted
=no
1286 if test ! -r "$srcdir/$ac_unique_file"; then
1287 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1288 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1290 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1292 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1294 # When building in place, set srcdir=.
1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
1298 # Remove unnecessary trailing slashes from srcdir.
1299 # Double slashes in file names in object file debugging info
1300 # mess up M-x gdb in Emacs.
1302 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 for ac_var
in $ac_precious_vars; do
1305 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1306 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1307 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1308 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1312 # Report the --help message.
1314 if test "$ac_init_help" = "long"; then
1315 # Omit some internal or obsolete options to make the list less imposing.
1316 # This message is too long to be a string in the A/UX 3.1 sh.
1318 \`configure' configures libhmac 1.00 to adapt to many kinds of systems.
1320 Usage: $0 [OPTION]... [VAR=VALUE]...
1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1323 VAR=VALUE. See below for descriptions of some of the useful variables.
1325 Defaults for the options are specified in brackets.
1328 -h, --help display this help and exit
1329 --help=short display options specific to this package
1330 --help=recursive display the short help of all the included packages
1331 -V, --version display version information and exit
1332 -q, --quiet, --silent do not print \`checking ...' messages
1333 --cache-file=FILE cache test results in FILE [disabled]
1334 -C, --config-cache alias for \`--cache-file=config.cache'
1335 -n, --no-create do not create output files
1336 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338 Installation directories:
1339 --prefix=PREFIX install architecture-independent files in PREFIX
1340 [$ac_default_prefix]
1341 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1344 By default, \`make install' will install all the files in
1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1347 for instance \`--prefix=\$HOME'.
1349 For better control, use the options below.
1351 Fine tuning of the installation directories:
1352 --bindir=DIR user executables [EPREFIX/bin]
1353 --sbindir=DIR system admin executables [EPREFIX/sbin]
1354 --libexecdir=DIR program executables [EPREFIX/libexec]
1355 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1356 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1357 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1358 --libdir=DIR object code libraries [EPREFIX/lib]
1359 --includedir=DIR C header files [PREFIX/include]
1360 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1361 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1362 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1363 --infodir=DIR info documentation [DATAROOTDIR/info]
1364 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1365 --mandir=DIR man documentation [DATAROOTDIR/man]
1366 --docdir=DIR documentation root [DATAROOTDIR/doc/libhmac]
1367 --htmldir=DIR html documentation [DOCDIR]
1368 --dvidir=DIR dvi documentation [DOCDIR]
1369 --pdfdir=DIR pdf documentation [DOCDIR]
1370 --psdir=DIR ps documentation [DOCDIR]
1376 --program-prefix=PREFIX prepend PREFIX to installed program names
1377 --program-suffix=SUFFIX append SUFFIX to installed program names
1378 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1381 --build=BUILD configure
for building on BUILD
[guessed
]
1382 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1386 if test -n "$ac_init_help"; then
1387 case $ac_init_help in
1388 short | recursive
) echo "Configuration of libhmac 1.00:";;
1393 --disable-option-checking ignore unrecognized
--enable/--with options
1394 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1395 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1396 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1397 --disable-silent-rules verbose build output
(undo
: "make V=0")
1398 --enable-dependency-tracking
1399 do not reject slow dependency extractors
1400 --disable-dependency-tracking
1401 speeds up one-time build
1402 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1403 --enable-static[=PKGS
] build static libraries
[default
=yes]
1404 --enable-fast-install[=PKGS
]
1405 optimize
for fast installation
[default
=yes]
1406 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1409 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1410 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1411 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1413 --with-aix-soname=aix|svr4|both
1414 shared library versioning
(aka
"SONAME") variant to
1415 provide on AIX
, [default
=aix
].
1416 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1417 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1418 compiler
's sysroot if not specified).
1420 Some influential environment variables:
1421 CC C compiler command
1422 CFLAGS C compiler flags
1423 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1424 nonstandard directory <lib dir>
1425 LIBS libraries to pass to the linker, e.g. -l<library>
1426 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1427 you have headers in a nonstandard directory <include dir>
1429 User-defined run-time library search path.
1432 Use these variables to override the choices made by `configure' or to
help
1433 it to
find libraries and programs with nonstandard names
/locations.
1435 Report bugs to
<courier-users@lists.sourceforge.net
>.
1440 if test "$ac_init_help" = "recursive"; then
1441 # If there are subdirs, report their specific --help.
1442 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1443 test -d "$ac_dir" ||
1444 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1449 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1451 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1452 # A ".." for each directory in $ac_dir_suffix.
1453 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1454 case $ac_top_builddir_sub in
1455 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1456 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1459 ac_abs_top_builddir
=$ac_pwd
1460 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1461 # for backward compatibility:
1462 ac_top_builddir
=$ac_top_build_prefix
1465 .
) # We are building in place.
1467 ac_top_srcdir
=$ac_top_builddir_sub
1468 ac_abs_top_srcdir
=$ac_pwd ;;
1469 [\\/]* | ?
:[\\/]* ) # Absolute name.
1470 ac_srcdir
=$srcdir$ac_dir_suffix;
1471 ac_top_srcdir
=$srcdir
1472 ac_abs_top_srcdir
=$srcdir ;;
1474 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1475 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1476 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1478 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1480 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1481 # Check for guested configure.
1482 if test -f "$ac_srcdir/configure.gnu"; then
1484 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1485 elif test -f "$ac_srcdir/configure"; then
1487 $SHELL "$ac_srcdir/configure" --help=recursive
1489 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1491 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1495 test -n "$ac_init_help" && exit $ac_status
1496 if $ac_init_version; then
1498 libhmac configure
1.00
1499 generated by GNU Autoconf
2.69
1501 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1502 This configure
script is free software
; the Free Software Foundation
1503 gives unlimited permission to copy
, distribute and modify it.
1508 ## ------------------------ ##
1509 ## Autoconf initialization. ##
1510 ## ------------------------ ##
1512 # ac_fn_c_try_compile LINENO
1513 # --------------------------
1514 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1515 ac_fn_c_try_compile
()
1517 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1518 rm -f conftest.
$ac_objext
1519 if { { ac_try
="$ac_compile"
1521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1522 *) ac_try_echo=$ac_try;;
1524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525 $as_echo "$ac_try_echo"; } >&5
1526 (eval "$ac_compile") 2>conftest.err
1528 if test -s conftest.err; then
1529 grep -v '^ *+' conftest.err >conftest.er1
1530 cat conftest.er1 >&5
1531 mv -f conftest.er1 conftest.err
1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534 test $ac_status = 0; } && {
1535 test -z "$ac_c_werror_flag" ||
1536 test ! -s conftest.err
1537 } && test -s conftest.$ac_objext; then :
1540 $as_echo "$as_me: failed program was:" >&5
1541 sed 's/^/| /' conftest.$ac_ext >&5
1545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1546 as_fn_set_status $ac_retval
1548 } # ac_fn_c_try_compile
1550 # ac_fn_c_try_link LINENO
1551 # -----------------------
1552 # Try to link conftest.$ac_ext, and return whether this succeeded.
1555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1556 rm -f conftest.$ac_objext conftest$ac_exeext
1557 if { { ac_try="$ac_link"
1559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1560 *) ac_try_echo
=$ac_try;;
1562 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564 (eval "$ac_link") 2>conftest.err
1566 if test -s conftest.err
; then
1567 grep -v '^ *+' conftest.err
>conftest.er1
1568 cat conftest.er1
>&5
1569 mv -f conftest.er1 conftest.err
1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572 test $ac_status = 0; } && {
1573 test -z "$ac_c_werror_flag" ||
1574 test ! -s conftest.err
1575 } && test -s conftest
$ac_exeext && {
1576 test "$cross_compiling" = yes ||
1577 test -x conftest
$ac_exeext
1581 $as_echo "$as_me: failed program was:" >&5
1582 sed 's/^/| /' conftest.
$ac_ext >&5
1586 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1587 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1588 # interfere with the next link command; also delete a directory that is
1589 # left behind by Apple's compiler. We do this before executing the actions.
1590 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status
$ac_retval
1594 } # ac_fn_c_try_link
1596 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1597 # -------------------------------------------------------
1598 # Tests whether HEADER exists and can be compiled using the include files in
1599 # INCLUDES, setting the cache variable VAR accordingly.
1600 ac_fn_c_check_header_compile
()
1602 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604 $as_echo_n "checking for $2... " >&6; }
1605 if eval \
${$3+:} false
; then :
1606 $as_echo_n "(cached) " >&6
1608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1609 /* end confdefs.h. */
1613 if ac_fn_c_try_compile
"$LINENO"; then :
1618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622 $as_echo "$ac_res" >&6; }
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 } # ac_fn_c_check_header_compile
1627 # ac_fn_c_try_cpp LINENO
1628 # ----------------------
1629 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1632 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1633 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1642 if test -s conftest.err; then
1643 grep -v '^ *+' conftest.err >conftest.er1
1644 cat conftest.er1 >&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } > conftest.i && {
1649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 as_fn_set_status $ac_retval
1664 # ac_fn_c_try_run LINENO
1665 # ----------------------
1666 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1667 # that executables *can* be run.
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 if { { ac_try="$ac_link"
1673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1674 *) ac_try_echo
=$ac_try;;
1676 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_link") 2>&5
1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1682 { { case "(($ac_try" in
1683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_try") 2>&5
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; }; }; then :
1694 $as_echo "$as_me: program exited with status $ac_status" >&5
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1698 ac_retval=$ac_status
1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status $ac_retval
1706 # ac_fn_c_check_func LINENO FUNC VAR
1707 # ----------------------------------
1708 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1709 ac_fn_c_check_func ()
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if eval \${$3+:} false; then :
1715 $as_echo_n "(cached) " >&6
1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h. */
1719 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1721 #define $2 innocuous_$2
1723 /* System header to define __stub macros and hopefully few prototypes,
1724 which can conflict with char $2 (); below.
1725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1726 <limits.h> exists even on freestanding compilers. */
1729 # include <limits.h>
1731 # include <assert.h>
1736 /* Override any GCC internal prototype to avoid an error.
1737 Use char because int might match the return type of a GCC
1738 builtin and then its argument prototype would still apply. */
1743 /* The GNU C library defines this for functions which it implements
1744 to always fail with ENOSYS. Some functions are actually named
1745 something starting with __ and the normal name is an alias. */
1746 #if defined __stub_$2 || defined __stub___$2
1758 if ac_fn_c_try_link "$LINENO"; then :
1763 rm -f core conftest.err conftest.$ac_objext \
1764 conftest$ac_exeext conftest.$ac_ext
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 } # ac_fn_c_check_func
1773 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1774 # -------------------------------------------
1775 # Tests whether TYPE exists after having included INCLUDES, setting cache
1776 # variable VAR accordingly.
1777 ac_fn_c_check_type ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if eval \${$3+:} false; then :
1783 $as_echo_n "(cached) " >&6
1786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1787 /* end confdefs.h. */
1798 if ac_fn_c_try_compile "$LINENO"; then :
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1811 if ac_fn_c_try_compile "$LINENO"; then :
1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 } # ac_fn_c_check_type
1826 cat >config.log <<_ACEOF
1827 This file contains any messages produced by compilers while
1828 running configure, to aid debugging if configure makes a mistake.
1830 It was created by libhmac $as_me 1.00, which was
1831 generated by GNU Autoconf 2.69. Invocation command line was
1843 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1844 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1845 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1846 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1847 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1849 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1850 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1852 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1853 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1854 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1855 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1856 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1857 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1858 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1866 test -z "$as_dir" && as_dir=.
1867 $as_echo "PATH: $as_dir"
1883 # Keep a trace of the command line.
1884 # Strip out --no-create and --no-recursion so they do not pile up.
1885 # Strip out --silent because we don't want to record it for future runs.
1886 # Also quote any args containing shell meta-characters.
1887 # Make two passes to allow for proper duplicate-argument suppression.
1891 ac_must_keep_next=false
1897 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1898 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1899 | -silent | --silent | --silen | --sile | --sil)
1902 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1905 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1907 as_fn_append ac_configure_args1 " '$ac_arg'"
1908 if test $ac_must_keep_next = true; then
1909 ac_must_keep_next=false # Got value, back to normal.
1912 *=* | --config-cache | -C | -disable-* | --disable-* \
1913 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1914 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1915 | -with-* | --with-* | -without-* | --without-* | --x)
1916 case "$ac_configure_args0 " in
1917 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1920 -* ) ac_must_keep_next=true ;;
1923 as_fn_append ac_configure_args " '$ac_arg'"
1928 { ac_configure_args0=; unset ac_configure_args0;}
1929 { ac_configure_args1=; unset ac_configure_args1;}
1931 # When interrupted or exit'd, cleanup temporary files, and complete
1932 # config.log. We remove comments because anyway the quotes in there
1933 # would cause problems or look ugly.
1934 # WARNING: Use '\'' to represent an apostrophe within the trap.
1935 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1936 trap 'exit_status=$?
1937 # Save into config.log some information that might help in debugging.
1941 $as_echo "## ---------------- ##
1942 ## Cache variables. ##
1943 ## ---------------- ##"
1945 # The following way of writing the cache mishandles newlines in values,
1947 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1948 eval ac_val=\$$ac_var
1952 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1953 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1956 _ | IFS | as_nl) ;; #(
1957 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1958 *) { eval $ac_var=; unset $ac_var;} ;;
1963 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1964 *${as_nl}ac_space=\ *)
1966 "s/'\''/'\''\\\\'\'''\''/g;
1967 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1970 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1977 $as_echo "## ----------------- ##
1978 ## Output variables. ##
1979 ## ----------------- ##"
1981 for ac_var in $ac_subst_vars
1983 eval ac_val=\$$ac_var
1985 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1987 $as_echo "$ac_var='\''$ac_val'\''"
1991 if test -n "$ac_subst_files"; then
1992 $as_echo "## ------------------- ##
1993 ## File substitutions. ##
1994 ## ------------------- ##"
1996 for ac_var in $ac_subst_files
1998 eval ac_val=\$$ac_var
2000 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2002 $as_echo "$ac_var='\''$ac_val'\''"
2007 if test -s confdefs.h; then
2008 $as_echo "## ----------- ##
2015 test "$ac_signal" != 0 &&
2016 $as_echo "$as_me: caught signal $ac_signal"
2017 $as_echo "$as_me: exit $exit_status"
2019 rm -f core *.core core.conftest.* &&
2020 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2023 for ac_signal in 1 2 13 15; do
2024 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2028 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2029 rm -f -r conftest* confdefs.h
2031 $as_echo "/* confdefs.h */" > confdefs.h
2033 # Predefined preprocessor variables.
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_NAME "$PACKAGE_NAME"
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_STRING "$PACKAGE_STRING"
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2055 cat >>confdefs.h <<_ACEOF
2056 #define PACKAGE_URL "$PACKAGE_URL"
2060 # Let the site file select an alternate cache file if it wants to.
2061 # Prefer an explicitly selected file to automatically selected ones.
2064 if test -n "$CONFIG_SITE"; then
2065 # We do not want a PATH search for config.site.
2066 case $CONFIG_SITE in #((
2067 -*) ac_site_file1=./$CONFIG_SITE;;
2068 */*) ac_site_file1=$CONFIG_SITE;;
2069 *) ac_site_file1=./$CONFIG_SITE;;
2071 elif test "x$prefix" != xNONE; then
2072 ac_site_file1=$prefix/share/config.site
2073 ac_site_file2=$prefix/etc/config.site
2075 ac_site_file1=$ac_default_prefix/share/config.site
2076 ac_site_file2=$ac_default_prefix/etc/config.site
2078 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2080 test "x$ac_site_file" = xNONE && continue
2081 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2083 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2084 sed 's/^/| /' "$ac_site_file" >&5
2086 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2088 as_fn_error $? "failed to load site
script $ac_site_file
2089 See \
`config.log' for more details" "$LINENO" 5; }
2093 if test -r "$cache_file"; then
2094 # Some versions of bash will fail to source /dev/null (special files
2095 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2096 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2098 $as_echo "$as_me: loading cache $cache_file" >&6;}
2100 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2101 *) . "./$cache_file";;
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2106 $as_echo "$as_me: creating cache $cache_file" >&6;}
2110 # Check that the precious variables saved in the cache have kept the same
2112 ac_cache_corrupted=false
2113 for ac_var in $ac_precious_vars; do
2114 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2115 eval ac_new_set=\$ac_env_${ac_var}_set
2116 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2117 eval ac_new_val=\$ac_env_${ac_var}_value
2118 case $ac_old_set,$ac_new_set in
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2121 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2122 ac_cache_corrupted=: ;;
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2125 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2126 ac_cache_corrupted=: ;;
2129 if test "x$ac_old_val" != "x$ac_new_val"; then
2130 # differences in whitespace do not lead to failure.
2131 ac_old_val_w=`echo x
$ac_old_val`
2132 ac_new_val_w=`echo x
$ac_new_val`
2133 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2135 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2136 ac_cache_corrupted=:
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2139 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2140 eval $ac_var=\$ac_old_val
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2143 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2145 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2148 # Pass precious variables to config.status.
2149 if test "$ac_new_set" = set; then
2151 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2152 *) ac_arg=$ac_var=$ac_new_val ;;
2154 case " $ac_configure_args " in
2155 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2156 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2160 if $ac_cache_corrupted; then
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2164 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2165 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2167 ## -------------------- ##
2168 ## Main body of script. ##
2169 ## -------------------- ##
2172 ac_cpp='$CPP $CPPFLAGS'
2173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2179 >confdefs.h # Kill PACKAGE_ macros
2183 for ac_dir in ../.. "$srcdir"/../..; do
2184 if test -f "$ac_dir/install-sh"; then
2186 ac_install_sh="$ac_aux_dir/install-sh -c"
2188 elif test -f "$ac_dir/install.sh"; then
2190 ac_install_sh="$ac_aux_dir/install.sh -c"
2192 elif test -f "$ac_dir/shtool"; then
2194 ac_install_sh="$ac_aux_dir/shtool install -c"
2198 if test -z "$ac_aux_dir"; then
2199 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2202 # These three variables are undocumented and unsupported,
2203 # and are intended to be withdrawn in a future Autoconf release.
2204 # They can cause serious problems if a builder's source tree is in a directory
2205 # whose full name contains unusual characters.
2206 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2207 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2208 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2211 am__api_version='1.15'
2213 # Find a good install program. We prefer a C program (faster),
2214 # so one script is as good as another. But avoid the broken or
2215 # incompatible versions:
2216 # SysV /etc/install, /usr/sbin/install
2217 # SunOS /usr/etc/install
2218 # IRIX /sbin/install
2220 # AmigaOS /C/install, which installs bootblocks on floppy discs
2221 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2222 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2223 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2224 # OS/2's system install, which has a completely different semantic
2225 # ./install, which can be erroneously created by make from ./install.sh.
2226 # Reject install programs that cannot install multiple files.
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2228 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2229 if test -z "$INSTALL"; then
2230 if ${ac_cv_path_install+:} false; then :
2231 $as_echo_n "(cached) " >&6
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir=.
2238 # Account for people who put trailing slashes in PATH elements.
2239 case $as_dir/ in #((
2240 ./ | .// | /[cC]/* | \
2241 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2242 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2245 # OSF1 and SCO ODT 3.0 have their own names for install.
2246 # Don't use installbsd from OSF since it installs stuff as root
2248 for ac_prog in ginstall scoinst install; do
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2251 if test $ac_prog = install &&
2252 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2253 # AIX install. It has an incompatible calling convention.
2255 elif test $ac_prog = install &&
2256 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2257 # program-specific install script used by HP pwplus--don't use.
2260 rm -rf conftest.one conftest.two conftest.dir
2261 echo one > conftest.one
2262 echo two > conftest.two
2264 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2265 test -s conftest.one && test -s conftest.two &&
2266 test -s conftest.dir/conftest.one &&
2267 test -s conftest.dir/conftest.two
2269 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2282 rm -rf conftest.one conftest.two conftest.dir
2285 if test "${ac_cv_path_install+set}" = set; then
2286 INSTALL=$ac_cv_path_install
2288 # As a last resort, use the slow shell script. Don't cache a
2289 # value for INSTALL within a source directory, because that will
2290 # break other packages using the cache if that directory is
2291 # removed, or if the value is a relative name.
2292 INSTALL=$ac_install_sh
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2296 $as_echo "$INSTALL" >&6; }
2298 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2299 # It thinks the first close brace ends the variable substitution.
2300 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2302 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2304 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2307 $as_echo_n "checking whether build environment is sane... " >&6; }
2308 # Reject unsafe characters in $srcdir or the absolute working directory
2309 # name. Accept space and tab only in the latter.
2313 *[\\\"\#\$\&\'\`$am_lf]*)
2314 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2317 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2318 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2321 # Do 'set' in a subshell so we don't clobber the current shell's
2322 # arguments. Must try -L first in case configure is actually a
2323 # symlink; some systems play weird games with the mod time of symlinks
2324 # (eg FreeBSD returns the mod time of the symlink's containing
2328 for am_try
in 1 2; do
2329 echo "timestamp, slept: $am_has_slept" > conftest.
file
2330 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2331 if test "$*" = "X"; then
2333 set X
`ls -t "$srcdir/configure" conftest.file`
2335 if test "$*" != "X $srcdir/configure conftest.file" \
2336 && test "$*" != "X conftest.file $srcdir/configure"; then
2338 # If neither matched, then we have a broken ls. This can happen
2339 # if, for instance, CONFIG_SHELL is bash and it inherits a
2340 # broken ls alias from the environment. This has actually
2341 # happened. Such a system could not be considered "sane".
2342 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2343 alias in your environment" "$LINENO" 5
2345 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2352 test "$2" = conftest.
file
2358 as_fn_error $?
"newly created file is older than distributed files!
2359 Check your system clock" "$LINENO" 5
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2362 $as_echo "yes" >&6; }
2363 # If we didn't sleep, we still need to ensure time stamps of config.status and
2364 # generated files are strictly newer.
2366 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2373 test "$program_prefix" != NONE
&&
2374 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2375 # Use a double $ so make ignores it.
2376 test "$program_suffix" != NONE
&&
2377 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2378 # Double any \ or $.
2379 # By default was `s,x,x', remove it if useless.
2380 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2381 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2383 # Expand $ac_aux_dir to an absolute path.
2384 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2386 if test x
"${MISSING+set}" != xset
; then
2389 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2391 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2394 # Use eval to expand $SHELL
2395 if eval "$MISSING --is-lightweight"; then
2396 am_missing_run
="$MISSING "
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2400 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2403 if test x
"${install_sh+set}" != xset
; then
2406 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2408 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2412 # Installed binaries are usually stripped using 'strip' when the user
2413 # run "make install-strip". However 'strip' might not be the right
2414 # tool to use in cross-compilation environments, therefore Automake
2415 # will honor the 'STRIP' environment variable to overrule this program.
2416 if test "$cross_compiling" != no
; then
2417 if test -n "$ac_tool_prefix"; then
2418 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2419 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2421 $as_echo_n "checking for $ac_word... " >&6; }
2422 if ${ac_cv_prog_STRIP+:} false
; then :
2423 $as_echo_n "(cached) " >&6
2425 if test -n "$STRIP"; then
2426 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir
=.
2433 for ac_exec_ext
in '' $ac_executable_extensions; do
2434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2435 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 STRIP
=$ac_cv_prog_STRIP
2446 if test -n "$STRIP"; then
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2448 $as_echo "$STRIP" >&6; }
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2451 $as_echo "no" >&6; }
2456 if test -z "$ac_cv_prog_STRIP"; then
2458 # Extract the first word of "strip", so it can be a program name with args.
2459 set dummy strip
; ac_word
=$2
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461 $as_echo_n "checking for $ac_word... " >&6; }
2462 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2463 $as_echo_n "(cached) " >&6
2465 if test -n "$ac_ct_STRIP"; then
2466 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir
=.
2473 for ac_exec_ext
in '' $ac_executable_extensions; do
2474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2475 ac_cv_prog_ac_ct_STRIP
="strip"
2476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2486 if test -n "$ac_ct_STRIP"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2488 $as_echo "$ac_ct_STRIP" >&6; }
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491 $as_echo "no" >&6; }
2494 if test "x$ac_ct_STRIP" = x
; then
2497 case $cross_compiling:$ac_tool_warned in
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2501 ac_tool_warned
=yes ;;
2506 STRIP
="$ac_cv_prog_STRIP"
2510 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2513 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2514 if test -z "$MKDIR_P"; then
2515 if ${ac_cv_path_mkdir+:} false
; then :
2516 $as_echo_n "(cached) " >&6
2518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2519 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2522 test -z "$as_dir" && as_dir
=.
2523 for ac_prog
in mkdir gmkdir
; do
2524 for ac_exec_ext
in '' $ac_executable_extensions; do
2525 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2526 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2527 'mkdir (GNU coreutils) '* | \
2528 'mkdir (coreutils) '* | \
2529 'mkdir (fileutils) '4.1*)
2530 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2540 test -d .
/--version && rmdir .
/--version
2541 if test "${ac_cv_path_mkdir+set}" = set; then
2542 MKDIR_P
="$ac_cv_path_mkdir -p"
2544 # As a last resort, use the slow shell script. Don't cache a
2545 # value for MKDIR_P within a source directory, because that will
2546 # break other packages using the cache if that directory is
2547 # removed, or if the value is a relative name.
2548 MKDIR_P
="$ac_install_sh -d"
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2552 $as_echo "$MKDIR_P" >&6; }
2554 for ac_prog
in gawk mawk nawk
awk
2556 # Extract the first word of "$ac_prog", so it can be a program name with args.
2557 set dummy
$ac_prog; ac_word
=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if ${ac_cv_prog_AWK+:} false
; then :
2561 $as_echo_n "(cached) " >&6
2563 if test -n "$AWK"; then
2564 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2570 test -z "$as_dir" && as_dir
=.
2571 for ac_exec_ext
in '' $ac_executable_extensions; do
2572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2573 ac_cv_prog_AWK
="$ac_prog"
2574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 if test -n "$AWK"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2586 $as_echo "$AWK" >&6; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2589 $as_echo "no" >&6; }
2593 test -n "$AWK" && break
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2597 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2599 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2600 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2601 $as_echo_n "(cached) " >&6
2603 cat >conftest.
make <<\_ACEOF
2606 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2608 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2609 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2611 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2613 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2617 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2619 $as_echo "yes" >&6; }
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623 $as_echo "no" >&6; }
2624 SET_MAKE
="MAKE=${MAKE-make}"
2627 rm -rf .tst
2>/dev
/null
2628 mkdir .tst
2>/dev
/null
2629 if test -d .tst
; then
2634 rmdir .tst
2>/dev
/null
2636 # Check whether --enable-silent-rules was given.
2637 if test "${enable_silent_rules+set}" = set; then :
2638 enableval
=$enable_silent_rules;
2641 case $enable_silent_rules in # (((
2642 yes) AM_DEFAULT_VERBOSITY
=0;;
2643 no
) AM_DEFAULT_VERBOSITY
=1;;
2644 *) AM_DEFAULT_VERBOSITY
=1;;
2646 am_make
=${MAKE-make}
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2648 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2649 if ${am_cv_make_support_nested_variables+:} false
; then :
2650 $as_echo_n "(cached) " >&6
2652 if $as_echo 'TRUE=$(BAR$(V))
2658 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2659 am_cv_make_support_nested_variables
=yes
2661 am_cv_make_support_nested_variables
=no
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2665 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2666 if test $am_cv_make_support_nested_variables = yes; then
2668 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2670 AM_V
=$AM_DEFAULT_VERBOSITY
2671 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2675 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2676 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2677 # is not polluted with repeated "-I."
2678 am__isrc
=' -I$(srcdir)'
2679 # test to see if srcdir already configured
2680 if test -f $srcdir/config.status
; then
2681 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2685 # test whether we have cygpath
2686 if test -z "$CYGPATH_W"; then
2687 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2688 CYGPATH_W
='cygpath -w'
2695 # Define the identity of the package.
2700 # Some tools Automake needs.
2702 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2705 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2708 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2711 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2714 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2716 # For better backward compatibility. To be removed once Automake 1.9.x
2717 # dies out for good. For more background, see:
2718 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2719 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2720 mkdir_p
='$(MKDIR_P)'
2722 # We need awk for the "check" target (and possibly the TAP driver). The
2723 # system "awk" is bad on some platforms.
2724 # Always define AMTAR for backward compatibility. Yes, it's still used
2725 # in the wild :-( We should find a proper way to deprecate it ...
2729 # We'll loop over all known methods to create a tar archive until one works.
2730 _am_tools
='gnutar pax cpio none'
2732 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2739 # POSIX will say in a future version that running "rm -f" with no argument
2740 # is OK; and we want to be able to make that assumption in our Makefile
2741 # recipes. So use an aggressive probe to check that the usage we want is
2742 # actually supported "in the wild" to an acceptable degree.
2743 # See automake bug#10828.
2744 # To make any issue more visible, cause the running configure to be aborted
2745 # by default if the 'rm' program in use doesn't match our expectations; the
2746 # user can still override this though.
2747 if rm -f && rm -fr && rm -rf; then : OK
; else
2751 Your 'rm' program seems unable to run without file operands specified
2752 on the command line, even when the '-f' option is present. This is contrary
2753 to the behaviour of most rm programs out there, and not conforming with
2754 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2756 Please tell bug-automake@gnu.org about your system, including the value
2757 of your $PATH and any error possibly output before this message. This
2758 can help us improve future automake versions.
2761 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2762 echo 'Configuration will proceed anyway, since you have set the' >&2
2763 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2767 Aborting the configuration process, to ensure you take notice of the issue.
2769 You can download and install GNU coreutils to get an 'rm' implementation
2770 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2772 If you want to complete the configuration process using your problematic
2773 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2774 to "yes", and re-run configure.
2777 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2783 ac_config_headers
="$ac_config_headers config.h"
2786 for ac_prog
in gawk mawk nawk
awk
2788 # Extract the first word of "$ac_prog", so it can be a program name with args.
2789 set dummy
$ac_prog; ac_word
=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if ${ac_cv_prog_AWK+:} false
; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$AWK"; then
2796 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir
=.
2803 for ac_exec_ext
in '' $ac_executable_extensions; do
2804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2805 ac_cv_prog_AWK
="$ac_prog"
2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 if test -n "$AWK"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2818 $as_echo "$AWK" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 $as_echo "no" >&6; }
2825 test -n "$AWK" && break
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2830 $as_echo_n "checking whether ln -s works... " >&6; }
2832 if test "$LN_S" = "ln -s"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2834 $as_echo "yes" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2837 $as_echo "no, using $LN_S" >&6; }
2841 ac_cpp
='$CPP $CPPFLAGS'
2842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2845 if test -n "$ac_tool_prefix"; then
2846 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2847 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if ${ac_cv_prog_CC+:} false
; then :
2851 $as_echo_n "(cached) " >&6
2853 if test -n "$CC"; then
2854 ac_cv_prog_CC
="$CC" # Let the user override the test.
2856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2860 test -z "$as_dir" && as_dir
=.
2861 for ac_exec_ext
in '' $ac_executable_extensions; do
2862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2863 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 if test -n "$CC"; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2876 $as_echo "$CC" >&6; }
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879 $as_echo "no" >&6; }
2884 if test -z "$ac_cv_prog_CC"; then
2886 # Extract the first word of "gcc", so it can be a program name with args.
2887 set dummy gcc
; ac_word
=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2891 $as_echo_n "(cached) " >&6
2893 if test -n "$ac_ct_CC"; then
2894 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir
=.
2901 for ac_exec_ext
in '' $ac_executable_extensions; do
2902 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2903 ac_cv_prog_ac_ct_CC
="gcc"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2914 if test -n "$ac_ct_CC"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2916 $as_echo "$ac_ct_CC" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2922 if test "x$ac_ct_CC" = x
; then
2925 case $cross_compiling:$ac_tool_warned in
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2929 ac_tool_warned
=yes ;;
2937 if test -z "$CC"; then
2938 if test -n "$ac_tool_prefix"; then
2939 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2940 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if ${ac_cv_prog_CC+:} false
; then :
2944 $as_echo_n "(cached) " >&6
2946 if test -n "$CC"; then
2947 ac_cv_prog_CC
="$CC" # Let the user override the test.
2949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir
=.
2954 for ac_exec_ext
in '' $ac_executable_extensions; do
2955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2956 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2967 if test -n "$CC"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969 $as_echo "$CC" >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2978 if test -z "$CC"; then
2979 # Extract the first word of "cc", so it can be a program name with args.
2980 set dummy cc
; ac_word
=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_CC+:} false
; then :
2984 $as_echo_n "(cached) " >&6
2986 if test -n "$CC"; then
2987 ac_cv_prog_CC
="$CC" # Let the user override the test.
2990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir
=.
2995 for ac_exec_ext
in '' $ac_executable_extensions; do
2996 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2997 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2998 ac_prog_rejected
=yes
3002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 if test $ac_prog_rejected = yes; then
3010 # We found a bogon in the path, so make sure we never use it.
3011 set dummy
$ac_cv_prog_CC
3013 if test $# != 0; then
3014 # We chose a different compiler from the bogus one.
3015 # However, it has the same basename, so the bogon will be chosen
3016 # first if we set CC to just the basename; use the full file name.
3018 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3024 if test -n "$CC"; then
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3026 $as_echo "$CC" >&6; }
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029 $as_echo "no" >&6; }
3034 if test -z "$CC"; then
3035 if test -n "$ac_tool_prefix"; then
3036 for ac_prog
in cl.exe
3038 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3039 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if ${ac_cv_prog_CC+:} false
; then :
3043 $as_echo_n "(cached) " >&6
3045 if test -n "$CC"; then
3046 ac_cv_prog_CC
="$CC" # Let the user override the test.
3048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir
=.
3053 for ac_exec_ext
in '' $ac_executable_extensions; do
3054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3055 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 if test -n "$CC"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068 $as_echo "$CC" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3075 test -n "$CC" && break
3078 if test -z "$CC"; then
3080 for ac_prog
in cl.exe
3082 # Extract the first word of "$ac_prog", so it can be a program name with args.
3083 set dummy
$ac_prog; ac_word
=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3087 $as_echo_n "(cached) " >&6
3089 if test -n "$ac_ct_CC"; then
3090 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir
=.
3097 for ac_exec_ext
in '' $ac_executable_extensions; do
3098 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3099 ac_cv_prog_ac_ct_CC
="$ac_prog"
3100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3110 if test -n "$ac_ct_CC"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3112 $as_echo "$ac_ct_CC" >&6; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3119 test -n "$ac_ct_CC" && break
3122 if test "x$ac_ct_CC" = x
; then
3125 case $cross_compiling:$ac_tool_warned in
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3129 ac_tool_warned
=yes ;;
3138 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140 as_fn_error $?
"no acceptable C compiler found in \$PATH
3141 See \`config.log' for more details" "$LINENO" 5; }
3143 # Provide some information about the compiler.
3144 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3147 for ac_option
in --version -v -V -qversion; do
3148 { { ac_try
="$ac_compiler $ac_option >&5"
3150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3154 $as_echo "$ac_try_echo"; } >&5
3155 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3157 if test -s conftest.err; then
3159 ... rest of stderr output deleted ...
3160 10q' conftest.err >conftest.er1
3161 cat conftest.er1 >&5
3163 rm -f conftest.er1 conftest.err
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165 test $ac_status = 0; }
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3179 ac_clean_files_save=$ac_clean_files
3180 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3181 # Try to create an executable without -o first, disregard a.out.
3182 # It will help us diagnose broken compilers, and finding out an intuition
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3185 $as_echo_n "checking whether the C compiler works... " >&6; }
3186 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3188 # The possible output files:
3189 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3192 for ac_file in $ac_files
3195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3196 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3201 if { { ac_try="$ac_link_default"
3203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3204 *) ac_try_echo
=$ac_try;;
3206 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_link_default") 2>&5
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }; then :
3212 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3213 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3214 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3215 # so that the user can short-circuit this test for compilers unknown to
3217 for ac_file
in $ac_files ''
3219 test -f "$ac_file" ||
continue
3221 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3224 # We found the default executable, but exeext='' is most
3228 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3230 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3232 # We set ac_cv_exeext here because the later test for it is not
3233 # safe: cross compilers may not add the suffix if given an `-o'
3234 # argument, so we may need to know it at that point already.
3235 # Even if this section looks crufty: it has the advantage of
3242 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3247 if test -z "$ac_file"; then :
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 $as_echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.
$ac_ext >&5
3253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255 as_fn_error
77 "C compiler cannot create executables
3256 See \`config.log' for more details" "$LINENO" 5; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3259 $as_echo "yes" >&6; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3262 $as_echo_n "checking for C compiler default output file name... " >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3264 $as_echo "$ac_file" >&6; }
3265 ac_exeext
=$ac_cv_exeext
3267 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3268 ac_clean_files
=$ac_clean_files_save
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3270 $as_echo_n "checking for suffix of executables... " >&6; }
3271 if { { ac_try
="$ac_link"
3273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277 $as_echo "$ac_try_echo"; } >&5
3278 (eval "$ac_link") 2>&5
3280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281 test $ac_status = 0; }; then :
3282 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3283 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3284 # work properly (i.e., refer to `conftest.exe'), while it won't with
3286 for ac_file
in conftest.exe conftest conftest.
*; do
3287 test -f "$ac_file" ||
continue
3289 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3290 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3298 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3299 See \`config.log' for more details" "$LINENO" 5; }
3301 rm -f conftest conftest
$ac_cv_exeext
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3303 $as_echo "$ac_cv_exeext" >&6; }
3305 rm -f conftest.
$ac_ext
3306 EXEEXT
=$ac_cv_exeext
3308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3314 FILE *f = fopen ("conftest.out", "w");
3315 return ferror (f) || fclose (f) != 0;
3321 ac_clean_files
="$ac_clean_files conftest.out"
3322 # Check that the compiler produces executables we can run. If not, either
3323 # the compiler is broken, or we cross compile.
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3325 $as_echo_n "checking whether we are cross compiling... " >&6; }
3326 if test "$cross_compiling" != yes; then
3327 { { ac_try
="$ac_link"
3329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334 (eval "$ac_link") 2>&5
3336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337 test $ac_status = 0; }
3338 if { ac_try='./conftest$ac_cv_exeext'
3339 { { case "(($ac_try" in
3340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3341 *) ac_try_echo
=$ac_try;;
3343 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_try") 2>&5
3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348 test $ac_status = 0; }; }; then
3351 if test "$cross_compiling" = maybe
; then
3354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356 as_fn_error $?
"cannot run C compiled programs.
3357 If you meant to cross compile, use \`--host'.
3358 See \`config.log' for more details" "$LINENO" 5; }
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3363 $as_echo "$cross_compiling" >&6; }
3365 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3366 ac_clean_files
=$ac_clean_files_save
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3368 $as_echo_n "checking for suffix of object files... " >&6; }
3369 if ${ac_cv_objext+:} false
; then :
3370 $as_echo_n "(cached) " >&6
3372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3383 rm -f conftest.o conftest.obj
3384 if { { ac_try
="$ac_compile"
3386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391 (eval "$ac_compile") 2>&5
3393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394 test $ac_status = 0; }; then :
3395 for ac_file in conftest.o conftest.obj conftest.*; do
3396 test -f "$ac_file" || continue;
3398 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3399 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3404 $as_echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.$ac_ext >&5
3407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3409 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3410 See \
`config.log' for more details" "$LINENO" 5; }
3412 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3415 $as_echo "$ac_cv_objext" >&6; }
3416 OBJEXT=$ac_cv_objext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3419 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3420 if ${ac_cv_c_compiler_gnu+:} false; then :
3421 $as_echo_n "(cached) " >&6
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3437 if ac_fn_c_try_compile "$LINENO"; then :
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3447 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3448 if test $ac_compiler_gnu = yes; then
3453 ac_test_CFLAGS=${CFLAGS+set}
3454 ac_save_CFLAGS=$CFLAGS
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3456 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3457 if ${ac_cv_prog_cc_g+:} false; then :
3458 $as_echo_n "(cached) " >&6
3460 ac_save_c_werror_flag=$ac_c_werror_flag
3461 ac_c_werror_flag=yes
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3475 if ac_fn_c_try_compile "$LINENO"; then :
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3490 if ac_fn_c_try_compile "$LINENO"; then :
3493 ac_c_werror_flag=$ac_save_c_werror_flag
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3506 if ac_fn_c_try_compile "$LINENO"; then :
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 ac_c_werror_flag=$ac_save_c_werror_flag
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3517 $as_echo "$ac_cv_prog_cc_g" >&6; }
3518 if test "$ac_test_CFLAGS" = set; then
3519 CFLAGS=$ac_save_CFLAGS
3520 elif test $ac_cv_prog_cc_g = yes; then
3521 if test "$GCC" = yes; then
3527 if test "$GCC" = yes; then
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3534 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3535 if ${ac_cv_prog_cc_c89+:} false; then :
3536 $as_echo_n "(cached) " >&6
3538 ac_cv_prog_cc_c89=no
3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h. */
3545 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3546 struct buf { int x; };
3547 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3548 static char *e (p, i)
3554 static char *f (char * (*g) (char **, int), char **p, ...)
3559 s = g (p, va_arg (v,int));
3564 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3565 function prototypes and stuff, but not '\xHH' hex character constants.
3566 These don't provoke an error unfortunately, instead are silently treated
3567 as 'x'. The following induces an error, until -std is added to get
3568 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3569 array size at least. It's necessary to write '\x00'==0 to get something
3570 that's true only with -std. */
3571 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3573 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3574 inside strings and character constants. */
3576 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3578 int test (int i, double x);
3579 struct s1 {int (*f) (int a);};
3580 struct s2 {int (*f) (double a);};
3581 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3587 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3592 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3593 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3595 CC="$ac_save_CC $ac_arg"
3596 if ac_fn_c_try_compile "$LINENO"; then :
3597 ac_cv_prog_cc_c89=$ac_arg
3599 rm -f core conftest.err conftest.$ac_objext
3600 test "x$ac_cv_prog_cc_c89" != "xno" && break
3602 rm -f conftest.$ac_ext
3607 case "x$ac_cv_prog_cc_c89" in
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3610 $as_echo "none needed" >&6; } ;;
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3613 $as_echo "unsupported" >&6; } ;;
3615 CC="$CC $ac_cv_prog_cc_c89"
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3617 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3619 if test "x$ac_cv_prog_cc_c89" != xno; then :
3624 ac_cpp='$CPP $CPPFLAGS'
3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3635 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3636 if ${am_cv_prog_cc_c_o+:} false; then :
3637 $as_echo_n "(cached) " >&6
3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3650 # Make sure it works both with $CC and with simple cc.
3651 # Following AC_PROG_CC_C_O, we do the test twice because some
3652 # compilers refuse to overwrite an existing .o file with -o,
3653 # though they will create one.
3654 am_cv_prog_cc_c_o=yes
3656 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3657 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } \
3661 && test -f conftest2.$ac_objext; then
3664 am_cv_prog_cc_c_o=no
3668 rm -f core conftest*
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3672 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3673 if test "$am_cv_prog_cc_c_o" != yes; then
3674 # Losing compiler, so override with the script.
3675 # FIXME: It is wrong to rewrite CC.
3676 # But if we don't then we get into trouble of one sort or another.
3677 # A longer-term fix would be to have automake use am__CC in this case,
3678 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3679 CC="$am_aux_dir/compile $CC"
3682 ac_cpp='$CPP $CPPFLAGS'
3683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3687 DEPDIR="${am__leading_dot}deps"
3689 ac_config_commands="$ac_config_commands depfiles"
3692 am_make=${MAKE-make}
3693 cat > confinc << 'END'
3695 @echo this is the am__doit target
3698 # If we don't find an include directive, just comment out the code.
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3700 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3704 # First try GNU make style include.
3705 echo "include confinc" > confmf
3706 # Ignore all kinds of additional output from 'make'.
3707 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3708 *the\ am__doit\ target*)
3714 # Now try BSD make style include.
3715 if test "$am__include" = "#"; then
3716 echo '.include "confinc"' > confmf
3717 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3718 *the\ am__doit\ target*)
3719 am__include=.include
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3728 $as_echo "$_am_result" >&6; }
3729 rm -f confinc confmf
3731 # Check whether --enable-dependency-tracking was given.
3732 if test "${enable_dependency_tracking+set}" = set; then :
3733 enableval=$enable_dependency_tracking;
3736 if test "x$enable_dependency_tracking" != xno; then
3737 am_depcomp="$ac_aux_dir/depcomp"
3741 if test "x$enable_dependency_tracking" != xno; then
3751 depcc="$CC" am_compiler_list=
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3754 $as_echo_n "checking dependency style of $depcc... " >&6; }
3755 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3756 $as_echo_n "(cached) " >&6
3758 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3759 # We make a subdir and do the tests there. Otherwise we can end up
3760 # making bogus files that we don't know about and never remove. For
3761 # instance it was reported that on HP-UX the gcc test will end up
3762 # making a dummy file named 'D' -- because '-MD' means "put the output
3766 # Copy depcomp to subdir because otherwise we won't find it if we're
3767 # using a relative directory.
3768 cp "$am_depcomp" conftest.dir
3770 # We will build objects and dependencies in a subdirectory because
3771 # it helps to detect inapplicable dependency modes. For instance
3772 # both Tru64's cc and ICC support -MD to output dependencies as a
3773 # side effect of compilation, but ICC will put the dependencies in
3774 # the current directory while Tru64 will put them in the object
3778 am_cv_CC_dependencies_compiler_type=none
3779 if test "$am_compiler_list" = ""; then
3780 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3783 case " $depcc " in #(
3784 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3787 for depmode in $am_compiler_list; do
3788 # Setup a source with many dependencies, because some compilers
3789 # like to wrap large dependency lists on column 80 (with \), and
3790 # we should not choose a depcomp mode which is confused by this.
3792 # We need to recreate these files for each test, as the compiler may
3793 # overwrite some of them when testing with obscure command lines.
3794 # This happens at least with the AIX C compiler.
3796 for i in 1 2 3 4 5 6; do
3797 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3798 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3799 # Solaris 10 /bin/sh.
3800 echo '/* dummy */' > sub/conftst$i.h
3802 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3804 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3805 # mode. It turns out that the SunPro C++ compiler does not properly
3806 # handle '-M -o', and we need to detect this. Also, some Intel
3807 # versions had trouble with output in subdirs.
3808 am__obj=sub/conftest.${OBJEXT-o}
3809 am__minus_obj="-o $am__obj"
3812 # This depmode causes a compiler race in universal mode.
3813 test "$am__universal" = false || continue
3816 # After this tag, mechanisms are not by side-effect, so they'll
3817 # only be used when explicitly requested.
3818 if test "x$enable_dependency_tracking" = xyes; then
3824 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3825 # This compiler won't grok '-c -o', but also, the minuso test has
3826 # not run yet. These depmodes are late enough in the game, and
3827 # so weak that their functioning should not be impacted.
3828 am__obj=conftest.${OBJEXT-o}
3833 if depmode=$depmode \
3834 source=sub/conftest.c object=$am__obj \
3835 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3836 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3837 >/dev/null 2>conftest.err &&
3838 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3839 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3840 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3841 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3842 # icc doesn't choke on unknown options, it will just issue warnings
3843 # or remarks (even with -Werror). So we grep stderr for any message
3844 # that says an option was ignored or not supported.
3845 # When given -MP, icc 7.0 and 7.1 complain thusly:
3846 # icc: Command line warning: ignoring option '-M'; no argument required
3847 # The diagnosis changed in icc 8.0:
3848 # icc: Command line remark: option '-MP' not supported
3849 if (grep 'ignoring option' conftest.err ||
3850 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3851 am_cv_CC_dependencies_compiler_type=$depmode
3860 am_cv_CC_dependencies_compiler_type=none
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3865 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3866 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3869 test "x$enable_dependency_tracking" != xno \
3870 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3872 am__fastdepCC_FALSE='#'
3874 am__fastdepCC_TRUE='#'
3875 am__fastdepCC_FALSE=
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
3882 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
3887 macro_version='2.4.6'
3888 macro_revision='2.4.6'
3902 ltmain=$ac_aux_dir/ltmain.sh
3904 # Make sure we can run config.sub.
3905 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3906 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3909 $as_echo_n "checking build system type... " >&6; }
3910 if ${ac_cv_build+:} false; then :
3911 $as_echo_n "(cached) " >&6
3913 ac_build_alias=$build_alias
3914 test "x$ac_build_alias" = x &&
3915 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3916 test "x$ac_build_alias" = x &&
3917 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3918 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3919 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3923 $as_echo "$ac_cv_build" >&6; }
3924 case $ac_cv_build in
3926 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3929 ac_save_IFS=$IFS; IFS='-'
3935 # Remember, the first character of IFS is used to create $*,
3936 # except with old shells:
3939 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3943 $as_echo_n "checking host system type... " >&6; }
3944 if ${ac_cv_host+:} false; then :
3945 $as_echo_n "(cached) " >&6
3947 if test "x$host_alias" = x; then
3948 ac_cv_host=$ac_cv_build
3950 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3951 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3956 $as_echo "$ac_cv_host" >&6; }
3959 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3962 ac_save_IFS=$IFS; IFS='-'
3968 # Remember, the first character of IFS is used to create $*,
3969 # except with old shells:
3972 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3975 # Backslashify metacharacters that are still active within
3976 # double-quoted strings.
3977 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
3979 # Same as above, but do not quote variable references.
3980 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
3982 # Sed substitution to delay expansion of an escaped shell variable in a
3983 # double_quote_subst'ed string.
3984 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3986 # Sed substitution to delay expansion of an escaped single quote.
3987 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3989 # Sed substitution to avoid accidental globbing in evaled expressions
3990 no_glob_subst='s/\*/\\\*/g'
3992 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3993 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3994 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
3997 $as_echo_n "checking how to print
strings...
" >&6; }
3998 # Test print first, because it will be a builtin if present.
3999 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4000 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4002 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4005 # Use this function as a fallback that always works.
4006 func_fallback_echo ()
4008 eval 'cat <<_LTECHO_EOF
4012 ECHO='func_fallback_echo'
4015 # func_echo_all arg...
4016 # Invoke $ECHO with all args, space-separated.
4023 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4024 $as_echo "printf" >&6; } ;;
4025 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4026 $as_echo "print
-r" >&6; } ;;
4027 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4028 $as_echo "cat" >&6; } ;;
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4045 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4046 if ${ac_cv_path_SED+:} false; then :
4047 $as_echo_n "(cached
) " >&6
4049 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4050 for ac_i in 1 2 3 4 5 6 7; do
4051 ac_script="$ac_script$as_nl$ac_script"
4053 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4054 { ac_script=; unset ac_script;}
4055 if test -z "$SED"; then
4056 ac_path_SED_found=false
4057 # Loop through the user's path and test for each of PROGNAME-LIST
4058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4062 test -z "$as_dir" && as_dir=.
4063 for ac_prog in sed gsed; do
4064 for ac_exec_ext in '' $ac_executable_extensions; do
4065 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4066 as_fn_executable_p "$ac_path_SED" || continue
4067 # Check for GNU ac_path_SED and select it if it is found.
4068 # Check for GNU $ac_path_SED
4069 case `"$ac_path_SED" --version 2>&1` in
4071 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4074 $as_echo_n 0123456789 >"conftest.
in"
4077 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4078 mv "conftest.tmp
" "conftest.
in"
4079 cp "conftest.
in" "conftest.
nl"
4080 $as_echo '' >> "conftest.
nl"
4081 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4082 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4083 as_fn_arith $ac_count + 1 && ac_count=$as_val
4084 if test $ac_count -gt ${ac_path_SED_max-0}; then
4085 # Best one so far, save it but keep looking for a better one
4086 ac_cv_path_SED="$ac_path_SED"
4087 ac_path_SED_max=$ac_count
4089 # 10*(2^10) chars as input seems more than enough
4090 test $ac_count -gt 10 && break
4092 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4095 $ac_path_SED_found && break 3
4100 if test -z "$ac_cv_path_SED"; then
4101 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4109 $as_echo "$ac_cv_path_SED" >&6; }
4110 SED="$ac_cv_path_SED"
4113 test -z "$SED" && SED=sed
4114 Xsed="$SED -e 1s
/^X
//"
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4127 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4128 if ${ac_cv_path_GREP+:} false; then :
4129 $as_echo_n "(cached
) " >&6
4131 if test -z "$GREP"; then
4132 ac_path_GREP_found=false
4133 # Loop through the user's path and test for each of PROGNAME-LIST
4134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4138 test -z "$as_dir" && as_dir=.
4139 for ac_prog in grep ggrep; do
4140 for ac_exec_ext in '' $ac_executable_extensions; do
4141 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4142 as_fn_executable_p "$ac_path_GREP" || continue
4143 # Check for GNU ac_path_GREP and select it if it is found.
4144 # Check for GNU $ac_path_GREP
4145 case `"$ac_path_GREP" --version 2>&1` in
4147 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4150 $as_echo_n 0123456789 >"conftest.
in"
4153 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4154 mv "conftest.tmp
" "conftest.
in"
4155 cp "conftest.
in" "conftest.
nl"
4156 $as_echo 'GREP' >> "conftest.
nl"
4157 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4158 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4159 as_fn_arith $ac_count + 1 && ac_count=$as_val
4160 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4161 # Best one so far, save it but keep looking for a better one
4162 ac_cv_path_GREP="$ac_path_GREP"
4163 ac_path_GREP_max=$ac_count
4165 # 10*(2^10) chars as input seems more than enough
4166 test $ac_count -gt 10 && break
4168 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4171 $ac_path_GREP_found && break 3
4176 if test -z "$ac_cv_path_GREP"; then
4177 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4180 ac_cv_path_GREP=$GREP
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4185 $as_echo "$ac_cv_path_GREP" >&6; }
4186 GREP="$ac_cv_path_GREP"
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4190 $as_echo_n "checking
for egrep...
" >&6; }
4191 if ${ac_cv_path_EGREP+:} false; then :
4192 $as_echo_n "(cached
) " >&6
4194 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4195 then ac_cv_path_EGREP="$GREP -E"
4197 if test -z "$EGREP"; then
4198 ac_path_EGREP_found=false
4199 # Loop through the user's path and test for each of PROGNAME-LIST
4200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4204 test -z "$as_dir" && as_dir=.
4205 for ac_prog in egrep; do
4206 for ac_exec_ext in '' $ac_executable_extensions; do
4207 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4208 as_fn_executable_p "$ac_path_EGREP" || continue
4209 # Check for GNU ac_path_EGREP and select it if it is found.
4210 # Check for GNU $ac_path_EGREP
4211 case `"$ac_path_EGREP" --version 2>&1` in
4213 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4216 $as_echo_n 0123456789 >"conftest.
in"
4219 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4220 mv "conftest.tmp
" "conftest.
in"
4221 cp "conftest.
in" "conftest.
nl"
4222 $as_echo 'EGREP' >> "conftest.
nl"
4223 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4224 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4225 as_fn_arith $ac_count + 1 && ac_count=$as_val
4226 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4227 # Best one so far, save it but keep looking for a better one
4228 ac_cv_path_EGREP="$ac_path_EGREP"
4229 ac_path_EGREP_max=$ac_count
4231 # 10*(2^10) chars as input seems more than enough
4232 test $ac_count -gt 10 && break
4234 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4237 $ac_path_EGREP_found && break 3
4242 if test -z "$ac_cv_path_EGREP"; then
4243 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4246 ac_cv_path_EGREP=$EGREP
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4252 $as_echo "$ac_cv_path_EGREP" >&6; }
4253 EGREP="$ac_cv_path_EGREP"
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4257 $as_echo_n "checking
for fgrep...
" >&6; }
4258 if ${ac_cv_path_FGREP+:} false; then :
4259 $as_echo_n "(cached
) " >&6
4261 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4262 then ac_cv_path_FGREP="$GREP -F"
4264 if test -z "$FGREP"; then
4265 ac_path_FGREP_found=false
4266 # Loop through the user's path and test for each of PROGNAME-LIST
4267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4268 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4271 test -z "$as_dir" && as_dir=.
4272 for ac_prog in fgrep; do
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4275 as_fn_executable_p "$ac_path_FGREP" || continue
4276 # Check for GNU ac_path_FGREP and select it if it is found.
4277 # Check for GNU $ac_path_FGREP
4278 case `"$ac_path_FGREP" --version 2>&1` in
4280 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4283 $as_echo_n 0123456789 >"conftest.
in"
4286 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4287 mv "conftest.tmp
" "conftest.
in"
4288 cp "conftest.
in" "conftest.
nl"
4289 $as_echo 'FGREP' >> "conftest.
nl"
4290 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4291 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4292 as_fn_arith $ac_count + 1 && ac_count=$as_val
4293 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4294 # Best one so far, save it but keep looking for a better one
4295 ac_cv_path_FGREP="$ac_path_FGREP"
4296 ac_path_FGREP_max=$ac_count
4298 # 10*(2^10) chars as input seems more than enough
4299 test $ac_count -gt 10 && break
4301 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4304 $ac_path_FGREP_found && break 3
4309 if test -z "$ac_cv_path_FGREP"; then
4310 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4313 ac_cv_path_FGREP=$FGREP
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4319 $as_echo "$ac_cv_path_FGREP" >&6; }
4320 FGREP="$ac_cv_path_FGREP"
4323 test -z "$GREP" && GREP=grep
4343 # Check whether --with-gnu-ld was given.
4344 if test "${with_gnu_ld+set}" = set; then :
4345 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4351 if test yes = "$GCC"; then
4352 # Check if gcc -print-prog-name=ld gives a path.
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4354 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4357 # gcc leaves a trailing carriage return, which upsets mingw
4358 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4360 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4363 # Accept absolute paths.
4365 re_direlt='/[^/][^/]*/\.\./'
4366 # Canonicalize the pathname of ld
4367 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4368 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4369 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4371 test -z "$LD" && LD=$ac_prog
4374 # If it fails, then pretend we aren't using GCC.
4378 # If it is relative, then search for the first ld in PATH.
4382 elif test yes = "$with_gnu_ld"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4384 $as_echo_n "checking
for GNU ld...
" >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4387 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4389 if ${lt_cv_path_LD+:} false; then :
4390 $as_echo_n "(cached
) " >&6
4392 if test -z "$LD"; then
4393 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4394 for ac_dir in $PATH; do
4396 test -z "$ac_dir" && ac_dir=.
4397 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4398 lt_cv_path_LD=$ac_dir/$ac_prog
4399 # Check to see if the program is GNU ld. I'd rather use --version,
4400 # but apparently some variants of GNU ld only accept -v.
4401 # Break only if it was the GNU/non-GNU ld that we prefer.
4402 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4403 *GNU* | *'with BFD'*)
4404 test no != "$with_gnu_ld" && break
4407 test yes != "$with_gnu_ld" && break
4414 lt_cv_path_LD=$LD # Let the user override the test with a path.
4419 if test -n "$LD"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4421 $as_echo "$LD" >&6; }
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4424 $as_echo "no
" >&6; }
4426 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4428 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4429 if ${lt_cv_prog_gnu_ld+:} false; then :
4430 $as_echo_n "(cached
) " >&6
4432 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4433 case `$LD -v 2>&1 </dev/null` in
4434 *GNU* | *'with BFD'*)
4435 lt_cv_prog_gnu_ld=yes
4438 lt_cv_prog_gnu_ld=no
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4443 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4444 with_gnu_ld=$lt_cv_prog_gnu_ld
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4455 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4456 if ${lt_cv_path_NM+:} false; then :
4457 $as_echo_n "(cached
) " >&6
4459 if test -n "$NM"; then
4460 # Let the user override the test.
4463 lt_nm_to_check=${ac_tool_prefix}nm
4464 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4465 lt_nm_to_check="$lt_nm_to_check nm
"
4467 for lt_tmp_nm in $lt_nm_to_check; do
4468 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4469 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4471 test -z "$ac_dir" && ac_dir=.
4472 tmp_nm=$ac_dir/$lt_tmp_nm
4473 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4474 # Check to see if the nm accepts a BSD-compat flag.
4475 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4476 # nm: unknown option "B
" ignored
4477 # Tru64's nm complains that /dev/null is an invalid object file
4478 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4480 mingw*) lt_bad_file=conftest.nm/nofile ;;
4481 *) lt_bad_file=/dev/null ;;
4483 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4484 *$lt_bad_file* | *'Invalid file or object type'*)
4485 lt_cv_path_NM="$tmp_nm -B"
4489 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4491 lt_cv_path_NM="$tmp_nm -p"
4495 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4496 continue # so that we can try to find one that supports BSD flags
4505 : ${lt_cv_path_NM=no}
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4509 $as_echo "$lt_cv_path_NM" >&6; }
4510 if test no != "$lt_cv_path_NM"; then
4513 # Didn't find any BSD compatible name lister, look for dumpbin.
4514 if test -n "$DUMPBIN"; then :
4515 # Let the user override the test.
4517 if test -n "$ac_tool_prefix"; then
4518 for ac_prog in dumpbin "link
-dump"
4520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4523 $as_echo_n "checking
for $ac_word...
" >&6; }
4524 if ${ac_cv_prog_DUMPBIN+:} false; then :
4525 $as_echo_n "(cached
) " >&6
4527 if test -n "$DUMPBIN"; then
4528 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4537 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4547 DUMPBIN=$ac_cv_prog_DUMPBIN
4548 if test -n "$DUMPBIN"; then
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4550 $as_echo "$DUMPBIN" >&6; }
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4553 $as_echo "no
" >&6; }
4557 test -n "$DUMPBIN" && break
4560 if test -z "$DUMPBIN"; then
4561 ac_ct_DUMPBIN=$DUMPBIN
4562 for ac_prog in dumpbin "link
-dump"
4564 # Extract the first word of "$ac_prog", so it can be a program name with args.
4565 set dummy $ac_prog; ac_word=$2
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4567 $as_echo_n "checking
for $ac_word...
" >&6; }
4568 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4569 $as_echo_n "(cached
) " >&6
4571 if test -n "$ac_ct_DUMPBIN"; then
4572 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir=.
4579 for ac_exec_ext in '' $ac_executable_extensions; do
4580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4581 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4591 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4592 if test -n "$ac_ct_DUMPBIN"; then
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4594 $as_echo "$ac_ct_DUMPBIN" >&6; }
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4597 $as_echo "no
" >&6; }
4601 test -n "$ac_ct_DUMPBIN" && break
4604 if test "x
$ac_ct_DUMPBIN" = x; then
4607 case $cross_compiling:$ac_tool_warned in
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4610 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4611 ac_tool_warned=yes ;;
4613 DUMPBIN=$ac_ct_DUMPBIN
4617 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4619 DUMPBIN="$DUMPBIN -symbols -headers"
4627 if test : != "$DUMPBIN"; then
4631 test -z "$NM" && NM=nm
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4639 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4640 if ${lt_cv_nm_interface+:} false; then :
4641 $as_echo_n "(cached
) " >&6
4643 lt_cv_nm_interface="BSD nm
"
4644 echo "int some_variable
= 0;" > conftest.$ac_ext
4645 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4646 (eval "$ac_compile" 2>conftest.err)
4647 cat conftest.err >&5
4648 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4649 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4650 cat conftest.err >&5
4651 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4652 cat conftest.out >&5
4653 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4654 lt_cv_nm_interface="MS dumpbin
"
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4659 $as_echo "$lt_cv_nm_interface" >&6; }
4661 # find the maximum length of command line arguments
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4663 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4664 if ${lt_cv_sys_max_cmd_len+:} false; then :
4665 $as_echo_n "(cached
) " >&6
4672 # On DJGPP, this test can blow up pretty badly due to problems in libc
4673 # (any single argument exceeding 2000 bytes causes a buffer overrun
4674 # during glob expansion). Even if it were fixed, the result of this
4675 # check would be larger than it should be.
4676 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4680 # Under GNU Hurd, this test is not required because there is
4681 # no limit to the length of command line arguments.
4682 # Libtool will interpret -1 as no limit whatsoever
4683 lt_cv_sys_max_cmd_len=-1;
4686 cygwin* | mingw* | cegcc*)
4687 # On Win9x/ME, this test blows up -- it succeeds, but takes
4688 # about 5 minutes as the teststring grows exponentially.
4689 # Worse, since 9x/ME are not pre-emptively multitasking,
4690 # you end up with a "frozen
" computer, even though with patience
4691 # the test eventually succeeds (with a max line length of 256k).
4692 # Instead, let's just punt: use the minimum linelength reported by
4693 # all of the supported platforms: 8192 (on NT/2K/XP).
4694 lt_cv_sys_max_cmd_len=8192;
4698 # On MiNT this can take a long time and run out of memory.
4699 lt_cv_sys_max_cmd_len=8192;
4703 # On AmigaOS with pdksh, this test takes hours, literally.
4704 # So we just punt and use a minimum line length of 8192.
4705 lt_cv_sys_max_cmd_len=8192;
4708 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4709 # This has been around since 386BSD, at least. Likely further.
4710 if test -x /sbin/sysctl; then
4711 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4712 elif test -x /usr/sbin/sysctl; then
4713 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4715 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4717 # And add a safety zone
4718 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4719 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4723 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4724 lt_cv_sys_max_cmd_len=196608
4728 # The test takes a long time on OS/2.
4729 lt_cv_sys_max_cmd_len=8192
4733 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4734 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4735 # nice to cause kernel panics so lets avoid the loop below.
4736 # First set a reasonable default.
4737 lt_cv_sys_max_cmd_len=16384
4739 if test -x /sbin/sysconfig; then
4740 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4741 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4746 lt_cv_sys_max_cmd_len=102400
4748 sysv5* | sco5v6* | sysv4.2uw2*)
4749 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4750 if test -n "$kargmax"; then
4751 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4753 lt_cv_sys_max_cmd_len=32768
4757 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4758 if test -n "$lt_cv_sys_max_cmd_len" && \
4759 test undefined != "$lt_cv_sys_max_cmd_len"; then
4760 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4761 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4763 # Make teststring a little bigger before we do anything with it.
4764 # a 1K string should be a reasonable start.
4765 for i in 1 2 3 4 5 6 7 8; do
4766 teststring=$teststring$teststring
4768 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4769 # If test is not a shell built-in, we'll probably end up computing a
4770 # maximum length that is only half of the actual maximum length, but
4772 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4773 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4774 test 17 != "$i" # 1/2 MB should be enough
4777 teststring=$teststring$teststring
4779 # Only check the string length outside the loop.
4780 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4782 # Add a significant safety factor because C++ compilers can tack on
4783 # massive amounts of additional arguments before passing them to the
4784 # linker. It appears as though 1/2 is a usable value.
4785 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4792 if test -n "$lt_cv_sys_max_cmd_len"; then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4794 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4797 $as_echo "none
" >&6; }
4799 max_cmd_len=$lt_cv_sys_max_cmd_len
4810 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4820 # test EBCDIC or ASCII
4821 case `echo X|tr X '\101'` in
4822 A) # ASCII based system
4823 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4824 lt_SP2NL='tr \040 \012'
4825 lt_NL2SP='tr \015\012 \040\040'
4827 *) # EBCDIC based system
4828 lt_SP2NL='tr \100 \n'
4829 lt_NL2SP='tr \r\n \100\100'
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4842 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4843 if ${lt_cv_to_host_file_cmd+:} false; then :
4844 $as_echo_n "(cached
) " >&6
4849 *-*-mingw* ) # actually msys
4850 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4853 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4855 * ) # otherwise, assume *nix
4856 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4862 *-*-mingw* ) # actually msys
4863 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4866 lt_cv_to_host_file_cmd=func_convert_file_noop
4868 * ) # otherwise, assume *nix
4869 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4873 * ) # unhandled hosts (and "normal
" native builds)
4874 lt_cv_to_host_file_cmd=func_convert_file_noop
4880 to_host_file_cmd=$lt_cv_to_host_file_cmd
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4882 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4889 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4890 if ${lt_cv_to_tool_file_cmd+:} false; then :
4891 $as_echo_n "(cached
) " >&6
4893 #assume ordinary cross tools, or native build.
4894 lt_cv_to_tool_file_cmd=func_convert_file_noop
4898 *-*-mingw* ) # actually msys
4899 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4907 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
4909 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4916 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4917 if ${lt_cv_ld_reload_flag+:} false; then :
4918 $as_echo_n "(cached
) " >&6
4920 lt_cv_ld_reload_flag='-r'
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4923 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4924 reload_flag=$lt_cv_ld_reload_flag
4925 case $reload_flag in
4927 *) reload_flag=" $reload_flag" ;;
4929 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4931 cygwin* | mingw* | pw32* | cegcc*)
4932 if test yes != "$GCC"; then
4937 if test yes = "$GCC"; then
4938 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4940 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4953 if test -n "$ac_tool_prefix"; then
4954 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4955 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4957 $as_echo_n "checking
for $ac_word...
" >&6; }
4958 if ${ac_cv_prog_OBJDUMP+:} false; then :
4959 $as_echo_n "(cached
) " >&6
4961 if test -n "$OBJDUMP"; then
4962 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 test -z "$as_dir" && as_dir=.
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4971 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4981 OBJDUMP=$ac_cv_prog_OBJDUMP
4982 if test -n "$OBJDUMP"; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4984 $as_echo "$OBJDUMP" >&6; }
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4987 $as_echo "no
" >&6; }
4992 if test -z "$ac_cv_prog_OBJDUMP"; then
4993 ac_ct_OBJDUMP=$OBJDUMP
4994 # Extract the first word of "objdump
", so it can be a program name with args.
4995 set dummy objdump; ac_word=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4997 $as_echo_n "checking
for $ac_word...
" >&6; }
4998 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4999 $as_echo_n "(cached
) " >&6
5001 if test -n "$ac_ct_OBJDUMP"; then
5002 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 test -z "$as_dir" && as_dir=.
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5021 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5022 if test -n "$ac_ct_OBJDUMP"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5024 $as_echo "$ac_ct_OBJDUMP" >&6; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5027 $as_echo "no
" >&6; }
5030 if test "x
$ac_ct_OBJDUMP" = x; then
5033 case $cross_compiling:$ac_tool_warned in
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5036 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5037 ac_tool_warned=yes ;;
5039 OBJDUMP=$ac_ct_OBJDUMP
5042 OBJDUMP="$ac_cv_prog_OBJDUMP"
5045 test -z "$OBJDUMP" && OBJDUMP=objdump
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5056 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5057 if ${lt_cv_deplibs_check_method+:} false; then :
5058 $as_echo_n "(cached
) " >&6
5060 lt_cv_file_magic_cmd='$MAGIC_CMD'
5061 lt_cv_file_magic_test_file=
5062 lt_cv_deplibs_check_method='unknown'
5063 # Need to set the preceding variable on all platforms that support
5064 # interlibrary dependencies.
5065 # 'none' -- dependencies not supported.
5066 # 'unknown' -- same as none, but documents that we really don't know.
5067 # 'pass_all' -- all dependencies passed with no checks.
5068 # 'test_compile' -- check by making test program.
5069 # 'file_magic [[regex]]' -- check by looking for files in library path
5070 # that responds to the $file_magic_cmd with a given extended regex.
5071 # If you have 'file' or equivalent on your system and you're not sure
5072 # whether 'pass_all' will *always* work, you probably want this one.
5076 lt_cv_deplibs_check_method=pass_all
5080 lt_cv_deplibs_check_method=pass_all
5084 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5085 lt_cv_file_magic_cmd='/usr/bin/file -L'
5086 lt_cv_file_magic_test_file=/shlib/libc.so
5090 # func_win32_libid is a shell function defined in ltmain.sh
5091 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5092 lt_cv_file_magic_cmd='func_win32_libid'
5096 # Base MSYS/MinGW do not provide the 'file' command needed by
5097 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5098 # unless we find 'file', for example because we are cross-compiling.
5099 if ( file / ) >/dev/null 2>&1; then
5100 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5101 lt_cv_file_magic_cmd='func_win32_libid'
5103 # Keep this pattern in sync with the one in func_win32_libid.
5104 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5105 lt_cv_file_magic_cmd='$OBJDUMP -f'
5110 # use the weaker test based on 'objdump'. See mingw*.
5111 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5112 lt_cv_file_magic_cmd='$OBJDUMP -f'
5115 darwin* | rhapsody*)
5116 lt_cv_deplibs_check_method=pass_all
5119 freebsd* | dragonfly*)
5120 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5123 # Not sure whether the presence of OpenBSD here was a mistake.
5124 # Let's accept both of them until this is cleared up.
5125 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5126 lt_cv_file_magic_cmd=/usr/bin/file
5127 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5131 lt_cv_deplibs_check_method=pass_all
5136 lt_cv_deplibs_check_method=pass_all
5139 hpux10.20* | hpux11*)
5140 lt_cv_file_magic_cmd=/usr/bin/file
5143 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5144 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5147 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]'
5148 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5151 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5152 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5158 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5159 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5162 irix5* | irix6* | nonstopux*)
5164 *-32|*"-32 ") libmagic=32-bit;;
5165 *-n32|*"-n32 ") libmagic=N32;;
5166 *-64|*"-64 ") libmagic=64-bit;;
5167 *) libmagic=never-match;;
5169 lt_cv_deplibs_check_method=pass_all
5172 # This must be glibc/ELF.
5173 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5174 lt_cv_deplibs_check_method=pass_all
5178 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5179 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5181 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5186 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5187 lt_cv_file_magic_cmd=/usr/bin/file
5188 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5192 lt_cv_deplibs_check_method=pass_all
5196 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5197 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5199 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5203 osf3* | osf4* | osf5*)
5204 lt_cv_deplibs_check_method=pass_all
5208 lt_cv_deplibs_check_method=pass_all
5212 lt_cv_deplibs_check_method=pass_all
5215 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5216 lt_cv_deplibs_check_method=pass_all
5220 case $host_vendor in
5222 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]'
5223 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5226 lt_cv_deplibs_check_method=pass_all
5229 lt_cv_file_magic_cmd='/bin/file'
5230 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5233 lt_cv_file_magic_cmd='/bin/file'
5234 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5235 lt_cv_file_magic_test_file=/lib/libc.so
5238 lt_cv_deplibs_check_method=pass_all
5241 lt_cv_deplibs_check_method=pass_all
5247 lt_cv_deplibs_check_method=pass_all
5250 lt_cv_deplibs_check_method=pass_all
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5256 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5260 if test "$build" = "$host"; then
5263 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5266 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5272 file_magic_cmd=$lt_cv_file_magic_cmd
5273 deplibs_check_method=$lt_cv_deplibs_check_method
5274 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5297 if test -n "$ac_tool_prefix"; then
5298 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5299 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5301 $as_echo_n "checking
for $ac_word...
" >&6; }
5302 if ${ac_cv_prog_DLLTOOL+:} false; then :
5303 $as_echo_n "(cached
) " >&6
5305 if test -n "$DLLTOOL"; then
5306 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 test -z "$as_dir" && as_dir=.
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5315 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5316 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5325 DLLTOOL=$ac_cv_prog_DLLTOOL
5326 if test -n "$DLLTOOL"; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5328 $as_echo "$DLLTOOL" >&6; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5331 $as_echo "no
" >&6; }
5336 if test -z "$ac_cv_prog_DLLTOOL"; then
5337 ac_ct_DLLTOOL=$DLLTOOL
5338 # Extract the first word of "dlltool
", so it can be a program name with args.
5339 set dummy dlltool; ac_word=$2
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5341 $as_echo_n "checking
for $ac_word...
" >&6; }
5342 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5343 $as_echo_n "(cached
) " >&6
5345 if test -n "$ac_ct_DLLTOOL"; then
5346 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5356 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5365 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5366 if test -n "$ac_ct_DLLTOOL"; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5368 $as_echo "$ac_ct_DLLTOOL" >&6; }
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5371 $as_echo "no
" >&6; }
5374 if test "x
$ac_ct_DLLTOOL" = x; then
5377 case $cross_compiling:$ac_tool_warned in
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5380 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5381 ac_tool_warned=yes ;;
5383 DLLTOOL=$ac_ct_DLLTOOL
5386 DLLTOOL="$ac_cv_prog_DLLTOOL"
5389 test -z "$DLLTOOL" && DLLTOOL=dlltool
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5401 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5402 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5403 $as_echo_n "(cached
) " >&6
5405 lt_cv_sharedlib_from_linklib_cmd='unknown'
5408 cygwin* | mingw* | pw32* | cegcc*)
5409 # two different shell functions defined in ltmain.sh;
5410 # decide which one to use based on capabilities of $DLLTOOL
5411 case `$DLLTOOL --help 2>&1` in
5412 *--identify-strict*)
5413 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5416 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5421 # fallback: assume linklib IS sharedlib
5422 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5428 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5429 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5430 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5439 if test -n "$ac_tool_prefix"; then
5442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5443 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5445 $as_echo_n "checking
for $ac_word...
" >&6; }
5446 if ${ac_cv_prog_AR+:} false; then :
5447 $as_echo_n "(cached
) " >&6
5449 if test -n "$AR"; then
5450 ac_cv_prog_AR="$AR" # Let the user override the test.
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 test -z "$as_dir" && as_dir=.
5457 for ac_exec_ext in '' $ac_executable_extensions; do
5458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5470 if test -n "$AR"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5472 $as_echo "$AR" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5475 $as_echo "no
" >&6; }
5479 test -n "$AR" && break
5482 if test -z "$AR"; then
5486 # Extract the first word of "$ac_prog", so it can be a program name with args.
5487 set dummy $ac_prog; ac_word=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5489 $as_echo_n "checking
for $ac_word...
" >&6; }
5490 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5491 $as_echo_n "(cached
) " >&6
5493 if test -n "$ac_ct_AR"; then
5494 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_ac_ct_AR="$ac_prog"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5513 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5514 if test -n "$ac_ct_AR"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5516 $as_echo "$ac_ct_AR" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5519 $as_echo "no
" >&6; }
5523 test -n "$ac_ct_AR" && break
5526 if test "x
$ac_ct_AR" = x; then
5529 case $cross_compiling:$ac_tool_warned in
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5532 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5533 ac_tool_warned=yes ;;
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5553 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5554 if ${lt_cv_ar_at_file+:} false; then :
5555 $as_echo_n "(cached
) " >&6
5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5559 /* end confdefs.h. */
5569 if ac_fn_c_try_compile "$LINENO"; then :
5570 echo conftest.$ac_objext > conftest.lst
5571 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5572 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5573 (eval $lt_ar_try) 2>&5
5575 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5576 test $ac_status = 0; }
5577 if test 0 -eq "$ac_status"; then
5578 # Ensure the archiver fails upon bogus file names.
5579 rm -f conftest.$ac_objext libconftest.a
5580 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5581 (eval $lt_ar_try) 2>&5
5583 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5584 test $ac_status = 0; }
5585 if test 0 -ne "$ac_status"; then
5589 rm -f conftest.* libconftest.a
5592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5596 $as_echo "$lt_cv_ar_at_file" >&6; }
5598 if test no = "$lt_cv_ar_at_file"; then
5601 archiver_list_spec=$lt_cv_ar_at_file
5610 if test -n "$ac_tool_prefix"; then
5611 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5612 set dummy ${ac_tool_prefix}strip; ac_word=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5614 $as_echo_n "checking
for $ac_word...
" >&6; }
5615 if ${ac_cv_prog_STRIP+:} false; then :
5616 $as_echo_n "(cached
) " >&6
5618 if test -n "$STRIP"; then
5619 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 test -z "$as_dir" && as_dir=.
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5638 STRIP=$ac_cv_prog_STRIP
5639 if test -n "$STRIP"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5641 $as_echo "$STRIP" >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5644 $as_echo "no
" >&6; }
5649 if test -z "$ac_cv_prog_STRIP"; then
5651 # Extract the first word of "strip
", so it can be a program name with args.
5652 set dummy strip; ac_word=$2
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5654 $as_echo_n "checking
for $ac_word...
" >&6; }
5655 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5656 $as_echo_n "(cached
) " >&6
5658 if test -n "$ac_ct_STRIP"; then
5659 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 test -z "$as_dir" && as_dir=.
5666 for ac_exec_ext in '' $ac_executable_extensions; do
5667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5668 ac_cv_prog_ac_ct_STRIP="strip
"
5669 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5678 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5679 if test -n "$ac_ct_STRIP"; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5681 $as_echo "$ac_ct_STRIP" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5684 $as_echo "no
" >&6; }
5687 if test "x
$ac_ct_STRIP" = x; then
5690 case $cross_compiling:$ac_tool_warned in
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5693 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5694 ac_tool_warned=yes ;;
5699 STRIP="$ac_cv_prog_STRIP"
5702 test -z "$STRIP" && STRIP=:
5709 if test -n "$ac_tool_prefix"; then
5710 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5711 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5713 $as_echo_n "checking
for $ac_word...
" >&6; }
5714 if ${ac_cv_prog_RANLIB+:} false; then :
5715 $as_echo_n "(cached
) " >&6
5717 if test -n "$RANLIB"; then
5718 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5737 RANLIB=$ac_cv_prog_RANLIB
5738 if test -n "$RANLIB"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5740 $as_echo "$RANLIB" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5743 $as_echo "no
" >&6; }
5748 if test -z "$ac_cv_prog_RANLIB"; then
5749 ac_ct_RANLIB=$RANLIB
5750 # Extract the first word of "ranlib
", so it can be a program name with args.
5751 set dummy ranlib; ac_word=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5753 $as_echo_n "checking
for $ac_word...
" >&6; }
5754 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5755 $as_echo_n "(cached
) " >&6
5757 if test -n "$ac_ct_RANLIB"; then
5758 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5767 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5777 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5778 if test -n "$ac_ct_RANLIB"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5780 $as_echo "$ac_ct_RANLIB" >&6; }
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5783 $as_echo "no
" >&6; }
5786 if test "x
$ac_ct_RANLIB" = x; then
5789 case $cross_compiling:$ac_tool_warned in
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5792 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5793 ac_tool_warned=yes ;;
5795 RANLIB=$ac_ct_RANLIB
5798 RANLIB="$ac_cv_prog_RANLIB"
5801 test -z "$RANLIB" && RANLIB=:
5808 # Determine commands to create old-style static archives.
5809 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5810 old_postinstall_cmds='chmod 644 $oldlib'
5811 old_postuninstall_cmds=
5813 if test -n "$RANLIB"; then
5816 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5819 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5822 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
5827 lock_old_archive_extraction=yes ;;
5829 lock_old_archive_extraction=no ;;
5870 # If no C compiler was specified, use CC.
5873 # If no C compiler flags were specified, use CFLAGS.
5874 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5876 # Allow CC to be a program name with arguments.
5880 # Check for command to grab the raw symbol name followed by C symbol from nm.
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5882 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5883 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5884 $as_echo_n "(cached
) " >&6
5887 # These are sane defaults that work on at least a few old systems.
5888 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5890 # Character class describing NM global symbol codes.
5891 symcode='[BCDEGRST]'
5893 # Regexp to match symbols that can be accessed directly from C.
5894 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5896 # Define system-specific variables.
5901 cygwin* | mingw* | pw32* | cegcc*)
5902 symcode='[ABCDGISTW]'
5905 if test ia64 = "$host_cpu"; then
5906 symcode='[ABCDEGRST]'
5910 symcode='[BCDEGRST]'
5913 symcode='[BCDEGQRST]'
5924 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5932 # If we're using GNU nm, then use its standard symbol codes.
5933 case `$NM -V 2>&1` in
5934 *GNU* | *'with BFD'*)
5935 symcode='[ABCDGIRSTW]' ;;
5938 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5939 # Gets list of data symbols to import.
5940 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
5941 # Adjust the below global symbol transforms to fixup imported variables.
5942 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
5943 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
5944 lt_c_name_lib_hook="\
5945 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
5946 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
5948 # Disable hooks by default.
5949 lt_cv_sys_global_symbol_to_import=
5955 # Transform an extracted symbol line into a proper C declaration.
5956 # Some systems (esp. on ia64) link data and code symbols differently,
5957 # so use this general approach.
5958 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
5960 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
5961 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
5963 # Transform an extracted symbol line into symbol name and symbol address
5964 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
5966 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5967 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
5969 # Transform an extracted symbol line into symbol name with lib prefix and
5971 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
5972 $lt_c_name_lib_hook\
5973 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5974 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
5975 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
5977 # Handle CRLF in mingw tool chain
5981 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5985 # Try without a prefix underscore, then with it.
5986 for ac_symprfx in "" "_
"; do
5988 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5989 symxfrm="\\1 $ac_symprfx\\2 \\2"
5991 # Write the raw and C identifiers.
5992 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5993 # Fake it for dumpbin and say T for any non-static function,
5994 # D for any global variable and I for any imported variable.
5995 # Also find C++ and __fastcall symbols from MSVC++,
5996 # which start with @ or ?.
5997 lt_cv_sys_global_symbol_pipe="$AWK '"\
5998 " {last_section=section; section=\$ 3};"\
5999 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6000 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6001 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6002 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6003 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6004 " \$ 0!~/External *\|/{next};"\
6005 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6006 " {if(hide[section]) next};"\
6007 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6008 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6009 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6010 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6011 " ' prfx
=^
$ac_symprfx"
6013 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6015 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6017 # Check to see that the pipe works correctly.
6021 cat > conftest.$ac_ext <<_LT_EOF
6026 void nm_test_func(void);
6027 void nm_test_func(void){}
6031 int main(){nm_test_var='a';nm_test_func();return(0);}
6034 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6035 (eval $ac_compile) 2>&5
6037 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6038 test $ac_status = 0; }; then
6039 # Now try to grab the symbols.
6041 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6042 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6044 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6045 test $ac_status = 0; } && test -s "$nlist"; then
6046 # Try sorting and uniquifying the output.
6047 if sort "$nlist" | uniq > "$nlist"T; then
6048 mv -f "$nlist"T "$nlist"
6053 # Make sure that we snagged all the symbols we need.
6054 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6055 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6056 cat <<_LT_EOF > conftest.$ac_ext
6057 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6058 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6059 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6060 relocations are performed -- see ld's documentation on pseudo-relocs. */
6061 # define LT_DLSYM_CONST
6062 #elif defined __osf__
6063 /* This system does not cope well with relocations in const data. */
6064 # define LT_DLSYM_CONST
6066 # define LT_DLSYM_CONST const
6074 # Now generate the symbol file.
6075 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6077 cat <<_LT_EOF >> conftest.$ac_ext
6079 /* The mapping between symbol names and symbols. */
6080 LT_DLSYM_CONST struct {
6084 lt__PROGRAM__LTX_preloaded_symbols[] =
6086 { "@PROGRAM@
", (void *) 0 },
6088 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6089 cat <<\_LT_EOF >> conftest.$ac_ext
6093 /* This works around a problem in FreeBSD linker */
6094 #ifdef FREEBSD_WORKAROUND
6095 static const void *lt_preloaded_setup() {
6096 return lt__PROGRAM__LTX_preloaded_symbols;
6104 # Now try linking the two files.
6105 mv conftest.$ac_objext conftstm.$ac_objext
6106 lt_globsym_save_LIBS=$LIBS
6107 lt_globsym_save_CFLAGS=$CFLAGS
6108 LIBS=conftstm.$ac_objext
6109 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6110 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6111 (eval $ac_link) 2>&5
6113 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6114 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6117 LIBS=$lt_globsym_save_LIBS
6118 CFLAGS=$lt_globsym_save_CFLAGS
6120 echo "cannot
find nm_test_func
in $nlist" >&5
6123 echo "cannot
find nm_test_var
in $nlist" >&5
6126 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6129 echo "$progname: failed program was
:" >&5
6130 cat conftest.$ac_ext >&5
6132 rm -rf conftest* conftst*
6134 # Do not use the global_symbol_pipe unless it works.
6135 if test yes = "$pipe_works"; then
6138 lt_cv_sys_global_symbol_pipe=
6144 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6145 lt_cv_sys_global_symbol_to_cdecl=
6147 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6149 $as_echo "failed
" >&6; }
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6152 $as_echo "ok
" >&6; }
6155 # Response file support.
6156 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6157 nm_file_list_spec='@'
6158 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6159 nm_file_list_spec='@'
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6199 $as_echo_n "checking
for sysroot...
" >&6; }
6201 # Check whether --with-sysroot was given.
6202 if test "${with_sysroot+set}" = set; then :
6203 withval=$with_sysroot;
6210 case $with_sysroot in #(
6212 if test yes = "$GCC"; then
6213 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6217 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6223 $as_echo "$with_sysroot" >&6; }
6224 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6229 $as_echo "${lt_sysroot:-no}" >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6236 $as_echo_n "checking
for a working
dd...
" >&6; }
6237 if ${ac_cv_path_lt_DD+:} false; then :
6238 $as_echo_n "(cached
) " >&6
6240 printf 0123456789abcdef0123456789abcdef >conftest.i
6241 cat conftest.i conftest.i >conftest2.i
6243 if test -z "$lt_DD"; then
6244 ac_path_lt_DD_found=false
6245 # Loop through the user's path and test for each of PROGNAME-LIST
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir=.
6251 for ac_prog in dd; do
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6254 as_fn_executable_p "$ac_path_lt_DD" || continue
6255 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6256 cmp -s conftest.i conftest.out \
6257 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6259 $ac_path_lt_DD_found && break 3
6264 if test -z "$ac_cv_path_lt_DD"; then
6268 ac_cv_path_lt_DD=$lt_DD
6271 rm -f conftest.i conftest2.i conftest.out
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6274 $as_echo "$ac_cv_path_lt_DD" >&6; }
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6278 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6279 if ${lt_cv_truncate_bin+:} false; then :
6280 $as_echo_n "(cached
) " >&6
6282 printf 0123456789abcdef0123456789abcdef >conftest.i
6283 cat conftest.i conftest.i >conftest2.i
6285 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6286 cmp -s conftest.i conftest.out \
6287 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6289 rm -f conftest.i conftest2.i conftest.out
6290 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6293 $as_echo "$lt_cv_truncate_bin" >&6; }
6301 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6304 for cc_temp in $*""; do
6306 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6307 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6312 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6315 # Check whether --enable-libtool-lock was given.
6316 if test "${enable_libtool_lock+set}" = set; then :
6317 enableval=$enable_libtool_lock;
6320 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6322 # Some flags need to be propagated to the compiler or linker for good
6326 # Find out what ABI is being produced by ac_compile, and set mode
6327 # options accordingly.
6328 echo 'int i;' > conftest.$ac_ext
6329 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6330 (eval $ac_compile) 2>&5
6332 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6333 test $ac_status = 0; }; then
6334 case `/usr/bin/file conftest.$ac_objext` in
6346 # Find out what ABI is being produced by ac_compile, and set linker
6347 # options accordingly.
6348 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6349 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6350 (eval $ac_compile) 2>&5
6352 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6353 test $ac_status = 0; }; then
6354 if test yes = "$lt_cv_prog_gnu_ld"; then
6355 case `/usr/bin/file conftest.$ac_objext` in
6357 LD="${LD-ld} -melf32bsmip"
6360 LD="${LD-ld} -melf32bmipn32"
6363 LD="${LD-ld} -melf64bmip"
6367 case `/usr/bin/file conftest.$ac_objext` in
6384 # Find out what ABI is being produced by ac_compile, and set linker
6385 # options accordingly.
6386 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6387 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6388 (eval $ac_compile) 2>&5
6390 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6391 test $ac_status = 0; }; then
6393 case `/usr/bin/file conftest.$ac_objext` in
6401 case `/usr/bin/file conftest.$ac_objext` in
6403 emul="${emul}btsmip
"
6406 emul="${emul}ltsmip
"
6409 case `/usr/bin/file conftest.$ac_objext` in
6414 LD="${LD-ld} -m $emul"
6419 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6420 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6421 # Find out what ABI is being produced by ac_compile, and set linker
6422 # options accordingly. Note that the listed cases only cover the
6423 # situations where additional linker options are needed (such as when
6424 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6425 # vice versa); the common cases where no linker options are needed do
6426 # not appear in the list.
6427 echo 'int i;' > conftest.$ac_ext
6428 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6429 (eval $ac_compile) 2>&5
6431 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6432 test $ac_status = 0; }; then
6433 case `/usr/bin/file conftest.o` in
6436 x86_64-*kfreebsd*-gnu)
6437 LD="${LD-ld} -m elf_i386_fbsd
"
6440 case `/usr/bin/file conftest.o` in
6442 LD="${LD-ld} -m elf32_x86_64
"
6445 LD="${LD-ld} -m elf_i386
"
6449 powerpc64le-*linux*)
6450 LD="${LD-ld} -m elf32lppclinux
"
6453 LD="${LD-ld} -m elf32ppclinux
"
6456 LD="${LD-ld} -m elf_s390
"
6459 LD="${LD-ld} -m elf32_sparc
"
6465 x86_64-*kfreebsd*-gnu)
6466 LD="${LD-ld} -m elf_x86_64_fbsd
"
6469 LD="${LD-ld} -m elf_x86_64
"
6472 LD="${LD-ld} -m elf64lppc
"
6475 LD="${LD-ld} -m elf64ppc
"
6477 s390*-*linux*|s390*-*tpf*)
6478 LD="${LD-ld} -m elf64_s390
"
6481 LD="${LD-ld} -m elf64_sparc
"
6491 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6493 CFLAGS="$CFLAGS -belf"
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6495 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6496 if ${lt_cv_cc_needs_belf+:} false; then :
6497 $as_echo_n "(cached
) " >&6
6500 ac_cpp='$CPP $CPPFLAGS'
6501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6516 if ac_fn_c_try_link "$LINENO"; then :
6517 lt_cv_cc_needs_belf=yes
6519 lt_cv_cc_needs_belf=no
6521 rm -f core conftest.err conftest.$ac_objext \
6522 conftest$ac_exeext conftest.$ac_ext
6524 ac_cpp='$CPP $CPPFLAGS'
6525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6531 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6532 if test yes != "$lt_cv_cc_needs_belf"; then
6533 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6538 # Find out what ABI is being produced by ac_compile, and set linker
6539 # options accordingly.
6540 echo 'int i;' > conftest.$ac_ext
6541 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6542 (eval $ac_compile) 2>&5
6544 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6545 test $ac_status = 0; }; then
6546 case `/usr/bin/file conftest.o` in
6548 case $lt_cv_prog_gnu_ld in
6551 i?86-*-solaris*|x86_64-*-solaris*)
6552 LD="${LD-ld} -m elf_x86_64
"
6555 LD="${LD-ld} -m elf64_sparc
"
6558 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6559 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6564 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6576 need_locks=$enable_libtool_lock
6578 if test -n "$ac_tool_prefix"; then
6579 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6580 set dummy ${ac_tool_prefix}mt; ac_word=$2
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6582 $as_echo_n "checking
for $ac_word...
" >&6; }
6583 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6584 $as_echo_n "(cached
) " >&6
6586 if test -n "$MANIFEST_TOOL"; then
6587 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6593 test -z "$as_dir" && as_dir=.
6594 for ac_exec_ext in '' $ac_executable_extensions; do
6595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6596 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6597 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6606 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6607 if test -n "$MANIFEST_TOOL"; then
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6609 $as_echo "$MANIFEST_TOOL" >&6; }
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6612 $as_echo "no
" >&6; }
6617 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6618 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6619 # Extract the first word of "mt
", so it can be a program name with args.
6620 set dummy mt; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6622 $as_echo_n "checking
for $ac_word...
" >&6; }
6623 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6624 $as_echo_n "(cached
) " >&6
6626 if test -n "$ac_ct_MANIFEST_TOOL"; then
6627 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6646 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6647 if test -n "$ac_ct_MANIFEST_TOOL"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6649 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6652 $as_echo "no
" >&6; }
6655 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6658 case $cross_compiling:$ac_tool_warned in
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6661 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6662 ac_tool_warned=yes ;;
6664 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6667 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6670 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6672 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6673 if ${lt_cv_path_mainfest_tool+:} false; then :
6674 $as_echo_n "(cached
) " >&6
6676 lt_cv_path_mainfest_tool=no
6677 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6678 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6679 cat conftest.err >&5
6680 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6681 lt_cv_path_mainfest_tool=yes
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6686 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6687 if test yes != "$lt_cv_path_mainfest_tool"; then
6697 rhapsody* | darwin*)
6698 if test -n "$ac_tool_prefix"; then
6699 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6700 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6702 $as_echo_n "checking
for $ac_word...
" >&6; }
6703 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6704 $as_echo_n "(cached
) " >&6
6706 if test -n "$DSYMUTIL"; then
6707 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 test -z "$as_dir" && as_dir=.
6714 for ac_exec_ext in '' $ac_executable_extensions; do
6715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6716 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6717 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6726 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6727 if test -n "$DSYMUTIL"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6729 $as_echo "$DSYMUTIL" >&6; }
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6732 $as_echo "no
" >&6; }
6737 if test -z "$ac_cv_prog_DSYMUTIL"; then
6738 ac_ct_DSYMUTIL=$DSYMUTIL
6739 # Extract the first word of "dsymutil
", so it can be a program name with args.
6740 set dummy dsymutil; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6742 $as_echo_n "checking
for $ac_word...
" >&6; }
6743 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6744 $as_echo_n "(cached
) " >&6
6746 if test -n "$ac_ct_DSYMUTIL"; then
6747 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6756 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6766 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6767 if test -n "$ac_ct_DSYMUTIL"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6769 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6772 $as_echo "no
" >&6; }
6775 if test "x
$ac_ct_DSYMUTIL" = x; then
6778 case $cross_compiling:$ac_tool_warned in
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6781 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6782 ac_tool_warned=yes ;;
6784 DSYMUTIL=$ac_ct_DSYMUTIL
6787 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6790 if test -n "$ac_tool_prefix"; then
6791 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6792 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6794 $as_echo_n "checking
for $ac_word...
" >&6; }
6795 if ${ac_cv_prog_NMEDIT+:} false; then :
6796 $as_echo_n "(cached
) " >&6
6798 if test -n "$NMEDIT"; then
6799 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805 test -z "$as_dir" && as_dir=.
6806 for ac_exec_ext in '' $ac_executable_extensions; do
6807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6808 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6818 NMEDIT=$ac_cv_prog_NMEDIT
6819 if test -n "$NMEDIT"; then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6821 $as_echo "$NMEDIT" >&6; }
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6824 $as_echo "no
" >&6; }
6829 if test -z "$ac_cv_prog_NMEDIT"; then
6830 ac_ct_NMEDIT=$NMEDIT
6831 # Extract the first word of "nmedit
", so it can be a program name with args.
6832 set dummy nmedit; ac_word=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6834 $as_echo_n "checking
for $ac_word...
" >&6; }
6835 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6836 $as_echo_n "(cached
) " >&6
6838 if test -n "$ac_ct_NMEDIT"; then
6839 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir=.
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6848 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6858 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6859 if test -n "$ac_ct_NMEDIT"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6861 $as_echo "$ac_ct_NMEDIT" >&6; }
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6864 $as_echo "no
" >&6; }
6867 if test "x
$ac_ct_NMEDIT" = x; then
6870 case $cross_compiling:$ac_tool_warned in
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6873 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6874 ac_tool_warned=yes ;;
6876 NMEDIT=$ac_ct_NMEDIT
6879 NMEDIT="$ac_cv_prog_NMEDIT"
6882 if test -n "$ac_tool_prefix"; then
6883 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6884 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6886 $as_echo_n "checking
for $ac_word...
" >&6; }
6887 if ${ac_cv_prog_LIPO+:} false; then :
6888 $as_echo_n "(cached
) " >&6
6890 if test -n "$LIPO"; then
6891 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 test -z "$as_dir" && as_dir=.
6898 for ac_exec_ext in '' $ac_executable_extensions; do
6899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6900 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6910 LIPO=$ac_cv_prog_LIPO
6911 if test -n "$LIPO"; then
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6913 $as_echo "$LIPO" >&6; }
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6916 $as_echo "no
" >&6; }
6921 if test -z "$ac_cv_prog_LIPO"; then
6923 # Extract the first word of "lipo
", so it can be a program name with args.
6924 set dummy lipo; ac_word=$2
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6926 $as_echo_n "checking
for $ac_word...
" >&6; }
6927 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6928 $as_echo_n "(cached
) " >&6
6930 if test -n "$ac_ct_LIPO"; then
6931 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6937 test -z "$as_dir" && as_dir=.
6938 for ac_exec_ext in '' $ac_executable_extensions; do
6939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6940 ac_cv_prog_ac_ct_LIPO="lipo
"
6941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6950 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6951 if test -n "$ac_ct_LIPO"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6953 $as_echo "$ac_ct_LIPO" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6956 $as_echo "no
" >&6; }
6959 if test "x
$ac_ct_LIPO" = x; then
6962 case $cross_compiling:$ac_tool_warned in
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6965 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6966 ac_tool_warned=yes ;;
6971 LIPO="$ac_cv_prog_LIPO"
6974 if test -n "$ac_tool_prefix"; then
6975 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6976 set dummy ${ac_tool_prefix}otool; ac_word=$2
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6978 $as_echo_n "checking
for $ac_word...
" >&6; }
6979 if ${ac_cv_prog_OTOOL+:} false; then :
6980 $as_echo_n "(cached
) " >&6
6982 if test -n "$OTOOL"; then
6983 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 test -z "$as_dir" && as_dir=.
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6992 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7002 OTOOL=$ac_cv_prog_OTOOL
7003 if test -n "$OTOOL"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7005 $as_echo "$OTOOL" >&6; }
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7008 $as_echo "no
" >&6; }
7013 if test -z "$ac_cv_prog_OTOOL"; then
7015 # Extract the first word of "otool
", so it can be a program name with args.
7016 set dummy otool; ac_word=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7018 $as_echo_n "checking
for $ac_word...
" >&6; }
7019 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7020 $as_echo_n "(cached
) " >&6
7022 if test -n "$ac_ct_OTOOL"; then
7023 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7032 ac_cv_prog_ac_ct_OTOOL="otool
"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7042 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7043 if test -n "$ac_ct_OTOOL"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7045 $as_echo "$ac_ct_OTOOL" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7048 $as_echo "no
" >&6; }
7051 if test "x
$ac_ct_OTOOL" = x; then
7054 case $cross_compiling:$ac_tool_warned in
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7057 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7058 ac_tool_warned=yes ;;
7063 OTOOL="$ac_cv_prog_OTOOL"
7066 if test -n "$ac_tool_prefix"; then
7067 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7068 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7070 $as_echo_n "checking
for $ac_word...
" >&6; }
7071 if ${ac_cv_prog_OTOOL64+:} false; then :
7072 $as_echo_n "(cached
) " >&6
7074 if test -n "$OTOOL64"; then
7075 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7081 test -z "$as_dir" && as_dir=.
7082 for ac_exec_ext in '' $ac_executable_extensions; do
7083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7084 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7094 OTOOL64=$ac_cv_prog_OTOOL64
7095 if test -n "$OTOOL64"; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7097 $as_echo "$OTOOL64" >&6; }
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7100 $as_echo "no
" >&6; }
7105 if test -z "$ac_cv_prog_OTOOL64"; then
7106 ac_ct_OTOOL64=$OTOOL64
7107 # Extract the first word of "otool64
", so it can be a program name with args.
7108 set dummy otool64; ac_word=$2
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7110 $as_echo_n "checking
for $ac_word...
" >&6; }
7111 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7112 $as_echo_n "(cached
) " >&6
7114 if test -n "$ac_ct_OTOOL64"; then
7115 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121 test -z "$as_dir" && as_dir=.
7122 for ac_exec_ext in '' $ac_executable_extensions; do
7123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7124 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7125 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7134 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7135 if test -n "$ac_ct_OTOOL64"; then
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7137 $as_echo "$ac_ct_OTOOL64" >&6; }
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7140 $as_echo "no
" >&6; }
7143 if test "x
$ac_ct_OTOOL64" = x; then
7146 case $cross_compiling:$ac_tool_warned in
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7149 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7150 ac_tool_warned=yes ;;
7152 OTOOL64=$ac_ct_OTOOL64
7155 OTOOL64="$ac_cv_prog_OTOOL64"
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7185 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7186 if ${lt_cv_apple_cc_single_mod+:} false; then :
7187 $as_echo_n "(cached
) " >&6
7189 lt_cv_apple_cc_single_mod=no
7190 if test -z "$LT_MULTI_MODULE"; then
7191 # By default we will add the -single_module flag. You can override
7192 # by either setting the environment variable LT_MULTI_MODULE
7193 # non-empty at configure time, or by adding -multi_module to the
7195 rm -rf libconftest.dylib*
7196 echo "int foo
(void
){return 1;}" > conftest.c
7197 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7198 -dynamiclib -Wl,-single_module conftest.c
" >&5
7199 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7200 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7202 # If there is a non-empty error log, and "single_module
"
7203 # appears in it, assume the flag caused a linker warning
7204 if test -s conftest.err && $GREP single_module conftest.err; then
7205 cat conftest.err >&5
7206 # Otherwise, if the output was created with a 0 exit code from
7207 # the compiler, it worked.
7208 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7209 lt_cv_apple_cc_single_mod=yes
7211 cat conftest.err >&5
7213 rm -rf libconftest.dylib*
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7218 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7221 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7222 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7223 $as_echo_n "(cached
) " >&6
7225 lt_cv_ld_exported_symbols_list=no
7226 save_LDFLAGS=$LDFLAGS
7227 echo "_main
" > conftest.sym
7228 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230 /* end confdefs.h. */
7240 if ac_fn_c_try_link "$LINENO"; then :
7241 lt_cv_ld_exported_symbols_list=yes
7243 lt_cv_ld_exported_symbols_list=no
7245 rm -f core conftest.err conftest.$ac_objext \
7246 conftest$ac_exeext conftest.$ac_ext
7247 LDFLAGS=$save_LDFLAGS
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7251 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7254 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7255 if ${lt_cv_ld_force_load+:} false; then :
7256 $as_echo_n "(cached
) " >&6
7258 lt_cv_ld_force_load=no
7259 cat > conftest.c << _LT_EOF
7260 int forced_loaded() { return 2;}
7262 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7263 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7264 echo "$AR cru libconftest.a conftest.o
" >&5
7265 $AR cru libconftest.a conftest.o 2>&5
7266 echo "$RANLIB libconftest.a
" >&5
7267 $RANLIB libconftest.a 2>&5
7268 cat > conftest.c << _LT_EOF
7269 int main() { return 0;}
7271 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7272 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7274 if test -s conftest.err && $GREP force_load conftest.err; then
7275 cat conftest.err >&5
7276 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7277 lt_cv_ld_force_load=yes
7279 cat conftest.err >&5
7281 rm -f conftest.err libconftest.a conftest conftest.c
7282 rm -rf conftest.dSYM
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7286 $as_echo "$lt_cv_ld_force_load" >&6; }
7288 rhapsody* | darwin1.[012])
7289 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7291 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7292 darwin*) # darwin 5.x on
7293 # if running on 10.5 or later, the deployment target defaults
7294 # to the OS version, if on x86, and 10.4, the deployment
7295 # target defaults to 10.4. Don't you love it?
7296 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7297 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7298 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7300 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7302 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7306 if test yes = "$lt_cv_apple_cc_single_mod"; then
7307 _lt_dar_single_mod='$single_module'
7309 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7310 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7312 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7314 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7315 _lt_dsymutil='~$DSYMUTIL $lib || :'
7322 # func_munge_path_list VARIABLE PATH
7323 # -----------------------------------
7324 # VARIABLE is name of variable containing _space_ separated list of
7325 # directories to be munged by the contents of PATH, which is string
7328 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7330 # string "DIR
[ DIR
]" will be appended to VARIABLE
7331 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7332 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7333 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7335 # VARIABLE will be replaced by "DIR
[ DIR
]"
7336 func_munge_path_list ()
7342 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7345 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7348 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7349 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7352 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7358 ac_cpp='$CPP $CPPFLAGS'
7359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7363 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7364 # On Suns, sometimes $CPP names a directory.
7365 if test -n "$CPP" && test -d "$CPP"; then
7368 if test -z "$CPP"; then
7369 if ${ac_cv_prog_CPP+:} false; then :
7370 $as_echo_n "(cached
) " >&6
7372 # Double quotes because CPP needs to be expanded
7373 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7376 for ac_c_preproc_warn_flag in '' yes
7378 # Use a header file that comes with gcc, so configuring glibc
7379 # with a fresh cross-compiler works.
7380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7381 # <limits.h> exists even on freestanding compilers.
7382 # On the NeXT, cc -E runs the code through the compiler's parser,
7383 # not just through cpp. "Syntax error
" is here to catch this case.
7384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7385 /* end confdefs.h. */
7387 # include <limits.h>
7389 # include <assert.h>
7393 if ac_fn_c_try_cpp "$LINENO"; then :
7396 # Broken: fails on valid input.
7399 rm -f conftest.err conftest.i conftest.$ac_ext
7401 # OK, works on sane cases. Now check whether nonexistent headers
7402 # can be detected and how.
7403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7404 /* end confdefs.h. */
7405 #include <ac_nonexistent.h>
7407 if ac_fn_c_try_cpp "$LINENO"; then :
7408 # Broken: success on invalid input.
7411 # Passes both tests.
7415 rm -f conftest.err conftest.i conftest.$ac_ext
7418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7419 rm -f conftest.i conftest.err conftest.$ac_ext
7420 if $ac_preproc_ok; then :
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7433 $as_echo "$CPP" >&6; }
7435 for ac_c_preproc_warn_flag in '' yes
7437 # Use a header file that comes with gcc, so configuring glibc
7438 # with a fresh cross-compiler works.
7439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7440 # <limits.h> exists even on freestanding compilers.
7441 # On the NeXT, cc -E runs the code through the compiler's parser,
7442 # not just through cpp. "Syntax error
" is here to catch this case.
7443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7446 # include <limits.h>
7448 # include <assert.h>
7452 if ac_fn_c_try_cpp "$LINENO"; then :
7455 # Broken: fails on valid input.
7458 rm -f conftest.err conftest.i conftest.$ac_ext
7460 # OK, works on sane cases. Now check whether nonexistent headers
7461 # can be detected and how.
7462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7463 /* end confdefs.h. */
7464 #include <ac_nonexistent.h>
7466 if ac_fn_c_try_cpp "$LINENO"; then :
7467 # Broken: success on invalid input.
7470 # Passes both tests.
7474 rm -f conftest.err conftest.i conftest.$ac_ext
7477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7478 rm -f conftest.i conftest.err conftest.$ac_ext
7479 if $ac_preproc_ok; then :
7482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7484 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7485 See \`config.log' for more details
" "$LINENO" 5; }
7489 ac_cpp='$CPP $CPPFLAGS'
7490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7496 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7497 if ${ac_cv_header_stdc+:} false; then :
7498 $as_echo_n "(cached
) " >&6
7500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7501 /* end confdefs.h. */
7515 if ac_fn_c_try_compile "$LINENO"; then :
7516 ac_cv_header_stdc=yes
7518 ac_cv_header_stdc=no
7520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7522 if test $ac_cv_header_stdc = yes; then
7523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7525 /* end confdefs.h. */
7529 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7530 $EGREP "memchr
" >/dev/null 2>&1; then :
7533 ac_cv_header_stdc=no
7539 if test $ac_cv_header_stdc = yes; then
7540 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7546 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7547 $EGREP "free
" >/dev/null 2>&1; then :
7550 ac_cv_header_stdc=no
7556 if test $ac_cv_header_stdc = yes; then
7557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7558 if test "$cross_compiling" = yes; then :
7561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7565 #if ((' ' & 0x0FF) == 0x020)
7566 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7567 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7569 # define ISLOWER(c) \
7570 (('a' <= (c) && (c) <= 'i') \
7571 || ('j' <= (c) && (c) <= 'r') \
7572 || ('s' <= (c) && (c) <= 'z'))
7573 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7576 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7581 for (i = 0; i < 256; i++)
7582 if (XOR (islower (i), ISLOWER (i))
7583 || toupper (i) != TOUPPER (i))
7588 if ac_fn_c_try_run "$LINENO"; then :
7591 ac_cv_header_stdc=no
7593 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7594 conftest.$ac_objext conftest.beam conftest.$ac_ext
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7600 $as_echo "$ac_cv_header_stdc" >&6; }
7601 if test $ac_cv_header_stdc = yes; then
7603 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7607 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7608 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7609 inttypes.h stdint.h unistd.h
7611 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7612 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7614 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7615 cat >>confdefs.h
<<_ACEOF
7616 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7624 for ac_header
in dlfcn.h
7626 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7628 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7629 cat >>confdefs.h
<<_ACEOF
7630 #define HAVE_DLFCN_H 1
7651 # Check whether --enable-shared was given.
7652 if test "${enable_shared+set}" = set; then :
7653 enableval
=$enable_shared; p
=${PACKAGE-default}
7655 yes) enable_shared
=yes ;;
7656 no
) enable_shared
=no
;;
7659 # Look at the argument we got. We use all the common list separators.
7660 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7661 for pkg
in $enableval; do
7663 if test "X$pkg" = "X$p"; then
7682 # Check whether --enable-static was given.
7683 if test "${enable_static+set}" = set; then :
7684 enableval
=$enable_static; p
=${PACKAGE-default}
7686 yes) enable_static
=yes ;;
7687 no
) enable_static
=no
;;
7690 # Look at the argument we got. We use all the common list separators.
7691 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7692 for pkg
in $enableval; do
7694 if test "X$pkg" = "X$p"; then
7714 # Check whether --with-pic was given.
7715 if test "${with_pic+set}" = set; then :
7716 withval
=$with_pic; lt_p
=${PACKAGE-default}
7718 yes|no
) pic_mode
=$withval ;;
7721 # Look at the argument we got. We use all the common list separators.
7722 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7723 for lt_pkg
in $withval; do
7725 if test "X$lt_pkg" = "X$lt_p"; then
7743 # Check whether --enable-fast-install was given.
7744 if test "${enable_fast_install+set}" = set; then :
7745 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7747 yes) enable_fast_install
=yes ;;
7748 no
) enable_fast_install
=no
;;
7750 enable_fast_install
=no
7751 # Look at the argument we got. We use all the common list separators.
7752 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7753 for pkg
in $enableval; do
7755 if test "X$pkg" = "X$p"; then
7756 enable_fast_install
=yes
7763 enable_fast_install
=yes
7773 shared_archive_member_spec
=
7774 case $host,$enable_shared in
7775 power
*-*-aix[5-9]*,yes)
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7777 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7779 # Check whether --with-aix-soname was given.
7780 if test "${with_aix_soname+set}" = set; then :
7781 withval
=$with_aix_soname; case $withval in
7785 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7788 lt_cv_with_aix_soname
=$with_aix_soname
7790 if ${lt_cv_with_aix_soname+:} false
; then :
7791 $as_echo_n "(cached) " >&6
7793 lt_cv_with_aix_soname
=aix
7796 with_aix_soname
=$lt_cv_with_aix_soname
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7800 $as_echo "$with_aix_soname" >&6; }
7801 if test aix
!= "$with_aix_soname"; then
7802 # For the AIX way of multilib, we name the shared archive member
7803 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7804 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7805 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7806 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7807 if test 64 = "${OBJECT_MODE-32}"; then
7808 shared_archive_member_spec
=shr_64
7810 shared_archive_member_spec
=shr
7828 # This can be used to rebuild libtool when needed
7829 LIBTOOL_DEPS
=$ltmain
7831 # Always use our own libtool.
7832 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7863 test -z "$LN_S" && LN_S
="ln -s"
7878 if test -n "${ZSH_VERSION+set}"; then
7879 setopt NO_GLOB_SUBST
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7883 $as_echo_n "checking for objdir... " >&6; }
7884 if ${lt_cv_objdir+:} false
; then :
7885 $as_echo_n "(cached) " >&6
7887 rm -f .libs
2>/dev
/null
7888 mkdir .libs
2>/dev
/null
7889 if test -d .libs
; then
7892 # MS-DOS does not allow filenames that begin with a dot.
7895 rmdir .libs
2>/dev
/null
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7898 $as_echo "$lt_cv_objdir" >&6; }
7899 objdir
=$lt_cv_objdir
7905 cat >>confdefs.h
<<_ACEOF
7906 #define LT_OBJDIR "$lt_cv_objdir/"
7914 # AIX sometimes has problems with the GCC collect2 program. For some
7915 # reason, if we set the COLLECT_NAMES environment variable, the problems
7916 # vanish in a puff of smoke.
7917 if test set != "${COLLECT_NAMES+set}"; then
7919 export COLLECT_NAMES
7926 can_build_shared
=yes
7928 # All known linkers require a '.a' archive for static linking (except MSVC,
7929 # which needs '.lib').
7932 with_gnu_ld
=$lt_cv_prog_gnu_ld
7937 # Set sane defaults for various variables
7938 test -z "$CC" && CC
=cc
7939 test -z "$LTCC" && LTCC
=$CC
7940 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7941 test -z "$LD" && LD
=ld
7942 test -z "$ac_objext" && ac_objext
=o
7944 func_cc_basename
$compiler
7945 cc_basename
=$func_cc_basename_result
7948 # Only perform the check for file, if the check method requires it
7949 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7950 case $deplibs_check_method in
7952 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7954 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7955 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7956 $as_echo_n "(cached) " >&6
7960 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
7963 lt_save_MAGIC_CMD
=$MAGIC_CMD
7964 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7965 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7966 for ac_dir
in $ac_dummy; do
7968 test -z "$ac_dir" && ac_dir
=.
7969 if test -f "$ac_dir/${ac_tool_prefix}file"; then
7970 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
7971 if test -n "$file_magic_test_file"; then
7972 case $deplibs_check_method in
7974 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7975 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7976 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7977 $EGREP "$file_magic_regex" > /dev
/null
; then
7982 *** Warning: the command libtool uses to detect shared libraries,
7983 *** $file_magic_cmd, produces output that libtool cannot recognize.
7984 *** The result is that libtool may fail to recognize shared libraries
7985 *** as such. This will affect the creation of libtool libraries that
7986 *** depend on shared libraries, but programs linked with such libtool
7987 *** libraries will work regardless of this problem. Nevertheless, you
7988 *** may want to report the problem to your system manager and/or to
7989 *** bug-libtool@gnu.org
7999 MAGIC_CMD
=$lt_save_MAGIC_CMD
8004 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8005 if test -n "$MAGIC_CMD"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8007 $as_echo "$MAGIC_CMD" >&6; }
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8017 if test -z "$lt_cv_path_MAGIC_CMD"; then
8018 if test -n "$ac_tool_prefix"; then
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8020 $as_echo_n "checking for file... " >&6; }
8021 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8022 $as_echo_n "(cached) " >&6
8026 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8029 lt_save_MAGIC_CMD
=$MAGIC_CMD
8030 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8031 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8032 for ac_dir
in $ac_dummy; do
8034 test -z "$ac_dir" && ac_dir
=.
8035 if test -f "$ac_dir/file"; then
8036 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8037 if test -n "$file_magic_test_file"; then
8038 case $deplibs_check_method in
8040 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8041 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8042 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8043 $EGREP "$file_magic_regex" > /dev
/null
; then
8048 *** Warning: the command libtool uses to detect shared libraries,
8049 *** $file_magic_cmd, produces output that libtool cannot recognize.
8050 *** The result is that libtool may fail to recognize shared libraries
8051 *** as such. This will affect the creation of libtool libraries that
8052 *** depend on shared libraries, but programs linked with such libtool
8053 *** libraries will work regardless of this problem. Nevertheless, you
8054 *** may want to report the problem to your system manager and/or to
8055 *** bug-libtool@gnu.org
8065 MAGIC_CMD
=$lt_save_MAGIC_CMD
8070 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8071 if test -n "$MAGIC_CMD"; then
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8073 $as_echo "$MAGIC_CMD" >&6; }
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076 $as_echo "no" >&6; }
8089 # Use C for the default configuration in the libtool script
8093 ac_cpp
='$CPP $CPPFLAGS'
8094 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8095 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8096 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8099 # Source file extension for C test sources.
8102 # Object file extension for compiled C test sources.
8106 # Code to be used in simple compile tests
8107 lt_simple_compile_test_code
="int some_variable = 0;"
8109 # Code to be used in simple link tests
8110 lt_simple_link_test_code
='int main(){return(0);}'
8118 # If no C compiler was specified, use CC.
8121 # If no C compiler flags were specified, use CFLAGS.
8122 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8124 # Allow CC to be a program name with arguments.
8127 # Save the default compiler, since it gets overwritten when the other
8128 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8129 compiler_DEFAULT
=$CC
8131 # save warnings/boilerplate of simple test code
8132 ac_outfile
=conftest.
$ac_objext
8133 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8134 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8135 _lt_compiler_boilerplate
=`cat conftest.err`
8138 ac_outfile
=conftest.
$ac_objext
8139 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8140 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8141 _lt_linker_boilerplate
=`cat conftest.err`
8145 if test -n "$compiler"; then
8147 lt_prog_compiler_no_builtin_flag
=
8149 if test yes = "$GCC"; then
8150 case $cc_basename in
8152 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8154 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8158 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8159 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8160 $as_echo_n "(cached) " >&6
8162 lt_cv_prog_compiler_rtti_exceptions
=no
8163 ac_outfile
=conftest.
$ac_objext
8164 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8165 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8166 # Insert the option either (1) after the last *FLAGS variable, or
8167 # (2) before a word containing "conftest.", or (3) at the end.
8168 # Note that $ac_compile itself does not contain backslashes and begins
8169 # with a dollar sign (not a hyphen), so the echo should work correctly.
8170 # The option is referenced via a variable to avoid confusing sed.
8171 lt_compile
=`echo "$ac_compile" | $SED \
8172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8174 -e 's:$: $lt_compiler_flag:'`
8175 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8176 (eval "$lt_compile" 2>conftest.err
)
8178 cat conftest.err
>&5
8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 if (exit $ac_status) && test -s "$ac_outfile"; then
8181 # The compiler can only warn and ignore the option if not recognized
8182 # So say no if there are warnings other than the usual output.
8183 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8184 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8185 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8186 lt_cv_prog_compiler_rtti_exceptions
=yes
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8193 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8195 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8196 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8208 lt_prog_compiler_wl
=
8209 lt_prog_compiler_pic
=
8210 lt_prog_compiler_static
=
8213 if test yes = "$GCC"; then
8214 lt_prog_compiler_wl
='-Wl,'
8215 lt_prog_compiler_static
='-static'
8219 # All AIX code is PIC.
8220 if test ia64
= "$host_cpu"; then
8221 # AIX 5 now supports IA64 processor
8222 lt_prog_compiler_static
='-Bstatic'
8224 lt_prog_compiler_pic
='-fPIC'
8230 # see comment about AmigaOS4 .so support
8231 lt_prog_compiler_pic
='-fPIC'
8234 # FIXME: we need at least 68020 code to build shared libraries, but
8235 # adding the '-m68020' flag to GCC prevents building anything better,
8237 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8242 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8243 # PIC is the default for these OSes.
8246 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8247 # This hack is so that the source file can tell whether it is being
8248 # built for inclusion in a dll (and should export symbols for example).
8249 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8250 # (--disable-auto-import) libraries
8251 lt_prog_compiler_pic
='-DDLL_EXPORT'
8254 lt_prog_compiler_static
='$wl-static'
8259 darwin
* | rhapsody
*)
8260 # PIC is the default on this platform
8261 # Common symbols not allowed in MH_DYLIB files
8262 lt_prog_compiler_pic
='-fno-common'
8266 # PIC is the default for Haiku.
8267 # The "-static" flag exists, but is broken.
8268 lt_prog_compiler_static
=
8272 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8273 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8274 # sets the default TLS model and affects inlining.
8280 lt_prog_compiler_pic
='-fPIC'
8286 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8287 # Instead, we relocate shared libraries at runtime.
8291 # Just because we use GCC doesn't mean we suddenly get shared libraries
8292 # on systems that don't support them.
8293 lt_prog_compiler_can_build_shared
=no
8298 # QNX uses GNU C++, but need to define -shared option too, otherwise
8300 lt_prog_compiler_pic
='-fPIC -shared'
8304 if test -d /usr
/nec
; then
8305 lt_prog_compiler_pic
=-Kconform_pic
8310 lt_prog_compiler_pic
='-fPIC'
8314 case $cc_basename in
8315 nvcc
*) # Cuda Compiler Driver 2.2
8316 lt_prog_compiler_wl
='-Xlinker '
8317 if test -n "$lt_prog_compiler_pic"; then
8318 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8323 # PORTME Check for flag to pass linker flags through the system compiler.
8326 lt_prog_compiler_wl
='-Wl,'
8327 if test ia64
= "$host_cpu"; then
8328 # AIX 5 now supports IA64 processor
8329 lt_prog_compiler_static
='-Bstatic'
8331 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8335 darwin
* | rhapsody
*)
8336 # PIC is the default on this platform
8337 # Common symbols not allowed in MH_DYLIB files
8338 lt_prog_compiler_pic
='-fno-common'
8339 case $cc_basename in
8341 # NAG Fortran compiler
8342 lt_prog_compiler_wl
='-Wl,-Wl,,'
8343 lt_prog_compiler_pic
='-PIC'
8344 lt_prog_compiler_static
='-Bstatic'
8349 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8350 # This hack is so that the source file can tell whether it is being
8351 # built for inclusion in a dll (and should export symbols for example).
8352 lt_prog_compiler_pic
='-DDLL_EXPORT'
8355 lt_prog_compiler_static
='$wl-static'
8360 hpux9
* | hpux10
* | hpux11
*)
8361 lt_prog_compiler_wl
='-Wl,'
8362 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8369 lt_prog_compiler_pic
='+Z'
8372 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8373 lt_prog_compiler_static
='$wl-a ${wl}archive'
8376 irix5
* | irix6
* | nonstopux
*)
8377 lt_prog_compiler_wl
='-Wl,'
8378 # PIC (with -KPIC) is the default.
8379 lt_prog_compiler_static
='-non_shared'
8382 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8383 case $cc_basename in
8384 # old Intel for x86_64, which still supported -KPIC.
8386 lt_prog_compiler_wl
='-Wl,'
8387 lt_prog_compiler_pic
='-KPIC'
8388 lt_prog_compiler_static
='-static'
8390 # icc used to be incompatible with GCC.
8391 # ICC 10 doesn't accept -KPIC any more.
8393 lt_prog_compiler_wl
='-Wl,'
8394 lt_prog_compiler_pic
='-fPIC'
8395 lt_prog_compiler_static
='-static'
8397 # Lahey Fortran 8.1.
8399 lt_prog_compiler_wl
='-Wl,'
8400 lt_prog_compiler_pic
='--shared'
8401 lt_prog_compiler_static
='--static'
8404 # NAG Fortran compiler
8405 lt_prog_compiler_wl
='-Wl,-Wl,,'
8406 lt_prog_compiler_pic
='-PIC'
8407 lt_prog_compiler_static
='-Bstatic'
8410 # Fabrice Bellard et al's Tiny C Compiler
8411 lt_prog_compiler_wl
='-Wl,'
8412 lt_prog_compiler_pic
='-fPIC'
8413 lt_prog_compiler_static
='-static'
8415 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8416 # Portland Group compilers (*not* the Pentium gcc compiler,
8417 # which looks to be a dead project)
8418 lt_prog_compiler_wl
='-Wl,'
8419 lt_prog_compiler_pic
='-fpic'
8420 lt_prog_compiler_static
='-Bstatic'
8423 lt_prog_compiler_wl
='-Wl,'
8424 # All Alpha code is PIC.
8425 lt_prog_compiler_static
='-non_shared'
8427 xl
* | bgxl
* | bgf
* | mpixl
*)
8428 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8429 lt_prog_compiler_wl
='-Wl,'
8430 lt_prog_compiler_pic
='-qpic'
8431 lt_prog_compiler_static
='-qstaticlink'
8434 case `$CC -V 2>&1 | sed 5q` in
8435 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8436 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8437 lt_prog_compiler_pic
='-KPIC'
8438 lt_prog_compiler_static
='-Bstatic'
8439 lt_prog_compiler_wl
=''
8441 *Sun\ F
* |
*Sun
*Fortran
*)
8442 lt_prog_compiler_pic
='-KPIC'
8443 lt_prog_compiler_static
='-Bstatic'
8444 lt_prog_compiler_wl
='-Qoption ld '
8448 lt_prog_compiler_pic
='-KPIC'
8449 lt_prog_compiler_static
='-Bstatic'
8450 lt_prog_compiler_wl
='-Wl,'
8452 *Intel
*\
[CF
]*Compiler
*)
8453 lt_prog_compiler_wl
='-Wl,'
8454 lt_prog_compiler_pic
='-fPIC'
8455 lt_prog_compiler_static
='-static'
8458 lt_prog_compiler_wl
='-Wl,'
8459 lt_prog_compiler_pic
='-fpic'
8460 lt_prog_compiler_static
='-Bstatic'
8468 lt_prog_compiler_pic
='-KPIC'
8469 lt_prog_compiler_static
='-Bstatic'
8473 # QNX uses GNU C++, but need to define -shared option too, otherwise
8475 lt_prog_compiler_pic
='-fPIC -shared'
8478 osf3
* | osf4
* | osf5
*)
8479 lt_prog_compiler_wl
='-Wl,'
8480 # All OSF/1 code is PIC.
8481 lt_prog_compiler_static
='-non_shared'
8485 lt_prog_compiler_static
='-non_shared'
8489 lt_prog_compiler_pic
='-KPIC'
8490 lt_prog_compiler_static
='-Bstatic'
8491 case $cc_basename in
8492 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8493 lt_prog_compiler_wl
='-Qoption ld ';;
8495 lt_prog_compiler_wl
='-Wl,';;
8500 lt_prog_compiler_wl
='-Qoption ld '
8501 lt_prog_compiler_pic
='-PIC'
8502 lt_prog_compiler_static
='-Bstatic'
8505 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8506 lt_prog_compiler_wl
='-Wl,'
8507 lt_prog_compiler_pic
='-KPIC'
8508 lt_prog_compiler_static
='-Bstatic'
8512 if test -d /usr
/nec
; then
8513 lt_prog_compiler_pic
='-Kconform_pic'
8514 lt_prog_compiler_static
='-Bstatic'
8518 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8519 lt_prog_compiler_wl
='-Wl,'
8520 lt_prog_compiler_pic
='-KPIC'
8521 lt_prog_compiler_static
='-Bstatic'
8525 lt_prog_compiler_wl
='-Wl,'
8526 lt_prog_compiler_can_build_shared
=no
8530 lt_prog_compiler_pic
='-pic'
8531 lt_prog_compiler_static
='-Bstatic'
8535 lt_prog_compiler_can_build_shared
=no
8541 # For platforms that do not support PIC, -DPIC is meaningless:
8543 lt_prog_compiler_pic
=
8546 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8551 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8552 if ${lt_cv_prog_compiler_pic+:} false
; then :
8553 $as_echo_n "(cached) " >&6
8555 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8558 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8559 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8562 # Check to make sure the PIC flag actually works.
8564 if test -n "$lt_prog_compiler_pic"; then
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8566 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8567 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8568 $as_echo_n "(cached) " >&6
8570 lt_cv_prog_compiler_pic_works
=no
8571 ac_outfile
=conftest.
$ac_objext
8572 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8573 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8574 # Insert the option either (1) after the last *FLAGS variable, or
8575 # (2) before a word containing "conftest.", or (3) at the end.
8576 # Note that $ac_compile itself does not contain backslashes and begins
8577 # with a dollar sign (not a hyphen), so the echo should work correctly.
8578 # The option is referenced via a variable to avoid confusing sed.
8579 lt_compile
=`echo "$ac_compile" | $SED \
8580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8582 -e 's:$: $lt_compiler_flag:'`
8583 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8584 (eval "$lt_compile" 2>conftest.err
)
8586 cat conftest.err
>&5
8587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588 if (exit $ac_status) && test -s "$ac_outfile"; then
8589 # The compiler can only warn and ignore the option if not recognized
8590 # So say no if there are warnings other than the usual output.
8591 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8592 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8593 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8594 lt_cv_prog_compiler_pic_works
=yes
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8601 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8603 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8604 case $lt_prog_compiler_pic in
8606 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8609 lt_prog_compiler_pic
=
8610 lt_prog_compiler_can_build_shared
=no
8626 # Check to make sure the static flag actually works.
8628 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8630 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8631 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8632 $as_echo_n "(cached) " >&6
8634 lt_cv_prog_compiler_static_works
=no
8635 save_LDFLAGS
=$LDFLAGS
8636 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8637 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8638 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8639 # The linker can only warn and ignore the option if not recognized
8640 # So say no if there are warnings
8641 if test -s conftest.err
; then
8642 # Append any errors to the config.log.
8643 cat conftest.err
1>&5
8644 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8645 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8646 if diff conftest.exp conftest.er2
>/dev
/null
; then
8647 lt_cv_prog_compiler_static_works
=yes
8650 lt_cv_prog_compiler_static_works
=yes
8654 LDFLAGS
=$save_LDFLAGS
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8658 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8660 if test yes = "$lt_cv_prog_compiler_static_works"; then
8663 lt_prog_compiler_static
=
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8673 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8674 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8675 $as_echo_n "(cached) " >&6
8677 lt_cv_prog_compiler_c_o
=no
8678 $RM -r conftest
2>/dev
/null
8682 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8684 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8685 # Insert the option either (1) after the last *FLAGS variable, or
8686 # (2) before a word containing "conftest.", or (3) at the end.
8687 # Note that $ac_compile itself does not contain backslashes and begins
8688 # with a dollar sign (not a hyphen), so the echo should work correctly.
8689 lt_compile
=`echo "$ac_compile" | $SED \
8690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8691 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8692 -e 's:$: $lt_compiler_flag:'`
8693 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8694 (eval "$lt_compile" 2>out
/conftest.err
)
8696 cat out
/conftest.err
>&5
8697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8700 # The compiler can only warn and ignore the option if not recognized
8701 # So say no if there are warnings
8702 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8703 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8704 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8705 lt_cv_prog_compiler_c_o
=yes
8710 # SGI C++ compiler will create directory out/ii_files/ for
8711 # template instantiation
8712 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8713 $RM out
/* && rmdir out
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8720 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8728 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8729 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8730 $as_echo_n "(cached) " >&6
8732 lt_cv_prog_compiler_c_o
=no
8733 $RM -r conftest
2>/dev
/null
8737 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8739 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8740 # Insert the option either (1) after the last *FLAGS variable, or
8741 # (2) before a word containing "conftest.", or (3) at the end.
8742 # Note that $ac_compile itself does not contain backslashes and begins
8743 # with a dollar sign (not a hyphen), so the echo should work correctly.
8744 lt_compile
=`echo "$ac_compile" | $SED \
8745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8747 -e 's:$: $lt_compiler_flag:'`
8748 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8749 (eval "$lt_compile" 2>out
/conftest.err
)
8751 cat out
/conftest.err
>&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8755 # The compiler can only warn and ignore the option if not recognized
8756 # So say no if there are warnings
8757 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8758 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8759 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8760 lt_cv_prog_compiler_c_o
=yes
8765 # SGI C++ compiler will create directory out/ii_files/ for
8766 # template instantiation
8767 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8768 $RM out
/* && rmdir out
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8775 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8780 hard_links
=nottested
8781 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8782 # do not overwrite the value of need_locks provided by the user
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8784 $as_echo_n "checking if we can lock with hard links... " >&6; }
8787 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8789 ln conftest.a conftest.b
2>&5 || hard_links
=no
8790 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8792 $as_echo "$hard_links" >&6; }
8793 if test no
= "$hard_links"; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8795 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8808 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8811 allow_undefined_flag
=
8812 always_export_symbols
=no
8814 archive_expsym_cmds
=
8815 compiler_needs_object
=no
8816 enable_shared_with_static_runtimes
=no
8817 export_dynamic_flag_spec
=
8818 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8819 hardcode_automatic
=no
8821 hardcode_direct_absolute
=no
8822 hardcode_libdir_flag_spec
=
8823 hardcode_libdir_separator
=
8825 hardcode_shlibpath_var
=unsupported
8827 link_all_deplibs
=unknown
8830 old_archive_from_new_cmds
=
8831 old_archive_from_expsyms_cmds
=
8832 thread_safe_flag_spec
=
8833 whole_archive_flag_spec
=
8834 # include_expsyms should be a list of space-separated symbols to be *always*
8835 # included in the symbol list
8837 # exclude_expsyms can be an extended regexp of symbols to exclude
8838 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8839 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8840 # as well as any symbol that contains 'd'.
8841 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8842 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8843 # platforms (ab)use it in PIC code, but their linkers get confused if
8844 # the symbol is explicitly referenced. Since portable code cannot
8845 # rely on this symbol name, it's probably fine to never include it in
8846 # preloaded symbol tables.
8847 # Exclude shared library initialization/finalization symbols.
8848 extract_expsyms_cmds
=
8851 cygwin
* | mingw
* | pw32
* | cegcc
*)
8852 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8853 # When not using gcc, we currently assume that we are using
8854 # Microsoft Visual C++.
8855 if test yes != "$GCC"; then
8860 # we just hope/assume this is gcc and not c89 (= MSVC++)
8870 # On some targets, GNU ld is compatible enough with the native linker
8871 # that we're better off using the native interface for both.
8872 lt_use_gnu_ld_interface
=no
8873 if test yes = "$with_gnu_ld"; then
8876 # The AIX port of GNU ld has always aspired to compatibility
8877 # with the native linker. However, as the warning in the GNU ld
8878 # block says, versions before 2.19.5* couldn't really create working
8879 # shared libraries, regardless of the interface used.
8880 case `$LD -v 2>&1` in
8881 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8882 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8883 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8885 lt_use_gnu_ld_interface
=yes
8890 lt_use_gnu_ld_interface
=yes
8895 if test yes = "$lt_use_gnu_ld_interface"; then
8896 # If archive_cmds runs LD, not CC, wlarc should be empty
8899 # Set some defaults for GNU ld with shared library support. These
8900 # are reset later if shared libraries are not supported. Putting them
8901 # here allows them to be overridden if necessary.
8902 runpath_var
=LD_RUN_PATH
8903 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8904 export_dynamic_flag_spec
='$wl--export-dynamic'
8905 # ancient GNU ld didn't support --whole-archive et. al.
8906 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8907 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8909 whole_archive_flag_spec
=
8911 supports_anon_versioning
=no
8912 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8913 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8914 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8915 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8916 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8917 *\
2.11.
*) ;; # other 2.11 versions
8918 *) supports_anon_versioning
=yes ;;
8921 # See if GNU ld supports shared libraries.
8924 # On AIX/PPC, the GNU linker is very broken
8925 if test ia64
!= "$host_cpu"; then
8929 *** Warning: the GNU linker, at least up to release 2.19, is reported
8930 *** to be unable to reliably create shared libraries on AIX.
8931 *** Therefore, libtool is disabling shared libraries support. If you
8932 *** really care for shared libraries, you may want to install binutils
8933 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8934 *** You will then need to restart the configuration process.
8943 # see comment about AmigaOS4 .so support
8944 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8945 archive_expsym_cmds
=''
8948 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)'
8949 hardcode_libdir_flag_spec
='-L$libdir'
8950 hardcode_minus_L
=yes
8956 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8957 allow_undefined_flag
=unsupported
8958 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8959 # support --undefined. This deserves some investigation. FIXME
8960 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8966 cygwin
* | mingw
* | pw32
* | cegcc
*)
8967 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8968 # as there is no search path for DLLs.
8969 hardcode_libdir_flag_spec
='-L$libdir'
8970 export_dynamic_flag_spec
='$wl--export-all-symbols'
8971 allow_undefined_flag
=unsupported
8972 always_export_symbols
=no
8973 enable_shared_with_static_runtimes
=yes
8974 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'
8975 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8977 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8978 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8979 # If the export-symbols file already is a .def file, use it as
8980 # is; otherwise, prepend EXPORTS...
8981 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8982 cp $export_symbols $output_objdir/$soname.def;
8984 echo EXPORTS > $output_objdir/$soname.def;
8985 cat $export_symbols >> $output_objdir/$soname.def;
8987 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8994 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8995 link_all_deplibs
=yes
8999 hardcode_libdir_flag_spec
='-L$libdir'
9000 hardcode_minus_L
=yes
9001 allow_undefined_flag
=unsupported
9003 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9004 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9005 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9006 $ECHO EXPORTS >> $output_objdir/$libname.def~
9007 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9008 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9009 emximp -o $lib $output_objdir/$libname.def'
9010 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9011 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9012 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9013 $ECHO EXPORTS >> $output_objdir/$libname.def~
9015 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9016 prefix_cmds="$prefix_cmds -e 1d";
9018 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9019 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9020 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9021 emximp -o $lib $output_objdir/$libname.def'
9022 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9023 enable_shared_with_static_runtimes
=yes
9028 hardcode_shlibpath_var
=no
9029 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9030 export_dynamic_flag_spec
='$wl-E'
9031 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9032 # Instead, shared libraries are loaded at an image base (0x10000000 by
9033 # default) and relocated if they conflict, which is a slow very memory
9034 # consuming and fragmenting process. To avoid this, we pick a random,
9035 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9036 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9037 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9038 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'
9041 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9043 if test linux-dietlibc
= "$host_os"; then
9044 case $cc_basename in
9045 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9048 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9049 && test no
= "$tmp_diet"
9051 tmp_addflag
=' $pic_flag'
9052 tmp_sharedflag
='-shared'
9053 case $cc_basename,$host_cpu in
9054 pgcc
*) # Portland Group C compiler
9055 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'
9056 tmp_addflag
=' $pic_flag'
9058 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9059 # Portland Group f77 and f90 compilers
9060 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'
9061 tmp_addflag
=' $pic_flag -Mnomain' ;;
9062 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9063 tmp_addflag
=' -i_dynamic' ;;
9064 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9065 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9066 ifc
* | ifort
*) # Intel Fortran compiler
9067 tmp_addflag
=' -nofor_main' ;;
9068 lf95
*) # Lahey Fortran 8.1
9069 whole_archive_flag_spec
=
9070 tmp_sharedflag
='--shared' ;;
9071 nagfor
*) # NAGFOR 5.3
9072 tmp_sharedflag
='-Wl,-shared' ;;
9073 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9074 tmp_sharedflag
='-qmkshrobj'
9076 nvcc
*) # Cuda Compiler Driver 2.2
9077 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'
9078 compiler_needs_object
=yes
9081 case `$CC -V 2>&1 | sed 5q` in
9082 *Sun\ C
*) # Sun C 5.9
9083 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'
9084 compiler_needs_object
=yes
9085 tmp_sharedflag
='-G' ;;
9086 *Sun\ F
*) # Sun Fortran 8.3
9087 tmp_sharedflag
='-G' ;;
9089 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9091 if test yes = "$supports_anon_versioning"; then
9092 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9093 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9094 echo "local: *; };" >> $output_objdir/$libname.ver~
9095 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9098 case $cc_basename in
9100 export_dynamic_flag_spec
='-rdynamic'
9102 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9103 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9104 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9105 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9106 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9107 if test yes = "$supports_anon_versioning"; then
9108 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9109 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9110 echo "local: *; };" >> $output_objdir/$libname.ver~
9111 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9121 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9122 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9125 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9126 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9131 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9135 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9136 *** create shared libraries on Solaris systems. Therefore, libtool
9137 *** is disabling shared libraries support. We urge you to upgrade GNU
9138 *** binutils to release 2.9.1 or newer. Another option is to modify
9139 *** your PATH or compiler configuration so that the native linker is
9140 *** used, and then restart.
9143 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9144 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9145 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9151 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9152 case `$LD -v 2>&1` in
9153 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9157 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9158 *** reliably create shared libraries on SCO systems. Therefore, libtool
9159 *** is disabling shared libraries support. We urge you to upgrade GNU
9160 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9161 *** your PATH or compiler configuration so that the native linker is
9162 *** used, and then restart.
9167 # For security reasons, it is highly recommended that you always
9168 # use absolute paths for naming shared libraries, and exclude the
9169 # DT_RUNPATH tag from executables and libraries. But doing so
9170 # requires that you compile everything twice, which is a pain.
9171 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9172 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9174 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9183 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9186 hardcode_shlibpath_var
=no
9190 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9191 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9192 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9199 if test no
= "$ld_shlibs"; then
9201 hardcode_libdir_flag_spec
=
9202 export_dynamic_flag_spec
=
9203 whole_archive_flag_spec
=
9206 # PORTME fill in a description of your system's linker (not GNU ld)
9209 allow_undefined_flag
=unsupported
9210 always_export_symbols
=yes
9211 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'
9212 # Note: this linker hardcodes the directories in LIBPATH if there
9213 # are no directories specified by -L.
9214 hardcode_minus_L
=yes
9215 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9216 # Neither direct hardcoding nor static linking is supported with a
9218 hardcode_direct
=unsupported
9223 if test ia64
= "$host_cpu"; then
9224 # On IA64, the linker does run time linking by default, so we don't
9225 # have to do anything special.
9226 aix_use_runtimelinking
=no
9227 exp_sym_flag
='-Bexport'
9230 # If we're using GNU nm, then we don't want the "-C" option.
9231 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9232 # Without the "-l" option, or with the "-B" option, AIX nm treats
9233 # weak defined symbols like other global defined symbols, whereas
9234 # GNU nm marks them as "W".
9235 # While the 'weak' keyword is ignored in the Export File, we need
9236 # it in the Import File for the 'aix-soname' feature, so we have
9237 # to replace the "-B" option with "-P" for AIX nm.
9238 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9239 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9241 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9243 aix_use_runtimelinking
=no
9245 # Test if we are trying to use run time linking or normal
9246 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9247 # have runtime linking enabled, and use it for executables.
9248 # For shared libraries, we enable/disable runtime linking
9249 # depending on the kind of the shared library created -
9250 # when "with_aix_soname,aix_use_runtimelinking" is:
9251 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9252 # "aix,yes" lib.so shared, rtl:yes, for executables
9253 # lib.a static archive
9254 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9255 # lib.a(lib.so.V) shared, rtl:no, for executables
9256 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9257 # lib.a(lib.so.V) shared, rtl:no
9258 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9259 # lib.a static archive
9260 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9261 for ld_flag
in $LDFLAGS; do
9262 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9263 aix_use_runtimelinking
=yes
9267 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9268 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9269 # so we don't have lib.a shared libs to link our executables.
9270 # We have to force runtime linking in this case.
9271 aix_use_runtimelinking
=yes
9272 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9277 exp_sym_flag
='-bexport'
9278 no_entry_flag
='-bnoentry'
9281 # When large executables or shared objects are built, AIX ld can
9282 # have problems creating the table of contents. If linking a library
9283 # or program results in "error TOC overflow" add -mminimal-toc to
9284 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9285 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9289 hardcode_direct_absolute
=yes
9290 hardcode_libdir_separator
=':'
9291 link_all_deplibs
=yes
9292 file_list_spec
='$wl-f,'
9293 case $with_aix_soname,$aix_use_runtimelinking in
9294 aix
,*) ;; # traditional, no import file
9295 svr4
,* |
*,yes) # use import file
9296 # The Import File defines what to hardcode.
9298 hardcode_direct_absolute
=no
9302 if test yes = "$GCC"; then
9303 case $host_os in aix4.
[012]|aix4.
[012].
*)
9304 # We only want to do this on AIX 4.2 and lower, the check
9305 # below for broken collect2 doesn't work under 4.3+
9306 collect2name
=`$CC -print-prog-name=collect2`
9307 if test -f "$collect2name" &&
9308 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9310 # We have reworked collect2
9313 # We have old collect2
9314 hardcode_direct
=unsupported
9315 # It fails to find uninstalled libraries when the uninstalled
9316 # path is not listed in the libpath. Setting hardcode_minus_L
9317 # to unsupported forces relinking
9318 hardcode_minus_L
=yes
9319 hardcode_libdir_flag_spec
='-L$libdir'
9320 hardcode_libdir_separator
=
9324 shared_flag
='-shared'
9325 if test yes = "$aix_use_runtimelinking"; then
9326 shared_flag
="$shared_flag "'$wl-G'
9328 # Need to ensure runtime linking is disabled for the traditional
9329 # shared library, or the linker may eventually find shared libraries
9330 # /with/ Import File - we do not want to mix them.
9331 shared_flag_aix
='-shared'
9332 shared_flag_svr4
='-shared $wl-G'
9335 if test ia64
= "$host_cpu"; then
9336 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9337 # chokes on -Wl,-G. The following line is correct:
9340 if test yes = "$aix_use_runtimelinking"; then
9343 shared_flag
='$wl-bM:SRE'
9345 shared_flag_aix
='$wl-bM:SRE'
9346 shared_flag_svr4
='$wl-G'
9350 export_dynamic_flag_spec
='$wl-bexpall'
9351 # It seems that -bexpall does not export symbols beginning with
9352 # underscore (_), so it is better to generate a list of symbols to export.
9353 always_export_symbols
=yes
9354 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9355 # Warning - without using the other runtime loading flags (-brtl),
9356 # -berok will link without error, but may produce a broken library.
9357 allow_undefined_flag
='-berok'
9358 # Determine the default libpath from the value encoded in an
9360 if test set = "${lt_cv_aix_libpath+set}"; then
9361 aix_libpath
=$lt_cv_aix_libpath
9363 if ${lt_cv_aix_libpath_+:} false
; then :
9364 $as_echo_n "(cached) " >&6
9366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9377 if ac_fn_c_try_link
"$LINENO"; then :
9379 lt_aix_libpath_sed
='
9380 /Import File Strings/,/^$/ {
9382 s/^0 *\([^ ]*\) *$/\1/
9386 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9387 # Check for a 64-bit object if we didn't find anything.
9388 if test -z "$lt_cv_aix_libpath_"; then
9389 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9392 rm -f core conftest.err conftest.
$ac_objext \
9393 conftest
$ac_exeext conftest.
$ac_ext
9394 if test -z "$lt_cv_aix_libpath_"; then
9395 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9400 aix_libpath
=$lt_cv_aix_libpath_
9403 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9404 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
9406 if test ia64
= "$host_cpu"; then
9407 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9408 allow_undefined_flag
="-z nodefs"
9409 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"
9411 # Determine the default libpath from the value encoded in an
9413 if test set = "${lt_cv_aix_libpath+set}"; then
9414 aix_libpath
=$lt_cv_aix_libpath
9416 if ${lt_cv_aix_libpath_+:} false
; then :
9417 $as_echo_n "(cached) " >&6
9419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9430 if ac_fn_c_try_link
"$LINENO"; then :
9432 lt_aix_libpath_sed
='
9433 /Import File Strings/,/^$/ {
9435 s/^0 *\([^ ]*\) *$/\1/
9439 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9440 # Check for a 64-bit object if we didn't find anything.
9441 if test -z "$lt_cv_aix_libpath_"; then
9442 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9445 rm -f core conftest.err conftest.
$ac_objext \
9446 conftest
$ac_exeext conftest.
$ac_ext
9447 if test -z "$lt_cv_aix_libpath_"; then
9448 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9453 aix_libpath
=$lt_cv_aix_libpath_
9456 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9457 # Warning - without using the other run time loading flags,
9458 # -berok will link without error, but may produce a broken library.
9459 no_undefined_flag
=' $wl-bernotok'
9460 allow_undefined_flag
=' $wl-berok'
9461 if test yes = "$with_gnu_ld"; then
9462 # We only use this code for GNU lds that support --whole-archive.
9463 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9465 # Exported symbols can be pulled into shared objects from archives
9466 whole_archive_flag_spec
='$convenience'
9468 archive_cmds_need_lc
=yes
9469 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9470 # -brtl affects multiple linker settings, -berok does not and is overridden later
9471 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9472 if test svr4
!= "$with_aix_soname"; then
9473 # This is similar to how AIX traditionally builds its shared libraries.
9474 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9476 if test aix
!= "$with_aix_soname"; then
9477 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9479 # used by -dlpreopen to get the symbols
9480 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9482 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9490 # see comment about AmigaOS4 .so support
9491 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9492 archive_expsym_cmds
=''
9495 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)'
9496 hardcode_libdir_flag_spec
='-L$libdir'
9497 hardcode_minus_L
=yes
9503 export_dynamic_flag_spec
=-rdynamic
9506 cygwin
* | mingw
* | pw32
* | cegcc
*)
9507 # When not using gcc, we currently assume that we are using
9508 # Microsoft Visual C++.
9509 # hardcode_libdir_flag_spec is actually meaningless, as there is
9510 # no search path for DLLs.
9511 case $cc_basename in
9514 hardcode_libdir_flag_spec
=' '
9515 allow_undefined_flag
=unsupported
9516 always_export_symbols
=yes
9518 # Tell ltmain to make .lib files, not .a files.
9520 # Tell ltmain to make .dll files, not .so files.
9522 # FIXME: Setting linknames here is a bad hack.
9523 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9524 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9525 cp "$export_symbols" "$output_objdir/$soname.def";
9526 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9528 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9530 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9532 # The linker will not automatically build a static lib if we build a DLL.
9533 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9534 enable_shared_with_static_runtimes
=yes
9535 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9536 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9538 old_postinstall_cmds
='chmod 644 $oldlib'
9539 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9540 lt_tool_outputfile="@TOOL_OUTPUT@"~
9541 case $lt_outputfile in
9544 lt_outputfile=$lt_outputfile.exe
9545 lt_tool_outputfile=$lt_tool_outputfile.exe
9548 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9549 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9550 $RM "$lt_outputfile.manifest";
9554 # Assume MSVC wrapper
9555 hardcode_libdir_flag_spec
=' '
9556 allow_undefined_flag
=unsupported
9557 # Tell ltmain to make .lib files, not .a files.
9559 # Tell ltmain to make .dll files, not .so files.
9561 # FIXME: Setting linknames here is a bad hack.
9562 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9563 # The linker will automatically build a .lib file if we build a DLL.
9564 old_archive_from_new_cmds
='true'
9565 # FIXME: Should let the user specify the lib program.
9566 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9567 enable_shared_with_static_runtimes
=yes
9572 darwin
* | rhapsody
*)
9575 archive_cmds_need_lc
=no
9577 hardcode_automatic
=yes
9578 hardcode_shlibpath_var
=unsupported
9579 if test yes = "$lt_cv_ld_force_load"; then
9580 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\"`'
9583 whole_archive_flag_spec
=''
9585 link_all_deplibs
=yes
9586 allow_undefined_flag
=$_lt_dar_allow_undefined
9587 case $cc_basename in
9588 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9589 *) _lt_dar_can_shared
=$GCC ;;
9591 if test yes = "$_lt_dar_can_shared"; then
9592 output_verbose_link_cmd
=func_echo_all
9593 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9594 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9595 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"
9596 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"
9605 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9606 hardcode_libdir_flag_spec
='-L$libdir'
9607 hardcode_shlibpath_var
=no
9610 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9611 # support. Future versions do this automatically, but an explicit c++rt0.o
9612 # does not break anything, and helps significantly (at the cost of a little
9615 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9616 hardcode_libdir_flag_spec
='-R$libdir'
9618 hardcode_shlibpath_var
=no
9621 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9623 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9625 hardcode_minus_L
=yes
9626 hardcode_shlibpath_var
=no
9629 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9630 freebsd
* | dragonfly
*)
9631 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9632 hardcode_libdir_flag_spec
='-R$libdir'
9634 hardcode_shlibpath_var
=no
9638 if test yes = "$GCC"; then
9639 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9641 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9643 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9644 hardcode_libdir_separator
=:
9647 # hardcode_minus_L: Not really in the search PATH,
9648 # but as the default location of the library.
9649 hardcode_minus_L
=yes
9650 export_dynamic_flag_spec
='$wl-E'
9654 if test yes,no
= "$GCC,$with_gnu_ld"; then
9655 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9657 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9659 if test no
= "$with_gnu_ld"; then
9660 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9661 hardcode_libdir_separator
=:
9663 hardcode_direct_absolute
=yes
9664 export_dynamic_flag_spec
='$wl-E'
9665 # hardcode_minus_L: Not really in the search PATH,
9666 # but as the default location of the library.
9667 hardcode_minus_L
=yes
9672 if test yes,no
= "$GCC,$with_gnu_ld"; then
9675 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9678 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9681 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9687 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9690 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9694 # Older versions of the 11.00 compiler do not understand -b yet
9695 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9697 $as_echo_n "checking if $CC understands -b... " >&6; }
9698 if ${lt_cv_prog_compiler__b+:} false
; then :
9699 $as_echo_n "(cached) " >&6
9701 lt_cv_prog_compiler__b
=no
9702 save_LDFLAGS
=$LDFLAGS
9703 LDFLAGS
="$LDFLAGS -b"
9704 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9705 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9706 # The linker can only warn and ignore the option if not recognized
9707 # So say no if there are warnings
9708 if test -s conftest.err
; then
9709 # Append any errors to the config.log.
9710 cat conftest.err
1>&5
9711 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9712 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9713 if diff conftest.exp conftest.er2
>/dev
/null
; then
9714 lt_cv_prog_compiler__b
=yes
9717 lt_cv_prog_compiler__b
=yes
9721 LDFLAGS
=$save_LDFLAGS
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9725 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9727 if test yes = "$lt_cv_prog_compiler__b"; then
9728 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9730 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9736 if test no
= "$with_gnu_ld"; then
9737 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9738 hardcode_libdir_separator
=:
9743 hardcode_shlibpath_var
=no
9747 hardcode_direct_absolute
=yes
9748 export_dynamic_flag_spec
='$wl-E'
9750 # hardcode_minus_L: Not really in the search PATH,
9751 # but as the default location of the library.
9752 hardcode_minus_L
=yes
9758 irix5
* | irix6
* | nonstopux
*)
9759 if test yes = "$GCC"; then
9760 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'
9761 # Try to use the -exported_symbol ld option, if it does not
9762 # work, assume that -exports_file does not work either and
9763 # implicitly export all symbols.
9764 # This should be the same for all languages, so no per-tag cache variable.
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9766 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9767 if ${lt_cv_irix_exported_symbol+:} false
; then :
9768 $as_echo_n "(cached) " >&6
9770 save_LDFLAGS
=$LDFLAGS
9771 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9774 int foo (void) { return 0; }
9776 if ac_fn_c_try_link
"$LINENO"; then :
9777 lt_cv_irix_exported_symbol
=yes
9779 lt_cv_irix_exported_symbol
=no
9781 rm -f core conftest.err conftest.
$ac_objext \
9782 conftest
$ac_exeext conftest.
$ac_ext
9783 LDFLAGS
=$save_LDFLAGS
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9786 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9787 if test yes = "$lt_cv_irix_exported_symbol"; then
9788 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'
9791 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'
9792 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'
9794 archive_cmds_need_lc
='no'
9795 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9796 hardcode_libdir_separator
=:
9798 link_all_deplibs
=yes
9802 case $cc_basename in
9804 # Fabrice Bellard et al's Tiny C Compiler
9806 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9812 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9813 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9815 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9817 hardcode_libdir_flag_spec
='-R$libdir'
9819 hardcode_shlibpath_var
=no
9823 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9825 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9826 hardcode_libdir_separator
=:
9827 hardcode_shlibpath_var
=no
9834 if test -f /usr
/libexec
/ld.so
; then
9836 hardcode_shlibpath_var
=no
9837 hardcode_direct_absolute
=yes
9838 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9839 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9840 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9841 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9842 export_dynamic_flag_spec
='$wl-E'
9844 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9845 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9853 hardcode_libdir_flag_spec
='-L$libdir'
9854 hardcode_minus_L
=yes
9855 allow_undefined_flag
=unsupported
9857 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9858 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9859 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9860 $ECHO EXPORTS >> $output_objdir/$libname.def~
9861 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9862 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9863 emximp -o $lib $output_objdir/$libname.def'
9864 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9865 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9866 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9867 $ECHO EXPORTS >> $output_objdir/$libname.def~
9869 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9870 prefix_cmds="$prefix_cmds -e 1d";
9872 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9873 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9874 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9875 emximp -o $lib $output_objdir/$libname.def'
9876 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9877 enable_shared_with_static_runtimes
=yes
9881 if test yes = "$GCC"; then
9882 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9883 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'
9885 allow_undefined_flag
=' -expect_unresolved \*'
9886 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'
9888 archive_cmds_need_lc
='no'
9889 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9890 hardcode_libdir_separator
=:
9893 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9894 if test yes = "$GCC"; then
9895 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9896 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'
9897 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9899 allow_undefined_flag
=' -expect_unresolved \*'
9900 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'
9901 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~
9902 $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'
9904 # Both c and cxx compiler support -rpath directly
9905 hardcode_libdir_flag_spec
='-rpath $libdir'
9907 archive_cmds_need_lc
='no'
9908 hardcode_libdir_separator
=:
9912 no_undefined_flag
=' -z defs'
9913 if test yes = "$GCC"; then
9915 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9916 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9917 $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'
9919 case `$CC -V 2>&1` in
9922 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9923 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9924 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9928 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9930 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9934 hardcode_libdir_flag_spec
='-R$libdir'
9935 hardcode_shlibpath_var
=no
9937 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9939 # The compiler driver will combine and reorder linker options,
9940 # but understands '-z linker_flag'. GCC discards it without '$wl',
9941 # but is careful enough not to reorder.
9942 # Supported since Solaris 2.6 (maybe 2.5.1?)
9943 if test yes = "$GCC"; then
9944 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9946 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9950 link_all_deplibs
=yes
9954 if test sequent
= "$host_vendor"; then
9955 # Use $CC to link under sequent, because it throws in some extra .o
9956 # files that make .init and .fini sections work.
9957 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9959 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9961 hardcode_libdir_flag_spec
='-L$libdir'
9963 hardcode_minus_L
=yes
9964 hardcode_shlibpath_var
=no
9968 case $host_vendor in
9970 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9971 hardcode_direct
=yes # is this really true???
9974 ## LD is ld it makes a PLAMLIB
9975 ## CC just makes a GrossModule.
9976 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9977 reload_cmds
='$CC -r -o $output$reload_objs'
9981 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9982 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9985 runpath_var
='LD_RUN_PATH'
9986 hardcode_shlibpath_var
=no
9990 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9991 hardcode_shlibpath_var
=no
9992 export_dynamic_flag_spec
='-Bexport'
9996 if test -d /usr
/nec
; then
9997 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9998 hardcode_shlibpath_var
=no
9999 runpath_var
=LD_RUN_PATH
10000 hardcode_runpath_var
=yes
10005 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10006 no_undefined_flag
='$wl-z,text'
10007 archive_cmds_need_lc
=no
10008 hardcode_shlibpath_var
=no
10009 runpath_var
='LD_RUN_PATH'
10011 if test yes = "$GCC"; then
10012 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10015 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10016 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10020 sysv5
* | sco3.2v5
* | sco5v6
*)
10021 # Note: We CANNOT use -z defs as we might desire, because we do not
10022 # link with -lc, and that would cause any symbols used from libc to
10023 # always be unresolved, which means just about no library would
10024 # ever link correctly. If we're not using GNU ld we use -z text
10025 # though, which does catch some bad symbols but isn't as heavy-handed
10027 no_undefined_flag
='$wl-z,text'
10028 allow_undefined_flag
='$wl-z,nodefs'
10029 archive_cmds_need_lc
=no
10030 hardcode_shlibpath_var
=no
10031 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10032 hardcode_libdir_separator
=':'
10033 link_all_deplibs
=yes
10034 export_dynamic_flag_spec
='$wl-Bexport'
10035 runpath_var
='LD_RUN_PATH'
10037 if test yes = "$GCC"; then
10038 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10039 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10042 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10047 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_libdir_flag_spec
='-L$libdir'
10049 hardcode_shlibpath_var
=no
10057 if test sni
= "$host_vendor"; then
10059 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10060 export_dynamic_flag_spec
='$wl-Blargedynsym'
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10067 $as_echo "$ld_shlibs" >&6; }
10068 test no
= "$ld_shlibs" && can_build_shared
=no
10070 with_gnu_ld
=$with_gnu_ld
10087 # Do we need to explicitly link libc?
10089 case "x$archive_cmds_need_lc" in
10091 # Assume -lc should be added
10092 archive_cmds_need_lc
=yes
10094 if test yes,yes = "$GCC,$enable_shared"; then
10095 case $archive_cmds in
10097 # FIXME: we may have to deal with multi-command sequences.
10100 # Test whether the compiler implicitly links with -lc since on some
10101 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10102 # to ld, don't add -lc before -lgcc.
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10104 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10105 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10106 $as_echo_n "(cached) " >&6
10109 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10111 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10112 (eval $ac_compile) 2>&5
10114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10115 test $ac_status = 0; } 2>conftest.err
; then
10118 libobjs
=conftest.
$ac_objext
10120 wl
=$lt_prog_compiler_wl
10121 pic_flag
=$lt_prog_compiler_pic
10127 lt_save_allow_undefined_flag
=$allow_undefined_flag
10128 allow_undefined_flag
=
10129 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10130 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10133 test $ac_status = 0; }
10135 lt_cv_archive_cmds_need_lc
=no
10137 lt_cv_archive_cmds_need_lc
=yes
10139 allow_undefined_flag
=$lt_save_allow_undefined_flag
10141 cat conftest.err
1>&5
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10147 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10148 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10307 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10309 if test yes = "$GCC"; then
10311 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10312 *) lt_awk_arg
='/^libraries:/' ;;
10315 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10316 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10318 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10319 case $lt_search_path_spec in
10321 # if the path contains ";" then we assume it to be the separator
10322 # otherwise default to the standard path separator (i.e. ":") - it is
10323 # assumed that no part of a normal pathname contains ";" but that should
10324 # okay in the real world where ";" in dirpaths is itself problematic.
10325 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10328 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10331 # Ok, now we have the path, separated by spaces, we can step through it
10332 # and add multilib dir if necessary...
10333 lt_tmp_lt_search_path_spec
=
10334 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10335 # ...but if some path component already ends with the multilib dir we assume
10336 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10337 case "$lt_multi_os_dir; $lt_search_path_spec " in
10338 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10342 for lt_sys_path
in $lt_search_path_spec; do
10343 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10344 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10345 elif test -n "$lt_multi_os_dir"; then
10346 test -d "$lt_sys_path" && \
10347 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10350 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10351 BEGIN {RS = " "; FS = "/|\n";} {
10354 for (lt_i = NF; lt_i > 0; lt_i--) {
10355 if ($lt_i != "" && $lt_i != ".") {
10356 if ($lt_i == "..") {
10359 if (lt_count == 0) {
10360 lt_foo = "/" $lt_i lt_foo;
10367 if (lt_foo != "") { lt_freq[lt_foo]++; }
10368 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10370 # AWK program above erroneously prepends '/' to C:/dos/paths
10373 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10374 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10376 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10378 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10380 library_names_spec
=
10381 libname_spec
='lib$name'
10385 postuninstall_cmds
=
10389 shlibpath_overrides_runpath
=unknown
10391 dynamic_linker
="$host_os ld.so"
10392 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10393 need_lib_prefix
=unknown
10394 hardcode_into_libs
=no
10396 # when you set need_version to no, make sure it does not cause -set_version
10397 # flags to be left without arguments
10398 need_version
=unknown
10404 version_type
=linux
# correct to gnu/linux during the next big refactor
10405 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10406 shlibpath_var
=LIBPATH
10408 # AIX 3 has no versioning support, so we append a major version to the name.
10409 soname_spec
='$libname$release$shared_ext$major'
10413 version_type
=linux
# correct to gnu/linux during the next big refactor
10416 hardcode_into_libs
=yes
10417 if test ia64
= "$host_cpu"; then
10418 # AIX 5 supports IA64
10419 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10420 shlibpath_var
=LD_LIBRARY_PATH
10422 # With GCC up to 2.95.x, collect2 would create an import file
10423 # for dependence libraries. The import file would start with
10424 # the line '#! .'. This would cause the generated library to
10425 # depend on '.', always an invalid library. This was fixed in
10426 # development snapshots of GCC prior to 3.0.
10428 aix4 | aix4.
[01] | aix4.
[01].
*)
10429 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10431 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10434 can_build_shared
=no
10438 # Using Import Files as archive members, it is possible to support
10439 # filename-based versioning of shared library archives on AIX. While
10440 # this would work for both with and without runtime linking, it will
10441 # prevent static linking of such archives. So we do filename-based
10442 # shared library versioning with .so extension only, which is used
10443 # when both runtime linking and shared linking is enabled.
10444 # Unfortunately, runtime linking may impact performance, so we do
10445 # not want this to be the default eventually. Also, we use the
10446 # versioned .so libs for executables only if there is the -brtl
10447 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10448 # To allow for filename-based versioning support, we need to create
10449 # libNAME.so.V as an archive file, containing:
10450 # *) an Import File, referring to the versioned filename of the
10451 # archive as well as the shared archive member, telling the
10452 # bitwidth (32 or 64) of that shared object, and providing the
10453 # list of exported symbols of that shared object, eventually
10454 # decorated with the 'weak' keyword
10455 # *) the shared object with the F_LOADONLY flag set, to really avoid
10456 # it being seen by the linker.
10457 # At run time we better use the real file rather than another symlink,
10458 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10460 case $with_aix_soname,$aix_use_runtimelinking in
10461 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10462 # soname into executable. Probably we can add versioning support to
10463 # collect2, so additional links can be useful in future.
10464 aix
,yes) # traditional libtool
10465 dynamic_linker
='AIX unversionable lib.so'
10466 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10467 # instead of lib<name>.a to let people know that these are not
10468 # typical AIX shared libraries.
10469 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10471 aix
,no
) # traditional AIX only
10472 dynamic_linker
='AIX lib.a(lib.so.V)'
10473 # We preserve .a as extension for shared libraries through AIX4.2
10474 # and later when we are not doing run time linking.
10475 library_names_spec
='$libname$release.a $libname.a'
10476 soname_spec
='$libname$release$shared_ext$major'
10478 svr4
,*) # full svr4 only
10479 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10480 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10481 # We do not specify a path in Import Files, so LIBPATH fires.
10482 shlibpath_overrides_runpath
=yes
10484 *,yes) # both, prefer svr4
10485 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10486 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10487 # unpreferred sharedlib libNAME.a needs extra handling
10488 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10489 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10490 # We do not specify a path in Import Files, so LIBPATH fires.
10491 shlibpath_overrides_runpath
=yes
10493 *,no
) # both, prefer aix
10494 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10495 library_names_spec
='$libname$release.a $libname.a'
10496 soname_spec
='$libname$release$shared_ext$major'
10497 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10498 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10499 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10502 shlibpath_var
=LIBPATH
10509 # Since July 2007 AmigaOS4 officially supports .so libraries.
10510 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10511 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10514 library_names_spec
='$libname.ixlibrary $libname.a'
10515 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10516 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10522 library_names_spec
='$libname$shared_ext'
10523 dynamic_linker
="$host_os ld.so"
10524 shlibpath_var
=LIBRARY_PATH
10528 version_type
=linux
# correct to gnu/linux during the next big refactor
10530 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10531 soname_spec
='$libname$release$shared_ext$major'
10532 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10533 shlibpath_var
=LD_LIBRARY_PATH
10534 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10535 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10536 # the default ld.so.conf also contains /usr/contrib/lib and
10537 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10538 # libtool to hard-code these into programs
10541 cygwin
* | mingw
* | pw32
* | cegcc
*)
10542 version_type
=windows
10547 case $GCC,$cc_basename in
10550 library_names_spec
='$libname.dll.a'
10551 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10552 postinstall_cmds
='base_file=`basename \$file`~
10553 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10554 dldir=$destdir/`dirname \$dlpath`~
10555 test -d \$dldir || mkdir -p \$dldir~
10556 $install_prog $dir/$dlname \$dldir/$dlname~
10557 chmod a+x \$dldir/$dlname~
10558 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10559 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10561 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10562 dlpath=$dir/\$dldll~
10564 shlibpath_overrides_runpath
=yes
10568 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10569 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10571 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10574 # MinGW DLLs use traditional 'lib' prefix
10575 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10578 # pw32 DLLs use 'pw' prefix rather than 'lib'
10579 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10582 dynamic_linker
='Win32 ld.exe'
10587 libname_spec
='$name'
10588 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10589 library_names_spec
='$libname.dll.lib'
10593 sys_lib_search_path_spec
=
10596 for lt_path
in $LIB
10599 # Let DOS variable expansion print the short 8.3 style file name.
10600 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10601 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10604 # Convert to MSYS style.
10605 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10608 # Convert to unix form, then to dos form, then back to unix form
10609 # but this time dos style (no spaces!) so that the unix form looks
10610 # like /cygdrive/c/PROGRA~1:/cygdr...
10611 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10612 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10613 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10616 sys_lib_search_path_spec
=$LIB
10617 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10618 # It is most probably a Windows format PATH.
10619 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10621 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10623 # FIXME: find the short name or the path components, as spaces are
10624 # common. (e.g. "Program Files" -> "PROGRA~1")
10628 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10629 postinstall_cmds
='base_file=`basename \$file`~
10630 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10631 dldir=$destdir/`dirname \$dlpath`~
10632 test -d \$dldir || mkdir -p \$dldir~
10633 $install_prog $dir/$dlname \$dldir/$dlname'
10634 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10635 dlpath=$dir/\$dldll~
10637 shlibpath_overrides_runpath
=yes
10638 dynamic_linker
='Win32 link.exe'
10642 # Assume MSVC wrapper
10643 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
10644 dynamic_linker
='Win32 ld.exe'
10647 # FIXME: first we should search . and the directory the executable is in
10651 darwin
* | rhapsody
*)
10652 dynamic_linker
="$host_os dyld"
10653 version_type
=darwin
10656 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
10657 soname_spec
='$libname$release$major$shared_ext'
10658 shlibpath_overrides_runpath
=yes
10659 shlibpath_var
=DYLD_LIBRARY_PATH
10660 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10662 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10663 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10667 version_type
=linux
# correct to gnu/linux during the next big refactor
10670 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10671 soname_spec
='$libname$release$shared_ext$major'
10672 shlibpath_var
=LD_LIBRARY_PATH
10675 freebsd
* | dragonfly
*)
10676 # DragonFly does not have aout. When/if they implement a new
10677 # versioning mechanism, adjust this.
10678 if test -x /usr
/bin
/objformat
; then
10679 objformat
=`/usr/bin/objformat`
10682 freebsd
[23].
*) objformat
=aout
;;
10683 *) objformat
=elf
;;
10686 version_type
=freebsd-
$objformat
10687 case $version_type in
10689 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10690 soname_spec
='$libname$release$shared_ext$major'
10695 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10699 shlibpath_var
=LD_LIBRARY_PATH
10702 shlibpath_overrides_runpath
=yes
10704 freebsd3.
[01]* | freebsdelf3.
[01]*)
10705 shlibpath_overrides_runpath
=yes
10706 hardcode_into_libs
=yes
10708 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10709 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10710 shlibpath_overrides_runpath
=no
10711 hardcode_into_libs
=yes
10713 *) # from 4.6 on, and DragonFly
10714 shlibpath_overrides_runpath
=yes
10715 hardcode_into_libs
=yes
10721 version_type
=linux
# correct to gnu/linux during the next big refactor
10724 dynamic_linker
="$host_os runtime_loader"
10725 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10726 soname_spec
='$libname$release$shared_ext$major'
10727 shlibpath_var
=LIBRARY_PATH
10728 shlibpath_overrides_runpath
=no
10729 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10730 hardcode_into_libs
=yes
10733 hpux9
* | hpux10
* | hpux11
*)
10734 # Give a soname corresponding to the major version so that dld.sl refuses to
10735 # link against other versions.
10742 hardcode_into_libs
=yes
10743 dynamic_linker
="$host_os dld.so"
10744 shlibpath_var
=LD_LIBRARY_PATH
10745 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10746 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10747 soname_spec
='$libname$release$shared_ext$major'
10748 if test 32 = "$HPUX_IA64_MODE"; then
10749 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10750 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10752 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10753 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10758 hardcode_into_libs
=yes
10759 dynamic_linker
="$host_os dld.sl"
10760 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10761 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10762 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10763 soname_spec
='$libname$release$shared_ext$major'
10764 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10765 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10769 dynamic_linker
="$host_os dld.sl"
10770 shlibpath_var
=SHLIB_PATH
10771 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10772 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10773 soname_spec
='$libname$release$shared_ext$major'
10776 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10777 postinstall_cmds
='chmod 555 $lib'
10778 # or fails outright, so override atomically:
10779 install_override_mode
=555
10783 version_type
=linux
# correct to gnu/linux during the next big refactor
10786 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10787 soname_spec
='$libname$release$shared_ext$major'
10788 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10789 shlibpath_var
=LD_LIBRARY_PATH
10790 shlibpath_overrides_runpath
=no
10791 hardcode_into_libs
=yes
10794 irix5
* | irix6
* | nonstopux
*)
10796 nonstopux
*) version_type
=nonstopux
;;
10798 if test yes = "$lt_cv_prog_gnu_ld"; then
10799 version_type
=linux
# correct to gnu/linux during the next big refactor
10806 soname_spec
='$libname$release$shared_ext$major'
10807 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10809 irix5
* | nonstopux
*)
10810 libsuff
= shlibsuff
=
10813 case $LD in # libtool.m4 will add one of these switches to LD
10814 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10815 libsuff
= shlibsuff
= libmagic
=32-bit;;
10816 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10817 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10818 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10819 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10820 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10824 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10825 shlibpath_overrides_runpath
=no
10826 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10827 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
10828 hardcode_into_libs
=yes
10831 # No shared lib support for Linux oldld, aout, or coff.
10832 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10837 version_type
=none
# Android doesn't support versioned libraries.
10840 library_names_spec
='$libname$release$shared_ext'
10841 soname_spec
='$libname$release$shared_ext'
10843 shlibpath_var
=LD_LIBRARY_PATH
10844 shlibpath_overrides_runpath
=yes
10846 # This implies no fast_install, which is unacceptable.
10847 # Some rework will be needed to allow for fast_install
10848 # before this can be enabled.
10849 hardcode_into_libs
=yes
10851 dynamic_linker
='Android linker'
10852 # Don't embed -rpath directories since the linker doesn't support them.
10853 hardcode_libdir_flag_spec
='-L$libdir'
10856 # This must be glibc/ELF.
10857 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10858 version_type
=linux
# correct to gnu/linux during the next big refactor
10861 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10862 soname_spec
='$libname$release$shared_ext$major'
10863 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10864 shlibpath_var
=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath
=no
10867 # Some binutils ld are patched to set DT_RUNPATH
10868 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10869 $as_echo_n "(cached) " >&6
10871 lt_cv_shlibpath_overrides_runpath
=no
10872 save_LDFLAGS
=$LDFLAGS
10873 save_libdir
=$libdir
10874 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10875 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10887 if ac_fn_c_try_link
"$LINENO"; then :
10888 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10889 lt_cv_shlibpath_overrides_runpath
=yes
10892 rm -f core conftest.err conftest.
$ac_objext \
10893 conftest
$ac_exeext conftest.
$ac_ext
10894 LDFLAGS
=$save_LDFLAGS
10895 libdir
=$save_libdir
10899 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10901 # This implies no fast_install, which is unacceptable.
10902 # Some rework will be needed to allow for fast_install
10903 # before this can be enabled.
10904 hardcode_into_libs
=yes
10906 # Add ABI-specific directories to the system library path.
10907 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
10909 # Ideally, we could use ldconfig to report *all* directores which are
10910 # searched for libraries, however this is still not possible. Aside from not
10911 # being certain /sbin/ldconfig is available, command
10912 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10913 # even though it is searched at run-time. Try to do the best guess by
10914 # appending ld.so.conf contents (and includes) to the search path.
10915 if test -f /etc
/ld.so.conf
; then
10916 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' ' '`
10917 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10920 # We used to test for /lib/ld.so.1 and disable shared libraries on
10921 # powerpc, because MkLinux only supported shared libraries with the
10922 # GNU dynamic linker. Since this was broken with cross compilers,
10923 # most powerpc-linux boxes support dynamic linking these days and
10924 # people can always --disable-shared, the test was removed, and we
10925 # assume the GNU/Linux dynamic linker is in use.
10926 dynamic_linker
='GNU/Linux ld.so'
10933 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10934 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10935 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10936 dynamic_linker
='NetBSD (a.out) ld.so'
10938 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10939 soname_spec
='$libname$release$shared_ext$major'
10940 dynamic_linker
='NetBSD ld.elf_so'
10942 shlibpath_var
=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath
=yes
10944 hardcode_into_libs
=yes
10948 version_type
=linux
# correct to gnu/linux during the next big refactor
10949 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10950 shlibpath_var
=LD_LIBRARY_PATH
10951 shlibpath_overrides_runpath
=yes
10958 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10959 soname_spec
='$libname$release$shared_ext$major'
10960 shlibpath_var
=LD_LIBRARY_PATH
10961 shlibpath_overrides_runpath
=no
10962 hardcode_into_libs
=yes
10963 dynamic_linker
='ldqnx.so'
10966 openbsd
* | bitrig
*)
10968 sys_lib_dlsearch_path_spec
=/usr
/lib
10970 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10975 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10976 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10977 shlibpath_var
=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath
=yes
10982 libname_spec
='$name'
10983 version_type
=windows
10987 # OS/2 can only load a DLL with a base name of 8 characters or less.
10988 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
10989 v=$($ECHO $release$versuffix | tr -d .-);
10990 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
10991 $ECHO $n$v`$shared_ext'
10992 library_names_spec
='${libname}_dll.$libext'
10993 dynamic_linker
='OS/2 ld.exe'
10994 shlibpath_var
=BEGINLIBPATH
10995 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10996 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10997 postinstall_cmds
='base_file=`basename \$file`~
10998 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
10999 dldir=$destdir/`dirname \$dlpath`~
11000 test -d \$dldir || mkdir -p \$dldir~
11001 $install_prog $dir/$dlname \$dldir/$dlname~
11002 chmod a+x \$dldir/$dlname~
11003 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11004 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11006 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11007 dlpath=$dir/\$dldll~
11011 osf3
* | osf4
* | osf5
*)
11015 soname_spec
='$libname$release$shared_ext$major'
11016 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11017 shlibpath_var
=LD_LIBRARY_PATH
11018 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11019 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11027 version_type
=linux
# correct to gnu/linux during the next big refactor
11030 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11031 soname_spec
='$libname$release$shared_ext$major'
11032 shlibpath_var
=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath
=yes
11034 hardcode_into_libs
=yes
11035 # ldd complains unless libraries are executable
11036 postinstall_cmds
='chmod +x $lib'
11041 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11042 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11043 shlibpath_var
=LD_LIBRARY_PATH
11044 shlibpath_overrides_runpath
=yes
11045 if test yes = "$with_gnu_ld"; then
11052 version_type
=linux
# correct to gnu/linux during the next big refactor
11053 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11054 soname_spec
='$libname$release$shared_ext$major'
11055 shlibpath_var
=LD_LIBRARY_PATH
11056 case $host_vendor in
11058 shlibpath_overrides_runpath
=no
11060 runpath_var
=LD_RUN_PATH
11068 shlibpath_overrides_runpath
=no
11069 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11075 if test -d /usr
/nec
; then
11076 version_type
=linux
# correct to gnu/linux during the next big refactor
11077 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11078 soname_spec
='$libname$shared_ext.$major'
11079 shlibpath_var
=LD_LIBRARY_PATH
11083 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11087 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11088 soname_spec
='$libname$release$shared_ext$major'
11089 shlibpath_var
=LD_LIBRARY_PATH
11090 shlibpath_overrides_runpath
=yes
11091 hardcode_into_libs
=yes
11092 if test yes = "$with_gnu_ld"; then
11093 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11095 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11098 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11102 sys_lib_dlsearch_path_spec
='/usr/lib'
11106 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11107 version_type
=linux
# correct to gnu/linux during the next big refactor
11110 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11111 shlibpath_var
=LD_LIBRARY_PATH
11112 shlibpath_overrides_runpath
=no
11113 hardcode_into_libs
=yes
11117 version_type
=linux
# correct to gnu/linux during the next big refactor
11118 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11119 soname_spec
='$libname$release$shared_ext$major'
11120 shlibpath_var
=LD_LIBRARY_PATH
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11128 $as_echo "$dynamic_linker" >&6; }
11129 test no
= "$dynamic_linker" && can_build_shared
=no
11131 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11132 if test yes = "$GCC"; then
11133 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11136 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11137 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11140 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11141 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11144 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11145 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11147 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11148 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11150 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11151 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11250 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11252 if test -n "$hardcode_libdir_flag_spec" ||
11253 test -n "$runpath_var" ||
11254 test yes = "$hardcode_automatic"; then
11256 # We can hardcode non-existent directories.
11257 if test no
!= "$hardcode_direct" &&
11258 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11259 # have to relink, otherwise we might link with an installed library
11260 # when we should be linking with a yet-to-be-installed one
11261 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11262 test no
!= "$hardcode_minus_L"; then
11263 # Linking always hardcodes the temporary library directory.
11264 hardcode_action
=relink
11266 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11267 hardcode_action
=immediate
11270 # We cannot hardcode anything, or else we can only hardcode existing
11272 hardcode_action
=unsupported
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11275 $as_echo "$hardcode_action" >&6; }
11277 if test relink
= "$hardcode_action" ||
11278 test yes = "$inherit_rpath"; then
11279 # Fast installation is not supported
11280 enable_fast_install
=no
11281 elif test yes = "$shlibpath_overrides_runpath" ||
11282 test no
= "$enable_shared"; then
11283 # Fast installation is not necessary
11284 enable_fast_install
=needless
11292 if test yes != "$enable_dlopen"; then
11293 enable_dlopen
=unknown
11294 enable_dlopen_self
=unknown
11295 enable_dlopen_self_static
=unknown
11302 lt_cv_dlopen
=load_add_on
11304 lt_cv_dlopen_self
=yes
11307 mingw
* | pw32
* | cegcc
*)
11308 lt_cv_dlopen
=LoadLibrary
11313 lt_cv_dlopen
=dlopen
11318 # if libdl is installed we need to link against it
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11320 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11321 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11322 $as_echo_n "(cached) " >&6
11324 ac_check_lib_save_LIBS
=$LIBS
11326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11329 /* Override any GCC internal prototype to avoid an error.
11330 Use char because int might match the return type of a GCC
11331 builtin and then its argument prototype would still apply. */
11344 if ac_fn_c_try_link
"$LINENO"; then :
11345 ac_cv_lib_dl_dlopen
=yes
11347 ac_cv_lib_dl_dlopen
=no
11349 rm -f core conftest.err conftest.
$ac_objext \
11350 conftest
$ac_exeext conftest.
$ac_ext
11351 LIBS
=$ac_check_lib_save_LIBS
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11354 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11355 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11356 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11361 lt_cv_dlopen_self
=yes
11368 # Don't try to run any link tests for TPF. We know it's impossible
11369 # because TPF is a cross-compiler, and we know how we open DSOs.
11370 lt_cv_dlopen
=dlopen
11372 lt_cv_dlopen_self
=no
11376 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11377 if test "x$ac_cv_func_shl_load" = xyes
; then :
11378 lt_cv_dlopen
=shl_load
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11381 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11382 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11383 $as_echo_n "(cached) " >&6
11385 ac_check_lib_save_LIBS
=$LIBS
11387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11400 return shl_load ();
11405 if ac_fn_c_try_link
"$LINENO"; then :
11406 ac_cv_lib_dld_shl_load
=yes
11408 ac_cv_lib_dld_shl_load
=no
11410 rm -f core conftest.err conftest.
$ac_objext \
11411 conftest
$ac_exeext conftest.
$ac_ext
11412 LIBS
=$ac_check_lib_save_LIBS
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11415 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11416 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11417 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11419 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11420 if test "x$ac_cv_func_dlopen" = xyes
; then :
11421 lt_cv_dlopen
=dlopen
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11424 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11425 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11426 $as_echo_n "(cached) " >&6
11428 ac_check_lib_save_LIBS
=$LIBS
11430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11448 if ac_fn_c_try_link
"$LINENO"; then :
11449 ac_cv_lib_dl_dlopen
=yes
11451 ac_cv_lib_dl_dlopen
=no
11453 rm -f core conftest.err conftest.
$ac_objext \
11454 conftest
$ac_exeext conftest.
$ac_ext
11455 LIBS
=$ac_check_lib_save_LIBS
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11458 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11459 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11460 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11463 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11464 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11465 $as_echo_n "(cached) " >&6
11467 ac_check_lib_save_LIBS
=$LIBS
11468 LIBS
="-lsvld $LIBS"
11469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11472 /* Override any GCC internal prototype to avoid an error.
11473 Use char because int might match the return type of a GCC
11474 builtin and then its argument prototype would still apply. */
11487 if ac_fn_c_try_link
"$LINENO"; then :
11488 ac_cv_lib_svld_dlopen
=yes
11490 ac_cv_lib_svld_dlopen
=no
11492 rm -f core conftest.err conftest.
$ac_objext \
11493 conftest
$ac_exeext conftest.
$ac_ext
11494 LIBS
=$ac_check_lib_save_LIBS
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11497 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11498 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11499 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11502 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11503 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11504 $as_echo_n "(cached) " >&6
11506 ac_check_lib_save_LIBS
=$LIBS
11508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11521 return dld_link ();
11526 if ac_fn_c_try_link
"$LINENO"; then :
11527 ac_cv_lib_dld_dld_link
=yes
11529 ac_cv_lib_dld_dld_link
=no
11531 rm -f core conftest.err conftest.
$ac_objext \
11532 conftest
$ac_exeext conftest.
$ac_ext
11533 LIBS
=$ac_check_lib_save_LIBS
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11536 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11537 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11538 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11559 if test no
= "$lt_cv_dlopen"; then
11565 case $lt_cv_dlopen in
11567 save_CPPFLAGS
=$CPPFLAGS
11568 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11570 save_LDFLAGS
=$LDFLAGS
11571 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11574 LIBS
="$lt_cv_dlopen_libs $LIBS"
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11577 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11578 if ${lt_cv_dlopen_self+:} false
; then :
11579 $as_echo_n "(cached) " >&6
11581 if test yes = "$cross_compiling"; then :
11582 lt_cv_dlopen_self
=cross
11584 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11585 lt_status
=$lt_dlunknown
11586 cat > conftest.
$ac_ext <<_LT_EOF
11587 #line $LINENO "configure"
11588 #include "confdefs.h"
11597 # define LT_DLGLOBAL RTLD_GLOBAL
11600 # define LT_DLGLOBAL DL_GLOBAL
11602 # define LT_DLGLOBAL 0
11606 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11607 find out it does not work in some platform. */
11608 #ifndef LT_DLLAZY_OR_NOW
11610 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11613 # define LT_DLLAZY_OR_NOW DL_LAZY
11616 # define LT_DLLAZY_OR_NOW RTLD_NOW
11619 # define LT_DLLAZY_OR_NOW DL_NOW
11621 # define LT_DLLAZY_OR_NOW 0
11628 /* When -fvisibility=hidden is used, assume the code has been annotated
11629 correspondingly for the symbols needed. */
11630 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11631 int fnord () __attribute__((visibility("default")));
11634 int fnord () { return 42; }
11637 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11638 int status = $lt_dlunknown;
11642 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11645 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11646 else puts (dlerror ());
11648 /* dlclose (self); */
11656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11657 (eval $ac_link) 2>&5
11659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11660 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11661 (.
/conftest
; exit; ) >&5 2>/dev
/null
11663 case x
$lt_status in
11664 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11665 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11666 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11669 # compilation failed
11670 lt_cv_dlopen_self
=no
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11678 $as_echo "$lt_cv_dlopen_self" >&6; }
11680 if test yes = "$lt_cv_dlopen_self"; then
11681 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11683 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11684 if ${lt_cv_dlopen_self_static+:} false
; then :
11685 $as_echo_n "(cached) " >&6
11687 if test yes = "$cross_compiling"; then :
11688 lt_cv_dlopen_self_static
=cross
11690 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11691 lt_status
=$lt_dlunknown
11692 cat > conftest.
$ac_ext <<_LT_EOF
11693 #line $LINENO "configure"
11694 #include "confdefs.h"
11703 # define LT_DLGLOBAL RTLD_GLOBAL
11706 # define LT_DLGLOBAL DL_GLOBAL
11708 # define LT_DLGLOBAL 0
11712 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11713 find out it does not work in some platform. */
11714 #ifndef LT_DLLAZY_OR_NOW
11716 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11719 # define LT_DLLAZY_OR_NOW DL_LAZY
11722 # define LT_DLLAZY_OR_NOW RTLD_NOW
11725 # define LT_DLLAZY_OR_NOW DL_NOW
11727 # define LT_DLLAZY_OR_NOW 0
11734 /* When -fvisibility=hidden is used, assume the code has been annotated
11735 correspondingly for the symbols needed. */
11736 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11737 int fnord () __attribute__((visibility("default")));
11740 int fnord () { return 42; }
11743 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11744 int status = $lt_dlunknown;
11748 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11751 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11752 else puts (dlerror ());
11754 /* dlclose (self); */
11762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11763 (eval $ac_link) 2>&5
11765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11766 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11767 (.
/conftest
; exit; ) >&5 2>/dev
/null
11769 case x
$lt_status in
11770 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11771 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11772 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11775 # compilation failed
11776 lt_cv_dlopen_self_static
=no
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11784 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11787 CPPFLAGS
=$save_CPPFLAGS
11788 LDFLAGS
=$save_LDFLAGS
11793 case $lt_cv_dlopen_self in
11794 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11795 *) enable_dlopen_self
=unknown
;;
11798 case $lt_cv_dlopen_self_static in
11799 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11800 *) enable_dlopen_self_static
=unknown
;;
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11823 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11824 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11825 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11826 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11828 $as_echo "yes" >&6; }
11830 # FIXME - insert some real tests, host_os isn't really good enough
11833 if test -n "$STRIP"; then
11834 striplib
="$STRIP -x"
11835 old_striplib
="$STRIP -S"
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11837 $as_echo "yes" >&6; }
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11840 $as_echo "no" >&6; }
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11845 $as_echo "no" >&6; }
11861 # Report what library types will actually be built
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11863 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11865 $as_echo "$can_build_shared" >&6; }
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11868 $as_echo_n "checking whether to build shared libraries... " >&6; }
11869 test no
= "$can_build_shared" && enable_shared
=no
11871 # On AIX, shared libraries and static libraries use the same namespace, and
11872 # are all built from PIC.
11875 test yes = "$enable_shared" && enable_static
=no
11876 if test -n "$RANLIB"; then
11877 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11878 postinstall_cmds
='$RANLIB $lib'
11883 if test ia64
!= "$host_cpu"; then
11884 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11885 yes,aix
,yes) ;; # shared object as lib.so file only
11886 yes,svr4
,*) ;; # shared object as lib.so archive member only
11887 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11893 $as_echo "$enable_shared" >&6; }
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11896 $as_echo_n "checking whether to build static libraries... " >&6; }
11897 # Make sure either enable_shared or enable_static is yes.
11898 test yes = "$enable_shared" || enable_static
=yes
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11900 $as_echo "$enable_static" >&6; }
11907 ac_cpp
='$CPP $CPPFLAGS'
11908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11928 ac_config_commands
="$ac_config_commands libtool"
11933 # Only expand once:
11937 if test "$GCC" = yes
11939 CFLAGS
="-Wall $CFLAGS"
11942 CPPFLAGS
="$CPPFLAGS -I$srcdir/.. -I.."
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11946 $as_echo_n "checking for ANSI C header files... " >&6; }
11947 if ${ac_cv_header_stdc+:} false
; then :
11948 $as_echo_n "(cached) " >&6
11950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #include <stdlib.h>
11953 #include <stdarg.h>
11954 #include <string.h>
11965 if ac_fn_c_try_compile
"$LINENO"; then :
11966 ac_cv_header_stdc
=yes
11968 ac_cv_header_stdc
=no
11970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11972 if test $ac_cv_header_stdc = yes; then
11973 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11976 #include <string.h>
11979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11980 $EGREP "memchr" >/dev
/null
2>&1; then :
11983 ac_cv_header_stdc
=no
11989 if test $ac_cv_header_stdc = yes; then
11990 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11993 #include <stdlib.h>
11996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11997 $EGREP "free" >/dev
/null
2>&1; then :
12000 ac_cv_header_stdc
=no
12006 if test $ac_cv_header_stdc = yes; then
12007 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12008 if test "$cross_compiling" = yes; then :
12011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h. */
12014 #include <stdlib.h>
12015 #if ((' ' & 0x0FF) == 0x020)
12016 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12017 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12019 # define ISLOWER(c) \
12020 (('a' <= (c) && (c) <= 'i') \
12021 || ('j' <= (c) && (c) <= 'r') \
12022 || ('s' <= (c) && (c) <= 'z'))
12023 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12026 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12031 for (i = 0; i < 256; i++)
12032 if (XOR (islower (i), ISLOWER (i))
12033 || toupper (i) != TOUPPER (i))
12038 if ac_fn_c_try_run
"$LINENO"; then :
12041 ac_cv_header_stdc
=no
12043 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12044 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12050 $as_echo "$ac_cv_header_stdc" >&6; }
12051 if test $ac_cv_header_stdc = yes; then
12053 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12059 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12060 if ${ac_cv_c_const+:} false
; then :
12061 $as_echo_n "(cached) " >&6
12063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12064 /* end confdefs.h. */
12070 #ifndef __cplusplus
12071 /* Ultrix mips cc rejects this sort of thing. */
12072 typedef int charset[2];
12073 const charset cs = { 0, 0 };
12074 /* SunOS 4.1.1 cc rejects this. */
12075 char const *const *pcpcc;
12077 /* NEC SVR4.0.2 mips cc rejects this. */
12078 struct point {int x, y;};
12079 static struct point const zero = {0,0};
12080 /* AIX XL C 1.02.0.0 rejects this.
12081 It does not let you subtract one const X* pointer from another in
12082 an arm of an if-expression whose if-part is not a constant
12084 const char *g = "string";
12085 pcpcc = &g + (g ? g-g : 0);
12086 /* HPUX 7.0 cc rejects these. */
12088 ppc = (char**) pcpcc;
12089 pcpcc = (char const *const *) ppc;
12090 { /* SCO 3.2v4 cc rejects this sort of thing. */
12093 char const *s = 0 ? (char *) 0 : (char const *) 0;
12098 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12099 int x[] = {25, 17};
12100 const int *foo = &x[0];
12103 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12104 typedef const int *iptr;
12108 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12109 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12110 struct s { int j; const int *ap[3]; } bx;
12111 struct s *b = &bx; b->j = 5;
12113 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12114 const int foo = 10;
12115 if (!foo) return 0;
12117 return !cs[0] && !zero.x;
12124 if ac_fn_c_try_compile
"$LINENO"; then :
12129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12132 $as_echo "$ac_cv_c_const" >&6; }
12133 if test $ac_cv_c_const = no
; then
12135 $as_echo "#define const /**/" >>confdefs.h
12139 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12140 if test "x$ac_cv_type_size_t" = xyes
; then :
12144 cat >>confdefs.h
<<_ACEOF
12145 #define size_t unsigned int
12158 if test -d ${srcdir}/..
/md5
12160 TESTPROGS
="$TESTPROGS md5hmactest${EXEEXT}"
12161 hmac_list
="$hmac_list &hmac_md5,"
12162 hashlibs
="$hashlibs ../md5/libmd5.la"
12165 if test -d ${srcdir}/..
/sha1
12167 TESTPROGS
="$TESTPROGS sha1hmactest${EXEEXT}"
12168 hmac_list
="$hmac_list &hmac_sha1, &hmac_sha256, "
12169 hashlibs
="$hashlibs ../sha1/libsha1.la"
12173 hmac_list
="$hmac_list 0"
12177 cat >>confdefs.h
<<_ACEOF
12178 #define HMAC_LIST $hmac_list
12182 ac_config_files
="$ac_config_files Makefile"
12184 cat >confcache
<<\_ACEOF
12185 # This file is a shell script that caches the results of configure
12186 # tests run on this system so they can be shared between configure
12187 # scripts and configure runs, see configure's option --config-cache.
12188 # It is not useful on other systems. If it contains results you don't
12189 # want to keep, you may remove or edit it.
12191 # config.status only pays attention to the cache file if you give it
12192 # the --recheck option to rerun configure.
12194 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12195 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12196 # following values.
12200 # The following way of writing the cache mishandles newlines in values,
12201 # but we know of no workaround that is simple, portable, and efficient.
12202 # So, we kill variables containing newlines.
12203 # Ultrix sh set writes to stderr and can't be redirected directly,
12204 # and sets the high bit in the cache file unless we assign to the vars.
12206 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12207 eval ac_val
=\$
$ac_var
12211 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12212 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12215 _ | IFS | as_nl
) ;; #(
12216 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12217 *) { eval $ac_var=; unset $ac_var;} ;;
12223 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12224 *${as_nl}ac_space
=\
*)
12225 # `set' does not quote correctly, so add quotes: double-quote
12226 # substitution turns \\\\ into \\, and sed turns \\ into \.
12229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12232 # `set' quotes correctly as required by POSIX, so do not add quotes.
12233 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12242 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12244 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12246 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12247 if test -w "$cache_file"; then
12248 if test "x$cache_file" != "x/dev/null"; then
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12250 $as_echo "$as_me: updating cache $cache_file" >&6;}
12251 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12252 cat confcache
>"$cache_file"
12254 case $cache_file in #(
12256 mv -f confcache
"$cache_file"$$
&&
12257 mv -f "$cache_file"$$
"$cache_file" ;; #(
12259 mv -f confcache
"$cache_file" ;;
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12265 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12270 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12271 # Let make expand exec_prefix.
12272 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12274 DEFS
=-DHAVE_CONFIG_H
12279 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12280 # 1. Remove the extension, and $U if already installed.
12281 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12282 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12283 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12284 # will be set to the directory where LIBOBJS objects are built.
12285 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12286 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12288 LIBOBJS
=$ac_libobjs
12290 LTLIBOBJS
=$ac_ltlibobjs
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12294 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12295 if test -n "$am_sleep_pid"; then
12296 # Hide warnings about reused PIDs.
12297 wait $am_sleep_pid 2>/dev
/null
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12300 $as_echo "done" >&6; }
12301 if test -n "$EXEEXT"; then
12303 am__EXEEXT_FALSE
='#'
12305 am__EXEEXT_TRUE
='#'
12309 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12310 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12313 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12314 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12318 : "${CONFIG_STATUS=./config.status}"
12320 ac_clean_files_save
=$ac_clean_files
12321 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12323 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12325 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12327 # Generated by $as_me.
12328 # Run this file to recreate the current configuration.
12329 # Compiler output produced by configure, useful for debugging
12330 # configure, is in config.log if it exists.
12333 ac_cs_recheck=false
12336 SHELL=\${CONFIG_SHELL-$SHELL}
12339 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12340 ## -------------------- ##
12341 ## M4sh Initialization. ##
12342 ## -------------------- ##
12344 # Be more Bourne compatible
12345 DUALCASE
=1; export DUALCASE
# for MKS sh
12346 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12349 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12350 # is contrary to our usage. Disable this feature.
12351 alias -g '${1+"$@"}'='"$@"'
12352 setopt NO_GLOB_SUBST
12354 case `(set -o) 2>/dev/null` in #(
12366 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12367 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12368 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12369 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12370 # Prefer a ksh shell builtin over an external printf program on Solaris,
12371 # but without wasting forks for bash or zsh.
12372 if test -z "$BASH_VERSION$ZSH_VERSION" \
12373 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12374 as_echo='print
-r --'
12375 as_echo_n='print
-rn --'
12376 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12377 as_echo='printf %s
\n'
12378 as_echo_n='printf %s
'
12380 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12381 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12382 as_echo_n='/usr
/ucb
/echo -n'
12384 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12385 as_echo_n_body='eval
12389 expr "X$arg" : "X\\(.*\\)$as_nl";
12390 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12392 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12394 export as_echo_n_body
12395 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12397 export as_echo_body
12398 as_echo='sh
-c $as_echo_body as_echo
'
12401 # The user is always right.
12402 if test "${PATH_SEPARATOR+set}" != set; then
12404 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12405 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12412 # We need space, tab and new line, in precisely that order. Quoting is
12413 # there to prevent editors from complaining about space-tab.
12414 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12415 # splitting by setting IFS to empty value.)
12418 # Find who we are. Look in the path if we contain no directory separator.
12421 *[\\/]* ) as_myself=$0 ;;
12422 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12423 for as_dir in $PATH
12426 test -z "$as_dir" && as_dir=.
12427 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12433 # We did not find ourselves, most probably we were run as `sh COMMAND'
12434 # in which case we are not to be found in the path.
12435 if test "x$as_myself" = x
; then
12438 if test ! -f "$as_myself"; then
12439 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12443 # Unset variables that we do not need and which cause bugs (e.g. in
12444 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12445 # suppresses any "Segmentation fault" message there. '((' could
12446 # trigger a bug in pdksh 5.2.14.
12447 for as_var
in BASH_ENV ENV MAIL MAILPATH
12448 do eval test x\
${$as_var+set} = xset \
12449 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12462 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12465 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12466 # ----------------------------------------
12467 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12468 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12469 # script with STATUS, using 1 if that was 0.
12472 as_status
=$1; test $as_status -eq 0 && as_status
=1
12474 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12475 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12477 $as_echo "$as_me: error: $2" >&2
12478 as_fn_exit
$as_status
12482 # as_fn_set_status STATUS
12483 # -----------------------
12484 # Set $? to STATUS, without forking.
12485 as_fn_set_status
()
12488 } # as_fn_set_status
12490 # as_fn_exit STATUS
12491 # -----------------
12492 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12496 as_fn_set_status
$1
12502 # Portably unset VAR.
12505 { eval $1=; unset $1;}
12507 as_unset
=as_fn_unset
12508 # as_fn_append VAR VALUE
12509 # ----------------------
12510 # Append the text in VALUE to the end of the definition contained in VAR. Take
12511 # advantage of any shell optimizations that allow amortized linear growth over
12512 # repeated appends, instead of the typical quadratic growth present in naive
12514 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12515 eval 'as_fn_append ()
12526 # as_fn_arith ARG...
12527 # ------------------
12528 # Perform arithmetic evaluation on the ARGs, and store the result in the
12529 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12530 # must be portable across $(()) and expr.
12531 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12532 eval 'as_fn_arith ()
12539 as_val
=`expr "$@" || test $? -eq 1`
12544 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12545 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12551 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12552 as_basename
=basename
12557 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12563 as_me
=`$as_basename -- "$0" ||
12564 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12565 X"$0" : 'X\(//\)$' \| \
12566 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12568 sed '/^.*\/\([^/][^/]*\)\/*$/{
12582 # Avoid depending upon Character Ranges.
12583 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12584 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12585 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12586 as_cr_digits
='0123456789'
12587 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12589 ECHO_C
= ECHO_N
= ECHO_T
=
12590 case `echo -n x` in #(((((
12592 case `echo 'xy\c'` in
12593 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12595 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12602 rm -f conf$$ conf$$.exe conf$$.
file
12603 if test -d conf$$.dir
; then
12604 rm -f conf$$.dir
/conf$$.
file
12607 mkdir conf$$.dir
2>/dev
/null
12609 if (echo >conf$$.
file) 2>/dev
/null
; then
12610 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12612 # ... but there are two gotchas:
12613 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12614 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12615 # In both cases, we have to default to `cp -pR'.
12616 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12618 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12626 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12627 rmdir conf$$.dir
2>/dev
/null
12632 # Create "$as_dir" as a directory, including parents if necessary.
12637 -*) as_dir
=.
/$as_dir;;
12639 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12643 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12644 *) as_qdir
=$as_dir;;
12646 as_dirs
="'$as_qdir' $as_dirs"
12647 as_dir
=`$as_dirname -- "$as_dir" ||
12648 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12649 X"$as_dir" : 'X\(//\)[^/]' \| \
12650 X"$as_dir" : 'X\(//\)$' \| \
12651 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12652 $as_echo X"$as_dir" |
12653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12657 /^X\(\/\/\)[^/].*/{
12670 test -d "$as_dir" && break
12672 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12673 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12677 if mkdir
-p .
2>/dev
/null
; then
12678 as_mkdir_p
='mkdir -p "$as_dir"'
12680 test -d .
/-p && rmdir .
/-p
12685 # as_fn_executable_p FILE
12686 # -----------------------
12687 # Test if FILE is an executable regular file.
12688 as_fn_executable_p
()
12690 test -f "$1" && test -x "$1"
12691 } # as_fn_executable_p
12692 as_test_x
='test -x'
12693 as_executable_p
=as_fn_executable_p
12695 # Sed expression to map a string onto a valid CPP name.
12696 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12698 # Sed expression to map a string onto a valid variable name.
12699 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12703 ## ----------------------------------- ##
12704 ## Main body of $CONFIG_STATUS script. ##
12705 ## ----------------------------------- ##
12707 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12710 # Save the log message, to keep $0 and so on meaningful, and to
12711 # report actual input values of CONFIG_FILES etc. instead of their
12712 # values after options handling.
12714 This file was extended by libhmac $as_me 1.00, which was
12715 generated by GNU Autoconf 2.69. Invocation command line was
12717 CONFIG_FILES = $CONFIG_FILES
12718 CONFIG_HEADERS = $CONFIG_HEADERS
12719 CONFIG_LINKS = $CONFIG_LINKS
12720 CONFIG_COMMANDS = $CONFIG_COMMANDS
12723 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12728 case $ac_config_files in *"
12729 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12732 case $ac_config_headers in *"
12733 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12738 # Files that config.status was made for.
12739 config_files="$ac_config_files"
12740 config_headers="$ac_config_headers"
12741 config_commands="$ac_config_commands"
12745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12747 \`$as_me' instantiates files and other configuration actions
12748 from templates according to the current configuration. Unless the files
12749 and actions are specified as TAGs, all are instantiated by default.
12751 Usage: $0 [OPTION]... [TAG]...
12753 -h, --help print this help, then exit
12754 -V, --version print version number and configuration settings, then exit
12755 --config print configuration, then exit
12756 -q, --quiet, --silent
12757 do not print progress messages
12758 -d, --debug don't remove temporary files
12759 --recheck update $as_me by reconfiguring in the same conditions
12760 --file=FILE[:TEMPLATE]
12761 instantiate the configuration file FILE
12762 --header=FILE[:TEMPLATE]
12763 instantiate the configuration header FILE
12765 Configuration files:
12768 Configuration headers:
12771 Configuration commands:
12774 Report bugs to <courier-users@lists.sourceforge.net>."
12777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12778 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12780 libhmac config.status 1.00
12781 configured by $0, generated by GNU Autoconf 2.69,
12782 with options \\"\$ac_cs_config\\"
12784 Copyright (C) 2012 Free Software Foundation, Inc.
12785 This config.status script is free software; the Free Software Foundation
12786 gives unlimited permission to copy, distribute and modify it."
12793 test -n "\$AWK" || AWK=awk
12796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12797 # The default lists apply if the user does not specify any file.
12803 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12804 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12808 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12820 # Handling of the options.
12821 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12823 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12824 $as_echo "$ac_cs_version"; exit ;;
12825 --config |
--confi |
--conf |
--con |
--co |
--c )
12826 $as_echo "$ac_cs_config"; exit ;;
12827 --debug |
--debu |
--deb |
--de |
--d |
-d )
12829 --file |
--fil |
--fi |
--f )
12832 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12833 '') as_fn_error $?
"missing file argument" ;;
12835 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12836 ac_need_defaults
=false
;;
12837 --header |
--heade |
--head |
--hea )
12840 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12842 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12843 ac_need_defaults
=false
;;
12845 # Conflict between --help and --header
12846 as_fn_error $?
"ambiguous option: \`$1'
12847 Try \`$0 --help' for more information.";;
12848 --help |
--hel |
-h )
12849 $as_echo "$ac_cs_usage"; exit ;;
12850 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12851 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12854 # This is an error.
12855 -*) as_fn_error $?
"unrecognized option: \`$1'
12856 Try \`$0 --help' for more information." ;;
12858 *) as_fn_append ac_config_targets
" $1"
12859 ac_need_defaults
=false
;;
12865 ac_configure_extra_args
=
12867 if $ac_cs_silent; then
12869 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12874 if \$ac_cs_recheck; then
12875 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12877 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12878 CONFIG_SHELL='$SHELL'
12879 export CONFIG_SHELL
12884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12888 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12889 ## Running $as_me. ##
12895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12899 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12902 # The HP-UX ksh and POSIX shell print the target directory to stdout
12903 # if CDPATH is set.
12904 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12906 sed_quote_subst='$sed_quote_subst'
12907 double_quote_subst='$double_quote_subst'
12908 delay_variable_subst='$delay_variable_subst'
12909 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12910 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12911 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12912 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12913 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12914 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12915 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
12916 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12917 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12918 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12919 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12920 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12921 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12922 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12923 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12924 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12925 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12926 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12927 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12928 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12929 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12930 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12931 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12932 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12933 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12934 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12935 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12936 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12937 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12938 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12939 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12940 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12941 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12942 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12943 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12944 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12945 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12946 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12947 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12948 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12949 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12950 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12951 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12952 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12953 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12954 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12955 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12956 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12957 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12958 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12959 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12960 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12961 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12962 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12963 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12964 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12965 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
12966 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12967 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"`'
12968 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
12969 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12970 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12971 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
12972 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12973 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12974 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12975 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12976 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12977 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12978 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12979 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12980 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12981 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12982 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12983 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12984 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12985 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12986 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12987 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12988 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12989 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12990 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12991 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12992 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12993 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12994 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12995 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12996 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12997 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12998 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12999 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13000 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13001 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13002 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13003 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13004 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13005 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13006 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13007 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13008 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13009 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13010 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13011 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13012 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13013 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13014 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13015 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13016 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13017 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13018 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13019 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13020 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13021 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13022 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13023 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13024 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13025 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13026 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13027 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13028 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13029 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13030 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13031 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13032 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13033 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13034 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13035 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13036 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13037 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13038 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13039 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13040 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13041 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13042 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13043 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13046 LTCFLAGS='$LTCFLAGS'
13047 compiler='$compiler_DEFAULT'
13049 # A function that is used when there is no print builtin or printf.
13050 func_fallback_echo ()
13052 eval 'cat <<_LTECHO_EOF
13057 # Quote evaled strings.
13072 deplibs_check_method \
13077 sharedlib_from_linklib_cmd \
13080 archiver_list_spec \
13086 lt_cv_sys_global_symbol_pipe \
13087 lt_cv_sys_global_symbol_to_cdecl \
13088 lt_cv_sys_global_symbol_to_import \
13089 lt_cv_sys_global_symbol_to_c_name_address \
13090 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13091 lt_cv_nm_interface \
13092 nm_file_list_spec \
13093 lt_cv_truncate_bin \
13094 lt_prog_compiler_no_builtin_flag \
13095 lt_prog_compiler_pic \
13096 lt_prog_compiler_wl \
13097 lt_prog_compiler_static \
13098 lt_cv_prog_compiler_c_o \
13107 export_dynamic_flag_spec \
13108 whole_archive_flag_spec \
13109 compiler_needs_object \
13111 allow_undefined_flag \
13112 no_undefined_flag \
13113 hardcode_libdir_flag_spec \
13114 hardcode_libdir_separator \
13118 variables_saved_for_relink \
13120 library_names_spec \
13122 install_override_mode \
13126 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13127 *[\\\\\\\`\\"\\\$]*)
13128 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13131 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13136 # Double-quote double-evaled strings.
13137 for var in reload_cmds \
13138 old_postinstall_cmds \
13139 old_postuninstall_cmds \
13141 extract_expsyms_cmds \
13142 old_archive_from_new_cmds \
13143 old_archive_from_expsyms_cmds \
13145 archive_expsym_cmds \
13147 module_expsym_cmds \
13148 export_symbols_cmds \
13152 postuninstall_cmds \
13154 sys_lib_search_path_spec \
13155 configure_time_dlsearch_path \
13156 configure_time_lt_sys_library_path; do
13157 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13158 *[\\\\\\\`\\"\\\$]*)
13159 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13162 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13167 ac_aux_dir='$ac_aux_dir'
13169 # See if we are running on zsh, and set the options that allow our
13170 # commands through without removal of \ escapes INIT.
13171 if test -n "\${ZSH_VERSION+set}"; then
13172 setopt NO_GLOB_SUBST
13186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13188 # Handling of arguments.
13189 for ac_config_target
in $ac_config_targets
13191 case $ac_config_target in
13192 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13193 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13194 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13195 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13197 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13202 # If the user did not use the arguments to specify the items to instantiate,
13203 # then the envvar interface is used. Set only those that are not.
13204 # We use the long form for the default assignment because of an extremely
13205 # bizarre bug on SunOS 4.1.3.
13206 if $ac_need_defaults; then
13207 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13208 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13209 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13212 # Have a temporary directory for convenience. Make it in the build tree
13213 # simply because there is no reason against having it here, and in addition,
13214 # creating and moving files from /tmp can sometimes cause problems.
13215 # Hook for its removal unless debugging.
13216 # Note that there is a small window in which the directory will not be cleaned:
13217 # after its creation but before its name has been assigned to `$tmp'.
13221 trap 'exit_status=$?
13222 : "${ac_tmp:=$tmp}"
13223 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13225 trap 'as_fn_exit 1' 1 2 13 15
13227 # Create a (secure) tmp directory for tmp files.
13230 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13234 tmp
=.
/conf$$
-$RANDOM
13235 (umask 077 && mkdir
"$tmp")
13236 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13239 # Set up the scripts for CONFIG_FILES section.
13240 # No need to generate them if there are no CONFIG_FILES.
13241 # This happens for instance with `./config.status config.h'.
13242 if test -n "$CONFIG_FILES"; then
13245 ac_cr
=`echo X | tr X '\015'`
13246 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13247 # But we know of no other shell where ac_cr would be empty at this
13248 # point, so we can use a bashism as a fallback.
13249 if test "x$ac_cr" = x
; then
13250 eval ac_cr
=\$
\'\\r
\'
13252 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13253 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13256 ac_cs_awk_cr
=$ac_cr
13259 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13264 echo "cat >conf$$subs.awk <<_ACEOF" &&
13265 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13267 } >conf$$subs.sh ||
13268 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13269 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13271 for ac_last_try in false false false false false :; do
13272 . ./conf$$subs.sh ||
13273 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13275 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13276 if test $ac_delim_n = $ac_delim_num; then
13278 elif $ac_last_try; then
13279 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13281 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13284 rm -f conf$$subs.sh
13286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13287 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13291 s/^/S["/; s
/!.
*/"]=/
13301 s/\(.\{148\}\)..*/\1/
13303 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13308 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13315 s/\(.\{148\}\)..*/\1/
13317 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13321 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13326 ' <conf$$subs.awk | sed '
13331 ' >>$CONFIG_STATUS || ac_write_fail=1
13332 rm -f conf$$subs.awk
13333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13335 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13336 for (key in S) S_is_set[key] = 1
13342 nfields = split(line, field, "@
")
13344 len = length(field[1])
13345 for (i = 2; i < nfields; i++) {
13347 keylen = length(key)
13348 if (S_is_set[key]) {
13350 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13351 len += length(value) + length(field[++i])
13362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13363 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13364 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13367 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13368 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13371 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13372 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13373 # trailing colons and then remove the whole line if VPATH becomes empty
13374 # (actually we leave an empty line to preserve line numbers).
13375 if test "x
$srcdir" = x.; then
13376 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13395 fi # test -n "$CONFIG_FILES"
13397 # Set up the scripts for CONFIG_HEADERS section.
13398 # No need to generate them if there are no CONFIG_HEADERS.
13399 # This happens for instance with `./config.status Makefile'.
13400 if test -n "$CONFIG_HEADERS"; then
13401 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13405 # Transform confdefs.h into an awk script `defines.awk', embedded as
13406 # here-document in config.status, that substitutes the proper values into
13407 # config.h.in to produce config.h.
13409 # Create a delimiter string that does not exist in confdefs.h, to ease
13410 # handling of long lines.
13412 for ac_last_try in false false :; do
13413 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13414 if test -z "$ac_tt"; then
13416 elif $ac_last_try; then
13417 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13419 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13423 # For the awk script, D is an array of macro values keyed by name,
13424 # likewise P contains macro parameters if any. Preserve backslash
13425 # newline sequences.
13427 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13429 s/.\{148\}/&'"$ac_delim"'/g
13432 s/^[ ]*#[ ]*define[ ][ ]*/ /
13439 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13441 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13445 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13446 D["\
1"]=" \
3\\\\\\n
"\\/p
13448 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13453 s/.\{148\}/&'"$ac_delim"'/g
13458 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13461 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13463 ' <confdefs.h | sed '
13464 s/'"$ac_delim"'/"\\\
13465 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13468 for (key in D) D_is_set[key] = 1
13471 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13473 split(line, arg, " ")
13474 if (arg[1] == "#") {
13478 defundef
= substr
(arg
[1], 2)
13481 split(mac1
, mac2
, "(") #)
13483 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13484 if (D_is_set
[macro
]) {
13485 # Preserve the white space surrounding the "#".
13486 print prefix
"define", macro P
[macro
] D
[macro
]
13489 # Replace #undef with comments. This is necessary, for example,
13490 # in the case of _POSIX_SOURCE, which is predefined and required
13491 # on some systems where configure will not decide to define it.
13492 if (defundef
== "undef") {
13493 print
"/*", prefix defundef
, macro
, "*/"
13501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13502 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13503 fi # test -n "$CONFIG_HEADERS"
13506 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13511 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13513 case $ac_mode$ac_tag in
13515 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13516 :[FH
]-) ac_tag
=-:-;;
13517 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13534 -) ac_f
="$ac_tmp/stdin";;
13535 *) # Look for the file first in the build tree, then in the source tree
13536 # (if the path is not absolute). The absolute path cannot be DOS-style,
13537 # because $ac_f cannot contain `:'.
13541 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13543 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13545 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13546 as_fn_append ac_file_inputs
" '$ac_f'"
13549 # Let's still pretend it is `configure' which instantiates (i.e., don't
13550 # use $as_me), people would be surprised to read:
13551 # /* config.h. Generated by config.status. */
13552 configure_input
='Generated from '`
13553 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13555 if test x
"$ac_file" != x-
; then
13556 configure_input
="$ac_file. $configure_input"
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13558 $as_echo "$as_me: creating $ac_file" >&6;}
13560 # Neutralize special characters interpreted by sed in replacement strings.
13561 case $configure_input in #(
13562 *\
&* |
*\|
* |
*\\* )
13563 ac_sed_conf_input
=`$as_echo "$configure_input" |
13564 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13565 *) ac_sed_conf_input
=$configure_input;;
13569 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13570 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13575 ac_dir
=`$as_dirname -- "$ac_file" ||
13576 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13577 X"$ac_file" : 'X\(//\)[^/]' \| \
13578 X"$ac_file" : 'X\(//\)$' \| \
13579 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13580 $as_echo X"$ac_file" |
13581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13585 /^X\(\/\/\)[^/].*/{
13598 as_dir
="$ac_dir"; as_fn_mkdir_p
13602 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13604 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13605 # A ".." for each directory in $ac_dir_suffix.
13606 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13607 case $ac_top_builddir_sub in
13608 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13609 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13612 ac_abs_top_builddir
=$ac_pwd
13613 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13614 # for backward compatibility:
13615 ac_top_builddir
=$ac_top_build_prefix
13618 .
) # We are building in place.
13620 ac_top_srcdir
=$ac_top_builddir_sub
13621 ac_abs_top_srcdir
=$ac_pwd ;;
13622 [\\/]* | ?
:[\\/]* ) # Absolute name.
13623 ac_srcdir
=$srcdir$ac_dir_suffix;
13624 ac_top_srcdir
=$srcdir
13625 ac_abs_top_srcdir
=$srcdir ;;
13626 *) # Relative name.
13627 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13628 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13629 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13631 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13641 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13642 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13644 ac_MKDIR_P
=$MKDIR_P
13646 [\\/$
]* | ?
:[\\/]* ) ;;
13647 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13652 # If the template does not know about datarootdir, expand it.
13653 # FIXME: This hack should be removed a few years after 2.60.
13654 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13665 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13666 *datarootdir
*) ac_datarootdir_seen
=yes;;
13667 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13669 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13672 ac_datarootdir_hack='
13673 s&@datadir@&$datadir&g
13674 s&@docdir@&$docdir&g
13675 s&@infodir@&$infodir&g
13676 s&@localedir@&$localedir&g
13677 s&@mandir@&$mandir&g
13678 s&\\\${datarootdir}&$datarootdir&g' ;;
13682 # Neutralize VPATH when `$srcdir' = `.'.
13683 # Shell code in configure.ac might set extrasub.
13684 # FIXME: do we really want to maintain this feature?
13685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13686 ac_sed_extra="$ac_vpsub
13689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13691 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13692 s|@configure_input@|
$ac_sed_conf_input|
;t t
13693 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13694 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13695 s
&@srcdir@
&$ac_srcdir&;t t
13696 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13697 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13698 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13699 s
&@builddir@
&$ac_builddir&;t t
13700 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13701 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13702 s
&@INSTALL@
&$ac_INSTALL&;t t
13703 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13704 $ac_datarootdir_hack
13706 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13707 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13709 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13710 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13711 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13712 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13714 which seems to be undefined. Please make sure it is defined" >&5
13715 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13716 which seems to be undefined. Please make sure it is defined" >&2;}
13718 rm -f "$ac_tmp/stdin"
13720 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13721 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13723 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13729 if test x"$ac_file" != x-; then
13731 $as_echo "/* $configure_input */" \
13732 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13733 } >"$ac_tmp/config.h" \
13734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13735 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13737 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13740 mv "$ac_tmp/config.h" "$ac_file" \
13741 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13744 $as_echo "/* $configure_input */" \
13745 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13746 || as_fn_error $? "could not create -" "$LINENO" 5
13748 # Compute "$ac_file"'s index
in $config_headers.
13751 for _am_header
in $config_headers :; do
13752 case $_am_header in
13753 $_am_arg |
$_am_arg:* )
13756 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13759 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13760 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13761 X"$_am_arg" : 'X\(//\)[^/]' \| \
13762 X"$_am_arg" : 'X\(//\)$' \| \
13763 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13764 $as_echo X"$_am_arg" |
13765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13769 /^X\(\/\/\)[^/].*/{
13781 s/.*/./; q'`/stamp-h
$_am_stamp_count
13784 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13785 $as_echo "$as_me: executing $ac_file commands" >&6;}
13790 case $ac_file$ac_mode in
13791 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13792 # Older Autoconf quotes --file arguments for eval, but not when files
13793 # are listed without --file. Let's play safe and only enable the eval
13794 # if we detect the quoting.
13795 case $CONFIG_FILES in
13796 *\'*) eval set x
"$CONFIG_FILES" ;;
13797 *) set x
$CONFIG_FILES ;;
13802 # Strip MF so we end up with the name of the file.
13803 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13804 # Check whether this is an Automake generated Makefile or not.
13805 # We used to match only the files named 'Makefile.in', but
13806 # some people rename them; so instead we look at the file content.
13807 # Grep'ing the first line is not enough: some people post-process
13808 # each Makefile.in and add a new line on top of each file to say so.
13809 # Grep'ing the whole file is not good either: AIX grep has a line
13810 # limit of 2048, but all sed's we know have understand at least 4000.
13811 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13812 dirpart
=`$as_dirname -- "$mf" ||
13813 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13814 X"$mf" : 'X\(//\)[^/]' \| \
13815 X"$mf" : 'X\(//\)$' \| \
13816 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13822 /^X\(\/\/\)[^/].*/{
13838 # Extract the definition of DEPDIR, am__include, and am__quote
13839 # from the Makefile without running 'make'.
13840 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13841 test -z "$DEPDIR" && continue
13842 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13843 test -z "$am__include" && continue
13844 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13845 # Find all dependency output files, they are included files with
13846 # $(DEPDIR) in their names. We invoke sed twice because it is the
13847 # simplest approach to changing $(DEPDIR) to its actual value in the
13849 for file in `sed -n "
13850 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13851 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13852 # Make sure the directory exists.
13853 test -f "$dirpart/$file" && continue
13854 fdir
=`$as_dirname -- "$file" ||
13855 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13856 X"$file" : 'X\(//\)[^/]' \| \
13857 X"$file" : 'X\(//\)$' \| \
13858 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13859 $as_echo X"$file" |
13860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13864 /^X\(\/\/\)[^/].*/{
13877 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13878 # echo "creating $dirpart/$file"
13879 echo '# dummy' > "$dirpart/$file"
13886 # See if we are running on zsh, and set the options that allow our
13887 # commands through without removal of \ escapes.
13888 if test -n "${ZSH_VERSION+set}"; then
13889 setopt NO_GLOB_SUBST
13893 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13896 cat <<_LT_EOF >> "$cfgfile"
13898 # Generated automatically by $as_me ($PACKAGE) $VERSION
13899 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13900 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13902 # Provide generalized library-building support services.
13903 # Written by Gordon Matzigkeit, 1996
13905 # Copyright (C) 2014 Free Software Foundation, Inc.
13906 # This is free software; see the source for copying conditions. There is NO
13907 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13909 # GNU Libtool is free software; you can redistribute it and/or modify
13910 # it under the terms of the GNU General Public License as published by
13911 # the Free Software Foundation; either version 2 of of the License, or
13912 # (at your option) any later version.
13914 # As a special exception to the GNU General Public License, if you
13915 # distribute this file as part of a program or library that is built
13916 # using GNU Libtool, you may include this file under the same
13917 # distribution terms that you use for the rest of that program.
13919 # GNU Libtool is distributed in the hope that it will be useful, but
13920 # WITHOUT ANY WARRANTY; without even the implied warranty of
13921 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13922 # GNU General Public License for more details.
13924 # You should have received a copy of the GNU General Public License
13925 # along with this program. If not, see <http://www.gnu.org/licenses/>.
13928 # The names of the tagged configurations supported by this script.
13931 # Configured defaults for sys_lib_dlsearch_path munging.
13932 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
13934 # ### BEGIN LIBTOOL CONFIG
13936 # Which release of libtool.m4 was used?
13937 macro_version=$macro_version
13938 macro_revision=$macro_revision
13940 # Whether or not to build shared libraries.
13941 build_libtool_libs=$enable_shared
13943 # Whether or not to build static libraries.
13944 build_old_libs=$enable_static
13946 # What type of objects to build.
13949 # Whether or not to optimize for fast installation.
13950 fast_install=$enable_fast_install
13952 # Shared archive member basename,for filename based shared library versioning on AIX.
13953 shared_archive_member_spec=$shared_archive_member_spec
13955 # Shell to use when invoking shell scripts.
13958 # An echo program that protects backslashes.
13961 # The PATH separator for the build system.
13962 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13965 host_alias=$host_alias
13969 # The build system.
13970 build_alias=$build_alias
13974 # A sed program that does not truncate output.
13977 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13978 Xsed="\$SED -e 1s/^X//"
13980 # A grep program that handles long lines.
13986 # A literal string matcher.
13989 # A BSD- or MS-compatible name lister.
13992 # Whether we need soft or hard links.
13995 # What is the maximum length of a command?
13996 max_cmd_len=$max_cmd_len
13998 # Object file suffix (normally "o").
14001 # Executable file suffix (normally "").
14004 # whether the shell understands "unset".
14007 # turn spaces into newlines.
14010 # turn newlines into spaces.
14013 # convert \$build file names to \$host format.
14014 to_host_file_cmd=$lt_cv_to_host_file_cmd
14016 # convert \$build files to toolchain format.
14017 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14019 # An object symbol dumper.
14020 OBJDUMP=$lt_OBJDUMP
14022 # Method to check whether dependent libraries are shared objects.
14023 deplibs_check_method=$lt_deplibs_check_method
14025 # Command to use when deplibs_check_method = "file_magic".
14026 file_magic_cmd=$lt_file_magic_cmd
14028 # How to find potential files when deplibs_check_method = "file_magic".
14029 file_magic_glob=$lt_file_magic_glob
14031 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14032 want_nocaseglob=$lt_want_nocaseglob
14034 # DLL creation program.
14035 DLLTOOL=$lt_DLLTOOL
14037 # Command to associate shared and link libraries.
14038 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14043 # Flags to create an archive.
14044 AR_FLAGS=$lt_AR_FLAGS
14046 # How to feed a file listing to the archiver.
14047 archiver_list_spec=$lt_archiver_list_spec
14049 # A symbol stripping program.
14052 # Commands used to install an old-style archive.
14054 old_postinstall_cmds=$lt_old_postinstall_cmds
14055 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14057 # Whether to use a lock for old archive extraction.
14058 lock_old_archive_extraction=$lock_old_archive_extraction
14063 # LTCC compiler flags.
14064 LTCFLAGS=$lt_CFLAGS
14066 # Take the output of nm and produce a listing of raw symbols and C names.
14067 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14069 # Transform the output of nm in a proper C declaration.
14070 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14072 # Transform the output of nm into a list of symbols to manually relocate.
14073 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14075 # Transform the output of nm in a C name address pair.
14076 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14078 # Transform the output of nm in a C name address pair when lib prefix is needed.
14079 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14081 # The name lister interface.
14082 nm_interface=$lt_lt_cv_nm_interface
14084 # Specify filename containing input files for \$NM.
14085 nm_file_list_spec=$lt_nm_file_list_spec
14087 # The root where to search for dependent libraries,and where our libraries should be installed.
14088 lt_sysroot=$lt_sysroot
14090 # Command to truncate a binary pipe.
14091 lt_truncate_bin=$lt_lt_cv_truncate_bin
14093 # The name of the directory that contains temporary libtool files.
14096 # Used to examine libraries when file_magic_cmd begins with "file".
14097 MAGIC_CMD=$MAGIC_CMD
14099 # Must we lock files when doing compilation?
14100 need_locks=$lt_need_locks
14103 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14105 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14106 DSYMUTIL=$lt_DSYMUTIL
14108 # Tool to change global to local symbols on Mac OS X.
14111 # Tool to manipulate fat objects and archives on Mac OS X.
14114 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14117 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14118 OTOOL64=$lt_OTOOL64
14120 # Old archive suffix (normally "a").
14123 # Shared library suffix (normally ".so").
14124 shrext_cmds=$lt_shrext_cmds
14126 # The commands to extract the exported symbol list from a shared archive.
14127 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14129 # Variables whose values should be saved in libtool wrapper scripts and
14130 # restored at link time.
14131 variables_saved_for_relink=$lt_variables_saved_for_relink
14133 # Do we need the "lib" prefix for modules?
14134 need_lib_prefix=$need_lib_prefix
14136 # Do we need a version for libraries?
14137 need_version=$need_version
14139 # Library versioning type.
14140 version_type=$version_type
14142 # Shared library runtime path variable.
14143 runpath_var=$runpath_var
14145 # Shared library path variable.
14146 shlibpath_var=$shlibpath_var
14148 # Is shlibpath searched before the hard-coded library search path?
14149 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14151 # Format of library name prefix.
14152 libname_spec=$lt_libname_spec
14154 # List of archive names. First name is the real one, the rest are links.
14155 # The last name is the one that the linker finds with -lNAME
14156 library_names_spec=$lt_library_names_spec
14158 # The coded name of the library, if different from the real name.
14159 soname_spec=$lt_soname_spec
14161 # Permission mode override for installation of shared libraries.
14162 install_override_mode=$lt_install_override_mode
14164 # Command to use after installation of a shared archive.
14165 postinstall_cmds=$lt_postinstall_cmds
14167 # Command to use after uninstallation of a shared archive.
14168 postuninstall_cmds=$lt_postuninstall_cmds
14170 # Commands used to finish a libtool library installation in a directory.
14171 finish_cmds=$lt_finish_cmds
14173 # As "finish_cmds", except a single script fragment to be evaled but
14175 finish_eval=$lt_finish_eval
14177 # Whether we should hardcode library paths into libraries.
14178 hardcode_into_libs=$hardcode_into_libs
14180 # Compile-time system search path for libraries.
14181 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14183 # Detected run-time system search path for libraries.
14184 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14186 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14187 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14189 # Whether dlopen is supported.
14190 dlopen_support=$enable_dlopen
14192 # Whether dlopen of programs is supported.
14193 dlopen_self=$enable_dlopen_self
14195 # Whether dlopen of statically linked programs is supported.
14196 dlopen_self_static=$enable_dlopen_self_static
14198 # Commands to strip libraries.
14199 old_striplib=$lt_old_striplib
14200 striplib=$lt_striplib
14203 # The linker used to build libraries.
14206 # How to create reloadable object files.
14207 reload_flag=$lt_reload_flag
14208 reload_cmds=$lt_reload_cmds
14210 # Commands used to build an old-style archive.
14211 old_archive_cmds=$lt_old_archive_cmds
14213 # A language specific compiler.
14216 # Is the compiler the GNU compiler?
14219 # Compiler flag to turn off builtin functions.
14220 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14222 # Additional compiler flags for building library objects.
14223 pic_flag=$lt_lt_prog_compiler_pic
14225 # How to pass a linker flag through the compiler.
14226 wl=$lt_lt_prog_compiler_wl
14228 # Compiler flag to prevent dynamic linking.
14229 link_static_flag=$lt_lt_prog_compiler_static
14231 # Does compiler simultaneously support -c and -o options?
14232 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14234 # Whether or not to add -lc for building shared libraries.
14235 build_libtool_need_lc=$archive_cmds_need_lc
14237 # Whether or not to disallow shared libs when runtime libs are static.
14238 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14240 # Compiler flag to allow reflexive dlopens.
14241 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14243 # Compiler flag to generate shared objects directly from archives.
14244 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14246 # Whether the compiler copes with passing no objects directly.
14247 compiler_needs_object=$lt_compiler_needs_object
14249 # Create an old-style archive from a shared archive.
14250 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14252 # Create a temporary old-style archive to link instead of a shared archive.
14253 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14255 # Commands used to build a shared archive.
14256 archive_cmds=$lt_archive_cmds
14257 archive_expsym_cmds=$lt_archive_expsym_cmds
14259 # Commands used to build a loadable module if different from building
14260 # a shared archive.
14261 module_cmds=$lt_module_cmds
14262 module_expsym_cmds=$lt_module_expsym_cmds
14264 # Whether we are building with GNU ld or not.
14265 with_gnu_ld=$lt_with_gnu_ld
14267 # Flag that allows shared libraries with undefined symbols to be built.
14268 allow_undefined_flag=$lt_allow_undefined_flag
14270 # Flag that enforces no undefined symbols.
14271 no_undefined_flag=$lt_no_undefined_flag
14273 # Flag to hardcode \$libdir into a binary during linking.
14274 # This must work even if \$libdir does not exist
14275 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14277 # Whether we need a single "-rpath" flag with a separated argument.
14278 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14280 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14281 # DIR into the resulting binary.
14282 hardcode_direct=$hardcode_direct
14284 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14285 # DIR into the resulting binary and the resulting library dependency is
14286 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
14287 # library is relocated.
14288 hardcode_direct_absolute=$hardcode_direct_absolute
14290 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14291 # into the resulting binary.
14292 hardcode_minus_L=$hardcode_minus_L
14294 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14295 # into the resulting binary.
14296 hardcode_shlibpath_var=$hardcode_shlibpath_var
14298 # Set to "yes" if building a shared library automatically hardcodes DIR
14299 # into the library and all subsequent libraries and executables linked
14301 hardcode_automatic=$hardcode_automatic
14303 # Set to yes if linker adds runtime paths of dependent libraries
14304 # to runtime path list.
14305 inherit_rpath=$inherit_rpath
14307 # Whether libtool must link a program against all its dependency libraries.
14308 link_all_deplibs=$link_all_deplibs
14310 # Set to "yes" if exported symbols are required.
14311 always_export_symbols=$always_export_symbols
14313 # The commands to list exported symbols.
14314 export_symbols_cmds=$lt_export_symbols_cmds
14316 # Symbols that should not be listed in the preloaded symbols.
14317 exclude_expsyms=$lt_exclude_expsyms
14319 # Symbols that must always be exported.
14320 include_expsyms=$lt_include_expsyms
14322 # Commands necessary for linking programs (against libraries) with templates.
14323 prelink_cmds=$lt_prelink_cmds
14325 # Commands necessary for finishing linking programs.
14326 postlink_cmds=$lt_postlink_cmds
14328 # Specify filename containing input files.
14329 file_list_spec=$lt_file_list_spec
14331 # How to hardcode a shared library path into an executable.
14332 hardcode_action=$hardcode_action
14334 # ### END LIBTOOL CONFIG
14338 cat <<'_LT_EOF' >> "$cfgfile"
14340 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14342 # func_munge_path_list VARIABLE PATH
14343 # -----------------------------------
14344 # VARIABLE is name of variable containing _space_ separated list of
14345 # directories to be munged by the contents of PATH, which is string
14348 # string "DIR[ DIR]" will be prepended to VARIABLE
14350 # string "DIR[ DIR]" will be appended to VARIABLE
14351 # "DIRP[:DIRP]::[DIRA:]DIRA"
14352 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14353 # "DIRA[ DIRA]" will be appended to VARIABLE
14355 # VARIABLE will be replaced by "DIR[ DIR]"
14356 func_munge_path_list ()
14362 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14365 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14368 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14369 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14372 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14378 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
14379 func_cc_basename ()
14381 for cc_temp in $*""; do
14383 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14384 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14389 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14393 # ### END FUNCTIONS SHARED WITH CONFIGURE
14399 cat <<\_LT_EOF
>> "$cfgfile"
14400 # AIX sometimes has problems with the GCC collect2 program. For some
14401 # reason, if we set the COLLECT_NAMES environment variable, the problems
14402 # vanish in a puff of smoke.
14403 if test set != "${COLLECT_NAMES+set}"; then
14405 export COLLECT_NAMES
14412 ltmain
=$ac_aux_dir/ltmain.sh
14415 # We use sed instead of cat because bash on DJGPP gets confused if
14416 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14417 # text mode, it properly converts lines to CR/LF. This bash problem
14418 # is reportedly fixed, but why not run on old versions too?
14419 sed '$q' "$ltmain" >> "$cfgfile" \
14420 ||
(rm -f "$cfgfile"; exit 1)
14422 mv -f "$cfgfile" "$ofile" ||
14423 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14434 ac_clean_files
=$ac_clean_files_save
14436 test $ac_write_fail = 0 ||
14437 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14440 # configure is writing to config.log, and then calls config.status.
14441 # config.status does its own redirection, appending to config.log.
14442 # Unfortunately, on DOS this fails, as config.log is still kept open
14443 # by configure, so config.status won't be able to write to it; its
14444 # output is simply discarded. So we exec the FD to /dev/null,
14445 # effectively closing config.log, so it can be properly (re)opened and
14446 # appended to by config.status. When coming back to configure, we
14447 # need to make the FD available again.
14448 if test "$no_create" != yes; then
14450 ac_config_status_args
=
14451 test "$silent" = yes &&
14452 ac_config_status_args
="$ac_config_status_args --quiet"
14454 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14456 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14457 # would make configure fail if this is the last instruction.
14458 $ac_cs_success || as_fn_exit
1
14460 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14462 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}