2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sod 0.2.0-29-g54c0.
5 # Report bugs to <mdw@distorted.org.uk>.
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: mdw@distorted.org.uk about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: 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.
592 PACKAGE_TARNAME
='sod'
593 PACKAGE_VERSION
='0.2.0-29-g54c0'
594 PACKAGE_STRING
='sod 0.2.0-29-g54c0'
595 PACKAGE_BUGREPORT
='mdw@distorted.org.uk'
598 ac_unique_file
="lib/sod.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
704 INSTALL_STRIP_PROGRAM
746 program_transform_name
759 enable_option_checking
761 enable_dependency_tracking
773 ac_precious_vars
='build_alias
784 # Initialize some variables set by options.
786 ac_init_version
=false
787 ac_unrecognized_opts
=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
798 program_transform_name
=s
,x
,x
,
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir
='${exec_prefix}/bin'
813 sbindir
='${exec_prefix}/sbin'
814 libexecdir
='${exec_prefix}/libexec'
815 datarootdir
='${prefix}/share'
816 datadir
='${datarootdir}'
817 sysconfdir
='${prefix}/etc'
818 sharedstatedir
='${prefix}/com'
819 localstatedir
='${prefix}/var'
820 includedir
='${prefix}/include'
821 oldincludedir
='/usr/include'
822 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
823 infodir
='${datarootdir}/info'
828 libdir
='${exec_prefix}/lib'
829 localedir
='${datarootdir}/locale'
830 mandir
='${datarootdir}/man'
836 # If the previous option needs an argument, assign it.
837 if test -n
"$ac_prev"; then
838 eval $ac_prev=\
$ac_option
844 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
849 # Accept the important Cygnus configure options, so we can diagnose typos.
851 case $ac_dashdash$ac_option in
855 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi
)
857 -bindir
=* |
--bindir
=* |
--bindi
=* |
--bind=* |
--bin
=* |
--bi
=*)
860 -build |
--build |
--buil |
--bui |
--bu
)
861 ac_prev
=build_alias
;;
862 -build
=* |
--build
=* |
--buil
=* |
--bui
=* |
--bu
=*)
863 build_alias
=$ac_optarg ;;
865 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
866 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c
)
867 ac_prev
=cache_file
;;
868 -cache-file
=* |
--cache-file
=* |
--cache-fil
=* |
--cache-fi
=* \
869 |
--cache-f
=* |
--cache-
=* |
--cache
=* |
--cach
=* |
--cac
=* |
--ca
=* |
--c
=*)
870 cache_file
=$ac_optarg ;;
873 cache_file
=config.cache
;;
875 -datadir |
--datadir |
--datadi |
--datad
)
877 -datadir
=* |
--datadir
=* |
--datadi
=* |
--datad
=*)
878 datadir
=$ac_optarg ;;
880 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
881 |
--dataroo |
--dataro |
--datar
)
882 ac_prev
=datarootdir
;;
883 -datarootdir
=* |
--datarootdir
=* |
--datarootdi
=* |
--datarootd
=* \
884 |
--dataroot
=* |
--dataroo
=* |
--dataro
=* |
--datar
=*)
885 datarootdir
=$ac_optarg ;;
887 -disable-
* |
--disable-
*)
888 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
891 as_fn_error $?
"invalid feature name: $ac_useropt"
892 ac_useropt_orig
=$ac_useropt
893 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
898 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899 ac_unrecognized_sep
=', ';;
901 eval enable_
$ac_useropt=no
;;
903 -docdir |
--docdir |
--docdi |
--doc |
--do)
905 -docdir
=* |
--docdir
=* |
--docdi
=* |
--doc
=* |
--do=*)
908 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv
)
910 -dvidir
=* |
--dvidir
=* |
--dvidi
=* |
--dvid
=* |
--dvi
=* |
--dv
=*)
913 -enable-
* |
--enable-
*)
914 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
917 as_fn_error $?
"invalid feature name: $ac_useropt"
918 ac_useropt_orig
=$ac_useropt
919 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925 ac_unrecognized_sep
=', ';;
927 eval enable_
$ac_useropt=\
$ac_optarg ;;
929 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
930 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
931 |
--exec |
--exe |
--ex
)
932 ac_prev
=exec_prefix
;;
933 -exec-prefix
=* |
--exec_prefix
=* |
--exec-prefix
=* |
--exec-prefi
=* \
934 |
--exec-pref
=* |
--exec-pre
=* |
--exec-pr
=* |
--exec-p
=* |
--exec-
=* \
935 |
--exec=* |
--exe
=* |
--ex
=*)
936 exec_prefix
=$ac_optarg ;;
938 -gas |
--gas |
--ga |
--g
)
939 # Obsolete; use --with-gas.
942 -help |
--help |
--hel |
--he |
-h
)
944 -help=r
* |
--help=r
* |
--hel
=r
* |
--he
=r
* |
-hr
*)
945 ac_init_help
=recursive
;;
946 -help=s
* |
--help=s
* |
--hel
=s
* |
--he
=s
* |
-hs
*)
947 ac_init_help
=short
;;
949 -host |
--host |
--hos |
--ho
)
950 ac_prev
=host_alias
;;
951 -host=* |
--host=* |
--hos
=* |
--ho
=*)
952 host_alias
=$ac_optarg ;;
954 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht
)
956 -htmldir
=* |
--htmldir
=* |
--htmldi
=* |
--htmld
=* |
--html
=* |
--htm
=* \
958 htmldir
=$ac_optarg ;;
960 -includedir |
--includedir |
--includedi |
--included |
--include \
961 |
--includ |
--inclu |
--incl |
--inc
)
962 ac_prev
=includedir
;;
963 -includedir
=* |
--includedir
=* |
--includedi
=* |
--included
=* |
--include
=* \
964 |
--includ
=* |
--inclu
=* |
--incl
=* |
--inc
=*)
965 includedir
=$ac_optarg ;;
967 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf
)
969 -infodir
=* |
--infodir
=* |
--infodi
=* |
--infod
=* |
--info
=* |
--inf
=*)
970 infodir
=$ac_optarg ;;
972 -libdir |
--libdir |
--libdi |
--libd
)
974 -libdir
=* |
--libdir
=* |
--libdi
=* |
--libd
=*)
977 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
978 |
--libexe |
--libex |
--libe
)
979 ac_prev
=libexecdir
;;
980 -libexecdir
=* |
--libexecdir
=* |
--libexecdi
=* |
--libexecd
=* |
--libexec
=* \
981 |
--libexe
=* |
--libex
=* |
--libe
=*)
982 libexecdir
=$ac_optarg ;;
984 -localedir |
--localedir |
--localedi |
--localed |
--locale
)
986 -localedir
=* |
--localedir
=* |
--localedi
=* |
--localed
=* |
--locale
=*)
987 localedir
=$ac_optarg ;;
989 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
990 |
--localstate |
--localstat |
--localsta |
--localst |
--locals
)
991 ac_prev
=localstatedir
;;
992 -localstatedir
=* |
--localstatedir
=* |
--localstatedi
=* |
--localstated
=* \
993 |
--localstate
=* |
--localstat
=* |
--localsta
=* |
--localst
=* |
--locals
=*)
994 localstatedir
=$ac_optarg ;;
996 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m
)
998 -mandir
=* |
--mandir
=* |
--mandi
=* |
--mand
=* |
--man
=* |
--ma
=* |
--m
=*)
1001 -nfp |
--nfp |
--nf
)
1002 # Obsolete; use --without-fp.
1005 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1006 |
--no-cr |
--no-c |
-n
)
1009 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1010 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r
)
1013 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1014 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1015 |
--oldin |
--oldi |
--old |
--ol |
--o
)
1016 ac_prev
=oldincludedir
;;
1017 -oldincludedir
=* |
--oldincludedir
=* |
--oldincludedi
=* |
--oldincluded
=* \
1018 |
--oldinclude
=* |
--oldinclud
=* |
--oldinclu
=* |
--oldincl
=* |
--oldinc
=* \
1019 |
--oldin
=* |
--oldi
=* |
--old
=* |
--ol
=* |
--o
=*)
1020 oldincludedir
=$ac_optarg ;;
1022 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p
)
1024 -prefix
=* |
--prefix
=* |
--prefi
=* |
--pref
=* |
--pre
=* |
--pr=* |
--p
=*)
1025 prefix
=$ac_optarg ;;
1027 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1028 |
--program-pre |
--program-pr |
--program-p
)
1029 ac_prev
=program_prefix
;;
1030 -program-prefix
=* |
--program-prefix
=* |
--program-prefi
=* \
1031 |
--program-pref
=* |
--program-pre
=* |
--program-pr
=* |
--program-p
=*)
1032 program_prefix
=$ac_optarg ;;
1034 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1035 |
--program-suf |
--program-su |
--program-s
)
1036 ac_prev
=program_suffix
;;
1037 -program-suffix
=* |
--program-suffix
=* |
--program-suffi
=* \
1038 |
--program-suff
=* |
--program-suf
=* |
--program-su
=* |
--program-s
=*)
1039 program_suffix
=$ac_optarg ;;
1041 -program-transform-name |
--program-transform-name \
1042 |
--program-transform-nam |
--program-transform-na \
1043 |
--program-transform-n |
--program-transform- \
1044 |
--program-transform |
--program-transfor \
1045 |
--program-transfo |
--program-transf \
1046 |
--program-trans |
--program-tran \
1047 |
--progr-tra |
--program-tr |
--program-t
)
1048 ac_prev
=program_transform_name
;;
1049 -program-transform-name
=* |
--program-transform-name
=* \
1050 |
--program-transform-nam
=* |
--program-transform-na
=* \
1051 |
--program-transform-n
=* |
--program-transform-
=* \
1052 |
--program-transform
=* |
--program-transfor
=* \
1053 |
--program-transfo
=* |
--program-transf
=* \
1054 |
--program-trans
=* |
--program-tran
=* \
1055 |
--progr-tra
=* |
--program-tr
=* |
--program-t
=*)
1056 program_transform_name
=$ac_optarg ;;
1058 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd
)
1060 -pdfdir
=* |
--pdfdir
=* |
--pdfdi
=* |
--pdfd
=* |
--pdf
=* |
--pd
=*)
1061 pdfdir
=$ac_optarg ;;
1063 -psdir |
--psdir |
--psdi |
--psd |
--ps
)
1065 -psdir
=* |
--psdir
=* |
--psdi
=* |
--psd
=* |
--ps
=*)
1068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1069 |
-silent |
--silent |
--silen |
--sile |
--sil
)
1072 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb
)
1074 -sbindir
=* |
--sbindir
=* |
--sbindi
=* |
--sbind
=* |
--sbin
=* \
1076 sbindir
=$ac_optarg ;;
1078 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1079 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1080 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1082 ac_prev
=sharedstatedir
;;
1083 -sharedstatedir
=* |
--sharedstatedir
=* |
--sharedstatedi
=* \
1084 |
--sharedstated
=* |
--sharedstate
=* |
--sharedstat
=* |
--sharedsta
=* \
1085 |
--sharedst
=* |
--shareds
=* |
--shared
=* |
--share
=* |
--shar=* \
1087 sharedstatedir
=$ac_optarg ;;
1089 -site |
--site |
--sit
)
1091 -site
=* |
--site
=* |
--sit
=*)
1094 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr
)
1096 -srcdir
=* |
--srcdir
=* |
--srcdi
=* |
--srcd
=* |
--src
=* |
--sr
=*)
1097 srcdir
=$ac_optarg ;;
1099 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1100 |
--syscon |
--sysco |
--sysc |
--sys |
--sy
)
1101 ac_prev
=sysconfdir
;;
1102 -sysconfdir
=* |
--sysconfdir
=* |
--sysconfdi
=* |
--sysconfd
=* |
--sysconf
=* \
1103 |
--syscon
=* |
--sysco
=* |
--sysc
=* |
--sys
=* |
--sy
=*)
1104 sysconfdir
=$ac_optarg ;;
1106 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t
)
1107 ac_prev
=target_alias
;;
1108 -target
=* |
--target
=* |
--targe
=* |
--targ
=* |
--tar=* |
--ta
=* |
--t
=*)
1109 target_alias
=$ac_optarg ;;
1111 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb
)
1114 -version |
--version |
--versio |
--versi |
--vers |
-V
)
1115 ac_init_version
=: ;;
1118 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1121 as_fn_error $?
"invalid package name: $ac_useropt"
1122 ac_useropt_orig
=$ac_useropt
1123 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129 ac_unrecognized_sep
=', ';;
1131 eval with_
$ac_useropt=\
$ac_optarg ;;
1133 -without-
* |
--without-
*)
1134 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1137 as_fn_error $?
"invalid package name: $ac_useropt"
1138 ac_useropt_orig
=$ac_useropt
1139 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145 ac_unrecognized_sep
=', ';;
1147 eval with_
$ac_useropt=no
;;
1150 # Obsolete; use --with-x.
1153 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1154 |
--x-incl |
--x-inc |
--x-in |
--x-i
)
1155 ac_prev
=x_includes
;;
1156 -x-includes
=* |
--x-includes
=* |
--x-include
=* |
--x-includ
=* |
--x-inclu
=* \
1157 |
--x-incl
=* |
--x-inc
=* |
--x-in
=* |
--x-i
=*)
1158 x_includes
=$ac_optarg ;;
1160 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1161 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l
)
1162 ac_prev
=x_libraries
;;
1163 -x-libraries
=* |
--x-libraries
=* |
--x-librarie
=* |
--x-librari
=* \
1164 |
--x-librar
=* |
--x-libra
=* |
--x-libr
=* |
--x-lib
=* |
--x-li
=* |
--x-l
=*)
1165 x_libraries
=$ac_optarg ;;
1167 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information"
1172 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1173 # Reject names that are not valid shell variable names.
1174 case $ac_envvar in #(
1175 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1176 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1178 eval $ac_envvar=\
$ac_optarg
1179 export $ac_envvar ;;
1182 # FIXME: should be removed in autoconf 3.0.
1183 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1185 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1192 if test -n
"$ac_prev"; then
1193 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1194 as_fn_error $?
"missing argument to $ac_option"
1197 if test -n
"$ac_unrecognized_opts"; then
1198 case $enable_option_checking in
1200 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1205 # Check all directory arguments for consistency.
1206 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1211 eval ac_val
=\$
$ac_var
1212 # Remove trailing slashes.
1215 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216 eval $ac_var=\
$ac_val;;
1218 # Be sure to have absolute directory names.
1220 [\\/$
]* | ?
:[\\/]* ) continue;;
1221 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1223 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1226 # There might be people who depend on the old broken behavior: `$host'
1227 # used to hold the argument of --host etc.
1228 # FIXME: To remove some day.
1231 target
=$target_alias
1233 # FIXME: To remove some day.
1234 if test "x$host_alias" != x
; then
1235 if test "x$build_alias" = x
; then
1236 cross_compiling
=maybe
1237 elif test "x$build_alias" != "x$host_alias"; then
1243 test -n
"$host_alias" && ac_tool_prefix
=$host_alias-
1245 test "$silent" = yes && exec 6>/dev
/null
1248 ac_pwd
=`pwd` && test -n
"$ac_pwd" &&
1249 ac_ls_di
=`ls -di .` &&
1250 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1251 as_fn_error $?
"working directory cannot be determined"
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 as_fn_error $?
"pwd does not report name of working directory"
1256 # Find the source files, if location was not specified.
1257 if test -z
"$srcdir"; then
1258 ac_srcdir_defaulted
=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir
=`$as_dirname -- "$as_myself" ||
1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$as_myself" : 'X\(//\)[^/]' \| \
1263 X"$as_myself" : 'X\(//\)$' \| \
1264 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1284 if test ! -r
"$srcdir/$ac_unique_file"; then
1288 ac_srcdir_defaulted
=no
1290 if test ! -r
"$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1292 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1294 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1296 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1306 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1308 for ac_var
in $ac_precious_vars; do
1309 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1310 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1311 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1312 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1316 # Report the --help message.
1318 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.
1322 \`configure' configures sod 0.2.0-29-g54c0 to adapt to many kinds of systems.
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables.
1329 Defaults for the options are specified in brackets.
1332 -h, --help display this help and exit
1333 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking ...' messages
1337 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1342 Installation directories:
1343 --prefix=PREFIX install architecture-independent files in PREFIX
1344 [$ac_default_prefix]
1345 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1353 For better control, use the options below.
1355 Fine tuning of the installation directories:
1356 --bindir=DIR user executables [EPREFIX/bin]
1357 --sbindir=DIR system admin executables [EPREFIX/sbin]
1358 --libexecdir=DIR program executables [EPREFIX/libexec]
1359 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1360 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1361 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/sod]
1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]
1374 --psdir=DIR ps documentation [DOCDIR]
1380 --program-prefix
=PREFIX prepend PREFIX to installed program names
1381 --program-suffix
=SUFFIX append SUFFIX to installed program names
1382 --program-transform-name
=PROGRAM run
sed PROGRAM on installed program names
1385 --build
=BUILD configure
for building on BUILD
[guessed
]
1386 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1390 if test -n
"$ac_init_help"; then
1391 case $ac_init_help in
1392 short | recursive
) echo "Configuration of sod 0.2.0-29-g54c0:";;
1397 --disable-option-checking ignore unrecognized
--enable/--with options
1398 --disable-FEATURE
do not include FEATURE
(same as
--enable-FEATURE
=no
)
1399 --enable-FEATURE
[=ARG
] include FEATURE
[ARG
=yes]
1400 --enable-silent-rules
less verbose build output
(undo
: `make V=1')
1401 --disable-silent-rules verbose build output (undo: `make V
=0')
1402 --disable-dependency-tracking speeds up one-time build
1403 --enable-dependency-tracking do not reject slow dependency extractors
1404 --enable-shared[=PKGS] build shared libraries [default=yes]
1405 --enable-static[=PKGS] build static libraries [default=yes]
1406 --enable-fast-install[=PKGS]
1407 optimize for fast installation [default=yes]
1408 --disable-libtool-lock avoid locking (might break parallel builds)
1411 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1412 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1413 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1415 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1416 --with-sysroot=DIR Search for dependent libraries within DIR
1417 (or the compiler's sysroot
if not specified
).
1418 --with-lisp-system
=SYSTEMS
1419 preference order of cl-launch Lisp systems
1420 --with-lisp-source-dir
=DIR
1421 where to
install Common Lisp
source files
1422 --with-lisp-system-dir
=DIR
1423 where to
install ASDF system links
1425 Some influential environment variables
:
1426 CC C compiler
command
1427 CFLAGS C compiler flags
1428 LDFLAGS linker flags
, e.g.
-L
<lib dir
> if you have libraries
in a
1429 nonstandard directory
<lib dir
>
1430 LIBS libraries to pass to the linker
, e.g.
-l
<library
>
1431 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I
<include dir
> if
1432 you have headers
in a nonstandard directory
<include dir
>
1435 Use these variables to override the choices made by
`configure' or to help
1436 it to find libraries and programs with nonstandard names/locations.
1438 Report bugs to <mdw@distorted.org.uk>.
1443 if test "$ac_init_help" = "recursive"; then
1444 # If there are subdirs, report their specific --help.
1445 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446 test -d "$ac_dir" ||
1447 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1455 # A ".." for each directory in $ac_dir_suffix.
1456 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1457 case $ac_top_builddir_sub in
1458 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1462 ac_abs_top_builddir=$ac_pwd
1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1464 # for backward compatibility:
1465 ac_top_builddir=$ac_top_build_prefix
1468 .) # We are building in place.
1470 ac_top_srcdir=$ac_top_builddir_sub
1471 ac_abs_top_srcdir=$ac_pwd ;;
1472 [\\/]* | ?:[\\/]* ) # Absolute name.
1473 ac_srcdir=$srcdir$ac_dir_suffix;
1474 ac_top_srcdir=$srcdir
1475 ac_abs_top_srcdir=$srcdir ;;
1477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478 ac_top_srcdir=$ac_top_build_prefix$srcdir
1479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1483 cd "$ac_dir" || { ac_status=$?; continue; }
1484 # Check for guested configure.
1485 if test -f "$ac_srcdir/configure.gnu"; then
1487 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488 elif test -f "$ac_srcdir/configure"; then
1490 $SHELL "$ac_srcdir/configure" --help=recursive
1492 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1494 cd "$ac_pwd" || { ac_status=$?; break; }
1498 test -n "$ac_init_help" && exit $ac_status
1499 if $ac_init_version; then
1501 sod configure 0.2.0-29-g54c0
1502 generated by GNU Autoconf 2.69
1504 Copyright (C) 2012 Free Software Foundation, Inc.
1505 This configure script is free software; the Free Software Foundation
1506 gives unlimited permission to copy, distribute and modify it.
1511 ## ------------------------ ##
1512 ## Autoconf initialization. ##
1513 ## ------------------------ ##
1515 # ac_fn_c_try_compile LINENO
1516 # --------------------------
1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1518 ac_fn_c_try_compile ()
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521 rm -f conftest.$ac_objext
1522 if { { ac_try="$ac_compile"
1524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1525 *) ac_try_echo
=$ac_try;;
1527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_compile") 2>conftest.err
1531 if test -s conftest.err
; then
1532 grep -v
'^ *+' conftest.err
>conftest.er1
1533 cat conftest.er1
>&5
1534 mv -f conftest.er1 conftest.err
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } && {
1538 test -z
"$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1540 } && test -s conftest.
$ac_objext; then :
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.
$ac_ext >&5
1548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1549 as_fn_set_status
$ac_retval
1551 } # ac_fn_c_try_compile
1553 # ac_fn_c_try_link LINENO
1554 # -----------------------
1555 # Try to link conftest.$ac_ext, and return whether this succeeded.
1558 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1559 rm -f conftest.
$ac_objext conftest
$ac_exeext
1560 if { { ac_try
="$ac_link"
1562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1563 *) ac_try_echo=$ac_try;;
1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 $as_echo "$ac_try_echo"; } >&5
1567 (eval "$ac_link") 2>conftest.err
1569 if test -s conftest.err; then
1570 grep -v '^ *+' conftest.err >conftest.er1
1571 cat conftest.er1 >&5
1572 mv -f conftest.er1 conftest.err
1574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1575 test $ac_status = 0; } && {
1576 test -z "$ac_c_werror_flag" ||
1577 test ! -s conftest.err
1578 } && test -s conftest$ac_exeext && {
1579 test "$cross_compiling" = yes ||
1580 test -x conftest$ac_exeext
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.$ac_ext >&5
1589 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1590 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1591 # interfere with the next link command; also delete a directory that is
1592 # left behind by Apple's compiler. We do this before executing the actions.
1593 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1595 as_fn_set_status $ac_retval
1597 } # ac_fn_c_try_link
1599 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1600 # -------------------------------------------------------
1601 # Tests whether HEADER exists and can be compiled using the include files in
1602 # INCLUDES, setting the cache variable VAR accordingly.
1603 ac_fn_c_check_header_compile ()
1605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1607 $as_echo_n "checking for $2... " >&6; }
1608 if eval \${$3+:} false; then :
1609 $as_echo_n "(cached) " >&6
1611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1612 /* end confdefs.h. */
1616 if ac_fn_c_try_compile "$LINENO"; then :
1621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1625 $as_echo "$ac_res" >&6; }
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 } # ac_fn_c_check_header_compile
1630 # ac_fn_c_try_cpp LINENO
1631 # ----------------------
1632 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 if { { ac_try="$ac_cpp conftest.$ac_ext"
1638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1639 *) ac_try_echo
=$ac_try;;
1641 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1645 if test -s conftest.err
; then
1646 grep -v
'^ *+' conftest.err
>conftest.er1
1647 cat conftest.er1
>&5
1648 mv -f conftest.er1 conftest.err
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } > conftest.i
&& {
1652 test -z
"$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1653 test ! -s conftest.err
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.
$ac_ext >&5
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663 as_fn_set_status
$ac_retval
1667 # ac_fn_c_try_run LINENO
1668 # ----------------------
1669 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1670 # that executables *can* be run.
1673 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1674 if { { ac_try
="$ac_link"
1676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_link") 2>&5
1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1685 { { case "(($ac_try" in
1686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1687 *) ac_try_echo
=$ac_try;;
1689 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_try") 2>&5
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; }; }; then :
1697 $as_echo "$as_me: program exited with status $ac_status" >&5
1698 $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.
$ac_ext >&5
1701 ac_retval
=$ac_status
1703 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 as_fn_set_status
$ac_retval
1709 # ac_fn_c_check_func LINENO FUNC VAR
1710 # ----------------------------------
1711 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1712 ac_fn_c_check_func
()
1714 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1716 $as_echo_n "checking for $2... " >&6; }
1717 if eval \
${$3+:} false
; then :
1718 $as_echo_n "(cached) " >&6
1720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h. */
1722 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1724 #define $2 innocuous_$2
1726 /* System header to define __stub macros and hopefully few prototypes,
1727 which can conflict with char $2 (); below.
1728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1729 <limits.h> exists even on freestanding compilers. */
1732 # include <limits.h>
1734 # include <assert.h>
1739 /* Override any GCC internal prototype to avoid an error.
1740 Use char because int might match the return type of a GCC
1741 builtin and then its argument prototype would still apply. */
1746 /* The GNU C library defines this for functions which it implements
1747 to always fail with ENOSYS. Some functions are actually named
1748 something starting with __ and the normal name is an alias. */
1749 #if defined __stub_$2 || defined __stub___$2
1761 if ac_fn_c_try_link
"$LINENO"; then :
1766 rm -f core conftest.err conftest.
$ac_objext \
1767 conftest
$ac_exeext conftest.
$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774 } # ac_fn_c_check_func
1775 cat >config.log
<<_ACEOF
1776 This file contains any messages produced by compilers while
1777 running configure, to aid debugging if configure makes a mistake.
1779 It was created by sod $as_me 0.2.0-29-g54c0, which was
1780 generated by GNU Autoconf 2.69. Invocation command line was
1792 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1793 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1794 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1795 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1796 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1798 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1799 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1801 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1802 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1803 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1804 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1805 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1806 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1807 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1815 test -z
"$as_dir" && as_dir
=.
1816 $as_echo "PATH: $as_dir"
1832 # Keep a trace of the command line.
1833 # Strip out --no-create and --no-recursion so they do not pile up.
1834 # Strip out --silent because we don't want to record it for future runs.
1835 # Also quote any args containing shell meta-characters.
1836 # Make two passes to allow for proper duplicate-argument suppression.
1840 ac_must_keep_next
=false
1846 -no-create |
--no-c
* |
-n |
-no-recursion |
--no-r
*) continue ;;
1847 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1848 |
-silent |
--silent |
--silen |
--sile |
--sil
)
1851 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1854 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1856 as_fn_append ac_configure_args1
" '$ac_arg'"
1857 if test $ac_must_keep_next = true
; then
1858 ac_must_keep_next
=false
# Got value, back to normal.
1861 *=* |
--config-cache |
-C |
-disable-
* |
--disable-
* \
1862 |
-enable-
* |
--enable-
* |
-gas |
--g
* |
-nfp |
--nf
* \
1863 |
-q |
-quiet |
--q
* |
-silent |
--sil
* |
-v |
-verb
* \
1864 |
-with-
* |
--with-
* |
-without-
* |
--without-
* |
--x
)
1865 case "$ac_configure_args0 " in
1866 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1869 -* ) ac_must_keep_next
=true
;;
1872 as_fn_append ac_configure_args
" '$ac_arg'"
1877 { ac_configure_args0
=; unset ac_configure_args0
;}
1878 { ac_configure_args1
=; unset ac_configure_args1
;}
1880 # When interrupted or exit'd, cleanup temporary files, and complete
1881 # config.log. We remove comments because anyway the quotes in there
1882 # would cause problems or look ugly.
1883 # WARNING: Use '\'' to represent an apostrophe within the trap.
1884 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1885 trap 'exit_status=$?
1886 # Save into config.log some information that might help in debugging.
1890 $as_echo "## ---------------- ##
1891 ## Cache variables. ##
1892 ## ---------------- ##"
1894 # The following way of writing the cache mishandles newlines in values,
1896 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1897 eval ac_val=\$$ac_var
1901 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1902 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1905 _ | IFS | as_nl) ;; #(
1906 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1907 *) { eval $ac_var=; unset $ac_var;} ;;
1912 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1913 *${as_nl}ac_space=\ *)
1915 "s/'\''/'\''\\\\'\'''\''/g;
1916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1919 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1926 $as_echo "## ----------------- ##
1927 ## Output variables. ##
1928 ## ----------------- ##"
1930 for ac_var in $ac_subst_vars
1932 eval ac_val=\$$ac_var
1934 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1936 $as_echo "$ac_var='\''$ac_val'\''"
1940 if test -n
"$ac_subst_files"; then
1941 $as_echo "## ------------------- ##
1942 ## File substitutions. ##
1943 ## ------------------- ##"
1945 for ac_var
in $ac_subst_files
1947 eval ac_val
=\$
$ac_var
1949 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1951 $as_echo "$ac_var='\''$ac_val'\''"
1956 if test -s confdefs.h; then
1957 $as_echo "## ----------- ##
1964 test "$ac_signal" != 0 &&
1965 $as_echo "$as_me: caught signal $ac_signal"
1966 $as_echo "$as_me: exit $exit_status"
1968 rm -f core *.core core.conftest.* &&
1969 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1972 for ac_signal
in 1 2 13 15; do
1973 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1977 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1978 rm -f
-r conftest
* confdefs.h
1980 $as_echo "/* confdefs.h */" > confdefs.h
1982 # Predefined preprocessor variables.
1984 cat >>confdefs.h
<<_ACEOF
1985 #define PACKAGE_NAME "$PACKAGE_NAME"
1988 cat >>confdefs.h
<<_ACEOF
1989 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1992 cat >>confdefs.h
<<_ACEOF
1993 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1996 cat >>confdefs.h
<<_ACEOF
1997 #define PACKAGE_STRING "$PACKAGE_STRING"
2000 cat >>confdefs.h
<<_ACEOF
2001 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2004 cat >>confdefs.h
<<_ACEOF
2005 #define PACKAGE_URL "$PACKAGE_URL"
2009 # Let the site file select an alternate cache file if it wants to.
2010 # Prefer an explicitly selected file to automatically selected ones.
2013 if test -n
"$CONFIG_SITE"; then
2014 # We do not want a PATH search for config.site.
2015 case $CONFIG_SITE in #((
2016 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2017 */*) ac_site_file1
=$CONFIG_SITE;;
2018 *) ac_site_file1
=.
/$CONFIG_SITE;;
2020 elif test "x$prefix" != xNONE
; then
2021 ac_site_file1
=$prefix/share
/config.site
2022 ac_site_file2
=$prefix/etc
/config.site
2024 ac_site_file1
=$ac_default_prefix/share
/config.site
2025 ac_site_file2
=$ac_default_prefix/etc
/config.site
2027 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2029 test "x$ac_site_file" = xNONE
&& continue
2030 if test /dev
/null
!= "$ac_site_file" && test -r
"$ac_site_file"; then
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2032 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2033 sed 's/^/| /' "$ac_site_file" >&5
2035 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2037 as_fn_error $?
"failed to load site script $ac_site_file
2038 See \`config.log' for more details" "$LINENO" 5; }
2042 if test -r
"$cache_file"; then
2043 # Some versions of bash will fail to source /dev/null (special files
2044 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2045 if test /dev
/null
!= "$cache_file" && test -f
"$cache_file"; then
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2047 $as_echo "$as_me: loading cache $cache_file" >&6;}
2049 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2050 *) .
"./$cache_file";;
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2055 $as_echo "$as_me: creating cache $cache_file" >&6;}
2059 # Check that the precious variables saved in the cache have kept the same
2061 ac_cache_corrupted
=false
2062 for ac_var
in $ac_precious_vars; do
2063 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2064 eval ac_new_set
=\
$ac_env_${ac_var}_set
2065 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2066 eval ac_new_val
=\
$ac_env_${ac_var}_value
2067 case $ac_old_set,$ac_new_set in
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2070 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2071 ac_cache_corrupted
=: ;;
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2074 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2075 ac_cache_corrupted
=: ;;
2078 if test "x$ac_old_val" != "x$ac_new_val"; then
2079 # differences in whitespace do not lead to failure.
2080 ac_old_val_w
=`echo x $ac_old_val`
2081 ac_new_val_w
=`echo x $ac_new_val`
2082 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2084 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2085 ac_cache_corrupted
=:
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2088 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2089 eval $ac_var=\
$ac_old_val
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2092 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2094 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2097 # Pass precious variables to config.status.
2098 if test "$ac_new_set" = set; then
2100 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2101 *) ac_arg
=$ac_var=$ac_new_val ;;
2103 case " $ac_configure_args " in
2104 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2105 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2109 if $ac_cache_corrupted; then
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2113 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2114 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2116 ## -------------------- ##
2117 ## Main body of script. ##
2118 ## -------------------- ##
2121 ac_cpp
='$CPP $CPPFLAGS'
2122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2129 for ac_dir
in config
"$srcdir"/config
; do
2130 if test -f
"$ac_dir/install-sh"; then
2132 ac_install_sh
="$ac_aux_dir/install-sh -c"
2134 elif test -f
"$ac_dir/install.sh"; then
2136 ac_install_sh
="$ac_aux_dir/install.sh -c"
2138 elif test -f
"$ac_dir/shtool"; then
2140 ac_install_sh
="$ac_aux_dir/shtool install -c"
2144 if test -z
"$ac_aux_dir"; then
2145 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2148 # These three variables are undocumented and unsupported,
2149 # and are intended to be withdrawn in a future Autoconf release.
2150 # They can cause serious problems if a builder's source tree is in a directory
2151 # whose full name contains unusual characters.
2152 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2153 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2154 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2157 am__api_version
='1.11'
2159 # Find a good install program. We prefer a C program (faster),
2160 # so one script is as good as another. But avoid the broken or
2161 # incompatible versions:
2162 # SysV /etc/install, /usr/sbin/install
2163 # SunOS /usr/etc/install
2164 # IRIX /sbin/install
2166 # AmigaOS /C/install, which installs bootblocks on floppy discs
2167 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2168 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2169 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2170 # OS/2's system install, which has a completely different semantic
2171 # ./install, which can be erroneously created by make from ./install.sh.
2172 # Reject install programs that cannot install multiple files.
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2174 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2175 if test -z
"$INSTALL"; then
2176 if ${ac_cv_path_install+:} false
; then :
2177 $as_echo_n "(cached) " >&6
2179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2183 test -z
"$as_dir" && as_dir
=.
2184 # Account for people who put trailing slashes in PATH elements.
2185 case $as_dir/ in #((
2186 .
/ | .
// |
/[cC
]/* | \
2187 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2188 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2191 # OSF1 and SCO ODT 3.0 have their own names for install.
2192 # Don't use installbsd from OSF since it installs stuff as root
2194 for ac_prog
in ginstall scoinst
install; do
2195 for ac_exec_ext
in '' $ac_executable_extensions; do
2196 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2197 if test $ac_prog = install &&
2198 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2199 # AIX install. It has an incompatible calling convention.
2201 elif test $ac_prog = install &&
2202 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2203 # program-specific install script used by HP pwplus--don't use.
2206 rm -rf conftest.one conftest.two conftest.dir
2207 echo one
> conftest.one
2208 echo two
> conftest.two
2210 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2211 test -s conftest.one
&& test -s conftest.two
&&
2212 test -s conftest.dir
/conftest.one
&&
2213 test -s conftest.dir
/conftest.two
2215 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2228 rm -rf conftest.one conftest.two conftest.dir
2231 if test "${ac_cv_path_install+set}" = set; then
2232 INSTALL
=$ac_cv_path_install
2234 # As a last resort, use the slow shell script. Don't cache a
2235 # value for INSTALL within a source directory, because that will
2236 # break other packages using the cache if that directory is
2237 # removed, or if the value is a relative name.
2238 INSTALL
=$ac_install_sh
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2242 $as_echo "$INSTALL" >&6; }
2244 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2245 # It thinks the first close brace ends the variable substitution.
2246 test -z
"$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2248 test -z
"$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2250 test -z
"$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2253 $as_echo_n "checking whether build environment is sane... " >&6; }
2256 echo timestamp
> conftest.
file
2257 # Reject unsafe characters in $srcdir or the absolute working directory
2258 # name. Accept space and tab only in the latter.
2262 *[\\\"\
#\$\&\'\`$am_lf]*)
2263 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2266 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2267 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2270 # Do `set' in a subshell so we don't clobber the current shell's
2271 # arguments. Must try -L first in case configure is actually a
2272 # symlink; some systems play weird games with the mod time of symlinks
2273 # (eg FreeBSD returns the mod time of the symlink's containing
2276 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2277 if test "$*" = "X"; then
2279 set X
`ls -t "$srcdir/configure" conftest.file`
2282 if test "$*" != "X $srcdir/configure conftest.file" \
2283 && test "$*" != "X conftest.file $srcdir/configure"; then
2285 # If neither matched, then we have a broken ls. This can happen
2286 # if, for instance, CONFIG_SHELL is bash and it inherits a
2287 # broken ls alias from the environment. This has actually
2288 # happened. Such a system could not be considered "sane".
2289 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2290 alias in your environment" "$LINENO" 5
2293 test "$2" = conftest.
file
2299 as_fn_error $?
"newly created file is older than distributed files!
2300 Check your system clock" "$LINENO" 5
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2303 $as_echo "yes" >&6; }
2304 test "$program_prefix" != NONE
&&
2305 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2306 # Use a double $ so make ignores it.
2307 test "$program_suffix" != NONE
&&
2308 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2309 # Double any \ or $.
2310 # By default was `s,x,x', remove it if useless.
2311 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2312 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2314 # expand $ac_aux_dir to an absolute path
2315 am_aux_dir
=`cd $ac_aux_dir && pwd`
2317 if test x
"${MISSING+set}" != xset
; then
2320 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2322 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2325 # Use eval to expand $SHELL
2326 if eval "$MISSING --run true"; then
2327 am_missing_run
="$MISSING --run "
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2331 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2334 if test x
"${install_sh}" != xset
; then
2337 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2339 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2343 # Installed binaries are usually stripped using `strip' when the user
2344 # run `make install-strip'. However `strip' might not be the right
2345 # tool to use in cross-compilation environments, therefore Automake
2346 # will honor the `STRIP' environment variable to overrule this program.
2347 if test "$cross_compiling" != no
; then
2348 if test -n
"$ac_tool_prefix"; then
2349 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2350 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if ${ac_cv_prog_STRIP+:} false
; then :
2354 $as_echo_n "(cached) " >&6
2356 if test -n
"$STRIP"; then
2357 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2363 test -z
"$as_dir" && as_dir
=.
2364 for ac_exec_ext
in '' $ac_executable_extensions; do
2365 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2366 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 STRIP
=$ac_cv_prog_STRIP
2377 if test -n
"$STRIP"; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2379 $as_echo "$STRIP" >&6; }
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382 $as_echo "no" >&6; }
2387 if test -z
"$ac_cv_prog_STRIP"; then
2389 # Extract the first word of "strip", so it can be a program name with args.
2390 set dummy strip
; ac_word
=$2
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392 $as_echo_n "checking for $ac_word... " >&6; }
2393 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2394 $as_echo_n "(cached) " >&6
2396 if test -n
"$ac_ct_STRIP"; then
2397 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2403 test -z
"$as_dir" && as_dir
=.
2404 for ac_exec_ext
in '' $ac_executable_extensions; do
2405 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2406 ac_cv_prog_ac_ct_STRIP
="strip"
2407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2417 if test -n
"$ac_ct_STRIP"; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2419 $as_echo "$ac_ct_STRIP" >&6; }
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2422 $as_echo "no" >&6; }
2425 if test "x$ac_ct_STRIP" = x
; then
2428 case $cross_compiling:$ac_tool_warned in
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2432 ac_tool_warned
=yes ;;
2437 STRIP
="$ac_cv_prog_STRIP"
2441 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2444 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2445 if test -z
"$MKDIR_P"; then
2446 if ${ac_cv_path_mkdir+:} false
; then :
2447 $as_echo_n "(cached) " >&6
2449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2450 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2453 test -z
"$as_dir" && as_dir
=.
2454 for ac_prog
in mkdir gmkdir
; do
2455 for ac_exec_ext
in '' $ac_executable_extensions; do
2456 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2457 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2458 'mkdir (GNU coreutils) '* | \
2459 'mkdir (coreutils) '* | \
2460 'mkdir (fileutils) '4.1*)
2461 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2471 test -d .
/--version
&& rmdir .
/--version
2472 if test "${ac_cv_path_mkdir+set}" = set; then
2473 MKDIR_P
="$ac_cv_path_mkdir -p"
2475 # As a last resort, use the slow shell script. Don't cache a
2476 # value for MKDIR_P within a source directory, because that will
2477 # break other packages using the cache if that directory is
2478 # removed, or if the value is a relative name.
2479 MKDIR_P
="$ac_install_sh -d"
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2483 $as_echo "$MKDIR_P" >&6; }
2487 [\\/$
]* | ?
:[\\/]*) ;;
2488 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2491 for ac_prog
in gawk mawk nawk
awk
2493 # Extract the first word of "$ac_prog", so it can be a program name with args.
2494 set dummy
$ac_prog; ac_word
=$2
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2496 $as_echo_n "checking for $ac_word... " >&6; }
2497 if ${ac_cv_prog_AWK+:} false
; then :
2498 $as_echo_n "(cached) " >&6
2500 if test -n
"$AWK"; then
2501 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2507 test -z
"$as_dir" && as_dir
=.
2508 for ac_exec_ext
in '' $ac_executable_extensions; do
2509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2510 ac_cv_prog_AWK
="$ac_prog"
2511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 if test -n
"$AWK"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2523 $as_echo "$AWK" >&6; }
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2526 $as_echo "no" >&6; }
2530 test -n
"$AWK" && break
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2534 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2536 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2537 if eval \
${ac_cv_prog_make_${ac_make}_set
+:} false
; then :
2538 $as_echo_n "(cached) " >&6
2540 cat >conftest.
make <<\_ACEOF
2543 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2545 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2546 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2548 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2550 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2554 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2556 $as_echo "yes" >&6; }
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2561 SET_MAKE
="MAKE=${MAKE-make}"
2564 rm -rf .tst
2>/dev
/null
2565 mkdir .tst
2>/dev
/null
2566 if test -d .tst
; then
2571 rmdir .tst
2>/dev
/null
2573 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2574 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2575 # is not polluted with repeated "-I."
2576 am__isrc
=' -I$(srcdir)'
2577 # test to see if srcdir already configured
2578 if test -f
$srcdir/config.status
; then
2579 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2583 # test whether we have cygpath
2584 if test -z
"$CYGPATH_W"; then
2585 if (cygpath
--version
) >/dev
/null
2>/dev
/null
; then
2586 CYGPATH_W
='cygpath -w'
2593 # Define the identity of the package.
2595 VERSION
='0.2.0-29-g54c0'
2598 cat >>confdefs.h
<<_ACEOF
2599 #define PACKAGE "$PACKAGE"
2603 cat >>confdefs.h
<<_ACEOF
2604 #define VERSION "$VERSION"
2607 # Some tools Automake needs.
2609 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-
${am__api_version}"}
2612 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2615 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-
${am__api_version}"}
2618 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2621 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo
"}
2623 # We need awk for the "check
" target. The system "awk" is bad on
2625 # Always define AMTAR for backward compatibility. Yes, it's still used
2626 # in the wild :-( We should find a proper way to deprecate it ...
2629 am__tar='$${TAR-tar} chof - "$
$tardir"' am__untar='$${TAR-tar} xf -'
2637 # Check whether --enable-silent-rules was given.
2638 if test "${enable_silent_rules+set}" = set; then :
2639 enableval=$enable_silent_rules;
2642 case $enable_silent_rules in
2643 yes) AM_DEFAULT_VERBOSITY=0;;
2644 no) AM_DEFAULT_VERBOSITY=1;;
2645 *) AM_DEFAULT_VERBOSITY=0;;
2647 am_make=${MAKE-make}
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$am_make supports nested variables
" >&5
2649 $as_echo_n "checking whether
$am_make supports nested variables...
" >&6; }
2650 if ${am_cv_make_support_nested_variables+:} false; then :
2651 $as_echo_n "(cached
) " >&6
2653 if $as_echo 'TRUE=$(BAR$(V))
2659 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2660 am_cv_make_support_nested_variables=yes
2662 am_cv_make_support_nested_variables=no
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $am_cv_make_support_nested_variables" >&5
2666 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2667 if test $am_cv_make_support_nested_variables = yes; then
2669 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2671 AM_V=$AM_DEFAULT_VERBOSITY
2672 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2680 ac_cpp='$CPP $CPPFLAGS'
2681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2684 if test -n "$ac_tool_prefix"; then
2685 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2686 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2688 $as_echo_n "checking
for $ac_word...
" >&6; }
2689 if ${ac_cv_prog_CC+:} false; then :
2690 $as_echo_n "(cached
) " >&6
2692 if test -n "$CC"; then
2693 ac_cv_prog_CC="$CC" # Let the user override the test.
2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir=.
2700 for ac_exec_ext in '' $ac_executable_extensions; do
2701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2702 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2713 if test -n "$CC"; then
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2715 $as_echo "$CC" >&6; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2718 $as_echo "no
" >&6; }
2723 if test -z "$ac_cv_prog_CC"; then
2725 # Extract the first word of "gcc
", so it can be a program name with args.
2726 set dummy gcc; ac_word=$2
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2728 $as_echo_n "checking
for $ac_word...
" >&6; }
2729 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2730 $as_echo_n "(cached
) " >&6
2732 if test -n "$ac_ct_CC"; then
2733 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 test -z "$as_dir" && as_dir=.
2740 for ac_exec_ext in '' $ac_executable_extensions; do
2741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2742 ac_cv_prog_ac_ct_CC="gcc
"
2743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2752 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2753 if test -n "$ac_ct_CC"; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2755 $as_echo "$ac_ct_CC" >&6; }
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2758 $as_echo "no
" >&6; }
2761 if test "x
$ac_ct_CC" = x; then
2764 case $cross_compiling:$ac_tool_warned in
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2767 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2768 ac_tool_warned=yes ;;
2776 if test -z "$CC"; then
2777 if test -n "$ac_tool_prefix"; then
2778 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2779 set dummy ${ac_tool_prefix}cc; ac_word=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2781 $as_echo_n "checking
for $ac_word...
" >&6; }
2782 if ${ac_cv_prog_CC+:} false; then :
2783 $as_echo_n "(cached
) " >&6
2785 if test -n "$CC"; then
2786 ac_cv_prog_CC="$CC" # Let the user override the test.
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2806 if test -n "$CC"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2808 $as_echo "$CC" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2811 $as_echo "no
" >&6; }
2817 if test -z "$CC"; then
2818 # Extract the first word of "cc
", so it can be a program name with args.
2819 set dummy cc; ac_word=$2
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2821 $as_echo_n "checking
for $ac_word...
" >&6; }
2822 if ${ac_cv_prog_CC+:} false; then :
2823 $as_echo_n "(cached
) " >&6
2825 if test -n "$CC"; then
2826 ac_cv_prog_CC="$CC" # Let the user override the test.
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir=.
2834 for ac_exec_ext in '' $ac_executable_extensions; do
2835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2836 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2837 ac_prog_rejected=yes
2841 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2848 if test $ac_prog_rejected = yes; then
2849 # We found a bogon in the path, so make sure we never use it.
2850 set dummy $ac_cv_prog_CC
2852 if test $# != 0; then
2853 # We chose a different compiler from the bogus one.
2854 # However, it has the same basename, so the bogon will be chosen
2855 # first if we set CC to just the basename; use the full file name.
2857 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2863 if test -n "$CC"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2865 $as_echo "$CC" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2868 $as_echo "no
" >&6; }
2873 if test -z "$CC"; then
2874 if test -n "$ac_tool_prefix"; then
2875 for ac_prog in cl.exe
2877 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2878 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2880 $as_echo_n "checking
for $ac_word...
" >&6; }
2881 if ${ac_cv_prog_CC+:} false; then :
2882 $as_echo_n "(cached
) " >&6
2884 if test -n "$CC"; then
2885 ac_cv_prog_CC="$CC" # Let the user override the test.
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir=.
2892 for ac_exec_ext in '' $ac_executable_extensions; do
2893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2894 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2905 if test -n "$CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2907 $as_echo "$CC" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2910 $as_echo "no
" >&6; }
2914 test -n "$CC" && break
2917 if test -z "$CC"; then
2919 for ac_prog in cl.exe
2921 # Extract the first word of "$ac_prog", so it can be a program name with args.
2922 set dummy $ac_prog; ac_word=$2
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2924 $as_echo_n "checking
for $ac_word...
" >&6; }
2925 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2926 $as_echo_n "(cached
) " >&6
2928 if test -n "$ac_ct_CC"; then
2929 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir=.
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2938 ac_cv_prog_ac_ct_CC="$ac_prog"
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2948 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2949 if test -n "$ac_ct_CC"; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2951 $as_echo "$ac_ct_CC" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2954 $as_echo "no
" >&6; }
2958 test -n "$ac_ct_CC" && break
2961 if test "x
$ac_ct_CC" = x; then
2964 case $cross_compiling:$ac_tool_warned in
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2967 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2968 ac_tool_warned=yes ;;
2977 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2979 as_fn_error $? "no acceptable C compiler found in \$PATH
2980 See \`config.log' for more details
" "$LINENO" 5; }
2982 # Provide some information about the compiler.
2983 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
2986 for ac_option in --version -v -V -qversion; do
2987 { { ac_try="$ac_compiler $ac_option >&5"
2989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2990 *) ac_try_echo=$ac_try;;
2992 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2993 $as_echo "$ac_try_echo"; } >&5
2994 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2996 if test -s conftest.err; then
2998 ... rest of stderr output deleted ...
2999 10q' conftest.err >conftest.er1
3000 cat conftest.er1 >&5
3002 rm -f conftest.er1 conftest.err
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3004 test $ac_status = 0; }
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3018 ac_clean_files_save=$ac_clean_files
3019 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
3020 # Try to create an executable without -o first, disregard a.out.
3021 # It will help us diagnose broken compilers, and finding out an intuition
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
3024 $as_echo_n "checking whether the C compiler works...
" >&6; }
3025 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3027 # The possible output files:
3028 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
3031 for ac_file in $ac_files
3034 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3035 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3040 if { { ac_try="$ac_link_default"
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3046 $as_echo "$ac_try_echo"; } >&5
3047 (eval "$ac_link_default") 2>&5
3049 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3050 test $ac_status = 0; }; then :
3051 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3052 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3053 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3054 # so that the user can short-circuit this test for compilers unknown to
3056 for ac_file in $ac_files ''
3058 test -f "$ac_file" || continue
3060 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3063 # We found the default executable, but exeext='' is most
3067 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3069 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3071 # We set ac_cv_exeext here because the later test for it is not
3072 # safe: cross compilers may not add the suffix if given an `-o'
3073 # argument, so we may need to know it at that point already.
3074 # Even if this section looks crufty: it has the advantage of
3081 test "$ac_cv_exeext" = no && ac_cv_exeext=
3086 if test -z "$ac_file"; then :
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3088 $as_echo "no
" >&6; }
3089 $as_echo "$as_me: failed program was
:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094 as_fn_error 77 "C compiler cannot create executables
3095 See \`config.log' for more details
" "$LINENO" 5; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3098 $as_echo "yes" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
3101 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
3103 $as_echo "$ac_file" >&6; }
3104 ac_exeext=$ac_cv_exeext
3106 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3107 ac_clean_files=$ac_clean_files_save
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3109 $as_echo_n "checking
for suffix of executables...
" >&6; }
3110 if { { ac_try="$ac_link"
3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3115 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
3117 (eval "$ac_link") 2>&5
3119 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3120 test $ac_status = 0; }; then :
3121 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3122 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3123 # work properly (i.e., refer to `conftest.exe'), while it won't with
3125 for ac_file in conftest.exe conftest conftest.*; do
3126 test -f "$ac_file" || continue
3128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3129 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3138 See \`config.log' for more details
" "$LINENO" 5; }
3140 rm -f conftest conftest$ac_cv_exeext
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3142 $as_echo "$ac_cv_exeext" >&6; }
3144 rm -f conftest.$ac_ext
3145 EXEEXT=$ac_cv_exeext
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3153 FILE *f = fopen ("conftest.out
", "w
");
3154 return ferror (f) || fclose (f) != 0;
3160 ac_clean_files="$ac_clean_files conftest.out
"
3161 # Check that the compiler produces executables we can run. If not, either
3162 # the compiler is broken, or we cross compile.
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3164 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3165 if test "$cross_compiling" != yes; then
3166 { { ac_try="$ac_link"
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3171 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3172 $as_echo "$ac_try_echo"; } >&5
3173 (eval "$ac_link") 2>&5
3175 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3176 test $ac_status = 0; }
3177 if { ac_try='./conftest$ac_cv_exeext'
3178 { { case "(($ac_try" in
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3183 $as_echo "$ac_try_echo"; } >&5
3184 (eval "$ac_try") 2>&5
3186 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3187 test $ac_status = 0; }; }; then
3190 if test "$cross_compiling" = maybe; then
3193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3195 as_fn_error $? "cannot run C compiled programs.
3196 If you meant to cross compile, use \`--host'.
3197 See \
`config.log' for more details" "$LINENO" 5; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3202 $as_echo "$cross_compiling" >&6; }
3204 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3205 ac_clean_files=$ac_clean_files_save
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3207 $as_echo_n "checking for suffix of object files... " >&6; }
3208 if ${ac_cv_objext+:} false; then :
3209 $as_echo_n "(cached) " >&6
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3212 /* end confdefs.h. */
3222 rm -f conftest.o conftest.obj
3223 if { { ac_try="$ac_compile"
3225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3226 *) ac_try_echo
=$ac_try;;
3228 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229 $as_echo "$ac_try_echo"; } >&5
3230 (eval "$ac_compile") 2>&5
3232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3233 test $ac_status = 0; }; then :
3234 for ac_file
in conftest.o conftest.obj conftest.
*; do
3235 test -f
"$ac_file" ||
continue;
3237 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
3238 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3243 $as_echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.
$ac_ext >&5
3246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error $?
"cannot compute suffix of object files: cannot compile
3249 See \`config.log' for more details" "$LINENO" 5; }
3251 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3254 $as_echo "$ac_cv_objext" >&6; }
3255 OBJEXT
=$ac_cv_objext
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3258 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3259 if ${ac_cv_c_compiler_gnu+:} false
; then :
3260 $as_echo_n "(cached) " >&6
3262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3276 if ac_fn_c_try_compile
"$LINENO"; then :
3281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3282 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3286 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3287 if test $ac_compiler_gnu = yes; then
3292 ac_test_CFLAGS
=${CFLAGS+set}
3293 ac_save_CFLAGS
=$CFLAGS
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3295 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3296 if ${ac_cv_prog_cc_g+:} false
; then :
3297 $as_echo_n "(cached) " >&6
3299 ac_save_c_werror_flag
=$ac_c_werror_flag
3300 ac_c_werror_flag
=yes
3303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3314 if ac_fn_c_try_compile
"$LINENO"; then :
3318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3329 if ac_fn_c_try_compile
"$LINENO"; then :
3332 ac_c_werror_flag
=$ac_save_c_werror_flag
3334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3345 if ac_fn_c_try_compile
"$LINENO"; then :
3348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3353 ac_c_werror_flag
=$ac_save_c_werror_flag
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3356 $as_echo "$ac_cv_prog_cc_g" >&6; }
3357 if test "$ac_test_CFLAGS" = set; then
3358 CFLAGS
=$ac_save_CFLAGS
3359 elif test $ac_cv_prog_cc_g = yes; then
3360 if test "$GCC" = yes; then
3366 if test "$GCC" = yes; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3373 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3374 if ${ac_cv_prog_cc_c89+:} false
; then :
3375 $as_echo_n "(cached) " >&6
3377 ac_cv_prog_cc_c89
=no
3379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3384 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3385 struct buf { int x; };
3386 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3387 static char *e (p, i)
3393 static char *f (char * (*g) (char **, int), char **p, ...)
3398 s = g (p, va_arg (v,int));
3403 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3404 function prototypes and stuff, but not '\xHH' hex character constants.
3405 These don't provoke an error unfortunately, instead are silently treated
3406 as 'x'. The following induces an error, until -std is added to get
3407 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3408 array size at least. It's necessary to write '\x00'==0 to get something
3409 that's true only with -std. */
3410 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3412 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3413 inside strings and character constants. */
3415 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3417 int test (int i, double x);
3418 struct s1 {int (*f) (int a);};
3419 struct s2 {int (*f) (double a);};
3420 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3426 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3431 for ac_arg
in '' -qlanglvl
=extc89
-qlanglvl
=ansi
-std \
3432 -Ae
"-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3434 CC
="$ac_save_CC $ac_arg"
3435 if ac_fn_c_try_compile
"$LINENO"; then :
3436 ac_cv_prog_cc_c89
=$ac_arg
3438 rm -f core conftest.err conftest.
$ac_objext
3439 test "x$ac_cv_prog_cc_c89" != "xno" && break
3441 rm -f conftest.
$ac_ext
3446 case "x$ac_cv_prog_cc_c89" in
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3449 $as_echo "none needed" >&6; } ;;
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3452 $as_echo "unsupported" >&6; } ;;
3454 CC
="$CC $ac_cv_prog_cc_c89"
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3456 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3458 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3463 ac_cpp
='$CPP $CPPFLAGS'
3464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3467 DEPDIR
="${am__leading_dot}deps"
3469 ac_config_commands
="$ac_config_commands depfiles"
3472 am_make
=${MAKE-make}
3473 cat > confinc
<< 'END'
3475 @
echo this is the am__doit target
3478 # If we don't find an include directive, just comment out the code.
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3480 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3484 # First try GNU make style include.
3485 echo "include confinc" > confmf
3486 # Ignore all kinds of additional output from `make'.
3487 case `$am_make -s -f confmf 2> /dev/null` in #(
3488 *the\ am__doit\ target
*)
3494 # Now try BSD make style include.
3495 if test "$am__include" = "#"; then
3496 echo '.include "confinc"' > confmf
3497 case `$am_make -s -f confmf 2> /dev/null` in #(
3498 *the\ am__doit\ target
*)
3499 am__include
=.include
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3508 $as_echo "$_am_result" >&6; }
3509 rm -f confinc confmf
3511 # Check whether --enable-dependency-tracking was given.
3512 if test "${enable_dependency_tracking+set}" = set; then :
3513 enableval
=$enable_dependency_tracking;
3516 if test "x$enable_dependency_tracking" != xno
; then
3517 am_depcomp
="$ac_aux_dir/depcomp"
3521 if test "x$enable_dependency_tracking" != xno; then
3531 depcc
="$CC" am_compiler_list
=
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3534 $as_echo_n "checking dependency style of $depcc... " >&6; }
3535 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3536 $as_echo_n "(cached) " >&6
3538 if test -z
"$AMDEP_TRUE" && test -f
"$am_depcomp"; then
3539 # We make a subdir and do the tests there. Otherwise we can end up
3540 # making bogus files that we don't know about and never remove. For
3541 # instance it was reported that on HP-UX the gcc test will end up
3542 # making a dummy file named `D' -- because `-MD' means `put the output
3546 # Copy depcomp to subdir because otherwise we won't find it if we're
3547 # using a relative directory.
3548 cp "$am_depcomp" conftest.dir
3550 # We will build objects and dependencies in a subdirectory because
3551 # it helps to detect inapplicable dependency modes. For instance
3552 # both Tru64's cc and ICC support -MD to output dependencies as a
3553 # side effect of compilation, but ICC will put the dependencies in
3554 # the current directory while Tru64 will put them in the object
3558 am_cv_CC_dependencies_compiler_type
=none
3559 if test "$am_compiler_list" = ""; then
3560 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3563 case " $depcc " in #(
3564 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3567 for depmode
in $am_compiler_list; do
3568 # Setup a source with many dependencies, because some compilers
3569 # like to wrap large dependency lists on column 80 (with \), and
3570 # we should not choose a depcomp mode which is confused by this.
3572 # We need to recreate these files for each test, as the compiler may
3573 # overwrite some of them when testing with obscure command lines.
3574 # This happens at least with the AIX C compiler.
3576 for i
in 1 2 3 4 5 6; do
3577 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3578 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3579 # Solaris 8's {/usr,}/bin/sh.
3580 touch sub
/conftst
$i.h
3582 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3584 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3585 # mode. It turns out that the SunPro C++ compiler does not properly
3586 # handle `-M -o', and we need to detect this. Also, some Intel
3587 # versions had trouble with output in subdirs
3588 am__obj
=sub
/conftest.
${OBJEXT-o}
3589 am__minus_obj
="-o $am__obj"
3592 # This depmode causes a compiler race in universal mode.
3593 test "$am__universal" = false ||
continue
3596 # after this tag, mechanisms are not by side-effect, so they'll
3597 # only be used when explicitly requested
3598 if test "x$enable_dependency_tracking" = xyes
; then
3604 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3605 # This compiler won't grok `-c -o', but also, the minuso test has
3606 # not run yet. These depmodes are late enough in the game, and
3607 # so weak that their functioning should not be impacted.
3608 am__obj
=conftest.
${OBJEXT-o}
3613 if depmode
=$depmode \
3614 source=sub
/conftest.c object
=$am__obj \
3615 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3616 $SHELL .
/depcomp
$depcc -c
$am__minus_obj sub
/conftest.c \
3617 >/dev
/null
2>conftest.err
&&
3618 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3619 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3620 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3621 ${MAKE-make} -s
-f confmf
> /dev
/null
2>&1; then
3622 # icc doesn't choke on unknown options, it will just issue warnings
3623 # or remarks (even with -Werror). So we grep stderr for any message
3624 # that says an option was ignored or not supported.
3625 # When given -MP, icc 7.0 and 7.1 complain thusly:
3626 # icc: Command line warning: ignoring option '-M'; no argument required
3627 # The diagnosis changed in icc 8.0:
3628 # icc: Command line remark: option '-MP' not supported
3629 if (grep 'ignoring option' conftest.err ||
3630 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3631 am_cv_CC_dependencies_compiler_type
=$depmode
3640 am_cv_CC_dependencies_compiler_type
=none
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3645 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3646 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3649 test "x$enable_dependency_tracking" != xno \
3650 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3652 am__fastdepCC_FALSE
='#'
3654 am__fastdepCC_TRUE
='#'
3655 am__fastdepCC_FALSE
=
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3662 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3667 macro_version
='2.4.2'
3668 macro_revision
='1.3337'
3682 ltmain
="$ac_aux_dir/ltmain.sh"
3684 # Make sure we can run config.sub.
3685 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3686 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3689 $as_echo_n "checking build system type... " >&6; }
3690 if ${ac_cv_build+:} false
; then :
3691 $as_echo_n "(cached) " >&6
3693 ac_build_alias
=$build_alias
3694 test "x$ac_build_alias" = x
&&
3695 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3696 test "x$ac_build_alias" = x
&&
3697 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3698 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3699 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3703 $as_echo "$ac_cv_build" >&6; }
3704 case $ac_cv_build in
3706 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3709 ac_save_IFS
=$IFS; IFS
='-'
3715 # Remember, the first character of IFS is used to create $*,
3716 # except with old shells:
3719 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3723 $as_echo_n "checking host system type... " >&6; }
3724 if ${ac_cv_host+:} false
; then :
3725 $as_echo_n "(cached) " >&6
3727 if test "x$host_alias" = x
; then
3728 ac_cv_host
=$ac_cv_build
3730 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3731 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3736 $as_echo "$ac_cv_host" >&6; }
3739 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3742 ac_save_IFS
=$IFS; IFS
='-'
3748 # Remember, the first character of IFS is used to create $*,
3749 # except with old shells:
3752 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3755 # Backslashify metacharacters that are still active within
3756 # double-quoted strings.
3757 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3759 # Same as above, but do not quote variable references.
3760 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3762 # Sed substitution to delay expansion of an escaped shell variable in a
3763 # double_quote_subst'ed string.
3764 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3766 # Sed substitution to delay expansion of an escaped single quote.
3767 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3769 # Sed substitution to avoid accidental globbing in evaled expressions
3770 no_glob_subst
='s/\*/\\\*/g'
3772 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3773 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3774 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3777 $as_echo_n "checking how to print strings... " >&6; }
3778 # Test print first, because it will be a builtin if present.
3779 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3780 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3782 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3785 # Use this function as a fallback that always works.
3786 func_fallback_echo ()
3788 eval 'cat <<_LTECHO_EOF
3792 ECHO='func_fallback_echo
'
3795 # func_echo_all arg...
3796 # Invoke $ECHO with all args, space-separated.
3803 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3804 $as_echo "printf" >&6; } ;;
3805 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3806 $as_echo "print -r" >&6; } ;;
3807 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3808 $as_echo "cat" >&6; } ;;
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3825 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3826 if ${ac_cv_path_SED+:} false; then :
3827 $as_echo_n "(cached) " >&6
3829 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3830 for ac_i in 1 2 3 4 5 6 7; do
3831 ac_script="$ac_script$as_nl$ac_script"
3833 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3834 { ac_script=; unset ac_script;}
3835 if test -z "$SED"; then
3836 ac_path_SED_found=false
3837 # Loop through the user's path and
test for each of PROGNAME-LIST
3838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3842 test -z
"$as_dir" && as_dir
=.
3843 for ac_prog
in sed gsed
; do
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3846 as_fn_executable_p
"$ac_path_SED" ||
continue
3847 # Check for GNU ac_path_SED and select it if it is found.
3848 # Check for GNU $ac_path_SED
3849 case `"$ac_path_SED" --version 2>&1` in
3851 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3854 $as_echo_n 0123456789 >"conftest.in"
3857 cat "conftest.in" "conftest.in" >"conftest.tmp"
3858 mv "conftest.tmp" "conftest.in"
3859 cp "conftest.in" "conftest.nl"
3860 $as_echo '' >> "conftest.nl"
3861 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3862 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3863 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3864 if test $ac_count -gt
${ac_path_SED_max-0}; then
3865 # Best one so far, save it but keep looking for a better one
3866 ac_cv_path_SED
="$ac_path_SED"
3867 ac_path_SED_max
=$ac_count
3869 # 10*(2^10) chars as input seems more than enough
3870 test $ac_count -gt
10 && break
3872 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3875 $ac_path_SED_found && break 3
3880 if test -z
"$ac_cv_path_SED"; then
3881 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3889 $as_echo "$ac_cv_path_SED" >&6; }
3890 SED
="$ac_cv_path_SED"
3893 test -z
"$SED" && SED
=sed
3894 Xsed
="$SED -e 1s/^X//"
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3907 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3908 if ${ac_cv_path_GREP+:} false
; then :
3909 $as_echo_n "(cached) " >&6
3911 if test -z
"$GREP"; then
3912 ac_path_GREP_found
=false
3913 # Loop through the user's path and test for each of PROGNAME-LIST
3914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3915 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg4
/bin
3918 test -z
"$as_dir" && as_dir
=.
3919 for ac_prog
in grep ggrep
; do
3920 for ac_exec_ext
in '' $ac_executable_extensions; do
3921 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3922 as_fn_executable_p
"$ac_path_GREP" ||
continue
3923 # Check for GNU ac_path_GREP and select it if it is found.
3924 # Check for GNU $ac_path_GREP
3925 case `"$ac_path_GREP" --version 2>&1` in
3927 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3930 $as_echo_n 0123456789 >"conftest.in"
3933 cat "conftest.in" "conftest.in" >"conftest.tmp"
3934 mv "conftest.tmp" "conftest.in"
3935 cp "conftest.in" "conftest.nl"
3936 $as_echo 'GREP' >> "conftest.nl"
3937 "$ac_path_GREP" -e
'GREP$' -e
'-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3938 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3939 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3940 if test $ac_count -gt
${ac_path_GREP_max-0}; then
3941 # Best one so far, save it but keep looking for a better one
3942 ac_cv_path_GREP
="$ac_path_GREP"
3943 ac_path_GREP_max
=$ac_count
3945 # 10*(2^10) chars as input seems more than enough
3946 test $ac_count -gt
10 && break
3948 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3951 $ac_path_GREP_found && break 3
3956 if test -z
"$ac_cv_path_GREP"; then
3957 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3960 ac_cv_path_GREP
=$GREP
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3965 $as_echo "$ac_cv_path_GREP" >&6; }
3966 GREP
="$ac_cv_path_GREP"
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3970 $as_echo_n "checking for egrep... " >&6; }
3971 if ${ac_cv_path_EGREP+:} false
; then :
3972 $as_echo_n "(cached) " >&6
3974 if echo a |
$GREP -E
'(a|b)' >/dev
/null
2>&1
3975 then ac_cv_path_EGREP
="$GREP -E"
3977 if test -z
"$EGREP"; then
3978 ac_path_EGREP_found
=false
3979 # Loop through the user's path and test for each of PROGNAME-LIST
3980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3981 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg4
/bin
3984 test -z
"$as_dir" && as_dir
=.
3985 for ac_prog
in egrep; do
3986 for ac_exec_ext
in '' $ac_executable_extensions; do
3987 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3988 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3989 # Check for GNU ac_path_EGREP and select it if it is found.
3990 # Check for GNU $ac_path_EGREP
3991 case `"$ac_path_EGREP" --version 2>&1` in
3993 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3996 $as_echo_n 0123456789 >"conftest.in"
3999 cat "conftest.in" "conftest.in" >"conftest.tmp"
4000 mv "conftest.tmp" "conftest.in"
4001 cp "conftest.in" "conftest.nl"
4002 $as_echo 'EGREP' >> "conftest.nl"
4003 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4004 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4005 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4006 if test $ac_count -gt
${ac_path_EGREP_max-0}; then
4007 # Best one so far, save it but keep looking for a better one
4008 ac_cv_path_EGREP
="$ac_path_EGREP"
4009 ac_path_EGREP_max
=$ac_count
4011 # 10*(2^10) chars as input seems more than enough
4012 test $ac_count -gt
10 && break
4014 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4017 $ac_path_EGREP_found && break 3
4022 if test -z
"$ac_cv_path_EGREP"; then
4023 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4026 ac_cv_path_EGREP
=$EGREP
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4032 $as_echo "$ac_cv_path_EGREP" >&6; }
4033 EGREP
="$ac_cv_path_EGREP"
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4037 $as_echo_n "checking for fgrep... " >&6; }
4038 if ${ac_cv_path_FGREP+:} false
; then :
4039 $as_echo_n "(cached) " >&6
4041 if echo 'ab*c' |
$GREP -F
'ab*c' >/dev
/null
2>&1
4042 then ac_cv_path_FGREP
="$GREP -F"
4044 if test -z
"$FGREP"; then
4045 ac_path_FGREP_found
=false
4046 # Loop through the user's path and test for each of PROGNAME-LIST
4047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4048 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg4
/bin
4051 test -z
"$as_dir" && as_dir
=.
4052 for ac_prog
in fgrep
; do
4053 for ac_exec_ext
in '' $ac_executable_extensions; do
4054 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4055 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4056 # Check for GNU ac_path_FGREP and select it if it is found.
4057 # Check for GNU $ac_path_FGREP
4058 case `"$ac_path_FGREP" --version 2>&1` in
4060 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4063 $as_echo_n 0123456789 >"conftest.in"
4066 cat "conftest.in" "conftest.in" >"conftest.tmp"
4067 mv "conftest.tmp" "conftest.in"
4068 cp "conftest.in" "conftest.nl"
4069 $as_echo 'FGREP' >> "conftest.nl"
4070 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4071 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4072 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4073 if test $ac_count -gt
${ac_path_FGREP_max-0}; then
4074 # Best one so far, save it but keep looking for a better one
4075 ac_cv_path_FGREP
="$ac_path_FGREP"
4076 ac_path_FGREP_max
=$ac_count
4078 # 10*(2^10) chars as input seems more than enough
4079 test $ac_count -gt
10 && break
4081 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4084 $ac_path_FGREP_found && break 3
4089 if test -z
"$ac_cv_path_FGREP"; then
4090 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4093 ac_cv_path_FGREP
=$FGREP
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4099 $as_echo "$ac_cv_path_FGREP" >&6; }
4100 FGREP
="$ac_cv_path_FGREP"
4103 test -z
"$GREP" && GREP
=grep
4123 # Check whether --with-gnu-ld was given.
4124 if test "${with_gnu_ld+set}" = set; then :
4125 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4131 if test "$GCC" = yes; then
4132 # Check if gcc -print-prog-name=ld gives a path.
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4134 $as_echo_n "checking for ld used by $CC... " >&6; }
4137 # gcc leaves a trailing carriage return which upsets mingw
4138 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4140 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4143 # Accept absolute paths.
4145 re_direlt
='/[^/][^/]*/\.\./'
4146 # Canonicalize the pathname of ld
4147 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4148 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4149 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4151 test -z
"$LD" && LD
="$ac_prog"
4154 # If it fails, then pretend we aren't using GCC.
4158 # If it is relative, then search for the first ld in PATH.
4162 elif test "$with_gnu_ld" = yes; then
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4164 $as_echo_n "checking for GNU ld... " >&6; }
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4167 $as_echo_n "checking for non-GNU ld... " >&6; }
4169 if ${lt_cv_path_LD+:} false
; then :
4170 $as_echo_n "(cached) " >&6
4172 if test -z
"$LD"; then
4173 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4174 for ac_dir
in $PATH; do
4176 test -z
"$ac_dir" && ac_dir
=.
4177 if test -f
"$ac_dir/$ac_prog" ||
test -f
"$ac_dir/$ac_prog$ac_exeext"; then
4178 lt_cv_path_LD
="$ac_dir/$ac_prog"
4179 # Check to see if the program is GNU ld. I'd rather use --version,
4180 # but apparently some variants of GNU ld only accept -v.
4181 # Break only if it was the GNU/non-GNU ld that we prefer.
4182 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4183 *GNU
* |
*'with BFD'*)
4184 test "$with_gnu_ld" != no
&& break
4187 test "$with_gnu_ld" != yes && break
4194 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4199 if test -n
"$LD"; then
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4201 $as_echo "$LD" >&6; }
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4204 $as_echo "no" >&6; }
4206 test -z
"$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4208 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4209 if ${lt_cv_prog_gnu_ld+:} false
; then :
4210 $as_echo_n "(cached) " >&6
4212 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4213 case `$LD -v 2>&1 </dev/null` in
4214 *GNU
* |
*'with BFD'*)
4215 lt_cv_prog_gnu_ld
=yes
4218 lt_cv_prog_gnu_ld
=no
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4223 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4224 with_gnu_ld
=$lt_cv_prog_gnu_ld
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4235 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4236 if ${lt_cv_path_NM+:} false
; then :
4237 $as_echo_n "(cached) " >&6
4239 if test -n
"$NM"; then
4240 # Let the user override the test.
4243 lt_nm_to_check
="${ac_tool_prefix}nm"
4244 if test -n
"$ac_tool_prefix" && test "$build" = "$host"; then
4245 lt_nm_to_check
="$lt_nm_to_check nm"
4247 for lt_tmp_nm
in $lt_nm_to_check; do
4248 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4249 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4251 test -z
"$ac_dir" && ac_dir
=.
4252 tmp_nm
="$ac_dir/$lt_tmp_nm"
4253 if test -f
"$tmp_nm" ||
test -f
"$tmp_nm$ac_exeext" ; then
4254 # Check to see if the nm accepts a BSD-compat flag.
4255 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4256 # nm: unknown option "B" ignored
4257 # Tru64's nm complains that /dev/null is an invalid object file
4258 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4259 */dev
/null
* |
*'Invalid file or object type'*)
4260 lt_cv_path_NM
="$tmp_nm -B"
4264 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4266 lt_cv_path_NM
="$tmp_nm -p"
4270 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4271 continue # so that we can try to find one that supports BSD flags
4280 : ${lt_cv_path_NM=no}
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4284 $as_echo "$lt_cv_path_NM" >&6; }
4285 if test "$lt_cv_path_NM" != "no"; then
4288 # Didn't find any BSD compatible name lister, look for dumpbin.
4289 if test -n
"$DUMPBIN"; then :
4290 # Let the user override the test.
4292 if test -n
"$ac_tool_prefix"; then
4293 for ac_prog
in dumpbin
"link -dump"
4295 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4296 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4298 $as_echo_n "checking for $ac_word... " >&6; }
4299 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4300 $as_echo_n "(cached) " >&6
4302 if test -n
"$DUMPBIN"; then
4303 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4309 test -z
"$as_dir" && as_dir
=.
4310 for ac_exec_ext
in '' $ac_executable_extensions; do
4311 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4312 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4322 DUMPBIN
=$ac_cv_prog_DUMPBIN
4323 if test -n
"$DUMPBIN"; then
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4325 $as_echo "$DUMPBIN" >&6; }
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4328 $as_echo "no" >&6; }
4332 test -n
"$DUMPBIN" && break
4335 if test -z
"$DUMPBIN"; then
4336 ac_ct_DUMPBIN
=$DUMPBIN
4337 for ac_prog
in dumpbin
"link -dump"
4339 # Extract the first word of "$ac_prog", so it can be a program name with args.
4340 set dummy
$ac_prog; ac_word
=$2
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4342 $as_echo_n "checking for $ac_word... " >&6; }
4343 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4344 $as_echo_n "(cached) " >&6
4346 if test -n
"$ac_ct_DUMPBIN"; then
4347 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4353 test -z
"$as_dir" && as_dir
=.
4354 for ac_exec_ext
in '' $ac_executable_extensions; do
4355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4356 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4366 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4367 if test -n
"$ac_ct_DUMPBIN"; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4369 $as_echo "$ac_ct_DUMPBIN" >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4376 test -n
"$ac_ct_DUMPBIN" && break
4379 if test "x$ac_ct_DUMPBIN" = x
; then
4382 case $cross_compiling:$ac_tool_warned in
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4386 ac_tool_warned
=yes ;;
4388 DUMPBIN
=$ac_ct_DUMPBIN
4392 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4394 DUMPBIN
="$DUMPBIN -symbols"
4402 if test "$DUMPBIN" != ":"; then
4406 test -z
"$NM" && NM
=nm
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4414 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4415 if ${lt_cv_nm_interface+:} false
; then :
4416 $as_echo_n "(cached) " >&6
4418 lt_cv_nm_interface
="BSD nm"
4419 echo "int some_variable = 0;" > conftest.
$ac_ext
4420 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4421 (eval "$ac_compile" 2>conftest.err
)
4422 cat conftest.err
>&5
4423 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4424 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4425 cat conftest.err
>&5
4426 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4427 cat conftest.out
>&5
4428 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4429 lt_cv_nm_interface
="MS dumpbin"
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4434 $as_echo "$lt_cv_nm_interface" >&6; }
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4437 $as_echo_n "checking whether ln -s works... " >&6; }
4439 if test "$LN_S" = "ln -s"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4441 $as_echo "yes" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4444 $as_echo "no, using $LN_S" >&6; }
4447 # find the maximum length of command line arguments
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4449 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4450 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4451 $as_echo_n "(cached) " >&6
4458 # On DJGPP, this test can blow up pretty badly due to problems in libc
4459 # (any single argument exceeding 2000 bytes causes a buffer overrun
4460 # during glob expansion). Even if it were fixed, the result of this
4461 # check would be larger than it should be.
4462 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4466 # Under GNU Hurd, this test is not required because there is
4467 # no limit to the length of command line arguments.
4468 # Libtool will interpret -1 as no limit whatsoever
4469 lt_cv_sys_max_cmd_len
=-1;
4472 cygwin
* | mingw
* | cegcc
*)
4473 # On Win9x/ME, this test blows up -- it succeeds, but takes
4474 # about 5 minutes as the teststring grows exponentially.
4475 # Worse, since 9x/ME are not pre-emptively multitasking,
4476 # you end up with a "frozen" computer, even though with patience
4477 # the test eventually succeeds (with a max line length of 256k).
4478 # Instead, let's just punt: use the minimum linelength reported by
4479 # all of the supported platforms: 8192 (on NT/2K/XP).
4480 lt_cv_sys_max_cmd_len
=8192;
4484 # On MiNT this can take a long time and run out of memory.
4485 lt_cv_sys_max_cmd_len
=8192;
4489 # On AmigaOS with pdksh, this test takes hours, literally.
4490 # So we just punt and use a minimum line length of 8192.
4491 lt_cv_sys_max_cmd_len
=8192;
4494 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4495 # This has been around since 386BSD, at least. Likely further.
4496 if test -x
/sbin
/sysctl
; then
4497 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4498 elif test -x
/usr
/sbin
/sysctl
; then
4499 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4501 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4503 # And add a safety zone
4504 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4505 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4509 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4510 lt_cv_sys_max_cmd_len
=196608
4514 # The test takes a long time on OS/2.
4515 lt_cv_sys_max_cmd_len
=8192
4519 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4520 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4521 # nice to cause kernel panics so lets avoid the loop below.
4522 # First set a reasonable default.
4523 lt_cv_sys_max_cmd_len
=16384
4525 if test -x
/sbin
/sysconfig
; then
4526 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4527 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4532 lt_cv_sys_max_cmd_len
=102400
4534 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4535 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4536 if test -n
"$kargmax"; then
4537 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4539 lt_cv_sys_max_cmd_len
=32768
4543 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4544 if test -n
"$lt_cv_sys_max_cmd_len"; then
4545 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4546 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4548 # Make teststring a little bigger before we do anything with it.
4549 # a 1K string should be a reasonable start.
4550 for i
in 1 2 3 4 5 6 7 8 ; do
4551 teststring
=$teststring$teststring
4553 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4554 # If test is not a shell built-in, we'll probably end up computing a
4555 # maximum length that is only half of the actual maximum length, but
4557 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4558 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4559 test $i != 17 # 1/2 MB should be enough
4562 teststring
=$teststring$teststring
4564 # Only check the string length outside the loop.
4565 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4567 # Add a significant safety factor because C++ compilers can tack on
4568 # massive amounts of additional arguments before passing them to the
4569 # linker. It appears as though 1/2 is a usable value.
4570 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4577 if test -n
$lt_cv_sys_max_cmd_len ; then
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4579 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4582 $as_echo "none" >&6; }
4584 max_cmd_len
=$lt_cv_sys_max_cmd_len
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4596 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4597 # Try some XSI features
4600 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4602 && eval 'test $(( 1 + 1 )) -eq 2 \
4603 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4606 $as_echo "$xsi_shell" >&6; }
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4610 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4612 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4614 && lt_shell_append
=yes
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4616 $as_echo "$lt_shell_append" >&6; }
4619 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4629 # test EBCDIC or ASCII
4630 case `echo X|tr X '\101'` in
4631 A
) # ASCII based system
4632 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4633 lt_SP2NL
='tr \040 \012'
4634 lt_NL2SP
='tr \015\012 \040\040'
4636 *) # EBCDIC based system
4637 lt_SP2NL
='tr \100 \n'
4638 lt_NL2SP
='tr \r\n \100\100'
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4651 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4652 if ${lt_cv_to_host_file_cmd+:} false
; then :
4653 $as_echo_n "(cached) " >&6
4658 *-*-mingw
* ) # actually msys
4659 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4662 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4664 * ) # otherwise, assume *nix
4665 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4671 *-*-mingw
* ) # actually msys
4672 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4675 lt_cv_to_host_file_cmd
=func_convert_file_noop
4677 * ) # otherwise, assume *nix
4678 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4682 * ) # unhandled hosts (and "normal" native builds)
4683 lt_cv_to_host_file_cmd
=func_convert_file_noop
4689 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4691 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4698 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4699 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4700 $as_echo_n "(cached) " >&6
4702 #assume ordinary cross tools, or native build.
4703 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4707 *-*-mingw
* ) # actually msys
4708 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4716 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4718 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4725 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4726 if ${lt_cv_ld_reload_flag+:} false
; then :
4727 $as_echo_n "(cached) " >&6
4729 lt_cv_ld_reload_flag
='-r'
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4732 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4733 reload_flag
=$lt_cv_ld_reload_flag
4734 case $reload_flag in
4736 *) reload_flag
=" $reload_flag" ;;
4738 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4740 cygwin
* | mingw
* | pw32
* | cegcc
*)
4741 if test "$GCC" != yes; then
4746 if test "$GCC" = yes; then
4747 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4749 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4762 if test -n
"$ac_tool_prefix"; then
4763 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4764 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 $as_echo_n "checking for $ac_word... " >&6; }
4767 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4768 $as_echo_n "(cached) " >&6
4770 if test -n
"$OBJDUMP"; then
4771 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 test -z
"$as_dir" && as_dir
=.
4778 for ac_exec_ext
in '' $ac_executable_extensions; do
4779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4780 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 OBJDUMP
=$ac_cv_prog_OBJDUMP
4791 if test -n
"$OBJDUMP"; then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4793 $as_echo "$OBJDUMP" >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 $as_echo "no" >&6; }
4801 if test -z
"$ac_cv_prog_OBJDUMP"; then
4802 ac_ct_OBJDUMP
=$OBJDUMP
4803 # Extract the first word of "objdump", so it can be a program name with args.
4804 set dummy objdump
; ac_word
=$2
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 $as_echo_n "checking for $ac_word... " >&6; }
4807 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
4808 $as_echo_n "(cached) " >&6
4810 if test -n
"$ac_ct_OBJDUMP"; then
4811 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4817 test -z
"$as_dir" && as_dir
=.
4818 for ac_exec_ext
in '' $ac_executable_extensions; do
4819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4820 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4830 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4831 if test -n
"$ac_ct_OBJDUMP"; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4833 $as_echo "$ac_ct_OBJDUMP" >&6; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4836 $as_echo "no" >&6; }
4839 if test "x$ac_ct_OBJDUMP" = x
; then
4842 case $cross_compiling:$ac_tool_warned in
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4846 ac_tool_warned
=yes ;;
4848 OBJDUMP
=$ac_ct_OBJDUMP
4851 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4854 test -z
"$OBJDUMP" && OBJDUMP
=objdump
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4865 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4866 if ${lt_cv_deplibs_check_method+:} false
; then :
4867 $as_echo_n "(cached) " >&6
4869 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4870 lt_cv_file_magic_test_file
=
4871 lt_cv_deplibs_check_method
='unknown'
4872 # Need to set the preceding variable on all platforms that support
4873 # interlibrary dependencies.
4874 # 'none' -- dependencies not supported.
4875 # `unknown' -- same as none, but documents that we really don't know.
4876 # 'pass_all' -- all dependencies passed with no checks.
4877 # 'test_compile' -- check by making test program.
4878 # 'file_magic [[regex]]' -- check by looking for files in library path
4879 # which responds to the $file_magic_cmd with a given extended regex.
4880 # If you have `file' or equivalent on your system and you're not sure
4881 # whether `pass_all' will *always* work, you probably want this one.
4885 lt_cv_deplibs_check_method
=pass_all
4889 lt_cv_deplibs_check_method
=pass_all
4893 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4894 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4895 lt_cv_file_magic_test_file
=/shlib
/libc.so
4899 # func_win32_libid is a shell function defined in ltmain.sh
4900 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4901 lt_cv_file_magic_cmd
='func_win32_libid'
4905 # Base MSYS/MinGW do not provide the 'file' command needed by
4906 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4907 # unless we find 'file', for example because we are cross-compiling.
4908 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4909 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
4910 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4911 lt_cv_file_magic_cmd
='func_win32_libid'
4913 # Keep this pattern in sync with the one in func_win32_libid.
4914 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4915 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4920 # use the weaker test based on 'objdump'. See mingw*.
4921 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4922 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4925 darwin
* | rhapsody
*)
4926 lt_cv_deplibs_check_method
=pass_all
4929 freebsd
* | dragonfly
*)
4930 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
> /dev
/null
; then
4933 # Not sure whether the presence of OpenBSD here was a mistake.
4934 # Let's accept both of them until this is cleared up.
4935 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4936 lt_cv_file_magic_cmd
=/usr
/bin
/file
4937 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4941 lt_cv_deplibs_check_method
=pass_all
4946 lt_cv_deplibs_check_method
=pass_all
4949 hpux10.20
* | hpux11
*)
4950 lt_cv_file_magic_cmd
=/usr
/bin
/file
4953 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4954 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4957 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]'
4958 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4961 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4962 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4968 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4969 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4972 irix5
* | irix6
* | nonstopux
*)
4974 *-32|
*"-32 ") libmagic
=32-bit
;;
4975 *-n32|
*"-n32 ") libmagic
=N32
;;
4976 *-64|
*"-64 ") libmagic
=64-bit
;;
4977 *) libmagic
=never-match
;;
4979 lt_cv_deplibs_check_method
=pass_all
4982 # This must be glibc/ELF.
4983 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
4984 lt_cv_deplibs_check_method
=pass_all
4987 netbsd
* | netbsdelf
*-gnu
)
4988 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
> /dev
/null
; then
4989 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4991 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4996 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4997 lt_cv_file_magic_cmd
=/usr
/bin
/file
4998 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5002 lt_cv_deplibs_check_method
=pass_all
5006 if test -z
"`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5007 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5009 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5013 osf3
* | osf4
* | osf5
*)
5014 lt_cv_deplibs_check_method
=pass_all
5018 lt_cv_deplibs_check_method
=pass_all
5022 lt_cv_deplibs_check_method
=pass_all
5025 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5026 lt_cv_deplibs_check_method
=pass_all
5030 case $host_vendor in
5032 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]'
5033 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5036 lt_cv_deplibs_check_method
=pass_all
5039 lt_cv_file_magic_cmd
='/bin/file'
5040 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5043 lt_cv_file_magic_cmd
='/bin/file'
5044 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5045 lt_cv_file_magic_test_file
=/lib
/libc.so
5048 lt_cv_deplibs_check_method
=pass_all
5051 lt_cv_deplibs_check_method
=pass_all
5057 lt_cv_deplibs_check_method
=pass_all
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5063 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5067 if test "$build" = "$host"; then
5070 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
5073 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5079 file_magic_cmd
=$lt_cv_file_magic_cmd
5080 deplibs_check_method
=$lt_cv_deplibs_check_method
5081 test -z
"$deplibs_check_method" && deplibs_check_method
=unknown
5104 if test -n
"$ac_tool_prefix"; then
5105 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5106 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5110 $as_echo_n "(cached) " >&6
5112 if test -n
"$DLLTOOL"; then
5113 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5119 test -z
"$as_dir" && as_dir
=.
5120 for ac_exec_ext
in '' $ac_executable_extensions; do
5121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 DLLTOOL
=$ac_cv_prog_DLLTOOL
5133 if test -n
"$DLLTOOL"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5135 $as_echo "$DLLTOOL" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5143 if test -z
"$ac_cv_prog_DLLTOOL"; then
5144 ac_ct_DLLTOOL
=$DLLTOOL
5145 # Extract the first word of "dlltool", so it can be a program name with args.
5146 set dummy dlltool
; ac_word
=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
5150 $as_echo_n "(cached) " >&6
5152 if test -n
"$ac_ct_DLLTOOL"; then
5153 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z
"$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5173 if test -n
"$ac_ct_DLLTOOL"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5175 $as_echo "$ac_ct_DLLTOOL" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5181 if test "x$ac_ct_DLLTOOL" = x
; then
5184 case $cross_compiling:$ac_tool_warned in
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned
=yes ;;
5190 DLLTOOL
=$ac_ct_DLLTOOL
5193 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5196 test -z
"$DLLTOOL" && DLLTOOL
=dlltool
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5208 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5209 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 lt_cv_sharedlib_from_linklib_cmd
='unknown'
5215 cygwin
* | mingw
* | pw32
* | cegcc
*)
5216 # two different shell functions defined in ltmain.sh
5217 # decide which to use based on capabilities of $DLLTOOL
5218 case `$DLLTOOL --help 2>&1` in
5219 *--identify-strict
*)
5220 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
5223 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
5228 # fallback: assume linklib IS sharedlib
5229 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5235 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5236 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
5237 test -z
"$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
5246 if test -n
"$ac_tool_prefix"; then
5249 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5250 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if ${ac_cv_prog_AR+:} false
; then :
5254 $as_echo_n "(cached) " >&6
5256 if test -n
"$AR"; then
5257 ac_cv_prog_AR
="$AR" # Let the user override the test.
5259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5263 test -z
"$as_dir" && as_dir
=.
5264 for ac_exec_ext
in '' $ac_executable_extensions; do
5265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5266 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 if test -n
"$AR"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5279 $as_echo "$AR" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5286 test -n
"$AR" && break
5289 if test -z
"$AR"; then
5293 # Extract the first word of "$ac_prog", so it can be a program name with args.
5294 set dummy
$ac_prog; ac_word
=$2
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296 $as_echo_n "checking for $ac_word... " >&6; }
5297 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5298 $as_echo_n "(cached) " >&6
5300 if test -n
"$ac_ct_AR"; then
5301 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5307 test -z
"$as_dir" && as_dir
=.
5308 for ac_exec_ext
in '' $ac_executable_extensions; do
5309 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5310 ac_cv_prog_ac_ct_AR
="$ac_prog"
5311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5321 if test -n
"$ac_ct_AR"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5323 $as_echo "$ac_ct_AR" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5330 test -n
"$ac_ct_AR" && break
5333 if test "x$ac_ct_AR" = x
; then
5336 case $cross_compiling:$ac_tool_warned in
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5340 ac_tool_warned
=yes ;;
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5360 $as_echo_n "checking for archiver @FILE support... " >&6; }
5361 if ${lt_cv_ar_at_file+:} false
; then :
5362 $as_echo_n "(cached) " >&6
5365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5376 if ac_fn_c_try_compile
"$LINENO"; then :
5377 echo conftest.
$ac_objext > conftest.lst
5378 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5379 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5380 (eval $lt_ar_try) 2>&5
5382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5383 test $ac_status = 0; }
5384 if test "$ac_status" -eq
0; then
5385 # Ensure the archiver fails upon bogus file names.
5386 rm -f conftest.
$ac_objext libconftest.a
5387 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5388 (eval $lt_ar_try) 2>&5
5390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5391 test $ac_status = 0; }
5392 if test "$ac_status" -ne
0; then
5396 rm -f conftest.
* libconftest.a
5399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5403 $as_echo "$lt_cv_ar_at_file" >&6; }
5405 if test "x$lt_cv_ar_at_file" = xno
; then
5408 archiver_list_spec
=$lt_cv_ar_at_file
5417 if test -n
"$ac_tool_prefix"; then
5418 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5419 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_STRIP+:} false
; then :
5423 $as_echo_n "(cached) " >&6
5425 if test -n
"$STRIP"; then
5426 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5432 test -z
"$as_dir" && as_dir
=.
5433 for ac_exec_ext
in '' $ac_executable_extensions; do
5434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 STRIP
=$ac_cv_prog_STRIP
5446 if test -n
"$STRIP"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5448 $as_echo "$STRIP" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5456 if test -z
"$ac_cv_prog_STRIP"; then
5458 # Extract the first word of "strip", so it can be a program name with args.
5459 set dummy strip
; ac_word
=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5463 $as_echo_n "(cached) " >&6
5465 if test -n
"$ac_ct_STRIP"; then
5466 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5472 test -z
"$as_dir" && as_dir
=.
5473 for ac_exec_ext
in '' $ac_executable_extensions; do
5474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_ac_ct_STRIP
="strip"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5486 if test -n
"$ac_ct_STRIP"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5488 $as_echo "$ac_ct_STRIP" >&6; }
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5494 if test "x$ac_ct_STRIP" = x
; then
5497 case $cross_compiling:$ac_tool_warned in
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5501 ac_tool_warned
=yes ;;
5506 STRIP
="$ac_cv_prog_STRIP"
5509 test -z
"$STRIP" && STRIP
=:
5516 if test -n
"$ac_tool_prefix"; then
5517 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5518 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if ${ac_cv_prog_RANLIB+:} false
; then :
5522 $as_echo_n "(cached) " >&6
5524 if test -n
"$RANLIB"; then
5525 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5531 test -z
"$as_dir" && as_dir
=.
5532 for ac_exec_ext
in '' $ac_executable_extensions; do
5533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 RANLIB
=$ac_cv_prog_RANLIB
5545 if test -n
"$RANLIB"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5547 $as_echo "$RANLIB" >&6; }
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5555 if test -z
"$ac_cv_prog_RANLIB"; then
5556 ac_ct_RANLIB
=$RANLIB
5557 # Extract the first word of "ranlib", so it can be a program name with args.
5558 set dummy ranlib
; ac_word
=$2
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5561 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5562 $as_echo_n "(cached) " >&6
5564 if test -n
"$ac_ct_RANLIB"; then
5565 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5571 test -z
"$as_dir" && as_dir
=.
5572 for ac_exec_ext
in '' $ac_executable_extensions; do
5573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5574 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5585 if test -n
"$ac_ct_RANLIB"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5587 $as_echo "$ac_ct_RANLIB" >&6; }
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5593 if test "x$ac_ct_RANLIB" = x
; then
5596 case $cross_compiling:$ac_tool_warned in
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5600 ac_tool_warned
=yes ;;
5602 RANLIB
=$ac_ct_RANLIB
5605 RANLIB
="$ac_cv_prog_RANLIB"
5608 test -z
"$RANLIB" && RANLIB
=:
5615 # Determine commands to create old-style static archives.
5616 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5617 old_postinstall_cmds
='chmod 644 $oldlib'
5618 old_postuninstall_cmds
=
5620 if test -n
"$RANLIB"; then
5623 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5626 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5629 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5634 lock_old_archive_extraction
=yes ;;
5636 lock_old_archive_extraction
=no
;;
5677 # If no C compiler was specified, use CC.
5680 # If no C compiler flags were specified, use CFLAGS.
5681 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5683 # Allow CC to be a program name with arguments.
5687 # Check for command to grab the raw symbol name followed by C symbol from nm.
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5689 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5690 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5691 $as_echo_n "(cached) " >&6
5694 # These are sane defaults that work on at least a few old systems.
5695 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5697 # Character class describing NM global symbol codes.
5698 symcode
='[BCDEGRST]'
5700 # Regexp to match symbols that can be accessed directly from C.
5701 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5703 # Define system-specific variables.
5708 cygwin
* | mingw
* | pw32
* | cegcc
*)
5709 symcode
='[ABCDGISTW]'
5712 if test "$host_cpu" = ia64
; then
5713 symcode
='[ABCDEGRST]'
5717 symcode
='[BCDEGRST]'
5720 symcode
='[BCDEGQRST]'
5731 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5739 # If we're using GNU nm, then use its standard symbol codes.
5740 case `$NM -V 2>&1` in
5741 *GNU
* |
*'with BFD'*)
5742 symcode
='[ABCDGIRSTW]' ;;
5745 # Transform an extracted symbol line into a proper C declaration.
5746 # Some systems (esp. on ia64) link data and code symbols differently,
5747 # so use this general approach.
5748 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5750 # Transform an extracted symbol line into symbol name and symbol address
5751 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5752 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5754 # Handle CRLF in mingw tool chain
5758 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5762 # Try without a prefix underscore, then with it.
5763 for ac_symprfx
in "" "_"; do
5765 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5766 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5768 # Write the raw and C identifiers.
5769 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5770 # Fake it for dumpbin and say T for any non-static function
5771 # and D for any global variable.
5772 # Also find C++ and __fastcall symbols from MSVC++,
5773 # which start with @ or ?.
5774 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5775 " {last_section=section; section=\$ 3};"\
5776 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5777 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5778 " \$ 0!~/External *\|/{next};"\
5779 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5780 " {if(hide[section]) next};"\
5781 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5782 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5783 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5784 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5785 " ' prfx=^$ac_symprfx"
5787 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5789 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5791 # Check to see that the pipe works correctly.
5795 cat > conftest.
$ac_ext <<_LT_EOF
5800 void nm_test_func(void);
5801 void nm_test_func(void){}
5805 int main(){nm_test_var='a';nm_test_func();return(0);}
5808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5809 (eval $ac_compile) 2>&5
5811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5812 test $ac_status = 0; }; then
5813 # Now try to grab the symbols.
5815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5816 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
5818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5819 test $ac_status = 0; } && test -s
"$nlist"; then
5820 # Try sorting and uniquifying the output.
5821 if sort "$nlist" |
uniq > "$nlist"T
; then
5822 mv -f
"$nlist"T
"$nlist"
5827 # Make sure that we snagged all the symbols we need.
5828 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5829 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5830 cat <<_LT_EOF > conftest.$ac_ext
5831 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5832 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5833 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5834 relocations are performed -- see ld's documentation on pseudo-relocs. */
5835 # define LT_DLSYM_CONST
5836 #elif defined(__osf__)
5837 /* This system does not cope well with relocations in const data. */
5838 # define LT_DLSYM_CONST
5840 # define LT_DLSYM_CONST const
5848 # Now generate the symbol file.
5849 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5851 cat <<_LT_EOF >> conftest.$ac_ext
5853 /* The mapping between symbol names and symbols. */
5854 LT_DLSYM_CONST struct {
5858 lt__PROGRAM__LTX_preloaded_symbols[] =
5860 { "@PROGRAM@", (void *) 0 },
5862 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
5863 cat <<\_LT_EOF
>> conftest.
$ac_ext
5867 /* This works around a problem
in FreeBSD linker
*/
5868 #ifdef FREEBSD_WORKAROUND
5869 static const void
*lt_preloaded_setup
() {
5870 return lt__PROGRAM__LTX_preloaded_symbols
;
5878 # Now try linking the two files.
5879 mv conftest.
$ac_objext conftstm.
$ac_objext
5880 lt_globsym_save_LIBS
=$LIBS
5881 lt_globsym_save_CFLAGS
=$CFLAGS
5882 LIBS
="conftstm.$ac_objext"
5883 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5885 (eval $ac_link) 2>&5
5887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5888 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5891 LIBS
=$lt_globsym_save_LIBS
5892 CFLAGS
=$lt_globsym_save_CFLAGS
5894 echo "cannot find nm_test_func in $nlist" >&5
5897 echo "cannot find nm_test_var in $nlist" >&5
5900 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5903 echo "$progname: failed program was:" >&5
5904 cat conftest.
$ac_ext >&5
5906 rm -rf conftest
* conftst
*
5908 # Do not use the global_symbol_pipe unless it works.
5909 if test "$pipe_works" = yes; then
5912 lt_cv_sys_global_symbol_pipe
=
5918 if test -z
"$lt_cv_sys_global_symbol_pipe"; then
5919 lt_cv_sys_global_symbol_to_cdecl
=
5921 if test -z
"$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5923 $as_echo "failed" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5926 $as_echo "ok" >&6; }
5929 # Response file support.
5930 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5931 nm_file_list_spec
='@'
5932 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
5933 nm_file_list_spec
='@'
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5963 $as_echo_n "checking for sysroot... " >&6; }
5965 # Check whether --with-sysroot was given.
5966 if test "${with_sysroot+set}" = set; then :
5967 withval
=$with_sysroot;
5974 case ${with_sysroot} in #(
5976 if test "$GCC" = yes; then
5977 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
5981 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5987 $as_echo "${with_sysroot}" >&6; }
5988 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5993 $as_echo "${lt_sysroot:-no}" >&6; }
5999 # Check whether --enable-libtool-lock was given.
6000 if test "${enable_libtool_lock+set}" = set; then :
6001 enableval
=$enable_libtool_lock;
6004 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6006 # Some flags need to be propagated to the compiler or linker for good
6010 # Find out which ABI we are using.
6011 echo 'int i;' > conftest.
$ac_ext
6012 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6013 (eval $ac_compile) 2>&5
6015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6016 test $ac_status = 0; }; then
6017 case `/usr/bin/file conftest.$ac_objext` in
6029 # Find out which ABI we are using.
6030 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6032 (eval $ac_compile) 2>&5
6034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6035 test $ac_status = 0; }; then
6036 if test "$lt_cv_prog_gnu_ld" = yes; then
6037 case `/usr/bin/file conftest.$ac_objext` in
6039 LD
="${LD-ld} -melf32bsmip"
6042 LD
="${LD-ld} -melf32bmipn32"
6045 LD
="${LD-ld} -melf64bmip"
6049 case `/usr/bin/file conftest.$ac_objext` in
6065 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6066 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6067 # Find out which ABI we are using.
6068 echo 'int i;' > conftest.
$ac_ext
6069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6070 (eval $ac_compile) 2>&5
6072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6073 test $ac_status = 0; }; then
6074 case `/usr/bin/file conftest.o` in
6077 x86_64-
*kfreebsd
*-gnu
)
6078 LD
="${LD-ld} -m elf_i386_fbsd"
6081 LD
="${LD-ld} -m elf_i386"
6083 ppc64-
*linux
*|powerpc64-
*linux
*)
6084 LD
="${LD-ld} -m elf32ppclinux"
6087 LD
="${LD-ld} -m elf_s390"
6090 LD
="${LD-ld} -m elf32_sparc"
6096 x86_64-
*kfreebsd
*-gnu
)
6097 LD
="${LD-ld} -m elf_x86_64_fbsd"
6100 LD
="${LD-ld} -m elf_x86_64"
6102 ppc
*-*linux
*|powerpc
*-*linux
*)
6103 LD
="${LD-ld} -m elf64ppc"
6105 s390
*-*linux
*|s390
*-*tpf
*)
6106 LD
="${LD-ld} -m elf64_s390"
6109 LD
="${LD-ld} -m elf64_sparc"
6119 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6120 SAVE_CFLAGS
="$CFLAGS"
6121 CFLAGS
="$CFLAGS -belf"
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6123 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6124 if ${lt_cv_cc_needs_belf+:} false
; then :
6125 $as_echo_n "(cached) " >&6
6128 ac_cpp
='$CPP $CPPFLAGS'
6129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6134 /* end confdefs.h. */
6144 if ac_fn_c_try_link
"$LINENO"; then :
6145 lt_cv_cc_needs_belf
=yes
6147 lt_cv_cc_needs_belf
=no
6149 rm -f core conftest.err conftest.
$ac_objext \
6150 conftest
$ac_exeext conftest.
$ac_ext
6152 ac_cpp
='$CPP $CPPFLAGS'
6153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6159 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6160 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6161 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6162 CFLAGS
="$SAVE_CFLAGS"
6166 # Find out which ABI we are using.
6167 echo 'int i;' > conftest.
$ac_ext
6168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6169 (eval $ac_compile) 2>&5
6171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6172 test $ac_status = 0; }; then
6173 case `/usr/bin/file conftest.o` in
6175 case $lt_cv_prog_gnu_ld in
6179 LD
="${LD-ld} -m elf_x86_64"
6182 LD
="${LD-ld} -m elf64_sparc"
6185 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6186 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6191 if ${LD-ld} -64 -r
-o conftest2.o conftest.o
>/dev
/null
2>&1; then
6203 need_locks
="$enable_libtool_lock"
6205 if test -n
"$ac_tool_prefix"; then
6206 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6207 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
6211 $as_echo_n "(cached) " >&6
6213 if test -n
"$MANIFEST_TOOL"; then
6214 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
6216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6220 test -z
"$as_dir" && as_dir
=.
6221 for ac_exec_ext
in '' $ac_executable_extensions; do
6222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
6234 if test -n
"$MANIFEST_TOOL"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6236 $as_echo "$MANIFEST_TOOL" >&6; }
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6244 if test -z
"$ac_cv_prog_MANIFEST_TOOL"; then
6245 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
6246 # Extract the first word of "mt", so it can be a program name with args.
6247 set dummy mt
; ac_word
=$2
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249 $as_echo_n "checking for $ac_word... " >&6; }
6250 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
6251 $as_echo_n "(cached) " >&6
6253 if test -n
"$ac_ct_MANIFEST_TOOL"; then
6254 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6260 test -z
"$as_dir" && as_dir
=.
6261 for ac_exec_ext
in '' $ac_executable_extensions; do
6262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6263 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
6264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6274 if test -n
"$ac_ct_MANIFEST_TOOL"; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6276 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 $as_echo "no" >&6; }
6282 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
6285 case $cross_compiling:$ac_tool_warned in
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289 ac_tool_warned
=yes ;;
6291 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
6294 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
6297 test -z
"$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6299 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6300 if ${lt_cv_path_mainfest_tool+:} false
; then :
6301 $as_echo_n "(cached) " >&6
6303 lt_cv_path_mainfest_tool
=no
6304 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6305 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
6306 cat conftest.err
>&5
6307 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
6308 lt_cv_path_mainfest_tool
=yes
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6313 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6314 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
6324 rhapsody
* | darwin
*)
6325 if test -n
"$ac_tool_prefix"; then
6326 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6327 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329 $as_echo_n "checking for $ac_word... " >&6; }
6330 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6331 $as_echo_n "(cached) " >&6
6333 if test -n
"$DSYMUTIL"; then
6334 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6340 test -z
"$as_dir" && as_dir
=.
6341 for ac_exec_ext
in '' $ac_executable_extensions; do
6342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6343 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6353 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6354 if test -n
"$DSYMUTIL"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6356 $as_echo "$DSYMUTIL" >&6; }
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6359 $as_echo "no" >&6; }
6364 if test -z
"$ac_cv_prog_DSYMUTIL"; then
6365 ac_ct_DSYMUTIL
=$DSYMUTIL
6366 # Extract the first word of "dsymutil", so it can be a program name with args.
6367 set dummy dsymutil
; ac_word
=$2
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6369 $as_echo_n "checking for $ac_word... " >&6; }
6370 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6371 $as_echo_n "(cached) " >&6
6373 if test -n
"$ac_ct_DSYMUTIL"; then
6374 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6380 test -z
"$as_dir" && as_dir
=.
6381 for ac_exec_ext
in '' $ac_executable_extensions; do
6382 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6383 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6394 if test -n
"$ac_ct_DSYMUTIL"; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6396 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399 $as_echo "no" >&6; }
6402 if test "x$ac_ct_DSYMUTIL" = x
; then
6405 case $cross_compiling:$ac_tool_warned in
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6409 ac_tool_warned
=yes ;;
6411 DSYMUTIL
=$ac_ct_DSYMUTIL
6414 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6417 if test -n
"$ac_tool_prefix"; then
6418 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6419 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421 $as_echo_n "checking for $ac_word... " >&6; }
6422 if ${ac_cv_prog_NMEDIT+:} false
; then :
6423 $as_echo_n "(cached) " >&6
6425 if test -n
"$NMEDIT"; then
6426 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6432 test -z
"$as_dir" && as_dir
=.
6433 for ac_exec_ext
in '' $ac_executable_extensions; do
6434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6435 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 NMEDIT
=$ac_cv_prog_NMEDIT
6446 if test -n
"$NMEDIT"; then
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6448 $as_echo "$NMEDIT" >&6; }
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451 $as_echo "no" >&6; }
6456 if test -z
"$ac_cv_prog_NMEDIT"; then
6457 ac_ct_NMEDIT
=$NMEDIT
6458 # Extract the first word of "nmedit", so it can be a program name with args.
6459 set dummy nmedit
; ac_word
=$2
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461 $as_echo_n "checking for $ac_word... " >&6; }
6462 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6463 $as_echo_n "(cached) " >&6
6465 if test -n
"$ac_ct_NMEDIT"; then
6466 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6472 test -z
"$as_dir" && as_dir
=.
6473 for ac_exec_ext
in '' $ac_executable_extensions; do
6474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6475 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6486 if test -n
"$ac_ct_NMEDIT"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6488 $as_echo "$ac_ct_NMEDIT" >&6; }
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491 $as_echo "no" >&6; }
6494 if test "x$ac_ct_NMEDIT" = x
; then
6497 case $cross_compiling:$ac_tool_warned in
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6501 ac_tool_warned
=yes ;;
6503 NMEDIT
=$ac_ct_NMEDIT
6506 NMEDIT
="$ac_cv_prog_NMEDIT"
6509 if test -n
"$ac_tool_prefix"; then
6510 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6511 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if ${ac_cv_prog_LIPO+:} false
; then :
6515 $as_echo_n "(cached) " >&6
6517 if test -n
"$LIPO"; then
6518 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6524 test -z
"$as_dir" && as_dir
=.
6525 for ac_exec_ext
in '' $ac_executable_extensions; do
6526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6537 LIPO
=$ac_cv_prog_LIPO
6538 if test -n
"$LIPO"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6540 $as_echo "$LIPO" >&6; }
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6548 if test -z
"$ac_cv_prog_LIPO"; then
6550 # Extract the first word of "lipo", so it can be a program name with args.
6551 set dummy lipo
; ac_word
=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6555 $as_echo_n "(cached) " >&6
6557 if test -n
"$ac_ct_LIPO"; then
6558 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6564 test -z
"$as_dir" && as_dir
=.
6565 for ac_exec_ext
in '' $ac_executable_extensions; do
6566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6567 ac_cv_prog_ac_ct_LIPO
="lipo"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6578 if test -n
"$ac_ct_LIPO"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6580 $as_echo "$ac_ct_LIPO" >&6; }
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6586 if test "x$ac_ct_LIPO" = x
; then
6589 case $cross_compiling:$ac_tool_warned in
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6593 ac_tool_warned
=yes ;;
6598 LIPO
="$ac_cv_prog_LIPO"
6601 if test -n
"$ac_tool_prefix"; then
6602 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6603 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 $as_echo_n "checking for $ac_word... " >&6; }
6606 if ${ac_cv_prog_OTOOL+:} false
; then :
6607 $as_echo_n "(cached) " >&6
6609 if test -n
"$OTOOL"; then
6610 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6616 test -z
"$as_dir" && as_dir
=.
6617 for ac_exec_ext
in '' $ac_executable_extensions; do
6618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6619 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 OTOOL
=$ac_cv_prog_OTOOL
6630 if test -n
"$OTOOL"; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6632 $as_echo "$OTOOL" >&6; }
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 $as_echo "no" >&6; }
6640 if test -z
"$ac_cv_prog_OTOOL"; then
6642 # Extract the first word of "otool", so it can be a program name with args.
6643 set dummy otool
; ac_word
=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6647 $as_echo_n "(cached) " >&6
6649 if test -n
"$ac_ct_OTOOL"; then
6650 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6656 test -z
"$as_dir" && as_dir
=.
6657 for ac_exec_ext
in '' $ac_executable_extensions; do
6658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_ac_ct_OTOOL
="otool"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6670 if test -n
"$ac_ct_OTOOL"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6672 $as_echo "$ac_ct_OTOOL" >&6; }
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6678 if test "x$ac_ct_OTOOL" = x
; then
6681 case $cross_compiling:$ac_tool_warned in
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6685 ac_tool_warned
=yes ;;
6690 OTOOL
="$ac_cv_prog_OTOOL"
6693 if test -n
"$ac_tool_prefix"; then
6694 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6695 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697 $as_echo_n "checking for $ac_word... " >&6; }
6698 if ${ac_cv_prog_OTOOL64+:} false
; then :
6699 $as_echo_n "(cached) " >&6
6701 if test -n
"$OTOOL64"; then
6702 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6708 test -z
"$as_dir" && as_dir
=.
6709 for ac_exec_ext
in '' $ac_executable_extensions; do
6710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6711 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 OTOOL64
=$ac_cv_prog_OTOOL64
6722 if test -n
"$OTOOL64"; then
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6724 $as_echo "$OTOOL64" >&6; }
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727 $as_echo "no" >&6; }
6732 if test -z
"$ac_cv_prog_OTOOL64"; then
6733 ac_ct_OTOOL64
=$OTOOL64
6734 # Extract the first word of "otool64", so it can be a program name with args.
6735 set dummy otool64
; ac_word
=$2
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737 $as_echo_n "checking for $ac_word... " >&6; }
6738 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6739 $as_echo_n "(cached) " >&6
6741 if test -n
"$ac_ct_OTOOL64"; then
6742 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6748 test -z
"$as_dir" && as_dir
=.
6749 for ac_exec_ext
in '' $ac_executable_extensions; do
6750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6761 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6762 if test -n
"$ac_ct_OTOOL64"; then
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6764 $as_echo "$ac_ct_OTOOL64" >&6; }
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 $as_echo "no" >&6; }
6770 if test "x$ac_ct_OTOOL64" = x
; then
6773 case $cross_compiling:$ac_tool_warned in
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6777 ac_tool_warned
=yes ;;
6779 OTOOL64
=$ac_ct_OTOOL64
6782 OTOOL64
="$ac_cv_prog_OTOOL64"
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6812 $as_echo_n "checking for -single_module linker flag... " >&6; }
6813 if ${lt_cv_apple_cc_single_mod+:} false
; then :
6814 $as_echo_n "(cached) " >&6
6816 lt_cv_apple_cc_single_mod
=no
6817 if test -z
"${LT_MULTI_MODULE}"; then
6818 # By default we will add the -single_module flag. You can override
6819 # by either setting the environment variable LT_MULTI_MODULE
6820 # non-empty at configure time, or by adding -multi_module to the
6822 rm -rf libconftest.dylib
*
6823 echo "int foo(void){return 1;}" > conftest.c
6824 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6825 -dynamiclib -Wl,-single_module conftest.c" >&5
6826 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6827 -dynamiclib
-Wl
,-single_module conftest.c
2>conftest.err
6829 # If there is a non-empty error log, and "single_module"
6830 # appears in it, assume the flag caused a linker warning
6831 if test -s conftest.err
&& $GREP single_module conftest.err
; then
6832 cat conftest.err
>&5
6833 # Otherwise, if the output was created with a 0 exit code from
6834 # the compiler, it worked.
6835 elif test -f libconftest.dylib
&& test $_lt_result -eq
0; then
6836 lt_cv_apple_cc_single_mod
=yes
6838 cat conftest.err
>&5
6840 rm -rf libconftest.dylib
*
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6845 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6848 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6849 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
6850 $as_echo_n "(cached) " >&6
6852 lt_cv_ld_exported_symbols_list
=no
6853 save_LDFLAGS
=$LDFLAGS
6854 echo "_main" > conftest.sym
6855 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6857 /* end confdefs.h. */
6867 if ac_fn_c_try_link
"$LINENO"; then :
6868 lt_cv_ld_exported_symbols_list
=yes
6870 lt_cv_ld_exported_symbols_list
=no
6872 rm -f core conftest.err conftest.
$ac_objext \
6873 conftest
$ac_exeext conftest.
$ac_ext
6874 LDFLAGS
="$save_LDFLAGS"
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6878 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6881 $as_echo_n "checking for -force_load linker flag... " >&6; }
6882 if ${lt_cv_ld_force_load+:} false
; then :
6883 $as_echo_n "(cached) " >&6
6885 lt_cv_ld_force_load
=no
6886 cat > conftest.c
<< _LT_EOF
6887 int forced_loaded() { return 2;}
6889 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6890 $LTCC $LTCFLAGS -c
-o conftest.o conftest.c
2>&5
6891 echo "$AR cru libconftest.a conftest.o" >&5
6892 $AR cru libconftest.a conftest.o
2>&5
6893 echo "$RANLIB libconftest.a" >&5
6894 $RANLIB libconftest.a
2>&5
6895 cat > conftest.c
<< _LT_EOF
6896 int main() { return 0;}
6898 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6899 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl
,-force_load
,.
/libconftest.a
2>conftest.err
6901 if test -s conftest.err
&& $GREP force_load conftest.err
; then
6902 cat conftest.err
>&5
6903 elif test -f conftest
&& test $_lt_result -eq
0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
6904 lt_cv_ld_force_load
=yes
6906 cat conftest.err
>&5
6908 rm -f conftest.err libconftest.a conftest conftest.c
6909 rm -rf conftest.dSYM
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6913 $as_echo "$lt_cv_ld_force_load" >&6; }
6915 rhapsody
* | darwin1.
[012])
6916 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6918 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6919 darwin
*) # darwin 5.x on
6920 # if running on 10.5 or later, the deployment target defaults
6921 # to the OS version, if on x86, and 10.4, the deployment
6922 # target defaults to 10.4. Don't you love it?
6923 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6924 10.0,*86*-darwin8
*|
10.0,*-darwin
[91]*)
6925 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6927 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6929 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6933 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6934 _lt_dar_single_mod
='$single_module'
6936 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6937 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6939 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6941 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6942 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6950 ac_cpp
='$CPP $CPPFLAGS'
6951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6955 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6956 # On Suns, sometimes $CPP names a directory.
6957 if test -n
"$CPP" && test -d
"$CPP"; then
6960 if test -z
"$CPP"; then
6961 if ${ac_cv_prog_CPP+:} false
; then :
6962 $as_echo_n "(cached) " >&6
6964 # Double quotes because CPP needs to be expanded
6965 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6968 for ac_c_preproc_warn_flag
in '' yes
6970 # Use a header file that comes with gcc, so configuring glibc
6971 # with a fresh cross-compiler works.
6972 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6973 # <limits.h> exists even on freestanding compilers.
6974 # On the NeXT, cc -E runs the code through the compiler's parser,
6975 # not just through cpp. "Syntax error" is here to catch this case.
6976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6977 /* end confdefs.h. */
6979 # include <limits.h>
6981 # include <assert.h>
6985 if ac_fn_c_try_cpp
"$LINENO"; then :
6988 # Broken: fails on valid input.
6991 rm -f conftest.err conftest.i conftest.
$ac_ext
6993 # OK, works on sane cases. Now check whether nonexistent headers
6994 # can be detected and how.
6995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6996 /* end confdefs.h. */
6997 #include <ac_nonexistent.h>
6999 if ac_fn_c_try_cpp
"$LINENO"; then :
7000 # Broken: success on invalid input.
7003 # Passes both tests.
7007 rm -f conftest.err conftest.i conftest.
$ac_ext
7010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7011 rm -f conftest.i conftest.err conftest.
$ac_ext
7012 if $ac_preproc_ok; then :
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7025 $as_echo "$CPP" >&6; }
7027 for ac_c_preproc_warn_flag
in '' yes
7029 # Use a header file that comes with gcc, so configuring glibc
7030 # with a fresh cross-compiler works.
7031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7032 # <limits.h> exists even on freestanding compilers.
7033 # On the NeXT, cc -E runs the code through the compiler's parser,
7034 # not just through cpp. "Syntax error" is here to catch this case.
7035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7036 /* end confdefs.h. */
7038 # include <limits.h>
7040 # include <assert.h>
7044 if ac_fn_c_try_cpp
"$LINENO"; then :
7047 # Broken: fails on valid input.
7050 rm -f conftest.err conftest.i conftest.
$ac_ext
7052 # OK, works on sane cases. Now check whether nonexistent headers
7053 # can be detected and how.
7054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7055 /* end confdefs.h. */
7056 #include <ac_nonexistent.h>
7058 if ac_fn_c_try_cpp
"$LINENO"; then :
7059 # Broken: success on invalid input.
7062 # Passes both tests.
7066 rm -f conftest.err conftest.i conftest.
$ac_ext
7069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7070 rm -f conftest.i conftest.err conftest.
$ac_ext
7071 if $ac_preproc_ok; then :
7074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7076 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7077 See \`config.log' for more details" "$LINENO" 5; }
7081 ac_cpp
='$CPP $CPPFLAGS'
7082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7088 $as_echo_n "checking for ANSI C header files... " >&6; }
7089 if ${ac_cv_header_stdc+:} false
; then :
7090 $as_echo_n "(cached) " >&6
7092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7093 /* end confdefs.h. */
7107 if ac_fn_c_try_compile
"$LINENO"; then :
7108 ac_cv_header_stdc
=yes
7110 ac_cv_header_stdc
=no
7112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7114 if test $ac_cv_header_stdc = yes; then
7115 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7117 /* end confdefs.h. */
7121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7122 $EGREP "memchr" >/dev
/null
2>&1; then :
7125 ac_cv_header_stdc
=no
7131 if test $ac_cv_header_stdc = yes; then
7132 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7134 /* end confdefs.h. */
7138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7139 $EGREP "free" >/dev
/null
2>&1; then :
7142 ac_cv_header_stdc
=no
7148 if test $ac_cv_header_stdc = yes; then
7149 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7150 if test "$cross_compiling" = yes; then :
7153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7154 /* end confdefs.h. */
7157 #if ((' ' & 0x0FF) == 0x020)
7158 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7159 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7161 # define ISLOWER(c) \
7162 (('a' <= (c) && (c) <= 'i') \
7163 || ('j' <= (c) && (c) <= 'r') \
7164 || ('s' <= (c) && (c) <= 'z'))
7165 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7168 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7173 for (i = 0; i < 256; i++)
7174 if (XOR (islower (i), ISLOWER (i))
7175 || toupper (i) != TOUPPER (i))
7180 if ac_fn_c_try_run
"$LINENO"; then :
7183 ac_cv_header_stdc
=no
7185 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7186 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7192 $as_echo "$ac_cv_header_stdc" >&6; }
7193 if test $ac_cv_header_stdc = yes; then
7195 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7199 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7200 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7201 inttypes.h stdint.h unistd.h
7203 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7204 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7206 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7207 cat >>confdefs.h
<<_ACEOF
7208 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7216 for ac_header
in dlfcn.h
7218 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7220 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7221 cat >>confdefs.h
<<_ACEOF
7222 #define HAVE_DLFCN_H 1
7243 # Check whether --enable-shared was given.
7244 if test "${enable_shared+set}" = set; then :
7245 enableval
=$enable_shared; p
=${PACKAGE-default}
7247 yes) enable_shared
=yes ;;
7248 no
) enable_shared
=no
;;
7251 # Look at the argument we got. We use all the common list separators.
7252 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7253 for pkg
in $enableval; do
7255 if test "X$pkg" = "X$p"; then
7274 # Check whether --enable-static was given.
7275 if test "${enable_static+set}" = set; then :
7276 enableval
=$enable_static; p
=${PACKAGE-default}
7278 yes) enable_static
=yes ;;
7279 no
) enable_static
=no
;;
7282 # Look at the argument we got. We use all the common list separators.
7283 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7284 for pkg
in $enableval; do
7286 if test "X$pkg" = "X$p"; then
7306 # Check whether --with-pic was given.
7307 if test "${with_pic+set}" = set; then :
7308 withval
=$with_pic; lt_p
=${PACKAGE-default}
7310 yes|no
) pic_mode
=$withval ;;
7313 # Look at the argument we got. We use all the common list separators.
7314 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7315 for lt_pkg
in $withval; do
7317 if test "X$lt_pkg" = "X$lt_p"; then
7329 test -z
"$pic_mode" && pic_mode
=default
7337 # Check whether --enable-fast-install was given.
7338 if test "${enable_fast_install+set}" = set; then :
7339 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7341 yes) enable_fast_install
=yes ;;
7342 no
) enable_fast_install
=no
;;
7344 enable_fast_install
=no
7345 # Look at the argument we got. We use all the common list separators.
7346 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7347 for pkg
in $enableval; do
7349 if test "X$pkg" = "X$p"; then
7350 enable_fast_install
=yes
7357 enable_fast_install
=yes
7370 # This can be used to rebuild libtool when needed
7371 LIBTOOL_DEPS
="$ltmain"
7373 # Always use our own libtool.
7374 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7405 test -z
"$LN_S" && LN_S
="ln -s"
7420 if test -n
"${ZSH_VERSION+set}" ; then
7421 setopt NO_GLOB_SUBST
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7425 $as_echo_n "checking for objdir... " >&6; }
7426 if ${lt_cv_objdir+:} false
; then :
7427 $as_echo_n "(cached) " >&6
7429 rm -f .libs
2>/dev
/null
7430 mkdir .libs
2>/dev
/null
7431 if test -d .libs
; then
7434 # MS-DOS does not allow filenames that begin with a dot.
7437 rmdir .libs
2>/dev
/null
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7440 $as_echo "$lt_cv_objdir" >&6; }
7441 objdir
=$lt_cv_objdir
7447 cat >>confdefs.h
<<_ACEOF
7448 #define LT_OBJDIR "$lt_cv_objdir/"
7456 # AIX sometimes has problems with the GCC collect2 program. For some
7457 # reason, if we set the COLLECT_NAMES environment variable, the problems
7458 # vanish in a puff of smoke.
7459 if test "X${COLLECT_NAMES+set}" != Xset
; then
7461 export COLLECT_NAMES
7468 can_build_shared
=yes
7470 # All known linkers require a `.a' archive for static linking (except MSVC,
7471 # which needs '.lib').
7474 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7477 old_CFLAGS
="$CFLAGS"
7479 # Set sane defaults for various variables
7480 test -z
"$CC" && CC
=cc
7481 test -z
"$LTCC" && LTCC
=$CC
7482 test -z
"$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7483 test -z
"$LD" && LD
=ld
7484 test -z
"$ac_objext" && ac_objext
=o
7486 for cc_temp
in $compiler""; do
7488 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7489 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7494 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7497 # Only perform the check for file, if the check method requires it
7498 test -z
"$MAGIC_CMD" && MAGIC_CMD
=file
7499 case $deplibs_check_method in
7501 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7503 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7504 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7505 $as_echo_n "(cached) " >&6
7509 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7512 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7513 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7514 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7515 for ac_dir
in $ac_dummy; do
7517 test -z
"$ac_dir" && ac_dir
=.
7518 if test -f
$ac_dir/${ac_tool_prefix}file; then
7519 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7520 if test -n
"$file_magic_test_file"; then
7521 case $deplibs_check_method in
7523 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7524 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7525 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7526 $EGREP "$file_magic_regex" > /dev
/null
; then
7531 *** Warning: the command libtool uses to detect shared libraries,
7532 *** $file_magic_cmd, produces output that libtool cannot recognize.
7533 *** The result is that libtool may fail to recognize shared libraries
7534 *** as such. This will affect the creation of libtool libraries that
7535 *** depend on shared libraries, but programs linked with such libtool
7536 *** libraries will work regardless of this problem. Nevertheless, you
7537 *** may want to report the problem to your system manager and/or to
7538 *** bug-libtool@gnu.org
7548 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7553 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7554 if test -n
"$MAGIC_CMD"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7556 $as_echo "$MAGIC_CMD" >&6; }
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7566 if test -z
"$lt_cv_path_MAGIC_CMD"; then
7567 if test -n
"$ac_tool_prefix"; then
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7569 $as_echo_n "checking for file... " >&6; }
7570 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7571 $as_echo_n "(cached) " >&6
7575 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7578 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7579 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7580 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7581 for ac_dir
in $ac_dummy; do
7583 test -z
"$ac_dir" && ac_dir
=.
7584 if test -f
$ac_dir/file; then
7585 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7586 if test -n
"$file_magic_test_file"; then
7587 case $deplibs_check_method in
7589 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7590 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7591 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7592 $EGREP "$file_magic_regex" > /dev
/null
; then
7597 *** Warning: the command libtool uses to detect shared libraries,
7598 *** $file_magic_cmd, produces output that libtool cannot recognize.
7599 *** The result is that libtool may fail to recognize shared libraries
7600 *** as such. This will affect the creation of libtool libraries that
7601 *** depend on shared libraries, but programs linked with such libtool
7602 *** libraries will work regardless of this problem. Nevertheless, you
7603 *** may want to report the problem to your system manager and/or to
7604 *** bug-libtool@gnu.org
7614 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7619 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7620 if test -n
"$MAGIC_CMD"; then
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7622 $as_echo "$MAGIC_CMD" >&6; }
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7625 $as_echo "no" >&6; }
7638 # Use C for the default configuration in the libtool script
7642 ac_cpp
='$CPP $CPPFLAGS'
7643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7648 # Source file extension for C test sources.
7651 # Object file extension for compiled C test sources.
7655 # Code to be used in simple compile tests
7656 lt_simple_compile_test_code
="int some_variable = 0;"
7658 # Code to be used in simple link tests
7659 lt_simple_link_test_code
='int main(){return(0);}'
7667 # If no C compiler was specified, use CC.
7670 # If no C compiler flags were specified, use CFLAGS.
7671 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7673 # Allow CC to be a program name with arguments.
7676 # Save the default compiler, since it gets overwritten when the other
7677 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7678 compiler_DEFAULT
=$CC
7680 # save warnings/boilerplate of simple test code
7681 ac_outfile
=conftest.
$ac_objext
7682 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7683 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7684 _lt_compiler_boilerplate
=`cat conftest.err`
7687 ac_outfile
=conftest.
$ac_objext
7688 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7689 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7690 _lt_linker_boilerplate
=`cat conftest.err`
7694 if test -n
"$compiler"; then
7696 lt_prog_compiler_no_builtin_flag
=
7698 if test "$GCC" = yes; then
7699 case $cc_basename in
7701 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7703 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7707 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7708 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7709 $as_echo_n "(cached) " >&6
7711 lt_cv_prog_compiler_rtti_exceptions
=no
7712 ac_outfile
=conftest.
$ac_objext
7713 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7714 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7715 # Insert the option either (1) after the last *FLAGS variable, or
7716 # (2) before a word containing "conftest.", or (3) at the end.
7717 # Note that $ac_compile itself does not contain backslashes and begins
7718 # with a dollar sign (not a hyphen), so the echo should work correctly.
7719 # The option is referenced via a variable to avoid confusing sed.
7720 lt_compile
=`echo "$ac_compile" | $SED \
7721 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7723 -e 's:$: $lt_compiler_flag:'`
7724 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7725 (eval "$lt_compile" 2>conftest.err
)
7727 cat conftest.err
>&5
7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729 if (exit $ac_status) && test -s
"$ac_outfile"; then
7730 # The compiler can only warn and ignore the option if not recognized
7731 # So say no if there are warnings other than the usual output.
7732 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7733 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7734 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7735 lt_cv_prog_compiler_rtti_exceptions
=yes
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7742 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7744 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7745 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7757 lt_prog_compiler_wl
=
7758 lt_prog_compiler_pic
=
7759 lt_prog_compiler_static
=
7762 if test "$GCC" = yes; then
7763 lt_prog_compiler_wl
='-Wl,'
7764 lt_prog_compiler_static
='-static'
7768 # All AIX code is PIC.
7769 if test "$host_cpu" = ia64
; then
7770 # AIX 5 now supports IA64 processor
7771 lt_prog_compiler_static
='-Bstatic'
7778 # see comment about AmigaOS4 .so support
7779 lt_prog_compiler_pic
='-fPIC'
7782 # FIXME: we need at least 68020 code to build shared libraries, but
7783 # adding the `-m68020' flag to GCC prevents building anything better,
7785 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7790 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7791 # PIC is the default for these OSes.
7794 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7795 # This hack is so that the source file can tell whether it is being
7796 # built for inclusion in a dll (and should export symbols for example).
7797 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7798 # (--disable-auto-import) libraries
7799 lt_prog_compiler_pic
='-DDLL_EXPORT'
7802 darwin
* | rhapsody
*)
7803 # PIC is the default on this platform
7804 # Common symbols not allowed in MH_DYLIB files
7805 lt_prog_compiler_pic
='-fno-common'
7809 # PIC is the default for Haiku.
7810 # The "-static" flag exists, but is broken.
7811 lt_prog_compiler_static
=
7815 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7816 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7817 # sets the default TLS model and affects inlining.
7823 lt_prog_compiler_pic
='-fPIC'
7829 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7830 # Instead, we relocate shared libraries at runtime.
7834 # Just because we use GCC doesn't mean we suddenly get shared libraries
7835 # on systems that don't support them.
7836 lt_prog_compiler_can_build_shared
=no
7841 # QNX uses GNU C++, but need to define -shared option too, otherwise
7843 lt_prog_compiler_pic
='-fPIC -shared'
7847 if test -d
/usr
/nec
; then
7848 lt_prog_compiler_pic
=-Kconform_pic
7853 lt_prog_compiler_pic
='-fPIC'
7857 case $cc_basename in
7858 nvcc
*) # Cuda Compiler Driver 2.2
7859 lt_prog_compiler_wl
='-Xlinker '
7860 if test -n
"$lt_prog_compiler_pic"; then
7861 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
7866 # PORTME Check for flag to pass linker flags through the system compiler.
7869 lt_prog_compiler_wl
='-Wl,'
7870 if test "$host_cpu" = ia64
; then
7871 # AIX 5 now supports IA64 processor
7872 lt_prog_compiler_static
='-Bstatic'
7874 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7878 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7879 # This hack is so that the source file can tell whether it is being
7880 # built for inclusion in a dll (and should export symbols for example).
7881 lt_prog_compiler_pic
='-DDLL_EXPORT'
7884 hpux9
* | hpux10
* | hpux11
*)
7885 lt_prog_compiler_wl
='-Wl,'
7886 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7893 lt_prog_compiler_pic
='+Z'
7896 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7897 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7900 irix5
* | irix6
* | nonstopux
*)
7901 lt_prog_compiler_wl
='-Wl,'
7902 # PIC (with -KPIC) is the default.
7903 lt_prog_compiler_static
='-non_shared'
7906 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
7907 case $cc_basename in
7908 # old Intel for x86_64 which still supported -KPIC.
7910 lt_prog_compiler_wl
='-Wl,'
7911 lt_prog_compiler_pic
='-KPIC'
7912 lt_prog_compiler_static
='-static'
7914 # icc used to be incompatible with GCC.
7915 # ICC 10 doesn't accept -KPIC any more.
7917 lt_prog_compiler_wl
='-Wl,'
7918 lt_prog_compiler_pic
='-fPIC'
7919 lt_prog_compiler_static
='-static'
7921 # Lahey Fortran 8.1.
7923 lt_prog_compiler_wl
='-Wl,'
7924 lt_prog_compiler_pic
='--shared'
7925 lt_prog_compiler_static
='--static'
7928 # NAG Fortran compiler
7929 lt_prog_compiler_wl
='-Wl,-Wl,,'
7930 lt_prog_compiler_pic
='-PIC'
7931 lt_prog_compiler_static
='-Bstatic'
7933 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7934 # Portland Group compilers (*not* the Pentium gcc compiler,
7935 # which looks to be a dead project)
7936 lt_prog_compiler_wl
='-Wl,'
7937 lt_prog_compiler_pic
='-fpic'
7938 lt_prog_compiler_static
='-Bstatic'
7941 lt_prog_compiler_wl
='-Wl,'
7942 # All Alpha code is PIC.
7943 lt_prog_compiler_static
='-non_shared'
7945 xl
* | bgxl
* | bgf
* | mpixl
*)
7946 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7947 lt_prog_compiler_wl
='-Wl,'
7948 lt_prog_compiler_pic
='-qpic'
7949 lt_prog_compiler_static
='-qstaticlink'
7952 case `$CC -V 2>&1 | sed 5q` in
7953 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
7954 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7955 lt_prog_compiler_pic
='-KPIC'
7956 lt_prog_compiler_static
='-Bstatic'
7957 lt_prog_compiler_wl
=''
7959 *Sun\ F
* |
*Sun
*Fortran
*)
7960 lt_prog_compiler_pic
='-KPIC'
7961 lt_prog_compiler_static
='-Bstatic'
7962 lt_prog_compiler_wl
='-Qoption ld '
7966 lt_prog_compiler_pic
='-KPIC'
7967 lt_prog_compiler_static
='-Bstatic'
7968 lt_prog_compiler_wl
='-Wl,'
7970 *Intel
*\
[CF
]*Compiler
*)
7971 lt_prog_compiler_wl
='-Wl,'
7972 lt_prog_compiler_pic
='-fPIC'
7973 lt_prog_compiler_static
='-static'
7976 lt_prog_compiler_wl
='-Wl,'
7977 lt_prog_compiler_pic
='-fpic'
7978 lt_prog_compiler_static
='-Bstatic'
7986 lt_prog_compiler_pic
='-KPIC'
7987 lt_prog_compiler_static
='-Bstatic'
7991 # QNX uses GNU C++, but need to define -shared option too, otherwise
7993 lt_prog_compiler_pic
='-fPIC -shared'
7996 osf3
* | osf4
* | osf5
*)
7997 lt_prog_compiler_wl
='-Wl,'
7998 # All OSF/1 code is PIC.
7999 lt_prog_compiler_static
='-non_shared'
8003 lt_prog_compiler_static
='-non_shared'
8007 lt_prog_compiler_pic
='-KPIC'
8008 lt_prog_compiler_static
='-Bstatic'
8009 case $cc_basename in
8010 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8011 lt_prog_compiler_wl
='-Qoption ld ';;
8013 lt_prog_compiler_wl
='-Wl,';;
8018 lt_prog_compiler_wl
='-Qoption ld '
8019 lt_prog_compiler_pic
='-PIC'
8020 lt_prog_compiler_static
='-Bstatic'
8023 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8024 lt_prog_compiler_wl
='-Wl,'
8025 lt_prog_compiler_pic
='-KPIC'
8026 lt_prog_compiler_static
='-Bstatic'
8030 if test -d
/usr
/nec
;then
8031 lt_prog_compiler_pic
='-Kconform_pic'
8032 lt_prog_compiler_static
='-Bstatic'
8036 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8037 lt_prog_compiler_wl
='-Wl,'
8038 lt_prog_compiler_pic
='-KPIC'
8039 lt_prog_compiler_static
='-Bstatic'
8043 lt_prog_compiler_wl
='-Wl,'
8044 lt_prog_compiler_can_build_shared
=no
8048 lt_prog_compiler_pic
='-pic'
8049 lt_prog_compiler_static
='-Bstatic'
8053 lt_prog_compiler_can_build_shared
=no
8059 # For platforms which do not support PIC, -DPIC is meaningless:
8061 lt_prog_compiler_pic
=
8064 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8069 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8070 if ${lt_cv_prog_compiler_pic+:} false
; then :
8071 $as_echo_n "(cached) " >&6
8073 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8076 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8077 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8080 # Check to make sure the PIC flag actually works.
8082 if test -n
"$lt_prog_compiler_pic"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8084 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8085 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8086 $as_echo_n "(cached) " >&6
8088 lt_cv_prog_compiler_pic_works
=no
8089 ac_outfile
=conftest.
$ac_objext
8090 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8091 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8092 # Insert the option either (1) after the last *FLAGS variable, or
8093 # (2) before a word containing "conftest.", or (3) at the end.
8094 # Note that $ac_compile itself does not contain backslashes and begins
8095 # with a dollar sign (not a hyphen), so the echo should work correctly.
8096 # The option is referenced via a variable to avoid confusing sed.
8097 lt_compile
=`echo "$ac_compile" | $SED \
8098 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8099 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8100 -e 's:$: $lt_compiler_flag:'`
8101 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8102 (eval "$lt_compile" 2>conftest.err
)
8104 cat conftest.err
>&5
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 if (exit $ac_status) && test -s
"$ac_outfile"; then
8107 # The compiler can only warn and ignore the option if not recognized
8108 # So say no if there are warnings other than the usual output.
8109 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8110 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8111 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8112 lt_cv_prog_compiler_pic_works
=yes
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8119 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8121 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8122 case $lt_prog_compiler_pic in
8124 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8127 lt_prog_compiler_pic
=
8128 lt_prog_compiler_can_build_shared
=no
8144 # Check to make sure the static flag actually works.
8146 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8148 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8149 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8150 $as_echo_n "(cached) " >&6
8152 lt_cv_prog_compiler_static_works
=no
8153 save_LDFLAGS
="$LDFLAGS"
8154 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8155 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8156 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8157 # The linker can only warn and ignore the option if not recognized
8158 # So say no if there are warnings
8159 if test -s conftest.err
; then
8160 # Append any errors to the config.log.
8161 cat conftest.err
1>&5
8162 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8163 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8164 if diff conftest.exp conftest.er2
>/dev
/null
; then
8165 lt_cv_prog_compiler_static_works
=yes
8168 lt_cv_prog_compiler_static_works
=yes
8172 LDFLAGS
="$save_LDFLAGS"
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8176 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8178 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8181 lt_prog_compiler_static
=
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8191 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8192 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8193 $as_echo_n "(cached) " >&6
8195 lt_cv_prog_compiler_c_o
=no
8196 $RM -r conftest
2>/dev
/null
8200 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8202 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8203 # Insert the option either (1) after the last *FLAGS variable, or
8204 # (2) before a word containing "conftest.", or (3) at the end.
8205 # Note that $ac_compile itself does not contain backslashes and begins
8206 # with a dollar sign (not a hyphen), so the echo should work correctly.
8207 lt_compile
=`echo "$ac_compile" | $SED \
8208 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8209 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8210 -e 's:$: $lt_compiler_flag:'`
8211 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8212 (eval "$lt_compile" 2>out
/conftest.err
)
8214 cat out
/conftest.err
>&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8218 # The compiler can only warn and ignore the option if not recognized
8219 # So say no if there are warnings
8220 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8221 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8222 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8223 lt_cv_prog_compiler_c_o
=yes
8228 # SGI C++ compiler will create directory out/ii_files/ for
8229 # template instantiation
8230 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8231 $RM out
/* && rmdir out
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8238 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8246 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8247 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8248 $as_echo_n "(cached) " >&6
8250 lt_cv_prog_compiler_c_o
=no
8251 $RM -r conftest
2>/dev
/null
8255 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8257 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8258 # Insert the option either (1) after the last *FLAGS variable, or
8259 # (2) before a word containing "conftest.", or (3) at the end.
8260 # Note that $ac_compile itself does not contain backslashes and begins
8261 # with a dollar sign (not a hyphen), so the echo should work correctly.
8262 lt_compile
=`echo "$ac_compile" | $SED \
8263 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8264 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8265 -e 's:$: $lt_compiler_flag:'`
8266 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8267 (eval "$lt_compile" 2>out
/conftest.err
)
8269 cat out
/conftest.err
>&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8273 # The compiler can only warn and ignore the option if not recognized
8274 # So say no if there are warnings
8275 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8276 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8277 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8278 lt_cv_prog_compiler_c_o
=yes
8283 # SGI C++ compiler will create directory out/ii_files/ for
8284 # template instantiation
8285 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8286 $RM out
/* && rmdir out
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8293 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8298 hard_links
="nottested"
8299 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8300 # do not overwrite the value of need_locks provided by the user
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8302 $as_echo_n "checking if we can lock with hard links... " >&6; }
8305 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8307 ln conftest.a conftest.b
2>&5 || hard_links
=no
8308 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8310 $as_echo "$hard_links" >&6; }
8311 if test "$hard_links" = no
; then
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8313 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8326 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8329 allow_undefined_flag
=
8330 always_export_symbols
=no
8332 archive_expsym_cmds
=
8333 compiler_needs_object
=no
8334 enable_shared_with_static_runtimes
=no
8335 export_dynamic_flag_spec
=
8336 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8337 hardcode_automatic
=no
8339 hardcode_direct_absolute
=no
8340 hardcode_libdir_flag_spec
=
8341 hardcode_libdir_separator
=
8343 hardcode_shlibpath_var
=unsupported
8345 link_all_deplibs
=unknown
8348 old_archive_from_new_cmds
=
8349 old_archive_from_expsyms_cmds
=
8350 thread_safe_flag_spec
=
8351 whole_archive_flag_spec
=
8352 # include_expsyms should be a list of space-separated symbols to be *always*
8353 # included in the symbol list
8355 # exclude_expsyms can be an extended regexp of symbols to exclude
8356 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8357 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8358 # as well as any symbol that contains `d'.
8359 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8360 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8361 # platforms (ab)use it in PIC code, but their linkers get confused if
8362 # the symbol is explicitly referenced. Since portable code cannot
8363 # rely on this symbol name, it's probably fine to never include it in
8364 # preloaded symbol tables.
8365 # Exclude shared library initialization/finalization symbols.
8366 extract_expsyms_cmds
=
8369 cygwin
* | mingw
* | pw32
* | cegcc
*)
8370 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8371 # When not using gcc, we currently assume that we are using
8372 # Microsoft Visual C++.
8373 if test "$GCC" != yes; then
8378 # we just hope/assume this is gcc and not c89 (= MSVC++)
8384 linux
* | k
*bsd
*-gnu | gnu
*)
8391 # On some targets, GNU ld is compatible enough with the native linker
8392 # that we're better off using the native interface for both.
8393 lt_use_gnu_ld_interface
=no
8394 if test "$with_gnu_ld" = yes; then
8397 # The AIX port of GNU ld has always aspired to compatibility
8398 # with the native linker. However, as the warning in the GNU ld
8399 # block says, versions before 2.19.5* couldn't really create working
8400 # shared libraries, regardless of the interface used.
8401 case `$LD -v 2>&1` in
8402 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8403 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8404 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8406 lt_use_gnu_ld_interface
=yes
8411 lt_use_gnu_ld_interface
=yes
8416 if test "$lt_use_gnu_ld_interface" = yes; then
8417 # If archive_cmds runs LD, not CC, wlarc should be empty
8420 # Set some defaults for GNU ld with shared library support. These
8421 # are reset later if shared libraries are not supported. Putting them
8422 # here allows them to be overridden if necessary.
8423 runpath_var
=LD_RUN_PATH
8424 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8425 export_dynamic_flag_spec
='${wl}--export-dynamic'
8426 # ancient GNU ld didn't support --whole-archive et. al.
8427 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8428 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8430 whole_archive_flag_spec
=
8432 supports_anon_versioning
=no
8433 case `$LD -v 2>&1` in
8434 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8435 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8436 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8437 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8438 *\
2.11.
*) ;; # other 2.11 versions
8439 *) supports_anon_versioning
=yes ;;
8442 # See if GNU ld supports shared libraries.
8445 # On AIX/PPC, the GNU linker is very broken
8446 if test "$host_cpu" != ia64
; then
8450 *** Warning: the GNU linker, at least up to release 2.19, is reported
8451 *** to be unable to reliably create shared libraries on AIX.
8452 *** Therefore, libtool is disabling shared libraries support. If you
8453 *** really care for shared libraries, you may want to install binutils
8454 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8455 *** You will then need to restart the configuration process.
8464 # see comment about AmigaOS4 .so support
8465 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8466 archive_expsym_cmds
=''
8469 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)'
8470 hardcode_libdir_flag_spec
='-L$libdir'
8471 hardcode_minus_L
=yes
8477 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8478 allow_undefined_flag
=unsupported
8479 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8480 # support --undefined. This deserves some investigation. FIXME
8481 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8487 cygwin
* | mingw
* | pw32
* | cegcc
*)
8488 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8489 # as there is no search path for DLLs.
8490 hardcode_libdir_flag_spec
='-L$libdir'
8491 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8492 allow_undefined_flag
=unsupported
8493 always_export_symbols
=no
8494 enable_shared_with_static_runtimes
=yes
8495 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'
8496 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8498 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8499 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8500 # If the export-symbols file already is a .def file (1st line
8501 # is EXPORTS), use it as is; otherwise, prepend...
8502 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8503 cp $export_symbols $output_objdir/$soname.def;
8505 echo EXPORTS > $output_objdir/$soname.def;
8506 cat $export_symbols >> $output_objdir/$soname.def;
8508 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8515 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8516 link_all_deplibs
=yes
8521 hardcode_shlibpath_var
=no
8522 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8523 export_dynamic_flag_spec
='${wl}-E'
8524 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8525 # Instead, shared libraries are loaded at an image base (0x10000000 by
8526 # default) and relocated if they conflict, which is a slow very memory
8527 # consuming and fragmenting process. To avoid this, we pick a random,
8528 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8529 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8530 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8531 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'
8534 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu
)
8536 if test "$host_os" = linux-dietlibc
; then
8537 case $cc_basename in
8538 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8541 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8542 && test "$tmp_diet" = no
8544 tmp_addflag
=' $pic_flag'
8545 tmp_sharedflag
='-shared'
8546 case $cc_basename,$host_cpu in
8547 pgcc
*) # Portland Group C compiler
8548 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'
8549 tmp_addflag
=' $pic_flag'
8551 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8552 # Portland Group f77 and f90 compilers
8553 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'
8554 tmp_addflag
=' $pic_flag -Mnomain' ;;
8555 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8556 tmp_addflag
=' -i_dynamic' ;;
8557 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8558 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8559 ifc
* | ifort
*) # Intel Fortran compiler
8560 tmp_addflag
=' -nofor_main' ;;
8561 lf95
*) # Lahey Fortran 8.1
8562 whole_archive_flag_spec
=
8563 tmp_sharedflag
='--shared' ;;
8564 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8565 tmp_sharedflag
='-qmkshrobj'
8567 nvcc
*) # Cuda Compiler Driver 2.2
8568 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'
8569 compiler_needs_object
=yes
8572 case `$CC -V 2>&1 | sed 5q` in
8573 *Sun\ C
*) # Sun C 5.9
8574 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'
8575 compiler_needs_object
=yes
8576 tmp_sharedflag
='-G' ;;
8577 *Sun\ F
*) # Sun Fortran 8.3
8578 tmp_sharedflag
='-G' ;;
8580 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8582 if test "x$supports_anon_versioning" = xyes
; then
8583 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8584 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8585 echo "local: *; };" >> $output_objdir/$libname.ver~
8586 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8589 case $cc_basename in
8590 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8591 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8592 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8593 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8594 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8595 if test "x$supports_anon_versioning" = xyes
; then
8596 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8597 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8598 echo "local: *; };" >> $output_objdir/$libname.ver~
8599 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8608 netbsd
* | netbsdelf
*-gnu
)
8609 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
>/dev
/null
; then
8610 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8613 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8614 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8619 if $LD -v
2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8623 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8624 *** create shared libraries on Solaris systems. Therefore, libtool
8625 *** is disabling shared libraries support. We urge you to upgrade GNU
8626 *** binutils to release 2.9.1 or newer. Another option is to modify
8627 *** your PATH or compiler configuration so that the native linker is
8628 *** used, and then restart.
8631 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8632 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8633 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8639 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8640 case `$LD -v 2>&1` in
8641 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8645 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8646 *** reliably create shared libraries on SCO systems. Therefore, libtool
8647 *** is disabling shared libraries support. We urge you to upgrade GNU
8648 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8649 *** your PATH or compiler configuration so that the native linker is
8650 *** used, and then restart.
8655 # For security reasons, it is highly recommended that you always
8656 # use absolute paths for naming shared libraries, and exclude the
8657 # DT_RUNPATH tag from executables and libraries. But doing so
8658 # requires that you compile everything twice, which is a pain.
8659 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8660 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8661 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8662 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8671 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8674 hardcode_shlibpath_var
=no
8678 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8679 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8680 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8687 if test "$ld_shlibs" = no
; then
8689 hardcode_libdir_flag_spec
=
8690 export_dynamic_flag_spec
=
8691 whole_archive_flag_spec
=
8694 # PORTME fill in a description of your system's linker (not GNU ld)
8697 allow_undefined_flag
=unsupported
8698 always_export_symbols
=yes
8699 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'
8700 # Note: this linker hardcodes the directories in LIBPATH if there
8701 # are no directories specified by -L.
8702 hardcode_minus_L
=yes
8703 if test "$GCC" = yes && test -z
"$lt_prog_compiler_static"; then
8704 # Neither direct hardcoding nor static linking is supported with a
8706 hardcode_direct
=unsupported
8711 if test "$host_cpu" = ia64
; then
8712 # On IA64, the linker does run time linking by default, so we don't
8713 # have to do anything special.
8714 aix_use_runtimelinking
=no
8715 exp_sym_flag
='-Bexport'
8718 # If we're using GNU nm, then we don't want the "-C" option.
8719 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8720 # Also, AIX nm treats weak defined symbols like other global
8721 # defined symbols, whereas GNU nm marks them as "W".
8722 if $NM -V
2>&1 |
$GREP 'GNU' > /dev
/null
; then
8723 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8725 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8727 aix_use_runtimelinking
=no
8729 # Test if we are trying to use run time linking or normal
8730 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8731 # need to do runtime linking.
8732 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8733 for ld_flag
in $LDFLAGS; do
8734 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8735 aix_use_runtimelinking
=yes
8742 exp_sym_flag
='-bexport'
8743 no_entry_flag
='-bnoentry'
8746 # When large executables or shared objects are built, AIX ld can
8747 # have problems creating the table of contents. If linking a library
8748 # or program results in "error TOC overflow" add -mminimal-toc to
8749 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8750 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8754 hardcode_direct_absolute
=yes
8755 hardcode_libdir_separator
=':'
8756 link_all_deplibs
=yes
8757 file_list_spec
='${wl}-f,'
8759 if test "$GCC" = yes; then
8760 case $host_os in aix4.
[012]|aix4.
[012].
*)
8761 # We only want to do this on AIX 4.2 and lower, the check
8762 # below for broken collect2 doesn't work under 4.3+
8763 collect2name
=`${CC} -print-prog-name=collect2`
8764 if test -f
"$collect2name" &&
8765 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8767 # We have reworked collect2
8770 # We have old collect2
8771 hardcode_direct
=unsupported
8772 # It fails to find uninstalled libraries when the uninstalled
8773 # path is not listed in the libpath. Setting hardcode_minus_L
8774 # to unsupported forces relinking
8775 hardcode_minus_L
=yes
8776 hardcode_libdir_flag_spec
='-L$libdir'
8777 hardcode_libdir_separator
=
8781 shared_flag
='-shared'
8782 if test "$aix_use_runtimelinking" = yes; then
8783 shared_flag
="$shared_flag "'${wl}-G'
8788 if test "$host_cpu" = ia64
; then
8789 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8790 # chokes on -Wl,-G. The following line is correct:
8793 if test "$aix_use_runtimelinking" = yes; then
8794 shared_flag
='${wl}-G'
8796 shared_flag
='${wl}-bM:SRE'
8801 export_dynamic_flag_spec
='${wl}-bexpall'
8802 # It seems that -bexpall does not export symbols beginning with
8803 # underscore (_), so it is better to generate a list of symbols to export.
8804 always_export_symbols
=yes
8805 if test "$aix_use_runtimelinking" = yes; then
8806 # Warning - without using the other runtime loading flags (-brtl),
8807 # -berok will link without error, but may produce a broken library.
8808 allow_undefined_flag
='-berok'
8809 # Determine the default libpath from the value encoded in an
8811 if test "${lt_cv_aix_libpath+set}" = set; then
8812 aix_libpath
=$lt_cv_aix_libpath
8814 if ${lt_cv_aix_libpath_+:} false
; then :
8815 $as_echo_n "(cached) " >&6
8817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8828 if ac_fn_c_try_link
"$LINENO"; then :
8830 lt_aix_libpath_sed
='
8831 /Import File Strings/,/^$/ {
8833 s/^0 *\([^ ]*\) *$/\1/
8837 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8838 # Check for a 64-bit object if we didn't find anything.
8839 if test -z
"$lt_cv_aix_libpath_"; then
8840 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8843 rm -f core conftest.err conftest.
$ac_objext \
8844 conftest
$ac_exeext conftest.
$ac_ext
8845 if test -z
"$lt_cv_aix_libpath_"; then
8846 lt_cv_aix_libpath_
="/usr/lib:/lib"
8851 aix_libpath
=$lt_cv_aix_libpath_
8854 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8855 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8857 if test "$host_cpu" = ia64
; then
8858 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8859 allow_undefined_flag
="-z nodefs"
8860 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"
8862 # Determine the default libpath from the value encoded in an
8864 if test "${lt_cv_aix_libpath+set}" = set; then
8865 aix_libpath
=$lt_cv_aix_libpath
8867 if ${lt_cv_aix_libpath_+:} false
; then :
8868 $as_echo_n "(cached) " >&6
8870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8881 if ac_fn_c_try_link
"$LINENO"; then :
8883 lt_aix_libpath_sed
='
8884 /Import File Strings/,/^$/ {
8886 s/^0 *\([^ ]*\) *$/\1/
8890 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8891 # Check for a 64-bit object if we didn't find anything.
8892 if test -z
"$lt_cv_aix_libpath_"; then
8893 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8896 rm -f core conftest.err conftest.
$ac_objext \
8897 conftest
$ac_exeext conftest.
$ac_ext
8898 if test -z
"$lt_cv_aix_libpath_"; then
8899 lt_cv_aix_libpath_
="/usr/lib:/lib"
8904 aix_libpath
=$lt_cv_aix_libpath_
8907 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8908 # Warning - without using the other run time loading flags,
8909 # -berok will link without error, but may produce a broken library.
8910 no_undefined_flag
=' ${wl}-bernotok'
8911 allow_undefined_flag
=' ${wl}-berok'
8912 if test "$with_gnu_ld" = yes; then
8913 # We only use this code for GNU lds that support --whole-archive.
8914 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8916 # Exported symbols can be pulled into shared objects from archives
8917 whole_archive_flag_spec
='$convenience'
8919 archive_cmds_need_lc
=yes
8920 # This is similar to how AIX traditionally builds its shared libraries.
8921 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8929 # see comment about AmigaOS4 .so support
8930 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8931 archive_expsym_cmds
=''
8934 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)'
8935 hardcode_libdir_flag_spec
='-L$libdir'
8936 hardcode_minus_L
=yes
8942 export_dynamic_flag_spec
=-rdynamic
8945 cygwin
* | mingw
* | pw32
* | cegcc
*)
8946 # When not using gcc, we currently assume that we are using
8947 # Microsoft Visual C++.
8948 # hardcode_libdir_flag_spec is actually meaningless, as there is
8949 # no search path for DLLs.
8950 case $cc_basename in
8953 hardcode_libdir_flag_spec
=' '
8954 allow_undefined_flag
=unsupported
8955 always_export_symbols
=yes
8957 # Tell ltmain to make .lib files, not .a files.
8959 # Tell ltmain to make .dll files, not .so files.
8961 # FIXME: Setting linknames here is a bad hack.
8962 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8963 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8964 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link
\\\
-EXPORT
:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
8966 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link
\\\
-EXPORT
:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
8968 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8970 # The linker will not automatically build a static lib if we build a DLL.
8971 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8972 enable_shared_with_static_runtimes
=yes
8973 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
8974 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8976 old_postinstall_cmds
='chmod 644 $oldlib'
8977 postlink_cmds
='lt_outputfile="@OUTPUT@"~
8978 lt_tool_outputfile="@TOOL_OUTPUT@"~
8979 case $lt_outputfile in
8982 lt_outputfile="$lt_outputfile.exe"
8983 lt_tool_outputfile="$lt_tool_outputfile.exe"
8986 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8987 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8988 $RM "$lt_outputfile.manifest";
8992 # Assume MSVC wrapper
8993 hardcode_libdir_flag_spec
=' '
8994 allow_undefined_flag
=unsupported
8995 # Tell ltmain to make .lib files, not .a files.
8997 # Tell ltmain to make .dll files, not .so files.
8999 # FIXME: Setting linknames here is a bad hack.
9000 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9001 # The linker will automatically build a .lib file if we build a DLL.
9002 old_archive_from_new_cmds
='true'
9003 # FIXME: Should let the user specify the lib program.
9004 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9005 enable_shared_with_static_runtimes
=yes
9010 darwin
* | rhapsody
*)
9013 archive_cmds_need_lc
=no
9015 hardcode_automatic
=yes
9016 hardcode_shlibpath_var
=unsupported
9017 if test "$lt_cv_ld_force_load" = "yes"; then
9018 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\"`'
9021 whole_archive_flag_spec
=''
9023 link_all_deplibs
=yes
9024 allow_undefined_flag
="$_lt_dar_allow_undefined"
9025 case $cc_basename in
9026 ifort
*) _lt_dar_can_shared
=yes ;;
9027 *) _lt_dar_can_shared
=$GCC ;;
9029 if test "$_lt_dar_can_shared" = "yes"; then
9030 output_verbose_link_cmd
=func_echo_all
9031 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9032 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9033 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}"
9034 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}"
9043 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9044 hardcode_libdir_flag_spec
='-L$libdir'
9045 hardcode_shlibpath_var
=no
9048 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9049 # support. Future versions do this automatically, but an explicit c++rt0.o
9050 # does not break anything, and helps significantly (at the cost of a little
9053 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9054 hardcode_libdir_flag_spec
='-R$libdir'
9056 hardcode_shlibpath_var
=no
9059 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9061 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9063 hardcode_minus_L
=yes
9064 hardcode_shlibpath_var
=no
9067 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9068 freebsd
* | dragonfly
*)
9069 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9070 hardcode_libdir_flag_spec
='-R$libdir'
9072 hardcode_shlibpath_var
=no
9076 if test "$GCC" = yes; then
9077 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9079 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9081 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9082 hardcode_libdir_separator
=:
9085 # hardcode_minus_L: Not really in the search PATH,
9086 # but as the default location of the library.
9087 hardcode_minus_L
=yes
9088 export_dynamic_flag_spec
='${wl}-E'
9092 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9093 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9095 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9097 if test "$with_gnu_ld" = no
; then
9098 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9099 hardcode_libdir_separator
=:
9101 hardcode_direct_absolute
=yes
9102 export_dynamic_flag_spec
='${wl}-E'
9103 # hardcode_minus_L: Not really in the search PATH,
9104 # but as the default location of the library.
9105 hardcode_minus_L
=yes
9110 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9113 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9116 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9119 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9125 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9128 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9132 # Older versions of the 11.00 compiler do not understand -b yet
9133 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9135 $as_echo_n "checking if $CC understands -b... " >&6; }
9136 if ${lt_cv_prog_compiler__b+:} false
; then :
9137 $as_echo_n "(cached) " >&6
9139 lt_cv_prog_compiler__b
=no
9140 save_LDFLAGS
="$LDFLAGS"
9141 LDFLAGS
="$LDFLAGS -b"
9142 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9143 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9144 # The linker can only warn and ignore the option if not recognized
9145 # So say no if there are warnings
9146 if test -s conftest.err
; then
9147 # Append any errors to the config.log.
9148 cat conftest.err
1>&5
9149 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9150 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9151 if diff conftest.exp conftest.er2
>/dev
/null
; then
9152 lt_cv_prog_compiler__b
=yes
9155 lt_cv_prog_compiler__b
=yes
9159 LDFLAGS
="$save_LDFLAGS"
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9163 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9165 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9166 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9168 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9174 if test "$with_gnu_ld" = no
; then
9175 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9176 hardcode_libdir_separator
=:
9181 hardcode_shlibpath_var
=no
9185 hardcode_direct_absolute
=yes
9186 export_dynamic_flag_spec
='${wl}-E'
9188 # hardcode_minus_L: Not really in the search PATH,
9189 # but as the default location of the library.
9190 hardcode_minus_L
=yes
9196 irix5
* | irix6
* | nonstopux
*)
9197 if test "$GCC" = yes; then
9198 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'
9199 # Try to use the -exported_symbol ld option, if it does not
9200 # work, assume that -exports_file does not work either and
9201 # implicitly export all symbols.
9202 # This should be the same for all languages, so no per-tag cache variable.
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9204 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9205 if ${lt_cv_irix_exported_symbol+:} false
; then :
9206 $as_echo_n "(cached) " >&6
9208 save_LDFLAGS
="$LDFLAGS"
9209 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9212 int foo (void) { return 0; }
9214 if ac_fn_c_try_link
"$LINENO"; then :
9215 lt_cv_irix_exported_symbol
=yes
9217 lt_cv_irix_exported_symbol
=no
9219 rm -f core conftest.err conftest.
$ac_objext \
9220 conftest
$ac_exeext conftest.
$ac_ext
9221 LDFLAGS
="$save_LDFLAGS"
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9224 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9225 if test "$lt_cv_irix_exported_symbol" = yes; then
9226 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'
9229 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'
9230 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'
9232 archive_cmds_need_lc
='no'
9233 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9234 hardcode_libdir_separator
=:
9236 link_all_deplibs
=yes
9239 netbsd
* | netbsdelf
*-gnu
)
9240 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
>/dev
/null
; then
9241 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9243 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9245 hardcode_libdir_flag_spec
='-R$libdir'
9247 hardcode_shlibpath_var
=no
9251 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9253 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9254 hardcode_libdir_separator
=:
9255 hardcode_shlibpath_var
=no
9262 if test -f
/usr
/libexec
/ld.so
; then
9264 hardcode_shlibpath_var
=no
9265 hardcode_direct_absolute
=yes
9266 if test -z
"`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9267 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9268 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9269 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9270 export_dynamic_flag_spec
='${wl}-E'
9273 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9274 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9275 hardcode_libdir_flag_spec
='-R$libdir'
9278 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9279 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9289 hardcode_libdir_flag_spec
='-L$libdir'
9290 hardcode_minus_L
=yes
9291 allow_undefined_flag
=unsupported
9292 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9293 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9297 if test "$GCC" = yes; then
9298 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9299 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'
9301 allow_undefined_flag
=' -expect_unresolved \*'
9302 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'
9304 archive_cmds_need_lc
='no'
9305 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9306 hardcode_libdir_separator
=:
9309 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9310 if test "$GCC" = yes; then
9311 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9312 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'
9313 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9315 allow_undefined_flag
=' -expect_unresolved \*'
9316 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'
9317 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~
9318 $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'
9320 # Both c and cxx compiler support -rpath directly
9321 hardcode_libdir_flag_spec
='-rpath $libdir'
9323 archive_cmds_need_lc
='no'
9324 hardcode_libdir_separator
=:
9328 no_undefined_flag
=' -z defs'
9329 if test "$GCC" = yes; then
9331 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9332 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9333 $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'
9335 case `$CC -V 2>&1` in
9338 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9339 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9340 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9344 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9345 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9346 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9350 hardcode_libdir_flag_spec
='-R$libdir'
9351 hardcode_shlibpath_var
=no
9353 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9355 # The compiler driver will combine and reorder linker options,
9356 # but understands `-z linker_flag'. GCC discards it without `$wl',
9357 # but is careful enough not to reorder.
9358 # Supported since Solaris 2.6 (maybe 2.5.1?)
9359 if test "$GCC" = yes; then
9360 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9362 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9366 link_all_deplibs
=yes
9370 if test "x$host_vendor" = xsequent
; then
9371 # Use $CC to link under sequent, because it throws in some extra .o
9372 # files that make .init and .fini sections work.
9373 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9375 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9377 hardcode_libdir_flag_spec
='-L$libdir'
9379 hardcode_minus_L
=yes
9380 hardcode_shlibpath_var
=no
9384 case $host_vendor in
9386 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9387 hardcode_direct
=yes # is this really true???
9390 ## LD is ld it makes a PLAMLIB
9391 ## CC just makes a GrossModule.
9392 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9393 reload_cmds
='$CC -r -o $output$reload_objs'
9397 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9398 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9401 runpath_var
='LD_RUN_PATH'
9402 hardcode_shlibpath_var
=no
9406 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9407 hardcode_shlibpath_var
=no
9408 export_dynamic_flag_spec
='-Bexport'
9412 if test -d
/usr
/nec
; then
9413 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9414 hardcode_shlibpath_var
=no
9415 runpath_var
=LD_RUN_PATH
9416 hardcode_runpath_var
=yes
9421 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9422 no_undefined_flag
='${wl}-z,text'
9423 archive_cmds_need_lc
=no
9424 hardcode_shlibpath_var
=no
9425 runpath_var
='LD_RUN_PATH'
9427 if test "$GCC" = yes; then
9428 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9429 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9431 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9432 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9436 sysv5
* | sco3.2v5
* | sco5v6
*)
9437 # Note: We can NOT use -z defs as we might desire, because we do not
9438 # link with -lc, and that would cause any symbols used from libc to
9439 # always be unresolved, which means just about no library would
9440 # ever link correctly. If we're not using GNU ld we use -z text
9441 # though, which does catch some bad symbols but isn't as heavy-handed
9443 no_undefined_flag
='${wl}-z,text'
9444 allow_undefined_flag
='${wl}-z,nodefs'
9445 archive_cmds_need_lc
=no
9446 hardcode_shlibpath_var
=no
9447 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9448 hardcode_libdir_separator
=':'
9449 link_all_deplibs
=yes
9450 export_dynamic_flag_spec
='${wl}-Bexport'
9451 runpath_var
='LD_RUN_PATH'
9453 if test "$GCC" = yes; then
9454 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9455 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9457 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9458 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9463 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9464 hardcode_libdir_flag_spec
='-L$libdir'
9465 hardcode_shlibpath_var
=no
9473 if test x
$host_vendor = xsni
; then
9475 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9476 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9483 $as_echo "$ld_shlibs" >&6; }
9484 test "$ld_shlibs" = no
&& can_build_shared
=no
9486 with_gnu_ld
=$with_gnu_ld
9503 # Do we need to explicitly link libc?
9505 case "x$archive_cmds_need_lc" in
9507 # Assume -lc should be added
9508 archive_cmds_need_lc
=yes
9510 if test "$enable_shared" = yes && test "$GCC" = yes; then
9511 case $archive_cmds in
9513 # FIXME: we may have to deal with multi-command sequences.
9516 # Test whether the compiler implicitly links with -lc since on some
9517 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9518 # to ld, don't add -lc before -lgcc.
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9520 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9521 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9522 $as_echo_n "(cached) " >&6
9525 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9528 (eval $ac_compile) 2>&5
9530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9531 test $ac_status = 0; } 2>conftest.err
; then
9534 libobjs
=conftest.
$ac_objext
9536 wl
=$lt_prog_compiler_wl
9537 pic_flag
=$lt_prog_compiler_pic
9543 lt_save_allow_undefined_flag
=$allow_undefined_flag
9544 allow_undefined_flag
=
9545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9546 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc
\" \
>/dev
/null
2\
>\
&1) 2>&5
9548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9549 test $ac_status = 0; }
9551 lt_cv_archive_cmds_need_lc
=no
9553 lt_cv_archive_cmds_need_lc
=yes
9555 allow_undefined_flag
=$lt_save_allow_undefined_flag
9557 cat conftest.err
1>&5
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9563 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9564 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9723 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9725 if test "$GCC" = yes; then
9727 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9728 *) lt_awk_arg
="/^libraries:/" ;;
9731 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9732 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9734 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9735 case $lt_search_path_spec in
9737 # if the path contains ";" then we assume it to be the separator
9738 # otherwise default to the standard path separator (i.e. ":") - it is
9739 # assumed that no part of a normal pathname contains ";" but that should
9740 # okay in the real world where ";" in dirpaths is itself problematic.
9741 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9744 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9747 # Ok, now we have the path, separated by spaces, we can step through it
9748 # and add multilib dir if necessary.
9749 lt_tmp_lt_search_path_spec
=
9750 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9751 for lt_sys_path
in $lt_search_path_spec; do
9752 if test -d
"$lt_sys_path/$lt_multi_os_dir"; then
9753 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9755 test -d
"$lt_sys_path" && \
9756 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9759 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9760 BEGIN {RS=" "; FS="/|\n";} {
9763 for (lt_i = NF; lt_i > 0; lt_i--) {
9764 if ($lt_i != "" && $lt_i != ".") {
9765 if ($lt_i == "..") {
9768 if (lt_count == 0) {
9769 lt_foo="/" $lt_i lt_foo;
9776 if (lt_foo != "") { lt_freq[lt_foo]++; }
9777 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9779 # AWK program above erroneously prepends '/' to C:/dos/paths
9782 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9783 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9785 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9787 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9790 libname_spec
='lib$name'
9798 shlibpath_overrides_runpath
=unknown
9800 dynamic_linker
="$host_os ld.so"
9801 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9802 need_lib_prefix
=unknown
9803 hardcode_into_libs
=no
9805 # when you set need_version to no, make sure it does not cause -set_version
9806 # flags to be left without arguments
9807 need_version
=unknown
9811 version_type
=linux
# correct to gnu/linux during the next big refactor
9812 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9813 shlibpath_var
=LIBPATH
9815 # AIX 3 has no versioning support, so we append a major version to the name.
9816 soname_spec
='${libname}${release}${shared_ext}$major'
9820 version_type
=linux
# correct to gnu/linux during the next big refactor
9823 hardcode_into_libs
=yes
9824 if test "$host_cpu" = ia64
; then
9825 # AIX 5 supports IA64
9826 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9827 shlibpath_var
=LD_LIBRARY_PATH
9829 # With GCC up to 2.95.x, collect2 would create an import file
9830 # for dependence libraries. The import file would start with
9831 # the line `#! .'. This would cause the generated library to
9832 # depend on `.', always an invalid library. This was fixed in
9833 # development snapshots of GCC prior to 3.0.
9835 aix4 | aix4.
[01] | aix4.
[01].
*)
9836 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9838 echo '#endif'; } |
${CC} -E
- |
$GREP yes > /dev
/null
; then
9845 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9846 # soname into executable. Probably we can add versioning support to
9847 # collect2, so additional links can be useful in future.
9848 if test "$aix_use_runtimelinking" = yes; then
9849 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9850 # instead of lib<name>.a to let people know that these are not
9851 # typical AIX shared libraries.
9852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9854 # We preserve .a as extension for shared libraries through AIX4.2
9855 # and later when we are not doing run time linking.
9856 library_names_spec
='${libname}${release}.a $libname.a'
9857 soname_spec
='${libname}${release}${shared_ext}$major'
9859 shlibpath_var
=LIBPATH
9866 # Since July 2007 AmigaOS4 officially supports .so libraries.
9867 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9871 library_names_spec
='$libname.ixlibrary $libname.a'
9872 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9873 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9879 library_names_spec
='${libname}${shared_ext}'
9880 dynamic_linker
="$host_os ld.so"
9881 shlibpath_var
=LIBRARY_PATH
9885 version_type
=linux
# correct to gnu/linux during the next big refactor
9887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9888 soname_spec
='${libname}${release}${shared_ext}$major'
9889 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9890 shlibpath_var
=LD_LIBRARY_PATH
9891 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9892 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9893 # the default ld.so.conf also contains /usr/contrib/lib and
9894 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9895 # libtool to hard-code these into programs
9898 cygwin
* | mingw
* | pw32
* | cegcc
*)
9899 version_type
=windows
9904 case $GCC,$cc_basename in
9907 library_names_spec
='$libname.dll.a'
9908 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9909 postinstall_cmds
='base_file=`basename \${file}`~
9910 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9911 dldir=$destdir/`dirname \$dlpath`~
9912 test -d \$dldir || mkdir -p \$dldir~
9913 $install_prog $dir/$dlname \$dldir/$dlname~
9914 chmod a+x \$dldir/$dlname~
9915 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9916 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9918 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9919 dlpath=$dir/\$dldll~
9921 shlibpath_overrides_runpath
=yes
9925 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9926 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9928 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9931 # MinGW DLLs use traditional 'lib' prefix
9932 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9935 # pw32 DLLs use 'pw' prefix rather than 'lib'
9936 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9939 dynamic_linker
='Win32 ld.exe'
9944 libname_spec
='$name'
9945 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9946 library_names_spec
='${libname}.dll.lib'
9950 sys_lib_search_path_spec
=
9956 # Let DOS variable expansion print the short 8.3 style file name.
9957 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9958 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
9961 # Convert to MSYS style.
9962 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9965 # Convert to unix form, then to dos form, then back to unix form
9966 # but this time dos style (no spaces!) so that the unix form looks
9967 # like /cygdrive/c/PROGRA~1:/cygdr...
9968 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
9969 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9970 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9973 sys_lib_search_path_spec
="$LIB"
9974 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9975 # It is most probably a Windows format PATH.
9976 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9978 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9980 # FIXME: find the short name or the path components, as spaces are
9981 # common. (e.g. "Program Files" -> "PROGRA~1")
9985 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9986 postinstall_cmds
='base_file=`basename \${file}`~
9987 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9988 dldir=$destdir/`dirname \$dlpath`~
9989 test -d \$dldir || mkdir -p \$dldir~
9990 $install_prog $dir/$dlname \$dldir/$dlname'
9991 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9992 dlpath=$dir/\$dldll~
9994 shlibpath_overrides_runpath
=yes
9995 dynamic_linker
='Win32 link.exe'
9999 # Assume MSVC wrapper
10000 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
10001 dynamic_linker
='Win32 ld.exe'
10004 # FIXME: first we should search . and the directory the executable is in
10008 darwin
* | rhapsody
*)
10009 dynamic_linker
="$host_os dyld"
10010 version_type
=darwin
10013 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10014 soname_spec
='${libname}${release}${major}$shared_ext'
10015 shlibpath_overrides_runpath
=yes
10016 shlibpath_var
=DYLD_LIBRARY_PATH
10017 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10019 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10020 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10024 version_type
=linux
# correct to gnu/linux during the next big refactor
10027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10028 soname_spec
='${libname}${release}${shared_ext}$major'
10029 shlibpath_var
=LD_LIBRARY_PATH
10032 freebsd
* | dragonfly
*)
10033 # DragonFly does not have aout. When/if they implement a new
10034 # versioning mechanism, adjust this.
10035 if test -x
/usr
/bin
/objformat
; then
10036 objformat
=`/usr/bin/objformat`
10039 freebsd
[23].
*) objformat
=aout
;;
10040 *) objformat
=elf
;;
10043 version_type
=freebsd-
$objformat
10044 case $version_type in
10046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10051 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10055 shlibpath_var
=LD_LIBRARY_PATH
10058 shlibpath_overrides_runpath
=yes
10060 freebsd3.
[01]* | freebsdelf3.
[01]*)
10061 shlibpath_overrides_runpath
=yes
10062 hardcode_into_libs
=yes
10064 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10065 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10066 shlibpath_overrides_runpath
=no
10067 hardcode_into_libs
=yes
10069 *) # from 4.6 on, and DragonFly
10070 shlibpath_overrides_runpath
=yes
10071 hardcode_into_libs
=yes
10077 version_type
=linux
# correct to gnu/linux during the next big refactor
10080 dynamic_linker
="$host_os runtime_loader"
10081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10082 soname_spec
='${libname}${release}${shared_ext}$major'
10083 shlibpath_var
=LIBRARY_PATH
10084 shlibpath_overrides_runpath
=yes
10085 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10086 hardcode_into_libs
=yes
10089 hpux9
* | hpux10
* | hpux11
*)
10090 # Give a soname corresponding to the major version so that dld.sl refuses to
10091 # link against other versions.
10098 hardcode_into_libs
=yes
10099 dynamic_linker
="$host_os dld.so"
10100 shlibpath_var
=LD_LIBRARY_PATH
10101 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10103 soname_spec
='${libname}${release}${shared_ext}$major'
10104 if test "X$HPUX_IA64_MODE" = X32
; then
10105 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10107 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10109 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10113 hardcode_into_libs
=yes
10114 dynamic_linker
="$host_os dld.sl"
10115 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10116 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10118 soname_spec
='${libname}${release}${shared_ext}$major'
10119 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10120 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10124 dynamic_linker
="$host_os dld.sl"
10125 shlibpath_var
=SHLIB_PATH
10126 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10128 soname_spec
='${libname}${release}${shared_ext}$major'
10131 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10132 postinstall_cmds
='chmod 555 $lib'
10133 # or fails outright, so override atomically:
10134 install_override_mode
=555
10138 version_type
=linux
# correct to gnu/linux during the next big refactor
10141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10142 soname_spec
='${libname}${release}${shared_ext}$major'
10143 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10144 shlibpath_var
=LD_LIBRARY_PATH
10145 shlibpath_overrides_runpath
=no
10146 hardcode_into_libs
=yes
10149 irix5
* | irix6
* | nonstopux
*)
10151 nonstopux
*) version_type
=nonstopux
;;
10153 if test "$lt_cv_prog_gnu_ld" = yes; then
10154 version_type
=linux
# correct to gnu/linux during the next big refactor
10161 soname_spec
='${libname}${release}${shared_ext}$major'
10162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10164 irix5
* | nonstopux
*)
10165 libsuff
= shlibsuff
=
10168 case $LD in # libtool.m4 will add one of these switches to LD
10169 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10170 libsuff
= shlibsuff
= libmagic
=32-bit
;;
10171 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10172 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10173 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10174 libsuff
=64 shlibsuff
=64 libmagic
=64-bit
;;
10175 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10179 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10180 shlibpath_overrides_runpath
=no
10181 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10182 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10183 hardcode_into_libs
=yes
10186 # No shared lib support for Linux oldld, aout, or coff.
10187 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10191 # This must be glibc/ELF.
10192 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10193 version_type
=linux
# correct to gnu/linux during the next big refactor
10196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10197 soname_spec
='${libname}${release}${shared_ext}$major'
10198 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10199 shlibpath_var
=LD_LIBRARY_PATH
10200 shlibpath_overrides_runpath
=no
10202 # Some binutils ld are patched to set DT_RUNPATH
10203 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10204 $as_echo_n "(cached) " >&6
10206 lt_cv_shlibpath_overrides_runpath
=no
10207 save_LDFLAGS
=$LDFLAGS
10208 save_libdir
=$libdir
10209 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10210 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10222 if ac_fn_c_try_link
"$LINENO"; then :
10223 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10224 lt_cv_shlibpath_overrides_runpath
=yes
10227 rm -f core conftest.err conftest.
$ac_objext \
10228 conftest
$ac_exeext conftest.
$ac_ext
10229 LDFLAGS
=$save_LDFLAGS
10230 libdir
=$save_libdir
10234 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10236 # This implies no fast_install, which is unacceptable.
10237 # Some rework will be needed to allow for fast_install
10238 # before this can be enabled.
10239 hardcode_into_libs
=yes
10241 # Append ld.so.conf contents to the search path
10242 if test -f
/etc
/ld.so.conf
; then
10243 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' ' '`
10244 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10247 # We used to test for /lib/ld.so.1 and disable shared libraries on
10248 # powerpc, because MkLinux only supported shared libraries with the
10249 # GNU dynamic linker. Since this was broken with cross compilers,
10250 # most powerpc-linux boxes support dynamic linking these days and
10251 # people can always --disable-shared, the test was removed, and we
10252 # assume the GNU/Linux dynamic linker is in use.
10253 dynamic_linker
='GNU/Linux ld.so'
10260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10261 soname_spec
='${libname}${release}${shared_ext}$major'
10262 shlibpath_var
=LD_LIBRARY_PATH
10263 shlibpath_overrides_runpath
=no
10264 hardcode_into_libs
=yes
10265 dynamic_linker
='NetBSD ld.elf_so'
10272 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
>/dev
/null
; then
10273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10274 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10275 dynamic_linker
='NetBSD (a.out) ld.so'
10277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10278 soname_spec
='${libname}${release}${shared_ext}$major'
10279 dynamic_linker
='NetBSD ld.elf_so'
10281 shlibpath_var
=LD_LIBRARY_PATH
10282 shlibpath_overrides_runpath
=yes
10283 hardcode_into_libs
=yes
10287 version_type
=linux
# correct to gnu/linux during the next big refactor
10288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10289 shlibpath_var
=LD_LIBRARY_PATH
10290 shlibpath_overrides_runpath
=yes
10297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10298 soname_spec
='${libname}${release}${shared_ext}$major'
10299 shlibpath_var
=LD_LIBRARY_PATH
10300 shlibpath_overrides_runpath
=no
10301 hardcode_into_libs
=yes
10302 dynamic_linker
='ldqnx.so'
10307 sys_lib_dlsearch_path_spec
="/usr/lib"
10309 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10311 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10312 *) need_version
=no
;;
10314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10315 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10316 shlibpath_var
=LD_LIBRARY_PATH
10317 if test -z
"`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10319 openbsd2.
[89] | openbsd2.
[89].
*)
10320 shlibpath_overrides_runpath
=no
10323 shlibpath_overrides_runpath
=yes
10327 shlibpath_overrides_runpath
=yes
10332 libname_spec
='$name'
10335 library_names_spec
='$libname${shared_ext} $libname.a'
10336 dynamic_linker
='OS/2 ld.exe'
10337 shlibpath_var
=LIBPATH
10340 osf3
* | osf4
* | osf5
*)
10344 soname_spec
='${libname}${release}${shared_ext}$major'
10345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10346 shlibpath_var
=LD_LIBRARY_PATH
10347 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10348 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10356 version_type
=linux
# correct to gnu/linux during the next big refactor
10359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360 soname_spec
='${libname}${release}${shared_ext}$major'
10361 shlibpath_var
=LD_LIBRARY_PATH
10362 shlibpath_overrides_runpath
=yes
10363 hardcode_into_libs
=yes
10364 # ldd complains unless libraries are executable
10365 postinstall_cmds
='chmod +x $lib'
10370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10371 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10372 shlibpath_var
=LD_LIBRARY_PATH
10373 shlibpath_overrides_runpath
=yes
10374 if test "$with_gnu_ld" = yes; then
10381 version_type
=linux
# correct to gnu/linux during the next big refactor
10382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10383 soname_spec
='${libname}${release}${shared_ext}$major'
10384 shlibpath_var
=LD_LIBRARY_PATH
10385 case $host_vendor in
10387 shlibpath_overrides_runpath
=no
10389 runpath_var
=LD_RUN_PATH
10397 shlibpath_overrides_runpath
=no
10398 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10404 if test -d
/usr
/nec
;then
10405 version_type
=linux
# correct to gnu/linux during the next big refactor
10406 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10407 soname_spec
='$libname${shared_ext}.$major'
10408 shlibpath_var
=LD_LIBRARY_PATH
10412 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10413 version_type
=freebsd-elf
10416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10417 soname_spec
='${libname}${release}${shared_ext}$major'
10418 shlibpath_var
=LD_LIBRARY_PATH
10419 shlibpath_overrides_runpath
=yes
10420 hardcode_into_libs
=yes
10421 if test "$with_gnu_ld" = yes; then
10422 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10424 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10427 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10431 sys_lib_dlsearch_path_spec
='/usr/lib'
10435 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10436 version_type
=linux
# correct to gnu/linux during the next big refactor
10439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10440 shlibpath_var
=LD_LIBRARY_PATH
10441 shlibpath_overrides_runpath
=no
10442 hardcode_into_libs
=yes
10446 version_type
=linux
# correct to gnu/linux during the next big refactor
10447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10448 soname_spec
='${libname}${release}${shared_ext}$major'
10449 shlibpath_var
=LD_LIBRARY_PATH
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10457 $as_echo "$dynamic_linker" >&6; }
10458 test "$dynamic_linker" = no
&& can_build_shared
=no
10460 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10461 if test "$GCC" = yes; then
10462 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10465 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10466 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10468 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10469 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10564 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10566 if test -n
"$hardcode_libdir_flag_spec" ||
10567 test -n
"$runpath_var" ||
10568 test "X$hardcode_automatic" = "Xyes" ; then
10570 # We can hardcode non-existent directories.
10571 if test "$hardcode_direct" != no
&&
10572 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10573 # have to relink, otherwise we might link with an installed library
10574 # when we should be linking with a yet-to-be-installed one
10575 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10576 test "$hardcode_minus_L" != no
; then
10577 # Linking always hardcodes the temporary library directory.
10578 hardcode_action
=relink
10580 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10581 hardcode_action
=immediate
10584 # We cannot hardcode anything, or else we can only hardcode existing
10586 hardcode_action
=unsupported
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10589 $as_echo "$hardcode_action" >&6; }
10591 if test "$hardcode_action" = relink ||
10592 test "$inherit_rpath" = yes; then
10593 # Fast installation is not supported
10594 enable_fast_install
=no
10595 elif test "$shlibpath_overrides_runpath" = yes ||
10596 test "$enable_shared" = no
; then
10597 # Fast installation is not necessary
10598 enable_fast_install
=needless
10606 if test "x$enable_dlopen" != xyes
; then
10607 enable_dlopen
=unknown
10608 enable_dlopen_self
=unknown
10609 enable_dlopen_self_static
=unknown
10616 lt_cv_dlopen
="load_add_on"
10618 lt_cv_dlopen_self
=yes
10621 mingw
* | pw32
* | cegcc
*)
10622 lt_cv_dlopen
="LoadLibrary"
10627 lt_cv_dlopen
="dlopen"
10632 # if libdl is installed we need to link against it
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10634 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10635 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10636 $as_echo_n "(cached) " >&6
10638 ac_check_lib_save_LIBS
=$LIBS
10640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10643 /* Override any GCC internal prototype to avoid an error.
10644 Use char because int might match the return type of a GCC
10645 builtin and then its argument prototype would still apply. */
10658 if ac_fn_c_try_link
"$LINENO"; then :
10659 ac_cv_lib_dl_dlopen
=yes
10661 ac_cv_lib_dl_dlopen
=no
10663 rm -f core conftest.err conftest.
$ac_objext \
10664 conftest
$ac_exeext conftest.
$ac_ext
10665 LIBS
=$ac_check_lib_save_LIBS
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10668 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10669 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10670 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10673 lt_cv_dlopen
="dyld"
10675 lt_cv_dlopen_self
=yes
10682 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10683 if test "x$ac_cv_func_shl_load" = xyes
; then :
10684 lt_cv_dlopen
="shl_load"
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10687 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10688 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10689 $as_echo_n "(cached) " >&6
10691 ac_check_lib_save_LIBS
=$LIBS
10693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10694 /* end confdefs.h. */
10696 /* Override any GCC internal prototype to avoid an error.
10697 Use char because int might match the return type of a GCC
10698 builtin and then its argument prototype would still apply. */
10706 return shl_load ();
10711 if ac_fn_c_try_link
"$LINENO"; then :
10712 ac_cv_lib_dld_shl_load
=yes
10714 ac_cv_lib_dld_shl_load
=no
10716 rm -f core conftest.err conftest.
$ac_objext \
10717 conftest
$ac_exeext conftest.
$ac_ext
10718 LIBS
=$ac_check_lib_save_LIBS
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10721 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10722 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10723 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10725 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10726 if test "x$ac_cv_func_dlopen" = xyes
; then :
10727 lt_cv_dlopen
="dlopen"
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10730 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10731 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10732 $as_echo_n "(cached) " >&6
10734 ac_check_lib_save_LIBS
=$LIBS
10736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10754 if ac_fn_c_try_link
"$LINENO"; then :
10755 ac_cv_lib_dl_dlopen
=yes
10757 ac_cv_lib_dl_dlopen
=no
10759 rm -f core conftest.err conftest.
$ac_objext \
10760 conftest
$ac_exeext conftest.
$ac_ext
10761 LIBS
=$ac_check_lib_save_LIBS
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10764 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10765 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10766 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10769 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10770 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10771 $as_echo_n "(cached) " >&6
10773 ac_check_lib_save_LIBS
=$LIBS
10774 LIBS
="-lsvld $LIBS"
10775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10778 /* Override any GCC internal prototype to avoid an error.
10779 Use char because int might match the return type of a GCC
10780 builtin and then its argument prototype would still apply. */
10793 if ac_fn_c_try_link
"$LINENO"; then :
10794 ac_cv_lib_svld_dlopen
=yes
10796 ac_cv_lib_svld_dlopen
=no
10798 rm -f core conftest.err conftest.
$ac_objext \
10799 conftest
$ac_exeext conftest.
$ac_ext
10800 LIBS
=$ac_check_lib_save_LIBS
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10803 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10804 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10805 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10808 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10809 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10810 $as_echo_n "(cached) " >&6
10812 ac_check_lib_save_LIBS
=$LIBS
10814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10817 /* Override any GCC internal prototype to avoid an error.
10818 Use char because int might match the return type of a GCC
10819 builtin and then its argument prototype would still apply. */
10827 return dld_link ();
10832 if ac_fn_c_try_link
"$LINENO"; then :
10833 ac_cv_lib_dld_dld_link
=yes
10835 ac_cv_lib_dld_dld_link
=no
10837 rm -f core conftest.err conftest.
$ac_objext \
10838 conftest
$ac_exeext conftest.
$ac_ext
10839 LIBS
=$ac_check_lib_save_LIBS
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10842 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10843 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10844 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10865 if test "x$lt_cv_dlopen" != xno
; then
10871 case $lt_cv_dlopen in
10873 save_CPPFLAGS
="$CPPFLAGS"
10874 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10876 save_LDFLAGS
="$LDFLAGS"
10877 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10880 LIBS
="$lt_cv_dlopen_libs $LIBS"
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10883 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10884 if ${lt_cv_dlopen_self+:} false
; then :
10885 $as_echo_n "(cached) " >&6
10887 if test "$cross_compiling" = yes; then :
10888 lt_cv_dlopen_self
=cross
10890 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10891 lt_status
=$lt_dlunknown
10892 cat > conftest.
$ac_ext <<_LT_EOF
10893 #line $LINENO "configure"
10894 #include "confdefs.h"
10903 # define LT_DLGLOBAL RTLD_GLOBAL
10906 # define LT_DLGLOBAL DL_GLOBAL
10908 # define LT_DLGLOBAL 0
10912 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10913 find out it does not work in some platform. */
10914 #ifndef LT_DLLAZY_OR_NOW
10916 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10919 # define LT_DLLAZY_OR_NOW DL_LAZY
10922 # define LT_DLLAZY_OR_NOW RTLD_NOW
10925 # define LT_DLLAZY_OR_NOW DL_NOW
10927 # define LT_DLLAZY_OR_NOW 0
10934 /* When -fvisbility=hidden is used, assume the code has been annotated
10935 correspondingly for the symbols needed. */
10936 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10937 int fnord () __attribute__((visibility("default")));
10940 int fnord () { return 42; }
10943 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10944 int status = $lt_dlunknown;
10948 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10951 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10952 else puts (dlerror ());
10954 /* dlclose (self); */
10962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10963 (eval $ac_link) 2>&5
10965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10966 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10967 (.
/conftest
; exit; ) >&5 2>/dev
/null
10969 case x
$lt_status in
10970 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10971 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10972 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10975 # compilation failed
10976 lt_cv_dlopen_self
=no
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10984 $as_echo "$lt_cv_dlopen_self" >&6; }
10986 if test "x$lt_cv_dlopen_self" = xyes
; then
10987 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10989 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10990 if ${lt_cv_dlopen_self_static+:} false
; then :
10991 $as_echo_n "(cached) " >&6
10993 if test "$cross_compiling" = yes; then :
10994 lt_cv_dlopen_self_static
=cross
10996 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10997 lt_status
=$lt_dlunknown
10998 cat > conftest.
$ac_ext <<_LT_EOF
10999 #line $LINENO "configure"
11000 #include "confdefs.h"
11009 # define LT_DLGLOBAL RTLD_GLOBAL
11012 # define LT_DLGLOBAL DL_GLOBAL
11014 # define LT_DLGLOBAL 0
11018 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11019 find out it does not work in some platform. */
11020 #ifndef LT_DLLAZY_OR_NOW
11022 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11025 # define LT_DLLAZY_OR_NOW DL_LAZY
11028 # define LT_DLLAZY_OR_NOW RTLD_NOW
11031 # define LT_DLLAZY_OR_NOW DL_NOW
11033 # define LT_DLLAZY_OR_NOW 0
11040 /* When -fvisbility=hidden is used, assume the code has been annotated
11041 correspondingly for the symbols needed. */
11042 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11043 int fnord () __attribute__((visibility("default")));
11046 int fnord () { return 42; }
11049 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11050 int status = $lt_dlunknown;
11054 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11057 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11058 else puts (dlerror ());
11060 /* dlclose (self); */
11068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11069 (eval $ac_link) 2>&5
11071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11072 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11073 (.
/conftest
; exit; ) >&5 2>/dev
/null
11075 case x
$lt_status in
11076 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11077 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11078 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11081 # compilation failed
11082 lt_cv_dlopen_self_static
=no
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11090 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11093 CPPFLAGS
="$save_CPPFLAGS"
11094 LDFLAGS
="$save_LDFLAGS"
11099 case $lt_cv_dlopen_self in
11100 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11101 *) enable_dlopen_self
=unknown
;;
11104 case $lt_cv_dlopen_self_static in
11105 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11106 *) enable_dlopen_self_static
=unknown
;;
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11129 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11130 if test -n
"$STRIP" && $STRIP -V
2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11131 test -z
"$old_striplib" && old_striplib
="$STRIP --strip-debug"
11132 test -z
"$striplib" && striplib
="$STRIP --strip-unneeded"
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11134 $as_echo "yes" >&6; }
11136 # FIXME - insert some real tests, host_os isn't really good enough
11139 if test -n
"$STRIP" ; then
11140 striplib
="$STRIP -x"
11141 old_striplib
="$STRIP -S"
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11143 $as_echo "yes" >&6; }
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11146 $as_echo "no" >&6; }
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11151 $as_echo "no" >&6; }
11167 # Report which library types will actually be built
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11169 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11171 $as_echo "$can_build_shared" >&6; }
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11174 $as_echo_n "checking whether to build shared libraries... " >&6; }
11175 test "$can_build_shared" = "no" && enable_shared
=no
11177 # On AIX, shared libraries and static libraries use the same namespace, and
11178 # are all built from PIC.
11181 test "$enable_shared" = yes && enable_static
=no
11182 if test -n
"$RANLIB"; then
11183 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11184 postinstall_cmds
='$RANLIB $lib'
11189 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11190 test "$enable_shared" = yes && enable_static
=no
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11195 $as_echo "$enable_shared" >&6; }
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11198 $as_echo_n "checking whether to build static libraries... " >&6; }
11199 # Make sure either enable_shared or enable_static is yes.
11200 test "$enable_shared" = yes || enable_static
=yes
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11202 $as_echo "$enable_static" >&6; }
11209 ac_cpp
='$CPP $CPPFLAGS'
11210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11230 ac_config_commands
="$ac_config_commands libtool"
11235 # Only expand once:
11239 ac_cpp
='$CPP $CPPFLAGS'
11240 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11241 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11242 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
11245 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
11246 if ${ac_cv_cflags_warn_all+:} false
; then :
11247 $as_echo_n "(cached) " >&6
11249 ac_cv_cflags_warn_all
="no, unknown"
11250 ac_save_CFLAGS
="$CFLAGS"
11251 for ac_arg
in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
11252 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
11253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11264 if ac_fn_c_try_compile
"$LINENO"; then :
11265 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
11267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11269 CFLAGS
="$ac_save_CFLAGS"
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
11273 $as_echo "$ac_cv_cflags_warn_all" >&6; }
11274 case ".$ac_cv_cflags_warn_all" in
11277 *) if ${CFLAGS+:} false
; then :
11278 case " $CFLAGS " in
11279 *" $ac_cv_cflags_warn_all "*)
11280 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
11281 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
11283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11284 test $ac_status = 0; }
11287 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
11288 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
11290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11291 test $ac_status = 0; }
11292 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
11296 CFLAGS
="$ac_cv_cflags_warn_all"
11302 ac_cpp
='$CPP $CPPFLAGS'
11303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11309 set -- $
(echo $PACKAGE_VERSION |
11310 sed 's:^\([0-9][0-9]*\)\.\([0-9][0-9]*\)\.\([0-9][0-9]*\).*$:\1 \2 \3:'
11312 LIBTOOL_VERSION_INFO
="$(expr $1 + $2):$3:$2"
11318 # Check whether --with-lisp-system was given.
11319 if test "${with_lisp_system+set}" = set; then :
11320 withval
=$with_lisp_system;
11322 with_lisp_system
="sbcl clisp"
11326 for ac_prog
in cl-launch
11328 # Extract the first word of "$ac_prog", so it can be a program name with args.
11329 set dummy
$ac_prog; ac_word
=$2
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11331 $as_echo_n "checking for $ac_word... " >&6; }
11332 if ${ac_cv_prog_CL_LAUNCH+:} false
; then :
11333 $as_echo_n "(cached) " >&6
11335 if test -n
"$CL_LAUNCH"; then
11336 ac_cv_prog_CL_LAUNCH
="$CL_LAUNCH" # Let the user override the test.
11338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11339 for as_dir
in $PATH
11342 test -z
"$as_dir" && as_dir
=.
11343 for ac_exec_ext
in '' $ac_executable_extensions; do
11344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11345 ac_cv_prog_CL_LAUNCH
="$ac_prog"
11346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11355 CL_LAUNCH
=$ac_cv_prog_CL_LAUNCH
11356 if test -n
"$CL_LAUNCH"; then
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CL_LAUNCH" >&5
11358 $as_echo "$CL_LAUNCH" >&6; }
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11361 $as_echo "no" >&6; }
11365 test -n
"$CL_LAUNCH" && break
11367 test -n
"$CL_LAUNCH" || CL_LAUNCH
="not-found"
11369 case "$CL_LAUNCH" in
11370 not-found
) as_fn_error $?
"\`cl-launch' not found" "$LINENO" 5 ;;
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for best choice of Lisp system" >&5
11374 $as_echo_n "checking for best choice of Lisp system... " >&6; }
11375 if ! LISPSYS
=$
($CL_LAUNCH -l
"$with_lisp_system" \
11376 -ip
'(string-downcase (lisp-implementation-type))'); then
11377 as_fn_error $?
"cl-launch didn't like any Lisp system" "$LINENO" 5
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LISPSYS" >&5
11381 $as_echo "$LISPSYS" >&6; }
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FASL file extension" >&5
11384 $as_echo_n "checking FASL file extension... " >&6; }
11385 fasl
=$
($CL_LAUNCH -l
$LISPSYS -ip \
11386 '(pathname-type (compile-file-pathname "foo.lisp"))')
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: .$fasl" >&5
11389 $as_echo ".$fasl" >&6; }
11392 # Check whether --with-lisp-source-dir was given.
11393 if test "${with_lisp_source_dir+set}" = set; then :
11394 withval
=$with_lisp_source_dir;
11396 with_lisp_source_dir
='${datadir}/common-lisp/source'
11400 # Check whether --with-lisp-system-dir was given.
11401 if test "${with_lisp_system_dir+set}" = set; then :
11402 withval
=$with_lisp_system_dir;
11404 with_lisp_system_dir
='${datadir}/common-lisp/systems'
11407 lispsrcdir
=$with_lisp_source_dir
11409 lispsysdir
=$with_lisp_system_dir
11413 ac_config_files
="$ac_config_files Makefile src/Makefile lib/Makefile test/Makefile"
11415 cat >confcache
<<\_ACEOF
11416 # This file is a shell script that caches the results of configure
11417 # tests run on this system so they can be shared between configure
11418 # scripts and configure runs, see configure's option --config-cache.
11419 # It is not useful on other systems. If it contains results you don't
11420 # want to keep, you may remove or edit it.
11422 # config.status only pays attention to the cache file if you give it
11423 # the --recheck option to rerun configure.
11425 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11426 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11427 # following values.
11431 # The following way of writing the cache mishandles newlines in values,
11432 # but we know of no workaround that is simple, portable, and efficient.
11433 # So, we kill variables containing newlines.
11434 # Ultrix sh set writes to stderr and can't be redirected directly,
11435 # and sets the high bit in the cache file unless we assign to the vars.
11437 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11438 eval ac_val
=\$
$ac_var
11442 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11443 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11446 _ | IFS | as_nl
) ;; #(
11447 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11448 *) { eval $ac_var=; unset $ac_var;} ;;
11454 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11455 *${as_nl}ac_space
=\
*)
11456 # `set' does not quote correctly, so add quotes: double-quote
11457 # substitution turns \\\\ into \\, and sed turns \\ into \.
11460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11463 # `set' quotes correctly as required by POSIX, so do not add quotes.
11464 sed -n
"/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11473 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11475 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11477 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11478 if test -w
"$cache_file"; then
11479 if test "x$cache_file" != "x/dev/null"; then
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11481 $as_echo "$as_me: updating cache $cache_file" >&6;}
11482 if test ! -f
"$cache_file" ||
test -h
"$cache_file"; then
11483 cat confcache
>"$cache_file"
11485 case $cache_file in #(
11487 mv -f confcache
"$cache_file"$$
&&
11488 mv -f
"$cache_file"$$
"$cache_file" ;; #(
11490 mv -f confcache
"$cache_file" ;;
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11496 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11501 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11502 # Let make expand exec_prefix.
11503 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11505 # Transform confdefs.h into DEFS.
11506 # Protect against shell expansion while executing Makefile rules.
11507 # Protect against Makefile macro expansion.
11509 # If the first sed substitution is executed (which looks for macros that
11510 # take arguments), then branch to the quote section. Otherwise,
11511 # look for a macro that doesn't take arguments.
11521 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
11523 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
11527 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11540 DEFS
=`sed -n "$ac_script" confdefs.h`
11546 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11547 # 1. Remove the extension, and $U if already installed.
11548 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11549 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11550 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11551 # will be set to the directory where LIBOBJS objects are built.
11552 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11553 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11555 LIBOBJS
=$ac_libobjs
11557 LTLIBOBJS
=$ac_ltlibobjs
11560 if test -n
"$EXEEXT"; then
11562 am__EXEEXT_FALSE
='#'
11564 am__EXEEXT_TRUE
='#'
11568 if test -z
"${AMDEP_TRUE}" && test -z
"${AMDEP_FALSE}"; then
11569 as_fn_error $?
"conditional \"AMDEP\" was never defined.
11570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11572 if test -z
"${am__fastdepCC_TRUE}" && test -z
"${am__fastdepCC_FALSE}"; then
11573 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11577 : "${CONFIG_STATUS=./config.status}"
11579 ac_clean_files_save
=$ac_clean_files
11580 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11582 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11584 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11586 # Generated by $as_me.
11587 # Run this file to recreate the current configuration.
11588 # Compiler output produced by configure, useful for debugging
11589 # configure, is in config.log if it exists.
11592 ac_cs_recheck=false
11595 SHELL=\${CONFIG_SHELL-$SHELL}
11598 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11599 ## -------------------- ##
11600 ## M4sh Initialization. ##
11601 ## -------------------- ##
11603 # Be more Bourne compatible
11604 DUALCASE
=1; export DUALCASE
# for MKS sh
11605 if test -n
"${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11608 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11609 # is contrary to our usage. Disable this feature.
11610 alias -g
'${1+"$@"}'='"$@"'
11611 setopt NO_GLOB_SUBST
11613 case `(set -o) 2>/dev/null` in #(
11625 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11626 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11627 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11628 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11629 # Prefer a ksh shell builtin over an external printf program on Solaris,
11630 # but without wasting forks for bash or zsh.
11631 if test -z "$BASH_VERSION$ZSH_VERSION" \
11632 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11633 as_echo='print
-r
--'
11634 as_echo_n='print
-rn
--'
11635 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11636 as_echo='printf %s
\n'
11637 as_echo_n='printf %s
'
11639 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11640 as_echo_body='eval /usr
/ucb
/echo -n
"$1$as_nl"'
11641 as_echo_n='/usr
/ucb
/echo -n
'
11643 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11644 as_echo_n_body='eval
11648 expr "X$arg" : "X\\(.*\\)$as_nl";
11649 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11651 expr "X$arg" : "X\\(.*\\)" |
tr -d
"$as_nl"
11653 export as_echo_n_body
11654 as_echo_n='sh
-c
$as_echo_n_body as_echo
'
11656 export as_echo_body
11657 as_echo='sh
-c
$as_echo_body as_echo
'
11660 # The user is always right.
11661 if test "${PATH_SEPARATOR+set}" != set; then
11663 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11664 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11671 # We need space, tab and new line, in precisely that order. Quoting is
11672 # there to prevent editors from complaining about space-tab.
11673 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11674 # splitting by setting IFS to empty value.)
11677 # Find who we are. Look in the path if we contain no directory separator.
11680 *[\\/]* ) as_myself=$0 ;;
11681 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11682 for as_dir in $PATH
11685 test -z "$as_dir" && as_dir=.
11686 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11692 # We did not find ourselves, most probably we were run as `sh COMMAND'
11693 # in which case we are not to be found in the path.
11694 if test "x$as_myself" = x
; then
11697 if test ! -f
"$as_myself"; then
11698 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11702 # Unset variables that we do not need and which cause bugs (e.g. in
11703 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11704 # suppresses any "Segmentation fault" message there. '((' could
11705 # trigger a bug in pdksh 5.2.14.
11706 for as_var
in BASH_ENV ENV MAIL MAILPATH
11707 do eval test x\
${$as_var+set} = xset \
11708 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11721 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11724 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11725 # ----------------------------------------
11726 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11727 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11728 # script with STATUS, using 1 if that was 0.
11731 as_status
=$1; test $as_status -eq
0 && as_status
=1
11733 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11734 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11736 $as_echo "$as_me: error: $2" >&2
11737 as_fn_exit
$as_status
11741 # as_fn_set_status STATUS
11742 # -----------------------
11743 # Set $? to STATUS, without forking.
11744 as_fn_set_status
()
11747 } # as_fn_set_status
11749 # as_fn_exit STATUS
11750 # -----------------
11751 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11755 as_fn_set_status
$1
11761 # Portably unset VAR.
11764 { eval $1=; unset $1;}
11766 as_unset
=as_fn_unset
11767 # as_fn_append VAR VALUE
11768 # ----------------------
11769 # Append the text in VALUE to the end of the definition contained in VAR. Take
11770 # advantage of any shell optimizations that allow amortized linear growth over
11771 # repeated appends, instead of the typical quadratic growth present in naive
11773 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11774 eval 'as_fn_append ()
11785 # as_fn_arith ARG...
11786 # ------------------
11787 # Perform arithmetic evaluation on the ARGs, and store the result in the
11788 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11789 # must be portable across $(()) and expr.
11790 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11791 eval 'as_fn_arith ()
11798 as_val
=`expr "$@" || test $? -eq 1`
11803 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11804 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11810 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11811 as_basename
=basename
11816 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11822 as_me
=`$as_basename -- "$0" ||
11823 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11824 X"$0" : 'X\(//\)$' \| \
11825 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11827 sed '/^.*\/\([^/][^/]*\)\/*$/{
11841 # Avoid depending upon Character Ranges.
11842 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11843 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11844 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11845 as_cr_digits
='0123456789'
11846 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11848 ECHO_C
= ECHO_N
= ECHO_T
=
11849 case `echo -n x` in #(((((
11851 case `echo 'xy\c'` in
11852 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11854 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11861 rm -f conf$$ conf$$.exe conf$$.
file
11862 if test -d conf$$.dir
; then
11863 rm -f conf$$.dir
/conf$$.
file
11866 mkdir conf$$.dir
2>/dev
/null
11868 if (echo >conf$$.
file) 2>/dev
/null
; then
11869 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11871 # ... but there are two gotchas:
11872 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11873 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11874 # In both cases, we have to default to `cp -pR'.
11875 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11877 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11885 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11886 rmdir conf$$.dir
2>/dev
/null
11891 # Create "$as_dir" as a directory, including parents if necessary.
11896 -*) as_dir
=.
/$as_dir;;
11898 test -d
"$as_dir" ||
eval $as_mkdir_p ||
{
11902 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11903 *) as_qdir
=$as_dir;;
11905 as_dirs
="'$as_qdir' $as_dirs"
11906 as_dir
=`$as_dirname -- "$as_dir" ||
11907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11908 X"$as_dir" : 'X\(//\)[^/]' \| \
11909 X"$as_dir" : 'X\(//\)$' \| \
11910 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11911 $as_echo X"$as_dir" |
11912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11916 /^X\(\/\/\)[^/].*/{
11929 test -d
"$as_dir" && break
11931 test -z
"$as_dirs" ||
eval "mkdir $as_dirs"
11932 } ||
test -d
"$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
11936 if mkdir
-p .
2>/dev
/null
; then
11937 as_mkdir_p
='mkdir -p "$as_dir"'
11939 test -d .
/-p
&& rmdir .
/-p
11944 # as_fn_executable_p FILE
11945 # -----------------------
11946 # Test if FILE is an executable regular file.
11947 as_fn_executable_p
()
11949 test -f
"$1" && test -x
"$1"
11950 } # as_fn_executable_p
11951 as_test_x
='test -x'
11952 as_executable_p
=as_fn_executable_p
11954 # Sed expression to map a string onto a valid CPP name.
11955 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11957 # Sed expression to map a string onto a valid variable name.
11958 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11962 ## ----------------------------------- ##
11963 ## Main body of $CONFIG_STATUS script. ##
11964 ## ----------------------------------- ##
11966 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11969 # Save the log message, to keep $0 and so on meaningful, and to
11970 # report actual input values of CONFIG_FILES etc. instead of their
11971 # values after options handling.
11973 This file was extended by sod $as_me 0.2.0-29-g54c0, which was
11974 generated by GNU Autoconf 2.69. Invocation command line was
11976 CONFIG_FILES = $CONFIG_FILES
11977 CONFIG_HEADERS = $CONFIG_HEADERS
11978 CONFIG_LINKS = $CONFIG_LINKS
11979 CONFIG_COMMANDS = $CONFIG_COMMANDS
11982 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11987 case $ac_config_files in *"
11988 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11994 # Files that config.status was made for.
11995 config_files="$ac_config_files"
11996 config_commands="$ac_config_commands"
12000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12002 \`$as_me' instantiates files and other configuration actions
12003 from templates according to the current configuration. Unless the files
12004 and actions are specified as TAGs, all are instantiated by default.
12006 Usage: $0 [OPTION]... [TAG]...
12008 -h, --help print this help, then exit
12009 -V, --version print version number and configuration settings, then exit
12010 --config print configuration, then exit
12011 -q, --quiet, --silent
12012 do not print progress messages
12013 -d, --debug don't remove temporary files
12014 --recheck update $as_me by reconfiguring in the same conditions
12015 --file=FILE[:TEMPLATE]
12016 instantiate the configuration file FILE
12018 Configuration files:
12021 Configuration commands:
12024 Report bugs to <mdw@distorted.org.uk>."
12027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12028 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12030 sod config.status 0.2.0-29-g54c0
12031 configured by $0, generated by GNU Autoconf 2.69,
12032 with options \\"\$ac_cs_config\\"
12034 Copyright (C) 2012 Free Software Foundation, Inc.
12035 This config.status script is free software; the Free Software Foundation
12036 gives unlimited permission to copy, distribute and modify it."
12043 test -n "\$AWK" || AWK=awk
12046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12047 # The default lists apply if the user does not specify any file.
12053 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12054 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12058 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12070 # Handling of the options.
12071 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r
)
12073 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V
)
12074 $as_echo "$ac_cs_version"; exit ;;
12075 --config |
--confi |
--conf |
--con |
--co |
--c
)
12076 $as_echo "$ac_cs_config"; exit ;;
12077 --debug |
--debu |
--deb |
--de |
--d |
-d
)
12079 --file |
--fil |
--fi |
--f
)
12082 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12083 '') as_fn_error $?
"missing file argument" ;;
12085 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12086 ac_need_defaults
=false
;;
12087 --he |
--h |
--help |
--hel |
-h
)
12088 $as_echo "$ac_cs_usage"; exit ;;
12089 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12090 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s
)
12093 # This is an error.
12094 -*) as_fn_error $?
"unrecognized option: \`$1'
12095 Try \`$0 --help' for more information." ;;
12097 *) as_fn_append ac_config_targets
" $1"
12098 ac_need_defaults
=false
;;
12104 ac_configure_extra_args
=
12106 if $ac_cs_silent; then
12108 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12113 if \$ac_cs_recheck; then
12114 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12116 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12117 CONFIG_SHELL='$SHELL'
12118 export CONFIG_SHELL
12123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12127 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12128 ## Running $as_me. ##
12134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12138 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12141 # The HP-UX ksh and POSIX shell print the target directory to stdout
12142 # if CDPATH is set.
12143 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12145 sed_quote_subst='$sed_quote_subst'
12146 double_quote_subst='$double_quote_subst'
12147 delay_variable_subst='$delay_variable_subst'
12148 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12149 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12150 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12151 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12152 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12153 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12154 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12155 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12156 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12157 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12158 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12159 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12160 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12161 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12162 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12163 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12164 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12165 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12166 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12167 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12168 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12169 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12170 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12171 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12172 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12173 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12174 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12175 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12176 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12177 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12178 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12179 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12180 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12181 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12182 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12183 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12184 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12185 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12186 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12187 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12188 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12189 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12190 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12191 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12192 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12193 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12194 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12195 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12196 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12197 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12198 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12199 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12200 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12201 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12202 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12203 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12204 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"`'
12205 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12206 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12207 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12208 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12209 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12210 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12211 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12212 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12213 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12214 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12215 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12216 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12217 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12218 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12219 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12220 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12221 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12222 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12223 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12224 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12225 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12226 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12227 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12228 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12229 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12230 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12231 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12232 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12233 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12234 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12235 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12236 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12237 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12238 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12239 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12240 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12241 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12242 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12243 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12244 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12245 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12246 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12247 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12248 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12249 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12250 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12251 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12252 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12253 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12254 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12255 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12256 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12257 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12258 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12259 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12260 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12261 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12262 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12263 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12264 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12265 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12266 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12267 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12268 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12269 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12270 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12271 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12272 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12273 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12274 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12275 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12276 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12277 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12280 LTCFLAGS='$LTCFLAGS'
12281 compiler='$compiler_DEFAULT'
12283 # A function that is used when there is no print builtin or printf.
12284 func_fallback_echo ()
12286 eval 'cat <<_LTECHO_EOF
12291 # Quote evaled strings.
12306 deplibs_check_method \
12311 sharedlib_from_linklib_cmd \
12314 archiver_list_spec \
12320 lt_cv_sys_global_symbol_pipe \
12321 lt_cv_sys_global_symbol_to_cdecl \
12322 lt_cv_sys_global_symbol_to_c_name_address \
12323 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12324 nm_file_list_spec \
12325 lt_prog_compiler_no_builtin_flag \
12326 lt_prog_compiler_pic \
12327 lt_prog_compiler_wl \
12328 lt_prog_compiler_static \
12329 lt_cv_prog_compiler_c_o \
12338 export_dynamic_flag_spec \
12339 whole_archive_flag_spec \
12340 compiler_needs_object \
12342 allow_undefined_flag \
12343 no_undefined_flag \
12344 hardcode_libdir_flag_spec \
12345 hardcode_libdir_separator \
12349 variables_saved_for_relink \
12351 library_names_spec \
12353 install_override_mode \
12357 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12358 *[\\\\\\\`\\"\\\$]*)
12359 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12362 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12367 # Double-quote double-evaled strings.
12368 for var in reload_cmds \
12369 old_postinstall_cmds \
12370 old_postuninstall_cmds \
12372 extract_expsyms_cmds \
12373 old_archive_from_new_cmds \
12374 old_archive_from_expsyms_cmds \
12376 archive_expsym_cmds \
12378 module_expsym_cmds \
12379 export_symbols_cmds \
12383 postuninstall_cmds \
12385 sys_lib_search_path_spec \
12386 sys_lib_dlsearch_path_spec; do
12387 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12388 *[\\\\\\\`\\"\\\$]*)
12389 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12392 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12397 ac_aux_dir='$ac_aux_dir'
12398 xsi_shell='$xsi_shell'
12399 lt_shell_append='$lt_shell_append'
12401 # See if we are running on zsh, and set the options which allow our
12402 # commands through without removal of \ escapes INIT.
12403 if test -n "\${ZSH_VERSION+set}" ; then
12404 setopt NO_GLOB_SUBST
12410 TIMESTAMP='$TIMESTAMP'
12419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12421 # Handling of arguments.
12422 for ac_config_target
in $ac_config_targets
12424 case $ac_config_target in
12425 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12426 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12427 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12428 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
12429 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12430 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
12432 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12437 # If the user did not use the arguments to specify the items to instantiate,
12438 # then the envvar interface is used. Set only those that are not.
12439 # We use the long form for the default assignment because of an extremely
12440 # bizarre bug on SunOS 4.1.3.
12441 if $ac_need_defaults; then
12442 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12446 # Have a temporary directory for convenience. Make it in the build tree
12447 # simply because there is no reason against having it here, and in addition,
12448 # creating and moving files from /tmp can sometimes cause problems.
12449 # Hook for its removal unless debugging.
12450 # Note that there is a small window in which the directory will not be cleaned:
12451 # after its creation but before its name has been assigned to `$tmp'.
12455 trap 'exit_status=$?
12456 : "${ac_tmp:=$tmp}"
12457 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12459 trap 'as_fn_exit 1' 1 2 13 15
12461 # Create a (secure) tmp directory for tmp files.
12464 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12468 tmp
=.
/conf$$
-$RANDOM
12469 (umask 077 && mkdir
"$tmp")
12470 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12473 # Set up the scripts for CONFIG_FILES section.
12474 # No need to generate them if there are no CONFIG_FILES.
12475 # This happens for instance with `./config.status config.h'.
12476 if test -n
"$CONFIG_FILES"; then
12479 ac_cr
=`echo X | tr X '\015'`
12480 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12481 # But we know of no other shell where ac_cr would be empty at this
12482 # point, so we can use a bashism as a fallback.
12483 if test "x$ac_cr" = x
; then
12484 eval ac_cr
=\$
\'\\r
\'
12486 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12487 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12490 ac_cs_awk_cr
=$ac_cr
12493 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12498 echo "cat >conf$$subs.awk <<_ACEOF" &&
12499 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12501 } >conf$$subs.sh ||
12502 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12503 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12505 for ac_last_try in false false false false false :; do
12506 . ./conf$$subs.sh ||
12507 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12509 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12510 if test $ac_delim_n = $ac_delim_num; then
12512 elif $ac_last_try; then
12513 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12515 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12518 rm -f conf$$subs.sh
12520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12521 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12525 s/^/S["/; s
/!.
*/"]=/
12535 s/\(.\{148\}\)..*/\1/
12537 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12542 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12549 s/\(.\{148\}\)..*/\1/
12551 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12555 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12560 ' <conf$$subs.awk | sed '
12565 ' >>$CONFIG_STATUS || ac_write_fail=1
12566 rm -f conf$$subs.awk
12567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12569 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12570 for (key in S) S_is_set[key] = 1
12576 nfields = split(line, field, "@
")
12578 len = length(field[1])
12579 for (i = 2; i < nfields; i++) {
12581 keylen = length(key)
12582 if (S_is_set[key]) {
12584 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12585 len += length(value) + length(field[++i])
12596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12597 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12598 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12601 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12602 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12605 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12606 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12607 # trailing colons and then remove the whole line if VPATH becomes empty
12608 # (actually we leave an empty line to preserve line numbers).
12609 if test "x
$srcdir" = x.; then
12610 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12629 fi # test -n "$CONFIG_FILES"
12632 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
12637 :[FHLC]) ac_mode=$ac_tag; continue;;
12639 case $ac_mode$ac_tag in
12641 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
12642 :[FH]-) ac_tag=-:-;;
12643 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12660 -) ac_f="$ac_tmp/stdin";;
12661 *) # Look for the file first in the build tree, then in the source tree
12662 # (if the path is not absolute). The absolute path cannot be DOS-style,
12663 # because $ac_f cannot contain `:'.
12667 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12669 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12671 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
12672 as_fn_append ac_file_inputs " '$ac_f'"
12675 # Let's still pretend it is `configure' which instantiates (i.e., don't
12676 # use $as_me), people would be surprised to read:
12677 # /* config.h. Generated by config.status. */
12678 configure_input='Generated from '`
12679 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12681 if test x"$ac_file" != x-; then
12682 configure_input="$ac_file.
$configure_input"
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
12684 $as_echo "$as_me: creating
$ac_file" >&6;}
12686 # Neutralize special characters interpreted by sed in replacement strings.
12687 case $configure_input in #(
12688 *\&* | *\|* | *\\* )
12689 ac_sed_conf_input=`$as_echo "$configure_input" |
12690 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12691 *) ac_sed_conf_input=$configure_input;;
12695 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
12696 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
12701 ac_dir=`$as_dirname -- "$ac_file" ||
12702 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12703 X"$ac_file" : 'X\(//\)[^/]' \| \
12704 X"$ac_file" : 'X\(//\)$' \| \
12705 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12706 $as_echo X"$ac_file" |
12707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12711 /^X\(\/\/\)[^/].*/{
12724 as_dir="$ac_dir"; as_fn_mkdir_p
12728 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12730 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12731 # A "..
" for each directory in $ac_dir_suffix.
12732 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12733 case $ac_top_builddir_sub in
12734 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12735 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12738 ac_abs_top_builddir=$ac_pwd
12739 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12740 # for backward compatibility:
12741 ac_top_builddir=$ac_top_build_prefix
12744 .) # We are building in place.
12746 ac_top_srcdir=$ac_top_builddir_sub
12747 ac_abs_top_srcdir=$ac_pwd ;;
12748 [\\/]* | ?:[\\/]* ) # Absolute name.
12749 ac_srcdir=$srcdir$ac_dir_suffix;
12750 ac_top_srcdir=$srcdir
12751 ac_abs_top_srcdir=$srcdir ;;
12752 *) # Relative name.
12753 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12754 ac_top_srcdir=$ac_top_build_prefix$srcdir
12755 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12757 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12767 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12768 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12770 ac_MKDIR_P=$MKDIR_P
12772 [\\/$]* | ?:[\\/]* ) ;;
12773 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12778 # If the template does not know about datarootdir, expand it.
12779 # FIXME: This hack should be removed a few years after 2.60.
12780 ac_datarootdir_hack=; ac_datarootdir_seen=
12791 case `eval "sed -n
\"\
$ac_sed_dataroot\" $ac_file_inputs"` in
12792 *datarootdir*) ac_datarootdir_seen=yes;;
12793 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
12795 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
12797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12798 ac_datarootdir_hack='
12799 s&@datadir@&$datadir&g
12800 s&@docdir@&$docdir&g
12801 s&@infodir@&$infodir&g
12802 s&@localedir@&$localedir&g
12803 s&@mandir@&$mandir&g
12804 s&\\\${datarootdir}&$datarootdir&g' ;;
12808 # Neutralize VPATH when `$srcdir' = `.'.
12809 # Shell code in configure.ac might set extrasub.
12810 # FIXME: do we really want to maintain this feature?
12811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12812 ac_sed_extra="$ac_vpsub
12815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12817 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12818 s|@configure_input@|
$ac_sed_conf_input|
;t t
12819 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12820 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12821 s
&@srcdir@
&$ac_srcdir&;t t
12822 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12823 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12824 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12825 s
&@builddir@
&$ac_builddir&;t t
12826 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12827 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12828 s
&@INSTALL@
&$ac_INSTALL&;t t
12829 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12830 $ac_datarootdir_hack
12832 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
12833 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
12835 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12836 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
12837 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12838 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12840 which seems to be undefined. Please make sure it is defined" >&5
12841 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12842 which seems to be undefined. Please make sure it is defined" >&2;}
12844 rm -f "$ac_tmp/stdin"
12846 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12847 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12853 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12854 $as_echo "$as_me: executing $ac_file commands" >&6;}
12859 case $ac_file$ac_mode in
12860 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12861 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12862 # are listed without --file. Let's play safe and only
enable the
eval
12863 # if we detect the quoting.
12864 case $CONFIG_FILES in
12865 *\'*) eval set x
"$CONFIG_FILES" ;;
12866 *) set x
$CONFIG_FILES ;;
12871 # Strip MF so we end up with the name of the file.
12872 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12873 # Check whether this is an Automake generated Makefile or not.
12874 # We used to match only the files named `Makefile.in', but
12875 # some people rename them; so instead we look at the file content.
12876 # Grep'ing the first line is not enough: some people post-process
12877 # each Makefile.in and add a new line on top of each file to say so.
12878 # Grep'ing the whole file is not good either: AIX grep has a line
12879 # limit of 2048, but all sed's we know have understand at least 4000.
12880 if sed -n
's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
12881 dirpart
=`$as_dirname -- "$mf" ||
12882 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12883 X"$mf" : 'X\(//\)[^/]' \| \
12884 X"$mf" : 'X\(//\)$' \| \
12885 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12891 /^X\(\/\/\)[^/].*/{
12907 # Extract the definition of DEPDIR, am__include, and am__quote
12908 # from the Makefile without running `make'.
12909 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12910 test -z
"$DEPDIR" && continue
12911 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12912 test -z
"am__include" && continue
12913 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12914 # When using ansi2knr, U may be empty or an underscore; expand it
12915 U
=`sed -n 's/^U = //p' < "$mf"`
12916 # Find all dependency output files, they are included files with
12917 # $(DEPDIR) in their names. We invoke sed twice because it is the
12918 # simplest approach to changing $(DEPDIR) to its actual value in the
12920 for file in `sed -n "
12921 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12922 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12923 # Make sure the directory exists.
12924 test -f
"$dirpart/$file" && continue
12925 fdir
=`$as_dirname -- "$file" ||
12926 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12927 X"$file" : 'X\(//\)[^/]' \| \
12928 X"$file" : 'X\(//\)$' \| \
12929 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12930 $as_echo X"$file" |
12931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12935 /^X\(\/\/\)[^/].*/{
12948 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
12949 # echo "creating $dirpart/$file"
12950 echo '# dummy' > "$dirpart/$file"
12957 # See if we are running on zsh, and set the options which allow our
12958 # commands through without removal of \ escapes.
12959 if test -n
"${ZSH_VERSION+set}" ; then
12960 setopt NO_GLOB_SUBST
12963 cfgfile
="${ofile}T"
12964 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12967 cat <<_LT_EOF >> "$cfgfile"
12970 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12971 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12972 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12973 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12975 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12976 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
12978 # Written by Gordon Matzigkeit, 1996
12980 # This file is part of GNU Libtool.
12982 # GNU Libtool is free software; you can redistribute it and/or
12983 # modify it under the terms of the GNU General Public License as
12984 # published by the Free Software Foundation; either version 2 of
12985 # the License, or (at your option) any later version.
12987 # As a special exception to the GNU General Public License,
12988 # if you distribute this file as part of a program or library that
12989 # is built using GNU Libtool, you may include this file under the
12990 # same distribution terms that you use for the rest of that program.
12992 # GNU Libtool is distributed in the hope that it will be useful,
12993 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12994 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12995 # GNU General Public License for more details.
12997 # You should have received a copy of the GNU General Public License
12998 # along with GNU Libtool; see the file COPYING. If not, a copy
12999 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13000 # obtained by writing to the Free Software Foundation, Inc.,
13001 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13004 # The names of the tagged configurations supported by this script.
13007 # ### BEGIN LIBTOOL CONFIG
13009 # Which release of libtool.m4 was used?
13010 macro_version=$macro_version
13011 macro_revision=$macro_revision
13013 # Whether or not to build shared libraries.
13014 build_libtool_libs=$enable_shared
13016 # Whether or not to build static libraries.
13017 build_old_libs=$enable_static
13019 # What type of objects to build.
13022 # Whether or not to optimize for fast installation.
13023 fast_install=$enable_fast_install
13025 # Shell to use when invoking shell scripts.
13028 # An echo program that protects backslashes.
13031 # The PATH separator for the build system.
13032 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13035 host_alias=$host_alias
13039 # The build system.
13040 build_alias=$build_alias
13044 # A sed program that does not truncate output.
13047 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13048 Xsed="\$SED -e 1s/^X//"
13050 # A grep program that handles long lines.
13056 # A literal string matcher.
13059 # A BSD- or MS-compatible name lister.
13062 # Whether we need soft or hard links.
13065 # What is the maximum length of a command?
13066 max_cmd_len=$max_cmd_len
13068 # Object file suffix (normally "o").
13071 # Executable file suffix (normally "").
13074 # whether the shell understands "unset".
13077 # turn spaces into newlines.
13080 # turn newlines into spaces.
13083 # convert \$build file names to \$host format.
13084 to_host_file_cmd=$lt_cv_to_host_file_cmd
13086 # convert \$build files to toolchain format.
13087 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13089 # An object symbol dumper.
13090 OBJDUMP=$lt_OBJDUMP
13092 # Method to check whether dependent libraries are shared objects.
13093 deplibs_check_method=$lt_deplibs_check_method
13095 # Command to use when deplibs_check_method = "file_magic".
13096 file_magic_cmd=$lt_file_magic_cmd
13098 # How to find potential files when deplibs_check_method = "file_magic".
13099 file_magic_glob=$lt_file_magic_glob
13101 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13102 want_nocaseglob=$lt_want_nocaseglob
13104 # DLL creation program.
13105 DLLTOOL=$lt_DLLTOOL
13107 # Command to associate shared and link libraries.
13108 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13113 # Flags to create an archive.
13114 AR_FLAGS=$lt_AR_FLAGS
13116 # How to feed a file listing to the archiver.
13117 archiver_list_spec=$lt_archiver_list_spec
13119 # A symbol stripping program.
13122 # Commands used to install an old-style archive.
13124 old_postinstall_cmds=$lt_old_postinstall_cmds
13125 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13127 # Whether to use a lock for old archive extraction.
13128 lock_old_archive_extraction=$lock_old_archive_extraction
13133 # LTCC compiler flags.
13134 LTCFLAGS=$lt_CFLAGS
13136 # Take the output of nm and produce a listing of raw symbols and C names.
13137 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13139 # Transform the output of nm in a proper C declaration.
13140 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13142 # Transform the output of nm in a C name address pair.
13143 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13145 # Transform the output of nm in a C name address pair when lib prefix is needed.
13146 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13148 # Specify filename containing input files for \$NM.
13149 nm_file_list_spec=$lt_nm_file_list_spec
13151 # The root where to search for dependent libraries,and in which our libraries should be installed.
13152 lt_sysroot=$lt_sysroot
13154 # The name of the directory that contains temporary libtool files.
13157 # Used to examine libraries when file_magic_cmd begins with "file".
13158 MAGIC_CMD=$MAGIC_CMD
13160 # Must we lock files when doing compilation?
13161 need_locks=$lt_need_locks
13164 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13166 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13167 DSYMUTIL=$lt_DSYMUTIL
13169 # Tool to change global to local symbols on Mac OS X.
13172 # Tool to manipulate fat objects and archives on Mac OS X.
13175 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13178 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13179 OTOOL64=$lt_OTOOL64
13181 # Old archive suffix (normally "a").
13184 # Shared library suffix (normally ".so").
13185 shrext_cmds=$lt_shrext_cmds
13187 # The commands to extract the exported symbol list from a shared archive.
13188 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13190 # Variables whose values should be saved in libtool wrapper scripts and
13191 # restored at link time.
13192 variables_saved_for_relink=$lt_variables_saved_for_relink
13194 # Do we need the "lib" prefix for modules?
13195 need_lib_prefix=$need_lib_prefix
13197 # Do we need a version for libraries?
13198 need_version=$need_version
13200 # Library versioning type.
13201 version_type=$version_type
13203 # Shared library runtime path variable.
13204 runpath_var=$runpath_var
13206 # Shared library path variable.
13207 shlibpath_var=$shlibpath_var
13209 # Is shlibpath searched before the hard-coded library search path?
13210 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13212 # Format of library name prefix.
13213 libname_spec=$lt_libname_spec
13215 # List of archive names. First name is the real one, the rest are links.
13216 # The last name is the one that the linker finds with -lNAME
13217 library_names_spec=$lt_library_names_spec
13219 # The coded name of the library, if different from the real name.
13220 soname_spec=$lt_soname_spec
13222 # Permission mode override for installation of shared libraries.
13223 install_override_mode=$lt_install_override_mode
13225 # Command to use after installation of a shared archive.
13226 postinstall_cmds=$lt_postinstall_cmds
13228 # Command to use after uninstallation of a shared archive.
13229 postuninstall_cmds=$lt_postuninstall_cmds
13231 # Commands used to finish a libtool library installation in a directory.
13232 finish_cmds=$lt_finish_cmds
13234 # As "finish_cmds", except a single script fragment to be evaled but
13236 finish_eval=$lt_finish_eval
13238 # Whether we should hardcode library paths into libraries.
13239 hardcode_into_libs=$hardcode_into_libs
13241 # Compile-time system search path for libraries.
13242 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13244 # Run-time system search path for libraries.
13245 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13247 # Whether dlopen is supported.
13248 dlopen_support=$enable_dlopen
13250 # Whether dlopen of programs is supported.
13251 dlopen_self=$enable_dlopen_self
13253 # Whether dlopen of statically linked programs is supported.
13254 dlopen_self_static=$enable_dlopen_self_static
13256 # Commands to strip libraries.
13257 old_striplib=$lt_old_striplib
13258 striplib=$lt_striplib
13261 # The linker used to build libraries.
13264 # How to create reloadable object files.
13265 reload_flag=$lt_reload_flag
13266 reload_cmds=$lt_reload_cmds
13268 # Commands used to build an old-style archive.
13269 old_archive_cmds=$lt_old_archive_cmds
13271 # A language specific compiler.
13274 # Is the compiler the GNU compiler?
13277 # Compiler flag to turn off builtin functions.
13278 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13280 # Additional compiler flags for building library objects.
13281 pic_flag=$lt_lt_prog_compiler_pic
13283 # How to pass a linker flag through the compiler.
13284 wl=$lt_lt_prog_compiler_wl
13286 # Compiler flag to prevent dynamic linking.
13287 link_static_flag=$lt_lt_prog_compiler_static
13289 # Does compiler simultaneously support -c and -o options?
13290 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13292 # Whether or not to add -lc for building shared libraries.
13293 build_libtool_need_lc=$archive_cmds_need_lc
13295 # Whether or not to disallow shared libs when runtime libs are static.
13296 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13298 # Compiler flag to allow reflexive dlopens.
13299 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13301 # Compiler flag to generate shared objects directly from archives.
13302 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13304 # Whether the compiler copes with passing no objects directly.
13305 compiler_needs_object=$lt_compiler_needs_object
13307 # Create an old-style archive from a shared archive.
13308 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13310 # Create a temporary old-style archive to link instead of a shared archive.
13311 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13313 # Commands used to build a shared archive.
13314 archive_cmds=$lt_archive_cmds
13315 archive_expsym_cmds=$lt_archive_expsym_cmds
13317 # Commands used to build a loadable module if different from building
13318 # a shared archive.
13319 module_cmds=$lt_module_cmds
13320 module_expsym_cmds=$lt_module_expsym_cmds
13322 # Whether we are building with GNU ld or not.
13323 with_gnu_ld=$lt_with_gnu_ld
13325 # Flag that allows shared libraries with undefined symbols to be built.
13326 allow_undefined_flag=$lt_allow_undefined_flag
13328 # Flag that enforces no undefined symbols.
13329 no_undefined_flag=$lt_no_undefined_flag
13331 # Flag to hardcode \$libdir into a binary during linking.
13332 # This must work even if \$libdir does not exist
13333 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13335 # Whether we need a single "-rpath" flag with a separated argument.
13336 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13338 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13339 # DIR into the resulting binary.
13340 hardcode_direct=$hardcode_direct
13342 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13343 # DIR into the resulting binary and the resulting library dependency is
13344 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13345 # library is relocated.
13346 hardcode_direct_absolute=$hardcode_direct_absolute
13348 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13349 # into the resulting binary.
13350 hardcode_minus_L=$hardcode_minus_L
13352 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13353 # into the resulting binary.
13354 hardcode_shlibpath_var=$hardcode_shlibpath_var
13356 # Set to "yes" if building a shared library automatically hardcodes DIR
13357 # into the library and all subsequent libraries and executables linked
13359 hardcode_automatic=$hardcode_automatic
13361 # Set to yes if linker adds runtime paths of dependent libraries
13362 # to runtime path list.
13363 inherit_rpath=$inherit_rpath
13365 # Whether libtool must link a program against all its dependency libraries.
13366 link_all_deplibs=$link_all_deplibs
13368 # Set to "yes" if exported symbols are required.
13369 always_export_symbols=$always_export_symbols
13371 # The commands to list exported symbols.
13372 export_symbols_cmds=$lt_export_symbols_cmds
13374 # Symbols that should not be listed in the preloaded symbols.
13375 exclude_expsyms=$lt_exclude_expsyms
13377 # Symbols that must always be exported.
13378 include_expsyms=$lt_include_expsyms
13380 # Commands necessary for linking programs (against libraries) with templates.
13381 prelink_cmds=$lt_prelink_cmds
13383 # Commands necessary for finishing linking programs.
13384 postlink_cmds=$lt_postlink_cmds
13386 # Specify filename containing input files.
13387 file_list_spec=$lt_file_list_spec
13389 # How to hardcode a shared library path into an executable.
13390 hardcode_action=$hardcode_action
13392 # ### END LIBTOOL CONFIG
13398 cat <<\_LT_EOF
>> "$cfgfile"
13399 # AIX sometimes has problems with the GCC collect2 program. For some
13400 # reason, if we set the COLLECT_NAMES environment variable, the problems
13401 # vanish in a puff of smoke.
13402 if test "X${COLLECT_NAMES+set}" != Xset
; then
13404 export COLLECT_NAMES
13411 ltmain
="$ac_aux_dir/ltmain.sh"
13414 # We use sed instead of cat because bash on DJGPP gets confused if
13415 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13416 # text mode, it properly converts lines to CR/LF. This bash problem
13417 # is reportedly fixed, but why not run on old versions too?
13418 sed '$q' "$ltmain" >> "$cfgfile" \
13419 ||
(rm -f
"$cfgfile"; exit 1)
13421 if test x
"$xsi_shell" = xyes
; then
13422 sed -e
'/^func_dirname ()$/,/^} # func_dirname /c\
13426 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13427 \ * ) func_dirname_result="${3}" ;;\
13429 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13430 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13431 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13432 test 0 -eq $? || _lt_function_replace_fail
=:
13435 sed -e
'/^func_basename ()$/,/^} # func_basename /c\
13438 \ func_basename_result="${1##*/}"\
13439 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13440 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13441 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13442 test 0 -eq $? || _lt_function_replace_fail
=:
13445 sed -e
'/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13446 func_dirname_and_basename ()\
13449 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13450 \ * ) func_dirname_result="${3}" ;;\
13452 \ func_basename_result="${1##*/}"\
13453 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13454 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13455 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13456 test 0 -eq $? || _lt_function_replace_fail
=:
13459 sed -e
'/^func_stripname ()$/,/^} # func_stripname /c\
13462 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13463 \ # positional parameters, so assign one to ordinary parameter first.\
13464 \ func_stripname_result=${3}\
13465 \ func_stripname_result=${func_stripname_result#"${1}"}\
13466 \ func_stripname_result=${func_stripname_result%"${2}"}\
13467 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13468 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13469 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13470 test 0 -eq $? || _lt_function_replace_fail
=:
13473 sed -e
'/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13474 func_split_long_opt ()\
13476 \ func_split_long_opt_name=${1%%=*}\
13477 \ func_split_long_opt_arg=${1#*=}\
13478 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13479 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13480 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13481 test 0 -eq $? || _lt_function_replace_fail
=:
13484 sed -e
'/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13485 func_split_short_opt ()\
13487 \ func_split_short_opt_arg=${1#??}\
13488 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13489 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13490 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13491 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13492 test 0 -eq $? || _lt_function_replace_fail
=:
13495 sed -e
'/^func_lo2o ()$/,/^} # func_lo2o /c\
13499 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13500 \ *) func_lo2o_result=${1} ;;\
13502 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13503 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13504 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13505 test 0 -eq $? || _lt_function_replace_fail
=:
13508 sed -e
'/^func_xform ()$/,/^} # func_xform /c\
13511 func_xform_result=${1%.*}.lo\
13512 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13513 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13514 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13515 test 0 -eq $? || _lt_function_replace_fail
=:
13518 sed -e
'/^func_arith ()$/,/^} # func_arith /c\
13521 func_arith_result=$(( $* ))\
13522 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13523 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13524 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13525 test 0 -eq $? || _lt_function_replace_fail
=:
13528 sed -e
'/^func_len ()$/,/^} # func_len /c\
13531 func_len_result=${#1}\
13532 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13533 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13534 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13535 test 0 -eq $? || _lt_function_replace_fail
=:
13539 if test x
"$lt_shell_append" = xyes
; then
13540 sed -e
'/^func_append ()$/,/^} # func_append /c\
13543 eval "${1}+=\\${2}"\
13544 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13545 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13546 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13547 test 0 -eq $? || _lt_function_replace_fail
=:
13550 sed -e
'/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13551 func_append_quoted ()\
13553 \ func_quote_for_eval "${2}"\
13554 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13555 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13556 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13557 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13558 test 0 -eq $? || _lt_function_replace_fail
=:
13561 # Save a `func_append' function call where possible by direct use of '+='
13562 sed -e
's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13563 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13564 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13565 test 0 -eq $? || _lt_function_replace_fail
=:
13567 # Save a `func_append' function call even when '+=' is not available
13568 sed -e
's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13569 && mv -f
"$cfgfile.tmp" "$cfgfile" \
13570 ||
(rm -f
"$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f
"$cfgfile.tmp")
13571 test 0 -eq $? || _lt_function_replace_fail
=:
13574 if test x
"$_lt_function_replace_fail" = x
":"; then
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13576 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13580 mv -f
"$cfgfile" "$ofile" ||
13581 (rm -f
"$ofile" && cp "$cfgfile" "$ofile" && rm -f
"$cfgfile")
13592 ac_clean_files
=$ac_clean_files_save
13594 test $ac_write_fail = 0 ||
13595 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13598 # configure is writing to config.log, and then calls config.status.
13599 # config.status does its own redirection, appending to config.log.
13600 # Unfortunately, on DOS this fails, as config.log is still kept open
13601 # by configure, so config.status won't be able to write to it; its
13602 # output is simply discarded. So we exec the FD to /dev/null,
13603 # effectively closing config.log, so it can be properly (re)opened and
13604 # appended to by config.status. When coming back to configure, we
13605 # need to make the FD available again.
13606 if test "$no_create" != yes; then
13608 ac_config_status_args
=
13609 test "$silent" = yes &&
13610 ac_config_status_args
="$ac_config_status_args --quiet"
13612 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13614 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13615 # would make configure fail if this is the last instruction.
13616 $ac_cs_success || as_fn_exit
1
13618 if test -n
"$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13620 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}