2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for LZO 2.08.
5 # Report bugs to <markus@oberhumer.com>.
7 # Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer.
9 # This configure script may be copied, distributed and modified under the
10 # terms of the GNU General Public License; see COPYING for more details.
13 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
16 # This configure script is free software; the Free Software Foundation
17 # gives unlimited permission to copy, distribute and modify it.
18 ## -------------------- ##
19 ## M4sh Initialization. ##
20 ## -------------------- ##
22 # Be more Bourne compatible
23 DUALCASE
=1; export DUALCASE
# for MKS sh
24 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
27 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28 # is contrary to our usage. Disable this feature.
29 alias -g '${1+"$@"}'='"$@"'
32 case `(set -o) 2>/dev/null` in #(
44 # Printing a long string crashes Solaris 7 /usr/bin/printf.
45 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48 # Prefer a ksh shell builtin over an external printf program on Solaris,
49 # but without wasting forks for bash or zsh.
50 if test -z "$BASH_VERSION$ZSH_VERSION" \
51 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
53 as_echo_n='print
-rn --'
54 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
58 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
60 as_echo_n='/usr
/ucb
/echo -n'
62 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
67 expr "X$arg" : "X\\(.*\\)$as_nl";
68 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
70 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
73 as_echo_n='sh
-c $as_echo_n_body as_echo
'
76 as_echo='sh
-c $as_echo_body as_echo
'
79 # The user is always right.
80 if test "${PATH_SEPARATOR+set}" != set; then
82 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
83 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
99 *[\\/]* ) as_myself=$0 ;;
100 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
104 test -z "$as_dir" && as_dir=.
105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
111 # We did not find ourselves, most probably we were run as `sh COMMAND'
112 # in which case we are not to be found in the path.
113 if test "x$as_myself" = x
; then
116 if test ! -f "$as_myself"; then
117 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
121 # Unset variables that we do not need and which cause bugs (e.g. in
122 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
123 # suppresses any "Segmentation fault" message there. '((' could
124 # trigger a bug in pdksh 5.2.14.
125 for as_var
in BASH_ENV ENV MAIL MAILPATH
126 do eval test x\
${$as_var+set} = xset \
127 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
140 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
142 # Use a proper internal environment variable to ensure we don't fall
143 # into an infinite loop, continuously re-executing ourselves.
144 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
145 _as_can_reexec
=no
; export _as_can_reexec
;
146 # We cannot yet assume a decent shell, so we have to provide a
147 # neutralization value for shells without unset; and this also
148 # works around shells that cannot unset nonexistent variables.
149 # Preserve -v and -x to the replacement shell.
152 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
154 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
159 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
160 # Admittedly, this is quite paranoid, since all the known shells bail
161 # out after a failed `exec'.
162 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
165 # We don't want this to propagate to other subprocesses.
166 { _as_can_reexec
=; unset _as_can_reexec
;}
167 if test "x$CONFIG_SHELL" = x
; then
168 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
171 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
172 # is contrary to our usage. Disable this feature.
173 alias -g '\${1+\"\$@\"}'='\"\$@\"'
176 case \`(set -o) 2>/dev/null\` in #(
184 as_required
="as_fn_return () { (exit \$1); }
185 as_fn_success () { as_fn_return 0; }
186 as_fn_failure () { as_fn_return 1; }
187 as_fn_ret_success () { return 0; }
188 as_fn_ret_failure () { return 1; }
191 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
192 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
193 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
194 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
195 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
198 exitcode=1; echo positional parameters were not saved.
200 test x\$exitcode = x0 || exit 1
202 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
203 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
204 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
205 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
206 test \$(( 1 + 1 )) = 2 || exit 1
208 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
209 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
210 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
211 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
212 PATH=/empty FPATH=/empty; export PATH FPATH
213 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
214 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
215 if (eval "$as_required") 2>/dev
/null
; then :
220 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
232 for as_base
in sh bash ksh sh5
; do
233 # Try only shells that exist, to save several forks.
234 as_shell
=$as_dir/$as_base
235 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
236 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
237 CONFIG_SHELL
=$as_shell as_have_required
=yes
238 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
246 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
247 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
248 CONFIG_SHELL
=$SHELL as_have_required
=yes
253 if test "x$CONFIG_SHELL" != x
; then :
255 # We cannot yet assume a decent shell, so we have to provide a
256 # neutralization value for shells without unset; and this also
257 # works around shells that cannot unset nonexistent variables.
258 # Preserve -v and -x to the replacement shell.
261 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
263 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
268 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
269 # Admittedly, this is quite paranoid, since all the known shells bail
270 # out after a failed `exec'.
271 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
275 if test x
$as_have_required = xno
; then :
276 $as_echo "$0: This script requires a shell more modern than all"
277 $as_echo "$0: the shells that I found on your system."
278 if test x
${ZSH_VERSION+set} = xset
; then
279 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
280 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
282 $as_echo "$0: Please tell bug-autoconf@gnu.org and
283 $0: markus@oberhumer.com about your system, including any
284 $0: error possibly output before this message. Then install
285 $0: a modern shell, or manually run the script under such a
286 $0: shell if you do have one."
292 SHELL
=${CONFIG_SHELL-/bin/sh}
294 # Unset more variables known to interfere with behavior of common tools.
295 CLICOLOR_FORCE
= GREP_OPTIONS
=
296 unset CLICOLOR_FORCE GREP_OPTIONS
298 ## --------------------- ##
299 ## M4sh Shell Functions. ##
300 ## --------------------- ##
303 # Portably unset VAR.
306 { eval $1=; unset $1;}
310 # as_fn_set_status STATUS
311 # -----------------------
312 # Set $? to STATUS, without forking.
320 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
330 # Create "$as_dir" as a directory, including parents if necessary.
335 -*) as_dir
=.
/$as_dir;;
337 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
341 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
344 as_dirs
="'$as_qdir' $as_dirs"
345 as_dir
=`$as_dirname -- "$as_dir" ||
346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
347 X"$as_dir" : 'X\(//\)[^/]' \| \
348 X"$as_dir" : 'X\(//\)$' \| \
349 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
350 $as_echo X"$as_dir" |
351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
368 test -d "$as_dir" && break
370 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
371 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
376 # as_fn_executable_p FILE
377 # -----------------------
378 # Test if FILE is an executable regular file.
379 as_fn_executable_p
()
381 test -f "$1" && test -x "$1"
382 } # as_fn_executable_p
383 # as_fn_append VAR VALUE
384 # ----------------------
385 # Append the text in VALUE to the end of the definition contained in VAR. Take
386 # advantage of any shell optimizations that allow amortized linear growth over
387 # repeated appends, instead of the typical quadratic growth present in naive
389 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
390 eval 'as_fn_append ()
403 # Perform arithmetic evaluation on the ARGs, and store the result in the
404 # global $as_val. Take advantage of shells that can avoid forks. The arguments
405 # must be portable across $(()) and expr.
406 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
414 as_val
=`expr "$@" || test $? -eq 1`
419 # as_fn_error STATUS ERROR [LINENO LOG_FD]
420 # ----------------------------------------
421 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
422 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
423 # script with STATUS, using 1 if that was 0.
426 as_status
=$1; test $as_status -eq 0 && as_status
=1
428 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
429 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
431 $as_echo "$as_me: error: $2" >&2
432 as_fn_exit
$as_status
435 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
436 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
442 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
448 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
454 as_me
=`$as_basename -- "$0" ||
455 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
456 X"$0" : 'X\(//\)$' \| \
457 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
459 sed '/^.*\/\([^/][^/]*\)\/*$/{
473 # Avoid depending upon Character Ranges.
474 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
475 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
476 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
477 as_cr_digits
='0123456789'
478 as_cr_alnum
=$as_cr_Letters$as_cr_digits
481 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
482 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
483 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
484 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
485 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
497 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
501 chmod +x
"$as_me.lineno" ||
502 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
504 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
505 # already done that, so ensure we don't try to do so again and fall
506 # in an infinite loop. This has already happened in practice.
507 _as_can_reexec
=no
; export _as_can_reexec
508 # Don't try to exec as it changes $[0], causing all sort of problems
509 # (the dirname of $[0] is not the place where we might find the
510 # original and so on. Autoconf is especially sensitive to this).
512 # Exit status is that of the last command.
516 ECHO_C
= ECHO_N
= ECHO_T
=
517 case `echo -n x` in #(((((
519 case `echo 'xy\c'` in
520 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
522 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
529 rm -f conf$$ conf$$.exe conf$$.
file
530 if test -d conf$$.dir
; then
531 rm -f conf$$.dir
/conf$$.
file
534 mkdir conf$$.dir
2>/dev
/null
536 if (echo >conf$$.
file) 2>/dev
/null
; then
537 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
539 # ... but there are two gotchas:
540 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
541 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
542 # In both cases, we have to default to `cp -pR'.
543 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
545 elif ln conf$$.
file conf$$
2>/dev
/null
; then
553 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
554 rmdir conf$$.dir
2>/dev
/null
556 if mkdir
-p .
2>/dev
/null
; then
557 as_mkdir_p
='mkdir -p "$as_dir"'
559 test -d .
/-p && rmdir .
/-p
564 as_executable_p
=as_fn_executable_p
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
572 SHELL
=${CONFIG_SHELL-/bin/sh}
575 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
579 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix
=/usr
/local
588 ac_config_libobj_dir
=.
595 # Identity of this package.
597 PACKAGE_TARNAME
='lzo'
598 PACKAGE_VERSION
='2.08'
599 PACKAGE_STRING
='LZO 2.08'
600 PACKAGE_BUGREPORT
='markus@oberhumer.com'
601 PACKAGE_URL
='http://www.oberhumer.com/opensource/lzo/'
603 ac_unique_file
="src/lzo_init.c"
604 ac_default_prefix
=/usr
/local
605 # Factoring default headers for most tests.
606 ac_includes_default
="\
608 #ifdef HAVE_SYS_TYPES_H
609 # include <sys/types.h>
611 #ifdef HAVE_SYS_STAT_H
612 # include <sys/stat.h>
618 # ifdef HAVE_STDLIB_H
623 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
628 #ifdef HAVE_STRINGS_H
629 # include <strings.h>
631 #ifdef HAVE_INTTYPES_H
632 # include <inttypes.h>
641 ac_subst_vars
='am__EXEEXT_FALSE
645 LZO_USE_ASM_i386_obj_elf32_FALSE
646 LZO_USE_ASM_i386_obj_elf32_TRUE
647 LZO_USE_ASM_i386_src_gas_FALSE
648 LZO_USE_ASM_i386_src_gas_TRUE
682 INSTALL_STRIP_PROGRAM
700 am__fastdepCCAS_FALSE
721 MAINTAINER_MODE_FALSE
762 program_transform_name
775 enable_option_checking
776 enable_maintainer_mode
777 enable_dependency_tracking
789 ac_precious_vars
='build_alias
802 # Initialize some variables set by options.
804 ac_init_version
=false
805 ac_unrecognized_opts
=
807 # The variables have the same names as the options, with
808 # dashes changed to underlines.
816 program_transform_name
=s
,x
,x
,
824 # Installation directory options.
825 # These are left unexpanded so users can "make install exec_prefix=/foo"
826 # and all the variables that are supposed to be based on exec_prefix
827 # by default will actually change.
828 # Use braces instead of parens because sh, perl, etc. also accept them.
829 # (The list follows the same order as the GNU Coding Standards.)
830 bindir
='${exec_prefix}/bin'
831 sbindir
='${exec_prefix}/sbin'
832 libexecdir
='${exec_prefix}/libexec'
833 datarootdir
='${prefix}/share'
834 datadir
='${datarootdir}'
835 sysconfdir
='${prefix}/etc'
836 sharedstatedir
='${prefix}/com'
837 localstatedir
='${prefix}/var'
838 includedir
='${prefix}/include'
839 oldincludedir
='/usr/include'
840 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
841 infodir
='${datarootdir}/info'
846 libdir
='${exec_prefix}/lib'
847 localedir
='${datarootdir}/locale'
848 mandir
='${datarootdir}/man'
854 # If the previous option needs an argument, assign it.
855 if test -n "$ac_prev"; then
856 eval $ac_prev=\
$ac_option
862 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
867 # Accept the important Cygnus configure options, so we can diagnose typos.
869 case $ac_dashdash$ac_option in
873 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
875 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
878 -build |
--build |
--buil |
--bui |
--bu)
879 ac_prev
=build_alias
;;
880 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
881 build_alias
=$ac_optarg ;;
883 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
884 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
885 ac_prev
=cache_file
;;
886 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
887 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
888 cache_file
=$ac_optarg ;;
891 cache_file
=config.cache
;;
893 -datadir |
--datadir |
--datadi |
--datad)
895 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
896 datadir
=$ac_optarg ;;
898 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
899 |
--dataroo |
--dataro |
--datar)
900 ac_prev
=datarootdir
;;
901 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
902 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
903 datarootdir
=$ac_optarg ;;
905 -disable-* |
--disable-*)
906 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
909 as_fn_error $?
"invalid feature name: $ac_useropt"
910 ac_useropt_orig
=$ac_useropt
911 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
917 ac_unrecognized_sep
=', ';;
919 eval enable_
$ac_useropt=no
;;
921 -docdir |
--docdir |
--docdi |
--doc |
--do)
923 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
926 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
928 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
931 -enable-* |
--enable-*)
932 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
935 as_fn_error $?
"invalid feature name: $ac_useropt"
936 ac_useropt_orig
=$ac_useropt
937 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
943 ac_unrecognized_sep
=', ';;
945 eval enable_
$ac_useropt=\
$ac_optarg ;;
947 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
948 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
949 |
--exec |
--exe |
--ex)
950 ac_prev
=exec_prefix
;;
951 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
952 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
953 |
--exec=* |
--exe=* |
--ex=*)
954 exec_prefix
=$ac_optarg ;;
956 -gas |
--gas |
--ga |
--g)
957 # Obsolete; use --with-gas.
960 -help |
--help |
--hel |
--he |
-h)
962 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
963 ac_init_help
=recursive
;;
964 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
965 ac_init_help
=short
;;
967 -host |
--host |
--hos |
--ho)
968 ac_prev
=host_alias
;;
969 -host=* |
--host=* |
--hos=* |
--ho=*)
970 host_alias
=$ac_optarg ;;
972 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
974 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
976 htmldir
=$ac_optarg ;;
978 -includedir |
--includedir |
--includedi |
--included |
--include \
979 |
--includ |
--inclu |
--incl |
--inc)
980 ac_prev
=includedir
;;
981 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
982 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
983 includedir
=$ac_optarg ;;
985 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
987 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
988 infodir
=$ac_optarg ;;
990 -libdir |
--libdir |
--libdi |
--libd)
992 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
995 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
996 |
--libexe |
--libex |
--libe)
997 ac_prev
=libexecdir
;;
998 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
999 |
--libexe=* |
--libex=* |
--libe=*)
1000 libexecdir
=$ac_optarg ;;
1002 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1003 ac_prev
=localedir
;;
1004 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1005 localedir
=$ac_optarg ;;
1007 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1008 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1009 ac_prev
=localstatedir
;;
1010 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1011 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1012 localstatedir
=$ac_optarg ;;
1014 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1016 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1017 mandir
=$ac_optarg ;;
1019 -nfp |
--nfp |
--nf)
1020 # Obsolete; use --without-fp.
1023 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1024 |
--no-cr |
--no-c |
-n)
1027 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1028 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1031 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1032 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1033 |
--oldin |
--oldi |
--old |
--ol |
--o)
1034 ac_prev
=oldincludedir
;;
1035 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1036 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1037 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1038 oldincludedir
=$ac_optarg ;;
1040 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1042 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1043 prefix
=$ac_optarg ;;
1045 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1046 |
--program-pre |
--program-pr |
--program-p)
1047 ac_prev
=program_prefix
;;
1048 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1049 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1050 program_prefix
=$ac_optarg ;;
1052 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1053 |
--program-suf |
--program-su |
--program-s)
1054 ac_prev
=program_suffix
;;
1055 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1056 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1057 program_suffix
=$ac_optarg ;;
1059 -program-transform-name |
--program-transform-name \
1060 |
--program-transform-nam |
--program-transform-na \
1061 |
--program-transform-n |
--program-transform- \
1062 |
--program-transform |
--program-transfor \
1063 |
--program-transfo |
--program-transf \
1064 |
--program-trans |
--program-tran \
1065 |
--progr-tra |
--program-tr |
--program-t)
1066 ac_prev
=program_transform_name
;;
1067 -program-transform-name=* |
--program-transform-name=* \
1068 |
--program-transform-nam=* |
--program-transform-na=* \
1069 |
--program-transform-n=* |
--program-transform-=* \
1070 |
--program-transform=* |
--program-transfor=* \
1071 |
--program-transfo=* |
--program-transf=* \
1072 |
--program-trans=* |
--program-tran=* \
1073 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1074 program_transform_name
=$ac_optarg ;;
1076 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1078 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1079 pdfdir
=$ac_optarg ;;
1081 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1083 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1087 |
-silent |
--silent |
--silen |
--sile |
--sil)
1090 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1092 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1094 sbindir
=$ac_optarg ;;
1096 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1097 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1098 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1100 ac_prev
=sharedstatedir
;;
1101 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1102 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1103 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1105 sharedstatedir
=$ac_optarg ;;
1107 -site |
--site |
--sit)
1109 -site=* |
--site=* |
--sit=*)
1112 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1114 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1115 srcdir
=$ac_optarg ;;
1117 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1118 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1119 ac_prev
=sysconfdir
;;
1120 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1121 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1122 sysconfdir
=$ac_optarg ;;
1124 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1125 ac_prev
=target_alias
;;
1126 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1127 target_alias
=$ac_optarg ;;
1129 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1132 -version |
--version |
--versio |
--versi |
--vers |
-V)
1133 ac_init_version
=: ;;
1136 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error $?
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=\
$ac_optarg ;;
1151 -without-* |
--without-*)
1152 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1155 as_fn_error $?
"invalid package name: $ac_useropt"
1156 ac_useropt_orig
=$ac_useropt
1157 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163 ac_unrecognized_sep
=', ';;
1165 eval with_
$ac_useropt=no
;;
1168 # Obsolete; use --with-x.
1171 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1172 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1173 ac_prev
=x_includes
;;
1174 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1175 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1176 x_includes
=$ac_optarg ;;
1178 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1179 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1180 ac_prev
=x_libraries
;;
1181 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1182 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1183 x_libraries
=$ac_optarg ;;
1185 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1186 Try \`$0 --help' for more information"
1190 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 case $ac_envvar in #(
1193 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1194 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1196 eval $ac_envvar=\
$ac_optarg
1197 export $ac_envvar ;;
1200 # FIXME: should be removed in autoconf 3.0.
1201 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1210 if test -n "$ac_prev"; then
1211 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1212 as_fn_error $?
"missing argument to $ac_option"
1215 if test -n "$ac_unrecognized_opts"; then
1216 case $enable_option_checking in
1218 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1219 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223 # Check all directory arguments for consistency.
1224 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225 datadir sysconfdir sharedstatedir localstatedir includedir \
1226 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227 libdir localedir mandir
1229 eval ac_val
=\$
$ac_var
1230 # Remove trailing slashes.
1233 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234 eval $ac_var=\
$ac_val;;
1236 # Be sure to have absolute directory names.
1238 [\\/$
]* | ?
:[\\/]* ) continue;;
1239 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1241 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1249 target
=$target_alias
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x
; then
1253 if test "x$build_alias" = x
; then
1254 cross_compiling
=maybe
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1263 test "$silent" = yes && exec 6>/dev
/null
1266 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di
=`ls -di .` &&
1268 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1269 as_fn_error $?
"working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271 as_fn_error $?
"pwd does not report name of working directory"
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276 ac_srcdir_defaulted
=yes
1277 # Try the directory containing this script, then the parent directory.
1278 ac_confdir
=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280 X"$as_myself" : 'X\(//\)[^/]' \| \
1281 X"$as_myself" : 'X\(//\)$' \| \
1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1306 ac_srcdir_defaulted
=no
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1310 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1312 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1324 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 for ac_var
in $ac_precious_vars; do
1327 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1329 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1340 \`configure' configures LZO 2.08 to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking ...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 [$ac_default_prefix]
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --libdir=DIR object code libraries [EPREFIX/lib]
1381 --includedir=DIR C header files [PREFIX/include]
1382 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1385 --infodir=DIR info documentation [DATAROOTDIR/info]
1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1387 --mandir=DIR man documentation [DATAROOTDIR/man]
1388 --docdir=DIR documentation root [DATAROOTDIR/doc/lzo]
1389 --htmldir=DIR html documentation [DOCDIR]
1390 --dvidir=DIR dvi documentation [DOCDIR]
1391 --pdfdir=DIR pdf documentation [DOCDIR]
1392 --psdir=DIR ps documentation [DOCDIR]
1398 --program-prefix=PREFIX prepend PREFIX to installed program names
1399 --program-suffix=SUFFIX append SUFFIX to installed program names
1400 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1403 --build=BUILD configure
for building on BUILD
[guessed
]
1404 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1405 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive
) echo "Configuration of LZO 2.08:";;
1416 --disable-option-checking ignore unrecognized
--enable/--with options
1417 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1418 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1419 --enable-maintainer-mode
1420 enable make rules and dependencies not useful
(and
1421 sometimes confusing
) to the casual installer
1422 --enable-dependency-tracking
1423 do not reject slow dependency extractors
1424 --disable-dependency-tracking
1425 speeds up one-time build
1426 --disable-largefile omit support
for large files
1427 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1428 --disable-silent-rules verbose build output
(undo
: "make V=0")
1429 --enable-static[=PKGS
] build static libraries
[default
=yes]
1430 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1431 --enable-fast-install[=PKGS
]
1432 optimize
for fast installation
[default
=yes]
1433 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1434 --disable-asm disable assembly versions
1437 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1438 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1439 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1441 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1442 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1443 compiler
's sysroot if not specified).
1445 Some influential environment variables:
1446 CC C compiler command
1447 CFLAGS C compiler flags
1448 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1449 nonstandard directory <lib dir>
1450 LIBS libraries to pass to the linker, e.g. -l<library>
1451 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1452 you have headers in a nonstandard directory <include dir>
1453 CCAS assembler compiler command (defaults to CC)
1454 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1457 Use these variables to override the choices made by `configure' or to
help
1458 it to
find libraries and programs with nonstandard names
/locations.
1460 Report bugs to
<markus@oberhumer.com
>.
1461 LZO home page
: <http
://www.oberhumer.com
/opensource
/lzo
/>.
1466 if test "$ac_init_help" = "recursive"; then
1467 # If there are subdirs, report their specific --help.
1468 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1469 test -d "$ac_dir" ||
1470 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1475 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1477 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1478 # A ".." for each directory in $ac_dir_suffix.
1479 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1480 case $ac_top_builddir_sub in
1481 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1482 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1485 ac_abs_top_builddir
=$ac_pwd
1486 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1487 # for backward compatibility:
1488 ac_top_builddir
=$ac_top_build_prefix
1491 .
) # We are building in place.
1493 ac_top_srcdir
=$ac_top_builddir_sub
1494 ac_abs_top_srcdir
=$ac_pwd ;;
1495 [\\/]* | ?
:[\\/]* ) # Absolute name.
1496 ac_srcdir
=$srcdir$ac_dir_suffix;
1497 ac_top_srcdir
=$srcdir
1498 ac_abs_top_srcdir
=$srcdir ;;
1500 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1501 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1502 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1504 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1506 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1507 # Check for guested configure.
1508 if test -f "$ac_srcdir/configure.gnu"; then
1510 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1511 elif test -f "$ac_srcdir/configure"; then
1513 $SHELL "$ac_srcdir/configure" --help=recursive
1515 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1517 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1521 test -n "$ac_init_help" && exit $ac_status
1522 if $ac_init_version; then
1525 generated by GNU Autoconf
2.69
1527 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1528 This configure
script is free software
; the Free Software Foundation
1529 gives unlimited permission to copy
, distribute and modify it.
1531 Copyright
(C
) 1996-2014 Markus Franz Xaver Johannes Oberhumer.
1532 All Rights Reserved.
1533 This configure
script may be copied
, distributed and modified under the
1534 terms of the GNU General Public License
; see COPYING
for more details.
1539 ## ------------------------ ##
1540 ## Autoconf initialization. ##
1541 ## ------------------------ ##
1543 # ac_fn_c_try_compile LINENO
1544 # --------------------------
1545 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1546 ac_fn_c_try_compile
()
1548 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1549 rm -f conftest.
$ac_objext
1550 if { { ac_try
="$ac_compile"
1552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1553 *) ac_try_echo=$ac_try;;
1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557 (eval "$ac_compile") 2>conftest.err
1559 if test -s conftest.err; then
1560 grep -v '^ *+' conftest.err >conftest.er1
1561 cat conftest.er1 >&5
1562 mv -f conftest.er1 conftest.err
1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1565 test $ac_status = 0; } && {
1566 test -z "$ac_c_werror_flag" ||
1567 test ! -s conftest.err
1568 } && test -s conftest.$ac_objext; then :
1571 $as_echo "$as_me: failed program was:" >&5
1572 sed 's/^/| /' conftest.$ac_ext >&5
1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1577 as_fn_set_status $ac_retval
1579 } # ac_fn_c_try_compile
1581 # ac_fn_c_try_cpp LINENO
1582 # ----------------------
1583 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if { { ac_try="$ac_cpp conftest.$ac_ext"
1589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1590 *) ac_try_echo
=$ac_try;;
1592 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1596 if test -s conftest.err
; then
1597 grep -v '^ *+' conftest.err
>conftest.er1
1598 cat conftest.er1
>&5
1599 mv -f conftest.er1 conftest.err
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } > conftest.i
&& {
1603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1604 test ! -s conftest.err
1608 $as_echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.
$ac_ext >&5
1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 as_fn_set_status
$ac_retval
1618 # ac_fn_c_try_run LINENO
1619 # ----------------------
1620 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1621 # that executables *can* be run.
1624 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1625 if { { ac_try
="$ac_link"
1627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_link") 2>&5
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1636 { { case "(($ac_try" in
1637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1638 *) ac_try_echo
=$ac_try;;
1640 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_try") 2>&5
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; }; }; then :
1648 $as_echo "$as_me: program exited with status $ac_status" >&5
1649 $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.
$ac_ext >&5
1652 ac_retval
=$ac_status
1654 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 as_fn_set_status
$ac_retval
1660 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1661 # -------------------------------------------------------
1662 # Tests whether HEADER exists and can be compiled using the include files in
1663 # INCLUDES, setting the cache variable VAR accordingly.
1664 ac_fn_c_check_header_compile
()
1666 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1668 $as_echo_n "checking for $2... " >&6; }
1669 if eval \
${$3+:} false
; then :
1670 $as_echo_n "(cached) " >&6
1672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1673 /* end confdefs.h. */
1677 if ac_fn_c_try_compile
"$LINENO"; then :
1682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1686 $as_echo "$ac_res" >&6; }
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 } # ac_fn_c_check_header_compile
1691 # ac_fn_c_try_link LINENO
1692 # -----------------------
1693 # Try to link conftest.$ac_ext, and return whether this succeeded.
1696 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1697 rm -f conftest.
$ac_objext conftest
$ac_exeext
1698 if { { ac_try
="$ac_link"
1700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_link") 2>conftest.err
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest$ac_exeext && {
1717 test "$cross_compiling" = yes ||
1718 test -x conftest$ac_exeext
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1727 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1728 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1729 # interfere with the next link command; also delete a directory that is
1730 # left behind by Apple's compiler. We do this before executing the actions.
1731 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 as_fn_set_status $ac_retval
1735 } # ac_fn_c_try_link
1737 # ac_fn_c_check_func LINENO FUNC VAR
1738 # ----------------------------------
1739 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1740 ac_fn_c_check_func ()
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if eval \${$3+:} false; then :
1746 $as_echo_n "(cached) " >&6
1748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1750 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1752 #define $2 innocuous_$2
1754 /* System header to define __stub macros and hopefully few prototypes,
1755 which can conflict with char $2 (); below.
1756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1757 <limits.h> exists even on freestanding compilers. */
1760 # include <limits.h>
1762 # include <assert.h>
1767 /* Override any GCC internal prototype to avoid an error.
1768 Use char because int might match the return type of a GCC
1769 builtin and then its argument prototype would still apply. */
1774 /* The GNU C library defines this for functions which it implements
1775 to always fail with ENOSYS. Some functions are actually named
1776 something starting with __ and the normal name is an alias. */
1777 #if defined __stub_$2 || defined __stub___$2
1789 if ac_fn_c_try_link "$LINENO"; then :
1794 rm -f core conftest.err conftest.$ac_objext \
1795 conftest$ac_exeext conftest.$ac_ext
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1799 $as_echo "$ac_res" >&6; }
1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802 } # ac_fn_c_check_func
1804 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1805 # -------------------------------------------------------
1806 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1807 # the include files in INCLUDES and setting the cache variable VAR
1809 ac_fn_c_check_header_mongrel ()
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 if eval \${$3+:} false; then :
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if eval \${$3+:} false; then :
1816 $as_echo_n "(cached) " >&6
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1822 # Is the header compilable?
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1824 $as_echo_n "checking $2 usability... " >&6; }
1825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h. */
1830 if ac_fn_c_try_compile "$LINENO"; then :
1831 ac_header_compiler=yes
1833 ac_header_compiler=no
1835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1837 $as_echo "$ac_header_compiler" >&6; }
1839 # Is the header present?
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1841 $as_echo_n "checking $2 presence... " >&6; }
1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1846 if ac_fn_c_try_cpp "$LINENO"; then :
1847 ac_header_preproc=yes
1849 ac_header_preproc=no
1851 rm -f conftest.err conftest.i conftest.$ac_ext
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1853 $as_echo "$ac_header_preproc" >&6; }
1855 # So? What about this header?
1856 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1859 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1861 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1865 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1867 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1869 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1871 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1873 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1874 ( $as_echo "## ----------------------------------- ##
1875 ## Report this to markus@oberhumer.com ##
1876 ## ----------------------------------- ##"
1877 ) | sed "s/^/$as_me: WARNING: /" >&2
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \${$3+:} false; then :
1883 $as_echo_n "(cached) " >&6
1885 eval "$3=\$ac_header_compiler"
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1889 $as_echo "$ac_res" >&6; }
1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1893 } # ac_fn_c_check_header_mongrel
1895 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1896 # -------------------------------------------
1897 # Tests whether TYPE exists after having included INCLUDES, setting cache
1898 # variable VAR accordingly.
1899 ac_fn_c_check_type ()
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903 $as_echo_n "checking for $2... " >&6; }
1904 if eval \${$3+:} false; then :
1905 $as_echo_n "(cached) " >&6
1908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h. */
1920 if ac_fn_c_try_compile "$LINENO"; then :
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1933 if ac_fn_c_try_compile "$LINENO"; then :
1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947 } # ac_fn_c_check_type
1949 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1950 # --------------------------------------------
1951 # Tries to find the compile-time value of EXPR in a program that includes
1952 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1954 ac_fn_c_compute_int ()
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 if test "$cross_compiling" = yes; then
1958 # Depending upon the size, compute the lo and hi bounds.
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1965 static int test_array [1 - 2 * !(($2) >= 0)];
1967 return test_array [0];
1973 if ac_fn_c_try_compile "$LINENO"; then :
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1982 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1984 return test_array [0];
1990 if ac_fn_c_try_compile "$LINENO"; then :
1991 ac_hi=$ac_mid; break
1993 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1994 if test $ac_lo -le $ac_mid; then
1998 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2004 /* end confdefs.h. */
2009 static int test_array [1 - 2 * !(($2) < 0)];
2011 return test_array [0];
2017 if ac_fn_c_try_compile "$LINENO"; then :
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2026 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2028 return test_array [0];
2034 if ac_fn_c_try_compile "$LINENO"; then :
2035 ac_lo=$ac_mid; break
2037 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2038 if test $ac_mid -le $ac_hi; then
2042 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2052 # Binary search between lo and hi bounds.
2053 while test "x$ac_lo" != "x$ac_hi"; do
2054 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2056 /* end confdefs.h. */
2061 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2063 return test_array [0];
2069 if ac_fn_c_try_compile "$LINENO"; then :
2072 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2084 static long int longval () { return $2; }
2085 static unsigned long int ulongval () { return $2; }
2092 FILE *f = fopen ("conftest.val", "w");
2097 long int i = longval ();
2100 fprintf (f, "%ld", i);
2104 unsigned long int i = ulongval ();
2107 fprintf (f, "%lu", i);
2109 /* Do not output a trailing newline, as this causes \r\n confusion
2110 on some platforms. */
2111 return ferror (f) || fclose (f) != 0;
2117 if ac_fn_c_try_run "$LINENO"; then :
2118 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2123 conftest.$ac_objext conftest.beam conftest.$ac_ext
2127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2128 as_fn_set_status $ac_retval
2130 } # ac_fn_c_compute_int
2131 cat >config.log <<_ACEOF
2132 This file contains any messages produced by compilers while
2133 running configure, to aid debugging if configure makes a mistake.
2135 It was created by LZO $as_me 2.08, which was
2136 generated by GNU Autoconf 2.69. Invocation command line was
2148 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2149 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2150 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2151 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2152 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2154 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2155 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2157 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2158 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2159 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2160 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2161 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2162 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2163 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir=.
2172 $as_echo "PATH: $as_dir"
2188 # Keep a trace of the command line.
2189 # Strip out --no-create and --no-recursion so they do not pile up.
2190 # Strip out --silent because we don't want to record it for future runs.
2191 # Also quote any args containing shell meta-characters.
2192 # Make two passes to allow for proper duplicate-argument suppression.
2196 ac_must_keep_next=false
2202 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2204 | -silent | --silent | --silen | --sile | --sil)
2207 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2210 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2212 as_fn_append ac_configure_args1 " '$ac_arg'"
2213 if test $ac_must_keep_next = true; then
2214 ac_must_keep_next=false # Got value, back to normal.
2217 *=* | --config-cache | -C | -disable-* | --disable-* \
2218 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2219 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2220 | -with-* | --with-* | -without-* | --without-* | --x)
2221 case "$ac_configure_args0 " in
2222 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2225 -* ) ac_must_keep_next=true ;;
2228 as_fn_append ac_configure_args " '$ac_arg'"
2233 { ac_configure_args0=; unset ac_configure_args0;}
2234 { ac_configure_args1=; unset ac_configure_args1;}
2236 # When interrupted or exit'd, cleanup temporary files, and complete
2237 # config.log. We remove comments because anyway the quotes in there
2238 # would cause problems or look ugly.
2239 # WARNING: Use '\'' to represent an apostrophe within the trap.
2240 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2241 trap 'exit_status=$?
2242 # Save into config.log some information that might help in debugging.
2246 $as_echo "## ---------------- ##
2247 ## Cache variables. ##
2248 ## ---------------- ##"
2250 # The following way of writing the cache mishandles newlines in values,
2252 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2253 eval ac_val=\$$ac_var
2257 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2258 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2261 _ | IFS | as_nl) ;; #(
2262 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2263 *) { eval $ac_var=; unset $ac_var;} ;;
2268 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2269 *${as_nl}ac_space=\ *)
2271 "s/'\''/'\''\\\\'\'''\''/g;
2272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2282 $as_echo "## ----------------- ##
2283 ## Output variables. ##
2284 ## ----------------- ##"
2286 for ac_var in $ac_subst_vars
2288 eval ac_val=\$$ac_var
2290 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2292 $as_echo "$ac_var='\''$ac_val'\''"
2296 if test -n "$ac_subst_files"; then
2297 $as_echo "## ------------------- ##
2298 ## File substitutions. ##
2299 ## ------------------- ##"
2301 for ac_var in $ac_subst_files
2303 eval ac_val=\$$ac_var
2305 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2307 $as_echo "$ac_var='\''$ac_val'\''"
2312 if test -s confdefs.h; then
2313 $as_echo "## ----------- ##
2320 test "$ac_signal" != 0 &&
2321 $as_echo "$as_me: caught signal $ac_signal"
2322 $as_echo "$as_me: exit $exit_status"
2324 rm -f core *.core core.conftest.* &&
2325 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2328 for ac_signal in 1 2 13 15; do
2329 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2333 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2334 rm -f -r conftest* confdefs.h
2336 $as_echo "/* confdefs.h */" > confdefs.h
2338 # Predefined preprocessor variables.
2340 cat >>confdefs.h <<_ACEOF
2341 #define PACKAGE_NAME "$PACKAGE_NAME"
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_STRING "$PACKAGE_STRING"
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2360 cat >>confdefs.h <<_ACEOF
2361 #define PACKAGE_URL "$PACKAGE_URL"
2365 # Let the site file select an alternate cache file if it wants to.
2366 # Prefer an explicitly selected file to automatically selected ones.
2369 if test -n "$CONFIG_SITE"; then
2370 # We do not want a PATH search for config.site.
2371 case $CONFIG_SITE in #((
2372 -*) ac_site_file1=./$CONFIG_SITE;;
2373 */*) ac_site_file1=$CONFIG_SITE;;
2374 *) ac_site_file1=./$CONFIG_SITE;;
2376 elif test "x$prefix" != xNONE; then
2377 ac_site_file1=$prefix/share/config.site
2378 ac_site_file2=$prefix/etc/config.site
2380 ac_site_file1=$ac_default_prefix/share/config.site
2381 ac_site_file2=$ac_default_prefix/etc/config.site
2383 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2385 test "x$ac_site_file" = xNONE && continue
2386 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2388 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2389 sed 's/^/| /' "$ac_site_file" >&5
2391 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2393 as_fn_error $? "failed to load site
script $ac_site_file
2394 See \
`config.log' for more details" "$LINENO" 5; }
2398 if test -r "$cache_file"; then
2399 # Some versions of bash will fail to source /dev/null (special files
2400 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2401 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2403 $as_echo "$as_me: loading cache $cache_file" >&6;}
2405 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2406 *) . "./$cache_file";;
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2411 $as_echo "$as_me: creating cache $cache_file" >&6;}
2415 # Check that the precious variables saved in the cache have kept the same
2417 ac_cache_corrupted=false
2418 for ac_var in $ac_precious_vars; do
2419 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2420 eval ac_new_set=\$ac_env_${ac_var}_set
2421 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2422 eval ac_new_val=\$ac_env_${ac_var}_value
2423 case $ac_old_set,$ac_new_set in
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2426 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2427 ac_cache_corrupted=: ;;
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2430 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2431 ac_cache_corrupted=: ;;
2434 if test "x$ac_old_val" != "x$ac_new_val"; then
2435 # differences in whitespace do not lead to failure.
2436 ac_old_val_w=`echo x
$ac_old_val`
2437 ac_new_val_w=`echo x
$ac_new_val`
2438 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2440 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2441 ac_cache_corrupted=:
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2444 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2445 eval $ac_var=\$ac_old_val
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2448 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2450 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2453 # Pass precious variables to config.status.
2454 if test "$ac_new_set" = set; then
2456 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2457 *) ac_arg=$ac_var=$ac_new_val ;;
2459 case " $ac_configure_args " in
2460 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2461 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2465 if $ac_cache_corrupted; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2469 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2470 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2472 ## -------------------- ##
2473 ## Main body of script. ##
2474 ## -------------------- ##
2477 ac_cpp='$CPP $CPPFLAGS'
2478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring LZO $PACKAGE_VERSION" >&5
2484 $as_echo "$as_me: Configuring LZO $PACKAGE_VERSION" >&6;}
2487 for ac_dir in autoconf "$srcdir"/autoconf; do
2488 if test -f "$ac_dir/install-sh"; then
2490 ac_install_sh="$ac_aux_dir/install-sh -c"
2492 elif test -f "$ac_dir/install.sh"; then
2494 ac_install_sh="$ac_aux_dir/install.sh -c"
2496 elif test -f "$ac_dir/shtool"; then
2498 ac_install_sh="$ac_aux_dir/shtool install -c"
2502 if test -z "$ac_aux_dir"; then
2503 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2506 # These three variables are undocumented and unsupported,
2507 # and are intended to be withdrawn in a future Autoconf release.
2508 # They can cause serious problems if a builder's source tree is in a directory
2509 # whose full name contains unusual characters.
2510 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2511 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2512 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2532 # Enable extensions on systems that normally disable them.
2534 # Copyright (C) 2003, 2006-2014 Free Software Foundation, Inc.
2535 # This file is free software; the Free Software Foundation
2536 # gives unlimited permission to copy and/or distribute it,
2537 # with or without modifications, as long as this notice is preserved.
2539 # This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from git
2540 # Autoconf. Perhaps we can remove this once we can assume Autoconf
2541 # 2.70 or later everywhere, but since Autoconf mutates rapidly
2542 # enough in this area it's likely we'll need to redefine
2543 # AC_USE_SYSTEM_EXTENSIONS for quite some time.
2545 # If autoconf reports a warning
2546 # warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
2547 # or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
2549 # 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked
2550 # but always AC_REQUIREd,
2551 # 2) to ensure that for each occurrence of
2552 # AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
2554 # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
2555 # the corresponding gnulib module description has 'extensions' among
2556 # its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS
2557 # invocation occurs in gl_EARLY, not in gl_INIT.
2559 # AC_USE_SYSTEM_EXTENSIONS
2560 # ------------------------
2561 # Enable extensions on systems that normally disable them,
2562 # typically due to standards-conformance issues.
2564 # Remember that #undef in AH_VERBATIM gets replaced with #define by
2565 # AC_DEFINE. The goal here is to define all known feature-enabling
2566 # macros, then, if reports of conflicts are made, disable macros that
2567 # cause problems on some platforms (such as __EXTENSIONS__).
2568 # AC_USE_SYSTEM_EXTENSIONS
2570 # gl_USE_SYSTEM_EXTENSIONS
2571 # ------------------------
2572 # Enable extensions on systems that normally disable them,
2573 # typically due to standards-conformance issues.
2592 # Checks for stat-related time functions.
2594 # Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2014 Free Software
2597 # This file is free software; the Free Software Foundation
2598 # gives unlimited permission to copy and/or distribute it,
2599 # with or without modifications, as long as this notice is preserved.
2602 # st_atim.tv_nsec - Linux, Solaris, Cygwin
2603 # st_atimespec.tv_nsec - FreeBSD, NetBSD, if ! defined _POSIX_SOURCE
2604 # st_atimensec - FreeBSD, NetBSD, if defined _POSIX_SOURCE
2605 # st_atim.st__tim.tv_nsec - UnixWare (at least 2.1.2 through 7.1)
2607 # st_birthtimespec - FreeBSD, NetBSD (hidden on OpenBSD 3.9, anyway)
2608 # st_birthtim - Cygwin 1.7.0+
2612 # Check for st_birthtime, a feature from UFS2 (FreeBSD, NetBSD, OpenBSD, etc.)
2613 # and NTFS (Cygwin).
2614 # There was a time when this field was named st_createtime (21 June
2615 # 2002 to 16 July 2002) But that window is very small and applied only
2616 # to development code, so systems still using that configuration are
2617 # not supported. See revisions 1.10 and 1.11 of FreeBSD's
2618 # src/sys/ufs/ufs/dinode.h.
2626 # Make sure we can run config.sub.
2627 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2628 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2631 $as_echo_n "checking build system type... " >&6; }
2632 if ${ac_cv_build+:} false; then :
2633 $as_echo_n "(cached) " >&6
2635 ac_build_alias=$build_alias
2636 test "x$ac_build_alias" = x &&
2637 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2638 test "x$ac_build_alias" = x &&
2639 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2640 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2641 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2645 $as_echo "$ac_cv_build" >&6; }
2646 case $ac_cv_build in
2648 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2651 ac_save_IFS=$IFS; IFS='-'
2657 # Remember, the first character of IFS is used to create $*,
2658 # except with old shells:
2661 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2665 $as_echo_n "checking host system type... " >&6; }
2666 if ${ac_cv_host+:} false; then :
2667 $as_echo_n "(cached) " >&6
2669 if test "x$host_alias" = x; then
2670 ac_cv_host=$ac_cv_build
2672 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2673 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2678 $as_echo "$ac_cv_host" >&6; }
2681 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2684 ac_save_IFS=$IFS; IFS='-'
2690 # Remember, the first character of IFS is used to create $*,
2691 # except with old shells:
2694 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2698 $as_echo_n "checking target system type... " >&6; }
2699 if ${ac_cv_target+:} false; then :
2700 $as_echo_n "(cached) " >&6
2702 if test "x$target_alias" = x; then
2703 ac_cv_target=$ac_cv_host
2705 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2706 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2711 $as_echo "$ac_cv_target" >&6; }
2712 case $ac_cv_target in
2714 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2716 target=$ac_cv_target
2717 ac_save_IFS=$IFS; IFS='-'
2723 # Remember, the first character of IFS is used to create $*,
2724 # except with old shells:
2727 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2730 # The aliases save the names the user supplied, while $host etc.
2731 # will get canonicalized.
2732 test -n "$target_alias" &&
2733 test "$program_prefix$program_suffix$program_transform_name" = \
2735 program_prefix=${target_alias}-
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2738 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2739 # Check whether --enable-maintainer-mode was given.
2740 if test "${enable_maintainer_mode+set}" = set; then :
2741 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2743 USE_MAINTAINER_MODE=no
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2747 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2748 if test $USE_MAINTAINER_MODE = yes; then
2749 MAINTAINER_MODE_TRUE=
2750 MAINTAINER_MODE_FALSE='#'
2752 MAINTAINER_MODE_TRUE='#'
2753 MAINTAINER_MODE_FALSE=
2756 MAINT=$MAINTAINER_MODE_TRUE
2760 if test -z "$ac_abs_top_srcdir"; then
2764 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2766 ac_dir_suffix=/`$as_echo . |
sed 's|^\.[\\/]||'`
2767 # A ".." for each directory in $ac_dir_suffix.
2768 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
2769 case $ac_top_builddir_sub in
2770 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2771 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2774 ac_abs_top_builddir=$ac_pwd
2775 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2776 # for backward compatibility:
2777 ac_top_builddir=$ac_top_build_prefix
2780 .) # We are building in place.
2782 ac_top_srcdir=$ac_top_builddir_sub
2783 ac_abs_top_srcdir=$ac_pwd ;;
2784 [\\/]* | ?:[\\/]* ) # Absolute name.
2785 ac_srcdir=$srcdir$ac_dir_suffix;
2786 ac_top_srcdir=$srcdir
2787 ac_abs_top_srcdir=$srcdir ;;
2789 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2790 ac_top_srcdir=$ac_top_build_prefix$srcdir
2791 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2793 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2796 if test -z "$ac_abs_top_srcdir"; then
2797 as_fn_error 1 "internal error: ac_abs_top_srcdir is not set"
2799 if test -r .Conf.settings1; then
2804 ac_cpp='$CPP $CPPFLAGS'
2805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2808 if test -n "$ac_tool_prefix"; then
2809 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2810 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812 $as_echo_n "checking for $ac_word... " >&6; }
2813 if ${ac_cv_prog_CC+:} false; then :
2814 $as_echo_n "(cached) " >&6
2816 if test -n "$CC"; then
2817 ac_cv_prog_CC="$CC" # Let the user override the test.
2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2823 test -z "$as_dir" && as_dir=.
2824 for ac_exec_ext in '' $ac_executable_extensions; do
2825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 if test -n "$CC"; then
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2839 $as_echo "$CC" >&6; }
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2842 $as_echo "no" >&6; }
2847 if test -z "$ac_cv_prog_CC"; then
2849 # Extract the first word of "gcc", so it can be a program name with args.
2850 set dummy gcc; ac_word=$2
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2852 $as_echo_n "checking for $ac_word... " >&6; }
2853 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2854 $as_echo_n "(cached) " >&6
2856 if test -n "$ac_ct_CC"; then
2857 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir=.
2864 for ac_exec_ext in '' $ac_executable_extensions; do
2865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2866 ac_cv_prog_ac_ct_CC="gcc"
2867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2877 if test -n "$ac_ct_CC"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2879 $as_echo "$ac_ct_CC" >&6; }
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2885 if test "x$ac_ct_CC" = x; then
2888 case $cross_compiling:$ac_tool_warned in
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2892 ac_tool_warned=yes ;;
2900 if test -z "$CC"; then
2901 if test -n "$ac_tool_prefix"; then
2902 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2903 set dummy ${ac_tool_prefix}cc; ac_word=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if ${ac_cv_prog_CC+:} false; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$CC"; then
2910 ac_cv_prog_CC="$CC" # Let the user override the test.
2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir=.
2917 for ac_exec_ext in '' $ac_executable_extensions; do
2918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2919 ac_cv_prog_CC="${ac_tool_prefix}cc"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2930 if test -n "$CC"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2932 $as_echo "$CC" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2941 if test -z "$CC"; then
2942 # Extract the first word of "cc", so it can be a program name with args.
2943 set dummy cc; ac_word=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if ${ac_cv_prog_CC+:} false; then :
2947 $as_echo_n "(cached) " >&6
2949 if test -n "$CC"; then
2950 ac_cv_prog_CC="$CC" # Let the user override the test.
2953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2957 test -z "$as_dir" && as_dir=.
2958 for ac_exec_ext in '' $ac_executable_extensions; do
2959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2960 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2961 ac_prog_rejected=yes
2965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2972 if test $ac_prog_rejected = yes; then
2973 # We found a bogon in the path, so make sure we never use it.
2974 set dummy $ac_cv_prog_CC
2976 if test $# != 0; then
2977 # We chose a different compiler from the bogus one.
2978 # However, it has the same basename, so the bogon will be chosen
2979 # first if we set CC to just the basename; use the full file name.
2981 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2987 if test -n "$CC"; then
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2989 $as_echo "$CC" >&6; }
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2992 $as_echo "no" >&6; }
2997 if test -z "$CC"; then
2998 if test -n "$ac_tool_prefix"; then
2999 for ac_prog in cl.exe
3001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3002 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if ${ac_cv_prog_CC+:} false; then :
3006 $as_echo_n "(cached) " >&6
3008 if test -n "$CC"; then
3009 ac_cv_prog_CC="$CC" # Let the user override the test.
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029 if test -n "$CC"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3031 $as_echo "$CC" >&6; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3038 test -n "$CC" && break
3041 if test -z "$CC"; then
3043 for ac_prog in cl.exe
3045 # Extract the first word of "$ac_prog", so it can be a program name with args.
3046 set dummy $ac_prog; ac_word=$2
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3048 $as_echo_n "checking for $ac_word... " >&6; }
3049 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3050 $as_echo_n "(cached) " >&6
3052 if test -n "$ac_ct_CC"; then
3053 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059 test -z "$as_dir" && as_dir=.
3060 for ac_exec_ext in '' $ac_executable_extensions; do
3061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062 ac_cv_prog_ac_ct_CC="$ac_prog"
3063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3073 if test -n "$ac_ct_CC"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3075 $as_echo "$ac_ct_CC" >&6; }
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3078 $as_echo "no" >&6; }
3082 test -n "$ac_ct_CC" && break
3085 if test "x$ac_ct_CC" = x; then
3088 case $cross_compiling:$ac_tool_warned in
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3092 ac_tool_warned=yes ;;
3101 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3104 See \
`config.log' for more details" "$LINENO" 5; }
3106 # Provide some information about the compiler.
3107 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3110 for ac_option in --version -v -V -qversion; do
3111 { { ac_try="$ac_compiler $ac_option >&5"
3113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3114 *) ac_try_echo
=$ac_try;;
3116 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3117 $as_echo "$ac_try_echo"; } >&5
3118 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3120 if test -s conftest.err
; then
3122 ... rest of stderr output deleted ...
3123 10q' conftest.err
>conftest.er1
3124 cat conftest.er1
>&5
3126 rm -f conftest.er1 conftest.err
3127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3128 test $ac_status = 0; }
3131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3132 /* end confdefs.h. */
3142 ac_clean_files_save
=$ac_clean_files
3143 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3144 # Try to create an executable without -o first, disregard a.out.
3145 # It will help us diagnose broken compilers, and finding out an intuition
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3148 $as_echo_n "checking whether the C compiler works... " >&6; }
3149 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3151 # The possible output files:
3152 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3155 for ac_file
in $ac_files
3158 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3159 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3164 if { { ac_try
="$ac_link_default"
3166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3170 $as_echo "$ac_try_echo"; } >&5
3171 (eval "$ac_link_default") 2>&5
3173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3174 test $ac_status = 0; }; then :
3175 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3176 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3177 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3178 # so that the user can short-circuit this test for compilers unknown to
3180 for ac_file in $ac_files ''
3182 test -f "$ac_file" || continue
3184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3187 # We found the default executable, but exeext='' is most
3191 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3193 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3195 # We set ac_cv_exeext here because the later test for it is not
3196 # safe: cross compilers may not add the suffix if given an `-o'
3197 # argument, so we may need to know it at that point already.
3198 # Even if this section looks crufty: it has the advantage of
3205 test "$ac_cv_exeext" = no && ac_cv_exeext=
3210 if test -z "$ac_file"; then :
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3212 $as_echo "no" >&6; }
3213 $as_echo "$as_me: failed program was:" >&5
3214 sed 's
/^
/|
/' conftest.$ac_ext >&5
3216 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3217 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3218 as_fn_error 77 "C compiler cannot create executables
3219 See \`config.log
' for more details" "$LINENO" 5; }
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3222 $as_echo "yes" >&6; }
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3225 $as_echo_n "checking for C compiler default output file name... " >&6; }
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3227 $as_echo "$ac_file" >&6; }
3228 ac_exeext=$ac_cv_exeext
3230 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3231 ac_clean_files=$ac_clean_files_save
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3233 $as_echo_n "checking for suffix of executables... " >&6; }
3234 if { { ac_try="$ac_link"
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240 $as_echo "$ac_try_echo"; } >&5
3241 (eval "$ac_link") 2>&5
3243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3244 test $ac_status = 0; }; then :
3245 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3246 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3247 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3249 for ac_file
in conftest.exe conftest conftest.
*; do
3250 test -f "$ac_file" ||
continue
3252 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3253 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3262 See \`config.log' for more details" "$LINENO" 5; }
3264 rm -f conftest conftest
$ac_cv_exeext
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3266 $as_echo "$ac_cv_exeext" >&6; }
3268 rm -f conftest.
$ac_ext
3269 EXEEXT
=$ac_cv_exeext
3271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3277 FILE *f = fopen ("conftest.out", "w");
3278 return ferror (f) || fclose (f) != 0;
3284 ac_clean_files
="$ac_clean_files conftest.out"
3285 # Check that the compiler produces executables we can run. If not, either
3286 # the compiler is broken, or we cross compile.
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3288 $as_echo_n "checking whether we are cross compiling... " >&6; }
3289 if test "$cross_compiling" != yes; then
3290 { { ac_try
="$ac_link"
3292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296 $as_echo "$ac_try_echo"; } >&5
3297 (eval "$ac_link") 2>&5
3299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3300 test $ac_status = 0; }
3301 if { ac_try='./conftest$ac_cv_exeext'
3302 { { case "(($ac_try" in
3303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3304 *) ac_try_echo
=$ac_try;;
3306 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307 $as_echo "$ac_try_echo"; } >&5
3308 (eval "$ac_try") 2>&5
3310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311 test $ac_status = 0; }; }; then
3314 if test "$cross_compiling" = maybe
; then
3317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3319 as_fn_error $?
"cannot run C compiled programs.
3320 If you meant to cross compile, use \`--host'.
3321 See \`config.log' for more details" "$LINENO" 5; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3326 $as_echo "$cross_compiling" >&6; }
3328 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3329 ac_clean_files
=$ac_clean_files_save
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3331 $as_echo_n "checking for suffix of object files... " >&6; }
3332 if ${ac_cv_objext+:} false
; then :
3333 $as_echo_n "(cached) " >&6
3335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 rm -f conftest.o conftest.obj
3347 if { { ac_try
="$ac_compile"
3349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3350 *) ac_try_echo=$ac_try;;
3352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3353 $as_echo "$ac_try_echo"; } >&5
3354 (eval "$ac_compile") 2>&5
3356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357 test $ac_status = 0; }; then :
3358 for ac_file in conftest.o conftest.obj conftest.*; do
3359 test -f "$ac_file" || continue;
3361 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3362 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3367 $as_echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3373 See \
`config.log' for more details" "$LINENO" 5; }
3375 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3378 $as_echo "$ac_cv_objext" >&6; }
3379 OBJEXT=$ac_cv_objext
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3382 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3383 if ${ac_cv_c_compiler_gnu+:} false; then :
3384 $as_echo_n "(cached) " >&6
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3400 if ac_fn_c_try_compile "$LINENO"; then :
3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3410 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3411 if test $ac_compiler_gnu = yes; then
3416 ac_test_CFLAGS=${CFLAGS+set}
3417 ac_save_CFLAGS=$CFLAGS
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3419 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3420 if ${ac_cv_prog_cc_g+:} false; then :
3421 $as_echo_n "(cached) " >&6
3423 ac_save_c_werror_flag=$ac_c_werror_flag
3424 ac_c_werror_flag=yes
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3438 if ac_fn_c_try_compile "$LINENO"; then :
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3453 if ac_fn_c_try_compile "$LINENO"; then :
3456 ac_c_werror_flag=$ac_save_c_werror_flag
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3469 if ac_fn_c_try_compile "$LINENO"; then :
3472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 ac_c_werror_flag=$ac_save_c_werror_flag
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3480 $as_echo "$ac_cv_prog_cc_g" >&6; }
3481 if test "$ac_test_CFLAGS" = set; then
3482 CFLAGS=$ac_save_CFLAGS
3483 elif test $ac_cv_prog_cc_g = yes; then
3484 if test "$GCC" = yes; then
3490 if test "$GCC" = yes; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3497 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3498 if ${ac_cv_prog_cc_c89+:} false; then :
3499 $as_echo_n "(cached) " >&6
3501 ac_cv_prog_cc_c89=no
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3508 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3509 struct buf { int x; };
3510 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3511 static char *e (p, i)
3517 static char *f (char * (*g) (char **, int), char **p, ...)
3522 s = g (p, va_arg (v,int));
3527 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3528 function prototypes and stuff, but not '\xHH' hex character constants.
3529 These don't provoke an error unfortunately, instead are silently treated
3530 as 'x'. The following induces an error, until -std is added to get
3531 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3532 array size at least. It's necessary to write '\x00'==0 to get something
3533 that's true only with -std. */
3534 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3536 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3537 inside strings and character constants. */
3539 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3541 int test (int i, double x);
3542 struct s1 {int (*f) (int a);};
3543 struct s2 {int (*f) (double a);};
3544 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3550 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3555 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3556 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3558 CC="$ac_save_CC $ac_arg"
3559 if ac_fn_c_try_compile "$LINENO"; then :
3560 ac_cv_prog_cc_c89=$ac_arg
3562 rm -f core conftest.err conftest.$ac_objext
3563 test "x$ac_cv_prog_cc_c89" != "xno" && break
3565 rm -f conftest.$ac_ext
3570 case "x$ac_cv_prog_cc_c89" in
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3573 $as_echo "none needed" >&6; } ;;
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3576 $as_echo "unsupported" >&6; } ;;
3578 CC="$CC $ac_cv_prog_cc_c89"
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3580 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3582 if test "x$ac_cv_prog_cc_c89" != xno; then :
3587 ac_cpp='$CPP $CPPFLAGS'
3588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3592 # expand $ac_aux_dir to an absolute path
3593 am_aux_dir=`cd $ac_aux_dir && pwd`
3596 ac_cpp='$CPP $CPPFLAGS'
3597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3601 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3602 if ${am_cv_prog_cc_c_o+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3616 # Make sure it works both with $CC and with simple cc.
3617 # Following AC_PROG_CC_C_O, we do the test twice because some
3618 # compilers refuse to overwrite an existing .o file with -o,
3619 # though they will create one.
3620 am_cv_prog_cc_c_o=yes
3622 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3623 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); } \
3627 && test -f conftest2.$ac_objext; then
3630 am_cv_prog_cc_c_o=no
3634 rm -f core conftest*
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3638 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3639 if test "$am_cv_prog_cc_c_o" != yes; then
3640 # Losing compiler, so override with the script.
3641 # FIXME: It is wrong to rewrite CC.
3642 # But if we don't then we get into trouble of one sort or another.
3643 # A longer-term fix would be to have automake use am__CC in this case,
3644 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3645 CC="$am_aux_dir/compile $CC"
3648 ac_cpp='$CPP $CPPFLAGS'
3649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3655 rm -rf .tst 2>/dev/null
3656 mkdir .tst 2>/dev/null
3657 if test -d .tst; then
3662 rmdir .tst 2>/dev/null
3664 DEPDIR="${am__leading_dot}deps"
3666 ac_config_commands="$ac_config_commands depfiles"
3669 am_make=${MAKE-make}
3670 cat > confinc << 'END'
3672 @echo this is the am__doit target
3675 # If we don't find an include directive, just comment out the code.
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3677 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3681 # First try GNU make style include.
3682 echo "include confinc" > confmf
3683 # Ignore all kinds of additional output from 'make'.
3684 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3685 *the\ am__doit\ target*)
3691 # Now try BSD make style include.
3692 if test "$am__include" = "#"; then
3693 echo '.include "confinc"' > confmf
3694 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3695 *the\ am__doit\ target*)
3696 am__include=.include
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3705 $as_echo "$_am_result" >&6; }
3706 rm -f confinc confmf
3708 # Check whether --enable-dependency-tracking was given.
3709 if test "${enable_dependency_tracking+set}" = set; then :
3710 enableval=$enable_dependency_tracking;
3713 if test "x$enable_dependency_tracking" != xno; then
3714 am_depcomp="$ac_aux_dir/depcomp"
3718 if test "x$enable_dependency_tracking" != xno; then
3727 # By default we simply use the C compiler to build assembly code.
3729 test "${CCAS+set}" = set || CCAS=$CC
3730 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3734 depcc="$CCAS" am_compiler_list=
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3737 $as_echo_n "checking dependency style of $depcc... " >&6; }
3738 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
3739 $as_echo_n "(cached) " >&6
3741 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3742 # We make a subdir and do the tests there. Otherwise we can end up
3743 # making bogus files that we don't know about and never remove. For
3744 # instance it was reported that on HP-UX the gcc test will end up
3745 # making a dummy file named 'D' -- because '-MD' means "put the output
3749 # Copy depcomp to subdir because otherwise we won't find it if we're
3750 # using a relative directory.
3751 cp "$am_depcomp" conftest.dir
3753 # We will build objects and dependencies in a subdirectory because
3754 # it helps to detect inapplicable dependency modes. For instance
3755 # both Tru64's cc and ICC support -MD to output dependencies as a
3756 # side effect of compilation, but ICC will put the dependencies in
3757 # the current directory while Tru64 will put them in the object
3761 am_cv_CCAS_dependencies_compiler_type=none
3762 if test "$am_compiler_list" = ""; then
3763 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3768 for depmode in $am_compiler_list; do
3769 # Setup a source with many dependencies, because some compilers
3770 # like to wrap large dependency lists on column 80 (with \), and
3771 # we should not choose a depcomp mode which is confused by this.
3773 # We need to recreate these files for each test, as the compiler may
3774 # overwrite some of them when testing with obscure command lines.
3775 # This happens at least with the AIX C compiler.
3777 for i in 1 2 3 4 5 6; do
3778 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3779 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3780 # Solaris 10 /bin/sh.
3781 echo '/* dummy */' > sub/conftst$i.h
3783 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3785 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3786 # mode. It turns out that the SunPro C++ compiler does not properly
3787 # handle '-M -o', and we need to detect this. Also, some Intel
3788 # versions had trouble with output in subdirs.
3789 am__obj=sub/conftest.${OBJEXT-o}
3790 am__minus_obj="-o $am__obj"
3793 # This depmode causes a compiler race in universal mode.
3794 test "$am__universal" = false || continue
3797 # After this tag, mechanisms are not by side-effect, so they'll
3798 # only be used when explicitly requested.
3799 if test "x$enable_dependency_tracking" = xyes; then
3805 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3806 # This compiler won't grok '-c -o', but also, the minuso test has
3807 # not run yet. These depmodes are late enough in the game, and
3808 # so weak that their functioning should not be impacted.
3809 am__obj=conftest.${OBJEXT-o}
3814 if depmode=$depmode \
3815 source=sub/conftest.c object=$am__obj \
3816 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3817 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3818 >/dev/null 2>conftest.err &&
3819 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3820 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3821 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3822 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3823 # icc doesn't choke on unknown options, it will just issue warnings
3824 # or remarks (even with -Werror). So we grep stderr for any message
3825 # that says an option was ignored or not supported.
3826 # When given -MP, icc 7.0 and 7.1 complain thusly:
3827 # icc: Command line warning: ignoring option '-M'; no argument required
3828 # The diagnosis changed in icc 8.0:
3829 # icc: Command line remark: option '-MP' not supported
3830 if (grep 'ignoring option' conftest.err ||
3831 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3832 am_cv_CCAS_dependencies_compiler_type=$depmode
3841 am_cv_CCAS_dependencies_compiler_type=none
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3846 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3847 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3850 test "x$enable_dependency_tracking" != xno \
3851 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3852 am__fastdepCCAS_TRUE=
3853 am__fastdepCCAS_FALSE='#'
3855 am__fastdepCCAS_TRUE='#'
3856 am__fastdepCCAS_FALSE=
3861 ac_cpp='$CPP $CPPFLAGS'
3862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3866 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3867 # On Suns, sometimes $CPP names a directory.
3868 if test -n "$CPP" && test -d "$CPP"; then
3871 if test -z "$CPP"; then
3872 if ${ac_cv_prog_CPP+:} false; then :
3873 $as_echo_n "(cached) " >&6
3875 # Double quotes because CPP needs to be expanded
3876 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3879 for ac_c_preproc_warn_flag in '' yes
3881 # Use a header file that comes with gcc, so configuring glibc
3882 # with a fresh cross-compiler works.
3883 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3884 # <limits.h> exists even on freestanding compilers.
3885 # On the NeXT, cc -E runs the code through the compiler's parser,
3886 # not just through cpp. "Syntax error" is here to catch this case.
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3890 # include <limits.h>
3892 # include <assert.h>
3896 if ac_fn_c_try_cpp "$LINENO"; then :
3899 # Broken: fails on valid input.
3902 rm -f conftest.err conftest.i conftest.$ac_ext
3904 # OK, works on sane cases. Now check whether nonexistent headers
3905 # can be detected and how.
3906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907 /* end confdefs.h. */
3908 #include <ac_nonexistent.h>
3910 if ac_fn_c_try_cpp "$LINENO"; then :
3911 # Broken: success on invalid input.
3914 # Passes both tests.
3918 rm -f conftest.err conftest.i conftest.$ac_ext
3921 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3922 rm -f conftest.i conftest.err conftest.
$ac_ext
3923 if $ac_preproc_ok; then :
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3936 $as_echo "$CPP" >&6; }
3938 for ac_c_preproc_warn_flag
in '' yes
3940 # Use a header file that comes with gcc, so configuring glibc
3941 # with a fresh cross-compiler works.
3942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3943 # <limits.h> exists even on freestanding compilers.
3944 # On the NeXT, cc -E runs the code through the compiler's parser,
3945 # not just through cpp. "Syntax error" is here to catch this case.
3946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3947 /* end confdefs.h. */
3949 # include <limits.h>
3951 # include <assert.h>
3955 if ac_fn_c_try_cpp
"$LINENO"; then :
3958 # Broken: fails on valid input.
3961 rm -f conftest.err conftest.i conftest.
$ac_ext
3963 # OK, works on sane cases. Now check whether nonexistent headers
3964 # can be detected and how.
3965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3967 #include <ac_nonexistent.h>
3969 if ac_fn_c_try_cpp
"$LINENO"; then :
3970 # Broken: success on invalid input.
3973 # Passes both tests.
3977 rm -f conftest.err conftest.i conftest.
$ac_ext
3980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3981 rm -f conftest.i conftest.err conftest.
$ac_ext
3982 if $ac_preproc_ok; then :
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3988 See \`config.log' for more details" "$LINENO" 5; }
3992 ac_cpp
='$CPP $CPPFLAGS'
3993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C preprocessor needs special flags" >&5
3999 $as_echo_n "checking whether the C preprocessor needs special flags... " >&6; }
4001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4004 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
4005 # include "your C preprocessor is broken 1"
4006 #elif (0xffffu == 0xfffffffful)
4007 # include "your C preprocessor is broken 2"
4008 #elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX)
4009 # include "your C preprocessor is broken 3"
4022 mfx_save_CPPFLAGS
=$CPPFLAGS
4024 for mfx_arg
in "" -no-cpp-precomp
4026 CPPFLAGS
="$mfx_arg $mfx_save_CPPFLAGS"
4027 if ac_fn_c_try_compile
"$LINENO"; then :
4031 rm -f core conftest.err conftest.
$ac_objext
4033 CPPFLAGS
=$mfx_save_CPPFLAGS
4034 rm -f conftest.
$ac_ext conftest.
$ac_objext
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4038 $as_echo "none needed" >&6; } ;;
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ERROR" >&5
4041 $as_echo "ERROR" >&6; }
4042 as_fn_error $?
"your C preprocessor is broken - for details see config.log" "$LINENO" 5
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
4046 $as_echo "$mfx_tmp" >&6; }
4047 CPPFLAGS
="$mfx_tmp $CPPFLAGS"
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4053 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4054 if ${ac_cv_c_const+:} false
; then :
4055 $as_echo_n "(cached) " >&6
4057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4065 /* Ultrix mips cc rejects this sort of thing. */
4066 typedef int charset[2];
4067 const charset cs = { 0, 0 };
4068 /* SunOS 4.1.1 cc rejects this. */
4069 char const *const *pcpcc;
4071 /* NEC SVR4.0.2 mips cc rejects this. */
4072 struct point {int x, y;};
4073 static struct point const zero = {0,0};
4074 /* AIX XL C 1.02.0.0 rejects this.
4075 It does not let you subtract one const X* pointer from another in
4076 an arm of an if-expression whose if-part is not a constant
4078 const char *g = "string";
4079 pcpcc = &g + (g ? g-g : 0);
4080 /* HPUX 7.0 cc rejects these. */
4082 ppc = (char**) pcpcc;
4083 pcpcc = (char const *const *) ppc;
4084 { /* SCO 3.2v4 cc rejects this sort of thing. */
4087 char const *s = 0 ? (char *) 0 : (char const *) 0;
4092 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4094 const int *foo = &x[0];
4097 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4098 typedef const int *iptr;
4102 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4103 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4104 struct s { int j; const int *ap[3]; } bx;
4105 struct s *b = &bx; b->j = 5;
4107 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4111 return !cs[0] && !zero.x;
4118 if ac_fn_c_try_compile
"$LINENO"; then :
4123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4126 $as_echo "$ac_cv_c_const" >&6; }
4127 if test $ac_cv_c_const = no
; then
4129 $as_echo "#define const /**/" >>confdefs.h
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4135 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4136 if ${ac_cv_path_GREP+:} false
; then :
4137 $as_echo_n "(cached) " >&6
4139 if test -z "$GREP"; then
4140 ac_path_GREP_found
=false
4141 # Loop through the user's path and test for each of PROGNAME-LIST
4142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4143 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4146 test -z "$as_dir" && as_dir
=.
4147 for ac_prog
in grep ggrep
; do
4148 for ac_exec_ext
in '' $ac_executable_extensions; do
4149 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4150 as_fn_executable_p
"$ac_path_GREP" ||
continue
4151 # Check for GNU ac_path_GREP and select it if it is found.
4152 # Check for GNU $ac_path_GREP
4153 case `"$ac_path_GREP" --version 2>&1` in
4155 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4158 $as_echo_n 0123456789 >"conftest.in"
4161 cat "conftest.in" "conftest.in" >"conftest.tmp"
4162 mv "conftest.tmp" "conftest.in"
4163 cp "conftest.in" "conftest.nl"
4164 $as_echo 'GREP' >> "conftest.nl"
4165 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4166 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4167 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4168 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4169 # Best one so far, save it but keep looking for a better one
4170 ac_cv_path_GREP
="$ac_path_GREP"
4171 ac_path_GREP_max
=$ac_count
4173 # 10*(2^10) chars as input seems more than enough
4174 test $ac_count -gt 10 && break
4176 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4179 $ac_path_GREP_found && break 3
4184 if test -z "$ac_cv_path_GREP"; then
4185 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4188 ac_cv_path_GREP
=$GREP
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4193 $as_echo "$ac_cv_path_GREP" >&6; }
4194 GREP
="$ac_cv_path_GREP"
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4198 $as_echo_n "checking for egrep... " >&6; }
4199 if ${ac_cv_path_EGREP+:} false
; then :
4200 $as_echo_n "(cached) " >&6
4202 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4203 then ac_cv_path_EGREP
="$GREP -E"
4205 if test -z "$EGREP"; then
4206 ac_path_EGREP_found
=false
4207 # Loop through the user's path and test for each of PROGNAME-LIST
4208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4209 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4212 test -z "$as_dir" && as_dir
=.
4213 for ac_prog
in egrep; do
4214 for ac_exec_ext
in '' $ac_executable_extensions; do
4215 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4216 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4217 # Check for GNU ac_path_EGREP and select it if it is found.
4218 # Check for GNU $ac_path_EGREP
4219 case `"$ac_path_EGREP" --version 2>&1` in
4221 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4224 $as_echo_n 0123456789 >"conftest.in"
4227 cat "conftest.in" "conftest.in" >"conftest.tmp"
4228 mv "conftest.tmp" "conftest.in"
4229 cp "conftest.in" "conftest.nl"
4230 $as_echo 'EGREP' >> "conftest.nl"
4231 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4232 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4233 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4234 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4235 # Best one so far, save it but keep looking for a better one
4236 ac_cv_path_EGREP
="$ac_path_EGREP"
4237 ac_path_EGREP_max
=$ac_count
4239 # 10*(2^10) chars as input seems more than enough
4240 test $ac_count -gt 10 && break
4242 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4245 $ac_path_EGREP_found && break 3
4250 if test -z "$ac_cv_path_EGREP"; then
4251 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4254 ac_cv_path_EGREP
=$EGREP
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4260 $as_echo "$ac_cv_path_EGREP" >&6; }
4261 EGREP
="$ac_cv_path_EGREP"
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4265 $as_echo_n "checking for ANSI C header files... " >&6; }
4266 if ${ac_cv_header_stdc+:} false
; then :
4267 $as_echo_n "(cached) " >&6
4269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4284 if ac_fn_c_try_compile
"$LINENO"; then :
4285 ac_cv_header_stdc
=yes
4287 ac_cv_header_stdc
=no
4289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4291 if test $ac_cv_header_stdc = yes; then
4292 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4299 $EGREP "memchr" >/dev
/null
2>&1; then :
4302 ac_cv_header_stdc
=no
4308 if test $ac_cv_header_stdc = yes; then
4309 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4316 $EGREP "free" >/dev
/null
2>&1; then :
4319 ac_cv_header_stdc
=no
4325 if test $ac_cv_header_stdc = yes; then
4326 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4327 if test "$cross_compiling" = yes; then :
4330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4334 #if ((' ' & 0x0FF) == 0x020)
4335 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4336 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4338 # define ISLOWER(c) \
4339 (('a' <= (c) && (c) <= 'i') \
4340 || ('j' <= (c) && (c) <= 'r') \
4341 || ('s' <= (c) && (c) <= 'z'))
4342 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4345 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4350 for (i = 0; i < 256; i++)
4351 if (XOR (islower (i), ISLOWER (i))
4352 || toupper (i) != TOUPPER (i))
4357 if ac_fn_c_try_run
"$LINENO"; then :
4360 ac_cv_header_stdc
=no
4362 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4363 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4369 $as_echo "$ac_cv_header_stdc" >&6; }
4370 if test $ac_cv_header_stdc = yes; then
4372 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4376 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4377 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4378 inttypes.h stdint.h unistd.h
4380 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4381 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4383 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4384 cat >>confdefs.h
<<_ACEOF
4385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4395 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4396 if ${ac_cv_c_bigendian+:} false
; then :
4397 $as_echo_n "(cached) " >&6
4399 ac_cv_c_bigendian
=unknown
4400 # See if we're dealing with a universal compiler.
4401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4403 #ifndef __APPLE_CC__
4404 not a universal capable compiler
4409 if ac_fn_c_try_compile
"$LINENO"; then :
4411 # Check for potential -arch flags. It is not universal unless
4412 # there are at least two -arch flags with different values.
4415 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4416 if test -n "$ac_prev"; then
4418 i?
86 | x86_64 | ppc | ppc64
)
4419 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4422 ac_cv_c_bigendian
=universal
4428 elif test "x$ac_word" = "x-arch"; then
4433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4434 if test $ac_cv_c_bigendian = unknown
; then
4435 # See if sys/param.h defines the BYTE_ORDER macro.
4436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4438 #include <sys/types.h>
4439 #include <sys/param.h>
4444 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4445 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4454 if ac_fn_c_try_compile
"$LINENO"; then :
4455 # It does; now see whether it defined to BIG_ENDIAN or not.
4456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4458 #include <sys/types.h>
4459 #include <sys/param.h>
4464 #if BYTE_ORDER != BIG_ENDIAN
4472 if ac_fn_c_try_compile
"$LINENO"; then :
4473 ac_cv_c_bigendian
=yes
4475 ac_cv_c_bigendian
=no
4477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4481 if test $ac_cv_c_bigendian = unknown
; then
4482 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4490 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4498 if ac_fn_c_try_compile
"$LINENO"; then :
4499 # It does; now see whether it defined to _BIG_ENDIAN or not.
4500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4515 if ac_fn_c_try_compile
"$LINENO"; then :
4516 ac_cv_c_bigendian
=yes
4518 ac_cv_c_bigendian
=no
4520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4524 if test $ac_cv_c_bigendian = unknown
; then
4525 # Compile a test program.
4526 if test "$cross_compiling" = yes; then :
4527 # Try to guess by grepping values from an object file.
4528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4530 short int ascii_mm[] =
4531 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4532 short int ascii_ii[] =
4533 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4534 int use_ascii (int i) {
4535 return ascii_mm[i] + ascii_ii[i];
4537 short int ebcdic_ii[] =
4538 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4539 short int ebcdic_mm[] =
4540 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4541 int use_ebcdic (int i) {
4542 return ebcdic_mm[i] + ebcdic_ii[i];
4549 return use_ascii (foo) == use_ebcdic (foo);
4554 if ac_fn_c_try_compile
"$LINENO"; then :
4555 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4556 ac_cv_c_bigendian
=yes
4558 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4559 if test "$ac_cv_c_bigendian" = unknown
; then
4560 ac_cv_c_bigendian
=no
4562 # finding both strings is unlikely to happen, but who knows?
4563 ac_cv_c_bigendian
=unknown
4567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4571 $ac_includes_default
4576 /* Are we little or big endian? From Harbison&Steele. */
4580 char c[sizeof (long int)];
4583 return u.c[sizeof (long int) - 1] == 1;
4589 if ac_fn_c_try_run
"$LINENO"; then :
4590 ac_cv_c_bigendian
=no
4592 ac_cv_c_bigendian
=yes
4594 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4595 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4601 $as_echo "$ac_cv_c_bigendian" >&6; }
4602 case $ac_cv_c_bigendian in #(
4605 $as_echo "#define LZO_ABI_BIG_ENDIAN 1" >>confdefs.h
4609 $as_echo "#define LZO_ABI_LITTLE_ENDIAN 1" >>confdefs.h
4613 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4617 as_fn_error $?
"unknown endianness
4618 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4622 # Check whether --enable-largefile was given.
4623 if test "${enable_largefile+set}" = set; then :
4624 enableval
=$enable_largefile;
4627 if test "$enable_largefile" != no
; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4630 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4631 if ${ac_cv_sys_largefile_CC+:} false
; then :
4632 $as_echo_n "(cached) " >&6
4634 ac_cv_sys_largefile_CC
=no
4635 if test "$GCC" != yes; then
4638 # IRIX 6.2 and later do not support large files by default,
4639 # so use the C compiler's -n32 option if that helps.
4640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4642 #include <sys/types.h>
4643 /* Check that off_t can represent 2**63 - 1 correctly.
4644 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4645 since some C++ compilers masquerading as C compilers
4646 incorrectly reject 9223372036854775807. */
4647 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4648 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4649 && LARGE_OFF_T % 2147483647 == 1)
4659 if ac_fn_c_try_compile
"$LINENO"; then :
4662 rm -f core conftest.err conftest.
$ac_objext
4664 if ac_fn_c_try_compile
"$LINENO"; then :
4665 ac_cv_sys_largefile_CC
=' -n32'; break
4667 rm -f core conftest.err conftest.
$ac_objext
4671 rm -f conftest.
$ac_ext
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4675 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4676 if test "$ac_cv_sys_largefile_CC" != no
; then
4677 CC
=$CC$ac_cv_sys_largefile_CC
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4681 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4682 if ${ac_cv_sys_file_offset_bits+:} false
; then :
4683 $as_echo_n "(cached) " >&6
4686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4688 #include <sys/types.h>
4689 /* Check that off_t can represent 2**63 - 1 correctly.
4690 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4691 since some C++ compilers masquerading as C compilers
4692 incorrectly reject 9223372036854775807. */
4693 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4694 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4695 && LARGE_OFF_T % 2147483647 == 1)
4705 if ac_fn_c_try_compile
"$LINENO"; then :
4706 ac_cv_sys_file_offset_bits
=no
; break
4708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4711 #define _FILE_OFFSET_BITS 64
4712 #include <sys/types.h>
4713 /* Check that off_t can represent 2**63 - 1 correctly.
4714 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4715 since some C++ compilers masquerading as C compilers
4716 incorrectly reject 9223372036854775807. */
4717 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4718 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4719 && LARGE_OFF_T % 2147483647 == 1)
4729 if ac_fn_c_try_compile
"$LINENO"; then :
4730 ac_cv_sys_file_offset_bits
=64; break
4732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4733 ac_cv_sys_file_offset_bits
=unknown
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4738 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4739 case $ac_cv_sys_file_offset_bits in #(
4742 cat >>confdefs.h
<<_ACEOF
4743 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4748 if test $ac_cv_sys_file_offset_bits = unknown
; then
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4750 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4751 if ${ac_cv_sys_large_files+:} false
; then :
4752 $as_echo_n "(cached) " >&6
4755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4757 #include <sys/types.h>
4758 /* Check that off_t can represent 2**63 - 1 correctly.
4759 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4760 since some C++ compilers masquerading as C compilers
4761 incorrectly reject 9223372036854775807. */
4762 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4763 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4764 && LARGE_OFF_T % 2147483647 == 1)
4774 if ac_fn_c_try_compile
"$LINENO"; then :
4775 ac_cv_sys_large_files
=no
; break
4777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4780 #define _LARGE_FILES 1
4781 #include <sys/types.h>
4782 /* Check that off_t can represent 2**63 - 1 correctly.
4783 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4784 since some C++ compilers masquerading as C compilers
4785 incorrectly reject 9223372036854775807. */
4786 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4787 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4788 && LARGE_OFF_T % 2147483647 == 1)
4798 if ac_fn_c_try_compile
"$LINENO"; then :
4799 ac_cv_sys_large_files
=1; break
4801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4802 ac_cv_sys_large_files
=unknown
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4807 $as_echo "$ac_cv_sys_large_files" >&6; }
4808 case $ac_cv_sys_large_files in #(
4811 cat >>confdefs.h
<<_ACEOF
4812 #define _LARGE_FILES $ac_cv_sys_large_files
4823 am__api_version
='1.14'
4825 # Find a good install program. We prefer a C program (faster),
4826 # so one script is as good as another. But avoid the broken or
4827 # incompatible versions:
4828 # SysV /etc/install, /usr/sbin/install
4829 # SunOS /usr/etc/install
4830 # IRIX /sbin/install
4832 # AmigaOS /C/install, which installs bootblocks on floppy discs
4833 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4834 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4835 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4836 # OS/2's system install, which has a completely different semantic
4837 # ./install, which can be erroneously created by make from ./install.sh.
4838 # Reject install programs that cannot install multiple files.
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4840 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4841 if test -z "$INSTALL"; then
4842 if ${ac_cv_path_install+:} false
; then :
4843 $as_echo_n "(cached) " >&6
4845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4849 test -z "$as_dir" && as_dir
=.
4850 # Account for people who put trailing slashes in PATH elements.
4851 case $as_dir/ in #((
4852 .
/ | .
// |
/[cC
]/* | \
4853 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4854 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4857 # OSF1 and SCO ODT 3.0 have their own names for install.
4858 # Don't use installbsd from OSF since it installs stuff as root
4860 for ac_prog
in ginstall scoinst
install; do
4861 for ac_exec_ext
in '' $ac_executable_extensions; do
4862 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4863 if test $ac_prog = install &&
4864 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4865 # AIX install. It has an incompatible calling convention.
4867 elif test $ac_prog = install &&
4868 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4869 # program-specific install script used by HP pwplus--don't use.
4872 rm -rf conftest.one conftest.two conftest.dir
4873 echo one
> conftest.one
4874 echo two
> conftest.two
4876 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4877 test -s conftest.one
&& test -s conftest.two
&&
4878 test -s conftest.dir
/conftest.one
&&
4879 test -s conftest.dir
/conftest.two
4881 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4894 rm -rf conftest.one conftest.two conftest.dir
4897 if test "${ac_cv_path_install+set}" = set; then
4898 INSTALL
=$ac_cv_path_install
4900 # As a last resort, use the slow shell script. Don't cache a
4901 # value for INSTALL within a source directory, because that will
4902 # break other packages using the cache if that directory is
4903 # removed, or if the value is a relative name.
4904 INSTALL
=$ac_install_sh
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4908 $as_echo "$INSTALL" >&6; }
4910 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4911 # It thinks the first close brace ends the variable substitution.
4912 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4914 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4916 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4919 $as_echo_n "checking whether build environment is sane... " >&6; }
4920 # Reject unsafe characters in $srcdir or the absolute working directory
4921 # name. Accept space and tab only in the latter.
4925 *[\\\"\
#\$\&\'\`$am_lf]*)
4926 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4929 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4930 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4933 # Do 'set' in a subshell so we don't clobber the current shell's
4934 # arguments. Must try -L first in case configure is actually a
4935 # symlink; some systems play weird games with the mod time of symlinks
4936 # (eg FreeBSD returns the mod time of the symlink's containing
4940 for am_try
in 1 2; do
4941 echo "timestamp, slept: $am_has_slept" > conftest.
file
4942 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4943 if test "$*" = "X"; then
4945 set X
`ls -t "$srcdir/configure" conftest.file`
4947 if test "$*" != "X $srcdir/configure conftest.file" \
4948 && test "$*" != "X conftest.file $srcdir/configure"; then
4950 # If neither matched, then we have a broken ls. This can happen
4951 # if, for instance, CONFIG_SHELL is bash and it inherits a
4952 # broken ls alias from the environment. This has actually
4953 # happened. Such a system could not be considered "sane".
4954 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4955 alias in your environment" "$LINENO" 5
4957 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4964 test "$2" = conftest.
file
4970 as_fn_error $?
"newly created file is older than distributed files!
4971 Check your system clock" "$LINENO" 5
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4974 $as_echo "yes" >&6; }
4975 # If we didn't sleep, we still need to ensure time stamps of config.status and
4976 # generated files are strictly newer.
4978 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4985 test "$program_prefix" != NONE
&&
4986 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4987 # Use a double $ so make ignores it.
4988 test "$program_suffix" != NONE
&&
4989 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4990 # Double any \ or $.
4991 # By default was `s,x,x', remove it if useless.
4992 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4993 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4995 if test x
"${MISSING+set}" != xset
; then
4998 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
5000 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
5003 # Use eval to expand $SHELL
5004 if eval "$MISSING --is-lightweight"; then
5005 am_missing_run
="$MISSING "
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
5009 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
5012 if test x
"${install_sh}" != xset
; then
5015 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
5017 install_sh
="\${SHELL} $am_aux_dir/install-sh"
5021 # Installed binaries are usually stripped using 'strip' when the user
5022 # run "make install-strip". However 'strip' might not be the right
5023 # tool to use in cross-compilation environments, therefore Automake
5024 # will honor the 'STRIP' environment variable to overrule this program.
5025 if test "$cross_compiling" != no
; then
5026 if test -n "$ac_tool_prefix"; then
5027 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5028 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if ${ac_cv_prog_STRIP+:} false
; then :
5032 $as_echo_n "(cached) " >&6
5034 if test -n "$STRIP"; then
5035 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir
=.
5042 for ac_exec_ext
in '' $ac_executable_extensions; do
5043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 STRIP
=$ac_cv_prog_STRIP
5055 if test -n "$STRIP"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5057 $as_echo "$STRIP" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5065 if test -z "$ac_cv_prog_STRIP"; then
5067 # Extract the first word of "strip", so it can be a program name with args.
5068 set dummy strip
; ac_word
=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5072 $as_echo_n "(cached) " >&6
5074 if test -n "$ac_ct_STRIP"; then
5075 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5081 test -z "$as_dir" && as_dir
=.
5082 for ac_exec_ext
in '' $ac_executable_extensions; do
5083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5084 ac_cv_prog_ac_ct_STRIP
="strip"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5095 if test -n "$ac_ct_STRIP"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5097 $as_echo "$ac_ct_STRIP" >&6; }
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5103 if test "x$ac_ct_STRIP" = x
; then
5106 case $cross_compiling:$ac_tool_warned in
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5110 ac_tool_warned
=yes ;;
5115 STRIP
="$ac_cv_prog_STRIP"
5119 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5122 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5123 if test -z "$MKDIR_P"; then
5124 if ${ac_cv_path_mkdir+:} false
; then :
5125 $as_echo_n "(cached) " >&6
5127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5128 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5131 test -z "$as_dir" && as_dir
=.
5132 for ac_prog
in mkdir gmkdir
; do
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5135 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5136 'mkdir (GNU coreutils) '* | \
5137 'mkdir (coreutils) '* | \
5138 'mkdir (fileutils) '4.1*)
5139 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5149 test -d .
/--version && rmdir .
/--version
5150 if test "${ac_cv_path_mkdir+set}" = set; then
5151 MKDIR_P
="$ac_cv_path_mkdir -p"
5153 # As a last resort, use the slow shell script. Don't cache a
5154 # value for MKDIR_P within a source directory, because that will
5155 # break other packages using the cache if that directory is
5156 # removed, or if the value is a relative name.
5157 MKDIR_P
="$ac_install_sh -d"
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5161 $as_echo "$MKDIR_P" >&6; }
5163 for ac_prog
in gawk mawk nawk
awk
5165 # Extract the first word of "$ac_prog", so it can be a program name with args.
5166 set dummy
$ac_prog; ac_word
=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if ${ac_cv_prog_AWK+:} false
; then :
5170 $as_echo_n "(cached) " >&6
5172 if test -n "$AWK"; then
5173 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_AWK
="$ac_prog"
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 if test -n "$AWK"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5195 $as_echo "$AWK" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5202 test -n "$AWK" && break
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5206 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5208 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5209 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 cat >conftest.
make <<\_ACEOF
5215 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5217 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5218 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5220 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5222 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5226 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5228 $as_echo "yes" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5233 SET_MAKE
="MAKE=${MAKE-make}"
5236 # Check whether --enable-silent-rules was given.
5237 if test "${enable_silent_rules+set}" = set; then :
5238 enableval
=$enable_silent_rules;
5241 case $enable_silent_rules in # (((
5242 yes) AM_DEFAULT_VERBOSITY
=0;;
5243 no
) AM_DEFAULT_VERBOSITY
=1;;
5244 *) AM_DEFAULT_VERBOSITY
=1;;
5246 am_make
=${MAKE-make}
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5248 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5249 if ${am_cv_make_support_nested_variables+:} false
; then :
5250 $as_echo_n "(cached) " >&6
5252 if $as_echo 'TRUE=$(BAR$(V))
5258 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5259 am_cv_make_support_nested_variables
=yes
5261 am_cv_make_support_nested_variables
=no
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5265 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5266 if test $am_cv_make_support_nested_variables = yes; then
5268 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5270 AM_V
=$AM_DEFAULT_VERBOSITY
5271 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5275 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5276 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5277 # is not polluted with repeated "-I."
5278 am__isrc
=' -I$(srcdir)'
5279 # test to see if srcdir already configured
5280 if test -f $srcdir/config.status
; then
5281 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5285 # test whether we have cygpath
5286 if test -z "$CYGPATH_W"; then
5287 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
5288 CYGPATH_W
='cygpath -w'
5295 # Define the identity of the package.
5300 cat >>confdefs.h
<<_ACEOF
5301 #define PACKAGE "$PACKAGE"
5305 cat >>confdefs.h
<<_ACEOF
5306 #define VERSION "$VERSION"
5309 # Some tools Automake needs.
5311 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5314 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
5317 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5320 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
5323 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
5325 # For better backward compatibility. To be removed once Automake 1.9.x
5326 # dies out for good. For more background, see:
5327 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
5328 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
5329 mkdir_p
='$(MKDIR_P)'
5331 # We need awk for the "check" target. The system "awk" is bad on
5333 # Always define AMTAR for backward compatibility. Yes, it's still used
5334 # in the wild :-( We should find a proper way to deprecate it ...
5338 # We'll loop over all known methods to create a tar archive until one works.
5339 _am_tools
='gnutar pax cpio none'
5341 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
5347 depcc
="$CC" am_compiler_list
=
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5350 $as_echo_n "checking dependency style of $depcc... " >&6; }
5351 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
5352 $as_echo_n "(cached) " >&6
5354 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5355 # We make a subdir and do the tests there. Otherwise we can end up
5356 # making bogus files that we don't know about and never remove. For
5357 # instance it was reported that on HP-UX the gcc test will end up
5358 # making a dummy file named 'D' -- because '-MD' means "put the output
5362 # Copy depcomp to subdir because otherwise we won't find it if we're
5363 # using a relative directory.
5364 cp "$am_depcomp" conftest.dir
5366 # We will build objects and dependencies in a subdirectory because
5367 # it helps to detect inapplicable dependency modes. For instance
5368 # both Tru64's cc and ICC support -MD to output dependencies as a
5369 # side effect of compilation, but ICC will put the dependencies in
5370 # the current directory while Tru64 will put them in the object
5374 am_cv_CC_dependencies_compiler_type
=none
5375 if test "$am_compiler_list" = ""; then
5376 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5379 case " $depcc " in #(
5380 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5383 for depmode
in $am_compiler_list; do
5384 # Setup a source with many dependencies, because some compilers
5385 # like to wrap large dependency lists on column 80 (with \), and
5386 # we should not choose a depcomp mode which is confused by this.
5388 # We need to recreate these files for each test, as the compiler may
5389 # overwrite some of them when testing with obscure command lines.
5390 # This happens at least with the AIX C compiler.
5392 for i
in 1 2 3 4 5 6; do
5393 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5394 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5395 # Solaris 10 /bin/sh.
5396 echo '/* dummy */' > sub
/conftst
$i.h
5398 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5400 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5401 # mode. It turns out that the SunPro C++ compiler does not properly
5402 # handle '-M -o', and we need to detect this. Also, some Intel
5403 # versions had trouble with output in subdirs.
5404 am__obj
=sub
/conftest.
${OBJEXT-o}
5405 am__minus_obj
="-o $am__obj"
5408 # This depmode causes a compiler race in universal mode.
5409 test "$am__universal" = false ||
continue
5412 # After this tag, mechanisms are not by side-effect, so they'll
5413 # only be used when explicitly requested.
5414 if test "x$enable_dependency_tracking" = xyes
; then
5420 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5421 # This compiler won't grok '-c -o', but also, the minuso test has
5422 # not run yet. These depmodes are late enough in the game, and
5423 # so weak that their functioning should not be impacted.
5424 am__obj
=conftest.
${OBJEXT-o}
5429 if depmode
=$depmode \
5430 source=sub
/conftest.c object
=$am__obj \
5431 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5432 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5433 >/dev
/null
2>conftest.err
&&
5434 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5435 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5436 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5437 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5438 # icc doesn't choke on unknown options, it will just issue warnings
5439 # or remarks (even with -Werror). So we grep stderr for any message
5440 # that says an option was ignored or not supported.
5441 # When given -MP, icc 7.0 and 7.1 complain thusly:
5442 # icc: Command line warning: ignoring option '-M'; no argument required
5443 # The diagnosis changed in icc 8.0:
5444 # icc: Command line remark: option '-MP' not supported
5445 if (grep 'ignoring option' conftest.err ||
5446 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5447 am_cv_CC_dependencies_compiler_type
=$depmode
5456 am_cv_CC_dependencies_compiler_type
=none
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5461 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5462 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5465 test "x$enable_dependency_tracking" != xno \
5466 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5468 am__fastdepCC_FALSE
='#'
5470 am__fastdepCC_TRUE
='#'
5471 am__fastdepCC_FALSE
=
5476 # POSIX will say in a future version that running "rm -f" with no argument
5477 # is OK; and we want to be able to make that assumption in our Makefile
5478 # recipes. So use an aggressive probe to check that the usage we want is
5479 # actually supported "in the wild" to an acceptable degree.
5480 # See automake bug#10828.
5481 # To make any issue more visible, cause the running configure to be aborted
5482 # by default if the 'rm' program in use doesn't match our expectations; the
5483 # user can still override this though.
5484 if rm -f && rm -fr && rm -rf; then : OK
; else
5488 Your 'rm' program seems unable to run without file operands specified
5489 on the command line, even when the '-f' option is present. This is contrary
5490 to the behaviour of most rm programs out there, and not conforming with
5491 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
5493 Please tell bug-automake@gnu.org about your system, including the value
5494 of your $PATH and any error possibly output before this message. This
5495 can help us improve future automake versions.
5498 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
5499 echo 'Configuration will proceed anyway, since you have set the' >&2
5500 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
5504 Aborting the configuration process, to ensure you take notice of the issue.
5506 You can download and install GNU coreutils to get an 'rm' implementation
5507 that behaves properly: <http://www.gnu.org/software/coreutils/>.
5509 If you want to complete the configuration process using your problematic
5510 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5511 to "yes", and re-run configure.
5514 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
5517 # Check whether --enable-silent-rules was given.
5518 if test "${enable_silent_rules+set}" = set; then :
5519 enableval
=$enable_silent_rules;
5522 case $enable_silent_rules in # (((
5523 yes) AM_DEFAULT_VERBOSITY
=0;;
5524 no
) AM_DEFAULT_VERBOSITY
=1;;
5525 *) AM_DEFAULT_VERBOSITY
=0;;
5527 am_make
=${MAKE-make}
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5529 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5530 if ${am_cv_make_support_nested_variables+:} false
; then :
5531 $as_echo_n "(cached) " >&6
5533 if $as_echo 'TRUE=$(BAR$(V))
5539 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5540 am_cv_make_support_nested_variables
=yes
5542 am_cv_make_support_nested_variables
=no
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5546 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5547 if test $am_cv_make_support_nested_variables = yes; then
5549 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5551 AM_V
=$AM_DEFAULT_VERBOSITY
5552 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5556 ac_config_headers="$ac_config_headers config.h:config.hin"
5559 # Check whether --enable-static was given.
5560 if test "${enable_static+set}" = set; then :
5561 enableval=$enable_static; p=${PACKAGE-default}
5563 yes) enable_static=yes ;;
5564 no) enable_static=no ;;
5567 # Look at the argument we got. We use all the common list separators.
5568 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
5569 for pkg in $enableval; do
5571 if test "X$pkg" = "X$p"; then
5590 # Check whether --enable-shared was given.
5591 if test "${enable_shared+set}" = set; then :
5592 enableval=$enable_shared; p=${PACKAGE-default}
5594 yes) enable_shared=yes ;;
5595 no) enable_shared=no ;;
5598 # Look at the argument we got. We use all the common list separators.
5599 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
5600 for pkg in $enableval; do
5602 if test "X$pkg" = "X$p"; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5624 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5629 macro_version='2.4.2.418'
5630 macro_revision='2.4.2.418'
5644 ltmain=$ac_aux_dir/ltmain.sh
5646 # Backslashify metacharacters that are still active within
5647 # double-quoted strings.
5648 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
5650 # Same as above, but do not quote variable references.
5651 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5653 # Sed substitution to delay expansion of an escaped shell variable in a
5654 # double_quote_subst'ed string.
5655 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5657 # Sed substitution to delay expansion of an escaped single quote.
5658 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5660 # Sed substitution to avoid accidental globbing in evaled expressions
5661 no_glob_subst='s/\*/\\\*/g'
5663 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5664 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5665 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5668 $as_echo_n "checking how to print strings... " >&6; }
5669 # Test print first, because it will be a builtin if present.
5670 if test "X`( print
-r -- -n ) 2>/dev
/null
`" = X-n && \
5671 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
5673 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
5676 # Use this function as a fallback that always works.
5677 func_fallback_echo ()
5679 eval 'cat <<_LTECHO_EOF
5683 ECHO='func_fallback_echo'
5686 # func_echo_all arg...
5687 # Invoke $ECHO with all args, space-separated.
5694 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5695 $as_echo "printf" >&6; } ;;
5696 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5697 $as_echo "print -r" >&6; } ;;
5698 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5699 $as_echo "cat" >&6; } ;;
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5716 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5717 if ${ac_cv_path_SED+:} false; then :
5718 $as_echo_n "(cached) " >&6
5720 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5721 for ac_i in 1 2 3 4 5 6 7; do
5722 ac_script="$ac_script$as_nl$ac_script"
5724 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5725 { ac_script=; unset ac_script;}
5726 if test -z "$SED"; then
5727 ac_path_SED_found=false
5728 # Loop through the user's path and test for each of PROGNAME-LIST
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir=.
5734 for ac_prog in sed gsed; do
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5737 as_fn_executable_p "$ac_path_SED" || continue
5738 # Check for GNU ac_path_SED and select it if it is found.
5739 # Check for GNU $ac_path_SED
5740 case `"$ac_path_SED" --version 2>&1` in
5742 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5745 $as_echo_n 0123456789 >"conftest.in"
5748 cat "conftest.in" "conftest.in" >"conftest.tmp"
5749 mv "conftest.tmp" "conftest.in"
5750 cp "conftest.in" "conftest.nl"
5751 $as_echo '' >> "conftest.nl"
5752 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5753 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5754 as_fn_arith $ac_count + 1 && ac_count=$as_val
5755 if test $ac_count -gt ${ac_path_SED_max-0}; then
5756 # Best one so far, save it but keep looking for a better one
5757 ac_cv_path_SED="$ac_path_SED"
5758 ac_path_SED_max=$ac_count
5760 # 10*(2^10) chars as input seems more than enough
5761 test $ac_count -gt 10 && break
5763 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5766 $ac_path_SED_found && break 3
5771 if test -z "$ac_cv_path_SED"; then
5772 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5780 $as_echo "$ac_cv_path_SED" >&6; }
5781 SED="$ac_cv_path_SED"
5784 test -z "$SED" && SED=sed
5785 Xsed="$SED -e 1s/^X//"
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5798 $as_echo_n "checking for fgrep... " >&6; }
5799 if ${ac_cv_path_FGREP+:} false; then :
5800 $as_echo_n "(cached) " >&6
5802 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5803 then ac_cv_path_FGREP="$GREP -F"
5805 if test -z "$FGREP"; then
5806 ac_path_FGREP_found=false
5807 # Loop through the user's path and test for each of PROGNAME-LIST
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5812 test -z "$as_dir" && as_dir=.
5813 for ac_prog in fgrep; do
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5816 as_fn_executable_p "$ac_path_FGREP" || continue
5817 # Check for GNU ac_path_FGREP and select it if it is found.
5818 # Check for GNU $ac_path_FGREP
5819 case `"$ac_path_FGREP" --version 2>&1` in
5821 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5824 $as_echo_n 0123456789 >"conftest.in"
5827 cat "conftest.in" "conftest.in" >"conftest.tmp"
5828 mv "conftest.tmp" "conftest.in"
5829 cp "conftest.in" "conftest.nl"
5830 $as_echo 'FGREP' >> "conftest.nl"
5831 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5832 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5833 as_fn_arith $ac_count + 1 && ac_count=$as_val
5834 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5835 # Best one so far, save it but keep looking for a better one
5836 ac_cv_path_FGREP="$ac_path_FGREP"
5837 ac_path_FGREP_max=$ac_count
5839 # 10*(2^10) chars as input seems more than enough
5840 test $ac_count -gt 10 && break
5842 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5845 $ac_path_FGREP_found && break 3
5850 if test -z "$ac_cv_path_FGREP"; then
5851 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5854 ac_cv_path_FGREP=$FGREP
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5860 $as_echo "$ac_cv_path_FGREP" >&6; }
5861 FGREP="$ac_cv_path_FGREP"
5864 test -z "$GREP" && GREP=grep
5884 # Check whether --with-gnu-ld was given.
5885 if test "${with_gnu_ld+set}" = set; then :
5886 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5892 if test yes = "$GCC"; then
5893 # Check if gcc -print-prog-name=ld gives a path.
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5895 $as_echo_n "checking for ld used by $CC... " >&6; }
5898 # gcc leaves a trailing carriage return, which upsets mingw
5899 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5901 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5904 # Accept absolute paths.
5906 re_direlt='/[^/][^/]*/\.\./'
5907 # Canonicalize the pathname of ld
5908 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5909 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5910 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5912 test -z "$LD" && LD=$ac_prog
5915 # If it fails, then pretend we aren't using GCC.
5919 # If it is relative, then search for the first ld in PATH.
5923 elif test yes = "$with_gnu_ld"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5925 $as_echo_n "checking for GNU ld... " >&6; }
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5928 $as_echo_n "checking for non-GNU ld... " >&6; }
5930 if ${lt_cv_path_LD+:} false; then :
5931 $as_echo_n "(cached) " >&6
5933 if test -z "$LD"; then
5934 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5935 for ac_dir in $PATH; do
5937 test -z "$ac_dir" && ac_dir=.
5938 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5939 lt_cv_path_LD=$ac_dir/$ac_prog
5940 # Check to see if the program is GNU ld. I'd rather use --version,
5941 # but apparently some variants of GNU ld only accept -v.
5942 # Break only if it was the GNU/non-GNU ld that we prefer.
5943 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5944 *GNU* | *'with BFD'*)
5945 test no != "$with_gnu_ld" && break
5948 test yes != "$with_gnu_ld" && break
5955 lt_cv_path_LD=$LD # Let the user override the test with a path.
5960 if test -n "$LD"; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5962 $as_echo "$LD" >&6; }
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5967 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5969 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5970 if ${lt_cv_prog_gnu_ld+:} false; then :
5971 $as_echo_n "(cached) " >&6
5973 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5974 case `$LD -v 2>&1 </dev
/null
` in
5975 *GNU* | *'with BFD'*)
5976 lt_cv_prog_gnu_ld=yes
5979 lt_cv_prog_gnu_ld=no
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5984 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5985 with_gnu_ld=$lt_cv_prog_gnu_ld
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5996 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5997 if ${lt_cv_path_NM+:} false; then :
5998 $as_echo_n "(cached) " >&6
6000 if test -n "$NM"; then
6001 # Let the user override the test.
6004 lt_nm_to_check=${ac_tool_prefix}nm
6005 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6006 lt_nm_to_check="$lt_nm_to_check nm"
6008 for lt_tmp_nm in $lt_nm_to_check; do
6009 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6010 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6012 test -z "$ac_dir" && ac_dir=.
6013 tmp_nm=$ac_dir/$lt_tmp_nm
6014 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6015 # Check to see if the nm accepts a BSD-compat flag.
6016 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6017 # nm: unknown option "B" ignored
6018 # Tru64's nm complains that /dev/null is an invalid object file
6019 case `"$tmp_nm" -B /dev
/null
2>&1 |
sed '1q'` in
6020 */dev/null* | *'Invalid file or object type'*)
6021 lt_cv_path_NM="$tmp_nm -B"
6025 case `"$tmp_nm" -p /dev
/null
2>&1 |
sed '1q'` in
6027 lt_cv_path_NM="$tmp_nm -p"
6031 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6032 continue # so that we can try to find one that supports BSD flags
6041 : ${lt_cv_path_NM=no}
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6045 $as_echo "$lt_cv_path_NM" >&6; }
6046 if test no != "$lt_cv_path_NM"; then
6049 # Didn't find any BSD compatible name lister, look for dumpbin.
6050 if test -n "$DUMPBIN"; then :
6051 # Let the user override the test.
6053 if test -n "$ac_tool_prefix"; then
6054 for ac_prog in dumpbin "link -dump"
6056 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6057 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if ${ac_cv_prog_DUMPBIN+:} false; then :
6061 $as_echo_n "(cached) " >&6
6063 if test -n "$DUMPBIN"; then
6064 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir=.
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6073 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 DUMPBIN=$ac_cv_prog_DUMPBIN
6084 if test -n "$DUMPBIN"; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6086 $as_echo "$DUMPBIN" >&6; }
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6093 test -n "$DUMPBIN" && break
6096 if test -z "$DUMPBIN"; then
6097 ac_ct_DUMPBIN=$DUMPBIN
6098 for ac_prog in dumpbin "link -dump"
6100 # Extract the first word of "$ac_prog", so it can be a program name with args.
6101 set dummy $ac_prog; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6105 $as_echo_n "(cached) " >&6
6107 if test -n "$ac_ct_DUMPBIN"; then
6108 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 test -z "$as_dir" && as_dir=.
6115 for ac_exec_ext in '' $ac_executable_extensions; do
6116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6117 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6128 if test -n "$ac_ct_DUMPBIN"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6130 $as_echo "$ac_ct_DUMPBIN" >&6; }
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6137 test -n "$ac_ct_DUMPBIN" && break
6140 if test "x$ac_ct_DUMPBIN" = x; then
6143 case $cross_compiling:$ac_tool_warned in
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6147 ac_tool_warned=yes ;;
6149 DUMPBIN=$ac_ct_DUMPBIN
6153 case `$DUMPBIN -symbols -headers /dev
/null
2>&1 |
sed '1q'` in
6155 DUMPBIN="$DUMPBIN -symbols -headers"
6163 if test : != "$DUMPBIN"; then
6167 test -z "$NM" && NM=nm
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6175 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6176 if ${lt_cv_nm_interface+:} false; then :
6177 $as_echo_n "(cached) " >&6
6179 lt_cv_nm_interface="BSD nm"
6180 echo "int some_variable = 0;" > conftest.$ac_ext
6181 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6182 (eval "$ac_compile" 2>conftest.err)
6183 cat conftest.err >&5
6184 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6185 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6186 cat conftest.err >&5
6187 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6188 cat conftest.out >&5
6189 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6190 lt_cv_nm_interface="MS dumpbin"
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6195 $as_echo "$lt_cv_nm_interface" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6198 $as_echo_n "checking whether ln -s works... " >&6; }
6200 if test "$LN_S" = "ln -s"; then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6202 $as_echo "yes" >&6; }
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6205 $as_echo "no, using $LN_S" >&6; }
6208 # find the maximum length of command line arguments
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6210 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6211 if ${lt_cv_sys_max_cmd_len+:} false; then :
6212 $as_echo_n "(cached) " >&6
6219 # On DJGPP, this test can blow up pretty badly due to problems in libc
6220 # (any single argument exceeding 2000 bytes causes a buffer overrun
6221 # during glob expansion). Even if it were fixed, the result of this
6222 # check would be larger than it should be.
6223 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6227 # Under GNU Hurd, this test is not required because there is
6228 # no limit to the length of command line arguments.
6229 # Libtool will interpret -1 as no limit whatsoever
6230 lt_cv_sys_max_cmd_len=-1;
6233 cygwin* | mingw* | cegcc*)
6234 # On Win9x/ME, this test blows up -- it succeeds, but takes
6235 # about 5 minutes as the teststring grows exponentially.
6236 # Worse, since 9x/ME are not pre-emptively multitasking,
6237 # you end up with a "frozen" computer, even though with patience
6238 # the test eventually succeeds (with a max line length of 256k).
6239 # Instead, let's just punt: use the minimum linelength reported by
6240 # all of the supported platforms: 8192 (on NT/2K/XP).
6241 lt_cv_sys_max_cmd_len=8192;
6245 # On MiNT this can take a long time and run out of memory.
6246 lt_cv_sys_max_cmd_len=8192;
6250 # On AmigaOS with pdksh, this test takes hours, literally.
6251 # So we just punt and use a minimum line length of 8192.
6252 lt_cv_sys_max_cmd_len=8192;
6255 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6256 # This has been around since 386BSD, at least. Likely further.
6257 if test -x /sbin/sysctl; then
6258 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
6259 elif test -x /usr/sbin/sysctl; then
6260 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
6262 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6264 # And add a safety zone
6265 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
6266 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
6270 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6271 lt_cv_sys_max_cmd_len=196608
6275 # The test takes a long time on OS/2.
6276 lt_cv_sys_max_cmd_len=8192
6280 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6281 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6282 # nice to cause kernel panics so lets avoid the loop below.
6283 # First set a reasonable default.
6284 lt_cv_sys_max_cmd_len=16384
6286 if test -x /sbin/sysconfig; then
6287 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
6288 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6293 lt_cv_sys_max_cmd_len=102400
6295 sysv5* | sco5v6* | sysv4.2uw2*)
6296 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
6297 if test -n "$kargmax"; then
6298 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
6300 lt_cv_sys_max_cmd_len=32768
6304 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX
) 2> /dev
/null
`
6305 if test -n "$lt_cv_sys_max_cmd_len" && \
6306 test undefined != "$lt_cv_sys_max_cmd_len"; then
6307 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
6308 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
6310 # Make teststring a little bigger before we do anything with it.
6311 # a 1K string should be a reasonable start.
6312 for i in 1 2 3 4 5 6 7 8; do
6313 teststring=$teststring$teststring
6315 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6316 # If test is not a shell built-in, we'll probably end up computing a
6317 # maximum length that is only half of the actual maximum length, but
6319 while { test X`env
echo "$teststring$teststring" 2>/dev
/null
` \
6320 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6321 test 17 != "$i" # 1/2 MB should be enough
6324 teststring=$teststring$teststring
6326 # Only check the string length outside the loop.
6327 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6329 # Add a significant safety factor because C++ compilers can tack on
6330 # massive amounts of additional arguments before passing them to the
6331 # linker. It appears as though 1/2 is a usable value.
6332 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
6339 if test -n "$lt_cv_sys_max_cmd_len"; then
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6341 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6344 $as_echo "none" >&6; }
6346 max_cmd_len=$lt_cv_sys_max_cmd_len
6357 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6367 # test EBCDIC or ASCII
6368 case `echo X|
tr X
'\101'` in
6369 A) # ASCII based system
6370 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6371 lt_SP2NL='tr \040 \012'
6372 lt_NL2SP='tr \015\012 \040\040'
6374 *) # EBCDIC based system
6375 lt_SP2NL='tr \100 \n'
6376 lt_NL2SP='tr \r\n \100\100'
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6389 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6390 if ${lt_cv_to_host_file_cmd+:} false; then :
6391 $as_echo_n "(cached) " >&6
6396 *-*-mingw* ) # actually msys
6397 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6400 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6402 * ) # otherwise, assume *nix
6403 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6409 *-*-mingw* ) # actually msys
6410 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6413 lt_cv_to_host_file_cmd=func_convert_file_noop
6415 * ) # otherwise, assume *nix
6416 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6420 * ) # unhandled hosts (and "normal" native builds)
6421 lt_cv_to_host_file_cmd=func_convert_file_noop
6427 to_host_file_cmd=$lt_cv_to_host_file_cmd
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6429 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6436 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6437 if ${lt_cv_to_tool_file_cmd+:} false; then :
6438 $as_echo_n "(cached) " >&6
6440 #assume ordinary cross tools, or native build.
6441 lt_cv_to_tool_file_cmd=func_convert_file_noop
6445 *-*-mingw* ) # actually msys
6446 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6454 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6456 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6463 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6464 if ${lt_cv_ld_reload_flag+:} false; then :
6465 $as_echo_n "(cached) " >&6
6467 lt_cv_ld_reload_flag='-r'
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6470 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6471 reload_flag=$lt_cv_ld_reload_flag
6472 case $reload_flag in
6474 *) reload_flag=" $reload_flag" ;;
6476 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6478 cygwin* | mingw* | pw32* | cegcc*)
6479 if test yes != "$GCC"; then
6484 if test yes = "$GCC"; then
6485 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6487 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6500 if test -n "$ac_tool_prefix"; then
6501 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6502 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 $as_echo_n "checking for $ac_word... " >&6; }
6505 if ${ac_cv_prog_OBJDUMP+:} false; then :
6506 $as_echo_n "(cached) " >&6
6508 if test -n "$OBJDUMP"; then
6509 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 test -z "$as_dir" && as_dir=.
6516 for ac_exec_ext in '' $ac_executable_extensions; do
6517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6518 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6528 OBJDUMP=$ac_cv_prog_OBJDUMP
6529 if test -n "$OBJDUMP"; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6531 $as_echo "$OBJDUMP" >&6; }
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6534 $as_echo "no" >&6; }
6539 if test -z "$ac_cv_prog_OBJDUMP"; then
6540 ac_ct_OBJDUMP=$OBJDUMP
6541 # Extract the first word of "objdump", so it can be a program name with args.
6542 set dummy objdump; ac_word=$2
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6544 $as_echo_n "checking for $ac_word... " >&6; }
6545 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6546 $as_echo_n "(cached) " >&6
6548 if test -n "$ac_ct_OBJDUMP"; then
6549 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6555 test -z "$as_dir" && as_dir=.
6556 for ac_exec_ext in '' $ac_executable_extensions; do
6557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6558 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6568 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6569 if test -n "$ac_ct_OBJDUMP"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6571 $as_echo "$ac_ct_OBJDUMP" >&6; }
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 $as_echo "no" >&6; }
6577 if test "x$ac_ct_OBJDUMP" = x; then
6580 case $cross_compiling:$ac_tool_warned in
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6584 ac_tool_warned=yes ;;
6586 OBJDUMP=$ac_ct_OBJDUMP
6589 OBJDUMP="$ac_cv_prog_OBJDUMP"
6592 test -z "$OBJDUMP" && OBJDUMP=objdump
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6603 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6604 if ${lt_cv_deplibs_check_method+:} false; then :
6605 $as_echo_n "(cached) " >&6
6607 lt_cv_file_magic_cmd='$MAGIC_CMD'
6608 lt_cv_file_magic_test_file=
6609 lt_cv_deplibs_check_method='unknown'
6610 # Need to set the preceding variable on all platforms that support
6611 # interlibrary dependencies.
6612 # 'none' -- dependencies not supported.
6613 # 'unknown' -- same as none, but documents that we really don't know.
6614 # 'pass_all' -- all dependencies passed with no checks.
6615 # 'test_compile' -- check by making test program.
6616 # 'file_magic [[regex]]' -- check by looking for files in library path
6617 # that responds to the $file_magic_cmd with a given extended regex.
6618 # If you have 'file' or equivalent on your system and you're not sure
6619 # whether 'pass_all' will *always* work, you probably want this one.
6623 lt_cv_deplibs_check_method=pass_all
6627 lt_cv_deplibs_check_method=pass_all
6631 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6632 lt_cv_file_magic_cmd='/usr/bin/file -L'
6633 lt_cv_file_magic_test_file=/shlib/libc.so
6637 # func_win32_libid is a shell function defined in ltmain.sh
6638 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6639 lt_cv_file_magic_cmd='func_win32_libid'
6643 # Base MSYS/MinGW do not provide the 'file' command needed by
6644 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6645 # unless we find 'file', for example because we are cross-compiling.
6646 if ( file / ) >/dev/null 2>&1; then
6647 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6648 lt_cv_file_magic_cmd='func_win32_libid'
6650 # Keep this pattern in sync with the one in func_win32_libid.
6651 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6652 lt_cv_file_magic_cmd='$OBJDUMP -f'
6657 # use the weaker test based on 'objdump'. See mingw*.
6658 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6659 lt_cv_file_magic_cmd='$OBJDUMP -f'
6662 darwin* | rhapsody*)
6663 lt_cv_deplibs_check_method=pass_all
6666 freebsd* | dragonfly*)
6667 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6670 # Not sure whether the presence of OpenBSD here was a mistake.
6671 # Let's accept both of them until this is cleared up.
6672 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6673 lt_cv_file_magic_cmd=/usr/bin/file
6674 lt_cv_file_magic_test_file=`echo /usr
/lib
/libc.so.
*`
6678 lt_cv_deplibs_check_method=pass_all
6683 lt_cv_deplibs_check_method=pass_all
6686 hpux10.20* | hpux11*)
6687 lt_cv_file_magic_cmd=/usr/bin/file
6690 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6691 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6694 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]'
6695 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6698 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6699 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6705 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6706 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6709 irix5* | irix6* | nonstopux*)
6711 *-32|*"-32 ") libmagic=32-bit;;
6712 *-n32|*"-n32 ") libmagic=N32;;
6713 *-64|*"-64 ") libmagic=64-bit;;
6714 *) libmagic=never-match;;
6716 lt_cv_deplibs_check_method=pass_all
6719 # This must be glibc/ELF.
6720 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6721 lt_cv_deplibs_check_method=pass_all
6725 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6726 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6728 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6733 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6734 lt_cv_file_magic_cmd=/usr/bin/file
6735 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6739 lt_cv_deplibs_check_method=pass_all
6743 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`"; then
6744 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6746 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6750 osf3* | osf4* | osf5*)
6751 lt_cv_deplibs_check_method=pass_all
6755 lt_cv_deplibs_check_method=pass_all
6759 lt_cv_deplibs_check_method=pass_all
6762 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6763 lt_cv_deplibs_check_method=pass_all
6767 case $host_vendor in
6769 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]'
6770 lt_cv_file_magic_test_file=`echo /usr
/lib
/libc.so
*`
6773 lt_cv_deplibs_check_method=pass_all
6776 lt_cv_file_magic_cmd='/bin/file'
6777 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6780 lt_cv_file_magic_cmd='/bin/file'
6781 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6782 lt_cv_file_magic_test_file=/lib/libc.so
6785 lt_cv_deplibs_check_method=pass_all
6788 lt_cv_deplibs_check_method=pass_all
6794 lt_cv_deplibs_check_method=pass_all
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6800 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6804 if test "$build" = "$host"; then
6807 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6810 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ |
$SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6816 file_magic_cmd=$lt_cv_file_magic_cmd
6817 deplibs_check_method=$lt_cv_deplibs_check_method
6818 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6841 if test -n "$ac_tool_prefix"; then
6842 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6843 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 $as_echo_n "checking for $ac_word... " >&6; }
6846 if ${ac_cv_prog_DLLTOOL+:} false; then :
6847 $as_echo_n "(cached) " >&6
6849 if test -n "$DLLTOOL"; then
6850 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856 test -z "$as_dir" && as_dir=.
6857 for ac_exec_ext in '' $ac_executable_extensions; do
6858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6859 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6869 DLLTOOL=$ac_cv_prog_DLLTOOL
6870 if test -n "$DLLTOOL"; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6872 $as_echo "$DLLTOOL" >&6; }
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6880 if test -z "$ac_cv_prog_DLLTOOL"; then
6881 ac_ct_DLLTOOL=$DLLTOOL
6882 # Extract the first word of "dlltool", so it can be a program name with args.
6883 set dummy dlltool; ac_word=$2
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6885 $as_echo_n "checking for $ac_word... " >&6; }
6886 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6887 $as_echo_n "(cached) " >&6
6889 if test -n "$ac_ct_DLLTOOL"; then
6890 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6896 test -z "$as_dir" && as_dir=.
6897 for ac_exec_ext in '' $ac_executable_extensions; do
6898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6899 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6909 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6910 if test -n "$ac_ct_DLLTOOL"; then
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6912 $as_echo "$ac_ct_DLLTOOL" >&6; }
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6915 $as_echo "no" >&6; }
6918 if test "x$ac_ct_DLLTOOL" = x; then
6921 case $cross_compiling:$ac_tool_warned in
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6925 ac_tool_warned=yes ;;
6927 DLLTOOL=$ac_ct_DLLTOOL
6930 DLLTOOL="$ac_cv_prog_DLLTOOL"
6933 test -z "$DLLTOOL" && DLLTOOL=dlltool
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6945 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6946 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6947 $as_echo_n "(cached) " >&6
6949 lt_cv_sharedlib_from_linklib_cmd='unknown'
6952 cygwin* | mingw* | pw32* | cegcc*)
6953 # two different shell functions defined in ltmain.sh;
6954 # decide which one to use based on capabilities of $DLLTOOL
6955 case `$DLLTOOL --help 2>&1` in
6956 *--identify-strict*)
6957 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6960 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6965 # fallback: assume linklib IS sharedlib
6966 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6972 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6973 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6974 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6982 if test -n "$ac_tool_prefix"; then
6985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6986 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6988 $as_echo_n "checking for $ac_word... " >&6; }
6989 if ${ac_cv_prog_AR+:} false; then :
6990 $as_echo_n "(cached) " >&6
6992 if test -n "$AR"; then
6993 ac_cv_prog_AR="$AR" # Let the user override the test.
6995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999 test -z "$as_dir" && as_dir=.
7000 for ac_exec_ext in '' $ac_executable_extensions; do
7001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7002 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7013 if test -n "$AR"; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7015 $as_echo "$AR" >&6; }
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7018 $as_echo "no" >&6; }
7022 test -n "$AR" && break
7025 if test -z "$AR"; then
7029 # Extract the first word of "$ac_prog", so it can be a program name with args.
7030 set dummy $ac_prog; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032 $as_echo_n "checking for $ac_word... " >&6; }
7033 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7034 $as_echo_n "(cached) " >&6
7036 if test -n "$ac_ct_AR"; then
7037 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7043 test -z "$as_dir" && as_dir=.
7044 for ac_exec_ext in '' $ac_executable_extensions; do
7045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7046 ac_cv_prog_ac_ct_AR="$ac_prog"
7047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7057 if test -n "$ac_ct_AR"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7059 $as_echo "$ac_ct_AR" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7066 test -n "$ac_ct_AR" && break
7069 if test "x$ac_ct_AR" = x; then
7072 case $cross_compiling:$ac_tool_warned in
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7076 ac_tool_warned=yes ;;
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7096 $as_echo_n "checking for archiver @FILE support... " >&6; }
7097 if ${lt_cv_ar_at_file+:} false; then :
7098 $as_echo_n "(cached) " >&6
7101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7102 /* end confdefs.h. */
7112 if ac_fn_c_try_compile "$LINENO"; then :
7113 echo conftest.$ac_objext > conftest.lst
7114 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7115 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7116 (eval $lt_ar_try) 2>&5
7118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7119 test $ac_status = 0; }
7120 if test 0 -eq "$ac_status"; then
7121 # Ensure the archiver fails upon bogus file names.
7122 rm -f conftest.$ac_objext libconftest.a
7123 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7124 (eval $lt_ar_try) 2>&5
7126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7127 test $ac_status = 0; }
7128 if test 0 -ne "$ac_status"; then
7132 rm -f conftest.* libconftest.a
7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7139 $as_echo "$lt_cv_ar_at_file" >&6; }
7141 if test no = "$lt_cv_ar_at_file"; then
7144 archiver_list_spec=$lt_cv_ar_at_file
7153 if test -n "$ac_tool_prefix"; then
7154 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7155 set dummy ${ac_tool_prefix}strip; ac_word=$2
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157 $as_echo_n "checking for $ac_word... " >&6; }
7158 if ${ac_cv_prog_STRIP+:} false; then :
7159 $as_echo_n "(cached) " >&6
7161 if test -n "$STRIP"; then
7162 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 test -z "$as_dir" && as_dir=.
7169 for ac_exec_ext in '' $ac_executable_extensions; do
7170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7171 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7181 STRIP=$ac_cv_prog_STRIP
7182 if test -n "$STRIP"; then
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7184 $as_echo "$STRIP" >&6; }
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187 $as_echo "no" >&6; }
7192 if test -z "$ac_cv_prog_STRIP"; then
7194 # Extract the first word of "strip", so it can be a program name with args.
7195 set dummy strip; ac_word=$2
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7197 $as_echo_n "checking for $ac_word... " >&6; }
7198 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7199 $as_echo_n "(cached) " >&6
7201 if test -n "$ac_ct_STRIP"; then
7202 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir=.
7209 for ac_exec_ext in '' $ac_executable_extensions; do
7210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7211 ac_cv_prog_ac_ct_STRIP="strip"
7212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7221 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7222 if test -n "$ac_ct_STRIP"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7224 $as_echo "$ac_ct_STRIP" >&6; }
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7230 if test "x$ac_ct_STRIP" = x; then
7233 case $cross_compiling:$ac_tool_warned in
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7237 ac_tool_warned=yes ;;
7242 STRIP="$ac_cv_prog_STRIP"
7245 test -z "$STRIP" && STRIP=:
7252 if test -n "$ac_tool_prefix"; then
7253 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7254 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256 $as_echo_n "checking for $ac_word... " >&6; }
7257 if ${ac_cv_prog_RANLIB+:} false; then :
7258 $as_echo_n "(cached) " >&6
7260 if test -n "$RANLIB"; then
7261 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7280 RANLIB=$ac_cv_prog_RANLIB
7281 if test -n "$RANLIB"; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7283 $as_echo "$RANLIB" >&6; }
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 $as_echo "no" >&6; }
7291 if test -z "$ac_cv_prog_RANLIB"; then
7292 ac_ct_RANLIB=$RANLIB
7293 # Extract the first word of "ranlib", so it can be a program name with args.
7294 set dummy ranlib; ac_word=$2
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7296 $as_echo_n "checking for $ac_word... " >&6; }
7297 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7298 $as_echo_n "(cached) " >&6
7300 if test -n "$ac_ct_RANLIB"; then
7301 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 test -z "$as_dir" && as_dir=.
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7310 ac_cv_prog_ac_ct_RANLIB="ranlib"
7311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7320 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7321 if test -n "$ac_ct_RANLIB"; then
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7323 $as_echo "$ac_ct_RANLIB" >&6; }
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 $as_echo "no" >&6; }
7329 if test "x$ac_ct_RANLIB" = x; then
7332 case $cross_compiling:$ac_tool_warned in
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7336 ac_tool_warned=yes ;;
7338 RANLIB=$ac_ct_RANLIB
7341 RANLIB="$ac_cv_prog_RANLIB"
7344 test -z "$RANLIB" && RANLIB=:
7351 # Determine commands to create old-style static archives.
7352 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7353 old_postinstall_cmds='chmod 644 $oldlib'
7354 old_postuninstall_cmds=
7356 if test -n "$RANLIB"; then
7359 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7362 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7365 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7370 lock_old_archive_extraction=yes ;;
7372 lock_old_archive_extraction=no ;;
7413 # If no C compiler was specified, use CC.
7416 # If no C compiler flags were specified, use CFLAGS.
7417 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7419 # Allow CC to be a program name with arguments.
7423 # Check for command to grab the raw symbol name followed by C symbol from nm.
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7425 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7426 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7427 $as_echo_n "(cached) " >&6
7430 # These are sane defaults that work on at least a few old systems.
7431 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7433 # Character class describing NM global symbol codes.
7434 symcode='[BCDEGRST]'
7436 # Regexp to match symbols that can be accessed directly from C.
7437 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7439 # Define system-specific variables.
7444 cygwin* | mingw* | pw32* | cegcc*)
7445 symcode='[ABCDGISTW]'
7448 if test ia64 = "$host_cpu"; then
7449 symcode='[ABCDEGRST]'
7453 symcode='[BCDEGRST]'
7456 symcode='[BCDEGQRST]'
7467 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7475 # If we're using GNU nm, then use its standard symbol codes.
7476 case `$NM -V 2>&1` in
7477 *GNU* | *'with BFD'*)
7478 symcode='[ABCDGIRSTW]' ;;
7481 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7482 # Gets list of data symbols to import.
7483 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7484 # Adjust the below global symbol transforms to fixup imported variables.
7485 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7486 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7487 lt_c_name_lib_hook="\
7488 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7489 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7491 # Disable hooks by default.
7492 lt_cv_sys_global_symbol_to_import=
7498 # Transform an extracted symbol line into a proper C declaration.
7499 # Some systems (esp. on ia64) link data and code symbols differently,
7500 # so use this general approach.
7501 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7503 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7504 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7506 # Transform an extracted symbol line into symbol name and symbol address
7507 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7509 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7510 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7512 # Transform an extracted symbol line into symbol name with lib prefix and
7514 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7515 $lt_c_name_lib_hook\
7516 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7517 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7518 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7520 # Handle CRLF in mingw tool chain
7524 opt_cr=`$ECHO 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
7528 # Try without a prefix underscore, then with it.
7529 for ac_symprfx in "" "_"; do
7531 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7532 symxfrm="\\1 $ac_symprfx\\2 \\2"
7534 # Write the raw and C identifiers.
7535 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7536 # Fake it for dumpbin and say T for any non-static function,
7537 # D for any global variable and I for any imported variable.
7538 # Also find C++ and __fastcall symbols from MSVC++,
7539 # which start with @ or ?.
7540 lt_cv_sys_global_symbol_pipe="$AWK '"\
7541 " {last_section=section; section=\$ 3};"\
7542 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7543 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7544 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7545 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7546 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7547 " \$ 0!~/External *\|/{next};"\
7548 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7549 " {if(hide[section]) next};"\
7550 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7551 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7552 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7553 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7554 " ' prfx=^$ac_symprfx"
7556 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7558 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7560 # Check to see that the pipe works correctly.
7564 cat > conftest.$ac_ext <<_LT_EOF
7569 void nm_test_func(void);
7570 void nm_test_func(void){}
7574 int main(){nm_test_var='a';nm_test_func();return(0);}
7577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7578 (eval $ac_compile) 2>&5
7580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7581 test $ac_status = 0; }; then
7582 # Now try to grab the symbols.
7584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7585 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7588 test $ac_status = 0; } && test -s "$nlist"; then
7589 # Try sorting and uniquifying the output.
7590 if sort "$nlist" | uniq > "$nlist"T; then
7591 mv -f "$nlist"T "$nlist"
7596 # Make sure that we snagged all the symbols we need.
7597 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7598 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7599 cat <<_LT_EOF > conftest.$ac_ext
7600 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7601 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7602 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7603 relocations are performed -- see ld's documentation on pseudo-relocs. */
7604 # define LT_DLSYM_CONST
7605 #elif defined __osf__
7606 /* This system does not cope well with relocations in const data. */
7607 # define LT_DLSYM_CONST
7609 # define LT_DLSYM_CONST const
7617 # Now generate the symbol file.
7618 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7620 cat <<_LT_EOF >> conftest.$ac_ext
7622 /* The mapping between symbol names and symbols. */
7623 LT_DLSYM_CONST struct {
7627 lt__PROGRAM__LTX_preloaded_symbols[] =
7629 { "@PROGRAM@", (void *) 0 },
7631 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7632 cat <<\_LT_EOF >> conftest.$ac_ext
7636 /* This works around a problem in FreeBSD linker */
7637 #ifdef FREEBSD_WORKAROUND
7638 static const void *lt_preloaded_setup() {
7639 return lt__PROGRAM__LTX_preloaded_symbols;
7647 # Now try linking the two files.
7648 mv conftest.$ac_objext conftstm.$ac_objext
7649 lt_globsym_save_LIBS=$LIBS
7650 lt_globsym_save_CFLAGS=$CFLAGS
7651 LIBS=conftstm.$ac_objext
7652 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7653 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7654 (eval $ac_link) 2>&5
7656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7657 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7660 LIBS=$lt_globsym_save_LIBS
7661 CFLAGS=$lt_globsym_save_CFLAGS
7663 echo "cannot find nm_test_func in $nlist" >&5
7666 echo "cannot find nm_test_var in $nlist" >&5
7669 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7672 echo "$progname: failed program was:" >&5
7673 cat conftest.$ac_ext >&5
7675 rm -rf conftest* conftst*
7677 # Do not use the global_symbol_pipe unless it works.
7678 if test yes = "$pipe_works"; then
7681 lt_cv_sys_global_symbol_pipe=
7687 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7688 lt_cv_sys_global_symbol_to_cdecl=
7690 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7692 $as_echo "failed" >&6; }
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7695 $as_echo "ok" >&6; }
7698 # Response file support.
7699 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7700 nm_file_list_spec='@'
7701 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7702 nm_file_list_spec='@'
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7742 $as_echo_n "checking for sysroot... " >&6; }
7744 # Check whether --with-sysroot was given.
7745 if test "${with_sysroot+set}" = set; then :
7746 withval=$with_sysroot;
7753 case $with_sysroot in #(
7755 if test yes = "$GCC"; then
7756 lt_sysroot=`$CC --print-sysroot 2>/dev
/null
`
7760 lt_sysroot=`echo "$with_sysroot" |
sed -e "$sed_quote_subst"`
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7766 $as_echo "$with_sysroot" >&6; }
7767 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7772 $as_echo "${lt_sysroot:-no}" >&6; }
7778 # Check whether --enable-libtool-lock was given.
7779 if test "${enable_libtool_lock+set}" = set; then :
7780 enableval=$enable_libtool_lock;
7783 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7785 # Some flags need to be propagated to the compiler or linker for good
7789 # Find out what ABI is being produced by ac_compile, and set mode
7790 # options accordingly.
7791 echo 'int i;' > conftest.$ac_ext
7792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7793 (eval $ac_compile) 2>&5
7795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7796 test $ac_status = 0; }; then
7797 case `/usr
/bin
/file conftest.
$ac_objext` in
7809 # Find out what ABI is being produced by ac_compile, and set linker
7810 # options accordingly.
7811 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7813 (eval $ac_compile) 2>&5
7815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7816 test $ac_status = 0; }; then
7817 if test yes = "$lt_cv_prog_gnu_ld"; then
7818 case `/usr
/bin
/file conftest.
$ac_objext` in
7820 LD="${LD-ld} -melf32bsmip"
7823 LD="${LD-ld} -melf32bmipn32"
7826 LD="${LD-ld} -melf64bmip"
7830 case `/usr
/bin
/file conftest.
$ac_objext` in
7847 # Find out what ABI is being produced by ac_compile, and set linker
7848 # options accordingly.
7849 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7851 (eval $ac_compile) 2>&5
7853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7854 test $ac_status = 0; }; then
7856 case `/usr
/bin
/file conftest.
$ac_objext` in
7864 case `/usr
/bin
/file conftest.
$ac_objext` in
7866 emul="${emul}btsmip"
7869 emul="${emul}ltsmip"
7872 case `/usr
/bin
/file conftest.
$ac_objext` in
7877 LD="${LD-ld} -m $emul"
7882 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7883 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7884 # Find out what ABI is being produced by ac_compile, and set linker
7885 # options accordingly. Note that the listed cases only cover the
7886 # situations where additional linker options are needed (such as when
7887 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7888 # vice versa); the common cases where no linker options are needed do
7889 # not appear in the list.
7890 echo 'int i;' > conftest.$ac_ext
7891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7892 (eval $ac_compile) 2>&5
7894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7895 test $ac_status = 0; }; then
7896 case `/usr
/bin
/file conftest.o
` in
7899 x86_64-*kfreebsd*-gnu)
7900 LD="${LD-ld} -m elf_i386_fbsd"
7903 case `/usr
/bin
/file conftest.o
` in
7905 LD="${LD-ld} -m elf32_x86_64"
7908 LD="${LD-ld} -m elf_i386"
7912 powerpc64le-*linux*)
7913 LD="${LD-ld} -m elf32lppclinux"
7916 LD="${LD-ld} -m elf32ppclinux"
7919 LD="${LD-ld} -m elf_s390"
7922 LD="${LD-ld} -m elf32_sparc"
7928 x86_64-*kfreebsd*-gnu)
7929 LD="${LD-ld} -m elf_x86_64_fbsd"
7932 LD="${LD-ld} -m elf_x86_64"
7935 LD="${LD-ld} -m elf64lppc"
7938 LD="${LD-ld} -m elf64ppc"
7940 s390*-*linux*|s390*-*tpf*)
7941 LD="${LD-ld} -m elf64_s390"
7944 LD="${LD-ld} -m elf64_sparc"
7954 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7956 CFLAGS="$CFLAGS -belf"
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7958 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7959 if ${lt_cv_cc_needs_belf+:} false; then :
7960 $as_echo_n "(cached) " >&6
7963 ac_cpp='$CPP $CPPFLAGS'
7964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7979 if ac_fn_c_try_link "$LINENO"; then :
7980 lt_cv_cc_needs_belf=yes
7982 lt_cv_cc_needs_belf=no
7984 rm -f core conftest.err conftest.$ac_objext \
7985 conftest$ac_exeext conftest.$ac_ext
7987 ac_cpp='$CPP $CPPFLAGS'
7988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7994 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7995 if test yes != "$lt_cv_cc_needs_belf"; then
7996 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8001 # Find out what ABI is being produced by ac_compile, and set linker
8002 # options accordingly.
8003 echo 'int i;' > conftest.$ac_ext
8004 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8005 (eval $ac_compile) 2>&5
8007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8008 test $ac_status = 0; }; then
8009 case `/usr
/bin
/file conftest.o
` in
8011 case $lt_cv_prog_gnu_ld in
8014 i?86-*-solaris*|x86_64-*-solaris*)
8015 LD="${LD-ld} -m elf_x86_64"
8018 LD="${LD-ld} -m elf64_sparc"
8021 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8022 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8027 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8039 need_locks=$enable_libtool_lock
8041 if test -n "$ac_tool_prefix"; then
8042 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8043 set dummy ${ac_tool_prefix}mt; ac_word=$2
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8045 $as_echo_n "checking for $ac_word... " >&6; }
8046 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8047 $as_echo_n "(cached) " >&6
8049 if test -n "$MANIFEST_TOOL"; then
8050 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8056 test -z "$as_dir" && as_dir=.
8057 for ac_exec_ext in '' $ac_executable_extensions; do
8058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8059 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8070 if test -n "$MANIFEST_TOOL"; then
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8072 $as_echo "$MANIFEST_TOOL" >&6; }
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8075 $as_echo "no" >&6; }
8080 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8081 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8082 # Extract the first word of "mt", so it can be a program name with args.
8083 set dummy mt; ac_word=$2
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8085 $as_echo_n "checking for $ac_word... " >&6; }
8086 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8087 $as_echo_n "(cached) " >&6
8089 if test -n "$ac_ct_MANIFEST_TOOL"; then
8090 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8096 test -z "$as_dir" && as_dir=.
8097 for ac_exec_ext in '' $ac_executable_extensions; do
8098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8099 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8109 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8110 if test -n "$ac_ct_MANIFEST_TOOL"; then
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8112 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8115 $as_echo "no" >&6; }
8118 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8121 case $cross_compiling:$ac_tool_warned in
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8125 ac_tool_warned=yes ;;
8127 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8130 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8133 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8135 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8136 if ${lt_cv_path_mainfest_tool+:} false; then :
8137 $as_echo_n "(cached) " >&6
8139 lt_cv_path_mainfest_tool=no
8140 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8141 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8142 cat conftest.err >&5
8143 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8144 lt_cv_path_mainfest_tool=yes
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8149 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8150 if test yes != "$lt_cv_path_mainfest_tool"; then
8160 rhapsody* | darwin*)
8161 if test -n "$ac_tool_prefix"; then
8162 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8163 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8165 $as_echo_n "checking for $ac_word... " >&6; }
8166 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8167 $as_echo_n "(cached) " >&6
8169 if test -n "$DSYMUTIL"; then
8170 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8179 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8189 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8190 if test -n "$DSYMUTIL"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8192 $as_echo "$DSYMUTIL" >&6; }
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8195 $as_echo "no" >&6; }
8200 if test -z "$ac_cv_prog_DSYMUTIL"; then
8201 ac_ct_DSYMUTIL=$DSYMUTIL
8202 # Extract the first word of "dsymutil", so it can be a program name with args.
8203 set dummy dsymutil; ac_word=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8205 $as_echo_n "checking for $ac_word... " >&6; }
8206 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8207 $as_echo_n "(cached) " >&6
8209 if test -n "$ac_ct_DSYMUTIL"; then
8210 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8216 test -z "$as_dir" && as_dir=.
8217 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8229 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8230 if test -n "$ac_ct_DSYMUTIL"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8232 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8235 $as_echo "no" >&6; }
8238 if test "x$ac_ct_DSYMUTIL" = x; then
8241 case $cross_compiling:$ac_tool_warned in
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8245 ac_tool_warned=yes ;;
8247 DSYMUTIL=$ac_ct_DSYMUTIL
8250 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8253 if test -n "$ac_tool_prefix"; then
8254 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8255 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8257 $as_echo_n "checking for $ac_word... " >&6; }
8258 if ${ac_cv_prog_NMEDIT+:} false; then :
8259 $as_echo_n "(cached) " >&6
8261 if test -n "$NMEDIT"; then
8262 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8268 test -z "$as_dir" && as_dir=.
8269 for ac_exec_ext in '' $ac_executable_extensions; do
8270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8271 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8281 NMEDIT=$ac_cv_prog_NMEDIT
8282 if test -n "$NMEDIT"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8284 $as_echo "$NMEDIT" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287 $as_echo "no" >&6; }
8292 if test -z "$ac_cv_prog_NMEDIT"; then
8293 ac_ct_NMEDIT=$NMEDIT
8294 # Extract the first word of "nmedit", so it can be a program name with args.
8295 set dummy nmedit; ac_word=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8297 $as_echo_n "checking for $ac_word... " >&6; }
8298 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8299 $as_echo_n "(cached) " >&6
8301 if test -n "$ac_ct_NMEDIT"; then
8302 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8308 test -z "$as_dir" && as_dir=.
8309 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8311 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8321 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8322 if test -n "$ac_ct_NMEDIT"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8324 $as_echo "$ac_ct_NMEDIT" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8327 $as_echo "no" >&6; }
8330 if test "x$ac_ct_NMEDIT" = x; then
8333 case $cross_compiling:$ac_tool_warned in
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8337 ac_tool_warned=yes ;;
8339 NMEDIT=$ac_ct_NMEDIT
8342 NMEDIT="$ac_cv_prog_NMEDIT"
8345 if test -n "$ac_tool_prefix"; then
8346 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8347 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8349 $as_echo_n "checking for $ac_word... " >&6; }
8350 if ${ac_cv_prog_LIPO+:} false; then :
8351 $as_echo_n "(cached) " >&6
8353 if test -n "$LIPO"; then
8354 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8360 test -z "$as_dir" && as_dir=.
8361 for ac_exec_ext in '' $ac_executable_extensions; do
8362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8363 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8373 LIPO=$ac_cv_prog_LIPO
8374 if test -n "$LIPO"; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8376 $as_echo "$LIPO" >&6; }
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8379 $as_echo "no" >&6; }
8384 if test -z "$ac_cv_prog_LIPO"; then
8386 # Extract the first word of "lipo", so it can be a program name with args.
8387 set dummy lipo; ac_word=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8389 $as_echo_n "checking for $ac_word... " >&6; }
8390 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8391 $as_echo_n "(cached) " >&6
8393 if test -n "$ac_ct_LIPO"; then
8394 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir=.
8401 for ac_exec_ext in '' $ac_executable_extensions; do
8402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8403 ac_cv_prog_ac_ct_LIPO="lipo"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8413 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8414 if test -n "$ac_ct_LIPO"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8416 $as_echo "$ac_ct_LIPO" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8422 if test "x$ac_ct_LIPO" = x; then
8425 case $cross_compiling:$ac_tool_warned in
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8429 ac_tool_warned=yes ;;
8434 LIPO="$ac_cv_prog_LIPO"
8437 if test -n "$ac_tool_prefix"; then
8438 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8439 set dummy ${ac_tool_prefix}otool; ac_word=$2
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8441 $as_echo_n "checking for $ac_word... " >&6; }
8442 if ${ac_cv_prog_OTOOL+:} false; then :
8443 $as_echo_n "(cached) " >&6
8445 if test -n "$OTOOL"; then
8446 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8452 test -z "$as_dir" && as_dir=.
8453 for ac_exec_ext in '' $ac_executable_extensions; do
8454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8455 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8465 OTOOL=$ac_cv_prog_OTOOL
8466 if test -n "$OTOOL"; then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8468 $as_echo "$OTOOL" >&6; }
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8471 $as_echo "no" >&6; }
8476 if test -z "$ac_cv_prog_OTOOL"; then
8478 # Extract the first word of "otool", so it can be a program name with args.
8479 set dummy otool; ac_word=$2
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8481 $as_echo_n "checking for $ac_word... " >&6; }
8482 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8483 $as_echo_n "(cached) " >&6
8485 if test -n "$ac_ct_OTOOL"; then
8486 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8492 test -z "$as_dir" && as_dir=.
8493 for ac_exec_ext in '' $ac_executable_extensions; do
8494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8495 ac_cv_prog_ac_ct_OTOOL="otool"
8496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8505 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8506 if test -n "$ac_ct_OTOOL"; then
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8508 $as_echo "$ac_ct_OTOOL" >&6; }
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8511 $as_echo "no" >&6; }
8514 if test "x$ac_ct_OTOOL" = x; then
8517 case $cross_compiling:$ac_tool_warned in
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8521 ac_tool_warned=yes ;;
8526 OTOOL="$ac_cv_prog_OTOOL"
8529 if test -n "$ac_tool_prefix"; then
8530 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8531 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8533 $as_echo_n "checking for $ac_word... " >&6; }
8534 if ${ac_cv_prog_OTOOL64+:} false; then :
8535 $as_echo_n "(cached) " >&6
8537 if test -n "$OTOOL64"; then
8538 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8544 test -z "$as_dir" && as_dir=.
8545 for ac_exec_ext in '' $ac_executable_extensions; do
8546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8547 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8557 OTOOL64=$ac_cv_prog_OTOOL64
8558 if test -n "$OTOOL64"; then
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8560 $as_echo "$OTOOL64" >&6; }
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8563 $as_echo "no" >&6; }
8568 if test -z "$ac_cv_prog_OTOOL64"; then
8569 ac_ct_OTOOL64=$OTOOL64
8570 # Extract the first word of "otool64", so it can be a program name with args.
8571 set dummy otool64; ac_word=$2
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8573 $as_echo_n "checking for $ac_word... " >&6; }
8574 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8575 $as_echo_n "(cached) " >&6
8577 if test -n "$ac_ct_OTOOL64"; then
8578 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8584 test -z "$as_dir" && as_dir=.
8585 for ac_exec_ext in '' $ac_executable_extensions; do
8586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8587 ac_cv_prog_ac_ct_OTOOL64="otool64"
8588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8597 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8598 if test -n "$ac_ct_OTOOL64"; then
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8600 $as_echo "$ac_ct_OTOOL64" >&6; }
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8603 $as_echo "no" >&6; }
8606 if test "x$ac_ct_OTOOL64" = x; then
8609 case $cross_compiling:$ac_tool_warned in
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8613 ac_tool_warned=yes ;;
8615 OTOOL64=$ac_ct_OTOOL64
8618 OTOOL64="$ac_cv_prog_OTOOL64"
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8648 $as_echo_n "checking for -single_module linker flag... " >&6; }
8649 if ${lt_cv_apple_cc_single_mod+:} false; then :
8650 $as_echo_n "(cached) " >&6
8652 lt_cv_apple_cc_single_mod=no
8653 if test -z "$LT_MULTI_MODULE"; then
8654 # By default we will add the -single_module flag. You can override
8655 # by either setting the environment variable LT_MULTI_MODULE
8656 # non-empty at configure time, or by adding -multi_module to the
8658 rm -rf libconftest.dylib*
8659 echo "int foo(void){return 1;}" > conftest.c
8660 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8661 -dynamiclib -Wl,-single_module conftest.c" >&5
8662 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8663 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8665 # If there is a non-empty error log, and "single_module"
8666 # appears in it, assume the flag caused a linker warning
8667 if test -s conftest.err && $GREP single_module conftest.err; then
8668 cat conftest.err >&5
8669 # Otherwise, if the output was created with a 0 exit code from
8670 # the compiler, it worked.
8671 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8672 lt_cv_apple_cc_single_mod=yes
8674 cat conftest.err >&5
8676 rm -rf libconftest.dylib*
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8681 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8684 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8685 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8686 $as_echo_n "(cached) " >&6
8688 lt_cv_ld_exported_symbols_list=no
8689 save_LDFLAGS=$LDFLAGS
8690 echo "_main" > conftest.sym
8691 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8693 /* end confdefs.h. */
8703 if ac_fn_c_try_link "$LINENO"; then :
8704 lt_cv_ld_exported_symbols_list=yes
8706 lt_cv_ld_exported_symbols_list=no
8708 rm -f core conftest.err conftest.$ac_objext \
8709 conftest$ac_exeext conftest.$ac_ext
8710 LDFLAGS=$save_LDFLAGS
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8714 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8717 $as_echo_n "checking for -force_load linker flag... " >&6; }
8718 if ${lt_cv_ld_force_load+:} false; then :
8719 $as_echo_n "(cached) " >&6
8721 lt_cv_ld_force_load=no
8722 cat > conftest.c << _LT_EOF
8723 int forced_loaded() { return 2;}
8725 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8726 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8727 echo "$AR cru libconftest.a conftest.o" >&5
8728 $AR cru libconftest.a conftest.o 2>&5
8729 echo "$RANLIB libconftest.a" >&5
8730 $RANLIB libconftest.a 2>&5
8731 cat > conftest.c << _LT_EOF
8732 int main() { return 0;}
8734 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8735 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8737 if test -s conftest.err && $GREP force_load conftest.err; then
8738 cat conftest.err >&5
8739 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8740 lt_cv_ld_force_load=yes
8742 cat conftest.err >&5
8744 rm -f conftest.err libconftest.a conftest conftest.c
8745 rm -rf conftest.dSYM
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8749 $as_echo "$lt_cv_ld_force_load" >&6; }
8751 rhapsody* | darwin1.[012])
8752 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8754 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8755 darwin*) # darwin 5.x on
8756 # if running on 10.5 or later, the deployment target defaults
8757 # to the OS version, if on x86, and 10.4, the deployment
8758 # target defaults to 10.4. Don't you love it?
8759 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8760 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8761 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8763 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8765 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8769 if test yes = "$lt_cv_apple_cc_single_mod"; then
8770 _lt_dar_single_mod='$single_module'
8772 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8773 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8775 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8777 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8778 _lt_dsymutil='~$DSYMUTIL $lib || :'
8785 for ac_header in dlfcn.h
8787 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8789 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8790 cat >>confdefs.h <<_ACEOF
8791 #define HAVE_DLFCN_H 1
8815 # Check whether --with-pic was given.
8816 if test "${with_pic+set}" = set; then :
8817 withval=$with_pic; lt_p=${PACKAGE-default}
8819 yes|no) pic_mode=$withval ;;
8822 # Look at the argument we got. We use all the common list separators.
8823 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8824 for lt_pkg in $withval; do
8826 if test "X$lt_pkg" = "X$lt_p"; then
8844 # Check whether --enable-fast-install was given.
8845 if test "${enable_fast_install+set}" = set; then :
8846 enableval=$enable_fast_install; p=${PACKAGE-default}
8848 yes) enable_fast_install=yes ;;
8849 no) enable_fast_install=no ;;
8851 enable_fast_install=no
8852 # Look at the argument we got. We use all the common list separators.
8853 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8854 for pkg in $enableval; do
8856 if test "X$pkg" = "X$p"; then
8857 enable_fast_install=yes
8864 enable_fast_install=yes
8877 # This can be used to rebuild libtool when needed
8878 LIBTOOL_DEPS=$ltmain
8880 # Always use our own libtool.
8881 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8912 test -z "$LN_S" && LN_S="ln -s"
8927 if test -n "${ZSH_VERSION+set}"; then
8928 setopt NO_GLOB_SUBST
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8932 $as_echo_n "checking for objdir... " >&6; }
8933 if ${lt_cv_objdir+:} false; then :
8934 $as_echo_n "(cached) " >&6
8936 rm -f .libs 2>/dev/null
8937 mkdir .libs 2>/dev/null
8938 if test -d .libs; then
8941 # MS-DOS does not allow filenames that begin with a dot.
8944 rmdir .libs 2>/dev/null
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8947 $as_echo "$lt_cv_objdir" >&6; }
8948 objdir=$lt_cv_objdir
8954 cat >>confdefs.h <<_ACEOF
8955 #define LT_OBJDIR "$lt_cv_objdir/"
8963 # AIX sometimes has problems with the GCC collect2 program. For some
8964 # reason, if we set the COLLECT_NAMES environment variable, the problems
8965 # vanish in a puff of smoke.
8966 if test set != "${COLLECT_NAMES+set}"; then
8968 export COLLECT_NAMES
8975 can_build_shared=yes
8977 # All known linkers require a '.a' archive for static linking (except MSVC,
8978 # which needs '.lib').
8981 with_gnu_ld=$lt_cv_prog_gnu_ld
8986 # Set sane defaults for various variables
8987 test -z "$CC" && CC=cc
8988 test -z "$LTCC" && LTCC=$CC
8989 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8990 test -z "$LD" && LD=ld
8991 test -z "$ac_objext" && ac_objext=o
8993 for cc_temp in $compiler""; do
8995 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8996 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9001 cc_basename=`$ECHO "$cc_temp" |
$SED "s%.*/%%; s%^$host_alias-%%"`
9004 # Only perform the check for file, if the check method requires it
9005 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9006 case $deplibs_check_method in
9008 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9010 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9011 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9012 $as_echo_n "(cached) " >&6
9016 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9019 lt_save_MAGIC_CMD=$MAGIC_CMD
9020 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9021 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9022 for ac_dir in $ac_dummy; do
9024 test -z "$ac_dir" && ac_dir=.
9025 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9026 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9027 if test -n "$file_magic_test_file"; then
9028 case $deplibs_check_method in
9030 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9031 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9032 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9033 $EGREP "$file_magic_regex" > /dev/null; then
9038 *** Warning: the command libtool uses to detect shared libraries,
9039 *** $file_magic_cmd, produces output that libtool cannot recognize.
9040 *** The result is that libtool may fail to recognize shared libraries
9041 *** as such. This will affect the creation of libtool libraries that
9042 *** depend on shared libraries, but programs linked with such libtool
9043 *** libraries will work regardless of this problem. Nevertheless, you
9044 *** may want to report the problem to your system manager and/or to
9045 *** bug-libtool@gnu.org
9055 MAGIC_CMD=$lt_save_MAGIC_CMD
9060 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9061 if test -n "$MAGIC_CMD"; then
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9063 $as_echo "$MAGIC_CMD" >&6; }
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9066 $as_echo "no" >&6; }
9073 if test -z "$lt_cv_path_MAGIC_CMD"; then
9074 if test -n "$ac_tool_prefix"; then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9076 $as_echo_n "checking for file... " >&6; }
9077 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9078 $as_echo_n "(cached) " >&6
9082 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9085 lt_save_MAGIC_CMD=$MAGIC_CMD
9086 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9087 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9088 for ac_dir in $ac_dummy; do
9090 test -z "$ac_dir" && ac_dir=.
9091 if test -f "$ac_dir/file"; then
9092 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9093 if test -n "$file_magic_test_file"; then
9094 case $deplibs_check_method in
9096 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9097 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9098 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9099 $EGREP "$file_magic_regex" > /dev/null; then
9104 *** Warning: the command libtool uses to detect shared libraries,
9105 *** $file_magic_cmd, produces output that libtool cannot recognize.
9106 *** The result is that libtool may fail to recognize shared libraries
9107 *** as such. This will affect the creation of libtool libraries that
9108 *** depend on shared libraries, but programs linked with such libtool
9109 *** libraries will work regardless of this problem. Nevertheless, you
9110 *** may want to report the problem to your system manager and/or to
9111 *** bug-libtool@gnu.org
9121 MAGIC_CMD=$lt_save_MAGIC_CMD
9126 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9127 if test -n "$MAGIC_CMD"; then
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9129 $as_echo "$MAGIC_CMD" >&6; }
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9132 $as_echo "no" >&6; }
9145 # Use C for the default configuration in the libtool script
9149 ac_cpp='$CPP $CPPFLAGS'
9150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9155 # Source file extension for C test sources.
9158 # Object file extension for compiled C test sources.
9162 # Code to be used in simple compile tests
9163 lt_simple_compile_test_code="int some_variable = 0;"
9165 # Code to be used in simple link tests
9166 lt_simple_link_test_code='int main(){return(0);}'
9174 # If no C compiler was specified, use CC.
9177 # If no C compiler flags were specified, use CFLAGS.
9178 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9180 # Allow CC to be a program name with arguments.
9183 # Save the default compiler, since it gets overwritten when the other
9184 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9185 compiler_DEFAULT=$CC
9187 # save warnings/boilerplate of simple test code
9188 ac_outfile=conftest.$ac_objext
9189 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9190 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9191 _lt_compiler_boilerplate=`cat conftest.err
`
9194 ac_outfile=conftest.$ac_objext
9195 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9196 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9197 _lt_linker_boilerplate=`cat conftest.err
`
9201 if test -n "$compiler"; then
9203 lt_prog_compiler_no_builtin_flag=
9205 if test yes = "$GCC"; then
9206 case $cc_basename in
9208 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9210 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9214 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9215 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9216 $as_echo_n "(cached) " >&6
9218 lt_cv_prog_compiler_rtti_exceptions=no
9219 ac_outfile=conftest.$ac_objext
9220 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9221 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9222 # Insert the option either (1) after the last *FLAGS variable, or
9223 # (2) before a word containing "conftest.", or (3) at the end.
9224 # Note that $ac_compile itself does not contain backslashes and begins
9225 # with a dollar sign (not a hyphen), so the echo should work correctly.
9226 # The option is referenced via a variable to avoid confusing sed.
9227 lt_compile=`echo "$ac_compile" |
$SED \
9228 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9229 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9230 -e 's:$: $lt_compiler_flag:'`
9231 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9232 (eval "$lt_compile" 2>conftest.err)
9234 cat conftest.err >&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 if (exit $ac_status) && test -s "$ac_outfile"; then
9237 # The compiler can only warn and ignore the option if not recognized
9238 # So say no if there are warnings other than the usual output.
9239 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9240 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9241 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9242 lt_cv_prog_compiler_rtti_exceptions=yes
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9249 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9251 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9252 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9264 lt_prog_compiler_wl=
9265 lt_prog_compiler_pic=
9266 lt_prog_compiler_static=
9269 if test yes = "$GCC"; then
9270 lt_prog_compiler_wl='-Wl,'
9271 lt_prog_compiler_static='-static'
9275 # All AIX code is PIC.
9276 if test ia64 = "$host_cpu"; then
9277 # AIX 5 now supports IA64 processor
9278 lt_prog_compiler_static='-Bstatic'
9280 lt_prog_compiler_pic='-fPIC'
9286 # see comment about AmigaOS4 .so support
9287 lt_prog_compiler_pic='-fPIC'
9290 # FIXME: we need at least 68020 code to build shared libraries, but
9291 # adding the '-m68020' flag to GCC prevents building anything better,
9293 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9298 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9299 # PIC is the default for these OSes.
9302 mingw* | cygwin* | pw32* | os2* | cegcc*)
9303 # This hack is so that the source file can tell whether it is being
9304 # built for inclusion in a dll (and should export symbols for example).
9305 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9306 # (--disable-auto-import) libraries
9307 lt_prog_compiler_pic='-DDLL_EXPORT'
9310 darwin* | rhapsody*)
9311 # PIC is the default on this platform
9312 # Common symbols not allowed in MH_DYLIB files
9313 lt_prog_compiler_pic='-fno-common'
9317 # PIC is the default for Haiku.
9318 # The "-static" flag exists, but is broken.
9319 lt_prog_compiler_static=
9323 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9324 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9325 # sets the default TLS model and affects inlining.
9331 lt_prog_compiler_pic='-fPIC'
9337 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9338 # Instead, we relocate shared libraries at runtime.
9342 # Just because we use GCC doesn't mean we suddenly get shared libraries
9343 # on systems that don't support them.
9344 lt_prog_compiler_can_build_shared=no
9349 # QNX uses GNU C++, but need to define -shared option too, otherwise
9351 lt_prog_compiler_pic='-fPIC -shared'
9355 if test -d /usr/nec; then
9356 lt_prog_compiler_pic=-Kconform_pic
9361 lt_prog_compiler_pic='-fPIC'
9365 case $cc_basename in
9366 nvcc*) # Cuda Compiler Driver 2.2
9367 lt_prog_compiler_wl='-Xlinker '
9368 if test -n "$lt_prog_compiler_pic"; then
9369 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9374 # PORTME Check for flag to pass linker flags through the system compiler.
9377 lt_prog_compiler_wl='-Wl,'
9378 if test ia64 = "$host_cpu"; then
9379 # AIX 5 now supports IA64 processor
9380 lt_prog_compiler_static='-Bstatic'
9382 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9386 darwin* | rhapsody*)
9387 # PIC is the default on this platform
9388 # Common symbols not allowed in MH_DYLIB files
9389 lt_prog_compiler_pic='-fno-common'
9390 case $cc_basename in
9392 # NAG Fortran compiler
9393 lt_prog_compiler_wl='-Wl,-Wl,,'
9394 lt_prog_compiler_pic='-PIC'
9395 lt_prog_compiler_static='-Bstatic'
9400 mingw* | cygwin* | pw32* | os2* | cegcc*)
9401 # This hack is so that the source file can tell whether it is being
9402 # built for inclusion in a dll (and should export symbols for example).
9403 lt_prog_compiler_pic='-DDLL_EXPORT'
9406 hpux9* | hpux10* | hpux11*)
9407 lt_prog_compiler_wl='-Wl,'
9408 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9415 lt_prog_compiler_pic='+Z'
9418 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9419 lt_prog_compiler_static='$wl-a ${wl}archive'
9422 irix5* | irix6* | nonstopux*)
9423 lt_prog_compiler_wl='-Wl,'
9424 # PIC (with -KPIC) is the default.
9425 lt_prog_compiler_static='-non_shared'
9428 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9429 case $cc_basename in
9430 # old Intel for x86_64, which still supported -KPIC.
9432 lt_prog_compiler_wl='-Wl,'
9433 lt_prog_compiler_pic='-KPIC'
9434 lt_prog_compiler_static='-static'
9436 # icc used to be incompatible with GCC.
9437 # ICC 10 doesn't accept -KPIC any more.
9439 lt_prog_compiler_wl='-Wl,'
9440 lt_prog_compiler_pic='-fPIC'
9441 lt_prog_compiler_static='-static'
9443 # Lahey Fortran 8.1.
9445 lt_prog_compiler_wl='-Wl,'
9446 lt_prog_compiler_pic='--shared'
9447 lt_prog_compiler_static='--static'
9450 # NAG Fortran compiler
9451 lt_prog_compiler_wl='-Wl,-Wl,,'
9452 lt_prog_compiler_pic='-PIC'
9453 lt_prog_compiler_static='-Bstatic'
9456 # Fabrice Bellard et al's Tiny C Compiler
9457 lt_prog_compiler_wl='-Wl,'
9458 lt_prog_compiler_pic='-fPIC'
9459 lt_prog_compiler_static='-static'
9461 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9462 # Portland Group compilers (*not* the Pentium gcc compiler,
9463 # which looks to be a dead project)
9464 lt_prog_compiler_wl='-Wl,'
9465 lt_prog_compiler_pic='-fpic'
9466 lt_prog_compiler_static='-Bstatic'
9469 lt_prog_compiler_wl='-Wl,'
9470 # All Alpha code is PIC.
9471 lt_prog_compiler_static='-non_shared'
9473 xl* | bgxl* | bgf* | mpixl*)
9474 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9475 lt_prog_compiler_wl='-Wl,'
9476 lt_prog_compiler_pic='-qpic'
9477 lt_prog_compiler_static='-qstaticlink'
9480 case `$CC -V 2>&1 |
sed 5q
` in
9481 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9482 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9483 lt_prog_compiler_pic='-KPIC'
9484 lt_prog_compiler_static='-Bstatic'
9485 lt_prog_compiler_wl=''
9487 *Sun\ F* | *Sun*Fortran*)
9488 lt_prog_compiler_pic='-KPIC'
9489 lt_prog_compiler_static='-Bstatic'
9490 lt_prog_compiler_wl='-Qoption ld '
9494 lt_prog_compiler_pic='-KPIC'
9495 lt_prog_compiler_static='-Bstatic'
9496 lt_prog_compiler_wl='-Wl,'
9498 *Intel*\ [CF]*Compiler*)
9499 lt_prog_compiler_wl='-Wl,'
9500 lt_prog_compiler_pic='-fPIC'
9501 lt_prog_compiler_static='-static'
9504 lt_prog_compiler_wl='-Wl,'
9505 lt_prog_compiler_pic='-fpic'
9506 lt_prog_compiler_static='-Bstatic'
9514 lt_prog_compiler_pic='-KPIC'
9515 lt_prog_compiler_static='-Bstatic'
9519 # QNX uses GNU C++, but need to define -shared option too, otherwise
9521 lt_prog_compiler_pic='-fPIC -shared'
9524 osf3* | osf4* | osf5*)
9525 lt_prog_compiler_wl='-Wl,'
9526 # All OSF/1 code is PIC.
9527 lt_prog_compiler_static='-non_shared'
9531 lt_prog_compiler_static='-non_shared'
9535 lt_prog_compiler_pic='-KPIC'
9536 lt_prog_compiler_static='-Bstatic'
9537 case $cc_basename in
9538 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9539 lt_prog_compiler_wl='-Qoption ld ';;
9541 lt_prog_compiler_wl='-Wl,';;
9546 lt_prog_compiler_wl='-Qoption ld '
9547 lt_prog_compiler_pic='-PIC'
9548 lt_prog_compiler_static='-Bstatic'
9551 sysv4 | sysv4.2uw2* | sysv4.3*)
9552 lt_prog_compiler_wl='-Wl,'
9553 lt_prog_compiler_pic='-KPIC'
9554 lt_prog_compiler_static='-Bstatic'
9558 if test -d /usr/nec; then
9559 lt_prog_compiler_pic='-Kconform_pic'
9560 lt_prog_compiler_static='-Bstatic'
9564 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9565 lt_prog_compiler_wl='-Wl,'
9566 lt_prog_compiler_pic='-KPIC'
9567 lt_prog_compiler_static='-Bstatic'
9571 lt_prog_compiler_wl='-Wl,'
9572 lt_prog_compiler_can_build_shared=no
9576 lt_prog_compiler_pic='-pic'
9577 lt_prog_compiler_static='-Bstatic'
9581 lt_prog_compiler_can_build_shared=no
9587 # For platforms that do not support PIC, -DPIC is meaningless:
9589 lt_prog_compiler_pic=
9592 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9597 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9598 if ${lt_cv_prog_compiler_pic+:} false; then :
9599 $as_echo_n "(cached) " >&6
9601 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9604 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9605 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9608 # Check to make sure the PIC flag actually works.
9610 if test -n "$lt_prog_compiler_pic"; then
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9612 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9613 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9614 $as_echo_n "(cached) " >&6
9616 lt_cv_prog_compiler_pic_works=no
9617 ac_outfile=conftest.$ac_objext
9618 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9619 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9620 # Insert the option either (1) after the last *FLAGS variable, or
9621 # (2) before a word containing "conftest.", or (3) at the end.
9622 # Note that $ac_compile itself does not contain backslashes and begins
9623 # with a dollar sign (not a hyphen), so the echo should work correctly.
9624 # The option is referenced via a variable to avoid confusing sed.
9625 lt_compile=`echo "$ac_compile" |
$SED \
9626 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9627 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9628 -e 's:$: $lt_compiler_flag:'`
9629 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9630 (eval "$lt_compile" 2>conftest.err)
9632 cat conftest.err >&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 if (exit $ac_status) && test -s "$ac_outfile"; then
9635 # The compiler can only warn and ignore the option if not recognized
9636 # So say no if there are warnings other than the usual output.
9637 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9638 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9639 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9640 lt_cv_prog_compiler_pic_works=yes
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9647 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9649 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9650 case $lt_prog_compiler_pic in
9652 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9655 lt_prog_compiler_pic=
9656 lt_prog_compiler_can_build_shared=no
9672 # Check to make sure the static flag actually works.
9674 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9676 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9677 if ${lt_cv_prog_compiler_static_works+:} false; then :
9678 $as_echo_n "(cached) " >&6
9680 lt_cv_prog_compiler_static_works=no
9681 save_LDFLAGS=$LDFLAGS
9682 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9683 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9684 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9685 # The linker can only warn and ignore the option if not recognized
9686 # So say no if there are warnings
9687 if test -s conftest.err; then
9688 # Append any errors to the config.log.
9689 cat conftest.err 1>&5
9690 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9691 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9692 if diff conftest.exp conftest.er2 >/dev/null; then
9693 lt_cv_prog_compiler_static_works=yes
9696 lt_cv_prog_compiler_static_works=yes
9700 LDFLAGS=$save_LDFLAGS
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9704 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9706 if test yes = "$lt_cv_prog_compiler_static_works"; then
9709 lt_prog_compiler_static=
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9719 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9720 if ${lt_cv_prog_compiler_c_o+:} false; then :
9721 $as_echo_n "(cached) " >&6
9723 lt_cv_prog_compiler_c_o=no
9724 $RM -r conftest 2>/dev/null
9728 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9730 lt_compiler_flag="-o out/conftest2.$ac_objext"
9731 # Insert the option either (1) after the last *FLAGS variable, or
9732 # (2) before a word containing "conftest.", or (3) at the end.
9733 # Note that $ac_compile itself does not contain backslashes and begins
9734 # with a dollar sign (not a hyphen), so the echo should work correctly.
9735 lt_compile=`echo "$ac_compile" |
$SED \
9736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9738 -e 's:$: $lt_compiler_flag:'`
9739 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9740 (eval "$lt_compile" 2>out/conftest.err)
9742 cat out/conftest.err >&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9746 # The compiler can only warn and ignore the option if not recognized
9747 # So say no if there are warnings
9748 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9749 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9750 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9751 lt_cv_prog_compiler_c_o=yes
9756 # SGI C++ compiler will create directory out/ii_files/ for
9757 # template instantiation
9758 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9759 $RM out/* && rmdir out
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9766 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9774 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9775 if ${lt_cv_prog_compiler_c_o+:} false; then :
9776 $as_echo_n "(cached) " >&6
9778 lt_cv_prog_compiler_c_o=no
9779 $RM -r conftest 2>/dev/null
9783 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9785 lt_compiler_flag="-o out/conftest2.$ac_objext"
9786 # Insert the option either (1) after the last *FLAGS variable, or
9787 # (2) before a word containing "conftest.", or (3) at the end.
9788 # Note that $ac_compile itself does not contain backslashes and begins
9789 # with a dollar sign (not a hyphen), so the echo should work correctly.
9790 lt_compile=`echo "$ac_compile" |
$SED \
9791 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9792 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9793 -e 's:$: $lt_compiler_flag:'`
9794 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9795 (eval "$lt_compile" 2>out/conftest.err)
9797 cat out/conftest.err >&5
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9801 # The compiler can only warn and ignore the option if not recognized
9802 # So say no if there are warnings
9803 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9804 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9805 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9806 lt_cv_prog_compiler_c_o=yes
9811 # SGI C++ compiler will create directory out/ii_files/ for
9812 # template instantiation
9813 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9814 $RM out/* && rmdir out
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9821 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9826 hard_links=nottested
9827 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9828 # do not overwrite the value of need_locks provided by the user
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9830 $as_echo_n "checking if we can lock with hard links... " >&6; }
9833 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9835 ln conftest.a conftest.b 2>&5 || hard_links=no
9836 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9838 $as_echo "$hard_links" >&6; }
9839 if test no = "$hard_links"; then
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9841 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9854 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9857 allow_undefined_flag=
9858 always_export_symbols=no
9860 archive_expsym_cmds=
9861 compiler_needs_object=no
9862 enable_shared_with_static_runtimes=no
9863 export_dynamic_flag_spec=
9864 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9865 hardcode_automatic=no
9867 hardcode_direct_absolute=no
9868 hardcode_libdir_flag_spec=
9869 hardcode_libdir_separator=
9871 hardcode_shlibpath_var=unsupported
9873 link_all_deplibs=unknown
9876 old_archive_from_new_cmds=
9877 old_archive_from_expsyms_cmds=
9878 thread_safe_flag_spec=
9879 whole_archive_flag_spec=
9880 # include_expsyms should be a list of space-separated symbols to be *always*
9881 # included in the symbol list
9883 # exclude_expsyms can be an extended regexp of symbols to exclude
9884 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9885 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9886 # as well as any symbol that contains 'd'.
9887 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9888 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9889 # platforms (ab)use it in PIC code, but their linkers get confused if
9890 # the symbol is explicitly referenced. Since portable code cannot
9891 # rely on this symbol name, it's probably fine to never include it in
9892 # preloaded symbol tables.
9893 # Exclude shared library initialization/finalization symbols.
9894 extract_expsyms_cmds=
9897 cygwin* | mingw* | pw32* | cegcc*)
9898 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9899 # When not using gcc, we currently assume that we are using
9900 # Microsoft Visual C++.
9901 if test yes != "$GCC"; then
9906 # we just hope/assume this is gcc and not c89 (= MSVC++)
9916 # On some targets, GNU ld is compatible enough with the native linker
9917 # that we're better off using the native interface for both.
9918 lt_use_gnu_ld_interface=no
9919 if test yes = "$with_gnu_ld"; then
9922 # The AIX port of GNU ld has always aspired to compatibility
9923 # with the native linker. However, as the warning in the GNU ld
9924 # block says, versions before 2.19.5* couldn't really create working
9925 # shared libraries, regardless of the interface used.
9926 case `$LD -v 2>&1` in
9927 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9928 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9929 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9931 lt_use_gnu_ld_interface=yes
9936 lt_use_gnu_ld_interface=yes
9941 if test yes = "$lt_use_gnu_ld_interface"; then
9942 # If archive_cmds runs LD, not CC, wlarc should be empty
9945 # Set some defaults for GNU ld with shared library support. These
9946 # are reset later if shared libraries are not supported. Putting them
9947 # here allows them to be overridden if necessary.
9948 runpath_var=LD_RUN_PATH
9949 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9950 export_dynamic_flag_spec='$wl--export-dynamic'
9951 # ancient GNU ld didn't support --whole-archive et. al.
9952 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9953 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9955 whole_archive_flag_spec=
9957 supports_anon_versioning=no
9958 case `$LD -v |
$SED -e 's/(^)\+)\s\+//' 2>&1` in
9959 *GNU\ gold*) supports_anon_versioning=yes ;;
9960 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9961 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9962 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9963 *\ 2.11.*) ;; # other 2.11 versions
9964 *) supports_anon_versioning=yes ;;
9967 # See if GNU ld supports shared libraries.
9970 # On AIX/PPC, the GNU linker is very broken
9971 if test ia64 != "$host_cpu"; then
9975 *** Warning: the GNU linker, at least up to release 2.19, is reported
9976 *** to be unable to reliably create shared libraries on AIX.
9977 *** Therefore, libtool is disabling shared libraries support. If you
9978 *** really care for shared libraries, you may want to install binutils
9979 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9980 *** You will then need to restart the configuration process.
9989 # see comment about AmigaOS4 .so support
9990 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9991 archive_expsym_cmds=''
9994 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)'
9995 hardcode_libdir_flag_spec='-L$libdir'
9996 hardcode_minus_L=yes
10002 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10003 allow_undefined_flag=unsupported
10004 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10005 # support --undefined. This deserves some investigation. FIXME
10006 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10012 cygwin* | mingw* | pw32* | cegcc*)
10013 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10014 # as there is no search path for DLLs.
10015 hardcode_libdir_flag_spec='-L$libdir'
10016 export_dynamic_flag_spec='$wl--export-all-symbols'
10017 allow_undefined_flag=unsupported
10018 always_export_symbols=no
10019 enable_shared_with_static_runtimes=yes
10020 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'
10021 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10023 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10024 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10025 # If the export-symbols file already is a .def file, use it as
10026 # is; otherwise, prepend EXPORTS...
10027 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s
/^
[ ]*//'\'' -e '\''/^\
(;.
*\
)*$
/d
'\'' -e '\''s
/^\
(EXPORTS\|LIBRARY\
)\
([ ].
*\
)*$
/DEF
/p
'\'' -e q
$export_symbols`" ; then
10028 cp $export_symbols $output_objdir/$soname.def;
10030 echo EXPORTS > $output_objdir/$soname.def;
10031 cat $export_symbols >> $output_objdir/$soname.def;
10033 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10040 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10041 link_all_deplibs=yes
10046 hardcode_shlibpath_var=no
10047 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10048 export_dynamic_flag_spec='$wl-E'
10049 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10050 # Instead, shared libraries are loaded at an image base (0x10000000 by
10051 # default) and relocated if they conflict, which is a slow very memory
10052 # consuming and fragmenting process. To avoid this, we pick a random,
10053 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10054 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10055 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \
* 262144 + 1342177280` -o $lib'
10056 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'
10059 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10061 if test linux-dietlibc = "$host_os"; then
10062 case $cc_basename in
10063 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10066 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10067 && test no = "$tmp_diet"
10069 tmp_addflag=' $pic_flag'
10070 tmp_sharedflag='-shared'
10071 case $cc_basename,$host_cpu in
10072 pgcc*) # Portland Group C compiler
10073 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'
10074 tmp_addflag=' $pic_flag'
10076 pgf77* | pgf90* | pgf95* | pgfortran*)
10077 # Portland Group f77 and f90 compilers
10078 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'
10079 tmp_addflag=' $pic_flag -Mnomain' ;;
10080 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10081 tmp_addflag=' -i_dynamic' ;;
10082 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10083 tmp_addflag=' -i_dynamic -nofor_main' ;;
10084 ifc* | ifort*) # Intel Fortran compiler
10085 tmp_addflag=' -nofor_main' ;;
10086 lf95*) # Lahey Fortran 8.1
10087 whole_archive_flag_spec=
10088 tmp_sharedflag='--shared' ;;
10089 nagfor*) # NAGFOR 5.3
10090 tmp_sharedflag='-Wl,-shared' ;;
10091 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10092 tmp_sharedflag='-qmkshrobj'
10094 nvcc*) # Cuda Compiler Driver 2.2
10095 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'
10096 compiler_needs_object=yes
10099 case `$CC -V 2>&1 |
sed 5q
` in
10100 *Sun\ C*) # Sun C 5.9
10101 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'
10102 compiler_needs_object=yes
10103 tmp_sharedflag='-G' ;;
10104 *Sun\ F*) # Sun Fortran 8.3
10105 tmp_sharedflag='-G' ;;
10107 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10109 if test yes = "$supports_anon_versioning"; then
10110 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10111 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10112 echo "local: *; };" >> $output_objdir/$libname.ver~
10113 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10116 case $cc_basename in
10117 xlf* | bgf* | bgxlf* | mpixlf*)
10118 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10119 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10120 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10121 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10122 if test yes = "$supports_anon_versioning"; then
10123 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10124 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10125 echo "local: *; };" >> $output_objdir/$libname.ver~
10126 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10136 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10137 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10140 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10141 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10146 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10150 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10151 *** create shared libraries on Solaris systems. Therefore, libtool
10152 *** is disabling shared libraries support. We urge you to upgrade GNU
10153 *** binutils to release 2.9.1 or newer. Another option is to modify
10154 *** your PATH or compiler configuration so that the native linker is
10155 *** used, and then restart.
10158 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10159 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10160 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10166 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10167 case `$LD -v 2>&1` in
10168 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10172 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10173 *** reliably create shared libraries on SCO systems. Therefore, libtool
10174 *** is disabling shared libraries support. We urge you to upgrade GNU
10175 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10176 *** your PATH or compiler configuration so that the native linker is
10177 *** used, and then restart.
10182 # For security reasons, it is highly recommended that you always
10183 # use absolute paths for naming shared libraries, and exclude the
10184 # DT_RUNPATH tag from executables and libraries. But doing so
10185 # requires that you compile everything twice, which is a pain.
10186 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10187 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10188 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10189 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10198 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10200 hardcode_direct=yes
10201 hardcode_shlibpath_var=no
10205 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10206 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10207 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10214 if test no = "$ld_shlibs"; then
10216 hardcode_libdir_flag_spec=
10217 export_dynamic_flag_spec=
10218 whole_archive_flag_spec=
10221 # PORTME fill in a description of your system's linker (not GNU ld)
10224 allow_undefined_flag=unsupported
10225 always_export_symbols=yes
10226 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'
10227 # Note: this linker hardcodes the directories in LIBPATH if there
10228 # are no directories specified by -L.
10229 hardcode_minus_L=yes
10230 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10231 # Neither direct hardcoding nor static linking is supported with a
10233 hardcode_direct=unsupported
10238 if test ia64 = "$host_cpu"; then
10239 # On IA64, the linker does run time linking by default, so we don't
10240 # have to do anything special.
10241 aix_use_runtimelinking=no
10242 exp_sym_flag='-Bexport'
10245 # If we're using GNU nm, then we don't want the "-C" option.
10246 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10247 # Also, AIX nm treats weak defined symbols like other global
10248 # defined symbols, whereas GNU nm marks them as "W".
10249 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10250 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'
10252 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'
10254 aix_use_runtimelinking=no
10256 # Test if we are trying to use run time linking or normal
10257 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10258 # need to do runtime linking.
10259 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10260 for ld_flag in $LDFLAGS; do
10261 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10262 aix_use_runtimelinking=yes
10269 exp_sym_flag='-bexport'
10270 no_entry_flag='-bnoentry'
10273 # When large executables or shared objects are built, AIX ld can
10274 # have problems creating the table of contents. If linking a library
10275 # or program results in "error TOC overflow" add -mminimal-toc to
10276 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10277 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10280 hardcode_direct=yes
10281 hardcode_direct_absolute=yes
10282 hardcode_libdir_separator=':'
10283 link_all_deplibs=yes
10284 file_list_spec='$wl-f,'
10286 if test yes = "$GCC"; then
10287 case $host_os in aix4.[012]|aix4.[012].*)
10288 # We only want to do this on AIX 4.2 and lower, the check
10289 # below for broken collect2 doesn't work under 4.3+
10290 collect2name=`$CC -print-prog-name=collect2
`
10291 if test -f "$collect2name" &&
10292 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10294 # We have reworked collect2
10297 # We have old collect2
10298 hardcode_direct=unsupported
10299 # It fails to find uninstalled libraries when the uninstalled
10300 # path is not listed in the libpath. Setting hardcode_minus_L
10301 # to unsupported forces relinking
10302 hardcode_minus_L=yes
10303 hardcode_libdir_flag_spec='-L$libdir'
10304 hardcode_libdir_separator=
10308 shared_flag='-shared'
10309 if test yes = "$aix_use_runtimelinking"; then
10310 shared_flag="$shared_flag "'$wl-G'
10314 if test ia64 = "$host_cpu"; then
10315 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10316 # chokes on -Wl,-G. The following line is correct:
10319 if test yes = "$aix_use_runtimelinking"; then
10320 shared_flag='$wl-G'
10322 shared_flag='$wl-bM:SRE'
10327 export_dynamic_flag_spec='$wl-bexpall'
10328 # It seems that -bexpall does not export symbols beginning with
10329 # underscore (_), so it is better to generate a list of symbols to export.
10330 always_export_symbols=yes
10331 if test yes = "$aix_use_runtimelinking"; then
10332 # Warning - without using the other runtime loading flags (-brtl),
10333 # -berok will link without error, but may produce a broken library.
10334 allow_undefined_flag='-berok'
10335 # Determine the default libpath from the value encoded in an
10336 # empty executable.
10337 if test set = "${lt_cv_aix_libpath+set}"; then
10338 aix_libpath=$lt_cv_aix_libpath
10340 if ${lt_cv_aix_libpath_+:} false; then :
10341 $as_echo_n "(cached) " >&6
10343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10344 /* end confdefs.h. */
10354 if ac_fn_c_try_link "$LINENO"; then :
10356 lt_aix_libpath_sed='
10357 /Import File Strings/,/^$/ {
10359 s/^0 *\([^ ]*\) *$/\1/
10363 lt_cv_aix_libpath_=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10364 # Check for a 64-bit object if we didn't find anything.
10365 if test -z "$lt_cv_aix_libpath_"; then
10366 lt_cv_aix_libpath_=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10369 rm -f core conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 if test -z "$lt_cv_aix_libpath_"; then
10372 lt_cv_aix_libpath_=/usr/lib:/lib
10377 aix_libpath=$lt_cv_aix_libpath_
10380 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10381 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all
"$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10383 if test ia64 = "$host_cpu"; then
10384 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10385 allow_undefined_flag="-z nodefs"
10386 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"
10388 # Determine the default libpath from the value encoded in an
10389 # empty executable.
10390 if test set = "${lt_cv_aix_libpath+set}"; then
10391 aix_libpath=$lt_cv_aix_libpath
10393 if ${lt_cv_aix_libpath_+:} false; then :
10394 $as_echo_n "(cached) " >&6
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10407 if ac_fn_c_try_link "$LINENO"; then :
10409 lt_aix_libpath_sed='
10410 /Import File Strings/,/^$/ {
10412 s/^0 *\([^ ]*\) *$/\1/
10416 lt_cv_aix_libpath_=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10417 # Check for a 64-bit object if we didn't find anything.
10418 if test -z "$lt_cv_aix_libpath_"; then
10419 lt_cv_aix_libpath_=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10422 rm -f core conftest.err conftest.$ac_objext \
10423 conftest$ac_exeext conftest.$ac_ext
10424 if test -z "$lt_cv_aix_libpath_"; then
10425 lt_cv_aix_libpath_=/usr/lib:/lib
10430 aix_libpath=$lt_cv_aix_libpath_
10433 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10434 # Warning - without using the other run time loading flags,
10435 # -berok will link without error, but may produce a broken library.
10436 no_undefined_flag=' $wl-bernotok'
10437 allow_undefined_flag=' $wl-berok'
10438 if test yes = "$with_gnu_ld"; then
10439 # We only use this code for GNU lds that support --whole-archive.
10440 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10442 # Exported symbols can be pulled into shared objects from archives
10443 whole_archive_flag_spec='$convenience'
10445 archive_cmds_need_lc=yes
10446 # This is similar to how AIX traditionally builds its shared libraries.
10447 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'
10455 # see comment about AmigaOS4 .so support
10456 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10457 archive_expsym_cmds=''
10460 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)'
10461 hardcode_libdir_flag_spec='-L$libdir'
10462 hardcode_minus_L=yes
10468 export_dynamic_flag_spec=-rdynamic
10471 cygwin* | mingw* | pw32* | cegcc*)
10472 # When not using gcc, we currently assume that we are using
10473 # Microsoft Visual C++.
10474 # hardcode_libdir_flag_spec is actually meaningless, as there is
10475 # no search path for DLLs.
10476 case $cc_basename in
10479 hardcode_libdir_flag_spec=' '
10480 allow_undefined_flag=unsupported
10481 always_export_symbols=yes
10483 # Tell ltmain to make .lib files, not .a files.
10485 # Tell ltmain to make .dll files, not .so files.
10487 # FIXME: Setting linknames here is a bad hack.
10488 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10489 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s
/^
[ ]*//'\'' -e '\''/^\
(;.
*\
)*$
/d
'\'' -e '\''s
/^\
(EXPORTS\|LIBRARY\
)\
([ ].
*\
)*$
/DEF
/p
'\'' -e q
$export_symbols`" ; then
10490 cp "$export_symbols" "$output_objdir/$soname.def";
10491 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10493 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10495 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10497 # The linker will not automatically build a static lib if we build a DLL.
10498 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10499 enable_shared_with_static_runtimes=yes
10500 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10501 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10503 old_postinstall_cmds='chmod 644 $oldlib'
10504 postlink_cmds='lt_outputfile="@OUTPUT@"~
10505 lt_tool_outputfile="@TOOL_OUTPUT@"~
10506 case $lt_outputfile in
10509 lt_outputfile=$lt_outputfile.exe
10510 lt_tool_outputfile=$lt_tool_outputfile.exe
10513 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10514 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10515 $RM "$lt_outputfile.manifest";
10519 # Assume MSVC wrapper
10520 hardcode_libdir_flag_spec=' '
10521 allow_undefined_flag=unsupported
10522 # Tell ltmain to make .lib files, not .a files.
10524 # Tell ltmain to make .dll files, not .so files.
10526 # FIXME: Setting linknames here is a bad hack.
10527 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all
"$deplibs" |
$SED '\''s
/ -lc$
//'\''` -link -dll~linknames='
10528 # The linker will automatically build a .lib file if we build a DLL.
10529 old_archive_from_new_cmds='true'
10530 # FIXME: Should let the user specify the lib program.
10531 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10532 enable_shared_with_static_runtimes=yes
10537 darwin* | rhapsody*)
10540 archive_cmds_need_lc=no
10542 hardcode_automatic=yes
10543 hardcode_shlibpath_var=unsupported
10544 if test yes = "$lt_cv_ld_force_load"; then
10545 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\"`'
10548 whole_archive_flag_spec=''
10550 link_all_deplibs=yes
10551 allow_undefined_flag=$_lt_dar_allow_undefined
10552 case $cc_basename in
10553 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10554 *) _lt_dar_can_shared=$GCC ;;
10556 if test yes = "$_lt_dar_can_shared"; then
10557 output_verbose_link_cmd=func_echo_all
10558 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10559 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10560 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"
10561 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"
10570 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10571 hardcode_libdir_flag_spec='-L$libdir'
10572 hardcode_shlibpath_var=no
10575 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10576 # support. Future versions do this automatically, but an explicit c++rt0.o
10577 # does not break anything, and helps significantly (at the cost of a little
10580 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10581 hardcode_libdir_flag_spec='-R$libdir'
10582 hardcode_direct=yes
10583 hardcode_shlibpath_var=no
10586 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10588 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10589 hardcode_direct=yes
10590 hardcode_minus_L=yes
10591 hardcode_shlibpath_var=no
10594 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10595 freebsd* | dragonfly*)
10596 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10597 hardcode_libdir_flag_spec='-R$libdir'
10598 hardcode_direct=yes
10599 hardcode_shlibpath_var=no
10603 if test yes = "$GCC"; then
10604 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10606 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10608 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10609 hardcode_libdir_separator=:
10610 hardcode_direct=yes
10612 # hardcode_minus_L: Not really in the search PATH,
10613 # but as the default location of the library.
10614 hardcode_minus_L=yes
10615 export_dynamic_flag_spec='$wl-E'
10619 if test yes,no = "$GCC,$with_gnu_ld"; then
10620 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10622 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10624 if test no = "$with_gnu_ld"; then
10625 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10626 hardcode_libdir_separator=:
10627 hardcode_direct=yes
10628 hardcode_direct_absolute=yes
10629 export_dynamic_flag_spec='$wl-E'
10630 # hardcode_minus_L: Not really in the search PATH,
10631 # but as the default location of the library.
10632 hardcode_minus_L=yes
10637 if test yes,no = "$GCC,$with_gnu_ld"; then
10640 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10646 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10652 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10655 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10659 # Older versions of the 11.00 compiler do not understand -b yet
10660 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10662 $as_echo_n "checking if $CC understands -b... " >&6; }
10663 if ${lt_cv_prog_compiler__b+:} false; then :
10664 $as_echo_n "(cached) " >&6
10666 lt_cv_prog_compiler__b=no
10667 save_LDFLAGS=$LDFLAGS
10668 LDFLAGS="$LDFLAGS -b"
10669 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10670 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10671 # The linker can only warn and ignore the option if not recognized
10672 # So say no if there are warnings
10673 if test -s conftest.err; then
10674 # Append any errors to the config.log.
10675 cat conftest.err 1>&5
10676 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10677 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10678 if diff conftest.exp conftest.er2 >/dev/null; then
10679 lt_cv_prog_compiler__b=yes
10682 lt_cv_prog_compiler__b=yes
10686 LDFLAGS=$save_LDFLAGS
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10690 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10692 if test yes = "$lt_cv_prog_compiler__b"; then
10693 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10695 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10701 if test no = "$with_gnu_ld"; then
10702 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10703 hardcode_libdir_separator=:
10708 hardcode_shlibpath_var=no
10711 hardcode_direct=yes
10712 hardcode_direct_absolute=yes
10713 export_dynamic_flag_spec='$wl-E'
10715 # hardcode_minus_L: Not really in the search PATH,
10716 # but as the default location of the library.
10717 hardcode_minus_L=yes
10723 irix5* | irix6* | nonstopux*)
10724 if test yes = "$GCC"; then
10725 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'
10726 # Try to use the -exported_symbol ld option, if it does not
10727 # work, assume that -exports_file does not work either and
10728 # implicitly export all symbols.
10729 # This should be the same for all languages, so no per-tag cache variable.
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10731 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10732 if ${lt_cv_irix_exported_symbol+:} false; then :
10733 $as_echo_n "(cached) " >&6
10735 save_LDFLAGS=$LDFLAGS
10736 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10739 int foo (void) { return 0; }
10741 if ac_fn_c_try_link "$LINENO"; then :
10742 lt_cv_irix_exported_symbol=yes
10744 lt_cv_irix_exported_symbol=no
10746 rm -f core conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
10748 LDFLAGS=$save_LDFLAGS
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10751 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10752 if test yes = "$lt_cv_irix_exported_symbol"; then
10753 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'
10756 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'
10757 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'
10759 archive_cmds_need_lc='no'
10760 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10761 hardcode_libdir_separator=:
10763 link_all_deplibs=yes
10767 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10768 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10770 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10772 hardcode_libdir_flag_spec='-R$libdir'
10773 hardcode_direct=yes
10774 hardcode_shlibpath_var=no
10778 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10779 hardcode_direct=yes
10780 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10781 hardcode_libdir_separator=:
10782 hardcode_shlibpath_var=no
10788 openbsd* | bitrig*)
10789 if test -f /usr/libexec/ld.so; then
10790 hardcode_direct=yes
10791 hardcode_shlibpath_var=no
10792 hardcode_direct_absolute=yes
10793 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`"; then
10794 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10795 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10796 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10797 export_dynamic_flag_spec='$wl-E'
10799 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10800 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10808 hardcode_libdir_flag_spec='-L$libdir'
10809 hardcode_minus_L=yes
10810 allow_undefined_flag=unsupported
10811 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'
10812 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10816 if test yes = "$GCC"; then
10817 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10818 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'
10820 allow_undefined_flag=' -expect_unresolved \*'
10821 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'
10823 archive_cmds_need_lc='no'
10824 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10825 hardcode_libdir_separator=:
10828 osf4* | osf5*) # as osf3* with the addition of -msym flag
10829 if test yes = "$GCC"; then
10830 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10831 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'
10832 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10834 allow_undefined_flag=' -expect_unresolved \*'
10835 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'
10836 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~
10837 $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'
10839 # Both c and cxx compiler support -rpath directly
10840 hardcode_libdir_flag_spec='-rpath $libdir'
10842 archive_cmds_need_lc='no'
10843 hardcode_libdir_separator=:
10847 no_undefined_flag=' -z defs'
10848 if test yes = "$GCC"; then
10850 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10851 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10852 $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'
10854 case `$CC -V 2>&1` in
10857 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10858 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10859 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10863 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10864 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10865 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10869 hardcode_libdir_flag_spec='-R$libdir'
10870 hardcode_shlibpath_var=no
10872 solaris2.[0-5] | solaris2.[0-5].*) ;;
10874 # The compiler driver will combine and reorder linker options,
10875 # but understands '-z linker_flag'. GCC discards it without '$wl',
10876 # but is careful enough not to reorder.
10877 # Supported since Solaris 2.6 (maybe 2.5.1?)
10878 if test yes = "$GCC"; then
10879 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10881 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10885 link_all_deplibs=yes
10889 if test sequent = "$host_vendor"; then
10890 # Use $CC to link under sequent, because it throws in some extra .o
10891 # files that make .init and .fini sections work.
10892 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10894 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10896 hardcode_libdir_flag_spec='-L$libdir'
10897 hardcode_direct=yes
10898 hardcode_minus_L=yes
10899 hardcode_shlibpath_var=no
10903 case $host_vendor in
10905 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10906 hardcode_direct=yes # is this really true???
10909 ## LD is ld it makes a PLAMLIB
10910 ## CC just makes a GrossModule.
10911 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10912 reload_cmds='$CC -r -o $output$reload_objs'
10916 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10917 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10920 runpath_var='LD_RUN_PATH'
10921 hardcode_shlibpath_var=no
10925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10926 hardcode_shlibpath_var=no
10927 export_dynamic_flag_spec='-Bexport'
10931 if test -d /usr/nec; then
10932 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10933 hardcode_shlibpath_var=no
10934 runpath_var=LD_RUN_PATH
10935 hardcode_runpath_var=yes
10940 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10941 no_undefined_flag='$wl-z,text'
10942 archive_cmds_need_lc=no
10943 hardcode_shlibpath_var=no
10944 runpath_var='LD_RUN_PATH'
10946 if test yes = "$GCC"; then
10947 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10948 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10951 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10955 sysv5* | sco3.2v5* | sco5v6*)
10956 # Note: We CANNOT use -z defs as we might desire, because we do not
10957 # link with -lc, and that would cause any symbols used from libc to
10958 # always be unresolved, which means just about no library would
10959 # ever link correctly. If we're not using GNU ld we use -z text
10960 # though, which does catch some bad symbols but isn't as heavy-handed
10962 no_undefined_flag='$wl-z,text'
10963 allow_undefined_flag='$wl-z,nodefs'
10964 archive_cmds_need_lc=no
10965 hardcode_shlibpath_var=no
10966 hardcode_libdir_flag_spec='$wl-R,$libdir'
10967 hardcode_libdir_separator=':'
10968 link_all_deplibs=yes
10969 export_dynamic_flag_spec='$wl-Bexport'
10970 runpath_var='LD_RUN_PATH'
10972 if test yes = "$GCC"; then
10973 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10974 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10976 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10977 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10982 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10983 hardcode_libdir_flag_spec='-L$libdir'
10984 hardcode_shlibpath_var=no
10992 if test sni = "$host_vendor"; then
10994 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10995 export_dynamic_flag_spec='$wl-Blargedynsym'
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11002 $as_echo "$ld_shlibs" >&6; }
11003 test no = "$ld_shlibs" && can_build_shared=no
11005 with_gnu_ld=$with_gnu_ld
11022 # Do we need to explicitly link libc?
11024 case "x$archive_cmds_need_lc" in
11026 # Assume -lc should be added
11027 archive_cmds_need_lc=yes
11029 if test yes,yes = "$GCC,$enable_shared"; then
11030 case $archive_cmds in
11032 # FIXME: we may have to deal with multi-command sequences.
11035 # Test whether the compiler implicitly links with -lc since on some
11036 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11037 # to ld, don't add -lc before -lgcc.
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11039 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11040 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11041 $as_echo_n "(cached) " >&6
11044 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11047 (eval $ac_compile) 2>&5
11049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11050 test $ac_status = 0; } 2>conftest.err; then
11053 libobjs=conftest.$ac_objext
11055 wl=$lt_prog_compiler_wl
11056 pic_flag=$lt_prog_compiler_pic
11062 lt_save_allow_undefined_flag=$allow_undefined_flag
11063 allow_undefined_flag=
11064 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11065 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11068 test $ac_status = 0; }
11070 lt_cv_archive_cmds_need_lc=no
11072 lt_cv_archive_cmds_need_lc=yes
11074 allow_undefined_flag=$lt_save_allow_undefined_flag
11076 cat conftest.err 1>&5
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11082 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11083 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11242 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11244 if test yes = "$GCC"; then
11246 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11247 *) lt_awk_arg='/^libraries:/' ;;
11250 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11251 *) lt_sed_strip_eq='s|=/|/|g' ;;
11253 lt_search_path_spec=`$CC -print-search-dirs |
awk $lt_awk_arg |
$SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11254 case $lt_search_path_spec in
11256 # if the path contains ";" then we assume it to be the separator
11257 # otherwise default to the standard path separator (i.e. ":") - it is
11258 # assumed that no part of a normal pathname contains ";" but that should
11259 # okay in the real world where ";" in dirpaths is itself problematic.
11260 lt_search_path_spec=`$ECHO "$lt_search_path_spec" |
$SED 's/;/ /g'`
11263 lt_search_path_spec=`$ECHO "$lt_search_path_spec" |
$SED "s/$PATH_SEPARATOR/ /g"`
11266 # Ok, now we have the path, separated by spaces, we can step through it
11267 # and add multilib dir if necessary...
11268 lt_tmp_lt_search_path_spec=
11269 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev
/null
`
11270 # ...but if some path component already ends with the multilib dir we assume
11271 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11272 case "$lt_multi_os_dir; $lt_search_path_spec " in
11273 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11277 for lt_sys_path in $lt_search_path_spec; do
11278 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11279 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11280 elif test -n "$lt_multi_os_dir"; then
11281 test -d "$lt_sys_path" && \
11282 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11285 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" |
awk '
11286 BEGIN {RS = " "; FS = "/|\n";} {
11289 for (lt_i = NF; lt_i > 0; lt_i--) {
11290 if ($lt_i != "" && $lt_i != ".") {
11291 if ($lt_i == "..") {
11294 if (lt_count == 0) {
11295 lt_foo = "/" $lt_i lt_foo;
11302 if (lt_foo != "") { lt_freq[lt_foo]++; }
11303 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11305 # AWK program above erroneously prepends '/' to C:/dos/paths
11308 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11309 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11311 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" |
$lt_NL2SP`
11313 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11315 library_names_spec=
11316 libname_spec='lib$name'
11320 postuninstall_cmds=
11324 shlibpath_overrides_runpath=unknown
11326 dynamic_linker="$host_os ld.so"
11327 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11328 need_lib_prefix=unknown
11329 hardcode_into_libs=no
11331 # when you set need_version to no, make sure it does not cause -set_version
11332 # flags to be left without arguments
11333 need_version=unknown
11337 version_type=linux # correct to gnu/linux during the next big refactor
11338 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11339 shlibpath_var=LIBPATH
11341 # AIX 3 has no versioning support, so we append a major version to the name.
11342 soname_spec='$libname$release$shared_ext$major'
11346 version_type=linux # correct to gnu/linux during the next big refactor
11349 hardcode_into_libs=yes
11350 if test ia64 = "$host_cpu"; then
11351 # AIX 5 supports IA64
11352 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11353 shlibpath_var=LD_LIBRARY_PATH
11355 # With GCC up to 2.95.x, collect2 would create an import file
11356 # for dependence libraries. The import file would start with
11357 # the line '#! .'. This would cause the generated library to
11358 # depend on '.', always an invalid library. This was fixed in
11359 # development snapshots of GCC prior to 3.0.
11361 aix4 | aix4.[01] | aix4.[01].*)
11362 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11364 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11367 can_build_shared=no
11371 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11372 # soname into executable. Probably we can add versioning support to
11373 # collect2, so additional links can be useful in future.
11374 if test yes = "$aix_use_runtimelinking"; then
11375 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11376 # instead of lib<name>.a to let people know that these are not
11377 # typical AIX shared libraries.
11378 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11380 # We preserve .a as extension for shared libraries through AIX4.2
11381 # and later when we are not doing run time linking.
11382 library_names_spec='$libname$release.a $libname.a'
11383 soname_spec='$libname$release$shared_ext$major'
11385 shlibpath_var=LIBPATH
11392 # Since July 2007 AmigaOS4 officially supports .so libraries.
11393 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11394 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11397 library_names_spec='$libname.ixlibrary $libname.a'
11398 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11399 finish_eval='for lib in `ls $libdir/*.ixlibrary
2>/dev
/null
`; do libname=`func_echo_all
"$lib" |
$SED '\''s
%^.
*/\
([^
/]*\
)\.ixlibrary$
%\
1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11405 library_names_spec='$libname$shared_ext'
11406 dynamic_linker="$host_os ld.so"
11407 shlibpath_var=LIBRARY_PATH
11411 version_type=linux # correct to gnu/linux during the next big refactor
11413 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11414 soname_spec='$libname$release$shared_ext$major'
11415 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11416 shlibpath_var=LD_LIBRARY_PATH
11417 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11418 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11419 # the default ld.so.conf also contains /usr/contrib/lib and
11420 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11421 # libtool to hard-code these into programs
11424 cygwin* | mingw* | pw32* | cegcc*)
11425 version_type=windows
11430 case $GCC,$cc_basename in
11433 library_names_spec='$libname.dll.a'
11434 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11435 postinstall_cmds='base_file=`basename \
$file`~
11436 dlpath=`$SHELL 2>&1 -c '\''.
$dir/'\''\
$base_file'\''i
; echo \
$dlname'\''`~
11437 dldir=$destdir/`dirname \
$dlpath`~
11438 test -d \$dldir || mkdir -p \$dldir~
11439 $install_prog $dir/$dlname \$dldir/$dlname~
11440 chmod a+x \$dldir/$dlname~
11441 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11442 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11444 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''.
$file; echo \
$dlname'\''`~
11445 dlpath=$dir/\$dldll~
11447 shlibpath_overrides_runpath=yes
11451 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11452 soname_spec='`echo $libname |
sed -e 's/^lib/cyg/'``echo $release |
$SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11454 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11457 # MinGW DLLs use traditional 'lib' prefix
11458 soname_spec='$libname`echo $release |
$SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11461 # pw32 DLLs use 'pw' prefix rather than 'lib'
11462 library_names_spec='`echo $libname |
sed -e 's/^lib/pw/'``echo $release |
$SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11465 dynamic_linker='Win32 ld.exe'
11470 libname_spec='$name'
11471 soname_spec='$libname`echo $release |
$SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11472 library_names_spec='$libname.dll.lib'
11476 sys_lib_search_path_spec=
11479 for lt_path in $LIB
11482 # Let DOS variable expansion print the short 8.3 style file name.
11483 lt_path=`cd "$lt_path" 2>/dev
/null
&& cmd
//C
"for %i in (".
") do @echo %~si"`
11484 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11487 # Convert to MSYS style.
11488 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" |
sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11491 # Convert to unix form, then to dos form, then back to unix form
11492 # but this time dos style (no spaces!) so that the unix form looks
11493 # like /cygdrive/c/PROGRA~1:/cygdr...
11494 sys_lib_search_path_spec=`cygpath
--path --unix "$LIB"`
11495 sys_lib_search_path_spec=`cygpath
--path --dos "$sys_lib_search_path_spec" 2>/dev
/null
`
11496 sys_lib_search_path_spec=`cygpath
--path --unix "$sys_lib_search_path_spec" |
$SED -e "s/$PATH_SEPARATOR/ /g"`
11499 sys_lib_search_path_spec=$LIB
11500 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11501 # It is most probably a Windows format PATH.
11502 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" |
$SED -e 's/;/ /g'`
11504 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" |
$SED -e "s/$PATH_SEPARATOR/ /g"`
11506 # FIXME: find the short name or the path components, as spaces are
11507 # common. (e.g. "Program Files" -> "PROGRA~1")
11511 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11512 postinstall_cmds='base_file=`basename \
$file`~
11513 dlpath=`$SHELL 2>&1 -c '\''.
$dir/'\''\
$base_file'\''i
; echo \
$dlname'\''`~
11514 dldir=$destdir/`dirname \
$dlpath`~
11515 test -d \$dldir || mkdir -p \$dldir~
11516 $install_prog $dir/$dlname \$dldir/$dlname'
11517 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''.
$file; echo \
$dlname'\''`~
11518 dlpath=$dir/\$dldll~
11520 shlibpath_overrides_runpath=yes
11521 dynamic_linker='Win32 link.exe'
11525 # Assume MSVC wrapper
11526 library_names_spec='$libname`echo $release |
$SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11527 dynamic_linker='Win32 ld.exe'
11530 # FIXME: first we should search . and the directory the executable is in
11534 darwin* | rhapsody*)
11535 dynamic_linker="$host_os dyld"
11536 version_type=darwin
11539 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11540 soname_spec='$libname$release$major$shared_ext'
11541 shlibpath_overrides_runpath=yes
11542 shlibpath_var=DYLD_LIBRARY_PATH
11543 shrext_cmds='`test .
$module = .
yes && echo .so ||
echo .dylib
`'
11545 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11546 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11550 version_type=linux # correct to gnu/linux during the next big refactor
11553 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11554 soname_spec='$libname$release$shared_ext$major'
11555 shlibpath_var=LD_LIBRARY_PATH
11558 freebsd* | dragonfly*)
11559 # DragonFly does not have aout. When/if they implement a new
11560 # versioning mechanism, adjust this.
11561 if test -x /usr/bin/objformat; then
11562 objformat=`/usr
/bin
/objformat
`
11565 freebsd[23].*) objformat=aout ;;
11566 *) objformat=elf ;;
11569 version_type=freebsd-$objformat
11570 case $version_type in
11572 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11577 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11581 shlibpath_var=LD_LIBRARY_PATH
11584 shlibpath_overrides_runpath=yes
11586 freebsd3.[01]* | freebsdelf3.[01]*)
11587 shlibpath_overrides_runpath=yes
11588 hardcode_into_libs=yes
11590 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11591 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11592 shlibpath_overrides_runpath=no
11593 hardcode_into_libs=yes
11595 *) # from 4.6 on, and DragonFly
11596 shlibpath_overrides_runpath=yes
11597 hardcode_into_libs=yes
11603 version_type=linux # correct to gnu/linux during the next big refactor
11606 dynamic_linker="$host_os runtime_loader"
11607 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11608 soname_spec='$libname$release$shared_ext$major'
11609 shlibpath_var=LIBRARY_PATH
11610 shlibpath_overrides_runpath=no
11611 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11612 hardcode_into_libs=yes
11615 hpux9* | hpux10* | hpux11*)
11616 # Give a soname corresponding to the major version so that dld.sl refuses to
11617 # link against other versions.
11624 hardcode_into_libs=yes
11625 dynamic_linker="$host_os dld.so"
11626 shlibpath_var=LD_LIBRARY_PATH
11627 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11628 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11629 soname_spec='$libname$release$shared_ext$major'
11630 if test 32 = "$HPUX_IA64_MODE"; then
11631 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11633 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11635 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11639 hardcode_into_libs=yes
11640 dynamic_linker="$host_os dld.sl"
11641 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11642 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11643 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11644 soname_spec='$libname$release$shared_ext$major'
11645 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11646 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11650 dynamic_linker="$host_os dld.sl"
11651 shlibpath_var=SHLIB_PATH
11652 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11653 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11654 soname_spec='$libname$release$shared_ext$major'
11657 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11658 postinstall_cmds='chmod 555 $lib'
11659 # or fails outright, so override atomically:
11660 install_override_mode=555
11664 version_type=linux # correct to gnu/linux during the next big refactor
11667 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11668 soname_spec='$libname$release$shared_ext$major'
11669 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11670 shlibpath_var=LD_LIBRARY_PATH
11671 shlibpath_overrides_runpath=no
11672 hardcode_into_libs=yes
11675 irix5* | irix6* | nonstopux*)
11677 nonstopux*) version_type=nonstopux ;;
11679 if test yes = "$lt_cv_prog_gnu_ld"; then
11680 version_type=linux # correct to gnu/linux during the next big refactor
11687 soname_spec='$libname$release$shared_ext$major'
11688 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11690 irix5* | nonstopux*)
11691 libsuff= shlibsuff=
11694 case $LD in # libtool.m4 will add one of these switches to LD
11695 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11696 libsuff= shlibsuff= libmagic=32-bit;;
11697 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11698 libsuff=32 shlibsuff=N32 libmagic=N32;;
11699 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11700 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11701 *) libsuff= shlibsuff= libmagic=never-match;;
11705 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11706 shlibpath_overrides_runpath=no
11707 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11708 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11709 hardcode_into_libs=yes
11712 # No shared lib support for Linux oldld, aout, or coff.
11713 linux*oldld* | linux*aout* | linux*coff*)
11718 version_type=none # Android doesn't support versioned libraries.
11721 library_names_spec='$libname$release$shared_ext'
11722 soname_spec='$libname$release$shared_ext'
11724 shlibpath_var=LD_LIBRARY_PATH
11725 shlibpath_overrides_runpath=yes
11727 # This implies no fast_install, which is unacceptable.
11728 # Some rework will be needed to allow for fast_install
11729 # before this can be enabled.
11730 hardcode_into_libs=yes
11732 dynamic_linker='Android linker'
11733 # Don't embed -rpath directories since the linker doesn't support them.
11734 hardcode_libdir_flag_spec='-L$libdir'
11737 # This must be glibc/ELF.
11738 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11739 version_type=linux # correct to gnu/linux during the next big refactor
11742 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11743 soname_spec='$libname$release$shared_ext$major'
11744 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11745 shlibpath_var=LD_LIBRARY_PATH
11746 shlibpath_overrides_runpath=no
11748 # Some binutils ld are patched to set DT_RUNPATH
11749 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11750 $as_echo_n "(cached) " >&6
11752 lt_cv_shlibpath_overrides_runpath=no
11753 save_LDFLAGS=$LDFLAGS
11754 save_libdir=$libdir
11755 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11756 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11768 if ac_fn_c_try_link "$LINENO"; then :
11769 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11770 lt_cv_shlibpath_overrides_runpath=yes
11773 rm -f core conftest.err conftest.$ac_objext \
11774 conftest$ac_exeext conftest.$ac_ext
11775 LDFLAGS=$save_LDFLAGS
11776 libdir=$save_libdir
11780 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11782 # This implies no fast_install, which is unacceptable.
11783 # Some rework will be needed to allow for fast_install
11784 # before this can be enabled.
11785 hardcode_into_libs=yes
11787 # Add ABI-specific directories to the system library path.
11788 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11790 # Append ld.so.conf contents to the search path
11791 if test -f /etc/ld.so.conf; then
11792 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' ' '`
11793 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11797 # We used to test for /lib/ld.so.1 and disable shared libraries on
11798 # powerpc, because MkLinux only supported shared libraries with the
11799 # GNU dynamic linker. Since this was broken with cross compilers,
11800 # most powerpc-linux boxes support dynamic linking these days and
11801 # people can always --disable-shared, the test was removed, and we
11802 # assume the GNU/Linux dynamic linker is in use.
11803 dynamic_linker='GNU/Linux ld.so'
11810 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11811 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11812 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11813 dynamic_linker='NetBSD (a.out) ld.so'
11815 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11816 soname_spec='$libname$release$shared_ext$major'
11817 dynamic_linker='NetBSD ld.elf_so'
11819 shlibpath_var=LD_LIBRARY_PATH
11820 shlibpath_overrides_runpath=yes
11821 hardcode_into_libs=yes
11825 version_type=linux # correct to gnu/linux during the next big refactor
11826 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11827 shlibpath_var=LD_LIBRARY_PATH
11828 shlibpath_overrides_runpath=yes
11835 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11836 soname_spec='$libname$release$shared_ext$major'
11837 shlibpath_var=LD_LIBRARY_PATH
11838 shlibpath_overrides_runpath=no
11839 hardcode_into_libs=yes
11840 dynamic_linker='ldqnx.so'
11843 openbsd* | bitrig*)
11845 sys_lib_dlsearch_path_spec=/usr/lib
11847 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`"; then
11852 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11853 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11854 shlibpath_var=LD_LIBRARY_PATH
11855 shlibpath_overrides_runpath=yes
11859 libname_spec='$name'
11862 library_names_spec='$libname$shared_ext $libname.a'
11863 dynamic_linker='OS/2 ld.exe'
11864 shlibpath_var=LIBPATH
11867 osf3* | osf4* | osf5*)
11871 soname_spec='$libname$release$shared_ext$major'
11872 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11873 shlibpath_var=LD_LIBRARY_PATH
11874 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11875 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11883 version_type=linux # correct to gnu/linux during the next big refactor
11886 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11887 soname_spec='$libname$release$shared_ext$major'
11888 shlibpath_var=LD_LIBRARY_PATH
11889 shlibpath_overrides_runpath=yes
11890 hardcode_into_libs=yes
11891 # ldd complains unless libraries are executable
11892 postinstall_cmds='chmod +x $lib'
11897 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11898 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11899 shlibpath_var=LD_LIBRARY_PATH
11900 shlibpath_overrides_runpath=yes
11901 if test yes = "$with_gnu_ld"; then
11908 version_type=linux # correct to gnu/linux during the next big refactor
11909 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11910 soname_spec='$libname$release$shared_ext$major'
11911 shlibpath_var=LD_LIBRARY_PATH
11912 case $host_vendor in
11914 shlibpath_overrides_runpath=no
11916 runpath_var=LD_RUN_PATH
11924 shlibpath_overrides_runpath=no
11925 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11931 if test -d /usr/nec; then
11932 version_type=linux # correct to gnu/linux during the next big refactor
11933 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11934 soname_spec='$libname$shared_ext.$major'
11935 shlibpath_var=LD_LIBRARY_PATH
11939 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11940 version_type=freebsd-elf
11943 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11944 soname_spec='$libname$release$shared_ext$major'
11945 shlibpath_var=LD_LIBRARY_PATH
11946 shlibpath_overrides_runpath=yes
11947 hardcode_into_libs=yes
11948 if test yes = "$with_gnu_ld"; then
11949 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11951 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11954 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11958 sys_lib_dlsearch_path_spec='/usr/lib'
11962 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11963 version_type=linux # correct to gnu/linux during the next big refactor
11966 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11967 shlibpath_var=LD_LIBRARY_PATH
11968 shlibpath_overrides_runpath=no
11969 hardcode_into_libs=yes
11973 version_type=linux # correct to gnu/linux during the next big refactor
11974 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11975 soname_spec='$libname$release$shared_ext$major'
11976 shlibpath_var=LD_LIBRARY_PATH
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11984 $as_echo "$dynamic_linker" >&6; }
11985 test no = "$dynamic_linker" && can_build_shared=no
11987 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11988 if test yes = "$GCC"; then
11989 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11992 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11993 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11995 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11996 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12091 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12093 if test -n "$hardcode_libdir_flag_spec" ||
12094 test -n "$runpath_var" ||
12095 test yes = "$hardcode_automatic"; then
12097 # We can hardcode non-existent directories.
12098 if test no != "$hardcode_direct" &&
12099 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12100 # have to relink, otherwise we might link with an installed library
12101 # when we should be linking with a yet-to-be-installed one
12102 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12103 test no != "$hardcode_minus_L"; then
12104 # Linking always hardcodes the temporary library directory.
12105 hardcode_action=relink
12107 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12108 hardcode_action=immediate
12111 # We cannot hardcode anything, or else we can only hardcode existing
12113 hardcode_action=unsupported
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12116 $as_echo "$hardcode_action" >&6; }
12118 if test relink = "$hardcode_action" ||
12119 test yes = "$inherit_rpath"; then
12120 # Fast installation is not supported
12121 enable_fast_install=no
12122 elif test yes = "$shlibpath_overrides_runpath" ||
12123 test no = "$enable_shared"; then
12124 # Fast installation is not necessary
12125 enable_fast_install=needless
12133 if test yes != "$enable_dlopen"; then
12134 enable_dlopen=unknown
12135 enable_dlopen_self=unknown
12136 enable_dlopen_self_static=unknown
12143 lt_cv_dlopen=load_add_on
12145 lt_cv_dlopen_self=yes
12148 mingw* | pw32* | cegcc*)
12149 lt_cv_dlopen=LoadLibrary
12154 lt_cv_dlopen=dlopen
12159 # if libdl is installed we need to link against it
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12161 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12162 if ${ac_cv_lib_dl_dlopen+:} false; then :
12163 $as_echo_n "(cached) " >&6
12165 ac_check_lib_save_LIBS=$LIBS
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12185 if ac_fn_c_try_link "$LINENO"; then :
12186 ac_cv_lib_dl_dlopen=yes
12188 ac_cv_lib_dl_dlopen=no
12190 rm -f core conftest.err conftest.$ac_objext \
12191 conftest$ac_exeext conftest.$ac_ext
12192 LIBS=$ac_check_lib_save_LIBS
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12195 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12196 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12197 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12202 lt_cv_dlopen_self=yes
12209 # Don't try to run any link tests for TPF. We know it's impossible
12210 # because TPF is a cross-compiler, and we know how we open DSOs.
12211 lt_cv_dlopen=dlopen
12213 lt_cv_dlopen_self=no
12217 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12218 if test "x$ac_cv_func_shl_load" = xyes; then :
12219 lt_cv_dlopen=shl_load
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12222 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12223 if ${ac_cv_lib_dld_shl_load+:} false; then :
12224 $as_echo_n "(cached) " >&6
12226 ac_check_lib_save_LIBS=$LIBS
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12241 return shl_load ();
12246 if ac_fn_c_try_link "$LINENO"; then :
12247 ac_cv_lib_dld_shl_load=yes
12249 ac_cv_lib_dld_shl_load=no
12251 rm -f core conftest.err conftest.$ac_objext \
12252 conftest$ac_exeext conftest.$ac_ext
12253 LIBS=$ac_check_lib_save_LIBS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12256 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12257 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12258 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12260 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12261 if test "x$ac_cv_func_dlopen" = xyes; then :
12262 lt_cv_dlopen=dlopen
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12265 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12266 if ${ac_cv_lib_dl_dlopen+:} false; then :
12267 $as_echo_n "(cached) " >&6
12269 ac_check_lib_save_LIBS=$LIBS
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12274 /* Override any GCC internal prototype to avoid an error.
12275 Use char because int might match the return type of a GCC
12276 builtin and then its argument prototype would still apply. */
12289 if ac_fn_c_try_link "$LINENO"; then :
12290 ac_cv_lib_dl_dlopen=yes
12292 ac_cv_lib_dl_dlopen=no
12294 rm -f core conftest.err conftest.$ac_objext \
12295 conftest$ac_exeext conftest.$ac_ext
12296 LIBS=$ac_check_lib_save_LIBS
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12299 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12300 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12301 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12304 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12305 if ${ac_cv_lib_svld_dlopen+:} false; then :
12306 $as_echo_n "(cached) " >&6
12308 ac_check_lib_save_LIBS=$LIBS
12309 LIBS="-lsvld $LIBS"
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12328 if ac_fn_c_try_link "$LINENO"; then :
12329 ac_cv_lib_svld_dlopen=yes
12331 ac_cv_lib_svld_dlopen=no
12333 rm -f core conftest.err conftest.$ac_objext \
12334 conftest$ac_exeext conftest.$ac_ext
12335 LIBS=$ac_check_lib_save_LIBS
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12338 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12339 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12340 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12343 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12344 if ${ac_cv_lib_dld_dld_link+:} false; then :
12345 $as_echo_n "(cached) " >&6
12347 ac_check_lib_save_LIBS=$LIBS
12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12352 /* Override any GCC internal prototype to avoid an error.
12353 Use char because int might match the return type of a GCC
12354 builtin and then its argument prototype would still apply. */
12362 return dld_link ();
12367 if ac_fn_c_try_link "$LINENO"; then :
12368 ac_cv_lib_dld_dld_link=yes
12370 ac_cv_lib_dld_dld_link=no
12372 rm -f core conftest.err conftest.$ac_objext \
12373 conftest$ac_exeext conftest.$ac_ext
12374 LIBS=$ac_check_lib_save_LIBS
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12377 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12378 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12379 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12400 if test no = "$lt_cv_dlopen"; then
12406 case $lt_cv_dlopen in
12408 save_CPPFLAGS=$CPPFLAGS
12409 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12411 save_LDFLAGS=$LDFLAGS
12412 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12415 LIBS="$lt_cv_dlopen_libs $LIBS"
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12418 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12419 if ${lt_cv_dlopen_self+:} false; then :
12420 $as_echo_n "(cached) " >&6
12422 if test yes = "$cross_compiling"; then :
12423 lt_cv_dlopen_self=cross
12425 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12426 lt_status=$lt_dlunknown
12427 cat > conftest.$ac_ext <<_LT_EOF
12428 #line $LINENO "configure"
12429 #include "confdefs.h"
12438 # define LT_DLGLOBAL RTLD_GLOBAL
12441 # define LT_DLGLOBAL DL_GLOBAL
12443 # define LT_DLGLOBAL 0
12447 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12448 find out it does not work in some platform. */
12449 #ifndef LT_DLLAZY_OR_NOW
12451 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12454 # define LT_DLLAZY_OR_NOW DL_LAZY
12457 # define LT_DLLAZY_OR_NOW RTLD_NOW
12460 # define LT_DLLAZY_OR_NOW DL_NOW
12462 # define LT_DLLAZY_OR_NOW 0
12469 /* When -fvisbility=hidden is used, assume the code has been annotated
12470 correspondingly for the symbols needed. */
12471 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12472 int fnord () __attribute__((visibility("default")));
12475 int fnord () { return 42; }
12478 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12479 int status = $lt_dlunknown;
12483 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12486 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12487 else puts (dlerror ());
12489 /* dlclose (self); */
12497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12498 (eval $ac_link) 2>&5
12500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12501 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12502 (./conftest; exit; ) >&5 2>/dev/null
12504 case x$lt_status in
12505 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12506 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12507 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12510 # compilation failed
12511 lt_cv_dlopen_self=no
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12519 $as_echo "$lt_cv_dlopen_self" >&6; }
12521 if test yes = "$lt_cv_dlopen_self"; then
12522 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12524 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12525 if ${lt_cv_dlopen_self_static+:} false; then :
12526 $as_echo_n "(cached) " >&6
12528 if test yes = "$cross_compiling"; then :
12529 lt_cv_dlopen_self_static=cross
12531 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12532 lt_status=$lt_dlunknown
12533 cat > conftest.$ac_ext <<_LT_EOF
12534 #line $LINENO "configure"
12535 #include "confdefs.h"
12544 # define LT_DLGLOBAL RTLD_GLOBAL
12547 # define LT_DLGLOBAL DL_GLOBAL
12549 # define LT_DLGLOBAL 0
12553 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12554 find out it does not work in some platform. */
12555 #ifndef LT_DLLAZY_OR_NOW
12557 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12560 # define LT_DLLAZY_OR_NOW DL_LAZY
12563 # define LT_DLLAZY_OR_NOW RTLD_NOW
12566 # define LT_DLLAZY_OR_NOW DL_NOW
12568 # define LT_DLLAZY_OR_NOW 0
12575 /* When -fvisbility=hidden is used, assume the code has been annotated
12576 correspondingly for the symbols needed. */
12577 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12578 int fnord () __attribute__((visibility("default")));
12581 int fnord () { return 42; }
12584 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12585 int status = $lt_dlunknown;
12589 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12592 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12593 else puts (dlerror ());
12595 /* dlclose (self); */
12603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12604 (eval $ac_link) 2>&5
12606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12607 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12608 (./conftest; exit; ) >&5 2>/dev/null
12610 case x$lt_status in
12611 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12612 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12613 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12616 # compilation failed
12617 lt_cv_dlopen_self_static=no
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12625 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12628 CPPFLAGS=$save_CPPFLAGS
12629 LDFLAGS=$save_LDFLAGS
12634 case $lt_cv_dlopen_self in
12635 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12636 *) enable_dlopen_self=unknown ;;
12639 case $lt_cv_dlopen_self_static in
12640 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12641 *) enable_dlopen_self_static=unknown ;;
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12664 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12665 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12666 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12667 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12669 $as_echo "yes" >&6; }
12671 # FIXME - insert some real tests, host_os isn't really good enough
12674 if test -n "$STRIP"; then
12675 striplib="$STRIP -x"
12676 old_striplib="$STRIP -S"
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12678 $as_echo "yes" >&6; }
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12681 $as_echo "no" >&6; }
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12686 $as_echo "no" >&6; }
12702 # Report what library types will actually be built
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12704 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12706 $as_echo "$can_build_shared" >&6; }
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12709 $as_echo_n "checking whether to build shared libraries... " >&6; }
12710 test no = "$can_build_shared" && enable_shared=no
12712 # On AIX, shared libraries and static libraries use the same namespace, and
12713 # are all built from PIC.
12716 test yes = "$enable_shared" && enable_static=no
12717 if test -n "$RANLIB"; then
12718 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12719 postinstall_cmds='$RANLIB $lib'
12724 if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
12725 test yes = "$enable_shared" && enable_static=no
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12730 $as_echo "$enable_shared" >&6; }
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12733 $as_echo_n "checking whether to build static libraries... " >&6; }
12734 # Make sure either enable_shared or enable_static is yes.
12735 test yes = "$enable_shared" || enable_static=yes
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12737 $as_echo "$enable_static" >&6; }
12744 ac_cpp='$CPP $CPPFLAGS'
12745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12765 ac_config_commands="$ac_config_commands libtool"
12770 # Only expand once:
12775 # /***********************************************************************
12776 # // Checks for header files
12777 # ************************************************************************/
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12781 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12782 if ${ac_cv_header_time+:} false; then :
12783 $as_echo_n "(cached) " >&6
12785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786 /* end confdefs.h. */
12787 #include <sys/types.h>
12788 #include <sys/time.h>
12794 if ((struct tm *) 0)
12800 if ac_fn_c_try_compile "$LINENO"; then :
12801 ac_cv_header_time=yes
12803 ac_cv_header_time=no
12805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12808 $as_echo "$ac_cv_header_time" >&6; }
12809 if test $ac_cv_header_time = yes; then
12811 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12815 for ac_header in assert.h ctype.h dirent.h errno.h fcntl.h float.h limits.h malloc.h memory.h setjmp.h signal.h stdarg.h stddef.h stdint.h stdio.h stdlib.h string.h strings.h time.h unistd.h utime.h sys/mman.h sys/resource.h sys/stat.h sys/time.h sys/types.h sys/wait.h
12817 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12818 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12819 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12820 cat >>confdefs.h <<_ACEOF
12821 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12829 if test "X$ac_cv_header_limits_h" != Xyes; then
12830 as_fn_error $? "<limits.h> header not found" "$LINENO" 5
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h is sane" >&5
12834 $as_echo_n "checking whether limits.h is sane... " >&6; }
12835 if ${mfx_cv_header_sane_limits_h+:} false; then :
12836 $as_echo_n "(cached) " >&6
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12840 #include <limits.h>
12841 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
12842 # if defined(__APPLE__) && defined(__GNUC__)
12843 # error "your preprocessor is broken - use compiler option -no-cpp-precomp"
12845 # include "your preprocessor is broken"
12848 #define MFX_0xffff 0xffff
12849 #define MFX_0xffffffffL 4294967295ul
12850 #if !defined(CHAR_BIT) || (CHAR_BIT != 8)
12851 # include "error CHAR_BIT"
12853 #if !defined(UCHAR_MAX)
12854 # include "error UCHAR_MAX 1"
12856 #if !defined(USHRT_MAX)
12857 # include "error USHRT_MAX 1"
12859 #if !defined(UINT_MAX)
12860 # include "error UINT_MAX 1"
12862 #if !defined(ULONG_MAX)
12863 # include "error ULONG_MAX 1"
12865 #if !defined(SHRT_MAX)
12866 # include "error SHRT_MAX 1"
12868 #if !defined(INT_MAX)
12869 # include "error INT_MAX 1"
12871 #if !defined(LONG_MAX)
12872 # include "error LONG_MAX 1"
12874 #if (UCHAR_MAX < 1)
12875 # include "error UCHAR_MAX 2"
12877 #if (USHRT_MAX < 1)
12878 # include "error USHRT_MAX 2"
12881 # include "error UINT_MAX 2"
12883 #if (ULONG_MAX < 1)
12884 # include "error ULONG_MAX 2"
12886 #if (UCHAR_MAX < 0xff)
12887 # include "error UCHAR_MAX 3"
12889 #if (USHRT_MAX < MFX_0xffff)
12890 # include "error USHRT_MAX 3"
12892 #if (UINT_MAX < MFX_0xffff)
12893 # include "error UINT_MAX 3"
12895 #if (ULONG_MAX < MFX_0xffffffffL)
12896 # include "error ULONG_MAX 3"
12898 #if (USHRT_MAX > UINT_MAX)
12899 # include "error USHRT_MAX vs UINT_MAX"
12901 #if (UINT_MAX > ULONG_MAX)
12902 # include "error UINT_MAX vs ULONG_MAX"
12909 #if (USHRT_MAX == MFX_0xffff)
12910 { typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; }
12911 #elif (USHRT_MAX >= MFX_0xffff)
12912 { typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; }
12914 #if (UINT_MAX == MFX_0xffff)
12915 { typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; }
12916 #elif (UINT_MAX >= MFX_0xffff)
12917 { typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; }
12919 #if (ULONG_MAX == MFX_0xffff)
12920 { typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; }
12921 #elif (ULONG_MAX >= MFX_0xffff)
12922 { typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; }
12924 #if !defined(_CRAY1) /* CRAY PVP systems */
12925 #if (USHRT_MAX == MFX_0xffffffffL)
12926 { typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; }
12927 #elif (USHRT_MAX >= MFX_0xffffffffL)
12928 { typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; }
12930 #endif /* _CRAY1 */
12931 #if (UINT_MAX == MFX_0xffffffffL)
12932 { typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; }
12933 #elif (UINT_MAX >= MFX_0xffffffffL)
12934 { typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; }
12936 #if (ULONG_MAX == MFX_0xffffffffL)
12937 { typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; }
12938 #elif (ULONG_MAX >= MFX_0xffffffffL)
12939 { typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; }
12946 if ac_fn_c_try_compile "$LINENO"; then :
12947 mfx_cv_header_sane_limits_h=yes
12949 mfx_cv_header_sane_limits_h=no
12951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_cv_header_sane_limits_h" >&5
12954 $as_echo "$mfx_cv_header_sane_limits_h" >&6; }
12956 if test "X$mfx_cv_header_sane_limits_h" != Xyes; then
12957 as_fn_error $? "your <limits.h> header is broken - for details see config.log" "$LINENO" 5
12961 # /***********************************************************************
12962 # // Checks for typedefs and structures
12963 # ************************************************************************/
12965 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12966 if test "x$ac_cv_type_off_t" = xyes; then :
12970 cat >>confdefs.h <<_ACEOF
12971 #define off_t long int
12976 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
12977 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
12981 cat >>confdefs.h <<_ACEOF
12982 #define ptrdiff_t long
12987 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12988 if test "x$ac_cv_type_size_t" = xyes; then :
12992 cat >>confdefs.h <<_ACEOF
12993 #define size_t unsigned int
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12999 $as_echo_n "checking return type of signal handlers... " >&6; }
13000 if ${ac_cv_type_signal+:} false; then :
13001 $as_echo_n "(cached) " >&6
13003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13005 #include <sys/types.h>
13006 #include <signal.h>
13011 return *(signal (0, 0)) (0) == 1;
13016 if ac_fn_c_try_compile "$LINENO"; then :
13017 ac_cv_type_signal=int
13019 ac_cv_type_signal=void
13021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
13024 $as_echo "$ac_cv_type_signal" >&6; }
13026 cat >>confdefs.h <<_ACEOF
13027 #define RETSIGTYPE $ac_cv_type_signal
13033 # The cast to long int works around a bug in the HP C Compiler
13034 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13035 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
13036 # This bug is HP SR number 8606223364.
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13038 $as_echo_n "checking size of short... " >&6; }
13039 if ${ac_cv_sizeof_short+:} false; then :
13040 $as_echo_n "(cached) " >&6
13042 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13045 if test "$ac_cv_type_short" = yes; then
13046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13047 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
13048 as_fn_error 77 "cannot compute sizeof (short)
13049 See \`config.log
' for more details" "$LINENO" 5; }
13051 ac_cv_sizeof_short=0
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13057 $as_echo "$ac_cv_sizeof_short" >&6; }
13061 cat >>confdefs.h <<_ACEOF
13062 #define SIZEOF_SHORT $ac_cv_sizeof_short
13066 # The cast to long int works around a bug in the HP C Compiler
13067 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13068 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13069 # This bug is HP SR number 8606223364.
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13071 $as_echo_n "checking size of int... " >&6; }
13072 if ${ac_cv_sizeof_int+:} false
; then :
13073 $as_echo_n "(cached) " >&6
13075 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13078 if test "$ac_cv_type_int" = yes; then
13079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13081 as_fn_error
77 "cannot compute sizeof (int)
13082 See \`config.log' for more details" "$LINENO" 5; }
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13090 $as_echo "$ac_cv_sizeof_int" >&6; }
13094 cat >>confdefs.h
<<_ACEOF
13095 #define SIZEOF_INT $ac_cv_sizeof_int
13099 # The cast to long int works around a bug in the HP C Compiler
13100 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13101 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13102 # This bug is HP SR number 8606223364.
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13104 $as_echo_n "checking size of long... " >&6; }
13105 if ${ac_cv_sizeof_long+:} false
; then :
13106 $as_echo_n "(cached) " >&6
13108 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13111 if test "$ac_cv_type_long" = yes; then
13112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13114 as_fn_error
77 "cannot compute sizeof (long)
13115 See \`config.log' for more details" "$LINENO" 5; }
13117 ac_cv_sizeof_long
=0
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13123 $as_echo "$ac_cv_sizeof_long" >&6; }
13127 cat >>confdefs.h
<<_ACEOF
13128 #define SIZEOF_LONG $ac_cv_sizeof_long
13133 # The cast to long int works around a bug in the HP C Compiler
13134 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13135 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13136 # This bug is HP SR number 8606223364.
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
13138 $as_echo_n "checking size of long long... " >&6; }
13139 if ${ac_cv_sizeof_long_long+:} false
; then :
13140 $as_echo_n "(cached) " >&6
13142 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
13145 if test "$ac_cv_type_long_long" = yes; then
13146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13148 as_fn_error
77 "cannot compute sizeof (long long)
13149 See \`config.log' for more details" "$LINENO" 5; }
13151 ac_cv_sizeof_long_long
=0
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
13157 $as_echo "$ac_cv_sizeof_long_long" >&6; }
13161 cat >>confdefs.h
<<_ACEOF
13162 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13166 # The cast to long int works around a bug in the HP C Compiler
13167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13169 # This bug is HP SR number 8606223364.
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int16" >&5
13171 $as_echo_n "checking size of __int16... " >&6; }
13172 if ${ac_cv_sizeof___int16+:} false
; then :
13173 $as_echo_n "(cached) " >&6
13175 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int16))" "ac_cv_sizeof___int16" "$ac_includes_default"; then :
13178 if test "$ac_cv_type___int16" = yes; then
13179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13181 as_fn_error
77 "cannot compute sizeof (__int16)
13182 See \`config.log' for more details" "$LINENO" 5; }
13184 ac_cv_sizeof___int16
=0
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int16" >&5
13190 $as_echo "$ac_cv_sizeof___int16" >&6; }
13194 cat >>confdefs.h
<<_ACEOF
13195 #define SIZEOF___INT16 $ac_cv_sizeof___int16
13199 # The cast to long int works around a bug in the HP C Compiler
13200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13202 # This bug is HP SR number 8606223364.
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
13204 $as_echo_n "checking size of __int32... " >&6; }
13205 if ${ac_cv_sizeof___int32+:} false
; then :
13206 $as_echo_n "(cached) " >&6
13208 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
13211 if test "$ac_cv_type___int32" = yes; then
13212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13214 as_fn_error
77 "cannot compute sizeof (__int32)
13215 See \`config.log' for more details" "$LINENO" 5; }
13217 ac_cv_sizeof___int32
=0
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
13223 $as_echo "$ac_cv_sizeof___int32" >&6; }
13227 cat >>confdefs.h
<<_ACEOF
13228 #define SIZEOF___INT32 $ac_cv_sizeof___int32
13232 # The cast to long int works around a bug in the HP C Compiler
13233 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13234 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13235 # This bug is HP SR number 8606223364.
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
13237 $as_echo_n "checking size of __int64... " >&6; }
13238 if ${ac_cv_sizeof___int64+:} false
; then :
13239 $as_echo_n "(cached) " >&6
13241 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64" "$ac_includes_default"; then :
13244 if test "$ac_cv_type___int64" = yes; then
13245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13247 as_fn_error
77 "cannot compute sizeof (__int64)
13248 See \`config.log' for more details" "$LINENO" 5; }
13250 ac_cv_sizeof___int64
=0
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
13256 $as_echo "$ac_cv_sizeof___int64" >&6; }
13260 cat >>confdefs.h
<<_ACEOF
13261 #define SIZEOF___INT64 $ac_cv_sizeof___int64
13266 # The cast to long int works around a bug in the HP C Compiler
13267 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13268 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13269 # This bug is HP SR number 8606223364.
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13271 $as_echo_n "checking size of void *... " >&6; }
13272 if ${ac_cv_sizeof_void_p+:} false
; then :
13273 $as_echo_n "(cached) " >&6
13275 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13278 if test "$ac_cv_type_void_p" = yes; then
13279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13281 as_fn_error
77 "cannot compute sizeof (void *)
13282 See \`config.log' for more details" "$LINENO" 5; }
13284 ac_cv_sizeof_void_p
=0
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13290 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13294 cat >>confdefs.h
<<_ACEOF
13295 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13299 # The cast to long int works around a bug in the HP C Compiler
13300 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13301 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13302 # This bug is HP SR number 8606223364.
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
13304 $as_echo_n "checking size of size_t... " >&6; }
13305 if ${ac_cv_sizeof_size_t+:} false
; then :
13306 $as_echo_n "(cached) " >&6
13308 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
13311 if test "$ac_cv_type_size_t" = yes; then
13312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13314 as_fn_error
77 "cannot compute sizeof (size_t)
13315 See \`config.log' for more details" "$LINENO" 5; }
13317 ac_cv_sizeof_size_t
=0
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
13323 $as_echo "$ac_cv_sizeof_size_t" >&6; }
13327 cat >>confdefs.h
<<_ACEOF
13328 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
13332 # The cast to long int works around a bug in the HP C Compiler
13333 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13334 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13335 # This bug is HP SR number 8606223364.
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
13337 $as_echo_n "checking size of ptrdiff_t... " >&6; }
13338 if ${ac_cv_sizeof_ptrdiff_t+:} false
; then :
13339 $as_echo_n "(cached) " >&6
13341 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t" "$ac_includes_default"; then :
13344 if test "$ac_cv_type_ptrdiff_t" = yes; then
13345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13347 as_fn_error
77 "cannot compute sizeof (ptrdiff_t)
13348 See \`config.log' for more details" "$LINENO" 5; }
13350 ac_cv_sizeof_ptrdiff_t
=0
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
13356 $as_echo "$ac_cv_sizeof_ptrdiff_t" >&6; }
13360 cat >>confdefs.h
<<_ACEOF
13361 #define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
13367 # The cast to long int works around a bug in the HP C Compiler
13368 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13369 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13370 # This bug is HP SR number 8606223364.
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
13372 $as_echo_n "checking size of __int32... " >&6; }
13373 if ${ac_cv_sizeof___int32+:} false
; then :
13374 $as_echo_n "(cached) " >&6
13376 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
13379 if test "$ac_cv_type___int32" = yes; then
13380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13382 as_fn_error
77 "cannot compute sizeof (__int32)
13383 See \`config.log' for more details" "$LINENO" 5; }
13385 ac_cv_sizeof___int32
=0
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
13391 $as_echo "$ac_cv_sizeof___int32" >&6; }
13395 cat >>confdefs.h
<<_ACEOF
13396 #define SIZEOF___INT32 $ac_cv_sizeof___int32
13400 # The cast to long int works around a bug in the HP C Compiler
13401 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13402 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13403 # This bug is HP SR number 8606223364.
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5
13405 $as_echo_n "checking size of intmax_t... " >&6; }
13406 if ${ac_cv_sizeof_intmax_t+:} false
; then :
13407 $as_echo_n "(cached) " >&6
13409 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default"; then :
13412 if test "$ac_cv_type_intmax_t" = yes; then
13413 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13415 as_fn_error
77 "cannot compute sizeof (intmax_t)
13416 See \`config.log' for more details" "$LINENO" 5; }
13418 ac_cv_sizeof_intmax_t
=0
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5
13424 $as_echo "$ac_cv_sizeof_intmax_t" >&6; }
13428 cat >>confdefs.h
<<_ACEOF
13429 #define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
13433 # The cast to long int works around a bug in the HP C Compiler
13434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13436 # This bug is HP SR number 8606223364.
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintmax_t" >&5
13438 $as_echo_n "checking size of uintmax_t... " >&6; }
13439 if ${ac_cv_sizeof_uintmax_t+:} false
; then :
13440 $as_echo_n "(cached) " >&6
13442 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (uintmax_t))" "ac_cv_sizeof_uintmax_t" "$ac_includes_default"; then :
13445 if test "$ac_cv_type_uintmax_t" = yes; then
13446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13448 as_fn_error
77 "cannot compute sizeof (uintmax_t)
13449 See \`config.log' for more details" "$LINENO" 5; }
13451 ac_cv_sizeof_uintmax_t
=0
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintmax_t" >&5
13457 $as_echo "$ac_cv_sizeof_uintmax_t" >&6; }
13461 cat >>confdefs.h
<<_ACEOF
13462 #define SIZEOF_UINTMAX_T $ac_cv_sizeof_uintmax_t
13466 # The cast to long int works around a bug in the HP C Compiler
13467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13469 # This bug is HP SR number 8606223364.
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intptr_t" >&5
13471 $as_echo_n "checking size of intptr_t... " >&6; }
13472 if ${ac_cv_sizeof_intptr_t+:} false
; then :
13473 $as_echo_n "(cached) " >&6
13475 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (intptr_t))" "ac_cv_sizeof_intptr_t" "$ac_includes_default"; then :
13478 if test "$ac_cv_type_intptr_t" = yes; then
13479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13481 as_fn_error
77 "cannot compute sizeof (intptr_t)
13482 See \`config.log' for more details" "$LINENO" 5; }
13484 ac_cv_sizeof_intptr_t
=0
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intptr_t" >&5
13490 $as_echo "$ac_cv_sizeof_intptr_t" >&6; }
13494 cat >>confdefs.h
<<_ACEOF
13495 #define SIZEOF_INTPTR_T $ac_cv_sizeof_intptr_t
13499 # The cast to long int works around a bug in the HP C Compiler
13500 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13501 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13502 # This bug is HP SR number 8606223364.
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
13504 $as_echo_n "checking size of uintptr_t... " >&6; }
13505 if ${ac_cv_sizeof_uintptr_t+:} false
; then :
13506 $as_echo_n "(cached) " >&6
13508 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (uintptr_t))" "ac_cv_sizeof_uintptr_t" "$ac_includes_default"; then :
13511 if test "$ac_cv_type_uintptr_t" = yes; then
13512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13514 as_fn_error
77 "cannot compute sizeof (uintptr_t)
13515 See \`config.log' for more details" "$LINENO" 5; }
13517 ac_cv_sizeof_uintptr_t
=0
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
13523 $as_echo "$ac_cv_sizeof_uintptr_t" >&6; }
13527 cat >>confdefs.h
<<_ACEOF
13528 #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t
13533 # The cast to long int works around a bug in the HP C Compiler
13534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13536 # This bug is HP SR number 8606223364.
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
13538 $as_echo_n "checking size of float... " >&6; }
13539 if ${ac_cv_sizeof_float+:} false
; then :
13540 $as_echo_n "(cached) " >&6
13542 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
13545 if test "$ac_cv_type_float" = yes; then
13546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13548 as_fn_error
77 "cannot compute sizeof (float)
13549 See \`config.log' for more details" "$LINENO" 5; }
13551 ac_cv_sizeof_float
=0
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
13557 $as_echo "$ac_cv_sizeof_float" >&6; }
13561 cat >>confdefs.h
<<_ACEOF
13562 #define SIZEOF_FLOAT $ac_cv_sizeof_float
13566 # The cast to long int works around a bug in the HP C Compiler
13567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13569 # This bug is HP SR number 8606223364.
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
13571 $as_echo_n "checking size of double... " >&6; }
13572 if ${ac_cv_sizeof_double+:} false
; then :
13573 $as_echo_n "(cached) " >&6
13575 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
13578 if test "$ac_cv_type_double" = yes; then
13579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13581 as_fn_error
77 "cannot compute sizeof (double)
13582 See \`config.log' for more details" "$LINENO" 5; }
13584 ac_cv_sizeof_double
=0
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
13590 $as_echo "$ac_cv_sizeof_double" >&6; }
13594 cat >>confdefs.h
<<_ACEOF
13595 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
13599 # The cast to long int works around a bug in the HP C Compiler
13600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13601 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13602 # This bug is HP SR number 8606223364.
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
13604 $as_echo_n "checking size of long double... " >&6; }
13605 if ${ac_cv_sizeof_long_double+:} false
; then :
13606 $as_echo_n "(cached) " >&6
13608 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
13611 if test "$ac_cv_type_long_double" = yes; then
13612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13614 as_fn_error
77 "cannot compute sizeof (long double)
13615 See \`config.log' for more details" "$LINENO" 5; }
13617 ac_cv_sizeof_long_double
=0
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
13623 $as_echo "$ac_cv_sizeof_long_double" >&6; }
13627 cat >>confdefs.h
<<_ACEOF
13628 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
13633 # The cast to long int works around a bug in the HP C Compiler
13634 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13635 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13636 # This bug is HP SR number 8606223364.
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of dev_t" >&5
13638 $as_echo_n "checking size of dev_t... " >&6; }
13639 if ${ac_cv_sizeof_dev_t+:} false
; then :
13640 $as_echo_n "(cached) " >&6
13642 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (dev_t))" "ac_cv_sizeof_dev_t" "$ac_includes_default"; then :
13645 if test "$ac_cv_type_dev_t" = yes; then
13646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13648 as_fn_error
77 "cannot compute sizeof (dev_t)
13649 See \`config.log' for more details" "$LINENO" 5; }
13651 ac_cv_sizeof_dev_t
=0
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_dev_t" >&5
13657 $as_echo "$ac_cv_sizeof_dev_t" >&6; }
13661 cat >>confdefs.h
<<_ACEOF
13662 #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t
13666 # The cast to long int works around a bug in the HP C Compiler
13667 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13668 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13669 # This bug is HP SR number 8606223364.
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
13671 $as_echo_n "checking size of fpos_t... " >&6; }
13672 if ${ac_cv_sizeof_fpos_t+:} false
; then :
13673 $as_echo_n "(cached) " >&6
13675 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (fpos_t))" "ac_cv_sizeof_fpos_t" "$ac_includes_default"; then :
13678 if test "$ac_cv_type_fpos_t" = yes; then
13679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13681 as_fn_error
77 "cannot compute sizeof (fpos_t)
13682 See \`config.log' for more details" "$LINENO" 5; }
13684 ac_cv_sizeof_fpos_t
=0
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
13690 $as_echo "$ac_cv_sizeof_fpos_t" >&6; }
13694 cat >>confdefs.h
<<_ACEOF
13695 #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
13699 # The cast to long int works around a bug in the HP C Compiler
13700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13702 # This bug is HP SR number 8606223364.
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of mode_t" >&5
13704 $as_echo_n "checking size of mode_t... " >&6; }
13705 if ${ac_cv_sizeof_mode_t+:} false
; then :
13706 $as_echo_n "(cached) " >&6
13708 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (mode_t))" "ac_cv_sizeof_mode_t" "$ac_includes_default"; then :
13711 if test "$ac_cv_type_mode_t" = yes; then
13712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13714 as_fn_error
77 "cannot compute sizeof (mode_t)
13715 See \`config.log' for more details" "$LINENO" 5; }
13717 ac_cv_sizeof_mode_t
=0
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_mode_t" >&5
13723 $as_echo "$ac_cv_sizeof_mode_t" >&6; }
13727 cat >>confdefs.h
<<_ACEOF
13728 #define SIZEOF_MODE_T $ac_cv_sizeof_mode_t
13732 # The cast to long int works around a bug in the HP C Compiler
13733 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13734 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13735 # This bug is HP SR number 8606223364.
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
13737 $as_echo_n "checking size of off_t... " >&6; }
13738 if ${ac_cv_sizeof_off_t+:} false
; then :
13739 $as_echo_n "(cached) " >&6
13741 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
13744 if test "$ac_cv_type_off_t" = yes; then
13745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13747 as_fn_error
77 "cannot compute sizeof (off_t)
13748 See \`config.log' for more details" "$LINENO" 5; }
13750 ac_cv_sizeof_off_t
=0
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
13756 $as_echo "$ac_cv_sizeof_off_t" >&6; }
13760 cat >>confdefs.h
<<_ACEOF
13761 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
13765 # The cast to long int works around a bug in the HP C Compiler
13766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13768 # This bug is HP SR number 8606223364.
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5
13770 $as_echo_n "checking size of ssize_t... " >&6; }
13771 if ${ac_cv_sizeof_ssize_t+:} false
; then :
13772 $as_echo_n "(cached) " >&6
13774 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (ssize_t))" "ac_cv_sizeof_ssize_t" "$ac_includes_default"; then :
13777 if test "$ac_cv_type_ssize_t" = yes; then
13778 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13780 as_fn_error
77 "cannot compute sizeof (ssize_t)
13781 See \`config.log' for more details" "$LINENO" 5; }
13783 ac_cv_sizeof_ssize_t
=0
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ssize_t" >&5
13789 $as_echo "$ac_cv_sizeof_ssize_t" >&6; }
13793 cat >>confdefs.h
<<_ACEOF
13794 #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
13798 # The cast to long int works around a bug in the HP C Compiler
13799 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13800 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13801 # This bug is HP SR number 8606223364.
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
13803 $as_echo_n "checking size of time_t... " >&6; }
13804 if ${ac_cv_sizeof_time_t+:} false
; then :
13805 $as_echo_n "(cached) " >&6
13807 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
13810 if test "$ac_cv_type_time_t" = yes; then
13811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13813 as_fn_error
77 "cannot compute sizeof (time_t)
13814 See \`config.log' for more details" "$LINENO" 5; }
13816 ac_cv_sizeof_time_t
=0
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
13822 $as_echo "$ac_cv_sizeof_time_t" >&6; }
13826 cat >>confdefs.h
<<_ACEOF
13827 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
13834 # /***********************************************************************
13835 # // Checks for library functions
13836 # ************************************************************************/
13839 for ac_func
in access alloca atexit atoi atol
chmod chown clock_getcpuclockid clock_getres clock_gettime ctime difftime fstat getenv getpagesize getrusage gettimeofday gmtime isatty localtime longjmp lstat memcmp memcpy memmove memset mkdir mktime mmap mprotect munmap qsort raise
rmdir setjmp signal snprintf strcasecmp strchr strdup strerror strftime stricmp strncasecmp strnicmp strrchr strstr
time umask utime vsnprintf
13841 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13842 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13843 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13844 cat >>confdefs.h
<<_ACEOF
13845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13853 if test "X$GCC" = Xyes
; then
13855 cygwin
* | mingw
* | pw32
*)
13856 test "X$LIBS" != "X" && LIBS
="$LIBS "
13857 LIBS
="${LIBS}-lwinmm" ;;
13863 # /***********************************************************************
13864 # // Checks for assembler
13865 # ************************************************************************/
13867 # Check whether --enable-asm was given.
13868 if test "${enable_asm+set}" = set; then :
13869 enableval
=$enable_asm;
13878 case "$host_cpu-$ac_cv_sizeof_void_p" in
13879 amd64-8 | x86_64-8
) asm_arch
="amd64"; asm_dir
="asm/amd64/src_gas/elf64"; asm_mode
="amd64_src_gas_elf64" ;;
13880 i?
86-4) asm_arch
="i386"; asm_dir
="asm/i386/src_gas"; asm_mode
="i386_src_gas" ;;
13881 *) enable_asm
=no
;;
13883 LZO_USE_ASM_i386_src_gas
=no
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build assembly versions" >&5
13886 $as_echo_n "checking whether to build assembly versions... " >&6; }
13887 if test "X$enable_asm" != Xno
; then
13888 mfx_compile_S
='${CCAS} ${CCASFLAGS} -c conftest.S 1>&5'
13889 cat > conftest.S
<<EOF
13890 #if !defined(__i386__) && !defined(__i386)
13894 #include "$ac_abs_top_srcdir/$asm_dir/lzo1x_f1.S"
13897 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mfx_compile_S\""; } >&5
13898 (eval $mfx_compile_S) 2>&5
13900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13901 test $ac_status = 0; }; then
13902 if { ac_try
='test -s conftest.$ac_objext'
13903 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13904 (eval $ac_try) 2>&5
13906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13907 test $ac_status = 0; }; }; then
13909 eval asm_msg_
$asm_arch="'yes [$asm_dir]'"
13910 eval LZO_USE_ASM_
$asm_mode=yes
13913 if test "X$enable_asm" = Xno
; then
13914 echo "configure: failed program was:" >&5
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_asm" >&5
13920 $as_echo "$enable_asm" >&6; }
13922 if test "X$LZO_USE_ASM_i386_src_gas" != Xno
; then
13923 LZO_USE_ASM_i386_src_gas_TRUE
=
13924 LZO_USE_ASM_i386_src_gas_FALSE
='#'
13926 LZO_USE_ASM_i386_src_gas_TRUE
='#'
13927 LZO_USE_ASM_i386_src_gas_FALSE
=
13931 LZO_USE_ASM_i386_obj_elf32_TRUE
=
13932 LZO_USE_ASM_i386_obj_elf32_FALSE
='#'
13934 LZO_USE_ASM_i386_obj_elf32_TRUE
='#'
13935 LZO_USE_ASM_i386_obj_elf32_FALSE
=
13940 # /***********************************************************************
13941 # // Write output files
13942 # ************************************************************************/
13945 mfx_tmp
="-I$srcdir"
13946 mfx_save_CPPFLAGS
=$CPPFLAGS
13947 test "X$mfx_tmp" = "X" || CPPFLAGS
="$mfx_tmp $CPPFLAGS"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether your compiler passes the LZO conformance test" >&5
13950 $as_echo_n "checking whether your compiler passes the LZO conformance test... " >&6; }
13952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13954 #include <limits.h>
13955 #include <stddef.h>
13956 #define LZO_CFG_NO_CONFIG_HEADER 1
13957 #define LZO_WANT_ACC_INCD_H 1
13958 #include "include/lzo/lzoconf.h"
13959 #include "src/lzo_supp.h"
13961 #undef LZOCHK_ASSERT
13962 #define LZOCHK_ASSERT(expr) LZO_COMPILE_TIME_ASSERT_HEADER(expr)
13963 #define LZO_WANT_ACC_CHK_CH 1
13964 #include "src/lzo_supp.h"
13966 #undef LZOCHK_ASSERT
13967 #define LZOCHK_ASSERT(expr) LZO_COMPILE_TIME_ASSERT(expr)
13968 static void test_lzo_compile_time_assert(void) {
13969 #define LZO_WANT_ACC_CHK_CH 1
13970 #include "src/lzo_supp.h"
13974 #include <assert.h>
13975 #undef LZOCHK_ASSERT
13976 #define LZOCHK_ASSERT(expr) assert(expr);
13977 static int test_lzo_run_time_assert(int r) {
13978 #define LZO_WANT_ACC_CHK_CH 1
13979 #include "src/lzo_supp.h"
13987 test_lzo_compile_time_assert();
13988 if (test_lzo_run_time_assert(1) != 1) return 1;
13997 if ac_fn_c_try_compile
"$LINENO"; then :
14000 rm -f core conftest.err conftest.
$ac_objext
14001 rm -f conftest.
$ac_ext conftest.
$ac_objext
14003 CPPFLAGS
=$mfx_save_CPPFLAGS
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
14006 $as_echo "$mfx_tmp" >&6; }
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14011 $as_echo "$as_me: " >&6;}
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: Your compiler failed the LZO conformance test - for details see " >&5
14013 $as_echo "$as_me: Your compiler failed the LZO conformance test - for details see " >&6;}
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: \`config.log'. Please check that log file and consider sending" >&5
14015 $as_echo "$as_me: \`config.log'. Please check that log file and consider sending" >&6;}
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&5
14017 $as_echo "$as_me: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&6;}
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: Thanks for your support." >&5
14019 $as_echo "$as_me: Thanks for your support." >&6;}
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14021 $as_echo "$as_me: " >&6;}
14022 as_fn_error $?
"LZO conformance test failed. Stop." "$LINENO" 5
14027 if test -r .Conf.settings2
; then
14028 . .
/.Conf.settings2
14031 my_DEFS
="-DLZO_HAVE_CONFIG_H=1"
14032 if test "X$enable_asm" != Xno
; then
14033 my_DEFS
="$my_DEFS -DLZO_USE_ASM=1"
14037 ac_config_files
="$ac_config_files Makefile"
14039 cat >confcache
<<\_ACEOF
14040 # This file is a shell script that caches the results of configure
14041 # tests run on this system so they can be shared between configure
14042 # scripts and configure runs, see configure's option --config-cache.
14043 # It is not useful on other systems. If it contains results you don't
14044 # want to keep, you may remove or edit it.
14046 # config.status only pays attention to the cache file if you give it
14047 # the --recheck option to rerun configure.
14049 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14050 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14051 # following values.
14055 # The following way of writing the cache mishandles newlines in values,
14056 # but we know of no workaround that is simple, portable, and efficient.
14057 # So, we kill variables containing newlines.
14058 # Ultrix sh set writes to stderr and can't be redirected directly,
14059 # and sets the high bit in the cache file unless we assign to the vars.
14061 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14062 eval ac_val
=\$
$ac_var
14066 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14067 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14070 _ | IFS | as_nl
) ;; #(
14071 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14072 *) { eval $ac_var=; unset $ac_var;} ;;
14078 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14079 *${as_nl}ac_space
=\
*)
14080 # `set' does not quote correctly, so add quotes: double-quote
14081 # substitution turns \\\\ into \\, and sed turns \\ into \.
14084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14087 # `set' quotes correctly as required by POSIX, so do not add quotes.
14088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14097 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14099 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14101 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14102 if test -w "$cache_file"; then
14103 if test "x$cache_file" != "x/dev/null"; then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14105 $as_echo "$as_me: updating cache $cache_file" >&6;}
14106 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14107 cat confcache
>"$cache_file"
14109 case $cache_file in #(
14111 mv -f confcache
"$cache_file"$$
&&
14112 mv -f "$cache_file"$$
"$cache_file" ;; #(
14114 mv -f confcache
"$cache_file" ;;
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14120 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14125 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14126 # Let make expand exec_prefix.
14127 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14129 DEFS
=-DHAVE_CONFIG_H
14134 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14135 # 1. Remove the extension, and $U if already installed.
14136 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14137 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14138 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14139 # will be set to the directory where LIBOBJS objects are built.
14140 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14141 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14143 LIBOBJS
=$ac_libobjs
14145 LTLIBOBJS
=$ac_ltlibobjs
14148 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14149 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14152 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14153 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14156 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14157 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
14158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14162 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14163 if test -n "$am_sleep_pid"; then
14164 # Hide warnings about reused PIDs.
14165 wait $am_sleep_pid 2>/dev
/null
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14168 $as_echo "done" >&6; }
14169 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14170 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14173 if test -n "$EXEEXT"; then
14175 am__EXEEXT_FALSE
='#'
14177 am__EXEEXT_TRUE
='#'
14181 if test -z "${LZO_USE_ASM_i386_src_gas_TRUE}" && test -z "${LZO_USE_ASM_i386_src_gas_FALSE}"; then
14182 as_fn_error $?
"conditional \"LZO_USE_ASM_i386_src_gas\" was never defined.
14183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14185 if test -z "${LZO_USE_ASM_i386_obj_elf32_TRUE}" && test -z "${LZO_USE_ASM_i386_obj_elf32_FALSE}"; then
14186 as_fn_error $?
"conditional \"LZO_USE_ASM_i386_obj_elf32\" was never defined.
14187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14190 test "X$DEFS" = "X-DHAVE_CONFIG_H" && DEFS
=
14191 test "X$DEFS" != "X" && DEFS
="$DEFS "
14192 DEFS
="${DEFS}${my_DEFS}"
14195 : "${CONFIG_STATUS=./config.status}"
14197 ac_clean_files_save
=$ac_clean_files
14198 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14200 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14202 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14204 # Generated by $as_me.
14205 # Run this file to recreate the current configuration.
14206 # Compiler output produced by configure, useful for debugging
14207 # configure, is in config.log if it exists.
14210 ac_cs_recheck=false
14213 SHELL=\${CONFIG_SHELL-$SHELL}
14216 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14217 ## -------------------- ##
14218 ## M4sh Initialization. ##
14219 ## -------------------- ##
14221 # Be more Bourne compatible
14222 DUALCASE
=1; export DUALCASE
# for MKS sh
14223 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14226 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14227 # is contrary to our usage. Disable this feature.
14228 alias -g '${1+"$@"}'='"$@"'
14229 setopt NO_GLOB_SUBST
14231 case `(set -o) 2>/dev/null` in #(
14243 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14244 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14245 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14246 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14247 # Prefer a ksh shell builtin over an external printf program on Solaris,
14248 # but without wasting forks for bash or zsh.
14249 if test -z "$BASH_VERSION$ZSH_VERSION" \
14250 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14251 as_echo='print
-r --'
14252 as_echo_n='print
-rn --'
14253 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14254 as_echo='printf %s
\n'
14255 as_echo_n='printf %s
'
14257 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14258 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14259 as_echo_n='/usr
/ucb
/echo -n'
14261 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14262 as_echo_n_body='eval
14266 expr "X$arg" : "X\\(.*\\)$as_nl";
14267 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14269 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14271 export as_echo_n_body
14272 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14274 export as_echo_body
14275 as_echo='sh
-c $as_echo_body as_echo
'
14278 # The user is always right.
14279 if test "${PATH_SEPARATOR+set}" != set; then
14281 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14282 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14289 # We need space, tab and new line, in precisely that order. Quoting is
14290 # there to prevent editors from complaining about space-tab.
14291 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14292 # splitting by setting IFS to empty value.)
14295 # Find who we are. Look in the path if we contain no directory separator.
14298 *[\\/]* ) as_myself=$0 ;;
14299 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14300 for as_dir in $PATH
14303 test -z "$as_dir" && as_dir=.
14304 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14310 # We did not find ourselves, most probably we were run as `sh COMMAND'
14311 # in which case we are not to be found in the path.
14312 if test "x$as_myself" = x
; then
14315 if test ! -f "$as_myself"; then
14316 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14320 # Unset variables that we do not need and which cause bugs (e.g. in
14321 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14322 # suppresses any "Segmentation fault" message there. '((' could
14323 # trigger a bug in pdksh 5.2.14.
14324 for as_var
in BASH_ENV ENV MAIL MAILPATH
14325 do eval test x\
${$as_var+set} = xset \
14326 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14339 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14342 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14343 # ----------------------------------------
14344 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14345 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14346 # script with STATUS, using 1 if that was 0.
14349 as_status
=$1; test $as_status -eq 0 && as_status
=1
14351 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14352 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14354 $as_echo "$as_me: error: $2" >&2
14355 as_fn_exit
$as_status
14359 # as_fn_set_status STATUS
14360 # -----------------------
14361 # Set $? to STATUS, without forking.
14362 as_fn_set_status
()
14365 } # as_fn_set_status
14367 # as_fn_exit STATUS
14368 # -----------------
14369 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14373 as_fn_set_status
$1
14379 # Portably unset VAR.
14382 { eval $1=; unset $1;}
14384 as_unset
=as_fn_unset
14385 # as_fn_append VAR VALUE
14386 # ----------------------
14387 # Append the text in VALUE to the end of the definition contained in VAR. Take
14388 # advantage of any shell optimizations that allow amortized linear growth over
14389 # repeated appends, instead of the typical quadratic growth present in naive
14391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14392 eval 'as_fn_append ()
14403 # as_fn_arith ARG...
14404 # ------------------
14405 # Perform arithmetic evaluation on the ARGs, and store the result in the
14406 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14407 # must be portable across $(()) and expr.
14408 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14409 eval 'as_fn_arith ()
14416 as_val
=`expr "$@" || test $? -eq 1`
14421 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14422 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14428 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14429 as_basename
=basename
14434 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14440 as_me
=`$as_basename -- "$0" ||
14441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14442 X"$0" : 'X\(//\)$' \| \
14443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14445 sed '/^.*\/\([^/][^/]*\)\/*$/{
14459 # Avoid depending upon Character Ranges.
14460 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14461 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14462 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14463 as_cr_digits
='0123456789'
14464 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14466 ECHO_C
= ECHO_N
= ECHO_T
=
14467 case `echo -n x` in #(((((
14469 case `echo 'xy\c'` in
14470 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14472 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14479 rm -f conf$$ conf$$.exe conf$$.
file
14480 if test -d conf$$.dir
; then
14481 rm -f conf$$.dir
/conf$$.
file
14484 mkdir conf$$.dir
2>/dev
/null
14486 if (echo >conf$$.
file) 2>/dev
/null
; then
14487 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14489 # ... but there are two gotchas:
14490 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14491 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14492 # In both cases, we have to default to `cp -pR'.
14493 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14495 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14503 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14504 rmdir conf$$.dir
2>/dev
/null
14509 # Create "$as_dir" as a directory, including parents if necessary.
14514 -*) as_dir
=.
/$as_dir;;
14516 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14520 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14521 *) as_qdir
=$as_dir;;
14523 as_dirs
="'$as_qdir' $as_dirs"
14524 as_dir
=`$as_dirname -- "$as_dir" ||
14525 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14526 X"$as_dir" : 'X\(//\)[^/]' \| \
14527 X"$as_dir" : 'X\(//\)$' \| \
14528 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14529 $as_echo X"$as_dir" |
14530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14534 /^X\(\/\/\)[^/].*/{
14547 test -d "$as_dir" && break
14549 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14550 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14554 if mkdir
-p .
2>/dev
/null
; then
14555 as_mkdir_p
='mkdir -p "$as_dir"'
14557 test -d .
/-p && rmdir .
/-p
14562 # as_fn_executable_p FILE
14563 # -----------------------
14564 # Test if FILE is an executable regular file.
14565 as_fn_executable_p
()
14567 test -f "$1" && test -x "$1"
14568 } # as_fn_executable_p
14569 as_test_x
='test -x'
14570 as_executable_p
=as_fn_executable_p
14572 # Sed expression to map a string onto a valid CPP name.
14573 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14575 # Sed expression to map a string onto a valid variable name.
14576 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14580 ## ----------------------------------- ##
14581 ## Main body of $CONFIG_STATUS script. ##
14582 ## ----------------------------------- ##
14584 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14587 # Save the log message, to keep $0 and so on meaningful, and to
14588 # report actual input values of CONFIG_FILES etc. instead of their
14589 # values after options handling.
14591 This file was extended by LZO $as_me 2.08, which was
14592 generated by GNU Autoconf 2.69. Invocation command line was
14594 CONFIG_FILES = $CONFIG_FILES
14595 CONFIG_HEADERS = $CONFIG_HEADERS
14596 CONFIG_LINKS = $CONFIG_LINKS
14597 CONFIG_COMMANDS = $CONFIG_COMMANDS
14600 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14605 case $ac_config_files in *"
14606 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14609 case $ac_config_headers in *"
14610 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14615 # Files that config.status was made for.
14616 config_files="$ac_config_files"
14617 config_headers="$ac_config_headers"
14618 config_commands="$ac_config_commands"
14622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14624 \`$as_me' instantiates files and other configuration actions
14625 from templates according to the current configuration. Unless the files
14626 and actions are specified as TAGs, all are instantiated by default.
14628 Usage: $0 [OPTION]... [TAG]...
14630 -h, --help print this help, then exit
14631 -V, --version print version number and configuration settings, then exit
14632 --config print configuration, then exit
14633 -q, --quiet, --silent
14634 do not print progress messages
14635 -d, --debug don't remove temporary files
14636 --recheck update $as_me by reconfiguring in the same conditions
14637 --file=FILE[:TEMPLATE]
14638 instantiate the configuration file FILE
14639 --header=FILE[:TEMPLATE]
14640 instantiate the configuration header FILE
14642 Configuration files:
14645 Configuration headers:
14648 Configuration commands:
14651 Report bugs to <markus@oberhumer.com>.
14652 LZO home page: <http://www.oberhumer.com/opensource/lzo/>."
14655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14656 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14658 LZO config.status 2.08
14659 configured by $0, generated by GNU Autoconf 2.69,
14660 with options \\"\$ac_cs_config\\"
14662 Copyright (C) 2012 Free Software Foundation, Inc.
14663 This config.status script is free software; the Free Software Foundation
14664 gives unlimited permission to copy, distribute and modify it."
14671 test -n "\$AWK" || AWK=awk
14674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14675 # The default lists apply if the user does not specify any file.
14681 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14682 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14686 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14698 # Handling of the options.
14699 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14701 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14702 $as_echo "$ac_cs_version"; exit ;;
14703 --config |
--confi |
--conf |
--con |
--co |
--c )
14704 $as_echo "$ac_cs_config"; exit ;;
14705 --debug |
--debu |
--deb |
--de |
--d |
-d )
14707 --file |
--fil |
--fi |
--f )
14710 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14711 '') as_fn_error $?
"missing file argument" ;;
14713 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14714 ac_need_defaults
=false
;;
14715 --header |
--heade |
--head |
--hea )
14718 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14720 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14721 ac_need_defaults
=false
;;
14723 # Conflict between --help and --header
14724 as_fn_error $?
"ambiguous option: \`$1'
14725 Try \`$0 --help' for more information.";;
14726 --help |
--hel |
-h )
14727 $as_echo "$ac_cs_usage"; exit ;;
14728 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14729 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14732 # This is an error.
14733 -*) as_fn_error $?
"unrecognized option: \`$1'
14734 Try \`$0 --help' for more information." ;;
14736 *) as_fn_append ac_config_targets
" $1"
14737 ac_need_defaults
=false
;;
14743 ac_configure_extra_args
=
14745 if $ac_cs_silent; then
14747 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14752 if \$ac_cs_recheck; then
14753 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14755 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14756 CONFIG_SHELL='$SHELL'
14757 export CONFIG_SHELL
14762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14766 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14767 ## Running $as_me. ##
14773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14777 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14780 # The HP-UX ksh and POSIX shell print the target directory to stdout
14781 # if CDPATH is set.
14782 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14784 sed_quote_subst='$sed_quote_subst'
14785 double_quote_subst='$double_quote_subst'
14786 delay_variable_subst='$delay_variable_subst'
14787 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14788 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14789 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14790 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14791 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14792 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14793 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14794 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14795 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14796 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14797 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14798 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14799 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14800 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14801 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14802 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14803 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14804 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14805 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14806 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14807 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14808 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14809 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14810 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14811 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14812 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14813 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14814 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14815 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14816 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14817 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14818 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14819 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14820 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14821 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14822 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14823 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14824 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14825 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14826 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14827 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14828 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14829 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14830 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14831 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14832 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14833 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14834 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14835 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14836 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14837 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14838 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14839 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14840 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14841 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14842 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14843 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14844 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"`'
14845 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14846 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14847 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14848 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14849 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14850 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14851 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14852 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14853 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14854 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14855 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14856 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14857 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14858 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14859 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14860 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14861 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14862 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14863 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14864 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14865 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14866 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14867 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14868 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14869 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14870 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14871 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14872 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14873 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14874 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14875 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14876 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14877 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14878 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14879 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14880 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14881 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14882 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14883 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14884 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14885 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14886 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14887 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14888 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14889 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14890 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14891 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14892 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14893 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14894 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14895 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14896 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14897 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14898 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14899 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14900 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14901 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14902 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14903 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14904 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14905 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14906 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14907 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14908 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14909 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14910 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14911 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14912 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14913 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14914 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14915 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14916 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14917 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14918 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14921 LTCFLAGS='$LTCFLAGS'
14922 compiler='$compiler_DEFAULT'
14924 # A function that is used when there is no print builtin or printf.
14925 func_fallback_echo ()
14927 eval 'cat <<_LTECHO_EOF
14932 # Quote evaled strings.
14947 deplibs_check_method \
14952 sharedlib_from_linklib_cmd \
14955 archiver_list_spec \
14961 lt_cv_sys_global_symbol_pipe \
14962 lt_cv_sys_global_symbol_to_cdecl \
14963 lt_cv_sys_global_symbol_to_import \
14964 lt_cv_sys_global_symbol_to_c_name_address \
14965 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14966 lt_cv_nm_interface \
14967 nm_file_list_spec \
14968 lt_prog_compiler_no_builtin_flag \
14969 lt_prog_compiler_pic \
14970 lt_prog_compiler_wl \
14971 lt_prog_compiler_static \
14972 lt_cv_prog_compiler_c_o \
14981 export_dynamic_flag_spec \
14982 whole_archive_flag_spec \
14983 compiler_needs_object \
14985 allow_undefined_flag \
14986 no_undefined_flag \
14987 hardcode_libdir_flag_spec \
14988 hardcode_libdir_separator \
14992 variables_saved_for_relink \
14994 library_names_spec \
14996 install_override_mode \
15000 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15001 *[\\\\\\\`\\"\\\$]*)
15002 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15005 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15010 # Double-quote double-evaled strings.
15011 for var in reload_cmds \
15012 old_postinstall_cmds \
15013 old_postuninstall_cmds \
15015 extract_expsyms_cmds \
15016 old_archive_from_new_cmds \
15017 old_archive_from_expsyms_cmds \
15019 archive_expsym_cmds \
15021 module_expsym_cmds \
15022 export_symbols_cmds \
15026 postuninstall_cmds \
15028 sys_lib_search_path_spec \
15029 sys_lib_dlsearch_path_spec; do
15030 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15031 *[\\\\\\\`\\"\\\$]*)
15032 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15035 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15040 ac_aux_dir='$ac_aux_dir'
15042 # See if we are running on zsh, and set the options that allow our
15043 # commands through without removal of \ escapes INIT.
15044 if test -n "\${ZSH_VERSION+set}"; then
15045 setopt NO_GLOB_SUBST
15059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15061 # Handling of arguments.
15062 for ac_config_target
in $ac_config_targets
15064 case $ac_config_target in
15065 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15066 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
15067 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15068 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15070 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15075 # If the user did not use the arguments to specify the items to instantiate,
15076 # then the envvar interface is used. Set only those that are not.
15077 # We use the long form for the default assignment because of an extremely
15078 # bizarre bug on SunOS 4.1.3.
15079 if $ac_need_defaults; then
15080 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15081 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15082 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15085 # Have a temporary directory for convenience. Make it in the build tree
15086 # simply because there is no reason against having it here, and in addition,
15087 # creating and moving files from /tmp can sometimes cause problems.
15088 # Hook for its removal unless debugging.
15089 # Note that there is a small window in which the directory will not be cleaned:
15090 # after its creation but before its name has been assigned to `$tmp'.
15094 trap 'exit_status=$?
15095 : "${ac_tmp:=$tmp}"
15096 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15098 trap 'as_fn_exit 1' 1 2 13 15
15100 # Create a (secure) tmp directory for tmp files.
15103 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15107 tmp
=.
/conf$$
-$RANDOM
15108 (umask 077 && mkdir
"$tmp")
15109 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15112 # Set up the scripts for CONFIG_FILES section.
15113 # No need to generate them if there are no CONFIG_FILES.
15114 # This happens for instance with `./config.status config.h'.
15115 if test -n "$CONFIG_FILES"; then
15118 ac_cr
=`echo X | tr X '\015'`
15119 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15120 # But we know of no other shell where ac_cr would be empty at this
15121 # point, so we can use a bashism as a fallback.
15122 if test "x$ac_cr" = x
; then
15123 eval ac_cr
=\$
\'\\r
\'
15125 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15126 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15129 ac_cs_awk_cr
=$ac_cr
15132 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15137 echo "cat >conf$$subs.awk <<_ACEOF" &&
15138 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15140 } >conf$$subs.sh ||
15141 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15142 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15144 for ac_last_try in false false false false false :; do
15145 . ./conf$$subs.sh ||
15146 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15148 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15149 if test $ac_delim_n = $ac_delim_num; then
15151 elif $ac_last_try; then
15152 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15154 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15157 rm -f conf$$subs.sh
15159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15160 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15164 s/^/S["/; s
/!.
*/"]=/
15174 s/\(.\{148\}\)..*/\1/
15176 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15181 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15188 s/\(.\{148\}\)..*/\1/
15190 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15194 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15199 ' <conf$$subs.awk | sed '
15204 ' >>$CONFIG_STATUS || ac_write_fail=1
15205 rm -f conf$$subs.awk
15206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15208 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15209 for (key in S) S_is_set[key] = 1
15215 nfields = split(line, field, "@
")
15217 len = length(field[1])
15218 for (i = 2; i < nfields; i++) {
15220 keylen = length(key)
15221 if (S_is_set[key]) {
15223 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15224 len += length(value) + length(field[++i])
15235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15236 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15237 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15240 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15241 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15244 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15245 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15246 # trailing colons and then remove the whole line if VPATH becomes empty
15247 # (actually we leave an empty line to preserve line numbers).
15248 if test "x
$srcdir" = x.; then
15249 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15268 fi # test -n "$CONFIG_FILES"
15270 # Set up the scripts for CONFIG_HEADERS section.
15271 # No need to generate them if there are no CONFIG_HEADERS.
15272 # This happens for instance with `./config.status Makefile'.
15273 if test -n "$CONFIG_HEADERS"; then
15274 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15278 # Transform confdefs.h into an awk script `defines.awk', embedded as
15279 # here-document in config.status, that substitutes the proper values into
15280 # config.h.in to produce config.h.
15282 # Create a delimiter string that does not exist in confdefs.h, to ease
15283 # handling of long lines.
15285 for ac_last_try in false false :; do
15286 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15287 if test -z "$ac_tt"; then
15289 elif $ac_last_try; then
15290 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15292 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15296 # For the awk script, D is an array of macro values keyed by name,
15297 # likewise P contains macro parameters if any. Preserve backslash
15298 # newline sequences.
15300 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15302 s/.\{148\}/&'"$ac_delim"'/g
15305 s/^[ ]*#[ ]*define[ ][ ]*/ /
15312 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15314 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15318 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15319 D["\
1"]=" \
3\\\\\\n
"\\/p
15321 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15326 s/.\{148\}/&'"$ac_delim"'/g
15331 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15334 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15336 ' <confdefs.h | sed '
15337 s/'"$ac_delim"'/"\\\
15338 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15341 for (key in D) D_is_set[key] = 1
15344 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15346 split(line, arg, " ")
15347 if (arg[1] == "#") {
15351 defundef
= substr
(arg
[1], 2)
15354 split(mac1
, mac2
, "(") #)
15356 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15357 if (D_is_set
[macro
]) {
15358 # Preserve the white space surrounding the "#".
15359 print prefix
"define", macro P
[macro
] D
[macro
]
15362 # Replace #undef with comments. This is necessary, for example,
15363 # in the case of _POSIX_SOURCE, which is predefined and required
15364 # on some systems where configure will not decide to define it.
15365 if (defundef
== "undef") {
15366 print
"/*", prefix defundef
, macro
, "*/"
15374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15375 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15376 fi # test -n "$CONFIG_HEADERS"
15379 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15384 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15386 case $ac_mode$ac_tag in
15388 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15389 :[FH
]-) ac_tag
=-:-;;
15390 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15407 -) ac_f
="$ac_tmp/stdin";;
15408 *) # Look for the file first in the build tree, then in the source tree
15409 # (if the path is not absolute). The absolute path cannot be DOS-style,
15410 # because $ac_f cannot contain `:'.
15414 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15416 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15418 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15419 as_fn_append ac_file_inputs
" '$ac_f'"
15422 # Let's still pretend it is `configure' which instantiates (i.e., don't
15423 # use $as_me), people would be surprised to read:
15424 # /* config.h. Generated by config.status. */
15425 configure_input
='Generated from '`
15426 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15428 if test x
"$ac_file" != x-
; then
15429 configure_input
="$ac_file. $configure_input"
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15431 $as_echo "$as_me: creating $ac_file" >&6;}
15433 # Neutralize special characters interpreted by sed in replacement strings.
15434 case $configure_input in #(
15435 *\
&* |
*\|
* |
*\\* )
15436 ac_sed_conf_input
=`$as_echo "$configure_input" |
15437 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15438 *) ac_sed_conf_input
=$configure_input;;
15442 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15443 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15448 ac_dir
=`$as_dirname -- "$ac_file" ||
15449 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15450 X"$ac_file" : 'X\(//\)[^/]' \| \
15451 X"$ac_file" : 'X\(//\)$' \| \
15452 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15453 $as_echo X"$ac_file" |
15454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15458 /^X\(\/\/\)[^/].*/{
15471 as_dir
="$ac_dir"; as_fn_mkdir_p
15475 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15477 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15478 # A ".." for each directory in $ac_dir_suffix.
15479 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15480 case $ac_top_builddir_sub in
15481 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15482 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15485 ac_abs_top_builddir
=$ac_pwd
15486 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15487 # for backward compatibility:
15488 ac_top_builddir
=$ac_top_build_prefix
15491 .
) # We are building in place.
15493 ac_top_srcdir
=$ac_top_builddir_sub
15494 ac_abs_top_srcdir
=$ac_pwd ;;
15495 [\\/]* | ?
:[\\/]* ) # Absolute name.
15496 ac_srcdir
=$srcdir$ac_dir_suffix;
15497 ac_top_srcdir
=$srcdir
15498 ac_abs_top_srcdir
=$srcdir ;;
15499 *) # Relative name.
15500 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15501 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15502 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15504 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15514 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15515 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15517 ac_MKDIR_P
=$MKDIR_P
15519 [\\/$
]* | ?
:[\\/]* ) ;;
15520 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15525 # If the template does not know about datarootdir, expand it.
15526 # FIXME: This hack should be removed a few years after 2.60.
15527 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15538 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15539 *datarootdir
*) ac_datarootdir_seen
=yes;;
15540 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15542 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15545 ac_datarootdir_hack='
15546 s&@datadir@&$datadir&g
15547 s&@docdir@&$docdir&g
15548 s&@infodir@&$infodir&g
15549 s&@localedir@&$localedir&g
15550 s&@mandir@&$mandir&g
15551 s&\\\${datarootdir}&$datarootdir&g' ;;
15555 # Neutralize VPATH when `$srcdir' = `.'.
15556 # Shell code in configure.ac might set extrasub.
15557 # FIXME: do we really want to maintain this feature?
15558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15559 ac_sed_extra="$ac_vpsub
15562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15564 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15565 s|@configure_input@|
$ac_sed_conf_input|
;t t
15566 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15567 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15568 s
&@srcdir@
&$ac_srcdir&;t t
15569 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15570 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15571 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15572 s
&@builddir@
&$ac_builddir&;t t
15573 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15574 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15575 s
&@INSTALL@
&$ac_INSTALL&;t t
15576 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15577 $ac_datarootdir_hack
15579 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15580 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15582 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15583 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15584 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15585 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15587 which seems to be undefined. Please make sure it is defined" >&5
15588 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15589 which seems to be undefined. Please make sure it is defined" >&2;}
15591 rm -f "$ac_tmp/stdin"
15593 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15594 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15596 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15602 if test x"$ac_file" != x-; then
15604 $as_echo "/* $configure_input */" \
15605 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15606 } >"$ac_tmp/config.h" \
15607 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15608 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15610 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15613 mv "$ac_tmp/config.h" "$ac_file" \
15614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15617 $as_echo "/* $configure_input */" \
15618 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15619 || as_fn_error $? "could not create -" "$LINENO" 5
15621 # Compute "$ac_file"'s index
in $config_headers.
15624 for _am_header
in $config_headers :; do
15625 case $_am_header in
15626 $_am_arg |
$_am_arg:* )
15629 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15632 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15633 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15634 X"$_am_arg" : 'X\(//\)[^/]' \| \
15635 X"$_am_arg" : 'X\(//\)$' \| \
15636 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15637 $as_echo X"$_am_arg" |
15638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15642 /^X\(\/\/\)[^/].*/{
15654 s/.*/./; q'`/stamp-h
$_am_stamp_count
15657 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15658 $as_echo "$as_me: executing $ac_file commands" >&6;}
15663 case $ac_file$ac_mode in
15664 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15665 # Older Autoconf quotes --file arguments for eval, but not when files
15666 # are listed without --file. Let's play safe and only enable the eval
15667 # if we detect the quoting.
15668 case $CONFIG_FILES in
15669 *\'*) eval set x
"$CONFIG_FILES" ;;
15670 *) set x
$CONFIG_FILES ;;
15675 # Strip MF so we end up with the name of the file.
15676 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15677 # Check whether this is an Automake generated Makefile or not.
15678 # We used to match only the files named 'Makefile.in', but
15679 # some people rename them; so instead we look at the file content.
15680 # Grep'ing the first line is not enough: some people post-process
15681 # each Makefile.in and add a new line on top of each file to say so.
15682 # Grep'ing the whole file is not good either: AIX grep has a line
15683 # limit of 2048, but all sed's we know have understand at least 4000.
15684 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15685 dirpart
=`$as_dirname -- "$mf" ||
15686 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15687 X"$mf" : 'X\(//\)[^/]' \| \
15688 X"$mf" : 'X\(//\)$' \| \
15689 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15695 /^X\(\/\/\)[^/].*/{
15711 # Extract the definition of DEPDIR, am__include, and am__quote
15712 # from the Makefile without running 'make'.
15713 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15714 test -z "$DEPDIR" && continue
15715 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15716 test -z "$am__include" && continue
15717 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15718 # Find all dependency output files, they are included files with
15719 # $(DEPDIR) in their names. We invoke sed twice because it is the
15720 # simplest approach to changing $(DEPDIR) to its actual value in the
15722 for file in `sed -n "
15723 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15724 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15725 # Make sure the directory exists.
15726 test -f "$dirpart/$file" && continue
15727 fdir
=`$as_dirname -- "$file" ||
15728 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15729 X"$file" : 'X\(//\)[^/]' \| \
15730 X"$file" : 'X\(//\)$' \| \
15731 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15732 $as_echo X"$file" |
15733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15737 /^X\(\/\/\)[^/].*/{
15750 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15751 # echo "creating $dirpart/$file"
15752 echo '# dummy' > "$dirpart/$file"
15759 # See if we are running on zsh, and set the options that allow our
15760 # commands through without removal of \ escapes.
15761 if test -n "${ZSH_VERSION+set}"; then
15762 setopt NO_GLOB_SUBST
15766 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15769 cat <<_LT_EOF >> "$cfgfile"
15772 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15773 # Generated automatically by $as_me ($PACKAGE) $VERSION
15774 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15775 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15777 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15778 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15780 # Written by Gordon Matzigkeit, 1996
15782 # This file is part of GNU Libtool.
15784 # GNU Libtool is free software; you can redistribute it and/or
15785 # modify it under the terms of the GNU General Public License as
15786 # published by the Free Software Foundation; either version 2 of
15787 # the License, or (at your option) any later version.
15789 # As a special exception to the GNU General Public License,
15790 # if you distribute this file as part of a program or library that
15791 # is built using GNU Libtool, you may include this file under the
15792 # same distribution terms that you use for the rest of that program.
15794 # GNU Libtool is distributed in the hope that it will be useful,
15795 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15796 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15797 # GNU General Public License for more details.
15799 # You should have received a copy of the GNU General Public License
15800 # along with GNU Libtool; see the file COPYING. If not, a copy
15801 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15802 # obtained by writing to the Free Software Foundation, Inc.,
15803 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15806 # The names of the tagged configurations supported by this script.
15809 # ### BEGIN LIBTOOL CONFIG
15811 # Whether or not to build static libraries.
15812 build_old_libs=$enable_static
15814 # Whether or not to build shared libraries.
15815 build_libtool_libs=$enable_shared
15817 # Which release of libtool.m4 was used?
15818 macro_version=$macro_version
15819 macro_revision=$macro_revision
15821 # What type of objects to build.
15824 # Whether or not to optimize for fast installation.
15825 fast_install=$enable_fast_install
15827 # Shell to use when invoking shell scripts.
15830 # An echo program that protects backslashes.
15833 # The PATH separator for the build system.
15834 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15837 host_alias=$host_alias
15841 # The build system.
15842 build_alias=$build_alias
15846 # A sed program that does not truncate output.
15849 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15850 Xsed="\$SED -e 1s/^X//"
15852 # A grep program that handles long lines.
15858 # A literal string matcher.
15861 # A BSD- or MS-compatible name lister.
15864 # Whether we need soft or hard links.
15867 # What is the maximum length of a command?
15868 max_cmd_len=$max_cmd_len
15870 # Object file suffix (normally "o").
15873 # Executable file suffix (normally "").
15876 # whether the shell understands "unset".
15879 # turn spaces into newlines.
15882 # turn newlines into spaces.
15885 # convert \$build file names to \$host format.
15886 to_host_file_cmd=$lt_cv_to_host_file_cmd
15888 # convert \$build files to toolchain format.
15889 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15891 # An object symbol dumper.
15892 OBJDUMP=$lt_OBJDUMP
15894 # Method to check whether dependent libraries are shared objects.
15895 deplibs_check_method=$lt_deplibs_check_method
15897 # Command to use when deplibs_check_method = "file_magic".
15898 file_magic_cmd=$lt_file_magic_cmd
15900 # How to find potential files when deplibs_check_method = "file_magic".
15901 file_magic_glob=$lt_file_magic_glob
15903 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15904 want_nocaseglob=$lt_want_nocaseglob
15906 # DLL creation program.
15907 DLLTOOL=$lt_DLLTOOL
15909 # Command to associate shared and link libraries.
15910 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15915 # Flags to create an archive.
15916 AR_FLAGS=$lt_AR_FLAGS
15918 # How to feed a file listing to the archiver.
15919 archiver_list_spec=$lt_archiver_list_spec
15921 # A symbol stripping program.
15924 # Commands used to install an old-style archive.
15926 old_postinstall_cmds=$lt_old_postinstall_cmds
15927 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15929 # Whether to use a lock for old archive extraction.
15930 lock_old_archive_extraction=$lock_old_archive_extraction
15935 # LTCC compiler flags.
15936 LTCFLAGS=$lt_CFLAGS
15938 # Take the output of nm and produce a listing of raw symbols and C names.
15939 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15941 # Transform the output of nm in a proper C declaration.
15942 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15944 # Transform the output of nm into a list of symbols to manually relocate.
15945 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15947 # Transform the output of nm in a C name address pair.
15948 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15950 # Transform the output of nm in a C name address pair when lib prefix is needed.
15951 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15953 # The name lister interface.
15954 nm_interface=$lt_lt_cv_nm_interface
15956 # Specify filename containing input files for \$NM.
15957 nm_file_list_spec=$lt_nm_file_list_spec
15959 # The root where to search for dependent libraries,and where our libraries should be installed.
15960 lt_sysroot=$lt_sysroot
15962 # The name of the directory that contains temporary libtool files.
15965 # Used to examine libraries when file_magic_cmd begins with "file".
15966 MAGIC_CMD=$MAGIC_CMD
15968 # Must we lock files when doing compilation?
15969 need_locks=$lt_need_locks
15972 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15974 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15975 DSYMUTIL=$lt_DSYMUTIL
15977 # Tool to change global to local symbols on Mac OS X.
15980 # Tool to manipulate fat objects and archives on Mac OS X.
15983 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15986 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15987 OTOOL64=$lt_OTOOL64
15989 # Old archive suffix (normally "a").
15992 # Shared library suffix (normally ".so").
15993 shrext_cmds=$lt_shrext_cmds
15995 # The commands to extract the exported symbol list from a shared archive.
15996 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15998 # Variables whose values should be saved in libtool wrapper scripts and
15999 # restored at link time.
16000 variables_saved_for_relink=$lt_variables_saved_for_relink
16002 # Do we need the "lib" prefix for modules?
16003 need_lib_prefix=$need_lib_prefix
16005 # Do we need a version for libraries?
16006 need_version=$need_version
16008 # Library versioning type.
16009 version_type=$version_type
16011 # Shared library runtime path variable.
16012 runpath_var=$runpath_var
16014 # Shared library path variable.
16015 shlibpath_var=$shlibpath_var
16017 # Is shlibpath searched before the hard-coded library search path?
16018 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16020 # Format of library name prefix.
16021 libname_spec=$lt_libname_spec
16023 # List of archive names. First name is the real one, the rest are links.
16024 # The last name is the one that the linker finds with -lNAME
16025 library_names_spec=$lt_library_names_spec
16027 # The coded name of the library, if different from the real name.
16028 soname_spec=$lt_soname_spec
16030 # Permission mode override for installation of shared libraries.
16031 install_override_mode=$lt_install_override_mode
16033 # Command to use after installation of a shared archive.
16034 postinstall_cmds=$lt_postinstall_cmds
16036 # Command to use after uninstallation of a shared archive.
16037 postuninstall_cmds=$lt_postuninstall_cmds
16039 # Commands used to finish a libtool library installation in a directory.
16040 finish_cmds=$lt_finish_cmds
16042 # As "finish_cmds", except a single script fragment to be evaled but
16044 finish_eval=$lt_finish_eval
16046 # Whether we should hardcode library paths into libraries.
16047 hardcode_into_libs=$hardcode_into_libs
16049 # Compile-time system search path for libraries.
16050 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16052 # Run-time system search path for libraries.
16053 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16055 # Whether dlopen is supported.
16056 dlopen_support=$enable_dlopen
16058 # Whether dlopen of programs is supported.
16059 dlopen_self=$enable_dlopen_self
16061 # Whether dlopen of statically linked programs is supported.
16062 dlopen_self_static=$enable_dlopen_self_static
16064 # Commands to strip libraries.
16065 old_striplib=$lt_old_striplib
16066 striplib=$lt_striplib
16069 # The linker used to build libraries.
16072 # How to create reloadable object files.
16073 reload_flag=$lt_reload_flag
16074 reload_cmds=$lt_reload_cmds
16076 # Commands used to build an old-style archive.
16077 old_archive_cmds=$lt_old_archive_cmds
16079 # A language specific compiler.
16082 # Is the compiler the GNU compiler?
16085 # Compiler flag to turn off builtin functions.
16086 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16088 # Additional compiler flags for building library objects.
16089 pic_flag=$lt_lt_prog_compiler_pic
16091 # How to pass a linker flag through the compiler.
16092 wl=$lt_lt_prog_compiler_wl
16094 # Compiler flag to prevent dynamic linking.
16095 link_static_flag=$lt_lt_prog_compiler_static
16097 # Does compiler simultaneously support -c and -o options?
16098 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16100 # Whether or not to add -lc for building shared libraries.
16101 build_libtool_need_lc=$archive_cmds_need_lc
16103 # Whether or not to disallow shared libs when runtime libs are static.
16104 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16106 # Compiler flag to allow reflexive dlopens.
16107 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16109 # Compiler flag to generate shared objects directly from archives.
16110 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16112 # Whether the compiler copes with passing no objects directly.
16113 compiler_needs_object=$lt_compiler_needs_object
16115 # Create an old-style archive from a shared archive.
16116 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16118 # Create a temporary old-style archive to link instead of a shared archive.
16119 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16121 # Commands used to build a shared archive.
16122 archive_cmds=$lt_archive_cmds
16123 archive_expsym_cmds=$lt_archive_expsym_cmds
16125 # Commands used to build a loadable module if different from building
16126 # a shared archive.
16127 module_cmds=$lt_module_cmds
16128 module_expsym_cmds=$lt_module_expsym_cmds
16130 # Whether we are building with GNU ld or not.
16131 with_gnu_ld=$lt_with_gnu_ld
16133 # Flag that allows shared libraries with undefined symbols to be built.
16134 allow_undefined_flag=$lt_allow_undefined_flag
16136 # Flag that enforces no undefined symbols.
16137 no_undefined_flag=$lt_no_undefined_flag
16139 # Flag to hardcode \$libdir into a binary during linking.
16140 # This must work even if \$libdir does not exist
16141 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16143 # Whether we need a single "-rpath" flag with a separated argument.
16144 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16146 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16147 # DIR into the resulting binary.
16148 hardcode_direct=$hardcode_direct
16150 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16151 # DIR into the resulting binary and the resulting library dependency is
16152 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16153 # library is relocated.
16154 hardcode_direct_absolute=$hardcode_direct_absolute
16156 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16157 # into the resulting binary.
16158 hardcode_minus_L=$hardcode_minus_L
16160 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16161 # into the resulting binary.
16162 hardcode_shlibpath_var=$hardcode_shlibpath_var
16164 # Set to "yes" if building a shared library automatically hardcodes DIR
16165 # into the library and all subsequent libraries and executables linked
16167 hardcode_automatic=$hardcode_automatic
16169 # Set to yes if linker adds runtime paths of dependent libraries
16170 # to runtime path list.
16171 inherit_rpath=$inherit_rpath
16173 # Whether libtool must link a program against all its dependency libraries.
16174 link_all_deplibs=$link_all_deplibs
16176 # Set to "yes" if exported symbols are required.
16177 always_export_symbols=$always_export_symbols
16179 # The commands to list exported symbols.
16180 export_symbols_cmds=$lt_export_symbols_cmds
16182 # Symbols that should not be listed in the preloaded symbols.
16183 exclude_expsyms=$lt_exclude_expsyms
16185 # Symbols that must always be exported.
16186 include_expsyms=$lt_include_expsyms
16188 # Commands necessary for linking programs (against libraries) with templates.
16189 prelink_cmds=$lt_prelink_cmds
16191 # Commands necessary for finishing linking programs.
16192 postlink_cmds=$lt_postlink_cmds
16194 # Specify filename containing input files.
16195 file_list_spec=$lt_file_list_spec
16197 # How to hardcode a shared library path into an executable.
16198 hardcode_action=$hardcode_action
16200 # ### END LIBTOOL CONFIG
16206 cat <<\_LT_EOF
>> "$cfgfile"
16207 # AIX sometimes has problems with the GCC collect2 program. For some
16208 # reason, if we set the COLLECT_NAMES environment variable, the problems
16209 # vanish in a puff of smoke.
16210 if test set != "${COLLECT_NAMES+set}"; then
16212 export COLLECT_NAMES
16219 ltmain
=$ac_aux_dir/ltmain.sh
16222 # We use sed instead of cat because bash on DJGPP gets confused if
16223 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16224 # text mode, it properly converts lines to CR/LF. This bash problem
16225 # is reportedly fixed, but why not run on old versions too?
16226 sed '$q' "$ltmain" >> "$cfgfile" \
16227 ||
(rm -f "$cfgfile"; exit 1)
16229 mv -f "$cfgfile" "$ofile" ||
16230 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16241 ac_clean_files
=$ac_clean_files_save
16243 test $ac_write_fail = 0 ||
16244 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16247 # configure is writing to config.log, and then calls config.status.
16248 # config.status does its own redirection, appending to config.log.
16249 # Unfortunately, on DOS this fails, as config.log is still kept open
16250 # by configure, so config.status won't be able to write to it; its
16251 # output is simply discarded. So we exec the FD to /dev/null,
16252 # effectively closing config.log, so it can be properly (re)opened and
16253 # appended to by config.status. When coming back to configure, we
16254 # need to make the FD available again.
16255 if test "$no_create" != yes; then
16257 ac_config_status_args
=
16258 test "$silent" = yes &&
16259 ac_config_status_args
="$ac_config_status_args --quiet"
16261 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16263 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16264 # would make configure fail if this is the last instruction.
16265 $ac_cs_success || as_fn_exit
1
16267 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16269 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16274 ## enable AMD64 assembly code : ${asm_msg_amd64}
16277 LZO configuration summary
16278 -------------------------
16279 LZO version : ${PACKAGE_VERSION}
16280 configured for host : ${host_cpu}-${host_vendor}-${host_os}
16281 source code location : ${srcdir}
16283 preprocessor definitions : ${DEFS}
16284 preprocessor flags : ${CPPFLAGS}
16285 compiler flags : ${CFLAGS}
16286 build static library : ${enable_static}
16287 build shared library : ${enable_shared}
16288 enable i386 assembly code : ${asm_msg_i386}
16291 LZO ${PACKAGE_VERSION} configured.
16293 Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer
16294 All Rights Reserved.
16296 The LZO library is free software; you can redistribute it and/or
16297 modify it under the terms of the GNU General Public License as
16298 published by the Free Software Foundation; either version 2 of
16299 the License, or (at your option) any later version.
16301 The LZO library is distributed in the hope that it will be useful,
16302 but WITHOUT ANY WARRANTY; without even the implied warranty of
16303 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16304 GNU General Public License for more details.
16306 Markus F.X.J. Oberhumer
16307 <markus@oberhumer.com>
16308 http://www.oberhumer.com/opensource/lzo/
16311 Type \`make' to build LZO. Type \`make install' to install LZO.
16312 After installing LZO, please read the accompanied documentation.