2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for LZO 2.09.
5 # Report bugs to <markus@oberhumer.com>.
7 # Copyright (C) 1996-2015 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.09'
599 PACKAGE_STRING
='LZO 2.09'
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
680 INSTALL_STRIP_PROGRAM
698 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.09 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.09:";;
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-2015 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.09, 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-2015 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-2015 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
3656 if test -n "$ac_tool_prefix"; then
3657 for ac_prog in ar lib "link -lib"
3659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3660 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3662 $as_echo_n "checking for $ac_word... " >&6; }
3663 if ${ac_cv_prog_AR+:} false; then :
3664 $as_echo_n "(cached) " >&6
3666 if test -n "$AR"; then
3667 ac_cv_prog_AR="$AR" # Let the user override the test.
3669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3673 test -z "$as_dir" && as_dir=.
3674 for ac_exec_ext in '' $ac_executable_extensions; do
3675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3676 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 if test -n "$AR"; then
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3689 $as_echo "$AR" >&6; }
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3692 $as_echo "no" >&6; }
3696 test -n "$AR" && break
3699 if test -z "$AR"; then
3701 for ac_prog in ar lib "link -lib"
3703 # Extract the first word of "$ac_prog", so it can be a program name with args.
3704 set dummy $ac_prog; ac_word=$2
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3706 $as_echo_n "checking for $ac_word... " >&6; }
3707 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3708 $as_echo_n "(cached) " >&6
3710 if test -n "$ac_ct_AR"; then
3711 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3717 test -z "$as_dir" && as_dir=.
3718 for ac_exec_ext in '' $ac_executable_extensions; do
3719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3720 ac_cv_prog_ac_ct_AR="$ac_prog"
3721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3731 if test -n "$ac_ct_AR"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3733 $as_echo "$ac_ct_AR" >&6; }
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3740 test -n "$ac_ct_AR" && break
3743 if test "x$ac_ct_AR" = x; then
3746 case $cross_compiling:$ac_tool_warned in
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3750 ac_tool_warned=yes ;;
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3759 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3760 if ${am_cv_ar_interface+:} false; then :
3761 $as_echo_n "(cached) " >&6
3764 ac_cpp='$CPP $CPPFLAGS'
3765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3769 am_cv_ar_interface=ar
3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h. */
3772 int some_variable = 0;
3774 if ac_fn_c_try_compile "$LINENO"; then :
3775 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3776 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3777 (eval $am_ar_try) 2>&5
3779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3780 test $ac_status = 0; }
3781 if test "$ac_status" -eq 0; then
3782 am_cv_ar_interface=ar
3784 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3785 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3786 (eval $am_ar_try) 2>&5
3788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3789 test $ac_status = 0; }
3790 if test "$ac_status" -eq 0; then
3791 am_cv_ar_interface=lib
3793 am_cv_ar_interface=unknown
3796 rm -f conftest.lib libconftest.a
3799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3801 ac_cpp='$CPP $CPPFLAGS'
3802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3808 $as_echo "$am_cv_ar_interface" >&6; }
3810 case $am_cv_ar_interface in
3814 # Microsoft lib, so override with the ar-lib wrapper script.
3815 # FIXME: It is wrong to rewrite AR.
3816 # But if we don't then we get into trouble of one sort or another.
3817 # A longer-term fix would be to have automake use am__AR in this case,
3818 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
3820 AR="$am_aux_dir/ar-lib $AR"
3823 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
3827 rm -rf .tst 2>/dev/null
3828 mkdir .tst 2>/dev/null
3829 if test -d .tst; then
3834 rmdir .tst 2>/dev/null
3836 DEPDIR="${am__leading_dot}deps"
3838 ac_config_commands="$ac_config_commands depfiles"
3841 am_make=${MAKE-make}
3842 cat > confinc << 'END'
3844 @echo this is the am__doit target
3847 # If we don't find an include directive, just comment out the code.
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3849 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3853 # First try GNU make style include.
3854 echo "include confinc" > confmf
3855 # Ignore all kinds of additional output from 'make'.
3856 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3857 *the\ am__doit\ target*)
3863 # Now try BSD make style include.
3864 if test "$am__include" = "#"; then
3865 echo '.include "confinc"' > confmf
3866 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3867 *the\ am__doit\ target*)
3868 am__include=.include
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3877 $as_echo "$_am_result" >&6; }
3878 rm -f confinc confmf
3880 # Check whether --enable-dependency-tracking was given.
3881 if test "${enable_dependency_tracking+set}" = set; then :
3882 enableval=$enable_dependency_tracking;
3885 if test "x$enable_dependency_tracking" != xno; then
3886 am_depcomp="$ac_aux_dir/depcomp"
3890 if test "x$enable_dependency_tracking" != xno; then
3899 # By default we simply use the C compiler to build assembly code.
3901 test "${CCAS+set}" = set || CCAS=$CC
3902 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3906 depcc="$CCAS" am_compiler_list=
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3909 $as_echo_n "checking dependency style of $depcc... " >&6; }
3910 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
3911 $as_echo_n "(cached) " >&6
3913 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3914 # We make a subdir and do the tests there. Otherwise we can end up
3915 # making bogus files that we don't know about and never remove. For
3916 # instance it was reported that on HP-UX the gcc test will end up
3917 # making a dummy file named 'D' -- because '-MD' means "put the output
3921 # Copy depcomp to subdir because otherwise we won't find it if we're
3922 # using a relative directory.
3923 cp "$am_depcomp" conftest.dir
3925 # We will build objects and dependencies in a subdirectory because
3926 # it helps to detect inapplicable dependency modes. For instance
3927 # both Tru64's cc and ICC support -MD to output dependencies as a
3928 # side effect of compilation, but ICC will put the dependencies in
3929 # the current directory while Tru64 will put them in the object
3933 am_cv_CCAS_dependencies_compiler_type=none
3934 if test "$am_compiler_list" = ""; then
3935 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3940 for depmode in $am_compiler_list; do
3941 # Setup a source with many dependencies, because some compilers
3942 # like to wrap large dependency lists on column 80 (with \), and
3943 # we should not choose a depcomp mode which is confused by this.
3945 # We need to recreate these files for each test, as the compiler may
3946 # overwrite some of them when testing with obscure command lines.
3947 # This happens at least with the AIX C compiler.
3949 for i in 1 2 3 4 5 6; do
3950 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3951 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3952 # Solaris 10 /bin/sh.
3953 echo '/* dummy */' > sub/conftst$i.h
3955 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3957 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3958 # mode. It turns out that the SunPro C++ compiler does not properly
3959 # handle '-M -o', and we need to detect this. Also, some Intel
3960 # versions had trouble with output in subdirs.
3961 am__obj=sub/conftest.${OBJEXT-o}
3962 am__minus_obj="-o $am__obj"
3965 # This depmode causes a compiler race in universal mode.
3966 test "$am__universal" = false || continue
3969 # After this tag, mechanisms are not by side-effect, so they'll
3970 # only be used when explicitly requested.
3971 if test "x$enable_dependency_tracking" = xyes; then
3977 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3978 # This compiler won't grok '-c -o', but also, the minuso test has
3979 # not run yet. These depmodes are late enough in the game, and
3980 # so weak that their functioning should not be impacted.
3981 am__obj=conftest.${OBJEXT-o}
3986 if depmode=$depmode \
3987 source=sub/conftest.c object=$am__obj \
3988 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3989 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3990 >/dev/null 2>conftest.err &&
3991 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3992 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3993 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3994 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3995 # icc doesn't choke on unknown options, it will just issue warnings
3996 # or remarks (even with -Werror). So we grep stderr for any message
3997 # that says an option was ignored or not supported.
3998 # When given -MP, icc 7.0 and 7.1 complain thusly:
3999 # icc: Command line warning: ignoring option '-M'; no argument required
4000 # The diagnosis changed in icc 8.0:
4001 # icc: Command line remark: option '-MP' not supported
4002 if (grep 'ignoring option' conftest.err ||
4003 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4004 am_cv_CCAS_dependencies_compiler_type=$depmode
4013 am_cv_CCAS_dependencies_compiler_type=none
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4018 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4019 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4022 test "x$enable_dependency_tracking" != xno \
4023 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4024 am__fastdepCCAS_TRUE=
4025 am__fastdepCCAS_FALSE='#'
4027 am__fastdepCCAS_TRUE='#'
4028 am__fastdepCCAS_FALSE=
4033 ac_cpp='$CPP $CPPFLAGS'
4034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4038 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4039 # On Suns, sometimes $CPP names a directory.
4040 if test -n "$CPP" && test -d "$CPP"; then
4043 if test -z "$CPP"; then
4044 if ${ac_cv_prog_CPP+:} false; then :
4045 $as_echo_n "(cached) " >&6
4047 # Double quotes because CPP needs to be expanded
4048 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4051 for ac_c_preproc_warn_flag in '' yes
4053 # Use a header file that comes with gcc, so configuring glibc
4054 # with a fresh cross-compiler works.
4055 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4056 # <limits.h> exists even on freestanding compilers.
4057 # On the NeXT, cc -E runs the code through the compiler's parser,
4058 # not just through cpp. "Syntax error" is here to catch this case.
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4062 # include <limits.h>
4064 # include <assert.h>
4068 if ac_fn_c_try_cpp "$LINENO"; then :
4071 # Broken: fails on valid input.
4074 rm -f conftest.err conftest.i conftest.$ac_ext
4076 # OK, works on sane cases. Now check whether nonexistent headers
4077 # can be detected and how.
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4080 #include <ac_nonexistent.h>
4082 if ac_fn_c_try_cpp "$LINENO"; then :
4083 # Broken: success on invalid input.
4086 # Passes both tests.
4090 rm -f conftest.err conftest.i conftest.$ac_ext
4093 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4094 rm -f conftest.i conftest.err conftest.
$ac_ext
4095 if $ac_preproc_ok; then :
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4108 $as_echo "$CPP" >&6; }
4110 for ac_c_preproc_warn_flag
in '' yes
4112 # Use a header file that comes with gcc, so configuring glibc
4113 # with a fresh cross-compiler works.
4114 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4115 # <limits.h> exists even on freestanding compilers.
4116 # On the NeXT, cc -E runs the code through the compiler's parser,
4117 # not just through cpp. "Syntax error" is here to catch this case.
4118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4121 # include <limits.h>
4123 # include <assert.h>
4127 if ac_fn_c_try_cpp
"$LINENO"; then :
4130 # Broken: fails on valid input.
4133 rm -f conftest.err conftest.i conftest.
$ac_ext
4135 # OK, works on sane cases. Now check whether nonexistent headers
4136 # can be detected and how.
4137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4139 #include <ac_nonexistent.h>
4141 if ac_fn_c_try_cpp
"$LINENO"; then :
4142 # Broken: success on invalid input.
4145 # Passes both tests.
4149 rm -f conftest.err conftest.i conftest.
$ac_ext
4152 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4153 rm -f conftest.i conftest.err conftest.
$ac_ext
4154 if $ac_preproc_ok; then :
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4160 See \`config.log' for more details" "$LINENO" 5; }
4164 ac_cpp
='$CPP $CPPFLAGS'
4165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C preprocessor needs special flags" >&5
4171 $as_echo_n "checking whether the C preprocessor needs special flags... " >&6; }
4173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4176 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
4177 # include "your C preprocessor is broken 1"
4178 #elif (0xffffu == 0xfffffffful)
4179 # include "your C preprocessor is broken 2"
4180 #elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX)
4181 # include "your C preprocessor is broken 3"
4194 mfx_save_CPPFLAGS
=$CPPFLAGS
4196 for mfx_arg
in "" -no-cpp-precomp
4198 CPPFLAGS
="$mfx_arg $mfx_save_CPPFLAGS"
4199 if ac_fn_c_try_compile
"$LINENO"; then :
4203 rm -f core conftest.err conftest.
$ac_objext
4205 CPPFLAGS
=$mfx_save_CPPFLAGS
4206 rm -f conftest.
$ac_ext conftest.
$ac_objext
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4210 $as_echo "none needed" >&6; } ;;
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ERROR" >&5
4213 $as_echo "ERROR" >&6; }
4214 as_fn_error $?
"your C preprocessor is broken - for details see config.log" "$LINENO" 5
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
4218 $as_echo "$mfx_tmp" >&6; }
4219 CPPFLAGS
="$mfx_tmp $CPPFLAGS"
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4224 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4225 if ${ac_cv_c_const+:} false
; then :
4226 $as_echo_n "(cached) " >&6
4228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4236 /* Ultrix mips cc rejects this sort of thing. */
4237 typedef int charset[2];
4238 const charset cs = { 0, 0 };
4239 /* SunOS 4.1.1 cc rejects this. */
4240 char const *const *pcpcc;
4242 /* NEC SVR4.0.2 mips cc rejects this. */
4243 struct point {int x, y;};
4244 static struct point const zero = {0,0};
4245 /* AIX XL C 1.02.0.0 rejects this.
4246 It does not let you subtract one const X* pointer from another in
4247 an arm of an if-expression whose if-part is not a constant
4249 const char *g = "string";
4250 pcpcc = &g + (g ? g-g : 0);
4251 /* HPUX 7.0 cc rejects these. */
4253 ppc = (char**) pcpcc;
4254 pcpcc = (char const *const *) ppc;
4255 { /* SCO 3.2v4 cc rejects this sort of thing. */
4258 char const *s = 0 ? (char *) 0 : (char const *) 0;
4263 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4265 const int *foo = &x[0];
4268 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4269 typedef const int *iptr;
4273 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4274 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4275 struct s { int j; const int *ap[3]; } bx;
4276 struct s *b = &bx; b->j = 5;
4278 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4282 return !cs[0] && !zero.x;
4289 if ac_fn_c_try_compile
"$LINENO"; then :
4294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4297 $as_echo "$ac_cv_c_const" >&6; }
4298 if test $ac_cv_c_const = no
; then
4300 $as_echo "#define const /**/" >>confdefs.h
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4306 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4307 if ${ac_cv_path_GREP+:} false
; then :
4308 $as_echo_n "(cached) " >&6
4310 if test -z "$GREP"; then
4311 ac_path_GREP_found
=false
4312 # Loop through the user's path and test for each of PROGNAME-LIST
4313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4314 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4317 test -z "$as_dir" && as_dir
=.
4318 for ac_prog
in grep ggrep
; do
4319 for ac_exec_ext
in '' $ac_executable_extensions; do
4320 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4321 as_fn_executable_p
"$ac_path_GREP" ||
continue
4322 # Check for GNU ac_path_GREP and select it if it is found.
4323 # Check for GNU $ac_path_GREP
4324 case `"$ac_path_GREP" --version 2>&1` in
4326 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4329 $as_echo_n 0123456789 >"conftest.in"
4332 cat "conftest.in" "conftest.in" >"conftest.tmp"
4333 mv "conftest.tmp" "conftest.in"
4334 cp "conftest.in" "conftest.nl"
4335 $as_echo 'GREP' >> "conftest.nl"
4336 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4337 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4338 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4339 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4340 # Best one so far, save it but keep looking for a better one
4341 ac_cv_path_GREP
="$ac_path_GREP"
4342 ac_path_GREP_max
=$ac_count
4344 # 10*(2^10) chars as input seems more than enough
4345 test $ac_count -gt 10 && break
4347 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4350 $ac_path_GREP_found && break 3
4355 if test -z "$ac_cv_path_GREP"; then
4356 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4359 ac_cv_path_GREP
=$GREP
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4364 $as_echo "$ac_cv_path_GREP" >&6; }
4365 GREP
="$ac_cv_path_GREP"
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4369 $as_echo_n "checking for egrep... " >&6; }
4370 if ${ac_cv_path_EGREP+:} false
; then :
4371 $as_echo_n "(cached) " >&6
4373 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4374 then ac_cv_path_EGREP
="$GREP -E"
4376 if test -z "$EGREP"; then
4377 ac_path_EGREP_found
=false
4378 # Loop through the user's path and test for each of PROGNAME-LIST
4379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4380 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4383 test -z "$as_dir" && as_dir
=.
4384 for ac_prog
in egrep; do
4385 for ac_exec_ext
in '' $ac_executable_extensions; do
4386 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4387 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4388 # Check for GNU ac_path_EGREP and select it if it is found.
4389 # Check for GNU $ac_path_EGREP
4390 case `"$ac_path_EGREP" --version 2>&1` in
4392 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4395 $as_echo_n 0123456789 >"conftest.in"
4398 cat "conftest.in" "conftest.in" >"conftest.tmp"
4399 mv "conftest.tmp" "conftest.in"
4400 cp "conftest.in" "conftest.nl"
4401 $as_echo 'EGREP' >> "conftest.nl"
4402 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4403 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4404 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4405 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4406 # Best one so far, save it but keep looking for a better one
4407 ac_cv_path_EGREP
="$ac_path_EGREP"
4408 ac_path_EGREP_max
=$ac_count
4410 # 10*(2^10) chars as input seems more than enough
4411 test $ac_count -gt 10 && break
4413 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4416 $ac_path_EGREP_found && break 3
4421 if test -z "$ac_cv_path_EGREP"; then
4422 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4425 ac_cv_path_EGREP
=$EGREP
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4431 $as_echo "$ac_cv_path_EGREP" >&6; }
4432 EGREP
="$ac_cv_path_EGREP"
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4436 $as_echo_n "checking for ANSI C header files... " >&6; }
4437 if ${ac_cv_header_stdc+:} false
; then :
4438 $as_echo_n "(cached) " >&6
4440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4455 if ac_fn_c_try_compile
"$LINENO"; then :
4456 ac_cv_header_stdc
=yes
4458 ac_cv_header_stdc
=no
4460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4462 if test $ac_cv_header_stdc = yes; then
4463 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4470 $EGREP "memchr" >/dev
/null
2>&1; then :
4473 ac_cv_header_stdc
=no
4479 if test $ac_cv_header_stdc = yes; then
4480 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4487 $EGREP "free" >/dev
/null
2>&1; then :
4490 ac_cv_header_stdc
=no
4496 if test $ac_cv_header_stdc = yes; then
4497 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4498 if test "$cross_compiling" = yes; then :
4501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4505 #if ((' ' & 0x0FF) == 0x020)
4506 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4507 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4509 # define ISLOWER(c) \
4510 (('a' <= (c) && (c) <= 'i') \
4511 || ('j' <= (c) && (c) <= 'r') \
4512 || ('s' <= (c) && (c) <= 'z'))
4513 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4516 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4521 for (i = 0; i < 256; i++)
4522 if (XOR (islower (i), ISLOWER (i))
4523 || toupper (i) != TOUPPER (i))
4528 if ac_fn_c_try_run
"$LINENO"; then :
4531 ac_cv_header_stdc
=no
4533 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4534 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4540 $as_echo "$ac_cv_header_stdc" >&6; }
4541 if test $ac_cv_header_stdc = yes; then
4543 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4547 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4548 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4549 inttypes.h stdint.h unistd.h
4551 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4552 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4554 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4555 cat >>confdefs.h
<<_ACEOF
4556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4566 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4567 if ${ac_cv_c_bigendian+:} false
; then :
4568 $as_echo_n "(cached) " >&6
4570 ac_cv_c_bigendian
=unknown
4571 # See if we're dealing with a universal compiler.
4572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4574 #ifndef __APPLE_CC__
4575 not a universal capable compiler
4580 if ac_fn_c_try_compile
"$LINENO"; then :
4582 # Check for potential -arch flags. It is not universal unless
4583 # there are at least two -arch flags with different values.
4586 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4587 if test -n "$ac_prev"; then
4589 i?
86 | x86_64 | ppc | ppc64
)
4590 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4593 ac_cv_c_bigendian
=universal
4599 elif test "x$ac_word" = "x-arch"; then
4604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4605 if test $ac_cv_c_bigendian = unknown
; then
4606 # See if sys/param.h defines the BYTE_ORDER macro.
4607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4609 #include <sys/types.h>
4610 #include <sys/param.h>
4615 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4616 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4625 if ac_fn_c_try_compile
"$LINENO"; then :
4626 # It does; now see whether it defined to BIG_ENDIAN or not.
4627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4629 #include <sys/types.h>
4630 #include <sys/param.h>
4635 #if BYTE_ORDER != BIG_ENDIAN
4643 if ac_fn_c_try_compile
"$LINENO"; then :
4644 ac_cv_c_bigendian
=yes
4646 ac_cv_c_bigendian
=no
4648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4652 if test $ac_cv_c_bigendian = unknown
; then
4653 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4661 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4669 if ac_fn_c_try_compile
"$LINENO"; then :
4670 # It does; now see whether it defined to _BIG_ENDIAN or not.
4671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4686 if ac_fn_c_try_compile
"$LINENO"; then :
4687 ac_cv_c_bigendian
=yes
4689 ac_cv_c_bigendian
=no
4691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4695 if test $ac_cv_c_bigendian = unknown
; then
4696 # Compile a test program.
4697 if test "$cross_compiling" = yes; then :
4698 # Try to guess by grepping values from an object file.
4699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4701 short int ascii_mm[] =
4702 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4703 short int ascii_ii[] =
4704 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4705 int use_ascii (int i) {
4706 return ascii_mm[i] + ascii_ii[i];
4708 short int ebcdic_ii[] =
4709 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4710 short int ebcdic_mm[] =
4711 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4712 int use_ebcdic (int i) {
4713 return ebcdic_mm[i] + ebcdic_ii[i];
4720 return use_ascii (foo) == use_ebcdic (foo);
4725 if ac_fn_c_try_compile
"$LINENO"; then :
4726 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4727 ac_cv_c_bigendian
=yes
4729 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4730 if test "$ac_cv_c_bigendian" = unknown
; then
4731 ac_cv_c_bigendian
=no
4733 # finding both strings is unlikely to happen, but who knows?
4734 ac_cv_c_bigendian
=unknown
4738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4742 $ac_includes_default
4747 /* Are we little or big endian? From Harbison&Steele. */
4751 char c[sizeof (long int)];
4754 return u.c[sizeof (long int) - 1] == 1;
4760 if ac_fn_c_try_run
"$LINENO"; then :
4761 ac_cv_c_bigendian
=no
4763 ac_cv_c_bigendian
=yes
4765 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4766 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4772 $as_echo "$ac_cv_c_bigendian" >&6; }
4773 case $ac_cv_c_bigendian in #(
4776 $as_echo "#define LZO_ABI_BIG_ENDIAN 1" >>confdefs.h
4780 $as_echo "#define LZO_ABI_LITTLE_ENDIAN 1" >>confdefs.h
4784 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4788 as_fn_error $?
"unknown endianness
4789 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4793 # Check whether --enable-largefile was given.
4794 if test "${enable_largefile+set}" = set; then :
4795 enableval
=$enable_largefile;
4798 if test "$enable_largefile" != no
; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4801 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4802 if ${ac_cv_sys_largefile_CC+:} false
; then :
4803 $as_echo_n "(cached) " >&6
4805 ac_cv_sys_largefile_CC
=no
4806 if test "$GCC" != yes; then
4809 # IRIX 6.2 and later do not support large files by default,
4810 # so use the C compiler's -n32 option if that helps.
4811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4813 #include <sys/types.h>
4814 /* Check that off_t can represent 2**63 - 1 correctly.
4815 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4816 since some C++ compilers masquerading as C compilers
4817 incorrectly reject 9223372036854775807. */
4818 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4819 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4820 && LARGE_OFF_T % 2147483647 == 1)
4830 if ac_fn_c_try_compile
"$LINENO"; then :
4833 rm -f core conftest.err conftest.
$ac_objext
4835 if ac_fn_c_try_compile
"$LINENO"; then :
4836 ac_cv_sys_largefile_CC
=' -n32'; break
4838 rm -f core conftest.err conftest.
$ac_objext
4842 rm -f conftest.
$ac_ext
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4846 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4847 if test "$ac_cv_sys_largefile_CC" != no
; then
4848 CC
=$CC$ac_cv_sys_largefile_CC
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4852 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4853 if ${ac_cv_sys_file_offset_bits+:} false
; then :
4854 $as_echo_n "(cached) " >&6
4857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4859 #include <sys/types.h>
4860 /* Check that off_t can represent 2**63 - 1 correctly.
4861 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4862 since some C++ compilers masquerading as C compilers
4863 incorrectly reject 9223372036854775807. */
4864 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4865 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4866 && LARGE_OFF_T % 2147483647 == 1)
4876 if ac_fn_c_try_compile
"$LINENO"; then :
4877 ac_cv_sys_file_offset_bits
=no
; break
4879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4881 /* end confdefs.h. */
4882 #define _FILE_OFFSET_BITS 64
4883 #include <sys/types.h>
4884 /* Check that off_t can represent 2**63 - 1 correctly.
4885 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4886 since some C++ compilers masquerading as C compilers
4887 incorrectly reject 9223372036854775807. */
4888 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4889 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4890 && LARGE_OFF_T % 2147483647 == 1)
4900 if ac_fn_c_try_compile
"$LINENO"; then :
4901 ac_cv_sys_file_offset_bits
=64; break
4903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4904 ac_cv_sys_file_offset_bits
=unknown
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4909 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4910 case $ac_cv_sys_file_offset_bits in #(
4913 cat >>confdefs.h
<<_ACEOF
4914 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4919 if test $ac_cv_sys_file_offset_bits = unknown
; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4921 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4922 if ${ac_cv_sys_large_files+:} false
; then :
4923 $as_echo_n "(cached) " >&6
4926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4928 #include <sys/types.h>
4929 /* Check that off_t can represent 2**63 - 1 correctly.
4930 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4931 since some C++ compilers masquerading as C compilers
4932 incorrectly reject 9223372036854775807. */
4933 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4934 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4935 && LARGE_OFF_T % 2147483647 == 1)
4945 if ac_fn_c_try_compile
"$LINENO"; then :
4946 ac_cv_sys_large_files
=no
; break
4948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4951 #define _LARGE_FILES 1
4952 #include <sys/types.h>
4953 /* Check that off_t can represent 2**63 - 1 correctly.
4954 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4955 since some C++ compilers masquerading as C compilers
4956 incorrectly reject 9223372036854775807. */
4957 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4958 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4959 && LARGE_OFF_T % 2147483647 == 1)
4969 if ac_fn_c_try_compile
"$LINENO"; then :
4970 ac_cv_sys_large_files
=1; break
4972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4973 ac_cv_sys_large_files
=unknown
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4978 $as_echo "$ac_cv_sys_large_files" >&6; }
4979 case $ac_cv_sys_large_files in #(
4982 cat >>confdefs.h
<<_ACEOF
4983 #define _LARGE_FILES $ac_cv_sys_large_files
4994 am__api_version
='1.15'
4996 # Find a good install program. We prefer a C program (faster),
4997 # so one script is as good as another. But avoid the broken or
4998 # incompatible versions:
4999 # SysV /etc/install, /usr/sbin/install
5000 # SunOS /usr/etc/install
5001 # IRIX /sbin/install
5003 # AmigaOS /C/install, which installs bootblocks on floppy discs
5004 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5005 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5006 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5007 # OS/2's system install, which has a completely different semantic
5008 # ./install, which can be erroneously created by make from ./install.sh.
5009 # Reject install programs that cannot install multiple files.
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5011 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5012 if test -z "$INSTALL"; then
5013 if ${ac_cv_path_install+:} false
; then :
5014 $as_echo_n "(cached) " >&6
5016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5020 test -z "$as_dir" && as_dir
=.
5021 # Account for people who put trailing slashes in PATH elements.
5022 case $as_dir/ in #((
5023 .
/ | .
// |
/[cC
]/* | \
5024 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5025 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5028 # OSF1 and SCO ODT 3.0 have their own names for install.
5029 # Don't use installbsd from OSF since it installs stuff as root
5031 for ac_prog
in ginstall scoinst
install; do
5032 for ac_exec_ext
in '' $ac_executable_extensions; do
5033 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5034 if test $ac_prog = install &&
5035 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5036 # AIX install. It has an incompatible calling convention.
5038 elif test $ac_prog = install &&
5039 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5040 # program-specific install script used by HP pwplus--don't use.
5043 rm -rf conftest.one conftest.two conftest.dir
5044 echo one
> conftest.one
5045 echo two
> conftest.two
5047 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5048 test -s conftest.one
&& test -s conftest.two
&&
5049 test -s conftest.dir
/conftest.one
&&
5050 test -s conftest.dir
/conftest.two
5052 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5065 rm -rf conftest.one conftest.two conftest.dir
5068 if test "${ac_cv_path_install+set}" = set; then
5069 INSTALL
=$ac_cv_path_install
5071 # As a last resort, use the slow shell script. Don't cache a
5072 # value for INSTALL within a source directory, because that will
5073 # break other packages using the cache if that directory is
5074 # removed, or if the value is a relative name.
5075 INSTALL
=$ac_install_sh
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5079 $as_echo "$INSTALL" >&6; }
5081 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5082 # It thinks the first close brace ends the variable substitution.
5083 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5085 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5087 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5090 $as_echo_n "checking whether build environment is sane... " >&6; }
5091 # Reject unsafe characters in $srcdir or the absolute working directory
5092 # name. Accept space and tab only in the latter.
5096 *[\\\"\
#\$\&\'\`$am_lf]*)
5097 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
5100 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
5101 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5104 # Do 'set' in a subshell so we don't clobber the current shell's
5105 # arguments. Must try -L first in case configure is actually a
5106 # symlink; some systems play weird games with the mod time of symlinks
5107 # (eg FreeBSD returns the mod time of the symlink's containing
5111 for am_try
in 1 2; do
5112 echo "timestamp, slept: $am_has_slept" > conftest.
file
5113 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5114 if test "$*" = "X"; then
5116 set X
`ls -t "$srcdir/configure" conftest.file`
5118 if test "$*" != "X $srcdir/configure conftest.file" \
5119 && test "$*" != "X conftest.file $srcdir/configure"; then
5121 # If neither matched, then we have a broken ls. This can happen
5122 # if, for instance, CONFIG_SHELL is bash and it inherits a
5123 # broken ls alias from the environment. This has actually
5124 # happened. Such a system could not be considered "sane".
5125 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
5126 alias in your environment" "$LINENO" 5
5128 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
5135 test "$2" = conftest.
file
5141 as_fn_error $?
"newly created file is older than distributed files!
5142 Check your system clock" "$LINENO" 5
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5145 $as_echo "yes" >&6; }
5146 # If we didn't sleep, we still need to ensure time stamps of config.status and
5147 # generated files are strictly newer.
5149 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
5156 test "$program_prefix" != NONE
&&
5157 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
5158 # Use a double $ so make ignores it.
5159 test "$program_suffix" != NONE
&&
5160 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
5161 # Double any \ or $.
5162 # By default was `s,x,x', remove it if useless.
5163 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
5164 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
5166 if test x
"${MISSING+set}" != xset
; then
5169 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
5171 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
5174 # Use eval to expand $SHELL
5175 if eval "$MISSING --is-lightweight"; then
5176 am_missing_run
="$MISSING "
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
5180 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
5183 if test x
"${install_sh+set}" != xset
; then
5186 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
5188 install_sh
="\${SHELL} $am_aux_dir/install-sh"
5192 # Installed binaries are usually stripped using 'strip' when the user
5193 # run "make install-strip". However 'strip' might not be the right
5194 # tool to use in cross-compilation environments, therefore Automake
5195 # will honor the 'STRIP' environment variable to overrule this program.
5196 if test "$cross_compiling" != no
; then
5197 if test -n "$ac_tool_prefix"; then
5198 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5199 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_STRIP+:} false
; then :
5203 $as_echo_n "(cached) " >&6
5205 if test -n "$STRIP"; then
5206 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir
=.
5213 for ac_exec_ext
in '' $ac_executable_extensions; do
5214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 STRIP
=$ac_cv_prog_STRIP
5226 if test -n "$STRIP"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5228 $as_echo "$STRIP" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5236 if test -z "$ac_cv_prog_STRIP"; then
5238 # Extract the first word of "strip", so it can be a program name with args.
5239 set dummy strip
; ac_word
=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5243 $as_echo_n "(cached) " >&6
5245 if test -n "$ac_ct_STRIP"; then
5246 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir
=.
5253 for ac_exec_ext
in '' $ac_executable_extensions; do
5254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_ac_ct_STRIP
="strip"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5266 if test -n "$ac_ct_STRIP"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5268 $as_echo "$ac_ct_STRIP" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5274 if test "x$ac_ct_STRIP" = x
; then
5277 case $cross_compiling:$ac_tool_warned in
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5281 ac_tool_warned
=yes ;;
5286 STRIP
="$ac_cv_prog_STRIP"
5290 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5293 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5294 if test -z "$MKDIR_P"; then
5295 if ${ac_cv_path_mkdir+:} false
; then :
5296 $as_echo_n "(cached) " >&6
5298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5299 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5302 test -z "$as_dir" && as_dir
=.
5303 for ac_prog
in mkdir gmkdir
; do
5304 for ac_exec_ext
in '' $ac_executable_extensions; do
5305 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5306 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5307 'mkdir (GNU coreutils) '* | \
5308 'mkdir (coreutils) '* | \
5309 'mkdir (fileutils) '4.1*)
5310 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5320 test -d .
/--version && rmdir .
/--version
5321 if test "${ac_cv_path_mkdir+set}" = set; then
5322 MKDIR_P
="$ac_cv_path_mkdir -p"
5324 # As a last resort, use the slow shell script. Don't cache a
5325 # value for MKDIR_P within a source directory, because that will
5326 # break other packages using the cache if that directory is
5327 # removed, or if the value is a relative name.
5328 MKDIR_P
="$ac_install_sh -d"
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5332 $as_echo "$MKDIR_P" >&6; }
5334 for ac_prog
in gawk mawk nawk
awk
5336 # Extract the first word of "$ac_prog", so it can be a program name with args.
5337 set dummy
$ac_prog; ac_word
=$2
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5339 $as_echo_n "checking for $ac_word... " >&6; }
5340 if ${ac_cv_prog_AWK+:} false
; then :
5341 $as_echo_n "(cached) " >&6
5343 if test -n "$AWK"; then
5344 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5350 test -z "$as_dir" && as_dir
=.
5351 for ac_exec_ext
in '' $ac_executable_extensions; do
5352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5353 ac_cv_prog_AWK
="$ac_prog"
5354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 if test -n "$AWK"; then
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5366 $as_echo "$AWK" >&6; }
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5369 $as_echo "no" >&6; }
5373 test -n "$AWK" && break
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5377 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5379 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5380 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5381 $as_echo_n "(cached) " >&6
5383 cat >conftest.
make <<\_ACEOF
5386 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5388 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5389 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5391 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5393 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5397 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5399 $as_echo "yes" >&6; }
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5403 $as_echo "no" >&6; }
5404 SET_MAKE
="MAKE=${MAKE-make}"
5407 # Check whether --enable-silent-rules was given.
5408 if test "${enable_silent_rules+set}" = set; then :
5409 enableval
=$enable_silent_rules;
5412 case $enable_silent_rules in # (((
5413 yes) AM_DEFAULT_VERBOSITY
=0;;
5414 no
) AM_DEFAULT_VERBOSITY
=1;;
5415 *) AM_DEFAULT_VERBOSITY
=1;;
5417 am_make
=${MAKE-make}
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5419 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5420 if ${am_cv_make_support_nested_variables+:} false
; then :
5421 $as_echo_n "(cached) " >&6
5423 if $as_echo 'TRUE=$(BAR$(V))
5429 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5430 am_cv_make_support_nested_variables
=yes
5432 am_cv_make_support_nested_variables
=no
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5436 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5437 if test $am_cv_make_support_nested_variables = yes; then
5439 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5441 AM_V
=$AM_DEFAULT_VERBOSITY
5442 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5446 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5447 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5448 # is not polluted with repeated "-I."
5449 am__isrc
=' -I$(srcdir)'
5450 # test to see if srcdir already configured
5451 if test -f $srcdir/config.status
; then
5452 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5456 # test whether we have cygpath
5457 if test -z "$CYGPATH_W"; then
5458 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
5459 CYGPATH_W
='cygpath -w'
5466 # Define the identity of the package.
5471 cat >>confdefs.h
<<_ACEOF
5472 #define PACKAGE "$PACKAGE"
5476 cat >>confdefs.h
<<_ACEOF
5477 #define VERSION "$VERSION"
5480 # Some tools Automake needs.
5482 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5485 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
5488 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5491 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
5494 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
5496 # For better backward compatibility. To be removed once Automake 1.9.x
5497 # dies out for good. For more background, see:
5498 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
5499 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
5500 mkdir_p
='$(MKDIR_P)'
5502 # We need awk for the "check" target (and possibly the TAP driver). The
5503 # system "awk" is bad on some platforms.
5504 # Always define AMTAR for backward compatibility. Yes, it's still used
5505 # in the wild :-( We should find a proper way to deprecate it ...
5509 # We'll loop over all known methods to create a tar archive until one works.
5510 _am_tools
='gnutar pax cpio none'
5512 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
5518 depcc
="$CC" am_compiler_list
=
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5521 $as_echo_n "checking dependency style of $depcc... " >&6; }
5522 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
5523 $as_echo_n "(cached) " >&6
5525 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5526 # We make a subdir and do the tests there. Otherwise we can end up
5527 # making bogus files that we don't know about and never remove. For
5528 # instance it was reported that on HP-UX the gcc test will end up
5529 # making a dummy file named 'D' -- because '-MD' means "put the output
5533 # Copy depcomp to subdir because otherwise we won't find it if we're
5534 # using a relative directory.
5535 cp "$am_depcomp" conftest.dir
5537 # We will build objects and dependencies in a subdirectory because
5538 # it helps to detect inapplicable dependency modes. For instance
5539 # both Tru64's cc and ICC support -MD to output dependencies as a
5540 # side effect of compilation, but ICC will put the dependencies in
5541 # the current directory while Tru64 will put them in the object
5545 am_cv_CC_dependencies_compiler_type
=none
5546 if test "$am_compiler_list" = ""; then
5547 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5550 case " $depcc " in #(
5551 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5554 for depmode
in $am_compiler_list; do
5555 # Setup a source with many dependencies, because some compilers
5556 # like to wrap large dependency lists on column 80 (with \), and
5557 # we should not choose a depcomp mode which is confused by this.
5559 # We need to recreate these files for each test, as the compiler may
5560 # overwrite some of them when testing with obscure command lines.
5561 # This happens at least with the AIX C compiler.
5563 for i
in 1 2 3 4 5 6; do
5564 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5565 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5566 # Solaris 10 /bin/sh.
5567 echo '/* dummy */' > sub
/conftst
$i.h
5569 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5571 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5572 # mode. It turns out that the SunPro C++ compiler does not properly
5573 # handle '-M -o', and we need to detect this. Also, some Intel
5574 # versions had trouble with output in subdirs.
5575 am__obj
=sub
/conftest.
${OBJEXT-o}
5576 am__minus_obj
="-o $am__obj"
5579 # This depmode causes a compiler race in universal mode.
5580 test "$am__universal" = false ||
continue
5583 # After this tag, mechanisms are not by side-effect, so they'll
5584 # only be used when explicitly requested.
5585 if test "x$enable_dependency_tracking" = xyes
; then
5591 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5592 # This compiler won't grok '-c -o', but also, the minuso test has
5593 # not run yet. These depmodes are late enough in the game, and
5594 # so weak that their functioning should not be impacted.
5595 am__obj
=conftest.
${OBJEXT-o}
5600 if depmode
=$depmode \
5601 source=sub
/conftest.c object
=$am__obj \
5602 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5603 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5604 >/dev
/null
2>conftest.err
&&
5605 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5606 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5607 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5608 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5609 # icc doesn't choke on unknown options, it will just issue warnings
5610 # or remarks (even with -Werror). So we grep stderr for any message
5611 # that says an option was ignored or not supported.
5612 # When given -MP, icc 7.0 and 7.1 complain thusly:
5613 # icc: Command line warning: ignoring option '-M'; no argument required
5614 # The diagnosis changed in icc 8.0:
5615 # icc: Command line remark: option '-MP' not supported
5616 if (grep 'ignoring option' conftest.err ||
5617 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5618 am_cv_CC_dependencies_compiler_type
=$depmode
5627 am_cv_CC_dependencies_compiler_type
=none
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5632 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5633 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5636 test "x$enable_dependency_tracking" != xno \
5637 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5639 am__fastdepCC_FALSE
='#'
5641 am__fastdepCC_TRUE
='#'
5642 am__fastdepCC_FALSE
=
5647 # POSIX will say in a future version that running "rm -f" with no argument
5648 # is OK; and we want to be able to make that assumption in our Makefile
5649 # recipes. So use an aggressive probe to check that the usage we want is
5650 # actually supported "in the wild" to an acceptable degree.
5651 # See automake bug#10828.
5652 # To make any issue more visible, cause the running configure to be aborted
5653 # by default if the 'rm' program in use doesn't match our expectations; the
5654 # user can still override this though.
5655 if rm -f && rm -fr && rm -rf; then : OK
; else
5659 Your 'rm' program seems unable to run without file operands specified
5660 on the command line, even when the '-f' option is present. This is contrary
5661 to the behaviour of most rm programs out there, and not conforming with
5662 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
5664 Please tell bug-automake@gnu.org about your system, including the value
5665 of your $PATH and any error possibly output before this message. This
5666 can help us improve future automake versions.
5669 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
5670 echo 'Configuration will proceed anyway, since you have set the' >&2
5671 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
5675 Aborting the configuration process, to ensure you take notice of the issue.
5677 You can download and install GNU coreutils to get an 'rm' implementation
5678 that behaves properly: <http://www.gnu.org/software/coreutils/>.
5680 If you want to complete the configuration process using your problematic
5681 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5682 to "yes", and re-run configure.
5685 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
5689 # Check whether --enable-silent-rules was given.
5690 if test "${enable_silent_rules+set}" = set; then :
5691 enableval
=$enable_silent_rules;
5694 case $enable_silent_rules in # (((
5695 yes) AM_DEFAULT_VERBOSITY
=0;;
5696 no
) AM_DEFAULT_VERBOSITY
=1;;
5697 *) AM_DEFAULT_VERBOSITY
=0;;
5699 am_make
=${MAKE-make}
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5701 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5702 if ${am_cv_make_support_nested_variables+:} false
; then :
5703 $as_echo_n "(cached) " >&6
5705 if $as_echo 'TRUE=$(BAR$(V))
5711 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5712 am_cv_make_support_nested_variables
=yes
5714 am_cv_make_support_nested_variables
=no
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5718 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5719 if test $am_cv_make_support_nested_variables = yes; then
5721 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5723 AM_V
=$AM_DEFAULT_VERBOSITY
5724 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5728 ac_config_headers="$ac_config_headers config.h:config.hin"
5733 # Check whether --enable-static was given.
5734 if test "${enable_static+set}" = set; then :
5735 enableval=$enable_static; p=${PACKAGE-default}
5737 yes) enable_static=yes ;;
5738 no) enable_static=no ;;
5741 # Look at the argument we got. We use all the common list separators.
5742 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
5743 for pkg in $enableval; do
5745 if test "X$pkg" = "X$p"; then
5764 # Check whether --enable-shared was given.
5765 if test "${enable_shared+set}" = set; then :
5766 enableval=$enable_shared; p=${PACKAGE-default}
5768 yes) enable_shared=yes ;;
5769 no) enable_shared=no ;;
5772 # Look at the argument we got. We use all the common list separators.
5773 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
5774 for pkg in $enableval; do
5776 if test "X$pkg" = "X$p"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5798 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5803 macro_version='2.4.2.418'
5804 macro_revision='2.4.2.418'
5818 ltmain=$ac_aux_dir/ltmain.sh
5820 # Backslashify metacharacters that are still active within
5821 # double-quoted strings.
5822 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
5824 # Same as above, but do not quote variable references.
5825 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5827 # Sed substitution to delay expansion of an escaped shell variable in a
5828 # double_quote_subst'ed string.
5829 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5831 # Sed substitution to delay expansion of an escaped single quote.
5832 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5834 # Sed substitution to avoid accidental globbing in evaled expressions
5835 no_glob_subst='s/\*/\\\*/g'
5837 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5838 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5839 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5842 $as_echo_n "checking how to print strings... " >&6; }
5843 # Test print first, because it will be a builtin if present.
5844 if test "X`( print
-r -- -n ) 2>/dev
/null
`" = X-n && \
5845 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
5847 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
5850 # Use this function as a fallback that always works.
5851 func_fallback_echo ()
5853 eval 'cat <<_LTECHO_EOF
5857 ECHO='func_fallback_echo'
5860 # func_echo_all arg...
5861 # Invoke $ECHO with all args, space-separated.
5868 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5869 $as_echo "printf" >&6; } ;;
5870 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5871 $as_echo "print -r" >&6; } ;;
5872 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5873 $as_echo "cat" >&6; } ;;
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5890 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5891 if ${ac_cv_path_SED+:} false; then :
5892 $as_echo_n "(cached) " >&6
5894 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5895 for ac_i in 1 2 3 4 5 6 7; do
5896 ac_script="$ac_script$as_nl$ac_script"
5898 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5899 { ac_script=; unset ac_script;}
5900 if test -z "$SED"; then
5901 ac_path_SED_found=false
5902 # Loop through the user's path and test for each of PROGNAME-LIST
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir=.
5908 for ac_prog in sed gsed; do
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5911 as_fn_executable_p "$ac_path_SED" || continue
5912 # Check for GNU ac_path_SED and select it if it is found.
5913 # Check for GNU $ac_path_SED
5914 case `"$ac_path_SED" --version 2>&1` in
5916 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5919 $as_echo_n 0123456789 >"conftest.in"
5922 cat "conftest.in" "conftest.in" >"conftest.tmp"
5923 mv "conftest.tmp" "conftest.in"
5924 cp "conftest.in" "conftest.nl"
5925 $as_echo '' >> "conftest.nl"
5926 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5927 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5928 as_fn_arith $ac_count + 1 && ac_count=$as_val
5929 if test $ac_count -gt ${ac_path_SED_max-0}; then
5930 # Best one so far, save it but keep looking for a better one
5931 ac_cv_path_SED="$ac_path_SED"
5932 ac_path_SED_max=$ac_count
5934 # 10*(2^10) chars as input seems more than enough
5935 test $ac_count -gt 10 && break
5937 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5940 $ac_path_SED_found && break 3
5945 if test -z "$ac_cv_path_SED"; then
5946 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5954 $as_echo "$ac_cv_path_SED" >&6; }
5955 SED="$ac_cv_path_SED"
5958 test -z "$SED" && SED=sed
5959 Xsed="$SED -e 1s/^X//"
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5972 $as_echo_n "checking for fgrep... " >&6; }
5973 if ${ac_cv_path_FGREP+:} false; then :
5974 $as_echo_n "(cached) " >&6
5976 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5977 then ac_cv_path_FGREP="$GREP -F"
5979 if test -z "$FGREP"; then
5980 ac_path_FGREP_found=false
5981 # Loop through the user's path and test for each of PROGNAME-LIST
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5986 test -z "$as_dir" && as_dir=.
5987 for ac_prog in fgrep; do
5988 for ac_exec_ext in '' $ac_executable_extensions; do
5989 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5990 as_fn_executable_p "$ac_path_FGREP" || continue
5991 # Check for GNU ac_path_FGREP and select it if it is found.
5992 # Check for GNU $ac_path_FGREP
5993 case `"$ac_path_FGREP" --version 2>&1` in
5995 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5998 $as_echo_n 0123456789 >"conftest.in"
6001 cat "conftest.in" "conftest.in" >"conftest.tmp"
6002 mv "conftest.tmp" "conftest.in"
6003 cp "conftest.in" "conftest.nl"
6004 $as_echo 'FGREP' >> "conftest.nl"
6005 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6006 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6007 as_fn_arith $ac_count + 1 && ac_count=$as_val
6008 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6009 # Best one so far, save it but keep looking for a better one
6010 ac_cv_path_FGREP="$ac_path_FGREP"
6011 ac_path_FGREP_max=$ac_count
6013 # 10*(2^10) chars as input seems more than enough
6014 test $ac_count -gt 10 && break
6016 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6019 $ac_path_FGREP_found && break 3
6024 if test -z "$ac_cv_path_FGREP"; then
6025 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6028 ac_cv_path_FGREP=$FGREP
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6034 $as_echo "$ac_cv_path_FGREP" >&6; }
6035 FGREP="$ac_cv_path_FGREP"
6038 test -z "$GREP" && GREP=grep
6058 # Check whether --with-gnu-ld was given.
6059 if test "${with_gnu_ld+set}" = set; then :
6060 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6066 if test yes = "$GCC"; then
6067 # Check if gcc -print-prog-name=ld gives a path.
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6069 $as_echo_n "checking for ld used by $CC... " >&6; }
6072 # gcc leaves a trailing carriage return, which upsets mingw
6073 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6075 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6078 # Accept absolute paths.
6080 re_direlt='/[^/][^/]*/\.\./'
6081 # Canonicalize the pathname of ld
6082 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6083 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6084 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6086 test -z "$LD" && LD=$ac_prog
6089 # If it fails, then pretend we aren't using GCC.
6093 # If it is relative, then search for the first ld in PATH.
6097 elif test yes = "$with_gnu_ld"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6099 $as_echo_n "checking for GNU ld... " >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6102 $as_echo_n "checking for non-GNU ld... " >&6; }
6104 if ${lt_cv_path_LD+:} false; then :
6105 $as_echo_n "(cached) " >&6
6107 if test -z "$LD"; then
6108 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6109 for ac_dir in $PATH; do
6111 test -z "$ac_dir" && ac_dir=.
6112 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6113 lt_cv_path_LD=$ac_dir/$ac_prog
6114 # Check to see if the program is GNU ld. I'd rather use --version,
6115 # but apparently some variants of GNU ld only accept -v.
6116 # Break only if it was the GNU/non-GNU ld that we prefer.
6117 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6118 *GNU* | *'with BFD'*)
6119 test no != "$with_gnu_ld" && break
6122 test yes != "$with_gnu_ld" && break
6129 lt_cv_path_LD=$LD # Let the user override the test with a path.
6134 if test -n "$LD"; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6136 $as_echo "$LD" >&6; }
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6139 $as_echo "no" >&6; }
6141 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6143 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6144 if ${lt_cv_prog_gnu_ld+:} false; then :
6145 $as_echo_n "(cached) " >&6
6147 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6148 case `$LD -v 2>&1 </dev
/null
` in
6149 *GNU* | *'with BFD'*)
6150 lt_cv_prog_gnu_ld=yes
6153 lt_cv_prog_gnu_ld=no
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6158 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6159 with_gnu_ld=$lt_cv_prog_gnu_ld
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6170 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6171 if ${lt_cv_path_NM+:} false; then :
6172 $as_echo_n "(cached) " >&6
6174 if test -n "$NM"; then
6175 # Let the user override the test.
6178 lt_nm_to_check=${ac_tool_prefix}nm
6179 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6180 lt_nm_to_check="$lt_nm_to_check nm"
6182 for lt_tmp_nm in $lt_nm_to_check; do
6183 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6184 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6186 test -z "$ac_dir" && ac_dir=.
6187 tmp_nm=$ac_dir/$lt_tmp_nm
6188 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6189 # Check to see if the nm accepts a BSD-compat flag.
6190 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6191 # nm: unknown option "B" ignored
6192 # Tru64's nm complains that /dev/null is an invalid object file
6193 case `"$tmp_nm" -B /dev
/null
2>&1 |
sed '1q'` in
6194 */dev/null* | *'Invalid file or object type'*)
6195 lt_cv_path_NM="$tmp_nm -B"
6199 case `"$tmp_nm" -p /dev
/null
2>&1 |
sed '1q'` in
6201 lt_cv_path_NM="$tmp_nm -p"
6205 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6206 continue # so that we can try to find one that supports BSD flags
6215 : ${lt_cv_path_NM=no}
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6219 $as_echo "$lt_cv_path_NM" >&6; }
6220 if test no != "$lt_cv_path_NM"; then
6223 # Didn't find any BSD compatible name lister, look for dumpbin.
6224 if test -n "$DUMPBIN"; then :
6225 # Let the user override the test.
6227 if test -n "$ac_tool_prefix"; then
6228 for ac_prog in dumpbin "link -dump"
6230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233 $as_echo_n "checking for $ac_word... " >&6; }
6234 if ${ac_cv_prog_DUMPBIN+:} false; then :
6235 $as_echo_n "(cached) " >&6
6237 if test -n "$DUMPBIN"; then
6238 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 test -z "$as_dir" && as_dir=.
6245 for ac_exec_ext in '' $ac_executable_extensions; do
6246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6247 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 DUMPBIN=$ac_cv_prog_DUMPBIN
6258 if test -n "$DUMPBIN"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6260 $as_echo "$DUMPBIN" >&6; }
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6267 test -n "$DUMPBIN" && break
6270 if test -z "$DUMPBIN"; then
6271 ac_ct_DUMPBIN=$DUMPBIN
6272 for ac_prog in dumpbin "link -dump"
6274 # Extract the first word of "$ac_prog", so it can be a program name with args.
6275 set dummy $ac_prog; ac_word=$2
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6277 $as_echo_n "checking for $ac_word... " >&6; }
6278 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6279 $as_echo_n "(cached) " >&6
6281 if test -n "$ac_ct_DUMPBIN"; then
6282 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6301 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6302 if test -n "$ac_ct_DUMPBIN"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6304 $as_echo "$ac_ct_DUMPBIN" >&6; }
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307 $as_echo "no" >&6; }
6311 test -n "$ac_ct_DUMPBIN" && break
6314 if test "x$ac_ct_DUMPBIN" = x; then
6317 case $cross_compiling:$ac_tool_warned in
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6321 ac_tool_warned=yes ;;
6323 DUMPBIN=$ac_ct_DUMPBIN
6327 case `$DUMPBIN -symbols -headers /dev
/null
2>&1 |
sed '1q'` in
6329 DUMPBIN="$DUMPBIN -symbols -headers"
6337 if test : != "$DUMPBIN"; then
6341 test -z "$NM" && NM=nm
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6349 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6350 if ${lt_cv_nm_interface+:} false; then :
6351 $as_echo_n "(cached) " >&6
6353 lt_cv_nm_interface="BSD nm"
6354 echo "int some_variable = 0;" > conftest.$ac_ext
6355 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6356 (eval "$ac_compile" 2>conftest.err)
6357 cat conftest.err >&5
6358 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6359 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6360 cat conftest.err >&5
6361 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6362 cat conftest.out >&5
6363 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6364 lt_cv_nm_interface="MS dumpbin"
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6369 $as_echo "$lt_cv_nm_interface" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6372 $as_echo_n "checking whether ln -s works... " >&6; }
6374 if test "$LN_S" = "ln -s"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6376 $as_echo "yes" >&6; }
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6379 $as_echo "no, using $LN_S" >&6; }
6382 # find the maximum length of command line arguments
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6384 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6385 if ${lt_cv_sys_max_cmd_len+:} false; then :
6386 $as_echo_n "(cached) " >&6
6393 # On DJGPP, this test can blow up pretty badly due to problems in libc
6394 # (any single argument exceeding 2000 bytes causes a buffer overrun
6395 # during glob expansion). Even if it were fixed, the result of this
6396 # check would be larger than it should be.
6397 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6401 # Under GNU Hurd, this test is not required because there is
6402 # no limit to the length of command line arguments.
6403 # Libtool will interpret -1 as no limit whatsoever
6404 lt_cv_sys_max_cmd_len=-1;
6407 cygwin* | mingw* | cegcc*)
6408 # On Win9x/ME, this test blows up -- it succeeds, but takes
6409 # about 5 minutes as the teststring grows exponentially.
6410 # Worse, since 9x/ME are not pre-emptively multitasking,
6411 # you end up with a "frozen" computer, even though with patience
6412 # the test eventually succeeds (with a max line length of 256k).
6413 # Instead, let's just punt: use the minimum linelength reported by
6414 # all of the supported platforms: 8192 (on NT/2K/XP).
6415 lt_cv_sys_max_cmd_len=8192;
6419 # On MiNT this can take a long time and run out of memory.
6420 lt_cv_sys_max_cmd_len=8192;
6424 # On AmigaOS with pdksh, this test takes hours, literally.
6425 # So we just punt and use a minimum line length of 8192.
6426 lt_cv_sys_max_cmd_len=8192;
6429 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6430 # This has been around since 386BSD, at least. Likely further.
6431 if test -x /sbin/sysctl; then
6432 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
6433 elif test -x /usr/sbin/sysctl; then
6434 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
6436 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6438 # And add a safety zone
6439 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
6440 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
6444 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6445 lt_cv_sys_max_cmd_len=196608
6449 # The test takes a long time on OS/2.
6450 lt_cv_sys_max_cmd_len=8192
6454 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6455 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6456 # nice to cause kernel panics so lets avoid the loop below.
6457 # First set a reasonable default.
6458 lt_cv_sys_max_cmd_len=16384
6460 if test -x /sbin/sysconfig; then
6461 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
6462 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6467 lt_cv_sys_max_cmd_len=102400
6469 sysv5* | sco5v6* | sysv4.2uw2*)
6470 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
6471 if test -n "$kargmax"; then
6472 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
6474 lt_cv_sys_max_cmd_len=32768
6478 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX
) 2> /dev
/null
`
6479 if test -n "$lt_cv_sys_max_cmd_len" && \
6480 test undefined != "$lt_cv_sys_max_cmd_len"; then
6481 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
6482 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
6484 # Make teststring a little bigger before we do anything with it.
6485 # a 1K string should be a reasonable start.
6486 for i in 1 2 3 4 5 6 7 8; do
6487 teststring=$teststring$teststring
6489 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6490 # If test is not a shell built-in, we'll probably end up computing a
6491 # maximum length that is only half of the actual maximum length, but
6493 while { test X`env
echo "$teststring$teststring" 2>/dev
/null
` \
6494 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6495 test 17 != "$i" # 1/2 MB should be enough
6498 teststring=$teststring$teststring
6500 # Only check the string length outside the loop.
6501 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6503 # Add a significant safety factor because C++ compilers can tack on
6504 # massive amounts of additional arguments before passing them to the
6505 # linker. It appears as though 1/2 is a usable value.
6506 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
6513 if test -n "$lt_cv_sys_max_cmd_len"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6515 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6518 $as_echo "none" >&6; }
6520 max_cmd_len=$lt_cv_sys_max_cmd_len
6531 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6541 # test EBCDIC or ASCII
6542 case `echo X|
tr X
'\101'` in
6543 A) # ASCII based system
6544 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6545 lt_SP2NL='tr \040 \012'
6546 lt_NL2SP='tr \015\012 \040\040'
6548 *) # EBCDIC based system
6549 lt_SP2NL='tr \100 \n'
6550 lt_NL2SP='tr \r\n \100\100'
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6563 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6564 if ${lt_cv_to_host_file_cmd+:} false; then :
6565 $as_echo_n "(cached) " >&6
6570 *-*-mingw* ) # actually msys
6571 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6574 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6576 * ) # otherwise, assume *nix
6577 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6583 *-*-mingw* ) # actually msys
6584 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6587 lt_cv_to_host_file_cmd=func_convert_file_noop
6589 * ) # otherwise, assume *nix
6590 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6594 * ) # unhandled hosts (and "normal" native builds)
6595 lt_cv_to_host_file_cmd=func_convert_file_noop
6601 to_host_file_cmd=$lt_cv_to_host_file_cmd
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6603 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6610 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6611 if ${lt_cv_to_tool_file_cmd+:} false; then :
6612 $as_echo_n "(cached) " >&6
6614 #assume ordinary cross tools, or native build.
6615 lt_cv_to_tool_file_cmd=func_convert_file_noop
6619 *-*-mingw* ) # actually msys
6620 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6628 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6630 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6637 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6638 if ${lt_cv_ld_reload_flag+:} false; then :
6639 $as_echo_n "(cached) " >&6
6641 lt_cv_ld_reload_flag='-r'
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6644 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6645 reload_flag=$lt_cv_ld_reload_flag
6646 case $reload_flag in
6648 *) reload_flag=" $reload_flag" ;;
6650 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6652 cygwin* | mingw* | pw32* | cegcc*)
6653 if test yes != "$GCC"; then
6658 if test yes = "$GCC"; then
6659 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6661 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6674 if test -n "$ac_tool_prefix"; then
6675 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6676 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 $as_echo_n "checking for $ac_word... " >&6; }
6679 if ${ac_cv_prog_OBJDUMP+:} false; then :
6680 $as_echo_n "(cached) " >&6
6682 if test -n "$OBJDUMP"; then
6683 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689 test -z "$as_dir" && as_dir=.
6690 for ac_exec_ext in '' $ac_executable_extensions; do
6691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6692 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6702 OBJDUMP=$ac_cv_prog_OBJDUMP
6703 if test -n "$OBJDUMP"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6705 $as_echo "$OBJDUMP" >&6; }
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6713 if test -z "$ac_cv_prog_OBJDUMP"; then
6714 ac_ct_OBJDUMP=$OBJDUMP
6715 # Extract the first word of "objdump", so it can be a program name with args.
6716 set dummy objdump; ac_word=$2
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 $as_echo_n "checking for $ac_word... " >&6; }
6719 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6720 $as_echo_n "(cached) " >&6
6722 if test -n "$ac_ct_OBJDUMP"; then
6723 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729 test -z "$as_dir" && as_dir=.
6730 for ac_exec_ext in '' $ac_executable_extensions; do
6731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6732 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6742 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6743 if test -n "$ac_ct_OBJDUMP"; then
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6745 $as_echo "$ac_ct_OBJDUMP" >&6; }
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 $as_echo "no" >&6; }
6751 if test "x$ac_ct_OBJDUMP" = x; then
6754 case $cross_compiling:$ac_tool_warned in
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6758 ac_tool_warned=yes ;;
6760 OBJDUMP=$ac_ct_OBJDUMP
6763 OBJDUMP="$ac_cv_prog_OBJDUMP"
6766 test -z "$OBJDUMP" && OBJDUMP=objdump
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6777 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6778 if ${lt_cv_deplibs_check_method+:} false; then :
6779 $as_echo_n "(cached) " >&6
6781 lt_cv_file_magic_cmd='$MAGIC_CMD'
6782 lt_cv_file_magic_test_file=
6783 lt_cv_deplibs_check_method='unknown'
6784 # Need to set the preceding variable on all platforms that support
6785 # interlibrary dependencies.
6786 # 'none' -- dependencies not supported.
6787 # 'unknown' -- same as none, but documents that we really don't know.
6788 # 'pass_all' -- all dependencies passed with no checks.
6789 # 'test_compile' -- check by making test program.
6790 # 'file_magic [[regex]]' -- check by looking for files in library path
6791 # that responds to the $file_magic_cmd with a given extended regex.
6792 # If you have 'file' or equivalent on your system and you're not sure
6793 # whether 'pass_all' will *always* work, you probably want this one.
6797 lt_cv_deplibs_check_method=pass_all
6801 lt_cv_deplibs_check_method=pass_all
6805 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6806 lt_cv_file_magic_cmd='/usr/bin/file -L'
6807 lt_cv_file_magic_test_file=/shlib/libc.so
6811 # func_win32_libid is a shell function defined in ltmain.sh
6812 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6813 lt_cv_file_magic_cmd='func_win32_libid'
6817 # Base MSYS/MinGW do not provide the 'file' command needed by
6818 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6819 # unless we find 'file', for example because we are cross-compiling.
6820 if ( file / ) >/dev/null 2>&1; then
6821 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6822 lt_cv_file_magic_cmd='func_win32_libid'
6824 # Keep this pattern in sync with the one in func_win32_libid.
6825 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6826 lt_cv_file_magic_cmd='$OBJDUMP -f'
6831 # use the weaker test based on 'objdump'. See mingw*.
6832 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6833 lt_cv_file_magic_cmd='$OBJDUMP -f'
6836 darwin* | rhapsody*)
6837 lt_cv_deplibs_check_method=pass_all
6840 freebsd* | dragonfly*)
6841 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6844 # Not sure whether the presence of OpenBSD here was a mistake.
6845 # Let's accept both of them until this is cleared up.
6846 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6847 lt_cv_file_magic_cmd=/usr/bin/file
6848 lt_cv_file_magic_test_file=`echo /usr
/lib
/libc.so.
*`
6852 lt_cv_deplibs_check_method=pass_all
6857 lt_cv_deplibs_check_method=pass_all
6860 hpux10.20* | hpux11*)
6861 lt_cv_file_magic_cmd=/usr/bin/file
6864 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6865 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6868 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]'
6869 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6872 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6873 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6879 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6880 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6883 irix5* | irix6* | nonstopux*)
6885 *-32|*"-32 ") libmagic=32-bit;;
6886 *-n32|*"-n32 ") libmagic=N32;;
6887 *-64|*"-64 ") libmagic=64-bit;;
6888 *) libmagic=never-match;;
6890 lt_cv_deplibs_check_method=pass_all
6893 # This must be glibc/ELF.
6894 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6895 lt_cv_deplibs_check_method=pass_all
6899 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6900 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6902 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6907 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6908 lt_cv_file_magic_cmd=/usr/bin/file
6909 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6913 lt_cv_deplibs_check_method=pass_all
6917 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`"; then
6918 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6920 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6924 osf3* | osf4* | osf5*)
6925 lt_cv_deplibs_check_method=pass_all
6929 lt_cv_deplibs_check_method=pass_all
6933 lt_cv_deplibs_check_method=pass_all
6936 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6937 lt_cv_deplibs_check_method=pass_all
6941 case $host_vendor in
6943 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]'
6944 lt_cv_file_magic_test_file=`echo /usr
/lib
/libc.so
*`
6947 lt_cv_deplibs_check_method=pass_all
6950 lt_cv_file_magic_cmd='/bin/file'
6951 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6954 lt_cv_file_magic_cmd='/bin/file'
6955 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6956 lt_cv_file_magic_test_file=/lib/libc.so
6959 lt_cv_deplibs_check_method=pass_all
6962 lt_cv_deplibs_check_method=pass_all
6968 lt_cv_deplibs_check_method=pass_all
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6974 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6978 if test "$build" = "$host"; then
6981 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6984 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ |
$SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6990 file_magic_cmd=$lt_cv_file_magic_cmd
6991 deplibs_check_method=$lt_cv_deplibs_check_method
6992 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7015 if test -n "$ac_tool_prefix"; then
7016 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7017 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019 $as_echo_n "checking for $ac_word... " >&6; }
7020 if ${ac_cv_prog_DLLTOOL+:} false; then :
7021 $as_echo_n "(cached) " >&6
7023 if test -n "$DLLTOOL"; then
7024 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030 test -z "$as_dir" && as_dir=.
7031 for ac_exec_ext in '' $ac_executable_extensions; do
7032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7033 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7043 DLLTOOL=$ac_cv_prog_DLLTOOL
7044 if test -n "$DLLTOOL"; then
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7046 $as_echo "$DLLTOOL" >&6; }
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 $as_echo "no" >&6; }
7054 if test -z "$ac_cv_prog_DLLTOOL"; then
7055 ac_ct_DLLTOOL=$DLLTOOL
7056 # Extract the first word of "dlltool", so it can be a program name with args.
7057 set dummy dlltool; ac_word=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 $as_echo_n "checking for $ac_word... " >&6; }
7060 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7061 $as_echo_n "(cached) " >&6
7063 if test -n "$ac_ct_DLLTOOL"; then
7064 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 test -z "$as_dir" && as_dir=.
7071 for ac_exec_ext in '' $ac_executable_extensions; do
7072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7073 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7084 if test -n "$ac_ct_DLLTOOL"; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7086 $as_echo "$ac_ct_DLLTOOL" >&6; }
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 $as_echo "no" >&6; }
7092 if test "x$ac_ct_DLLTOOL" = x; then
7095 case $cross_compiling:$ac_tool_warned in
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7099 ac_tool_warned=yes ;;
7101 DLLTOOL=$ac_ct_DLLTOOL
7104 DLLTOOL="$ac_cv_prog_DLLTOOL"
7107 test -z "$DLLTOOL" && DLLTOOL=dlltool
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7119 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7120 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7121 $as_echo_n "(cached) " >&6
7123 lt_cv_sharedlib_from_linklib_cmd='unknown'
7126 cygwin* | mingw* | pw32* | cegcc*)
7127 # two different shell functions defined in ltmain.sh;
7128 # decide which one to use based on capabilities of $DLLTOOL
7129 case `$DLLTOOL --help 2>&1` in
7130 *--identify-strict*)
7131 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7134 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7139 # fallback: assume linklib IS sharedlib
7140 lt_cv_sharedlib_from_linklib_cmd=$ECHO
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7146 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7147 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7148 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7156 if test -n "$ac_tool_prefix"; then
7159 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7160 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 $as_echo_n "checking for $ac_word... " >&6; }
7163 if ${ac_cv_prog_AR+:} false; then :
7164 $as_echo_n "(cached) " >&6
7166 if test -n "$AR"; then
7167 ac_cv_prog_AR="$AR" # Let the user override the test.
7169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7173 test -z "$as_dir" && as_dir=.
7174 for ac_exec_ext in '' $ac_executable_extensions; do
7175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7176 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7187 if test -n "$AR"; then
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7189 $as_echo "$AR" >&6; }
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7192 $as_echo "no" >&6; }
7196 test -n "$AR" && break
7199 if test -z "$AR"; then
7203 # Extract the first word of "$ac_prog", so it can be a program name with args.
7204 set dummy $ac_prog; ac_word=$2
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 $as_echo_n "checking for $ac_word... " >&6; }
7207 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7208 $as_echo_n "(cached) " >&6
7210 if test -n "$ac_ct_AR"; then
7211 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7217 test -z "$as_dir" && as_dir=.
7218 for ac_exec_ext in '' $ac_executable_extensions; do
7219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7220 ac_cv_prog_ac_ct_AR="$ac_prog"
7221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7230 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7231 if test -n "$ac_ct_AR"; then
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7233 $as_echo "$ac_ct_AR" >&6; }
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7240 test -n "$ac_ct_AR" && break
7243 if test "x$ac_ct_AR" = x; then
7246 case $cross_compiling:$ac_tool_warned in
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7250 ac_tool_warned=yes ;;
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7270 $as_echo_n "checking for archiver @FILE support... " >&6; }
7271 if ${lt_cv_ar_at_file+:} false; then :
7272 $as_echo_n "(cached) " >&6
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7286 if ac_fn_c_try_compile "$LINENO"; then :
7287 echo conftest.$ac_objext > conftest.lst
7288 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7289 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7290 (eval $lt_ar_try) 2>&5
7292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7293 test $ac_status = 0; }
7294 if test 0 -eq "$ac_status"; then
7295 # Ensure the archiver fails upon bogus file names.
7296 rm -f conftest.$ac_objext libconftest.a
7297 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7298 (eval $lt_ar_try) 2>&5
7300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7301 test $ac_status = 0; }
7302 if test 0 -ne "$ac_status"; then
7306 rm -f conftest.* libconftest.a
7309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7313 $as_echo "$lt_cv_ar_at_file" >&6; }
7315 if test no = "$lt_cv_ar_at_file"; then
7318 archiver_list_spec=$lt_cv_ar_at_file
7327 if test -n "$ac_tool_prefix"; then
7328 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7329 set dummy ${ac_tool_prefix}strip; ac_word=$2
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331 $as_echo_n "checking for $ac_word... " >&6; }
7332 if ${ac_cv_prog_STRIP+:} false; then :
7333 $as_echo_n "(cached) " >&6
7335 if test -n "$STRIP"; then
7336 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7342 test -z "$as_dir" && as_dir=.
7343 for ac_exec_ext in '' $ac_executable_extensions; do
7344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7345 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 STRIP=$ac_cv_prog_STRIP
7356 if test -n "$STRIP"; then
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7358 $as_echo "$STRIP" >&6; }
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7361 $as_echo "no" >&6; }
7366 if test -z "$ac_cv_prog_STRIP"; then
7368 # Extract the first word of "strip", so it can be a program name with args.
7369 set dummy strip; ac_word=$2
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7373 $as_echo_n "(cached) " >&6
7375 if test -n "$ac_ct_STRIP"; then
7376 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 test -z "$as_dir" && as_dir=.
7383 for ac_exec_ext in '' $ac_executable_extensions; do
7384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7385 ac_cv_prog_ac_ct_STRIP="strip"
7386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7396 if test -n "$ac_ct_STRIP"; then
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7398 $as_echo "$ac_ct_STRIP" >&6; }
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7401 $as_echo "no" >&6; }
7404 if test "x$ac_ct_STRIP" = x; then
7407 case $cross_compiling:$ac_tool_warned in
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7411 ac_tool_warned=yes ;;
7416 STRIP="$ac_cv_prog_STRIP"
7419 test -z "$STRIP" && STRIP=:
7426 if test -n "$ac_tool_prefix"; then
7427 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7428 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if ${ac_cv_prog_RANLIB+:} false; then :
7432 $as_echo_n "(cached) " >&6
7434 if test -n "$RANLIB"; then
7435 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 test -z "$as_dir" && as_dir=.
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7444 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7454 RANLIB=$ac_cv_prog_RANLIB
7455 if test -n "$RANLIB"; then
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7457 $as_echo "$RANLIB" >&6; }
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7465 if test -z "$ac_cv_prog_RANLIB"; then
7466 ac_ct_RANLIB=$RANLIB
7467 # Extract the first word of "ranlib", so it can be a program name with args.
7468 set dummy ranlib; ac_word=$2
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7470 $as_echo_n "checking for $ac_word... " >&6; }
7471 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7472 $as_echo_n "(cached) " >&6
7474 if test -n "$ac_ct_RANLIB"; then
7475 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 test -z "$as_dir" && as_dir=.
7482 for ac_exec_ext in '' $ac_executable_extensions; do
7483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7484 ac_cv_prog_ac_ct_RANLIB="ranlib"
7485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7494 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7495 if test -n "$ac_ct_RANLIB"; then
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7497 $as_echo "$ac_ct_RANLIB" >&6; }
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500 $as_echo "no" >&6; }
7503 if test "x$ac_ct_RANLIB" = x; then
7506 case $cross_compiling:$ac_tool_warned in
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7510 ac_tool_warned=yes ;;
7512 RANLIB=$ac_ct_RANLIB
7515 RANLIB="$ac_cv_prog_RANLIB"
7518 test -z "$RANLIB" && RANLIB=:
7525 # Determine commands to create old-style static archives.
7526 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7527 old_postinstall_cmds='chmod 644 $oldlib'
7528 old_postuninstall_cmds=
7530 if test -n "$RANLIB"; then
7533 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7536 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7539 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7544 lock_old_archive_extraction=yes ;;
7546 lock_old_archive_extraction=no ;;
7587 # If no C compiler was specified, use CC.
7590 # If no C compiler flags were specified, use CFLAGS.
7591 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7593 # Allow CC to be a program name with arguments.
7597 # Check for command to grab the raw symbol name followed by C symbol from nm.
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7599 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7600 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7601 $as_echo_n "(cached) " >&6
7604 # These are sane defaults that work on at least a few old systems.
7605 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7607 # Character class describing NM global symbol codes.
7608 symcode='[BCDEGRST]'
7610 # Regexp to match symbols that can be accessed directly from C.
7611 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7613 # Define system-specific variables.
7618 cygwin* | mingw* | pw32* | cegcc*)
7619 symcode='[ABCDGISTW]'
7622 if test ia64 = "$host_cpu"; then
7623 symcode='[ABCDEGRST]'
7627 symcode='[BCDEGRST]'
7630 symcode='[BCDEGQRST]'
7641 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7649 # If we're using GNU nm, then use its standard symbol codes.
7650 case `$NM -V 2>&1` in
7651 *GNU* | *'with BFD'*)
7652 symcode='[ABCDGIRSTW]' ;;
7655 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7656 # Gets list of data symbols to import.
7657 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7658 # Adjust the below global symbol transforms to fixup imported variables.
7659 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7660 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7661 lt_c_name_lib_hook="\
7662 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7663 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7665 # Disable hooks by default.
7666 lt_cv_sys_global_symbol_to_import=
7672 # Transform an extracted symbol line into a proper C declaration.
7673 # Some systems (esp. on ia64) link data and code symbols differently,
7674 # so use this general approach.
7675 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7677 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7678 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7680 # Transform an extracted symbol line into symbol name and symbol address
7681 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7683 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7684 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7686 # Transform an extracted symbol line into symbol name with lib prefix and
7688 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7689 $lt_c_name_lib_hook\
7690 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7691 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7692 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7694 # Handle CRLF in mingw tool chain
7698 opt_cr=`$ECHO 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
7702 # Try without a prefix underscore, then with it.
7703 for ac_symprfx in "" "_"; do
7705 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7706 symxfrm="\\1 $ac_symprfx\\2 \\2"
7708 # Write the raw and C identifiers.
7709 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7710 # Fake it for dumpbin and say T for any non-static function,
7711 # D for any global variable and I for any imported variable.
7712 # Also find C++ and __fastcall symbols from MSVC++,
7713 # which start with @ or ?.
7714 lt_cv_sys_global_symbol_pipe="$AWK '"\
7715 " {last_section=section; section=\$ 3};"\
7716 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7717 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7718 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7719 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7720 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7721 " \$ 0!~/External *\|/{next};"\
7722 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7723 " {if(hide[section]) next};"\
7724 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7725 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7726 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7727 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7728 " ' prfx=^$ac_symprfx"
7730 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7732 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7734 # Check to see that the pipe works correctly.
7738 cat > conftest.$ac_ext <<_LT_EOF
7743 void nm_test_func(void);
7744 void nm_test_func(void){}
7748 int main(){nm_test_var='a';nm_test_func();return(0);}
7751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7752 (eval $ac_compile) 2>&5
7754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7755 test $ac_status = 0; }; then
7756 # Now try to grab the symbols.
7758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7759 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7762 test $ac_status = 0; } && test -s "$nlist"; then
7763 # Try sorting and uniquifying the output.
7764 if sort "$nlist" | uniq > "$nlist"T; then
7765 mv -f "$nlist"T "$nlist"
7770 # Make sure that we snagged all the symbols we need.
7771 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7772 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7773 cat <<_LT_EOF > conftest.$ac_ext
7774 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7775 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7776 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7777 relocations are performed -- see ld's documentation on pseudo-relocs. */
7778 # define LT_DLSYM_CONST
7779 #elif defined __osf__
7780 /* This system does not cope well with relocations in const data. */
7781 # define LT_DLSYM_CONST
7783 # define LT_DLSYM_CONST const
7791 # Now generate the symbol file.
7792 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7794 cat <<_LT_EOF >> conftest.$ac_ext
7796 /* The mapping between symbol names and symbols. */
7797 LT_DLSYM_CONST struct {
7801 lt__PROGRAM__LTX_preloaded_symbols[] =
7803 { "@PROGRAM@", (void *) 0 },
7805 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7806 cat <<\_LT_EOF >> conftest.$ac_ext
7810 /* This works around a problem in FreeBSD linker */
7811 #ifdef FREEBSD_WORKAROUND
7812 static const void *lt_preloaded_setup() {
7813 return lt__PROGRAM__LTX_preloaded_symbols;
7821 # Now try linking the two files.
7822 mv conftest.$ac_objext conftstm.$ac_objext
7823 lt_globsym_save_LIBS=$LIBS
7824 lt_globsym_save_CFLAGS=$CFLAGS
7825 LIBS=conftstm.$ac_objext
7826 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7828 (eval $ac_link) 2>&5
7830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7831 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7834 LIBS=$lt_globsym_save_LIBS
7835 CFLAGS=$lt_globsym_save_CFLAGS
7837 echo "cannot find nm_test_func in $nlist" >&5
7840 echo "cannot find nm_test_var in $nlist" >&5
7843 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7846 echo "$progname: failed program was:" >&5
7847 cat conftest.$ac_ext >&5
7849 rm -rf conftest* conftst*
7851 # Do not use the global_symbol_pipe unless it works.
7852 if test yes = "$pipe_works"; then
7855 lt_cv_sys_global_symbol_pipe=
7861 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7862 lt_cv_sys_global_symbol_to_cdecl=
7864 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7866 $as_echo "failed" >&6; }
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7869 $as_echo "ok" >&6; }
7872 # Response file support.
7873 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7874 nm_file_list_spec='@'
7875 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7876 nm_file_list_spec='@'
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7916 $as_echo_n "checking for sysroot... " >&6; }
7918 # Check whether --with-sysroot was given.
7919 if test "${with_sysroot+set}" = set; then :
7920 withval=$with_sysroot;
7927 case $with_sysroot in #(
7929 if test yes = "$GCC"; then
7930 lt_sysroot=`$CC --print-sysroot 2>/dev
/null
`
7934 lt_sysroot=`echo "$with_sysroot" |
sed -e "$sed_quote_subst"`
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7940 $as_echo "$with_sysroot" >&6; }
7941 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7946 $as_echo "${lt_sysroot:-no}" >&6; }
7952 # Check whether --enable-libtool-lock was given.
7953 if test "${enable_libtool_lock+set}" = set; then :
7954 enableval=$enable_libtool_lock;
7957 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7959 # Some flags need to be propagated to the compiler or linker for good
7963 # Find out what ABI is being produced by ac_compile, and set mode
7964 # options accordingly.
7965 echo 'int i;' > conftest.$ac_ext
7966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7967 (eval $ac_compile) 2>&5
7969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7970 test $ac_status = 0; }; then
7971 case `/usr
/bin
/file conftest.
$ac_objext` in
7983 # Find out what ABI is being produced by ac_compile, and set linker
7984 # options accordingly.
7985 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7987 (eval $ac_compile) 2>&5
7989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7990 test $ac_status = 0; }; then
7991 if test yes = "$lt_cv_prog_gnu_ld"; then
7992 case `/usr
/bin
/file conftest.
$ac_objext` in
7994 LD="${LD-ld} -melf32bsmip"
7997 LD="${LD-ld} -melf32bmipn32"
8000 LD="${LD-ld} -melf64bmip"
8004 case `/usr
/bin
/file conftest.
$ac_objext` in
8021 # Find out what ABI is being produced by ac_compile, and set linker
8022 # options accordingly.
8023 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8025 (eval $ac_compile) 2>&5
8027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8028 test $ac_status = 0; }; then
8030 case `/usr
/bin
/file conftest.
$ac_objext` in
8038 case `/usr
/bin
/file conftest.
$ac_objext` in
8040 emul="${emul}btsmip"
8043 emul="${emul}ltsmip"
8046 case `/usr
/bin
/file conftest.
$ac_objext` in
8051 LD="${LD-ld} -m $emul"
8056 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8057 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8058 # Find out what ABI is being produced by ac_compile, and set linker
8059 # options accordingly. Note that the listed cases only cover the
8060 # situations where additional linker options are needed (such as when
8061 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8062 # vice versa); the common cases where no linker options are needed do
8063 # not appear in the list.
8064 echo 'int i;' > conftest.$ac_ext
8065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8066 (eval $ac_compile) 2>&5
8068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8069 test $ac_status = 0; }; then
8070 case `/usr
/bin
/file conftest.o
` in
8073 x86_64-*kfreebsd*-gnu)
8074 LD="${LD-ld} -m elf_i386_fbsd"
8077 case `/usr
/bin
/file conftest.o
` in
8079 LD="${LD-ld} -m elf32_x86_64"
8082 LD="${LD-ld} -m elf_i386"
8086 powerpc64le-*linux*)
8087 LD="${LD-ld} -m elf32lppclinux"
8090 LD="${LD-ld} -m elf32ppclinux"
8093 LD="${LD-ld} -m elf_s390"
8096 LD="${LD-ld} -m elf32_sparc"
8102 x86_64-*kfreebsd*-gnu)
8103 LD="${LD-ld} -m elf_x86_64_fbsd"
8106 LD="${LD-ld} -m elf_x86_64"
8109 LD="${LD-ld} -m elf64lppc"
8112 LD="${LD-ld} -m elf64ppc"
8114 s390*-*linux*|s390*-*tpf*)
8115 LD="${LD-ld} -m elf64_s390"
8118 LD="${LD-ld} -m elf64_sparc"
8128 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8130 CFLAGS="$CFLAGS -belf"
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8132 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8133 if ${lt_cv_cc_needs_belf+:} false; then :
8134 $as_echo_n "(cached) " >&6
8137 ac_cpp='$CPP $CPPFLAGS'
8138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8143 /* end confdefs.h. */
8153 if ac_fn_c_try_link "$LINENO"; then :
8154 lt_cv_cc_needs_belf=yes
8156 lt_cv_cc_needs_belf=no
8158 rm -f core conftest.err conftest.$ac_objext \
8159 conftest$ac_exeext conftest.$ac_ext
8161 ac_cpp='$CPP $CPPFLAGS'
8162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8168 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8169 if test yes != "$lt_cv_cc_needs_belf"; then
8170 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8175 # Find out what ABI is being produced by ac_compile, and set linker
8176 # options accordingly.
8177 echo 'int i;' > conftest.$ac_ext
8178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8179 (eval $ac_compile) 2>&5
8181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8182 test $ac_status = 0; }; then
8183 case `/usr
/bin
/file conftest.o
` in
8185 case $lt_cv_prog_gnu_ld in
8188 i?86-*-solaris*|x86_64-*-solaris*)
8189 LD="${LD-ld} -m elf_x86_64"
8192 LD="${LD-ld} -m elf64_sparc"
8195 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8196 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8201 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8213 need_locks=$enable_libtool_lock
8215 if test -n "$ac_tool_prefix"; then
8216 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8217 set dummy ${ac_tool_prefix}mt; ac_word=$2
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8219 $as_echo_n "checking for $ac_word... " >&6; }
8220 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8221 $as_echo_n "(cached) " >&6
8223 if test -n "$MANIFEST_TOOL"; then
8224 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8230 test -z "$as_dir" && as_dir=.
8231 for ac_exec_ext in '' $ac_executable_extensions; do
8232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8233 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8243 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8244 if test -n "$MANIFEST_TOOL"; then
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8246 $as_echo "$MANIFEST_TOOL" >&6; }
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8249 $as_echo "no" >&6; }
8254 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8255 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8256 # Extract the first word of "mt", so it can be a program name with args.
8257 set dummy mt; ac_word=$2
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8259 $as_echo_n "checking for $ac_word... " >&6; }
8260 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8261 $as_echo_n "(cached) " >&6
8263 if test -n "$ac_ct_MANIFEST_TOOL"; then
8264 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8270 test -z "$as_dir" && as_dir=.
8271 for ac_exec_ext in '' $ac_executable_extensions; do
8272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8273 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8283 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8284 if test -n "$ac_ct_MANIFEST_TOOL"; then
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8286 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8289 $as_echo "no" >&6; }
8292 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8295 case $cross_compiling:$ac_tool_warned in
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8299 ac_tool_warned=yes ;;
8301 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8304 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8307 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8309 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8310 if ${lt_cv_path_mainfest_tool+:} false; then :
8311 $as_echo_n "(cached) " >&6
8313 lt_cv_path_mainfest_tool=no
8314 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8315 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8316 cat conftest.err >&5
8317 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8318 lt_cv_path_mainfest_tool=yes
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8323 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8324 if test yes != "$lt_cv_path_mainfest_tool"; then
8334 rhapsody* | darwin*)
8335 if test -n "$ac_tool_prefix"; then
8336 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8337 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8339 $as_echo_n "checking for $ac_word... " >&6; }
8340 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8341 $as_echo_n "(cached) " >&6
8343 if test -n "$DSYMUTIL"; then
8344 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8350 test -z "$as_dir" && as_dir=.
8351 for ac_exec_ext in '' $ac_executable_extensions; do
8352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8353 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8363 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8364 if test -n "$DSYMUTIL"; then
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8366 $as_echo "$DSYMUTIL" >&6; }
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8369 $as_echo "no" >&6; }
8374 if test -z "$ac_cv_prog_DSYMUTIL"; then
8375 ac_ct_DSYMUTIL=$DSYMUTIL
8376 # Extract the first word of "dsymutil", so it can be a program name with args.
8377 set dummy dsymutil; ac_word=$2
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8379 $as_echo_n "checking for $ac_word... " >&6; }
8380 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8381 $as_echo_n "(cached) " >&6
8383 if test -n "$ac_ct_DSYMUTIL"; then
8384 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8390 test -z "$as_dir" && as_dir=.
8391 for ac_exec_ext in '' $ac_executable_extensions; do
8392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8393 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8403 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8404 if test -n "$ac_ct_DSYMUTIL"; then
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8406 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409 $as_echo "no" >&6; }
8412 if test "x$ac_ct_DSYMUTIL" = x; then
8415 case $cross_compiling:$ac_tool_warned in
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8419 ac_tool_warned=yes ;;
8421 DSYMUTIL=$ac_ct_DSYMUTIL
8424 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8427 if test -n "$ac_tool_prefix"; then
8428 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8429 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8431 $as_echo_n "checking for $ac_word... " >&6; }
8432 if ${ac_cv_prog_NMEDIT+:} false; then :
8433 $as_echo_n "(cached) " >&6
8435 if test -n "$NMEDIT"; then
8436 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8442 test -z "$as_dir" && as_dir=.
8443 for ac_exec_ext in '' $ac_executable_extensions; do
8444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8445 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8455 NMEDIT=$ac_cv_prog_NMEDIT
8456 if test -n "$NMEDIT"; then
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8458 $as_echo "$NMEDIT" >&6; }
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8461 $as_echo "no" >&6; }
8466 if test -z "$ac_cv_prog_NMEDIT"; then
8467 ac_ct_NMEDIT=$NMEDIT
8468 # Extract the first word of "nmedit", so it can be a program name with args.
8469 set dummy nmedit; ac_word=$2
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8471 $as_echo_n "checking for $ac_word... " >&6; }
8472 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8473 $as_echo_n "(cached) " >&6
8475 if test -n "$ac_ct_NMEDIT"; then
8476 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8482 test -z "$as_dir" && as_dir=.
8483 for ac_exec_ext in '' $ac_executable_extensions; do
8484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8485 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8495 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8496 if test -n "$ac_ct_NMEDIT"; then
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8498 $as_echo "$ac_ct_NMEDIT" >&6; }
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8501 $as_echo "no" >&6; }
8504 if test "x$ac_ct_NMEDIT" = x; then
8507 case $cross_compiling:$ac_tool_warned in
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8511 ac_tool_warned=yes ;;
8513 NMEDIT=$ac_ct_NMEDIT
8516 NMEDIT="$ac_cv_prog_NMEDIT"
8519 if test -n "$ac_tool_prefix"; then
8520 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8521 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8523 $as_echo_n "checking for $ac_word... " >&6; }
8524 if ${ac_cv_prog_LIPO+:} false; then :
8525 $as_echo_n "(cached) " >&6
8527 if test -n "$LIPO"; then
8528 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8534 test -z "$as_dir" && as_dir=.
8535 for ac_exec_ext in '' $ac_executable_extensions; do
8536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8537 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8547 LIPO=$ac_cv_prog_LIPO
8548 if test -n "$LIPO"; then
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8550 $as_echo "$LIPO" >&6; }
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8553 $as_echo "no" >&6; }
8558 if test -z "$ac_cv_prog_LIPO"; then
8560 # Extract the first word of "lipo", so it can be a program name with args.
8561 set dummy lipo; ac_word=$2
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8563 $as_echo_n "checking for $ac_word... " >&6; }
8564 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8565 $as_echo_n "(cached) " >&6
8567 if test -n "$ac_ct_LIPO"; then
8568 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8574 test -z "$as_dir" && as_dir=.
8575 for ac_exec_ext in '' $ac_executable_extensions; do
8576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8577 ac_cv_prog_ac_ct_LIPO="lipo"
8578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8587 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8588 if test -n "$ac_ct_LIPO"; then
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8590 $as_echo "$ac_ct_LIPO" >&6; }
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8593 $as_echo "no" >&6; }
8596 if test "x$ac_ct_LIPO" = x; then
8599 case $cross_compiling:$ac_tool_warned in
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8603 ac_tool_warned=yes ;;
8608 LIPO="$ac_cv_prog_LIPO"
8611 if test -n "$ac_tool_prefix"; then
8612 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8613 set dummy ${ac_tool_prefix}otool; ac_word=$2
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8615 $as_echo_n "checking for $ac_word... " >&6; }
8616 if ${ac_cv_prog_OTOOL+:} false; then :
8617 $as_echo_n "(cached) " >&6
8619 if test -n "$OTOOL"; then
8620 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8626 test -z "$as_dir" && as_dir=.
8627 for ac_exec_ext in '' $ac_executable_extensions; do
8628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8629 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8639 OTOOL=$ac_cv_prog_OTOOL
8640 if test -n "$OTOOL"; then
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8642 $as_echo "$OTOOL" >&6; }
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8645 $as_echo "no" >&6; }
8650 if test -z "$ac_cv_prog_OTOOL"; then
8652 # Extract the first word of "otool", so it can be a program name with args.
8653 set dummy otool; ac_word=$2
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8655 $as_echo_n "checking for $ac_word... " >&6; }
8656 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8657 $as_echo_n "(cached) " >&6
8659 if test -n "$ac_ct_OTOOL"; then
8660 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8666 test -z "$as_dir" && as_dir=.
8667 for ac_exec_ext in '' $ac_executable_extensions; do
8668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8669 ac_cv_prog_ac_ct_OTOOL="otool"
8670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8679 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8680 if test -n "$ac_ct_OTOOL"; then
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8682 $as_echo "$ac_ct_OTOOL" >&6; }
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8685 $as_echo "no" >&6; }
8688 if test "x$ac_ct_OTOOL" = x; then
8691 case $cross_compiling:$ac_tool_warned in
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8695 ac_tool_warned=yes ;;
8700 OTOOL="$ac_cv_prog_OTOOL"
8703 if test -n "$ac_tool_prefix"; then
8704 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8705 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8707 $as_echo_n "checking for $ac_word... " >&6; }
8708 if ${ac_cv_prog_OTOOL64+:} false; then :
8709 $as_echo_n "(cached) " >&6
8711 if test -n "$OTOOL64"; then
8712 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8718 test -z "$as_dir" && as_dir=.
8719 for ac_exec_ext in '' $ac_executable_extensions; do
8720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8721 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8731 OTOOL64=$ac_cv_prog_OTOOL64
8732 if test -n "$OTOOL64"; then
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8734 $as_echo "$OTOOL64" >&6; }
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8737 $as_echo "no" >&6; }
8742 if test -z "$ac_cv_prog_OTOOL64"; then
8743 ac_ct_OTOOL64=$OTOOL64
8744 # Extract the first word of "otool64", so it can be a program name with args.
8745 set dummy otool64; ac_word=$2
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8747 $as_echo_n "checking for $ac_word... " >&6; }
8748 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8749 $as_echo_n "(cached) " >&6
8751 if test -n "$ac_ct_OTOOL64"; then
8752 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758 test -z "$as_dir" && as_dir=.
8759 for ac_exec_ext in '' $ac_executable_extensions; do
8760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8761 ac_cv_prog_ac_ct_OTOOL64="otool64"
8762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8771 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8772 if test -n "$ac_ct_OTOOL64"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8774 $as_echo "$ac_ct_OTOOL64" >&6; }
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8777 $as_echo "no" >&6; }
8780 if test "x$ac_ct_OTOOL64" = x; then
8783 case $cross_compiling:$ac_tool_warned in
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8787 ac_tool_warned=yes ;;
8789 OTOOL64=$ac_ct_OTOOL64
8792 OTOOL64="$ac_cv_prog_OTOOL64"
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8822 $as_echo_n "checking for -single_module linker flag... " >&6; }
8823 if ${lt_cv_apple_cc_single_mod+:} false; then :
8824 $as_echo_n "(cached) " >&6
8826 lt_cv_apple_cc_single_mod=no
8827 if test -z "$LT_MULTI_MODULE"; then
8828 # By default we will add the -single_module flag. You can override
8829 # by either setting the environment variable LT_MULTI_MODULE
8830 # non-empty at configure time, or by adding -multi_module to the
8832 rm -rf libconftest.dylib*
8833 echo "int foo(void){return 1;}" > conftest.c
8834 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8835 -dynamiclib -Wl,-single_module conftest.c" >&5
8836 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8837 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8839 # If there is a non-empty error log, and "single_module"
8840 # appears in it, assume the flag caused a linker warning
8841 if test -s conftest.err && $GREP single_module conftest.err; then
8842 cat conftest.err >&5
8843 # Otherwise, if the output was created with a 0 exit code from
8844 # the compiler, it worked.
8845 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8846 lt_cv_apple_cc_single_mod=yes
8848 cat conftest.err >&5
8850 rm -rf libconftest.dylib*
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8855 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8858 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8859 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8860 $as_echo_n "(cached) " >&6
8862 lt_cv_ld_exported_symbols_list=no
8863 save_LDFLAGS=$LDFLAGS
8864 echo "_main" > conftest.sym
8865 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8877 if ac_fn_c_try_link "$LINENO"; then :
8878 lt_cv_ld_exported_symbols_list=yes
8880 lt_cv_ld_exported_symbols_list=no
8882 rm -f core conftest.err conftest.$ac_objext \
8883 conftest$ac_exeext conftest.$ac_ext
8884 LDFLAGS=$save_LDFLAGS
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8888 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8891 $as_echo_n "checking for -force_load linker flag... " >&6; }
8892 if ${lt_cv_ld_force_load+:} false; then :
8893 $as_echo_n "(cached) " >&6
8895 lt_cv_ld_force_load=no
8896 cat > conftest.c << _LT_EOF
8897 int forced_loaded() { return 2;}
8899 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8900 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8901 echo "$AR cru libconftest.a conftest.o" >&5
8902 $AR cru libconftest.a conftest.o 2>&5
8903 echo "$RANLIB libconftest.a" >&5
8904 $RANLIB libconftest.a 2>&5
8905 cat > conftest.c << _LT_EOF
8906 int main() { return 0;}
8908 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8909 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8911 if test -s conftest.err && $GREP force_load conftest.err; then
8912 cat conftest.err >&5
8913 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8914 lt_cv_ld_force_load=yes
8916 cat conftest.err >&5
8918 rm -f conftest.err libconftest.a conftest conftest.c
8919 rm -rf conftest.dSYM
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8923 $as_echo "$lt_cv_ld_force_load" >&6; }
8925 rhapsody* | darwin1.[012])
8926 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8928 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8929 darwin*) # darwin 5.x on
8930 # if running on 10.5 or later, the deployment target defaults
8931 # to the OS version, if on x86, and 10.4, the deployment
8932 # target defaults to 10.4. Don't you love it?
8933 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8934 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8935 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8937 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8939 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8943 if test yes = "$lt_cv_apple_cc_single_mod"; then
8944 _lt_dar_single_mod='$single_module'
8946 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8947 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8949 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8951 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8952 _lt_dsymutil='~$DSYMUTIL $lib || :'
8959 for ac_header in dlfcn.h
8961 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8963 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8964 cat >>confdefs.h <<_ACEOF
8965 #define HAVE_DLFCN_H 1
8989 # Check whether --with-pic was given.
8990 if test "${with_pic+set}" = set; then :
8991 withval=$with_pic; lt_p=${PACKAGE-default}
8993 yes|no) pic_mode=$withval ;;
8996 # Look at the argument we got. We use all the common list separators.
8997 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8998 for lt_pkg in $withval; do
9000 if test "X$lt_pkg" = "X$lt_p"; then
9018 # Check whether --enable-fast-install was given.
9019 if test "${enable_fast_install+set}" = set; then :
9020 enableval=$enable_fast_install; p=${PACKAGE-default}
9022 yes) enable_fast_install=yes ;;
9023 no) enable_fast_install=no ;;
9025 enable_fast_install=no
9026 # Look at the argument we got. We use all the common list separators.
9027 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9028 for pkg in $enableval; do
9030 if test "X$pkg" = "X$p"; then
9031 enable_fast_install=yes
9038 enable_fast_install=yes
9051 # This can be used to rebuild libtool when needed
9052 LIBTOOL_DEPS=$ltmain
9054 # Always use our own libtool.
9055 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9086 test -z "$LN_S" && LN_S="ln -s"
9101 if test -n "${ZSH_VERSION+set}"; then
9102 setopt NO_GLOB_SUBST
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9106 $as_echo_n "checking for objdir... " >&6; }
9107 if ${lt_cv_objdir+:} false; then :
9108 $as_echo_n "(cached) " >&6
9110 rm -f .libs 2>/dev/null
9111 mkdir .libs 2>/dev/null
9112 if test -d .libs; then
9115 # MS-DOS does not allow filenames that begin with a dot.
9118 rmdir .libs 2>/dev/null
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9121 $as_echo "$lt_cv_objdir" >&6; }
9122 objdir=$lt_cv_objdir
9128 cat >>confdefs.h <<_ACEOF
9129 #define LT_OBJDIR "$lt_cv_objdir/"
9137 # AIX sometimes has problems with the GCC collect2 program. For some
9138 # reason, if we set the COLLECT_NAMES environment variable, the problems
9139 # vanish in a puff of smoke.
9140 if test set != "${COLLECT_NAMES+set}"; then
9142 export COLLECT_NAMES
9149 can_build_shared=yes
9151 # All known linkers require a '.a' archive for static linking (except MSVC,
9152 # which needs '.lib').
9155 with_gnu_ld=$lt_cv_prog_gnu_ld
9160 # Set sane defaults for various variables
9161 test -z "$CC" && CC=cc
9162 test -z "$LTCC" && LTCC=$CC
9163 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9164 test -z "$LD" && LD=ld
9165 test -z "$ac_objext" && ac_objext=o
9167 for cc_temp in $compiler""; do
9169 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9170 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9175 cc_basename=`$ECHO "$cc_temp" |
$SED "s%.*/%%; s%^$host_alias-%%"`
9178 # Only perform the check for file, if the check method requires it
9179 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9180 case $deplibs_check_method in
9182 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9184 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9185 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9186 $as_echo_n "(cached) " >&6
9190 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9193 lt_save_MAGIC_CMD=$MAGIC_CMD
9194 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9195 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9196 for ac_dir in $ac_dummy; do
9198 test -z "$ac_dir" && ac_dir=.
9199 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9200 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9201 if test -n "$file_magic_test_file"; then
9202 case $deplibs_check_method in
9204 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9205 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9206 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9207 $EGREP "$file_magic_regex" > /dev/null; then
9212 *** Warning: the command libtool uses to detect shared libraries,
9213 *** $file_magic_cmd, produces output that libtool cannot recognize.
9214 *** The result is that libtool may fail to recognize shared libraries
9215 *** as such. This will affect the creation of libtool libraries that
9216 *** depend on shared libraries, but programs linked with such libtool
9217 *** libraries will work regardless of this problem. Nevertheless, you
9218 *** may want to report the problem to your system manager and/or to
9219 *** bug-libtool@gnu.org
9229 MAGIC_CMD=$lt_save_MAGIC_CMD
9234 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9235 if test -n "$MAGIC_CMD"; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9237 $as_echo "$MAGIC_CMD" >&6; }
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 $as_echo "no" >&6; }
9247 if test -z "$lt_cv_path_MAGIC_CMD"; then
9248 if test -n "$ac_tool_prefix"; then
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9250 $as_echo_n "checking for file... " >&6; }
9251 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9252 $as_echo_n "(cached) " >&6
9256 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9259 lt_save_MAGIC_CMD=$MAGIC_CMD
9260 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9261 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9262 for ac_dir in $ac_dummy; do
9264 test -z "$ac_dir" && ac_dir=.
9265 if test -f "$ac_dir/file"; then
9266 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9267 if test -n "$file_magic_test_file"; then
9268 case $deplibs_check_method in
9270 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9271 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9272 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9273 $EGREP "$file_magic_regex" > /dev/null; then
9278 *** Warning: the command libtool uses to detect shared libraries,
9279 *** $file_magic_cmd, produces output that libtool cannot recognize.
9280 *** The result is that libtool may fail to recognize shared libraries
9281 *** as such. This will affect the creation of libtool libraries that
9282 *** depend on shared libraries, but programs linked with such libtool
9283 *** libraries will work regardless of this problem. Nevertheless, you
9284 *** may want to report the problem to your system manager and/or to
9285 *** bug-libtool@gnu.org
9295 MAGIC_CMD=$lt_save_MAGIC_CMD
9300 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9301 if test -n "$MAGIC_CMD"; then
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9303 $as_echo "$MAGIC_CMD" >&6; }
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9306 $as_echo "no" >&6; }
9319 # Use C for the default configuration in the libtool script
9323 ac_cpp='$CPP $CPPFLAGS'
9324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9329 # Source file extension for C test sources.
9332 # Object file extension for compiled C test sources.
9336 # Code to be used in simple compile tests
9337 lt_simple_compile_test_code="int some_variable = 0;"
9339 # Code to be used in simple link tests
9340 lt_simple_link_test_code='int main(){return(0);}'
9348 # If no C compiler was specified, use CC.
9351 # If no C compiler flags were specified, use CFLAGS.
9352 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9354 # Allow CC to be a program name with arguments.
9357 # Save the default compiler, since it gets overwritten when the other
9358 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9359 compiler_DEFAULT=$CC
9361 # save warnings/boilerplate of simple test code
9362 ac_outfile=conftest.$ac_objext
9363 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9364 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9365 _lt_compiler_boilerplate=`cat conftest.err
`
9368 ac_outfile=conftest.$ac_objext
9369 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9370 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9371 _lt_linker_boilerplate=`cat conftest.err
`
9375 if test -n "$compiler"; then
9377 lt_prog_compiler_no_builtin_flag=
9379 if test yes = "$GCC"; then
9380 case $cc_basename in
9382 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9384 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9388 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9389 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9390 $as_echo_n "(cached) " >&6
9392 lt_cv_prog_compiler_rtti_exceptions=no
9393 ac_outfile=conftest.$ac_objext
9394 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9395 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9396 # Insert the option either (1) after the last *FLAGS variable, or
9397 # (2) before a word containing "conftest.", or (3) at the end.
9398 # Note that $ac_compile itself does not contain backslashes and begins
9399 # with a dollar sign (not a hyphen), so the echo should work correctly.
9400 # The option is referenced via a variable to avoid confusing sed.
9401 lt_compile=`echo "$ac_compile" |
$SED \
9402 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9403 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9404 -e 's:$: $lt_compiler_flag:'`
9405 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9406 (eval "$lt_compile" 2>conftest.err)
9408 cat conftest.err >&5
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 if (exit $ac_status) && test -s "$ac_outfile"; then
9411 # The compiler can only warn and ignore the option if not recognized
9412 # So say no if there are warnings other than the usual output.
9413 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9414 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9415 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9416 lt_cv_prog_compiler_rtti_exceptions=yes
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9423 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9425 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9426 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9438 lt_prog_compiler_wl=
9439 lt_prog_compiler_pic=
9440 lt_prog_compiler_static=
9443 if test yes = "$GCC"; then
9444 lt_prog_compiler_wl='-Wl,'
9445 lt_prog_compiler_static='-static'
9449 # All AIX code is PIC.
9450 if test ia64 = "$host_cpu"; then
9451 # AIX 5 now supports IA64 processor
9452 lt_prog_compiler_static='-Bstatic'
9454 lt_prog_compiler_pic='-fPIC'
9460 # see comment about AmigaOS4 .so support
9461 lt_prog_compiler_pic='-fPIC'
9464 # FIXME: we need at least 68020 code to build shared libraries, but
9465 # adding the '-m68020' flag to GCC prevents building anything better,
9467 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9472 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9473 # PIC is the default for these OSes.
9476 mingw* | cygwin* | pw32* | os2* | cegcc*)
9477 # This hack is so that the source file can tell whether it is being
9478 # built for inclusion in a dll (and should export symbols for example).
9479 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9480 # (--disable-auto-import) libraries
9481 lt_prog_compiler_pic='-DDLL_EXPORT'
9484 darwin* | rhapsody*)
9485 # PIC is the default on this platform
9486 # Common symbols not allowed in MH_DYLIB files
9487 lt_prog_compiler_pic='-fno-common'
9491 # PIC is the default for Haiku.
9492 # The "-static" flag exists, but is broken.
9493 lt_prog_compiler_static=
9497 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9498 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9499 # sets the default TLS model and affects inlining.
9505 lt_prog_compiler_pic='-fPIC'
9511 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9512 # Instead, we relocate shared libraries at runtime.
9516 # Just because we use GCC doesn't mean we suddenly get shared libraries
9517 # on systems that don't support them.
9518 lt_prog_compiler_can_build_shared=no
9523 # QNX uses GNU C++, but need to define -shared option too, otherwise
9525 lt_prog_compiler_pic='-fPIC -shared'
9529 if test -d /usr/nec; then
9530 lt_prog_compiler_pic=-Kconform_pic
9535 lt_prog_compiler_pic='-fPIC'
9539 case $cc_basename in
9540 nvcc*) # Cuda Compiler Driver 2.2
9541 lt_prog_compiler_wl='-Xlinker '
9542 if test -n "$lt_prog_compiler_pic"; then
9543 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9548 # PORTME Check for flag to pass linker flags through the system compiler.
9551 lt_prog_compiler_wl='-Wl,'
9552 if test ia64 = "$host_cpu"; then
9553 # AIX 5 now supports IA64 processor
9554 lt_prog_compiler_static='-Bstatic'
9556 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9560 darwin* | rhapsody*)
9561 # PIC is the default on this platform
9562 # Common symbols not allowed in MH_DYLIB files
9563 lt_prog_compiler_pic='-fno-common'
9564 case $cc_basename in
9566 # NAG Fortran compiler
9567 lt_prog_compiler_wl='-Wl,-Wl,,'
9568 lt_prog_compiler_pic='-PIC'
9569 lt_prog_compiler_static='-Bstatic'
9574 mingw* | cygwin* | pw32* | os2* | cegcc*)
9575 # This hack is so that the source file can tell whether it is being
9576 # built for inclusion in a dll (and should export symbols for example).
9577 lt_prog_compiler_pic='-DDLL_EXPORT'
9580 hpux9* | hpux10* | hpux11*)
9581 lt_prog_compiler_wl='-Wl,'
9582 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9589 lt_prog_compiler_pic='+Z'
9592 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9593 lt_prog_compiler_static='$wl-a ${wl}archive'
9596 irix5* | irix6* | nonstopux*)
9597 lt_prog_compiler_wl='-Wl,'
9598 # PIC (with -KPIC) is the default.
9599 lt_prog_compiler_static='-non_shared'
9602 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9603 case $cc_basename in
9604 # old Intel for x86_64, which still supported -KPIC.
9606 lt_prog_compiler_wl='-Wl,'
9607 lt_prog_compiler_pic='-KPIC'
9608 lt_prog_compiler_static='-static'
9610 # icc used to be incompatible with GCC.
9611 # ICC 10 doesn't accept -KPIC any more.
9613 lt_prog_compiler_wl='-Wl,'
9614 lt_prog_compiler_pic='-fPIC'
9615 lt_prog_compiler_static='-static'
9617 # Lahey Fortran 8.1.
9619 lt_prog_compiler_wl='-Wl,'
9620 lt_prog_compiler_pic='--shared'
9621 lt_prog_compiler_static='--static'
9624 # NAG Fortran compiler
9625 lt_prog_compiler_wl='-Wl,-Wl,,'
9626 lt_prog_compiler_pic='-PIC'
9627 lt_prog_compiler_static='-Bstatic'
9630 # Fabrice Bellard et al's Tiny C Compiler
9631 lt_prog_compiler_wl='-Wl,'
9632 lt_prog_compiler_pic='-fPIC'
9633 lt_prog_compiler_static='-static'
9635 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9636 # Portland Group compilers (*not* the Pentium gcc compiler,
9637 # which looks to be a dead project)
9638 lt_prog_compiler_wl='-Wl,'
9639 lt_prog_compiler_pic='-fpic'
9640 lt_prog_compiler_static='-Bstatic'
9643 lt_prog_compiler_wl='-Wl,'
9644 # All Alpha code is PIC.
9645 lt_prog_compiler_static='-non_shared'
9647 xl* | bgxl* | bgf* | mpixl*)
9648 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9649 lt_prog_compiler_wl='-Wl,'
9650 lt_prog_compiler_pic='-qpic'
9651 lt_prog_compiler_static='-qstaticlink'
9654 case `$CC -V 2>&1 |
sed 5q
` in
9655 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9656 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9657 lt_prog_compiler_pic='-KPIC'
9658 lt_prog_compiler_static='-Bstatic'
9659 lt_prog_compiler_wl=''
9661 *Sun\ F* | *Sun*Fortran*)
9662 lt_prog_compiler_pic='-KPIC'
9663 lt_prog_compiler_static='-Bstatic'
9664 lt_prog_compiler_wl='-Qoption ld '
9668 lt_prog_compiler_pic='-KPIC'
9669 lt_prog_compiler_static='-Bstatic'
9670 lt_prog_compiler_wl='-Wl,'
9672 *Intel*\ [CF]*Compiler*)
9673 lt_prog_compiler_wl='-Wl,'
9674 lt_prog_compiler_pic='-fPIC'
9675 lt_prog_compiler_static='-static'
9678 lt_prog_compiler_wl='-Wl,'
9679 lt_prog_compiler_pic='-fpic'
9680 lt_prog_compiler_static='-Bstatic'
9688 lt_prog_compiler_pic='-KPIC'
9689 lt_prog_compiler_static='-Bstatic'
9693 # QNX uses GNU C++, but need to define -shared option too, otherwise
9695 lt_prog_compiler_pic='-fPIC -shared'
9698 osf3* | osf4* | osf5*)
9699 lt_prog_compiler_wl='-Wl,'
9700 # All OSF/1 code is PIC.
9701 lt_prog_compiler_static='-non_shared'
9705 lt_prog_compiler_static='-non_shared'
9709 lt_prog_compiler_pic='-KPIC'
9710 lt_prog_compiler_static='-Bstatic'
9711 case $cc_basename in
9712 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9713 lt_prog_compiler_wl='-Qoption ld ';;
9715 lt_prog_compiler_wl='-Wl,';;
9720 lt_prog_compiler_wl='-Qoption ld '
9721 lt_prog_compiler_pic='-PIC'
9722 lt_prog_compiler_static='-Bstatic'
9725 sysv4 | sysv4.2uw2* | sysv4.3*)
9726 lt_prog_compiler_wl='-Wl,'
9727 lt_prog_compiler_pic='-KPIC'
9728 lt_prog_compiler_static='-Bstatic'
9732 if test -d /usr/nec; then
9733 lt_prog_compiler_pic='-Kconform_pic'
9734 lt_prog_compiler_static='-Bstatic'
9738 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9739 lt_prog_compiler_wl='-Wl,'
9740 lt_prog_compiler_pic='-KPIC'
9741 lt_prog_compiler_static='-Bstatic'
9745 lt_prog_compiler_wl='-Wl,'
9746 lt_prog_compiler_can_build_shared=no
9750 lt_prog_compiler_pic='-pic'
9751 lt_prog_compiler_static='-Bstatic'
9755 lt_prog_compiler_can_build_shared=no
9761 # For platforms that do not support PIC, -DPIC is meaningless:
9763 lt_prog_compiler_pic=
9766 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9771 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9772 if ${lt_cv_prog_compiler_pic+:} false; then :
9773 $as_echo_n "(cached) " >&6
9775 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9778 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9779 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9782 # Check to make sure the PIC flag actually works.
9784 if test -n "$lt_prog_compiler_pic"; then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9786 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9787 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9788 $as_echo_n "(cached) " >&6
9790 lt_cv_prog_compiler_pic_works=no
9791 ac_outfile=conftest.$ac_objext
9792 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9793 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9794 # Insert the option either (1) after the last *FLAGS variable, or
9795 # (2) before a word containing "conftest.", or (3) at the end.
9796 # Note that $ac_compile itself does not contain backslashes and begins
9797 # with a dollar sign (not a hyphen), so the echo should work correctly.
9798 # The option is referenced via a variable to avoid confusing sed.
9799 lt_compile=`echo "$ac_compile" |
$SED \
9800 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9801 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9802 -e 's:$: $lt_compiler_flag:'`
9803 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9804 (eval "$lt_compile" 2>conftest.err)
9806 cat conftest.err >&5
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 if (exit $ac_status) && test -s "$ac_outfile"; then
9809 # The compiler can only warn and ignore the option if not recognized
9810 # So say no if there are warnings other than the usual output.
9811 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9812 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9813 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9814 lt_cv_prog_compiler_pic_works=yes
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9821 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9823 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9824 case $lt_prog_compiler_pic in
9826 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9829 lt_prog_compiler_pic=
9830 lt_prog_compiler_can_build_shared=no
9846 # Check to make sure the static flag actually works.
9848 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9850 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9851 if ${lt_cv_prog_compiler_static_works+:} false; then :
9852 $as_echo_n "(cached) " >&6
9854 lt_cv_prog_compiler_static_works=no
9855 save_LDFLAGS=$LDFLAGS
9856 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9857 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9858 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9859 # The linker can only warn and ignore the option if not recognized
9860 # So say no if there are warnings
9861 if test -s conftest.err; then
9862 # Append any errors to the config.log.
9863 cat conftest.err 1>&5
9864 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9865 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9866 if diff conftest.exp conftest.er2 >/dev/null; then
9867 lt_cv_prog_compiler_static_works=yes
9870 lt_cv_prog_compiler_static_works=yes
9874 LDFLAGS=$save_LDFLAGS
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9878 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9880 if test yes = "$lt_cv_prog_compiler_static_works"; then
9883 lt_prog_compiler_static=
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9893 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9894 if ${lt_cv_prog_compiler_c_o+:} false; then :
9895 $as_echo_n "(cached) " >&6
9897 lt_cv_prog_compiler_c_o=no
9898 $RM -r conftest 2>/dev/null
9902 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9904 lt_compiler_flag="-o out/conftest2.$ac_objext"
9905 # Insert the option either (1) after the last *FLAGS variable, or
9906 # (2) before a word containing "conftest.", or (3) at the end.
9907 # Note that $ac_compile itself does not contain backslashes and begins
9908 # with a dollar sign (not a hyphen), so the echo should work correctly.
9909 lt_compile=`echo "$ac_compile" |
$SED \
9910 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9911 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9912 -e 's:$: $lt_compiler_flag:'`
9913 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9914 (eval "$lt_compile" 2>out/conftest.err)
9916 cat out/conftest.err >&5
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9920 # The compiler can only warn and ignore the option if not recognized
9921 # So say no if there are warnings
9922 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9923 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9924 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9925 lt_cv_prog_compiler_c_o=yes
9930 # SGI C++ compiler will create directory out/ii_files/ for
9931 # template instantiation
9932 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9933 $RM out/* && rmdir out
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9940 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9948 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9949 if ${lt_cv_prog_compiler_c_o+:} false; then :
9950 $as_echo_n "(cached) " >&6
9952 lt_cv_prog_compiler_c_o=no
9953 $RM -r conftest 2>/dev/null
9957 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9959 lt_compiler_flag="-o out/conftest2.$ac_objext"
9960 # Insert the option either (1) after the last *FLAGS variable, or
9961 # (2) before a word containing "conftest.", or (3) at the end.
9962 # Note that $ac_compile itself does not contain backslashes and begins
9963 # with a dollar sign (not a hyphen), so the echo should work correctly.
9964 lt_compile=`echo "$ac_compile" |
$SED \
9965 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9966 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9967 -e 's:$: $lt_compiler_flag:'`
9968 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9969 (eval "$lt_compile" 2>out/conftest.err)
9971 cat out/conftest.err >&5
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9975 # The compiler can only warn and ignore the option if not recognized
9976 # So say no if there are warnings
9977 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9978 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9979 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9980 lt_cv_prog_compiler_c_o=yes
9985 # SGI C++ compiler will create directory out/ii_files/ for
9986 # template instantiation
9987 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9988 $RM out/* && rmdir out
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9995 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10000 hard_links=nottested
10001 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10002 # do not overwrite the value of need_locks provided by the user
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10004 $as_echo_n "checking if we can lock with hard links... " >&6; }
10007 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10009 ln conftest.a conftest.b 2>&5 || hard_links=no
10010 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10012 $as_echo "$hard_links" >&6; }
10013 if test no = "$hard_links"; then
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10015 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10028 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10031 allow_undefined_flag=
10032 always_export_symbols=no
10034 archive_expsym_cmds=
10035 compiler_needs_object=no
10036 enable_shared_with_static_runtimes=no
10037 export_dynamic_flag_spec=
10038 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10039 hardcode_automatic=no
10041 hardcode_direct_absolute=no
10042 hardcode_libdir_flag_spec=
10043 hardcode_libdir_separator=
10044 hardcode_minus_L=no
10045 hardcode_shlibpath_var=unsupported
10047 link_all_deplibs=unknown
10049 module_expsym_cmds=
10050 old_archive_from_new_cmds=
10051 old_archive_from_expsyms_cmds=
10052 thread_safe_flag_spec=
10053 whole_archive_flag_spec=
10054 # include_expsyms should be a list of space-separated symbols to be *always*
10055 # included in the symbol list
10057 # exclude_expsyms can be an extended regexp of symbols to exclude
10058 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10059 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10060 # as well as any symbol that contains 'd'.
10061 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10062 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10063 # platforms (ab)use it in PIC code, but their linkers get confused if
10064 # the symbol is explicitly referenced. Since portable code cannot
10065 # rely on this symbol name, it's probably fine to never include it in
10066 # preloaded symbol tables.
10067 # Exclude shared library initialization/finalization symbols.
10068 extract_expsyms_cmds=
10071 cygwin* | mingw* | pw32* | cegcc*)
10072 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10073 # When not using gcc, we currently assume that we are using
10074 # Microsoft Visual C++.
10075 if test yes != "$GCC"; then
10080 # we just hope/assume this is gcc and not c89 (= MSVC++)
10083 openbsd* | bitrig*)
10090 # On some targets, GNU ld is compatible enough with the native linker
10091 # that we're better off using the native interface for both.
10092 lt_use_gnu_ld_interface=no
10093 if test yes = "$with_gnu_ld"; then
10096 # The AIX port of GNU ld has always aspired to compatibility
10097 # with the native linker. However, as the warning in the GNU ld
10098 # block says, versions before 2.19.5* couldn't really create working
10099 # shared libraries, regardless of the interface used.
10100 case `$LD -v 2>&1` in
10101 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10102 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10103 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10105 lt_use_gnu_ld_interface=yes
10110 lt_use_gnu_ld_interface=yes
10115 if test yes = "$lt_use_gnu_ld_interface"; then
10116 # If archive_cmds runs LD, not CC, wlarc should be empty
10119 # Set some defaults for GNU ld with shared library support. These
10120 # are reset later if shared libraries are not supported. Putting them
10121 # here allows them to be overridden if necessary.
10122 runpath_var=LD_RUN_PATH
10123 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10124 export_dynamic_flag_spec='$wl--export-dynamic'
10125 # ancient GNU ld didn't support --whole-archive et. al.
10126 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10127 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10129 whole_archive_flag_spec=
10131 supports_anon_versioning=no
10132 case `$LD -v |
$SED -e 's/(^)\+)\s\+//' 2>&1` in
10133 *GNU\ gold*) supports_anon_versioning=yes ;;
10134 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10135 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10136 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10137 *\ 2.11.*) ;; # other 2.11 versions
10138 *) supports_anon_versioning=yes ;;
10141 # See if GNU ld supports shared libraries.
10144 # On AIX/PPC, the GNU linker is very broken
10145 if test ia64 != "$host_cpu"; then
10149 *** Warning: the GNU linker, at least up to release 2.19, is reported
10150 *** to be unable to reliably create shared libraries on AIX.
10151 *** Therefore, libtool is disabling shared libraries support. If you
10152 *** really care for shared libraries, you may want to install binutils
10153 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10154 *** You will then need to restart the configuration process.
10163 # see comment about AmigaOS4 .so support
10164 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10165 archive_expsym_cmds=''
10168 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)'
10169 hardcode_libdir_flag_spec='-L$libdir'
10170 hardcode_minus_L=yes
10176 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10177 allow_undefined_flag=unsupported
10178 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10179 # support --undefined. This deserves some investigation. FIXME
10180 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10186 cygwin* | mingw* | pw32* | cegcc*)
10187 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10188 # as there is no search path for DLLs.
10189 hardcode_libdir_flag_spec='-L$libdir'
10190 export_dynamic_flag_spec='$wl--export-all-symbols'
10191 allow_undefined_flag=unsupported
10192 always_export_symbols=no
10193 enable_shared_with_static_runtimes=yes
10194 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'
10195 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10197 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10198 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10199 # If the export-symbols file already is a .def file, use it as
10200 # is; otherwise, prepend EXPORTS...
10201 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s
/^
[ ]*//'\'' -e '\''/^\
(;.
*\
)*$
/d
'\'' -e '\''s
/^\
(EXPORTS\|LIBRARY\
)\
([ ].
*\
)*$
/DEF
/p
'\'' -e q
$export_symbols`" ; then
10202 cp $export_symbols $output_objdir/$soname.def;
10204 echo EXPORTS > $output_objdir/$soname.def;
10205 cat $export_symbols >> $output_objdir/$soname.def;
10207 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10215 link_all_deplibs=yes
10220 hardcode_shlibpath_var=no
10221 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10222 export_dynamic_flag_spec='$wl-E'
10223 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10224 # Instead, shared libraries are loaded at an image base (0x10000000 by
10225 # default) and relocated if they conflict, which is a slow very memory
10226 # consuming and fragmenting process. To avoid this, we pick a random,
10227 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10228 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10229 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \
* 262144 + 1342177280` -o $lib'
10230 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'
10233 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10235 if test linux-dietlibc = "$host_os"; then
10236 case $cc_basename in
10237 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10240 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10241 && test no = "$tmp_diet"
10243 tmp_addflag=' $pic_flag'
10244 tmp_sharedflag='-shared'
10245 case $cc_basename,$host_cpu in
10246 pgcc*) # Portland Group C compiler
10247 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'
10248 tmp_addflag=' $pic_flag'
10250 pgf77* | pgf90* | pgf95* | pgfortran*)
10251 # Portland Group f77 and f90 compilers
10252 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'
10253 tmp_addflag=' $pic_flag -Mnomain' ;;
10254 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10255 tmp_addflag=' -i_dynamic' ;;
10256 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10257 tmp_addflag=' -i_dynamic -nofor_main' ;;
10258 ifc* | ifort*) # Intel Fortran compiler
10259 tmp_addflag=' -nofor_main' ;;
10260 lf95*) # Lahey Fortran 8.1
10261 whole_archive_flag_spec=
10262 tmp_sharedflag='--shared' ;;
10263 nagfor*) # NAGFOR 5.3
10264 tmp_sharedflag='-Wl,-shared' ;;
10265 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10266 tmp_sharedflag='-qmkshrobj'
10268 nvcc*) # Cuda Compiler Driver 2.2
10269 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'
10270 compiler_needs_object=yes
10273 case `$CC -V 2>&1 |
sed 5q
` in
10274 *Sun\ C*) # Sun C 5.9
10275 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'
10276 compiler_needs_object=yes
10277 tmp_sharedflag='-G' ;;
10278 *Sun\ F*) # Sun Fortran 8.3
10279 tmp_sharedflag='-G' ;;
10281 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10283 if test yes = "$supports_anon_versioning"; then
10284 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10285 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10286 echo "local: *; };" >> $output_objdir/$libname.ver~
10287 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10290 case $cc_basename in
10291 xlf* | bgf* | bgxlf* | mpixlf*)
10292 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10293 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10294 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10295 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10296 if test yes = "$supports_anon_versioning"; then
10297 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10298 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10299 echo "local: *; };" >> $output_objdir/$libname.ver~
10300 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10310 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10311 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10314 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10315 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10320 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10324 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10325 *** create shared libraries on Solaris systems. Therefore, libtool
10326 *** is disabling shared libraries support. We urge you to upgrade GNU
10327 *** binutils to release 2.9.1 or newer. Another option is to modify
10328 *** your PATH or compiler configuration so that the native linker is
10329 *** used, and then restart.
10332 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10333 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10334 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10340 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10341 case `$LD -v 2>&1` in
10342 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10346 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10347 *** reliably create shared libraries on SCO systems. Therefore, libtool
10348 *** is disabling shared libraries support. We urge you to upgrade GNU
10349 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10350 *** your PATH or compiler configuration so that the native linker is
10351 *** used, and then restart.
10356 # For security reasons, it is highly recommended that you always
10357 # use absolute paths for naming shared libraries, and exclude the
10358 # DT_RUNPATH tag from executables and libraries. But doing so
10359 # requires that you compile everything twice, which is a pain.
10360 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10361 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10372 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10374 hardcode_direct=yes
10375 hardcode_shlibpath_var=no
10379 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10380 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10381 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10388 if test no = "$ld_shlibs"; then
10390 hardcode_libdir_flag_spec=
10391 export_dynamic_flag_spec=
10392 whole_archive_flag_spec=
10395 # PORTME fill in a description of your system's linker (not GNU ld)
10398 allow_undefined_flag=unsupported
10399 always_export_symbols=yes
10400 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'
10401 # Note: this linker hardcodes the directories in LIBPATH if there
10402 # are no directories specified by -L.
10403 hardcode_minus_L=yes
10404 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10405 # Neither direct hardcoding nor static linking is supported with a
10407 hardcode_direct=unsupported
10412 if test ia64 = "$host_cpu"; then
10413 # On IA64, the linker does run time linking by default, so we don't
10414 # have to do anything special.
10415 aix_use_runtimelinking=no
10416 exp_sym_flag='-Bexport'
10419 # If we're using GNU nm, then we don't want the "-C" option.
10420 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10421 # Also, AIX nm treats weak defined symbols like other global
10422 # defined symbols, whereas GNU nm marks them as "W".
10423 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10424 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'
10426 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'
10428 aix_use_runtimelinking=no
10430 # Test if we are trying to use run time linking or normal
10431 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10432 # need to do runtime linking.
10433 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10434 for ld_flag in $LDFLAGS; do
10435 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10436 aix_use_runtimelinking=yes
10443 exp_sym_flag='-bexport'
10444 no_entry_flag='-bnoentry'
10447 # When large executables or shared objects are built, AIX ld can
10448 # have problems creating the table of contents. If linking a library
10449 # or program results in "error TOC overflow" add -mminimal-toc to
10450 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10451 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10454 hardcode_direct=yes
10455 hardcode_direct_absolute=yes
10456 hardcode_libdir_separator=':'
10457 link_all_deplibs=yes
10458 file_list_spec='$wl-f,'
10460 if test yes = "$GCC"; then
10461 case $host_os in aix4.[012]|aix4.[012].*)
10462 # We only want to do this on AIX 4.2 and lower, the check
10463 # below for broken collect2 doesn't work under 4.3+
10464 collect2name=`$CC -print-prog-name=collect2
`
10465 if test -f "$collect2name" &&
10466 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10468 # We have reworked collect2
10471 # We have old collect2
10472 hardcode_direct=unsupported
10473 # It fails to find uninstalled libraries when the uninstalled
10474 # path is not listed in the libpath. Setting hardcode_minus_L
10475 # to unsupported forces relinking
10476 hardcode_minus_L=yes
10477 hardcode_libdir_flag_spec='-L$libdir'
10478 hardcode_libdir_separator=
10482 shared_flag='-shared'
10483 if test yes = "$aix_use_runtimelinking"; then
10484 shared_flag="$shared_flag "'$wl-G'
10488 if test ia64 = "$host_cpu"; then
10489 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10490 # chokes on -Wl,-G. The following line is correct:
10493 if test yes = "$aix_use_runtimelinking"; then
10494 shared_flag='$wl-G'
10496 shared_flag='$wl-bM:SRE'
10501 export_dynamic_flag_spec='$wl-bexpall'
10502 # It seems that -bexpall does not export symbols beginning with
10503 # underscore (_), so it is better to generate a list of symbols to export.
10504 always_export_symbols=yes
10505 if test yes = "$aix_use_runtimelinking"; then
10506 # Warning - without using the other runtime loading flags (-brtl),
10507 # -berok will link without error, but may produce a broken library.
10508 allow_undefined_flag='-berok'
10509 # Determine the default libpath from the value encoded in an
10510 # empty executable.
10511 if test set = "${lt_cv_aix_libpath+set}"; then
10512 aix_libpath=$lt_cv_aix_libpath
10514 if ${lt_cv_aix_libpath_+:} false; then :
10515 $as_echo_n "(cached) " >&6
10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10528 if ac_fn_c_try_link "$LINENO"; then :
10530 lt_aix_libpath_sed='
10531 /Import File Strings/,/^$/ {
10533 s/^0 *\([^ ]*\) *$/\1/
10537 lt_cv_aix_libpath_=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10538 # Check for a 64-bit object if we didn't find anything.
10539 if test -z "$lt_cv_aix_libpath_"; then
10540 lt_cv_aix_libpath_=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10543 rm -f core conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 if test -z "$lt_cv_aix_libpath_"; then
10546 lt_cv_aix_libpath_=/usr/lib:/lib
10551 aix_libpath=$lt_cv_aix_libpath_
10554 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10555 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
10557 if test ia64 = "$host_cpu"; then
10558 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10559 allow_undefined_flag="-z nodefs"
10560 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"
10562 # Determine the default libpath from the value encoded in an
10563 # empty executable.
10564 if test set = "${lt_cv_aix_libpath+set}"; then
10565 aix_libpath=$lt_cv_aix_libpath
10567 if ${lt_cv_aix_libpath_+:} false; then :
10568 $as_echo_n "(cached) " >&6
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10581 if ac_fn_c_try_link "$LINENO"; then :
10583 lt_aix_libpath_sed='
10584 /Import File Strings/,/^$/ {
10586 s/^0 *\([^ ]*\) *$/\1/
10590 lt_cv_aix_libpath_=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10591 # Check for a 64-bit object if we didn't find anything.
10592 if test -z "$lt_cv_aix_libpath_"; then
10593 lt_cv_aix_libpath_=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10596 rm -f core conftest.err conftest.$ac_objext \
10597 conftest$ac_exeext conftest.$ac_ext
10598 if test -z "$lt_cv_aix_libpath_"; then
10599 lt_cv_aix_libpath_=/usr/lib:/lib
10604 aix_libpath=$lt_cv_aix_libpath_
10607 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10608 # Warning - without using the other run time loading flags,
10609 # -berok will link without error, but may produce a broken library.
10610 no_undefined_flag=' $wl-bernotok'
10611 allow_undefined_flag=' $wl-berok'
10612 if test yes = "$with_gnu_ld"; then
10613 # We only use this code for GNU lds that support --whole-archive.
10614 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10616 # Exported symbols can be pulled into shared objects from archives
10617 whole_archive_flag_spec='$convenience'
10619 archive_cmds_need_lc=yes
10620 # This is similar to how AIX traditionally builds its shared libraries.
10621 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'
10629 # see comment about AmigaOS4 .so support
10630 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10631 archive_expsym_cmds=''
10634 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)'
10635 hardcode_libdir_flag_spec='-L$libdir'
10636 hardcode_minus_L=yes
10642 export_dynamic_flag_spec=-rdynamic
10645 cygwin* | mingw* | pw32* | cegcc*)
10646 # When not using gcc, we currently assume that we are using
10647 # Microsoft Visual C++.
10648 # hardcode_libdir_flag_spec is actually meaningless, as there is
10649 # no search path for DLLs.
10650 case $cc_basename in
10653 hardcode_libdir_flag_spec=' '
10654 allow_undefined_flag=unsupported
10655 always_export_symbols=yes
10657 # Tell ltmain to make .lib files, not .a files.
10659 # Tell ltmain to make .dll files, not .so files.
10661 # FIXME: Setting linknames here is a bad hack.
10662 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10663 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s
/^
[ ]*//'\'' -e '\''/^\
(;.
*\
)*$
/d
'\'' -e '\''s
/^\
(EXPORTS\|LIBRARY\
)\
([ ].
*\
)*$
/DEF
/p
'\'' -e q
$export_symbols`" ; then
10664 cp "$export_symbols" "$output_objdir/$soname.def";
10665 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10667 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10669 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10671 # The linker will not automatically build a static lib if we build a DLL.
10672 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10673 enable_shared_with_static_runtimes=yes
10674 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10675 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10677 old_postinstall_cmds='chmod 644 $oldlib'
10678 postlink_cmds='lt_outputfile="@OUTPUT@"~
10679 lt_tool_outputfile="@TOOL_OUTPUT@"~
10680 case $lt_outputfile in
10683 lt_outputfile=$lt_outputfile.exe
10684 lt_tool_outputfile=$lt_tool_outputfile.exe
10687 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10688 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10689 $RM "$lt_outputfile.manifest";
10693 # Assume MSVC wrapper
10694 hardcode_libdir_flag_spec=' '
10695 allow_undefined_flag=unsupported
10696 # Tell ltmain to make .lib files, not .a files.
10698 # Tell ltmain to make .dll files, not .so files.
10700 # FIXME: Setting linknames here is a bad hack.
10701 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all
"$deplibs" |
$SED '\''s
/ -lc$
//'\''` -link -dll~linknames='
10702 # The linker will automatically build a .lib file if we build a DLL.
10703 old_archive_from_new_cmds='true'
10704 # FIXME: Should let the user specify the lib program.
10705 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10706 enable_shared_with_static_runtimes=yes
10711 darwin* | rhapsody*)
10714 archive_cmds_need_lc=no
10716 hardcode_automatic=yes
10717 hardcode_shlibpath_var=unsupported
10718 if test yes = "$lt_cv_ld_force_load"; then
10719 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\"`'
10722 whole_archive_flag_spec=''
10724 link_all_deplibs=yes
10725 allow_undefined_flag=$_lt_dar_allow_undefined
10726 case $cc_basename in
10727 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10728 *) _lt_dar_can_shared=$GCC ;;
10730 if test yes = "$_lt_dar_can_shared"; then
10731 output_verbose_link_cmd=func_echo_all
10732 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10733 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10734 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"
10735 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"
10744 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10745 hardcode_libdir_flag_spec='-L$libdir'
10746 hardcode_shlibpath_var=no
10749 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10750 # support. Future versions do this automatically, but an explicit c++rt0.o
10751 # does not break anything, and helps significantly (at the cost of a little
10754 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10755 hardcode_libdir_flag_spec='-R$libdir'
10756 hardcode_direct=yes
10757 hardcode_shlibpath_var=no
10760 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10762 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10763 hardcode_direct=yes
10764 hardcode_minus_L=yes
10765 hardcode_shlibpath_var=no
10768 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10769 freebsd* | dragonfly*)
10770 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10771 hardcode_libdir_flag_spec='-R$libdir'
10772 hardcode_direct=yes
10773 hardcode_shlibpath_var=no
10777 if test yes = "$GCC"; then
10778 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'
10780 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'
10782 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10783 hardcode_libdir_separator=:
10784 hardcode_direct=yes
10786 # hardcode_minus_L: Not really in the search PATH,
10787 # but as the default location of the library.
10788 hardcode_minus_L=yes
10789 export_dynamic_flag_spec='$wl-E'
10793 if test yes,no = "$GCC,$with_gnu_ld"; then
10794 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10796 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10798 if test no = "$with_gnu_ld"; then
10799 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10800 hardcode_libdir_separator=:
10801 hardcode_direct=yes
10802 hardcode_direct_absolute=yes
10803 export_dynamic_flag_spec='$wl-E'
10804 # hardcode_minus_L: Not really in the search PATH,
10805 # but as the default location of the library.
10806 hardcode_minus_L=yes
10811 if test yes,no = "$GCC,$with_gnu_ld"; then
10814 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10817 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10820 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10826 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10829 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10833 # Older versions of the 11.00 compiler do not understand -b yet
10834 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10836 $as_echo_n "checking if $CC understands -b... " >&6; }
10837 if ${lt_cv_prog_compiler__b+:} false; then :
10838 $as_echo_n "(cached) " >&6
10840 lt_cv_prog_compiler__b=no
10841 save_LDFLAGS=$LDFLAGS
10842 LDFLAGS="$LDFLAGS -b"
10843 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10844 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10845 # The linker can only warn and ignore the option if not recognized
10846 # So say no if there are warnings
10847 if test -s conftest.err; then
10848 # Append any errors to the config.log.
10849 cat conftest.err 1>&5
10850 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10851 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10852 if diff conftest.exp conftest.er2 >/dev/null; then
10853 lt_cv_prog_compiler__b=yes
10856 lt_cv_prog_compiler__b=yes
10860 LDFLAGS=$save_LDFLAGS
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10864 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10866 if test yes = "$lt_cv_prog_compiler__b"; then
10867 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10869 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10875 if test no = "$with_gnu_ld"; then
10876 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10877 hardcode_libdir_separator=:
10882 hardcode_shlibpath_var=no
10885 hardcode_direct=yes
10886 hardcode_direct_absolute=yes
10887 export_dynamic_flag_spec='$wl-E'
10889 # hardcode_minus_L: Not really in the search PATH,
10890 # but as the default location of the library.
10891 hardcode_minus_L=yes
10897 irix5* | irix6* | nonstopux*)
10898 if test yes = "$GCC"; then
10899 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'
10900 # Try to use the -exported_symbol ld option, if it does not
10901 # work, assume that -exports_file does not work either and
10902 # implicitly export all symbols.
10903 # This should be the same for all languages, so no per-tag cache variable.
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10905 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10906 if ${lt_cv_irix_exported_symbol+:} false; then :
10907 $as_echo_n "(cached) " >&6
10909 save_LDFLAGS=$LDFLAGS
10910 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h. */
10913 int foo (void) { return 0; }
10915 if ac_fn_c_try_link "$LINENO"; then :
10916 lt_cv_irix_exported_symbol=yes
10918 lt_cv_irix_exported_symbol=no
10920 rm -f core conftest.err conftest.$ac_objext \
10921 conftest$ac_exeext conftest.$ac_ext
10922 LDFLAGS=$save_LDFLAGS
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10925 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10926 if test yes = "$lt_cv_irix_exported_symbol"; then
10927 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'
10930 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'
10931 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'
10933 archive_cmds_need_lc='no'
10934 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10935 hardcode_libdir_separator=:
10937 link_all_deplibs=yes
10941 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10942 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10944 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10946 hardcode_libdir_flag_spec='-R$libdir'
10947 hardcode_direct=yes
10948 hardcode_shlibpath_var=no
10952 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10953 hardcode_direct=yes
10954 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10955 hardcode_libdir_separator=:
10956 hardcode_shlibpath_var=no
10962 openbsd* | bitrig*)
10963 if test -f /usr/libexec/ld.so; then
10964 hardcode_direct=yes
10965 hardcode_shlibpath_var=no
10966 hardcode_direct_absolute=yes
10967 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`"; then
10968 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10969 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10970 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10971 export_dynamic_flag_spec='$wl-E'
10973 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10974 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10982 hardcode_libdir_flag_spec='-L$libdir'
10983 hardcode_minus_L=yes
10984 allow_undefined_flag=unsupported
10985 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'
10986 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10990 if test yes = "$GCC"; then
10991 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10992 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'
10994 allow_undefined_flag=' -expect_unresolved \*'
10995 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'
10997 archive_cmds_need_lc='no'
10998 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10999 hardcode_libdir_separator=:
11002 osf4* | osf5*) # as osf3* with the addition of -msym flag
11003 if test yes = "$GCC"; then
11004 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11005 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'
11006 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11008 allow_undefined_flag=' -expect_unresolved \*'
11009 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'
11010 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~
11011 $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'
11013 # Both c and cxx compiler support -rpath directly
11014 hardcode_libdir_flag_spec='-rpath $libdir'
11016 archive_cmds_need_lc='no'
11017 hardcode_libdir_separator=:
11021 no_undefined_flag=' -z defs'
11022 if test yes = "$GCC"; then
11024 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11025 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11026 $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'
11028 case `$CC -V 2>&1` in
11031 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11032 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11033 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11037 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11038 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11039 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11043 hardcode_libdir_flag_spec='-R$libdir'
11044 hardcode_shlibpath_var=no
11046 solaris2.[0-5] | solaris2.[0-5].*) ;;
11048 # The compiler driver will combine and reorder linker options,
11049 # but understands '-z linker_flag'. GCC discards it without '$wl',
11050 # but is careful enough not to reorder.
11051 # Supported since Solaris 2.6 (maybe 2.5.1?)
11052 if test yes = "$GCC"; then
11053 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11055 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11059 link_all_deplibs=yes
11063 if test sequent = "$host_vendor"; then
11064 # Use $CC to link under sequent, because it throws in some extra .o
11065 # files that make .init and .fini sections work.
11066 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11068 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11070 hardcode_libdir_flag_spec='-L$libdir'
11071 hardcode_direct=yes
11072 hardcode_minus_L=yes
11073 hardcode_shlibpath_var=no
11077 case $host_vendor in
11079 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11080 hardcode_direct=yes # is this really true???
11083 ## LD is ld it makes a PLAMLIB
11084 ## CC just makes a GrossModule.
11085 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11086 reload_cmds='$CC -r -o $output$reload_objs'
11090 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11091 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11094 runpath_var='LD_RUN_PATH'
11095 hardcode_shlibpath_var=no
11099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11100 hardcode_shlibpath_var=no
11101 export_dynamic_flag_spec='-Bexport'
11105 if test -d /usr/nec; then
11106 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11107 hardcode_shlibpath_var=no
11108 runpath_var=LD_RUN_PATH
11109 hardcode_runpath_var=yes
11114 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11115 no_undefined_flag='$wl-z,text'
11116 archive_cmds_need_lc=no
11117 hardcode_shlibpath_var=no
11118 runpath_var='LD_RUN_PATH'
11120 if test yes = "$GCC"; then
11121 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11122 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11124 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11125 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11129 sysv5* | sco3.2v5* | sco5v6*)
11130 # Note: We CANNOT use -z defs as we might desire, because we do not
11131 # link with -lc, and that would cause any symbols used from libc to
11132 # always be unresolved, which means just about no library would
11133 # ever link correctly. If we're not using GNU ld we use -z text
11134 # though, which does catch some bad symbols but isn't as heavy-handed
11136 no_undefined_flag='$wl-z,text'
11137 allow_undefined_flag='$wl-z,nodefs'
11138 archive_cmds_need_lc=no
11139 hardcode_shlibpath_var=no
11140 hardcode_libdir_flag_spec='$wl-R,$libdir'
11141 hardcode_libdir_separator=':'
11142 link_all_deplibs=yes
11143 export_dynamic_flag_spec='$wl-Bexport'
11144 runpath_var='LD_RUN_PATH'
11146 if test yes = "$GCC"; then
11147 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11148 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11150 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11151 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11156 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11157 hardcode_libdir_flag_spec='-L$libdir'
11158 hardcode_shlibpath_var=no
11166 if test sni = "$host_vendor"; then
11168 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11169 export_dynamic_flag_spec='$wl-Blargedynsym'
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11176 $as_echo "$ld_shlibs" >&6; }
11177 test no = "$ld_shlibs" && can_build_shared=no
11179 with_gnu_ld=$with_gnu_ld
11196 # Do we need to explicitly link libc?
11198 case "x$archive_cmds_need_lc" in
11200 # Assume -lc should be added
11201 archive_cmds_need_lc=yes
11203 if test yes,yes = "$GCC,$enable_shared"; then
11204 case $archive_cmds in
11206 # FIXME: we may have to deal with multi-command sequences.
11209 # Test whether the compiler implicitly links with -lc since on some
11210 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11211 # to ld, don't add -lc before -lgcc.
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11213 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11214 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11215 $as_echo_n "(cached) " >&6
11218 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11220 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11221 (eval $ac_compile) 2>&5
11223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11224 test $ac_status = 0; } 2>conftest.err; then
11227 libobjs=conftest.$ac_objext
11229 wl=$lt_prog_compiler_wl
11230 pic_flag=$lt_prog_compiler_pic
11236 lt_save_allow_undefined_flag=$allow_undefined_flag
11237 allow_undefined_flag=
11238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11239 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11242 test $ac_status = 0; }
11244 lt_cv_archive_cmds_need_lc=no
11246 lt_cv_archive_cmds_need_lc=yes
11248 allow_undefined_flag=$lt_save_allow_undefined_flag
11250 cat conftest.err 1>&5
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11256 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11257 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11416 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11418 if test yes = "$GCC"; then
11420 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11421 *) lt_awk_arg='/^libraries:/' ;;
11424 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11425 *) lt_sed_strip_eq='s|=/|/|g' ;;
11427 lt_search_path_spec=`$CC -print-search-dirs |
awk $lt_awk_arg |
$SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11428 case $lt_search_path_spec in
11430 # if the path contains ";" then we assume it to be the separator
11431 # otherwise default to the standard path separator (i.e. ":") - it is
11432 # assumed that no part of a normal pathname contains ";" but that should
11433 # okay in the real world where ";" in dirpaths is itself problematic.
11434 lt_search_path_spec=`$ECHO "$lt_search_path_spec" |
$SED 's/;/ /g'`
11437 lt_search_path_spec=`$ECHO "$lt_search_path_spec" |
$SED "s/$PATH_SEPARATOR/ /g"`
11440 # Ok, now we have the path, separated by spaces, we can step through it
11441 # and add multilib dir if necessary...
11442 lt_tmp_lt_search_path_spec=
11443 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev
/null
`
11444 # ...but if some path component already ends with the multilib dir we assume
11445 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11446 case "$lt_multi_os_dir; $lt_search_path_spec " in
11447 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11451 for lt_sys_path in $lt_search_path_spec; do
11452 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11453 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11454 elif test -n "$lt_multi_os_dir"; then
11455 test -d "$lt_sys_path" && \
11456 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11459 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" |
awk '
11460 BEGIN {RS = " "; FS = "/|\n";} {
11463 for (lt_i = NF; lt_i > 0; lt_i--) {
11464 if ($lt_i != "" && $lt_i != ".") {
11465 if ($lt_i == "..") {
11468 if (lt_count == 0) {
11469 lt_foo = "/" $lt_i lt_foo;
11476 if (lt_foo != "") { lt_freq[lt_foo]++; }
11477 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11479 # AWK program above erroneously prepends '/' to C:/dos/paths
11482 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11483 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11485 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" |
$lt_NL2SP`
11487 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11489 library_names_spec=
11490 libname_spec='lib$name'
11494 postuninstall_cmds=
11498 shlibpath_overrides_runpath=unknown
11500 dynamic_linker="$host_os ld.so"
11501 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11502 need_lib_prefix=unknown
11503 hardcode_into_libs=no
11505 # when you set need_version to no, make sure it does not cause -set_version
11506 # flags to be left without arguments
11507 need_version=unknown
11511 version_type=linux # correct to gnu/linux during the next big refactor
11512 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11513 shlibpath_var=LIBPATH
11515 # AIX 3 has no versioning support, so we append a major version to the name.
11516 soname_spec='$libname$release$shared_ext$major'
11520 version_type=linux # correct to gnu/linux during the next big refactor
11523 hardcode_into_libs=yes
11524 if test ia64 = "$host_cpu"; then
11525 # AIX 5 supports IA64
11526 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11527 shlibpath_var=LD_LIBRARY_PATH
11529 # With GCC up to 2.95.x, collect2 would create an import file
11530 # for dependence libraries. The import file would start with
11531 # the line '#! .'. This would cause the generated library to
11532 # depend on '.', always an invalid library. This was fixed in
11533 # development snapshots of GCC prior to 3.0.
11535 aix4 | aix4.[01] | aix4.[01].*)
11536 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11538 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11541 can_build_shared=no
11545 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11546 # soname into executable. Probably we can add versioning support to
11547 # collect2, so additional links can be useful in future.
11548 if test yes = "$aix_use_runtimelinking"; then
11549 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11550 # instead of lib<name>.a to let people know that these are not
11551 # typical AIX shared libraries.
11552 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11554 # We preserve .a as extension for shared libraries through AIX4.2
11555 # and later when we are not doing run time linking.
11556 library_names_spec='$libname$release.a $libname.a'
11557 soname_spec='$libname$release$shared_ext$major'
11559 shlibpath_var=LIBPATH
11566 # Since July 2007 AmigaOS4 officially supports .so libraries.
11567 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11568 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11571 library_names_spec='$libname.ixlibrary $libname.a'
11572 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11573 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'
11579 library_names_spec='$libname$shared_ext'
11580 dynamic_linker="$host_os ld.so"
11581 shlibpath_var=LIBRARY_PATH
11585 version_type=linux # correct to gnu/linux during the next big refactor
11587 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11588 soname_spec='$libname$release$shared_ext$major'
11589 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11590 shlibpath_var=LD_LIBRARY_PATH
11591 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11592 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11593 # the default ld.so.conf also contains /usr/contrib/lib and
11594 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11595 # libtool to hard-code these into programs
11598 cygwin* | mingw* | pw32* | cegcc*)
11599 version_type=windows
11604 case $GCC,$cc_basename in
11607 library_names_spec='$libname.dll.a'
11608 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11609 postinstall_cmds='base_file=`basename \
$file`~
11610 dlpath=`$SHELL 2>&1 -c '\''.
$dir/'\''\
$base_file'\''i
; echo \
$dlname'\''`~
11611 dldir=$destdir/`dirname \
$dlpath`~
11612 test -d \$dldir || mkdir -p \$dldir~
11613 $install_prog $dir/$dlname \$dldir/$dlname~
11614 chmod a+x \$dldir/$dlname~
11615 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11616 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11618 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''.
$file; echo \
$dlname'\''`~
11619 dlpath=$dir/\$dldll~
11621 shlibpath_overrides_runpath=yes
11625 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11626 soname_spec='`echo $libname |
sed -e 's/^lib/cyg/'``echo $release |
$SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11628 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11631 # MinGW DLLs use traditional 'lib' prefix
11632 soname_spec='$libname`echo $release |
$SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11635 # pw32 DLLs use 'pw' prefix rather than 'lib'
11636 library_names_spec='`echo $libname |
sed -e 's/^lib/pw/'``echo $release |
$SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11639 dynamic_linker='Win32 ld.exe'
11644 libname_spec='$name'
11645 soname_spec='$libname`echo $release |
$SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11646 library_names_spec='$libname.dll.lib'
11650 sys_lib_search_path_spec=
11653 for lt_path in $LIB
11656 # Let DOS variable expansion print the short 8.3 style file name.
11657 lt_path=`cd "$lt_path" 2>/dev
/null
&& cmd
//C
"for %i in (".
") do @echo %~si"`
11658 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11661 # Convert to MSYS style.
11662 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" |
sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11665 # Convert to unix form, then to dos form, then back to unix form
11666 # but this time dos style (no spaces!) so that the unix form looks
11667 # like /cygdrive/c/PROGRA~1:/cygdr...
11668 sys_lib_search_path_spec=`cygpath
--path --unix "$LIB"`
11669 sys_lib_search_path_spec=`cygpath
--path --dos "$sys_lib_search_path_spec" 2>/dev
/null
`
11670 sys_lib_search_path_spec=`cygpath
--path --unix "$sys_lib_search_path_spec" |
$SED -e "s/$PATH_SEPARATOR/ /g"`
11673 sys_lib_search_path_spec=$LIB
11674 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11675 # It is most probably a Windows format PATH.
11676 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" |
$SED -e 's/;/ /g'`
11678 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" |
$SED -e "s/$PATH_SEPARATOR/ /g"`
11680 # FIXME: find the short name or the path components, as spaces are
11681 # common. (e.g. "Program Files" -> "PROGRA~1")
11685 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11686 postinstall_cmds='base_file=`basename \
$file`~
11687 dlpath=`$SHELL 2>&1 -c '\''.
$dir/'\''\
$base_file'\''i
; echo \
$dlname'\''`~
11688 dldir=$destdir/`dirname \
$dlpath`~
11689 test -d \$dldir || mkdir -p \$dldir~
11690 $install_prog $dir/$dlname \$dldir/$dlname'
11691 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''.
$file; echo \
$dlname'\''`~
11692 dlpath=$dir/\$dldll~
11694 shlibpath_overrides_runpath=yes
11695 dynamic_linker='Win32 link.exe'
11699 # Assume MSVC wrapper
11700 library_names_spec='$libname`echo $release |
$SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11701 dynamic_linker='Win32 ld.exe'
11704 # FIXME: first we should search . and the directory the executable is in
11708 darwin* | rhapsody*)
11709 dynamic_linker="$host_os dyld"
11710 version_type=darwin
11713 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11714 soname_spec='$libname$release$major$shared_ext'
11715 shlibpath_overrides_runpath=yes
11716 shlibpath_var=DYLD_LIBRARY_PATH
11717 shrext_cmds='`test .
$module = .
yes && echo .so ||
echo .dylib
`'
11719 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11720 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11724 version_type=linux # correct to gnu/linux during the next big refactor
11727 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11728 soname_spec='$libname$release$shared_ext$major'
11729 shlibpath_var=LD_LIBRARY_PATH
11732 freebsd* | dragonfly*)
11733 # DragonFly does not have aout. When/if they implement a new
11734 # versioning mechanism, adjust this.
11735 if test -x /usr/bin/objformat; then
11736 objformat=`/usr
/bin
/objformat
`
11739 freebsd[23].*) objformat=aout ;;
11740 *) objformat=elf ;;
11743 version_type=freebsd-$objformat
11744 case $version_type in
11746 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11751 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11755 shlibpath_var=LD_LIBRARY_PATH
11758 shlibpath_overrides_runpath=yes
11760 freebsd3.[01]* | freebsdelf3.[01]*)
11761 shlibpath_overrides_runpath=yes
11762 hardcode_into_libs=yes
11764 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11765 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11766 shlibpath_overrides_runpath=no
11767 hardcode_into_libs=yes
11769 *) # from 4.6 on, and DragonFly
11770 shlibpath_overrides_runpath=yes
11771 hardcode_into_libs=yes
11777 version_type=linux # correct to gnu/linux during the next big refactor
11780 dynamic_linker="$host_os runtime_loader"
11781 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11782 soname_spec='$libname$release$shared_ext$major'
11783 shlibpath_var=LIBRARY_PATH
11784 shlibpath_overrides_runpath=no
11785 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11786 hardcode_into_libs=yes
11789 hpux9* | hpux10* | hpux11*)
11790 # Give a soname corresponding to the major version so that dld.sl refuses to
11791 # link against other versions.
11798 hardcode_into_libs=yes
11799 dynamic_linker="$host_os dld.so"
11800 shlibpath_var=LD_LIBRARY_PATH
11801 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11802 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11803 soname_spec='$libname$release$shared_ext$major'
11804 if test 32 = "$HPUX_IA64_MODE"; then
11805 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11807 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11813 hardcode_into_libs=yes
11814 dynamic_linker="$host_os dld.sl"
11815 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11817 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11818 soname_spec='$libname$release$shared_ext$major'
11819 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11824 dynamic_linker="$host_os dld.sl"
11825 shlibpath_var=SHLIB_PATH
11826 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11827 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11828 soname_spec='$libname$release$shared_ext$major'
11831 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11832 postinstall_cmds='chmod 555 $lib'
11833 # or fails outright, so override atomically:
11834 install_override_mode=555
11838 version_type=linux # correct to gnu/linux during the next big refactor
11841 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11842 soname_spec='$libname$release$shared_ext$major'
11843 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11844 shlibpath_var=LD_LIBRARY_PATH
11845 shlibpath_overrides_runpath=no
11846 hardcode_into_libs=yes
11849 irix5* | irix6* | nonstopux*)
11851 nonstopux*) version_type=nonstopux ;;
11853 if test yes = "$lt_cv_prog_gnu_ld"; then
11854 version_type=linux # correct to gnu/linux during the next big refactor
11861 soname_spec='$libname$release$shared_ext$major'
11862 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11864 irix5* | nonstopux*)
11865 libsuff= shlibsuff=
11868 case $LD in # libtool.m4 will add one of these switches to LD
11869 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11870 libsuff= shlibsuff= libmagic=32-bit;;
11871 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11872 libsuff=32 shlibsuff=N32 libmagic=N32;;
11873 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11874 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11875 *) libsuff= shlibsuff= libmagic=never-match;;
11879 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11880 shlibpath_overrides_runpath=no
11881 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11882 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11883 hardcode_into_libs=yes
11886 # No shared lib support for Linux oldld, aout, or coff.
11887 linux*oldld* | linux*aout* | linux*coff*)
11892 version_type=none # Android doesn't support versioned libraries.
11895 library_names_spec='$libname$release$shared_ext'
11896 soname_spec='$libname$release$shared_ext'
11898 shlibpath_var=LD_LIBRARY_PATH
11899 shlibpath_overrides_runpath=yes
11901 # This implies no fast_install, which is unacceptable.
11902 # Some rework will be needed to allow for fast_install
11903 # before this can be enabled.
11904 hardcode_into_libs=yes
11906 dynamic_linker='Android linker'
11907 # Don't embed -rpath directories since the linker doesn't support them.
11908 hardcode_libdir_flag_spec='-L$libdir'
11911 # This must be glibc/ELF.
11912 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11913 version_type=linux # correct to gnu/linux during the next big refactor
11916 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11917 soname_spec='$libname$release$shared_ext$major'
11918 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11919 shlibpath_var=LD_LIBRARY_PATH
11920 shlibpath_overrides_runpath=no
11922 # Some binutils ld are patched to set DT_RUNPATH
11923 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11924 $as_echo_n "(cached) " >&6
11926 lt_cv_shlibpath_overrides_runpath=no
11927 save_LDFLAGS=$LDFLAGS
11928 save_libdir=$libdir
11929 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11930 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11944 lt_cv_shlibpath_overrides_runpath=yes
11947 rm -f core conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949 LDFLAGS=$save_LDFLAGS
11950 libdir=$save_libdir
11954 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11956 # This implies no fast_install, which is unacceptable.
11957 # Some rework will be needed to allow for fast_install
11958 # before this can be enabled.
11959 hardcode_into_libs=yes
11961 # Add ABI-specific directories to the system library path.
11962 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11964 # Append ld.so.conf contents to the search path
11965 if test -f /etc/ld.so.conf; then
11966 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' ' '`
11967 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11971 # We used to test for /lib/ld.so.1 and disable shared libraries on
11972 # powerpc, because MkLinux only supported shared libraries with the
11973 # GNU dynamic linker. Since this was broken with cross compilers,
11974 # most powerpc-linux boxes support dynamic linking these days and
11975 # people can always --disable-shared, the test was removed, and we
11976 # assume the GNU/Linux dynamic linker is in use.
11977 dynamic_linker='GNU/Linux ld.so'
11984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11985 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11986 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11987 dynamic_linker='NetBSD (a.out) ld.so'
11989 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11990 soname_spec='$libname$release$shared_ext$major'
11991 dynamic_linker='NetBSD ld.elf_so'
11993 shlibpath_var=LD_LIBRARY_PATH
11994 shlibpath_overrides_runpath=yes
11995 hardcode_into_libs=yes
11999 version_type=linux # correct to gnu/linux during the next big refactor
12000 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12001 shlibpath_var=LD_LIBRARY_PATH
12002 shlibpath_overrides_runpath=yes
12009 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12010 soname_spec='$libname$release$shared_ext$major'
12011 shlibpath_var=LD_LIBRARY_PATH
12012 shlibpath_overrides_runpath=no
12013 hardcode_into_libs=yes
12014 dynamic_linker='ldqnx.so'
12017 openbsd* | bitrig*)
12019 sys_lib_dlsearch_path_spec=/usr/lib
12021 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`"; then
12026 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12027 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12028 shlibpath_var=LD_LIBRARY_PATH
12029 shlibpath_overrides_runpath=yes
12033 libname_spec='$name'
12036 library_names_spec='$libname$shared_ext $libname.a'
12037 dynamic_linker='OS/2 ld.exe'
12038 shlibpath_var=LIBPATH
12041 osf3* | osf4* | osf5*)
12045 soname_spec='$libname$release$shared_ext$major'
12046 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12047 shlibpath_var=LD_LIBRARY_PATH
12048 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12049 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12057 version_type=linux # correct to gnu/linux during the next big refactor
12060 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12061 soname_spec='$libname$release$shared_ext$major'
12062 shlibpath_var=LD_LIBRARY_PATH
12063 shlibpath_overrides_runpath=yes
12064 hardcode_into_libs=yes
12065 # ldd complains unless libraries are executable
12066 postinstall_cmds='chmod +x $lib'
12071 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12072 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12073 shlibpath_var=LD_LIBRARY_PATH
12074 shlibpath_overrides_runpath=yes
12075 if test yes = "$with_gnu_ld"; then
12082 version_type=linux # correct to gnu/linux during the next big refactor
12083 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12084 soname_spec='$libname$release$shared_ext$major'
12085 shlibpath_var=LD_LIBRARY_PATH
12086 case $host_vendor in
12088 shlibpath_overrides_runpath=no
12090 runpath_var=LD_RUN_PATH
12098 shlibpath_overrides_runpath=no
12099 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12105 if test -d /usr/nec; then
12106 version_type=linux # correct to gnu/linux during the next big refactor
12107 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12108 soname_spec='$libname$shared_ext.$major'
12109 shlibpath_var=LD_LIBRARY_PATH
12113 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12114 version_type=freebsd-elf
12117 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12118 soname_spec='$libname$release$shared_ext$major'
12119 shlibpath_var=LD_LIBRARY_PATH
12120 shlibpath_overrides_runpath=yes
12121 hardcode_into_libs=yes
12122 if test yes = "$with_gnu_ld"; then
12123 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12125 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12128 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12132 sys_lib_dlsearch_path_spec='/usr/lib'
12136 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12137 version_type=linux # correct to gnu/linux during the next big refactor
12140 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12141 shlibpath_var=LD_LIBRARY_PATH
12142 shlibpath_overrides_runpath=no
12143 hardcode_into_libs=yes
12147 version_type=linux # correct to gnu/linux during the next big refactor
12148 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12149 soname_spec='$libname$release$shared_ext$major'
12150 shlibpath_var=LD_LIBRARY_PATH
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12158 $as_echo "$dynamic_linker" >&6; }
12159 test no = "$dynamic_linker" && can_build_shared=no
12161 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12162 if test yes = "$GCC"; then
12163 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12166 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12167 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12169 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12170 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12265 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12267 if test -n "$hardcode_libdir_flag_spec" ||
12268 test -n "$runpath_var" ||
12269 test yes = "$hardcode_automatic"; then
12271 # We can hardcode non-existent directories.
12272 if test no != "$hardcode_direct" &&
12273 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12274 # have to relink, otherwise we might link with an installed library
12275 # when we should be linking with a yet-to-be-installed one
12276 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12277 test no != "$hardcode_minus_L"; then
12278 # Linking always hardcodes the temporary library directory.
12279 hardcode_action=relink
12281 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12282 hardcode_action=immediate
12285 # We cannot hardcode anything, or else we can only hardcode existing
12287 hardcode_action=unsupported
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12290 $as_echo "$hardcode_action" >&6; }
12292 if test relink = "$hardcode_action" ||
12293 test yes = "$inherit_rpath"; then
12294 # Fast installation is not supported
12295 enable_fast_install=no
12296 elif test yes = "$shlibpath_overrides_runpath" ||
12297 test no = "$enable_shared"; then
12298 # Fast installation is not necessary
12299 enable_fast_install=needless
12307 if test yes != "$enable_dlopen"; then
12308 enable_dlopen=unknown
12309 enable_dlopen_self=unknown
12310 enable_dlopen_self_static=unknown
12317 lt_cv_dlopen=load_add_on
12319 lt_cv_dlopen_self=yes
12322 mingw* | pw32* | cegcc*)
12323 lt_cv_dlopen=LoadLibrary
12328 lt_cv_dlopen=dlopen
12333 # if libdl is installed we need to link against it
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12335 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12336 if ${ac_cv_lib_dl_dlopen+:} false; then :
12337 $as_echo_n "(cached) " >&6
12339 ac_check_lib_save_LIBS=$LIBS
12341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12342 /* end confdefs.h. */
12344 /* Override any GCC internal prototype to avoid an error.
12345 Use char because int might match the return type of a GCC
12346 builtin and then its argument prototype would still apply. */
12359 if ac_fn_c_try_link "$LINENO"; then :
12360 ac_cv_lib_dl_dlopen=yes
12362 ac_cv_lib_dl_dlopen=no
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 LIBS=$ac_check_lib_save_LIBS
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12369 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12370 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12371 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12376 lt_cv_dlopen_self=yes
12383 # Don't try to run any link tests for TPF. We know it's impossible
12384 # because TPF is a cross-compiler, and we know how we open DSOs.
12385 lt_cv_dlopen=dlopen
12387 lt_cv_dlopen_self=no
12391 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12392 if test "x$ac_cv_func_shl_load" = xyes; then :
12393 lt_cv_dlopen=shl_load
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12396 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12397 if ${ac_cv_lib_dld_shl_load+:} false; then :
12398 $as_echo_n "(cached) " >&6
12400 ac_check_lib_save_LIBS=$LIBS
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12415 return shl_load ();
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 ac_cv_lib_dld_shl_load=yes
12423 ac_cv_lib_dld_shl_load=no
12425 rm -f core conftest.err conftest.$ac_objext \
12426 conftest$ac_exeext conftest.$ac_ext
12427 LIBS=$ac_check_lib_save_LIBS
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12430 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12431 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12432 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12434 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12435 if test "x$ac_cv_func_dlopen" = xyes; then :
12436 lt_cv_dlopen=dlopen
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12439 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12440 if ${ac_cv_lib_dl_dlopen+:} false; then :
12441 $as_echo_n "(cached) " >&6
12443 ac_check_lib_save_LIBS=$LIBS
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12448 /* Override any GCC internal prototype to avoid an error.
12449 Use char because int might match the return type of a GCC
12450 builtin and then its argument prototype would still apply. */
12463 if ac_fn_c_try_link "$LINENO"; then :
12464 ac_cv_lib_dl_dlopen=yes
12466 ac_cv_lib_dl_dlopen=no
12468 rm -f core conftest.err conftest.$ac_objext \
12469 conftest$ac_exeext conftest.$ac_ext
12470 LIBS=$ac_check_lib_save_LIBS
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12473 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12474 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12475 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12478 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12479 if ${ac_cv_lib_svld_dlopen+:} false; then :
12480 $as_echo_n "(cached) " >&6
12482 ac_check_lib_save_LIBS=$LIBS
12483 LIBS="-lsvld $LIBS"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 /* Override any GCC internal prototype to avoid an error.
12488 Use char because int might match the return type of a GCC
12489 builtin and then its argument prototype would still apply. */
12502 if ac_fn_c_try_link "$LINENO"; then :
12503 ac_cv_lib_svld_dlopen=yes
12505 ac_cv_lib_svld_dlopen=no
12507 rm -f core conftest.err conftest.$ac_objext \
12508 conftest$ac_exeext conftest.$ac_ext
12509 LIBS=$ac_check_lib_save_LIBS
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12512 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12513 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12514 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12517 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12518 if ${ac_cv_lib_dld_dld_link+:} false; then :
12519 $as_echo_n "(cached) " >&6
12521 ac_check_lib_save_LIBS=$LIBS
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 /* Override any GCC internal prototype to avoid an error.
12527 Use char because int might match the return type of a GCC
12528 builtin and then its argument prototype would still apply. */
12536 return dld_link ();
12541 if ac_fn_c_try_link "$LINENO"; then :
12542 ac_cv_lib_dld_dld_link=yes
12544 ac_cv_lib_dld_dld_link=no
12546 rm -f core conftest.err conftest.$ac_objext \
12547 conftest$ac_exeext conftest.$ac_ext
12548 LIBS=$ac_check_lib_save_LIBS
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12551 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12552 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12553 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12574 if test no = "$lt_cv_dlopen"; then
12580 case $lt_cv_dlopen in
12582 save_CPPFLAGS=$CPPFLAGS
12583 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12585 save_LDFLAGS=$LDFLAGS
12586 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12589 LIBS="$lt_cv_dlopen_libs $LIBS"
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12592 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12593 if ${lt_cv_dlopen_self+:} false; then :
12594 $as_echo_n "(cached) " >&6
12596 if test yes = "$cross_compiling"; then :
12597 lt_cv_dlopen_self=cross
12599 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12600 lt_status=$lt_dlunknown
12601 cat > conftest.$ac_ext <<_LT_EOF
12602 #line $LINENO "configure"
12603 #include "confdefs.h"
12612 # define LT_DLGLOBAL RTLD_GLOBAL
12615 # define LT_DLGLOBAL DL_GLOBAL
12617 # define LT_DLGLOBAL 0
12621 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12622 find out it does not work in some platform. */
12623 #ifndef LT_DLLAZY_OR_NOW
12625 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12628 # define LT_DLLAZY_OR_NOW DL_LAZY
12631 # define LT_DLLAZY_OR_NOW RTLD_NOW
12634 # define LT_DLLAZY_OR_NOW DL_NOW
12636 # define LT_DLLAZY_OR_NOW 0
12643 /* When -fvisbility=hidden is used, assume the code has been annotated
12644 correspondingly for the symbols needed. */
12645 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12646 int fnord () __attribute__((visibility("default")));
12649 int fnord () { return 42; }
12652 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12653 int status = $lt_dlunknown;
12657 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12660 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12661 else puts (dlerror ());
12663 /* dlclose (self); */
12671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12672 (eval $ac_link) 2>&5
12674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12675 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12676 (./conftest; exit; ) >&5 2>/dev/null
12678 case x$lt_status in
12679 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12680 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12681 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12684 # compilation failed
12685 lt_cv_dlopen_self=no
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12693 $as_echo "$lt_cv_dlopen_self" >&6; }
12695 if test yes = "$lt_cv_dlopen_self"; then
12696 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12698 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12699 if ${lt_cv_dlopen_self_static+:} false; then :
12700 $as_echo_n "(cached) " >&6
12702 if test yes = "$cross_compiling"; then :
12703 lt_cv_dlopen_self_static=cross
12705 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12706 lt_status=$lt_dlunknown
12707 cat > conftest.$ac_ext <<_LT_EOF
12708 #line $LINENO "configure"
12709 #include "confdefs.h"
12718 # define LT_DLGLOBAL RTLD_GLOBAL
12721 # define LT_DLGLOBAL DL_GLOBAL
12723 # define LT_DLGLOBAL 0
12727 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12728 find out it does not work in some platform. */
12729 #ifndef LT_DLLAZY_OR_NOW
12731 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12734 # define LT_DLLAZY_OR_NOW DL_LAZY
12737 # define LT_DLLAZY_OR_NOW RTLD_NOW
12740 # define LT_DLLAZY_OR_NOW DL_NOW
12742 # define LT_DLLAZY_OR_NOW 0
12749 /* When -fvisbility=hidden is used, assume the code has been annotated
12750 correspondingly for the symbols needed. */
12751 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12752 int fnord () __attribute__((visibility("default")));
12755 int fnord () { return 42; }
12758 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12759 int status = $lt_dlunknown;
12763 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12766 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12767 else puts (dlerror ());
12769 /* dlclose (self); */
12777 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12778 (eval $ac_link) 2>&5
12780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12781 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12782 (./conftest; exit; ) >&5 2>/dev/null
12784 case x$lt_status in
12785 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12786 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12787 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12790 # compilation failed
12791 lt_cv_dlopen_self_static=no
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12799 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12802 CPPFLAGS=$save_CPPFLAGS
12803 LDFLAGS=$save_LDFLAGS
12808 case $lt_cv_dlopen_self in
12809 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12810 *) enable_dlopen_self=unknown ;;
12813 case $lt_cv_dlopen_self_static in
12814 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12815 *) enable_dlopen_self_static=unknown ;;
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12838 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12839 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12840 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12841 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12843 $as_echo "yes" >&6; }
12845 # FIXME - insert some real tests, host_os isn't really good enough
12848 if test -n "$STRIP"; then
12849 striplib="$STRIP -x"
12850 old_striplib="$STRIP -S"
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12852 $as_echo "yes" >&6; }
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12860 $as_echo "no" >&6; }
12876 # Report what library types will actually be built
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12878 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12880 $as_echo "$can_build_shared" >&6; }
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12883 $as_echo_n "checking whether to build shared libraries... " >&6; }
12884 test no = "$can_build_shared" && enable_shared=no
12886 # On AIX, shared libraries and static libraries use the same namespace, and
12887 # are all built from PIC.
12890 test yes = "$enable_shared" && enable_static=no
12891 if test -n "$RANLIB"; then
12892 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12893 postinstall_cmds='$RANLIB $lib'
12898 if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
12899 test yes = "$enable_shared" && enable_static=no
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12904 $as_echo "$enable_shared" >&6; }
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12907 $as_echo_n "checking whether to build static libraries... " >&6; }
12908 # Make sure either enable_shared or enable_static is yes.
12909 test yes = "$enable_shared" || enable_static=yes
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12911 $as_echo "$enable_static" >&6; }
12918 ac_cpp='$CPP $CPPFLAGS'
12919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12939 ac_config_commands="$ac_config_commands libtool"
12944 # Only expand once:
12949 # /***********************************************************************
12950 # // Checks for header files
12951 # ************************************************************************/
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12955 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12956 if ${ac_cv_header_time+:} false; then :
12957 $as_echo_n "(cached) " >&6
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12961 #include <sys/types.h>
12962 #include <sys/time.h>
12968 if ((struct tm *) 0)
12974 if ac_fn_c_try_compile "$LINENO"; then :
12975 ac_cv_header_time=yes
12977 ac_cv_header_time=no
12979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12982 $as_echo "$ac_cv_header_time" >&6; }
12983 if test $ac_cv_header_time = yes; then
12985 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12989 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
12991 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12992 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12994 cat >>confdefs.h <<_ACEOF
12995 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13003 if test "X$ac_cv_header_limits_h" != Xyes; then
13004 as_fn_error $? "<limits.h> header not found" "$LINENO" 5
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h is sane" >&5
13008 $as_echo_n "checking whether limits.h is sane... " >&6; }
13009 if ${mfx_cv_header_sane_limits_h+:} false; then :
13010 $as_echo_n "(cached) " >&6
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13014 #include <limits.h>
13015 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
13016 # if defined(__APPLE__) && defined(__GNUC__)
13017 # error "your preprocessor is broken - use compiler option -no-cpp-precomp"
13019 # include "your preprocessor is broken"
13022 #define MFX_0xffff 0xffff
13023 #define MFX_0xffffffffL 4294967295ul
13024 #if !defined(CHAR_BIT) || (CHAR_BIT != 8)
13025 # include "error CHAR_BIT"
13027 #if !defined(UCHAR_MAX)
13028 # include "error UCHAR_MAX 1"
13030 #if !defined(USHRT_MAX)
13031 # include "error USHRT_MAX 1"
13033 #if !defined(UINT_MAX)
13034 # include "error UINT_MAX 1"
13036 #if !defined(ULONG_MAX)
13037 # include "error ULONG_MAX 1"
13039 #if !defined(SHRT_MAX)
13040 # include "error SHRT_MAX 1"
13042 #if !defined(INT_MAX)
13043 # include "error INT_MAX 1"
13045 #if !defined(LONG_MAX)
13046 # include "error LONG_MAX 1"
13048 #if (UCHAR_MAX < 1)
13049 # include "error UCHAR_MAX 2"
13051 #if (USHRT_MAX < 1)
13052 # include "error USHRT_MAX 2"
13055 # include "error UINT_MAX 2"
13057 #if (ULONG_MAX < 1)
13058 # include "error ULONG_MAX 2"
13060 #if (UCHAR_MAX < 0xff)
13061 # include "error UCHAR_MAX 3"
13063 #if (USHRT_MAX < MFX_0xffff)
13064 # include "error USHRT_MAX 3"
13066 #if (UINT_MAX < MFX_0xffff)
13067 # include "error UINT_MAX 3"
13069 #if (ULONG_MAX < MFX_0xffffffffL)
13070 # include "error ULONG_MAX 3"
13072 #if (USHRT_MAX > UINT_MAX)
13073 # include "error USHRT_MAX vs UINT_MAX"
13075 #if (UINT_MAX > ULONG_MAX)
13076 # include "error UINT_MAX vs ULONG_MAX"
13083 #if (USHRT_MAX == MFX_0xffff)
13084 { typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; }
13085 #elif (USHRT_MAX >= MFX_0xffff)
13086 { typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; }
13088 #if (UINT_MAX == MFX_0xffff)
13089 { typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; }
13090 #elif (UINT_MAX >= MFX_0xffff)
13091 { typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; }
13093 #if (ULONG_MAX == MFX_0xffff)
13094 { typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; }
13095 #elif (ULONG_MAX >= MFX_0xffff)
13096 { typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; }
13098 #if !defined(_CRAY1) /* CRAY PVP systems */
13099 #if (USHRT_MAX == MFX_0xffffffffL)
13100 { typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; }
13101 #elif (USHRT_MAX >= MFX_0xffffffffL)
13102 { typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; }
13104 #endif /* _CRAY1 */
13105 #if (UINT_MAX == MFX_0xffffffffL)
13106 { typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; }
13107 #elif (UINT_MAX >= MFX_0xffffffffL)
13108 { typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; }
13110 #if (ULONG_MAX == MFX_0xffffffffL)
13111 { typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; }
13112 #elif (ULONG_MAX >= MFX_0xffffffffL)
13113 { typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; }
13120 if ac_fn_c_try_compile "$LINENO"; then :
13121 mfx_cv_header_sane_limits_h=yes
13123 mfx_cv_header_sane_limits_h=no
13125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_cv_header_sane_limits_h" >&5
13128 $as_echo "$mfx_cv_header_sane_limits_h" >&6; }
13130 if test "X$mfx_cv_header_sane_limits_h" != Xyes; then
13131 as_fn_error $? "your <limits.h> header is broken - for details see config.log" "$LINENO" 5
13135 # /***********************************************************************
13136 # // Checks for typedefs and structures
13137 # ************************************************************************/
13139 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13140 if test "x$ac_cv_type_off_t" = xyes; then :
13144 cat >>confdefs.h <<_ACEOF
13145 #define off_t long int
13150 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
13151 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
13155 cat >>confdefs.h <<_ACEOF
13156 #define ptrdiff_t long
13161 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13162 if test "x$ac_cv_type_size_t" = xyes; then :
13166 cat >>confdefs.h <<_ACEOF
13167 #define size_t unsigned int
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
13173 $as_echo_n "checking return type of signal handlers... " >&6; }
13174 if ${ac_cv_type_signal+:} false; then :
13175 $as_echo_n "(cached) " >&6
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13179 #include <sys/types.h>
13180 #include <signal.h>
13185 return *(signal (0, 0)) (0) == 1;
13190 if ac_fn_c_try_compile "$LINENO"; then :
13191 ac_cv_type_signal=int
13193 ac_cv_type_signal=void
13195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
13198 $as_echo "$ac_cv_type_signal" >&6; }
13200 cat >>confdefs.h <<_ACEOF
13201 #define RETSIGTYPE $ac_cv_type_signal
13207 # The cast to long int works around a bug in the HP C Compiler
13208 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13209 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
13210 # This bug is HP SR number 8606223364.
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13212 $as_echo_n "checking size of short... " >&6; }
13213 if ${ac_cv_sizeof_short+:} false; then :
13214 $as_echo_n "(cached) " >&6
13216 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13219 if test "$ac_cv_type_short" = yes; then
13220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13221 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
13222 as_fn_error 77 "cannot compute sizeof (short)
13223 See \`config.log
' for more details" "$LINENO" 5; }
13225 ac_cv_sizeof_short=0
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13231 $as_echo "$ac_cv_sizeof_short" >&6; }
13235 cat >>confdefs.h <<_ACEOF
13236 #define SIZEOF_SHORT $ac_cv_sizeof_short
13240 # The cast to long int works around a bug in the HP C Compiler
13241 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13242 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13243 # This bug is HP SR number 8606223364.
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13245 $as_echo_n "checking size of int... " >&6; }
13246 if ${ac_cv_sizeof_int+:} false
; then :
13247 $as_echo_n "(cached) " >&6
13249 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13252 if test "$ac_cv_type_int" = yes; then
13253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13255 as_fn_error
77 "cannot compute sizeof (int)
13256 See \`config.log' for more details" "$LINENO" 5; }
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13264 $as_echo "$ac_cv_sizeof_int" >&6; }
13268 cat >>confdefs.h
<<_ACEOF
13269 #define SIZEOF_INT $ac_cv_sizeof_int
13273 # The cast to long int works around a bug in the HP C Compiler
13274 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13275 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13276 # This bug is HP SR number 8606223364.
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13278 $as_echo_n "checking size of long... " >&6; }
13279 if ${ac_cv_sizeof_long+:} false
; then :
13280 $as_echo_n "(cached) " >&6
13282 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13285 if test "$ac_cv_type_long" = yes; then
13286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13288 as_fn_error
77 "cannot compute sizeof (long)
13289 See \`config.log' for more details" "$LINENO" 5; }
13291 ac_cv_sizeof_long
=0
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13297 $as_echo "$ac_cv_sizeof_long" >&6; }
13301 cat >>confdefs.h
<<_ACEOF
13302 #define SIZEOF_LONG $ac_cv_sizeof_long
13307 # The cast to long int works around a bug in the HP C Compiler
13308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13310 # This bug is HP SR number 8606223364.
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
13312 $as_echo_n "checking size of long long... " >&6; }
13313 if ${ac_cv_sizeof_long_long+:} false
; then :
13314 $as_echo_n "(cached) " >&6
13316 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
13319 if test "$ac_cv_type_long_long" = yes; then
13320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13322 as_fn_error
77 "cannot compute sizeof (long long)
13323 See \`config.log' for more details" "$LINENO" 5; }
13325 ac_cv_sizeof_long_long
=0
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
13331 $as_echo "$ac_cv_sizeof_long_long" >&6; }
13335 cat >>confdefs.h
<<_ACEOF
13336 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13340 # The cast to long int works around a bug in the HP C Compiler
13341 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13342 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13343 # This bug is HP SR number 8606223364.
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int16" >&5
13345 $as_echo_n "checking size of __int16... " >&6; }
13346 if ${ac_cv_sizeof___int16+:} false
; then :
13347 $as_echo_n "(cached) " >&6
13349 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int16))" "ac_cv_sizeof___int16" "$ac_includes_default"; then :
13352 if test "$ac_cv_type___int16" = yes; then
13353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13355 as_fn_error
77 "cannot compute sizeof (__int16)
13356 See \`config.log' for more details" "$LINENO" 5; }
13358 ac_cv_sizeof___int16
=0
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int16" >&5
13364 $as_echo "$ac_cv_sizeof___int16" >&6; }
13368 cat >>confdefs.h
<<_ACEOF
13369 #define SIZEOF___INT16 $ac_cv_sizeof___int16
13373 # The cast to long int works around a bug in the HP C Compiler
13374 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13375 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13376 # This bug is HP SR number 8606223364.
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
13378 $as_echo_n "checking size of __int32... " >&6; }
13379 if ${ac_cv_sizeof___int32+:} false
; then :
13380 $as_echo_n "(cached) " >&6
13382 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
13385 if test "$ac_cv_type___int32" = yes; then
13386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13388 as_fn_error
77 "cannot compute sizeof (__int32)
13389 See \`config.log' for more details" "$LINENO" 5; }
13391 ac_cv_sizeof___int32
=0
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
13397 $as_echo "$ac_cv_sizeof___int32" >&6; }
13401 cat >>confdefs.h
<<_ACEOF
13402 #define SIZEOF___INT32 $ac_cv_sizeof___int32
13406 # The cast to long int works around a bug in the HP C Compiler
13407 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13408 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13409 # This bug is HP SR number 8606223364.
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
13411 $as_echo_n "checking size of __int64... " >&6; }
13412 if ${ac_cv_sizeof___int64+:} false
; then :
13413 $as_echo_n "(cached) " >&6
13415 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64" "$ac_includes_default"; then :
13418 if test "$ac_cv_type___int64" = yes; then
13419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13421 as_fn_error
77 "cannot compute sizeof (__int64)
13422 See \`config.log' for more details" "$LINENO" 5; }
13424 ac_cv_sizeof___int64
=0
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
13430 $as_echo "$ac_cv_sizeof___int64" >&6; }
13434 cat >>confdefs.h
<<_ACEOF
13435 #define SIZEOF___INT64 $ac_cv_sizeof___int64
13440 # The cast to long int works around a bug in the HP C Compiler
13441 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13442 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13443 # This bug is HP SR number 8606223364.
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13445 $as_echo_n "checking size of void *... " >&6; }
13446 if ${ac_cv_sizeof_void_p+:} false
; then :
13447 $as_echo_n "(cached) " >&6
13449 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13452 if test "$ac_cv_type_void_p" = yes; then
13453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13455 as_fn_error
77 "cannot compute sizeof (void *)
13456 See \`config.log' for more details" "$LINENO" 5; }
13458 ac_cv_sizeof_void_p
=0
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13464 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13468 cat >>confdefs.h
<<_ACEOF
13469 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13473 # The cast to long int works around a bug in the HP C Compiler
13474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13476 # This bug is HP SR number 8606223364.
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
13478 $as_echo_n "checking size of size_t... " >&6; }
13479 if ${ac_cv_sizeof_size_t+:} false
; then :
13480 $as_echo_n "(cached) " >&6
13482 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
13485 if test "$ac_cv_type_size_t" = yes; then
13486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13488 as_fn_error
77 "cannot compute sizeof (size_t)
13489 See \`config.log' for more details" "$LINENO" 5; }
13491 ac_cv_sizeof_size_t
=0
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
13497 $as_echo "$ac_cv_sizeof_size_t" >&6; }
13501 cat >>confdefs.h
<<_ACEOF
13502 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
13506 # The cast to long int works around a bug in the HP C Compiler
13507 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13508 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13509 # This bug is HP SR number 8606223364.
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
13511 $as_echo_n "checking size of ptrdiff_t... " >&6; }
13512 if ${ac_cv_sizeof_ptrdiff_t+:} false
; then :
13513 $as_echo_n "(cached) " >&6
13515 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t" "$ac_includes_default"; then :
13518 if test "$ac_cv_type_ptrdiff_t" = yes; then
13519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13521 as_fn_error
77 "cannot compute sizeof (ptrdiff_t)
13522 See \`config.log' for more details" "$LINENO" 5; }
13524 ac_cv_sizeof_ptrdiff_t
=0
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
13530 $as_echo "$ac_cv_sizeof_ptrdiff_t" >&6; }
13534 cat >>confdefs.h
<<_ACEOF
13535 #define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
13541 # The cast to long int works around a bug in the HP C Compiler
13542 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13543 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13544 # This bug is HP SR number 8606223364.
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
13546 $as_echo_n "checking size of __int32... " >&6; }
13547 if ${ac_cv_sizeof___int32+:} false
; then :
13548 $as_echo_n "(cached) " >&6
13550 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
13553 if test "$ac_cv_type___int32" = yes; then
13554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13556 as_fn_error
77 "cannot compute sizeof (__int32)
13557 See \`config.log' for more details" "$LINENO" 5; }
13559 ac_cv_sizeof___int32
=0
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
13565 $as_echo "$ac_cv_sizeof___int32" >&6; }
13569 cat >>confdefs.h
<<_ACEOF
13570 #define SIZEOF___INT32 $ac_cv_sizeof___int32
13574 # The cast to long int works around a bug in the HP C Compiler
13575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13577 # This bug is HP SR number 8606223364.
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5
13579 $as_echo_n "checking size of intmax_t... " >&6; }
13580 if ${ac_cv_sizeof_intmax_t+:} false
; then :
13581 $as_echo_n "(cached) " >&6
13583 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default"; then :
13586 if test "$ac_cv_type_intmax_t" = yes; then
13587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13589 as_fn_error
77 "cannot compute sizeof (intmax_t)
13590 See \`config.log' for more details" "$LINENO" 5; }
13592 ac_cv_sizeof_intmax_t
=0
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5
13598 $as_echo "$ac_cv_sizeof_intmax_t" >&6; }
13602 cat >>confdefs.h
<<_ACEOF
13603 #define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
13607 # The cast to long int works around a bug in the HP C Compiler
13608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13610 # This bug is HP SR number 8606223364.
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintmax_t" >&5
13612 $as_echo_n "checking size of uintmax_t... " >&6; }
13613 if ${ac_cv_sizeof_uintmax_t+:} false
; then :
13614 $as_echo_n "(cached) " >&6
13616 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (uintmax_t))" "ac_cv_sizeof_uintmax_t" "$ac_includes_default"; then :
13619 if test "$ac_cv_type_uintmax_t" = yes; then
13620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13622 as_fn_error
77 "cannot compute sizeof (uintmax_t)
13623 See \`config.log' for more details" "$LINENO" 5; }
13625 ac_cv_sizeof_uintmax_t
=0
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintmax_t" >&5
13631 $as_echo "$ac_cv_sizeof_uintmax_t" >&6; }
13635 cat >>confdefs.h
<<_ACEOF
13636 #define SIZEOF_UINTMAX_T $ac_cv_sizeof_uintmax_t
13640 # The cast to long int works around a bug in the HP C Compiler
13641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13643 # This bug is HP SR number 8606223364.
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intptr_t" >&5
13645 $as_echo_n "checking size of intptr_t... " >&6; }
13646 if ${ac_cv_sizeof_intptr_t+:} false
; then :
13647 $as_echo_n "(cached) " >&6
13649 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (intptr_t))" "ac_cv_sizeof_intptr_t" "$ac_includes_default"; then :
13652 if test "$ac_cv_type_intptr_t" = yes; then
13653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13655 as_fn_error
77 "cannot compute sizeof (intptr_t)
13656 See \`config.log' for more details" "$LINENO" 5; }
13658 ac_cv_sizeof_intptr_t
=0
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intptr_t" >&5
13664 $as_echo "$ac_cv_sizeof_intptr_t" >&6; }
13668 cat >>confdefs.h
<<_ACEOF
13669 #define SIZEOF_INTPTR_T $ac_cv_sizeof_intptr_t
13673 # The cast to long int works around a bug in the HP C Compiler
13674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13676 # This bug is HP SR number 8606223364.
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
13678 $as_echo_n "checking size of uintptr_t... " >&6; }
13679 if ${ac_cv_sizeof_uintptr_t+:} false
; then :
13680 $as_echo_n "(cached) " >&6
13682 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (uintptr_t))" "ac_cv_sizeof_uintptr_t" "$ac_includes_default"; then :
13685 if test "$ac_cv_type_uintptr_t" = yes; then
13686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13688 as_fn_error
77 "cannot compute sizeof (uintptr_t)
13689 See \`config.log' for more details" "$LINENO" 5; }
13691 ac_cv_sizeof_uintptr_t
=0
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
13697 $as_echo "$ac_cv_sizeof_uintptr_t" >&6; }
13701 cat >>confdefs.h
<<_ACEOF
13702 #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t
13707 # The cast to long int works around a bug in the HP C Compiler
13708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13710 # This bug is HP SR number 8606223364.
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
13712 $as_echo_n "checking size of float... " >&6; }
13713 if ${ac_cv_sizeof_float+:} false
; then :
13714 $as_echo_n "(cached) " >&6
13716 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
13719 if test "$ac_cv_type_float" = yes; then
13720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13722 as_fn_error
77 "cannot compute sizeof (float)
13723 See \`config.log' for more details" "$LINENO" 5; }
13725 ac_cv_sizeof_float
=0
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
13731 $as_echo "$ac_cv_sizeof_float" >&6; }
13735 cat >>confdefs.h
<<_ACEOF
13736 #define SIZEOF_FLOAT $ac_cv_sizeof_float
13740 # The cast to long int works around a bug in the HP C Compiler
13741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13742 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13743 # This bug is HP SR number 8606223364.
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
13745 $as_echo_n "checking size of double... " >&6; }
13746 if ${ac_cv_sizeof_double+:} false
; then :
13747 $as_echo_n "(cached) " >&6
13749 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
13752 if test "$ac_cv_type_double" = yes; then
13753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13755 as_fn_error
77 "cannot compute sizeof (double)
13756 See \`config.log' for more details" "$LINENO" 5; }
13758 ac_cv_sizeof_double
=0
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
13764 $as_echo "$ac_cv_sizeof_double" >&6; }
13768 cat >>confdefs.h
<<_ACEOF
13769 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
13773 # The cast to long int works around a bug in the HP C Compiler
13774 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13775 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13776 # This bug is HP SR number 8606223364.
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
13778 $as_echo_n "checking size of long double... " >&6; }
13779 if ${ac_cv_sizeof_long_double+:} false
; then :
13780 $as_echo_n "(cached) " >&6
13782 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
13785 if test "$ac_cv_type_long_double" = yes; then
13786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13788 as_fn_error
77 "cannot compute sizeof (long double)
13789 See \`config.log' for more details" "$LINENO" 5; }
13791 ac_cv_sizeof_long_double
=0
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
13797 $as_echo "$ac_cv_sizeof_long_double" >&6; }
13801 cat >>confdefs.h
<<_ACEOF
13802 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
13807 # The cast to long int works around a bug in the HP C Compiler
13808 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13809 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13810 # This bug is HP SR number 8606223364.
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of dev_t" >&5
13812 $as_echo_n "checking size of dev_t... " >&6; }
13813 if ${ac_cv_sizeof_dev_t+:} false
; then :
13814 $as_echo_n "(cached) " >&6
13816 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (dev_t))" "ac_cv_sizeof_dev_t" "$ac_includes_default"; then :
13819 if test "$ac_cv_type_dev_t" = yes; then
13820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13822 as_fn_error
77 "cannot compute sizeof (dev_t)
13823 See \`config.log' for more details" "$LINENO" 5; }
13825 ac_cv_sizeof_dev_t
=0
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_dev_t" >&5
13831 $as_echo "$ac_cv_sizeof_dev_t" >&6; }
13835 cat >>confdefs.h
<<_ACEOF
13836 #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t
13840 # The cast to long int works around a bug in the HP C Compiler
13841 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13842 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13843 # This bug is HP SR number 8606223364.
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
13845 $as_echo_n "checking size of fpos_t... " >&6; }
13846 if ${ac_cv_sizeof_fpos_t+:} false
; then :
13847 $as_echo_n "(cached) " >&6
13849 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (fpos_t))" "ac_cv_sizeof_fpos_t" "$ac_includes_default"; then :
13852 if test "$ac_cv_type_fpos_t" = yes; then
13853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13855 as_fn_error
77 "cannot compute sizeof (fpos_t)
13856 See \`config.log' for more details" "$LINENO" 5; }
13858 ac_cv_sizeof_fpos_t
=0
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
13864 $as_echo "$ac_cv_sizeof_fpos_t" >&6; }
13868 cat >>confdefs.h
<<_ACEOF
13869 #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
13873 # The cast to long int works around a bug in the HP C Compiler
13874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13876 # This bug is HP SR number 8606223364.
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of mode_t" >&5
13878 $as_echo_n "checking size of mode_t... " >&6; }
13879 if ${ac_cv_sizeof_mode_t+:} false
; then :
13880 $as_echo_n "(cached) " >&6
13882 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (mode_t))" "ac_cv_sizeof_mode_t" "$ac_includes_default"; then :
13885 if test "$ac_cv_type_mode_t" = yes; then
13886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13888 as_fn_error
77 "cannot compute sizeof (mode_t)
13889 See \`config.log' for more details" "$LINENO" 5; }
13891 ac_cv_sizeof_mode_t
=0
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_mode_t" >&5
13897 $as_echo "$ac_cv_sizeof_mode_t" >&6; }
13901 cat >>confdefs.h
<<_ACEOF
13902 #define SIZEOF_MODE_T $ac_cv_sizeof_mode_t
13906 # The cast to long int works around a bug in the HP C Compiler
13907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13909 # This bug is HP SR number 8606223364.
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
13911 $as_echo_n "checking size of off_t... " >&6; }
13912 if ${ac_cv_sizeof_off_t+:} false
; then :
13913 $as_echo_n "(cached) " >&6
13915 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
13918 if test "$ac_cv_type_off_t" = yes; then
13919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13921 as_fn_error
77 "cannot compute sizeof (off_t)
13922 See \`config.log' for more details" "$LINENO" 5; }
13924 ac_cv_sizeof_off_t
=0
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
13930 $as_echo "$ac_cv_sizeof_off_t" >&6; }
13934 cat >>confdefs.h
<<_ACEOF
13935 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
13939 # The cast to long int works around a bug in the HP C Compiler
13940 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13941 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13942 # This bug is HP SR number 8606223364.
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5
13944 $as_echo_n "checking size of ssize_t... " >&6; }
13945 if ${ac_cv_sizeof_ssize_t+:} false
; then :
13946 $as_echo_n "(cached) " >&6
13948 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (ssize_t))" "ac_cv_sizeof_ssize_t" "$ac_includes_default"; then :
13951 if test "$ac_cv_type_ssize_t" = yes; then
13952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13954 as_fn_error
77 "cannot compute sizeof (ssize_t)
13955 See \`config.log' for more details" "$LINENO" 5; }
13957 ac_cv_sizeof_ssize_t
=0
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ssize_t" >&5
13963 $as_echo "$ac_cv_sizeof_ssize_t" >&6; }
13967 cat >>confdefs.h
<<_ACEOF
13968 #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
13972 # The cast to long int works around a bug in the HP C Compiler
13973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13975 # This bug is HP SR number 8606223364.
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
13977 $as_echo_n "checking size of time_t... " >&6; }
13978 if ${ac_cv_sizeof_time_t+:} false
; then :
13979 $as_echo_n "(cached) " >&6
13981 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
13984 if test "$ac_cv_type_time_t" = yes; then
13985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13987 as_fn_error
77 "cannot compute sizeof (time_t)
13988 See \`config.log' for more details" "$LINENO" 5; }
13990 ac_cv_sizeof_time_t
=0
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
13996 $as_echo "$ac_cv_sizeof_time_t" >&6; }
14000 cat >>confdefs.h
<<_ACEOF
14001 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
14008 # /***********************************************************************
14009 # // Checks for library functions
14010 # ************************************************************************/
14013 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
14015 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14016 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14017 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14018 cat >>confdefs.h
<<_ACEOF
14019 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14027 if test "X$GCC" = Xyes
; then
14029 cygwin
* | mingw
* | pw32
*)
14030 test "X$LIBS" != "X" && LIBS
="$LIBS "
14031 LIBS
="${LIBS}-lwinmm" ;;
14037 # /***********************************************************************
14038 # // Checks for assembler
14039 # ************************************************************************/
14041 # Check whether --enable-asm was given.
14042 if test "${enable_asm+set}" = set; then :
14043 enableval
=$enable_asm;
14052 case "$host_cpu-$ac_cv_sizeof_void_p" in
14053 amd64-8 | x86_64-8
) asm_arch
="amd64"; asm_dir
="asm/amd64/src_gas/elf64"; asm_mode
="amd64_src_gas_elf64" ;;
14054 i?
86-4) asm_arch
="i386"; asm_dir
="asm/i386/src_gas"; asm_mode
="i386_src_gas" ;;
14055 *) enable_asm
=no
;;
14057 LZO_USE_ASM_i386_src_gas
=no
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build assembly versions" >&5
14060 $as_echo_n "checking whether to build assembly versions... " >&6; }
14061 if test "X$enable_asm" != Xno
; then
14062 mfx_compile_S
='${CCAS} ${CCASFLAGS} -c conftest.S 1>&5'
14063 cat > conftest.S
<<EOF
14064 #if !defined(__i386__) && !defined(__i386)
14068 #include "$ac_abs_top_srcdir/$asm_dir/lzo1x_f1.S"
14071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mfx_compile_S\""; } >&5
14072 (eval $mfx_compile_S) 2>&5
14074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14075 test $ac_status = 0; }; then
14076 if { ac_try
='test -s conftest.$ac_objext'
14077 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14078 (eval $ac_try) 2>&5
14080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14081 test $ac_status = 0; }; }; then
14083 eval asm_msg_
$asm_arch="'yes [$asm_dir]'"
14084 eval LZO_USE_ASM_
$asm_mode=yes
14087 if test "X$enable_asm" = Xno
; then
14088 echo "configure: failed program was:" >&5
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_asm" >&5
14094 $as_echo "$enable_asm" >&6; }
14096 if test "X$LZO_USE_ASM_i386_src_gas" != Xno
; then
14097 LZO_USE_ASM_i386_src_gas_TRUE
=
14098 LZO_USE_ASM_i386_src_gas_FALSE
='#'
14100 LZO_USE_ASM_i386_src_gas_TRUE
='#'
14101 LZO_USE_ASM_i386_src_gas_FALSE
=
14105 LZO_USE_ASM_i386_obj_elf32_TRUE
=
14106 LZO_USE_ASM_i386_obj_elf32_FALSE
='#'
14108 LZO_USE_ASM_i386_obj_elf32_TRUE
='#'
14109 LZO_USE_ASM_i386_obj_elf32_FALSE
=
14114 # /***********************************************************************
14115 # // Write output files
14116 # ************************************************************************/
14119 mfx_tmp
="-I$srcdir/include -I$srcdir"
14120 mfx_save_CPPFLAGS
=$CPPFLAGS
14121 test "X$mfx_tmp" = "X" || CPPFLAGS
="$mfx_tmp $CPPFLAGS"
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether your compiler passes the LZO conformance test" >&5
14124 $as_echo_n "checking whether your compiler passes the LZO conformance test... " >&6; }
14126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14128 #include <limits.h>
14129 #include <stddef.h>
14130 #define LZO_CFG_NO_CONFIG_HEADER 1
14131 #define LZO_WANT_ACC_INCD_H 1
14132 #include <lzo/lzoconf.h>
14133 #include <src/lzo_supp.h>
14135 #undef LZOCHK_ASSERT
14136 #define LZOCHK_ASSERT(expr) LZO_COMPILE_TIME_ASSERT_HEADER(expr)
14137 #define LZO_WANT_ACC_CHK_CH 1
14138 #include <src/lzo_supp.h>
14140 #undef LZOCHK_ASSERT
14141 #define LZOCHK_ASSERT(expr) LZO_COMPILE_TIME_ASSERT(expr)
14142 static void test_lzo_compile_time_assert(void) {
14143 #define LZO_WANT_ACC_CHK_CH 1
14144 #include <src/lzo_supp.h>
14148 #include <assert.h>
14149 #undef LZOCHK_ASSERT
14150 #define LZOCHK_ASSERT(expr) assert(expr);
14151 static int test_lzo_run_time_assert(int r) {
14152 #define LZO_WANT_ACC_CHK_CH 1
14153 #include <src/lzo_supp.h>
14161 test_lzo_compile_time_assert();
14162 if (test_lzo_run_time_assert(1) != 1) return 1;
14171 if ac_fn_c_try_compile
"$LINENO"; then :
14174 rm -f core conftest.err conftest.
$ac_objext
14175 rm -f conftest.
$ac_ext conftest.
$ac_objext
14177 CPPFLAGS
=$mfx_save_CPPFLAGS
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
14180 $as_echo "$mfx_tmp" >&6; }
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14185 $as_echo "$as_me: " >&6;}
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: Your compiler failed the LZO conformance test - for details see " >&5
14187 $as_echo "$as_me: Your compiler failed the LZO conformance test - for details see " >&6;}
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: \`config.log'. Please check that log file and consider sending" >&5
14189 $as_echo "$as_me: \`config.log'. Please check that log file and consider sending" >&6;}
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&5
14191 $as_echo "$as_me: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&6;}
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: Thanks for your support." >&5
14193 $as_echo "$as_me: Thanks for your support." >&6;}
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14195 $as_echo "$as_me: " >&6;}
14196 as_fn_error $?
"LZO conformance test failed. Stop." "$LINENO" 5
14201 if test -r .Conf.settings2
; then
14202 . .
/.Conf.settings2
14205 my_DEFS
="-DLZO_HAVE_CONFIG_H=1"
14206 if test "X$enable_asm" != Xno
; then
14207 my_DEFS
="$my_DEFS -DLZO_USE_ASM=1"
14211 ac_config_files
="$ac_config_files Makefile"
14213 cat >confcache
<<\_ACEOF
14214 # This file is a shell script that caches the results of configure
14215 # tests run on this system so they can be shared between configure
14216 # scripts and configure runs, see configure's option --config-cache.
14217 # It is not useful on other systems. If it contains results you don't
14218 # want to keep, you may remove or edit it.
14220 # config.status only pays attention to the cache file if you give it
14221 # the --recheck option to rerun configure.
14223 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14224 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14225 # following values.
14229 # The following way of writing the cache mishandles newlines in values,
14230 # but we know of no workaround that is simple, portable, and efficient.
14231 # So, we kill variables containing newlines.
14232 # Ultrix sh set writes to stderr and can't be redirected directly,
14233 # and sets the high bit in the cache file unless we assign to the vars.
14235 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14236 eval ac_val
=\$
$ac_var
14240 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14241 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14244 _ | IFS | as_nl
) ;; #(
14245 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14246 *) { eval $ac_var=; unset $ac_var;} ;;
14252 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14253 *${as_nl}ac_space
=\
*)
14254 # `set' does not quote correctly, so add quotes: double-quote
14255 # substitution turns \\\\ into \\, and sed turns \\ into \.
14258 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14261 # `set' quotes correctly as required by POSIX, so do not add quotes.
14262 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14271 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14273 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14275 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14276 if test -w "$cache_file"; then
14277 if test "x$cache_file" != "x/dev/null"; then
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14279 $as_echo "$as_me: updating cache $cache_file" >&6;}
14280 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14281 cat confcache
>"$cache_file"
14283 case $cache_file in #(
14285 mv -f confcache
"$cache_file"$$
&&
14286 mv -f "$cache_file"$$
"$cache_file" ;; #(
14288 mv -f confcache
"$cache_file" ;;
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14294 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14299 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14300 # Let make expand exec_prefix.
14301 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14303 DEFS
=-DHAVE_CONFIG_H
14308 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14309 # 1. Remove the extension, and $U if already installed.
14310 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14311 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14312 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14313 # will be set to the directory where LIBOBJS objects are built.
14314 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14315 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14317 LIBOBJS
=$ac_libobjs
14319 LTLIBOBJS
=$ac_ltlibobjs
14322 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14323 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14326 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14327 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14330 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14331 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
14332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14336 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14337 if test -n "$am_sleep_pid"; then
14338 # Hide warnings about reused PIDs.
14339 wait $am_sleep_pid 2>/dev
/null
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14342 $as_echo "done" >&6; }
14343 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14344 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14347 if test -n "$EXEEXT"; then
14349 am__EXEEXT_FALSE
='#'
14351 am__EXEEXT_TRUE
='#'
14355 if test -z "${LZO_USE_ASM_i386_src_gas_TRUE}" && test -z "${LZO_USE_ASM_i386_src_gas_FALSE}"; then
14356 as_fn_error $?
"conditional \"LZO_USE_ASM_i386_src_gas\" was never defined.
14357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14359 if test -z "${LZO_USE_ASM_i386_obj_elf32_TRUE}" && test -z "${LZO_USE_ASM_i386_obj_elf32_FALSE}"; then
14360 as_fn_error $?
"conditional \"LZO_USE_ASM_i386_obj_elf32\" was never defined.
14361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14364 test "X$DEFS" = "X-DHAVE_CONFIG_H" && DEFS
=
14365 test "X$DEFS" != "X" && DEFS
="$DEFS "
14366 DEFS
="${DEFS}${my_DEFS}"
14369 : "${CONFIG_STATUS=./config.status}"
14371 ac_clean_files_save
=$ac_clean_files
14372 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14374 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14376 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14378 # Generated by $as_me.
14379 # Run this file to recreate the current configuration.
14380 # Compiler output produced by configure, useful for debugging
14381 # configure, is in config.log if it exists.
14384 ac_cs_recheck=false
14387 SHELL=\${CONFIG_SHELL-$SHELL}
14390 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14391 ## -------------------- ##
14392 ## M4sh Initialization. ##
14393 ## -------------------- ##
14395 # Be more Bourne compatible
14396 DUALCASE
=1; export DUALCASE
# for MKS sh
14397 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14400 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14401 # is contrary to our usage. Disable this feature.
14402 alias -g '${1+"$@"}'='"$@"'
14403 setopt NO_GLOB_SUBST
14405 case `(set -o) 2>/dev/null` in #(
14417 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14418 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14419 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14420 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14421 # Prefer a ksh shell builtin over an external printf program on Solaris,
14422 # but without wasting forks for bash or zsh.
14423 if test -z "$BASH_VERSION$ZSH_VERSION" \
14424 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14425 as_echo='print
-r --'
14426 as_echo_n='print
-rn --'
14427 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14428 as_echo='printf %s
\n'
14429 as_echo_n='printf %s
'
14431 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14432 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14433 as_echo_n='/usr
/ucb
/echo -n'
14435 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14436 as_echo_n_body='eval
14440 expr "X$arg" : "X\\(.*\\)$as_nl";
14441 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14443 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14445 export as_echo_n_body
14446 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14448 export as_echo_body
14449 as_echo='sh
-c $as_echo_body as_echo
'
14452 # The user is always right.
14453 if test "${PATH_SEPARATOR+set}" != set; then
14455 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14456 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14463 # We need space, tab and new line, in precisely that order. Quoting is
14464 # there to prevent editors from complaining about space-tab.
14465 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14466 # splitting by setting IFS to empty value.)
14469 # Find who we are. Look in the path if we contain no directory separator.
14472 *[\\/]* ) as_myself=$0 ;;
14473 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14474 for as_dir in $PATH
14477 test -z "$as_dir" && as_dir=.
14478 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14484 # We did not find ourselves, most probably we were run as `sh COMMAND'
14485 # in which case we are not to be found in the path.
14486 if test "x$as_myself" = x
; then
14489 if test ! -f "$as_myself"; then
14490 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14494 # Unset variables that we do not need and which cause bugs (e.g. in
14495 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14496 # suppresses any "Segmentation fault" message there. '((' could
14497 # trigger a bug in pdksh 5.2.14.
14498 for as_var
in BASH_ENV ENV MAIL MAILPATH
14499 do eval test x\
${$as_var+set} = xset \
14500 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14513 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14516 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14517 # ----------------------------------------
14518 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14519 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14520 # script with STATUS, using 1 if that was 0.
14523 as_status
=$1; test $as_status -eq 0 && as_status
=1
14525 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14526 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14528 $as_echo "$as_me: error: $2" >&2
14529 as_fn_exit
$as_status
14533 # as_fn_set_status STATUS
14534 # -----------------------
14535 # Set $? to STATUS, without forking.
14536 as_fn_set_status
()
14539 } # as_fn_set_status
14541 # as_fn_exit STATUS
14542 # -----------------
14543 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14547 as_fn_set_status
$1
14553 # Portably unset VAR.
14556 { eval $1=; unset $1;}
14558 as_unset
=as_fn_unset
14559 # as_fn_append VAR VALUE
14560 # ----------------------
14561 # Append the text in VALUE to the end of the definition contained in VAR. Take
14562 # advantage of any shell optimizations that allow amortized linear growth over
14563 # repeated appends, instead of the typical quadratic growth present in naive
14565 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14566 eval 'as_fn_append ()
14577 # as_fn_arith ARG...
14578 # ------------------
14579 # Perform arithmetic evaluation on the ARGs, and store the result in the
14580 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14581 # must be portable across $(()) and expr.
14582 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14583 eval 'as_fn_arith ()
14590 as_val
=`expr "$@" || test $? -eq 1`
14595 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14596 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14602 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14603 as_basename
=basename
14608 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14614 as_me
=`$as_basename -- "$0" ||
14615 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14616 X"$0" : 'X\(//\)$' \| \
14617 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14619 sed '/^.*\/\([^/][^/]*\)\/*$/{
14633 # Avoid depending upon Character Ranges.
14634 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14635 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14636 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14637 as_cr_digits
='0123456789'
14638 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14640 ECHO_C
= ECHO_N
= ECHO_T
=
14641 case `echo -n x` in #(((((
14643 case `echo 'xy\c'` in
14644 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14646 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14653 rm -f conf$$ conf$$.exe conf$$.
file
14654 if test -d conf$$.dir
; then
14655 rm -f conf$$.dir
/conf$$.
file
14658 mkdir conf$$.dir
2>/dev
/null
14660 if (echo >conf$$.
file) 2>/dev
/null
; then
14661 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14663 # ... but there are two gotchas:
14664 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14665 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14666 # In both cases, we have to default to `cp -pR'.
14667 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14669 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14677 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14678 rmdir conf$$.dir
2>/dev
/null
14683 # Create "$as_dir" as a directory, including parents if necessary.
14688 -*) as_dir
=.
/$as_dir;;
14690 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14694 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14695 *) as_qdir
=$as_dir;;
14697 as_dirs
="'$as_qdir' $as_dirs"
14698 as_dir
=`$as_dirname -- "$as_dir" ||
14699 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14700 X"$as_dir" : 'X\(//\)[^/]' \| \
14701 X"$as_dir" : 'X\(//\)$' \| \
14702 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14703 $as_echo X"$as_dir" |
14704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14708 /^X\(\/\/\)[^/].*/{
14721 test -d "$as_dir" && break
14723 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14724 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14728 if mkdir
-p .
2>/dev
/null
; then
14729 as_mkdir_p
='mkdir -p "$as_dir"'
14731 test -d .
/-p && rmdir .
/-p
14736 # as_fn_executable_p FILE
14737 # -----------------------
14738 # Test if FILE is an executable regular file.
14739 as_fn_executable_p
()
14741 test -f "$1" && test -x "$1"
14742 } # as_fn_executable_p
14743 as_test_x
='test -x'
14744 as_executable_p
=as_fn_executable_p
14746 # Sed expression to map a string onto a valid CPP name.
14747 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14749 # Sed expression to map a string onto a valid variable name.
14750 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14754 ## ----------------------------------- ##
14755 ## Main body of $CONFIG_STATUS script. ##
14756 ## ----------------------------------- ##
14758 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14761 # Save the log message, to keep $0 and so on meaningful, and to
14762 # report actual input values of CONFIG_FILES etc. instead of their
14763 # values after options handling.
14765 This file was extended by LZO $as_me 2.09, which was
14766 generated by GNU Autoconf 2.69. Invocation command line was
14768 CONFIG_FILES = $CONFIG_FILES
14769 CONFIG_HEADERS = $CONFIG_HEADERS
14770 CONFIG_LINKS = $CONFIG_LINKS
14771 CONFIG_COMMANDS = $CONFIG_COMMANDS
14774 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14779 case $ac_config_files in *"
14780 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14783 case $ac_config_headers in *"
14784 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14789 # Files that config.status was made for.
14790 config_files="$ac_config_files"
14791 config_headers="$ac_config_headers"
14792 config_commands="$ac_config_commands"
14796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14798 \`$as_me' instantiates files and other configuration actions
14799 from templates according to the current configuration. Unless the files
14800 and actions are specified as TAGs, all are instantiated by default.
14802 Usage: $0 [OPTION]... [TAG]...
14804 -h, --help print this help, then exit
14805 -V, --version print version number and configuration settings, then exit
14806 --config print configuration, then exit
14807 -q, --quiet, --silent
14808 do not print progress messages
14809 -d, --debug don't remove temporary files
14810 --recheck update $as_me by reconfiguring in the same conditions
14811 --file=FILE[:TEMPLATE]
14812 instantiate the configuration file FILE
14813 --header=FILE[:TEMPLATE]
14814 instantiate the configuration header FILE
14816 Configuration files:
14819 Configuration headers:
14822 Configuration commands:
14825 Report bugs to <markus@oberhumer.com>.
14826 LZO home page: <http://www.oberhumer.com/opensource/lzo/>."
14829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14830 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14832 LZO config.status 2.09
14833 configured by $0, generated by GNU Autoconf 2.69,
14834 with options \\"\$ac_cs_config\\"
14836 Copyright (C) 2012 Free Software Foundation, Inc.
14837 This config.status script is free software; the Free Software Foundation
14838 gives unlimited permission to copy, distribute and modify it."
14845 test -n "\$AWK" || AWK=awk
14848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14849 # The default lists apply if the user does not specify any file.
14855 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14856 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14860 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14872 # Handling of the options.
14873 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14875 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14876 $as_echo "$ac_cs_version"; exit ;;
14877 --config |
--confi |
--conf |
--con |
--co |
--c )
14878 $as_echo "$ac_cs_config"; exit ;;
14879 --debug |
--debu |
--deb |
--de |
--d |
-d )
14881 --file |
--fil |
--fi |
--f )
14884 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14885 '') as_fn_error $?
"missing file argument" ;;
14887 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14888 ac_need_defaults
=false
;;
14889 --header |
--heade |
--head |
--hea )
14892 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14894 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14895 ac_need_defaults
=false
;;
14897 # Conflict between --help and --header
14898 as_fn_error $?
"ambiguous option: \`$1'
14899 Try \`$0 --help' for more information.";;
14900 --help |
--hel |
-h )
14901 $as_echo "$ac_cs_usage"; exit ;;
14902 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14903 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14906 # This is an error.
14907 -*) as_fn_error $?
"unrecognized option: \`$1'
14908 Try \`$0 --help' for more information." ;;
14910 *) as_fn_append ac_config_targets
" $1"
14911 ac_need_defaults
=false
;;
14917 ac_configure_extra_args
=
14919 if $ac_cs_silent; then
14921 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14926 if \$ac_cs_recheck; then
14927 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14929 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14930 CONFIG_SHELL='$SHELL'
14931 export CONFIG_SHELL
14936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14940 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14941 ## Running $as_me. ##
14947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14951 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14954 # The HP-UX ksh and POSIX shell print the target directory to stdout
14955 # if CDPATH is set.
14956 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14958 sed_quote_subst='$sed_quote_subst'
14959 double_quote_subst='$double_quote_subst'
14960 delay_variable_subst='$delay_variable_subst'
14961 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14962 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14963 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14964 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14965 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14966 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14967 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14968 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14969 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14970 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14971 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14972 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14973 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14974 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14975 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14976 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14977 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14978 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14979 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14980 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14981 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14982 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14983 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14984 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14985 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14986 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14987 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14988 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14989 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14990 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14991 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14992 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14993 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14994 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14995 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14996 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14997 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14998 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14999 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15000 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15001 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15002 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15003 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15004 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15005 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15006 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15007 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15008 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15009 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15010 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15011 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15012 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15013 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15014 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15015 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15016 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15017 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15018 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"`'
15019 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15020 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15021 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15022 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15023 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15024 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15025 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15026 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15027 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15028 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15029 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15030 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15031 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15032 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15033 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15034 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15035 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15036 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15037 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15038 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15039 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15040 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15041 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15042 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15043 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15044 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15045 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15046 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15047 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15048 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15049 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15050 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15051 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15052 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15053 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15054 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15055 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15056 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15057 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15058 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15059 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15060 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15061 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15062 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15063 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15064 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15065 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15066 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15067 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15068 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15069 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15070 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15071 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15072 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15073 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15074 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15075 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15076 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15077 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15078 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15079 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15080 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15081 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15082 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15083 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15084 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15085 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15086 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15087 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15088 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15089 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15090 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15091 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15092 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15095 LTCFLAGS='$LTCFLAGS'
15096 compiler='$compiler_DEFAULT'
15098 # A function that is used when there is no print builtin or printf.
15099 func_fallback_echo ()
15101 eval 'cat <<_LTECHO_EOF
15106 # Quote evaled strings.
15121 deplibs_check_method \
15126 sharedlib_from_linklib_cmd \
15129 archiver_list_spec \
15135 lt_cv_sys_global_symbol_pipe \
15136 lt_cv_sys_global_symbol_to_cdecl \
15137 lt_cv_sys_global_symbol_to_import \
15138 lt_cv_sys_global_symbol_to_c_name_address \
15139 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15140 lt_cv_nm_interface \
15141 nm_file_list_spec \
15142 lt_prog_compiler_no_builtin_flag \
15143 lt_prog_compiler_pic \
15144 lt_prog_compiler_wl \
15145 lt_prog_compiler_static \
15146 lt_cv_prog_compiler_c_o \
15155 export_dynamic_flag_spec \
15156 whole_archive_flag_spec \
15157 compiler_needs_object \
15159 allow_undefined_flag \
15160 no_undefined_flag \
15161 hardcode_libdir_flag_spec \
15162 hardcode_libdir_separator \
15166 variables_saved_for_relink \
15168 library_names_spec \
15170 install_override_mode \
15174 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15175 *[\\\\\\\`\\"\\\$]*)
15176 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15179 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15184 # Double-quote double-evaled strings.
15185 for var in reload_cmds \
15186 old_postinstall_cmds \
15187 old_postuninstall_cmds \
15189 extract_expsyms_cmds \
15190 old_archive_from_new_cmds \
15191 old_archive_from_expsyms_cmds \
15193 archive_expsym_cmds \
15195 module_expsym_cmds \
15196 export_symbols_cmds \
15200 postuninstall_cmds \
15202 sys_lib_search_path_spec \
15203 sys_lib_dlsearch_path_spec; do
15204 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15205 *[\\\\\\\`\\"\\\$]*)
15206 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15209 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15214 ac_aux_dir='$ac_aux_dir'
15216 # See if we are running on zsh, and set the options that allow our
15217 # commands through without removal of \ escapes INIT.
15218 if test -n "\${ZSH_VERSION+set}"; then
15219 setopt NO_GLOB_SUBST
15233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15235 # Handling of arguments.
15236 for ac_config_target
in $ac_config_targets
15238 case $ac_config_target in
15239 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15240 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
15241 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15242 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15244 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15249 # If the user did not use the arguments to specify the items to instantiate,
15250 # then the envvar interface is used. Set only those that are not.
15251 # We use the long form for the default assignment because of an extremely
15252 # bizarre bug on SunOS 4.1.3.
15253 if $ac_need_defaults; then
15254 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15255 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15256 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15259 # Have a temporary directory for convenience. Make it in the build tree
15260 # simply because there is no reason against having it here, and in addition,
15261 # creating and moving files from /tmp can sometimes cause problems.
15262 # Hook for its removal unless debugging.
15263 # Note that there is a small window in which the directory will not be cleaned:
15264 # after its creation but before its name has been assigned to `$tmp'.
15268 trap 'exit_status=$?
15269 : "${ac_tmp:=$tmp}"
15270 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15272 trap 'as_fn_exit 1' 1 2 13 15
15274 # Create a (secure) tmp directory for tmp files.
15277 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15281 tmp
=.
/conf$$
-$RANDOM
15282 (umask 077 && mkdir
"$tmp")
15283 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15286 # Set up the scripts for CONFIG_FILES section.
15287 # No need to generate them if there are no CONFIG_FILES.
15288 # This happens for instance with `./config.status config.h'.
15289 if test -n "$CONFIG_FILES"; then
15292 ac_cr
=`echo X | tr X '\015'`
15293 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15294 # But we know of no other shell where ac_cr would be empty at this
15295 # point, so we can use a bashism as a fallback.
15296 if test "x$ac_cr" = x
; then
15297 eval ac_cr
=\$
\'\\r
\'
15299 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15300 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15303 ac_cs_awk_cr
=$ac_cr
15306 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15311 echo "cat >conf$$subs.awk <<_ACEOF" &&
15312 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15314 } >conf$$subs.sh ||
15315 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15316 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15318 for ac_last_try in false false false false false :; do
15319 . ./conf$$subs.sh ||
15320 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15322 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15323 if test $ac_delim_n = $ac_delim_num; then
15325 elif $ac_last_try; then
15326 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15328 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15331 rm -f conf$$subs.sh
15333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15334 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15338 s/^/S["/; s
/!.
*/"]=/
15348 s/\(.\{148\}\)..*/\1/
15350 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15355 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15362 s/\(.\{148\}\)..*/\1/
15364 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15368 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15373 ' <conf$$subs.awk | sed '
15378 ' >>$CONFIG_STATUS || ac_write_fail=1
15379 rm -f conf$$subs.awk
15380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15382 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15383 for (key in S) S_is_set[key] = 1
15389 nfields = split(line, field, "@
")
15391 len = length(field[1])
15392 for (i = 2; i < nfields; i++) {
15394 keylen = length(key)
15395 if (S_is_set[key]) {
15397 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15398 len += length(value) + length(field[++i])
15409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15410 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15411 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15414 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15415 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15418 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15419 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15420 # trailing colons and then remove the whole line if VPATH becomes empty
15421 # (actually we leave an empty line to preserve line numbers).
15422 if test "x
$srcdir" = x.; then
15423 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15442 fi # test -n "$CONFIG_FILES"
15444 # Set up the scripts for CONFIG_HEADERS section.
15445 # No need to generate them if there are no CONFIG_HEADERS.
15446 # This happens for instance with `./config.status Makefile'.
15447 if test -n "$CONFIG_HEADERS"; then
15448 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15452 # Transform confdefs.h into an awk script `defines.awk', embedded as
15453 # here-document in config.status, that substitutes the proper values into
15454 # config.h.in to produce config.h.
15456 # Create a delimiter string that does not exist in confdefs.h, to ease
15457 # handling of long lines.
15459 for ac_last_try in false false :; do
15460 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15461 if test -z "$ac_tt"; then
15463 elif $ac_last_try; then
15464 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15466 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15470 # For the awk script, D is an array of macro values keyed by name,
15471 # likewise P contains macro parameters if any. Preserve backslash
15472 # newline sequences.
15474 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15476 s/.\{148\}/&'"$ac_delim"'/g
15479 s/^[ ]*#[ ]*define[ ][ ]*/ /
15486 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15488 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15492 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15493 D["\
1"]=" \
3\\\\\\n
"\\/p
15495 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15500 s/.\{148\}/&'"$ac_delim"'/g
15505 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15508 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15510 ' <confdefs.h | sed '
15511 s/'"$ac_delim"'/"\\\
15512 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15515 for (key in D) D_is_set[key] = 1
15518 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15520 split(line, arg, " ")
15521 if (arg[1] == "#") {
15525 defundef
= substr
(arg
[1], 2)
15528 split(mac1
, mac2
, "(") #)
15530 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15531 if (D_is_set
[macro
]) {
15532 # Preserve the white space surrounding the "#".
15533 print prefix
"define", macro P
[macro
] D
[macro
]
15536 # Replace #undef with comments. This is necessary, for example,
15537 # in the case of _POSIX_SOURCE, which is predefined and required
15538 # on some systems where configure will not decide to define it.
15539 if (defundef
== "undef") {
15540 print
"/*", prefix defundef
, macro
, "*/"
15548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15549 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15550 fi # test -n "$CONFIG_HEADERS"
15553 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15558 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15560 case $ac_mode$ac_tag in
15562 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15563 :[FH
]-) ac_tag
=-:-;;
15564 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15581 -) ac_f
="$ac_tmp/stdin";;
15582 *) # Look for the file first in the build tree, then in the source tree
15583 # (if the path is not absolute). The absolute path cannot be DOS-style,
15584 # because $ac_f cannot contain `:'.
15588 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15590 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15592 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15593 as_fn_append ac_file_inputs
" '$ac_f'"
15596 # Let's still pretend it is `configure' which instantiates (i.e., don't
15597 # use $as_me), people would be surprised to read:
15598 # /* config.h. Generated by config.status. */
15599 configure_input
='Generated from '`
15600 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15602 if test x
"$ac_file" != x-
; then
15603 configure_input
="$ac_file. $configure_input"
15604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15605 $as_echo "$as_me: creating $ac_file" >&6;}
15607 # Neutralize special characters interpreted by sed in replacement strings.
15608 case $configure_input in #(
15609 *\
&* |
*\|
* |
*\\* )
15610 ac_sed_conf_input
=`$as_echo "$configure_input" |
15611 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15612 *) ac_sed_conf_input
=$configure_input;;
15616 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15617 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15622 ac_dir
=`$as_dirname -- "$ac_file" ||
15623 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15624 X"$ac_file" : 'X\(//\)[^/]' \| \
15625 X"$ac_file" : 'X\(//\)$' \| \
15626 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15627 $as_echo X"$ac_file" |
15628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15632 /^X\(\/\/\)[^/].*/{
15645 as_dir
="$ac_dir"; as_fn_mkdir_p
15649 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15651 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15652 # A ".." for each directory in $ac_dir_suffix.
15653 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15654 case $ac_top_builddir_sub in
15655 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15656 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15659 ac_abs_top_builddir
=$ac_pwd
15660 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15661 # for backward compatibility:
15662 ac_top_builddir
=$ac_top_build_prefix
15665 .
) # We are building in place.
15667 ac_top_srcdir
=$ac_top_builddir_sub
15668 ac_abs_top_srcdir
=$ac_pwd ;;
15669 [\\/]* | ?
:[\\/]* ) # Absolute name.
15670 ac_srcdir
=$srcdir$ac_dir_suffix;
15671 ac_top_srcdir
=$srcdir
15672 ac_abs_top_srcdir
=$srcdir ;;
15673 *) # Relative name.
15674 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15675 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15676 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15678 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15688 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15689 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15691 ac_MKDIR_P
=$MKDIR_P
15693 [\\/$
]* | ?
:[\\/]* ) ;;
15694 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15699 # If the template does not know about datarootdir, expand it.
15700 # FIXME: This hack should be removed a few years after 2.60.
15701 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15712 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15713 *datarootdir
*) ac_datarootdir_seen
=yes;;
15714 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15716 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15719 ac_datarootdir_hack='
15720 s&@datadir@&$datadir&g
15721 s&@docdir@&$docdir&g
15722 s&@infodir@&$infodir&g
15723 s&@localedir@&$localedir&g
15724 s&@mandir@&$mandir&g
15725 s&\\\${datarootdir}&$datarootdir&g' ;;
15729 # Neutralize VPATH when `$srcdir' = `.'.
15730 # Shell code in configure.ac might set extrasub.
15731 # FIXME: do we really want to maintain this feature?
15732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15733 ac_sed_extra="$ac_vpsub
15736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15738 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15739 s|@configure_input@|
$ac_sed_conf_input|
;t t
15740 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15741 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15742 s
&@srcdir@
&$ac_srcdir&;t t
15743 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15744 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15745 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15746 s
&@builddir@
&$ac_builddir&;t t
15747 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15748 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15749 s
&@INSTALL@
&$ac_INSTALL&;t t
15750 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15751 $ac_datarootdir_hack
15753 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15754 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15756 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15757 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15758 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15759 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15761 which seems to be undefined. Please make sure it is defined" >&5
15762 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15763 which seems to be undefined. Please make sure it is defined" >&2;}
15765 rm -f "$ac_tmp/stdin"
15767 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15768 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15770 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15776 if test x"$ac_file" != x-; then
15778 $as_echo "/* $configure_input */" \
15779 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15780 } >"$ac_tmp/config.h" \
15781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15782 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15784 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15787 mv "$ac_tmp/config.h" "$ac_file" \
15788 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15791 $as_echo "/* $configure_input */" \
15792 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15793 || as_fn_error $? "could not create -" "$LINENO" 5
15795 # Compute "$ac_file"'s index
in $config_headers.
15798 for _am_header
in $config_headers :; do
15799 case $_am_header in
15800 $_am_arg |
$_am_arg:* )
15803 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15806 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15807 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15808 X"$_am_arg" : 'X\(//\)[^/]' \| \
15809 X"$_am_arg" : 'X\(//\)$' \| \
15810 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15811 $as_echo X"$_am_arg" |
15812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15816 /^X\(\/\/\)[^/].*/{
15828 s/.*/./; q'`/stamp-h
$_am_stamp_count
15831 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15832 $as_echo "$as_me: executing $ac_file commands" >&6;}
15837 case $ac_file$ac_mode in
15838 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15839 # Older Autoconf quotes --file arguments for eval, but not when files
15840 # are listed without --file. Let's play safe and only enable the eval
15841 # if we detect the quoting.
15842 case $CONFIG_FILES in
15843 *\'*) eval set x
"$CONFIG_FILES" ;;
15844 *) set x
$CONFIG_FILES ;;
15849 # Strip MF so we end up with the name of the file.
15850 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15851 # Check whether this is an Automake generated Makefile or not.
15852 # We used to match only the files named 'Makefile.in', but
15853 # some people rename them; so instead we look at the file content.
15854 # Grep'ing the first line is not enough: some people post-process
15855 # each Makefile.in and add a new line on top of each file to say so.
15856 # Grep'ing the whole file is not good either: AIX grep has a line
15857 # limit of 2048, but all sed's we know have understand at least 4000.
15858 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15859 dirpart
=`$as_dirname -- "$mf" ||
15860 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15861 X"$mf" : 'X\(//\)[^/]' \| \
15862 X"$mf" : 'X\(//\)$' \| \
15863 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15869 /^X\(\/\/\)[^/].*/{
15885 # Extract the definition of DEPDIR, am__include, and am__quote
15886 # from the Makefile without running 'make'.
15887 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15888 test -z "$DEPDIR" && continue
15889 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15890 test -z "$am__include" && continue
15891 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15892 # Find all dependency output files, they are included files with
15893 # $(DEPDIR) in their names. We invoke sed twice because it is the
15894 # simplest approach to changing $(DEPDIR) to its actual value in the
15896 for file in `sed -n "
15897 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15898 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15899 # Make sure the directory exists.
15900 test -f "$dirpart/$file" && continue
15901 fdir
=`$as_dirname -- "$file" ||
15902 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15903 X"$file" : 'X\(//\)[^/]' \| \
15904 X"$file" : 'X\(//\)$' \| \
15905 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15906 $as_echo X"$file" |
15907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15911 /^X\(\/\/\)[^/].*/{
15924 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15925 # echo "creating $dirpart/$file"
15926 echo '# dummy' > "$dirpart/$file"
15933 # See if we are running on zsh, and set the options that allow our
15934 # commands through without removal of \ escapes.
15935 if test -n "${ZSH_VERSION+set}"; then
15936 setopt NO_GLOB_SUBST
15940 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15943 cat <<_LT_EOF >> "$cfgfile"
15946 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15947 # Generated automatically by $as_me ($PACKAGE) $VERSION
15948 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15949 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15951 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15952 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15954 # Written by Gordon Matzigkeit, 1996
15956 # This file is part of GNU Libtool.
15958 # GNU Libtool is free software; you can redistribute it and/or
15959 # modify it under the terms of the GNU General Public License as
15960 # published by the Free Software Foundation; either version 2 of
15961 # the License, or (at your option) any later version.
15963 # As a special exception to the GNU General Public License,
15964 # if you distribute this file as part of a program or library that
15965 # is built using GNU Libtool, you may include this file under the
15966 # same distribution terms that you use for the rest of that program.
15968 # GNU Libtool is distributed in the hope that it will be useful,
15969 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15970 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15971 # GNU General Public License for more details.
15973 # You should have received a copy of the GNU General Public License
15974 # along with GNU Libtool; see the file COPYING. If not, a copy
15975 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15976 # obtained by writing to the Free Software Foundation, Inc.,
15977 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15980 # The names of the tagged configurations supported by this script.
15983 # ### BEGIN LIBTOOL CONFIG
15985 # Whether or not to build static libraries.
15986 build_old_libs=$enable_static
15988 # Whether or not to build shared libraries.
15989 build_libtool_libs=$enable_shared
15991 # Which release of libtool.m4 was used?
15992 macro_version=$macro_version
15993 macro_revision=$macro_revision
15995 # What type of objects to build.
15998 # Whether or not to optimize for fast installation.
15999 fast_install=$enable_fast_install
16001 # Shell to use when invoking shell scripts.
16004 # An echo program that protects backslashes.
16007 # The PATH separator for the build system.
16008 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16011 host_alias=$host_alias
16015 # The build system.
16016 build_alias=$build_alias
16020 # A sed program that does not truncate output.
16023 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16024 Xsed="\$SED -e 1s/^X//"
16026 # A grep program that handles long lines.
16032 # A literal string matcher.
16035 # A BSD- or MS-compatible name lister.
16038 # Whether we need soft or hard links.
16041 # What is the maximum length of a command?
16042 max_cmd_len=$max_cmd_len
16044 # Object file suffix (normally "o").
16047 # Executable file suffix (normally "").
16050 # whether the shell understands "unset".
16053 # turn spaces into newlines.
16056 # turn newlines into spaces.
16059 # convert \$build file names to \$host format.
16060 to_host_file_cmd=$lt_cv_to_host_file_cmd
16062 # convert \$build files to toolchain format.
16063 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16065 # An object symbol dumper.
16066 OBJDUMP=$lt_OBJDUMP
16068 # Method to check whether dependent libraries are shared objects.
16069 deplibs_check_method=$lt_deplibs_check_method
16071 # Command to use when deplibs_check_method = "file_magic".
16072 file_magic_cmd=$lt_file_magic_cmd
16074 # How to find potential files when deplibs_check_method = "file_magic".
16075 file_magic_glob=$lt_file_magic_glob
16077 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16078 want_nocaseglob=$lt_want_nocaseglob
16080 # DLL creation program.
16081 DLLTOOL=$lt_DLLTOOL
16083 # Command to associate shared and link libraries.
16084 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16089 # Flags to create an archive.
16090 AR_FLAGS=$lt_AR_FLAGS
16092 # How to feed a file listing to the archiver.
16093 archiver_list_spec=$lt_archiver_list_spec
16095 # A symbol stripping program.
16098 # Commands used to install an old-style archive.
16100 old_postinstall_cmds=$lt_old_postinstall_cmds
16101 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16103 # Whether to use a lock for old archive extraction.
16104 lock_old_archive_extraction=$lock_old_archive_extraction
16109 # LTCC compiler flags.
16110 LTCFLAGS=$lt_CFLAGS
16112 # Take the output of nm and produce a listing of raw symbols and C names.
16113 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16115 # Transform the output of nm in a proper C declaration.
16116 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16118 # Transform the output of nm into a list of symbols to manually relocate.
16119 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16121 # Transform the output of nm in a C name address pair.
16122 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16124 # Transform the output of nm in a C name address pair when lib prefix is needed.
16125 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16127 # The name lister interface.
16128 nm_interface=$lt_lt_cv_nm_interface
16130 # Specify filename containing input files for \$NM.
16131 nm_file_list_spec=$lt_nm_file_list_spec
16133 # The root where to search for dependent libraries,and where our libraries should be installed.
16134 lt_sysroot=$lt_sysroot
16136 # The name of the directory that contains temporary libtool files.
16139 # Used to examine libraries when file_magic_cmd begins with "file".
16140 MAGIC_CMD=$MAGIC_CMD
16142 # Must we lock files when doing compilation?
16143 need_locks=$lt_need_locks
16146 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16148 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16149 DSYMUTIL=$lt_DSYMUTIL
16151 # Tool to change global to local symbols on Mac OS X.
16154 # Tool to manipulate fat objects and archives on Mac OS X.
16157 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16160 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16161 OTOOL64=$lt_OTOOL64
16163 # Old archive suffix (normally "a").
16166 # Shared library suffix (normally ".so").
16167 shrext_cmds=$lt_shrext_cmds
16169 # The commands to extract the exported symbol list from a shared archive.
16170 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16172 # Variables whose values should be saved in libtool wrapper scripts and
16173 # restored at link time.
16174 variables_saved_for_relink=$lt_variables_saved_for_relink
16176 # Do we need the "lib" prefix for modules?
16177 need_lib_prefix=$need_lib_prefix
16179 # Do we need a version for libraries?
16180 need_version=$need_version
16182 # Library versioning type.
16183 version_type=$version_type
16185 # Shared library runtime path variable.
16186 runpath_var=$runpath_var
16188 # Shared library path variable.
16189 shlibpath_var=$shlibpath_var
16191 # Is shlibpath searched before the hard-coded library search path?
16192 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16194 # Format of library name prefix.
16195 libname_spec=$lt_libname_spec
16197 # List of archive names. First name is the real one, the rest are links.
16198 # The last name is the one that the linker finds with -lNAME
16199 library_names_spec=$lt_library_names_spec
16201 # The coded name of the library, if different from the real name.
16202 soname_spec=$lt_soname_spec
16204 # Permission mode override for installation of shared libraries.
16205 install_override_mode=$lt_install_override_mode
16207 # Command to use after installation of a shared archive.
16208 postinstall_cmds=$lt_postinstall_cmds
16210 # Command to use after uninstallation of a shared archive.
16211 postuninstall_cmds=$lt_postuninstall_cmds
16213 # Commands used to finish a libtool library installation in a directory.
16214 finish_cmds=$lt_finish_cmds
16216 # As "finish_cmds", except a single script fragment to be evaled but
16218 finish_eval=$lt_finish_eval
16220 # Whether we should hardcode library paths into libraries.
16221 hardcode_into_libs=$hardcode_into_libs
16223 # Compile-time system search path for libraries.
16224 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16226 # Run-time system search path for libraries.
16227 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16229 # Whether dlopen is supported.
16230 dlopen_support=$enable_dlopen
16232 # Whether dlopen of programs is supported.
16233 dlopen_self=$enable_dlopen_self
16235 # Whether dlopen of statically linked programs is supported.
16236 dlopen_self_static=$enable_dlopen_self_static
16238 # Commands to strip libraries.
16239 old_striplib=$lt_old_striplib
16240 striplib=$lt_striplib
16243 # The linker used to build libraries.
16246 # How to create reloadable object files.
16247 reload_flag=$lt_reload_flag
16248 reload_cmds=$lt_reload_cmds
16250 # Commands used to build an old-style archive.
16251 old_archive_cmds=$lt_old_archive_cmds
16253 # A language specific compiler.
16256 # Is the compiler the GNU compiler?
16259 # Compiler flag to turn off builtin functions.
16260 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16262 # Additional compiler flags for building library objects.
16263 pic_flag=$lt_lt_prog_compiler_pic
16265 # How to pass a linker flag through the compiler.
16266 wl=$lt_lt_prog_compiler_wl
16268 # Compiler flag to prevent dynamic linking.
16269 link_static_flag=$lt_lt_prog_compiler_static
16271 # Does compiler simultaneously support -c and -o options?
16272 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16274 # Whether or not to add -lc for building shared libraries.
16275 build_libtool_need_lc=$archive_cmds_need_lc
16277 # Whether or not to disallow shared libs when runtime libs are static.
16278 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16280 # Compiler flag to allow reflexive dlopens.
16281 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16283 # Compiler flag to generate shared objects directly from archives.
16284 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16286 # Whether the compiler copes with passing no objects directly.
16287 compiler_needs_object=$lt_compiler_needs_object
16289 # Create an old-style archive from a shared archive.
16290 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16292 # Create a temporary old-style archive to link instead of a shared archive.
16293 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16295 # Commands used to build a shared archive.
16296 archive_cmds=$lt_archive_cmds
16297 archive_expsym_cmds=$lt_archive_expsym_cmds
16299 # Commands used to build a loadable module if different from building
16300 # a shared archive.
16301 module_cmds=$lt_module_cmds
16302 module_expsym_cmds=$lt_module_expsym_cmds
16304 # Whether we are building with GNU ld or not.
16305 with_gnu_ld=$lt_with_gnu_ld
16307 # Flag that allows shared libraries with undefined symbols to be built.
16308 allow_undefined_flag=$lt_allow_undefined_flag
16310 # Flag that enforces no undefined symbols.
16311 no_undefined_flag=$lt_no_undefined_flag
16313 # Flag to hardcode \$libdir into a binary during linking.
16314 # This must work even if \$libdir does not exist
16315 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16317 # Whether we need a single "-rpath" flag with a separated argument.
16318 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16320 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16321 # DIR into the resulting binary.
16322 hardcode_direct=$hardcode_direct
16324 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16325 # DIR into the resulting binary and the resulting library dependency is
16326 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16327 # library is relocated.
16328 hardcode_direct_absolute=$hardcode_direct_absolute
16330 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16331 # into the resulting binary.
16332 hardcode_minus_L=$hardcode_minus_L
16334 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16335 # into the resulting binary.
16336 hardcode_shlibpath_var=$hardcode_shlibpath_var
16338 # Set to "yes" if building a shared library automatically hardcodes DIR
16339 # into the library and all subsequent libraries and executables linked
16341 hardcode_automatic=$hardcode_automatic
16343 # Set to yes if linker adds runtime paths of dependent libraries
16344 # to runtime path list.
16345 inherit_rpath=$inherit_rpath
16347 # Whether libtool must link a program against all its dependency libraries.
16348 link_all_deplibs=$link_all_deplibs
16350 # Set to "yes" if exported symbols are required.
16351 always_export_symbols=$always_export_symbols
16353 # The commands to list exported symbols.
16354 export_symbols_cmds=$lt_export_symbols_cmds
16356 # Symbols that should not be listed in the preloaded symbols.
16357 exclude_expsyms=$lt_exclude_expsyms
16359 # Symbols that must always be exported.
16360 include_expsyms=$lt_include_expsyms
16362 # Commands necessary for linking programs (against libraries) with templates.
16363 prelink_cmds=$lt_prelink_cmds
16365 # Commands necessary for finishing linking programs.
16366 postlink_cmds=$lt_postlink_cmds
16368 # Specify filename containing input files.
16369 file_list_spec=$lt_file_list_spec
16371 # How to hardcode a shared library path into an executable.
16372 hardcode_action=$hardcode_action
16374 # ### END LIBTOOL CONFIG
16380 cat <<\_LT_EOF
>> "$cfgfile"
16381 # AIX sometimes has problems with the GCC collect2 program. For some
16382 # reason, if we set the COLLECT_NAMES environment variable, the problems
16383 # vanish in a puff of smoke.
16384 if test set != "${COLLECT_NAMES+set}"; then
16386 export COLLECT_NAMES
16393 ltmain
=$ac_aux_dir/ltmain.sh
16396 # We use sed instead of cat because bash on DJGPP gets confused if
16397 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16398 # text mode, it properly converts lines to CR/LF. This bash problem
16399 # is reportedly fixed, but why not run on old versions too?
16400 sed '$q' "$ltmain" >> "$cfgfile" \
16401 ||
(rm -f "$cfgfile"; exit 1)
16403 mv -f "$cfgfile" "$ofile" ||
16404 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16415 ac_clean_files
=$ac_clean_files_save
16417 test $ac_write_fail = 0 ||
16418 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16421 # configure is writing to config.log, and then calls config.status.
16422 # config.status does its own redirection, appending to config.log.
16423 # Unfortunately, on DOS this fails, as config.log is still kept open
16424 # by configure, so config.status won't be able to write to it; its
16425 # output is simply discarded. So we exec the FD to /dev/null,
16426 # effectively closing config.log, so it can be properly (re)opened and
16427 # appended to by config.status. When coming back to configure, we
16428 # need to make the FD available again.
16429 if test "$no_create" != yes; then
16431 ac_config_status_args
=
16432 test "$silent" = yes &&
16433 ac_config_status_args
="$ac_config_status_args --quiet"
16435 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16437 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16438 # would make configure fail if this is the last instruction.
16439 $ac_cs_success || as_fn_exit
1
16441 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16443 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16448 ## enable AMD64 assembly code : ${asm_msg_amd64}
16451 LZO configuration summary
16452 -------------------------
16453 LZO version : ${PACKAGE_VERSION}
16454 configured for host : ${host_cpu}-${host_vendor}-${host_os}
16455 source code location : ${srcdir}
16457 preprocessor definitions : ${DEFS}
16458 preprocessor flags : ${CPPFLAGS}
16459 compiler flags : ${CFLAGS}
16460 build static library : ${enable_static}
16461 build shared library : ${enable_shared}
16462 enable i386 assembly code : ${asm_msg_i386}
16465 LZO ${PACKAGE_VERSION} configured.
16467 Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer
16468 All Rights Reserved.
16470 The LZO library is free software; you can redistribute it and/or
16471 modify it under the terms of the GNU General Public License as
16472 published by the Free Software Foundation; either version 2 of
16473 the License, or (at your option) any later version.
16475 The LZO library is distributed in the hope that it will be useful,
16476 but WITHOUT ANY WARRANTY; without even the implied warranty of
16477 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16478 GNU General Public License for more details.
16480 Markus F.X.J. Oberhumer
16481 <markus@oberhumer.com>
16482 http://www.oberhumer.com/opensource/lzo/
16485 Type 'make' to build LZO.
16486 Type 'make check' and 'make test' to test LZO.
16487 Type 'make install' to install LZO.
16488 After installing LZO, please have a look at 'examples/simple.c'.
16492 # vim:set ts=4 sw=4 et: