2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for LZO 2.06.
5 # Report bugs to <markus@oberhumer.com>.
7 # Copyright (C) 1996-2011 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, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
18 # This configure script is free software; the Free Software Foundation
19 # gives unlimited permission to copy, distribute and modify it.
20 ## -------------------- ##
21 ## M4sh Initialization. ##
22 ## -------------------- ##
24 # Be more Bourne compatible
25 DUALCASE
=1; export DUALCASE
# for MKS sh
26 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
29 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
30 # is contrary to our usage. Disable this feature.
31 alias -g '${1+"$@"}'='"$@"'
34 case `(set -o) 2>/dev/null` in #(
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 # Prefer a ksh shell builtin over an external printf program on Solaris,
51 # but without wasting forks for bash or zsh.
52 if test -z "$BASH_VERSION$ZSH_VERSION" \
53 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
55 as_echo_n='print
-rn --'
56 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
60 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
61 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
62 as_echo_n='/usr
/ucb
/echo -n'
64 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
69 expr "X$arg" : "X\\(.*\\)$as_nl";
70 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
75 as_echo_n='sh
-c $as_echo_n_body as_echo
'
78 as_echo='sh
-c $as_echo_body as_echo
'
81 # The user is always right.
82 if test "${PATH_SEPARATOR+set}" != set; then
84 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
85 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
122 # Unset variables that we do not need and which cause bugs (e.g. in
123 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
124 # suppresses any "Segmentation fault" message there. '((' could
125 # trigger a bug in pdksh 5.2.14.
126 for as_var
in BASH_ENV ENV MAIL MAILPATH
127 do eval test x\
${$as_var+set} = xset \
128 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
141 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
143 if test "x$CONFIG_SHELL" = x
; then
144 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
152 case \`(set -o) 2>/dev/null\` in #(
160 as_required
="as_fn_return () { (exit \$1); }
161 as_fn_success () { as_fn_return 0; }
162 as_fn_failure () { as_fn_return 1; }
163 as_fn_ret_success () { return 0; }
164 as_fn_ret_failure () { return 1; }
167 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
168 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
169 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
170 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
171 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
174 exitcode=1; echo positional parameters were not saved.
176 test x\$exitcode = x0 || exit 1"
177 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
178 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
179 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
180 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
181 test \$(( 1 + 1 )) = 2 || exit 1
183 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
184 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
185 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
186 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
187 PATH=/empty FPATH=/empty; export PATH FPATH
188 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
189 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
190 if (eval "$as_required") 2>/dev
/null
; then :
195 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
200 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
203 test -z "$as_dir" && as_dir
=.
207 for as_base
in sh bash ksh sh5
; do
208 # Try only shells that exist, to save several forks.
209 as_shell
=$as_dir/$as_base
210 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
211 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 CONFIG_SHELL
=$as_shell as_have_required
=yes
213 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
221 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
223 CONFIG_SHELL
=$SHELL as_have_required
=yes
228 if test "x$CONFIG_SHELL" != x
; then :
229 # We cannot yet assume a decent shell, so we have to provide a
230 # neutralization value for shells without unset; and this also
231 # works around shells that cannot unset nonexistent variables.
234 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
236 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
239 if test x
$as_have_required = xno
; then :
240 $as_echo "$0: This script requires a shell more modern than all"
241 $as_echo "$0: the shells that I found on your system."
242 if test x
${ZSH_VERSION+set} = xset
; then
243 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
244 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246 $as_echo "$0: Please tell bug-autoconf@gnu.org and
247 $0: markus@oberhumer.com about your system, including any
248 $0: error possibly output before this message. Then install
249 $0: a modern shell, or manually run the script under such a
250 $0: shell if you do have one."
256 SHELL
=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE
= GREP_OPTIONS
=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir
=.
/$as_dir;;
301 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
305 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs
="'$as_qdir' $as_dirs"
309 as_dir
=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
335 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
370 as_val
=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status
=$1; test $as_status -eq 0 && as_status
=1
384 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit
$as_status
391 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
398 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
410 as_me
=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits
='0123456789'
434 as_cr_alnum
=$as_cr_Letters$as_cr_digits
437 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
438 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x
"$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C
= ECHO_N
= ECHO_T
=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
481 rm -f conf$$ conf$$.exe conf$$.
file
482 if test -d conf$$.dir
; then
483 rm -f conf$$.dir
/conf$$.
file
486 mkdir conf$$.dir
2>/dev
/null
488 if (echo >conf$$.
file) 2>/dev
/null
; then
489 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
497 elif ln conf$$.
file conf$$
2>/dev
/null
; then
505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
506 rmdir conf$$.dir
2>/dev
/null
508 if mkdir
-p .
2>/dev
/null
; then
509 as_mkdir_p
='mkdir -p "$as_dir"'
511 test -d .
/-p && rmdir .
/-p
515 if test -x / >/dev
/null
2>&1; then
518 if ls -dL / >/dev
/null
2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p
=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL
=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix
=/usr
/local
560 ac_config_libobj_dir
=.
567 # Identity of this package.
569 PACKAGE_TARNAME
='lzo'
570 PACKAGE_VERSION
='2.06'
571 PACKAGE_STRING
='LZO 2.06'
572 PACKAGE_BUGREPORT
='markus@oberhumer.com'
573 PACKAGE_URL
='http://www.oberhumer.com/opensource/lzo/'
575 ac_unique_file
="src/lzo_init.c"
576 ac_default_prefix
=/usr
/local
577 # Factoring default headers for most tests.
578 ac_includes_default
="\
580 #ifdef HAVE_SYS_TYPES_H
581 # include <sys/types.h>
583 #ifdef HAVE_SYS_STAT_H
584 # include <sys/stat.h>
590 # ifdef HAVE_STDLIB_H
595 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
600 #ifdef HAVE_STRINGS_H
601 # include <strings.h>
603 #ifdef HAVE_INTTYPES_H
604 # include <inttypes.h>
613 ac_subst_vars
='am__EXEEXT_FALSE
617 LZO_USE_ASM_i386_obj_elf32_FALSE
618 LZO_USE_ASM_i386_obj_elf32_TRUE
619 LZO_USE_ASM_i386_src_gas_FALSE
620 LZO_USE_ASM_i386_src_gas_TRUE
649 INSTALL_STRIP_PROGRAM
667 am__fastdepCCAS_FALSE
687 MAINTAINER_MODE_FALSE
728 program_transform_name
741 enable_option_checking
742 enable_maintainer_mode
743 enable_dependency_tracking
754 ac_precious_vars
='build_alias
767 # Initialize some variables set by options.
769 ac_init_version
=false
770 ac_unrecognized_opts
=
772 # The variables have the same names as the options, with
773 # dashes changed to underlines.
781 program_transform_name
=s
,x
,x
,
789 # Installation directory options.
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
791 # and all the variables that are supposed to be based on exec_prefix
792 # by default will actually change.
793 # Use braces instead of parens because sh, perl, etc. also accept them.
794 # (The list follows the same order as the GNU Coding Standards.)
795 bindir
='${exec_prefix}/bin'
796 sbindir
='${exec_prefix}/sbin'
797 libexecdir
='${exec_prefix}/libexec'
798 datarootdir
='${prefix}/share'
799 datadir
='${datarootdir}'
800 sysconfdir
='${prefix}/etc'
801 sharedstatedir
='${prefix}/com'
802 localstatedir
='${prefix}/var'
803 includedir
='${prefix}/include'
804 oldincludedir
='/usr/include'
805 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir
='${datarootdir}/info'
811 libdir
='${exec_prefix}/lib'
812 localedir
='${datarootdir}/locale'
813 mandir
='${datarootdir}/man'
819 # If the previous option needs an argument, assign it.
820 if test -n "$ac_prev"; then
821 eval $ac_prev=\
$ac_option
827 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 # Accept the important Cygnus configure options, so we can diagnose typos.
834 case $ac_dashdash$ac_option in
838 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
840 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
843 -build |
--build |
--buil |
--bui |
--bu)
844 ac_prev
=build_alias
;;
845 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
846 build_alias
=$ac_optarg ;;
848 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
849 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
850 ac_prev
=cache_file
;;
851 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
852 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
853 cache_file
=$ac_optarg ;;
856 cache_file
=config.cache
;;
858 -datadir |
--datadir |
--datadi |
--datad)
860 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
861 datadir
=$ac_optarg ;;
863 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
864 |
--dataroo |
--dataro |
--datar)
865 ac_prev
=datarootdir
;;
866 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
867 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
868 datarootdir
=$ac_optarg ;;
870 -disable-* |
--disable-*)
871 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
874 as_fn_error $?
"invalid feature name: $ac_useropt"
875 ac_useropt_orig
=$ac_useropt
876 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
881 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
882 ac_unrecognized_sep
=', ';;
884 eval enable_
$ac_useropt=no
;;
886 -docdir |
--docdir |
--docdi |
--doc |
--do)
888 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
891 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
893 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
896 -enable-* |
--enable-*)
897 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
900 as_fn_error $?
"invalid feature name: $ac_useropt"
901 ac_useropt_orig
=$ac_useropt
902 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903 case $ac_user_opts in
907 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
908 ac_unrecognized_sep
=', ';;
910 eval enable_
$ac_useropt=\
$ac_optarg ;;
912 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
913 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
914 |
--exec |
--exe |
--ex)
915 ac_prev
=exec_prefix
;;
916 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
917 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
918 |
--exec=* |
--exe=* |
--ex=*)
919 exec_prefix
=$ac_optarg ;;
921 -gas |
--gas |
--ga |
--g)
922 # Obsolete; use --with-gas.
925 -help |
--help |
--hel |
--he |
-h)
927 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
928 ac_init_help
=recursive
;;
929 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
930 ac_init_help
=short
;;
932 -host |
--host |
--hos |
--ho)
933 ac_prev
=host_alias
;;
934 -host=* |
--host=* |
--hos=* |
--ho=*)
935 host_alias
=$ac_optarg ;;
937 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
939 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
941 htmldir
=$ac_optarg ;;
943 -includedir |
--includedir |
--includedi |
--included |
--include \
944 |
--includ |
--inclu |
--incl |
--inc)
945 ac_prev
=includedir
;;
946 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
947 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
948 includedir
=$ac_optarg ;;
950 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
952 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
953 infodir
=$ac_optarg ;;
955 -libdir |
--libdir |
--libdi |
--libd)
957 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
960 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
961 |
--libexe |
--libex |
--libe)
962 ac_prev
=libexecdir
;;
963 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
964 |
--libexe=* |
--libex=* |
--libe=*)
965 libexecdir
=$ac_optarg ;;
967 -localedir |
--localedir |
--localedi |
--localed |
--locale)
969 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
970 localedir
=$ac_optarg ;;
972 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
973 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
974 ac_prev
=localstatedir
;;
975 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
976 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
977 localstatedir
=$ac_optarg ;;
979 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
981 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
985 # Obsolete; use --without-fp.
988 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
989 |
--no-cr |
--no-c |
-n)
992 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
993 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
996 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
997 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
998 |
--oldin |
--oldi |
--old |
--ol |
--o)
999 ac_prev
=oldincludedir
;;
1000 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1001 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1002 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1003 oldincludedir
=$ac_optarg ;;
1005 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1007 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1008 prefix
=$ac_optarg ;;
1010 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1011 |
--program-pre |
--program-pr |
--program-p)
1012 ac_prev
=program_prefix
;;
1013 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1014 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1015 program_prefix
=$ac_optarg ;;
1017 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1018 |
--program-suf |
--program-su |
--program-s)
1019 ac_prev
=program_suffix
;;
1020 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1021 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1022 program_suffix
=$ac_optarg ;;
1024 -program-transform-name |
--program-transform-name \
1025 |
--program-transform-nam |
--program-transform-na \
1026 |
--program-transform-n |
--program-transform- \
1027 |
--program-transform |
--program-transfor \
1028 |
--program-transfo |
--program-transf \
1029 |
--program-trans |
--program-tran \
1030 |
--progr-tra |
--program-tr |
--program-t)
1031 ac_prev
=program_transform_name
;;
1032 -program-transform-name=* |
--program-transform-name=* \
1033 |
--program-transform-nam=* |
--program-transform-na=* \
1034 |
--program-transform-n=* |
--program-transform-=* \
1035 |
--program-transform=* |
--program-transfor=* \
1036 |
--program-transfo=* |
--program-transf=* \
1037 |
--program-trans=* |
--program-tran=* \
1038 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1039 program_transform_name
=$ac_optarg ;;
1041 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1043 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1044 pdfdir
=$ac_optarg ;;
1046 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1048 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1051 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1052 |
-silent |
--silent |
--silen |
--sile |
--sil)
1055 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1057 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1059 sbindir
=$ac_optarg ;;
1061 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1062 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1063 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1065 ac_prev
=sharedstatedir
;;
1066 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1067 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1068 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1070 sharedstatedir
=$ac_optarg ;;
1072 -site |
--site |
--sit)
1074 -site=* |
--site=* |
--sit=*)
1077 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1079 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1080 srcdir
=$ac_optarg ;;
1082 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1083 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1084 ac_prev
=sysconfdir
;;
1085 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1086 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1087 sysconfdir
=$ac_optarg ;;
1089 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1090 ac_prev
=target_alias
;;
1091 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1092 target_alias
=$ac_optarg ;;
1094 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1097 -version |
--version |
--versio |
--versi |
--vers |
-V)
1098 ac_init_version
=: ;;
1101 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1104 as_fn_error $?
"invalid package name: $ac_useropt"
1105 ac_useropt_orig
=$ac_useropt
1106 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1112 ac_unrecognized_sep
=', ';;
1114 eval with_
$ac_useropt=\
$ac_optarg ;;
1116 -without-* |
--without-*)
1117 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1120 as_fn_error $?
"invalid package name: $ac_useropt"
1121 ac_useropt_orig
=$ac_useropt
1122 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1128 ac_unrecognized_sep
=', ';;
1130 eval with_
$ac_useropt=no
;;
1133 # Obsolete; use --with-x.
1136 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1137 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1138 ac_prev
=x_includes
;;
1139 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1140 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1141 x_includes
=$ac_optarg ;;
1143 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1144 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1145 ac_prev
=x_libraries
;;
1146 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1147 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1148 x_libraries
=$ac_optarg ;;
1150 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1151 Try \`$0 --help' for more information"
1155 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1156 # Reject names that are not valid shell variable names.
1157 case $ac_envvar in #(
1158 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1159 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1161 eval $ac_envvar=\
$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1168 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1175 if test -n "$ac_prev"; then
1176 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1177 as_fn_error $?
"missing argument to $ac_option"
1180 if test -n "$ac_unrecognized_opts"; then
1181 case $enable_option_checking in
1183 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1184 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1188 # Check all directory arguments for consistency.
1189 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1190 datadir sysconfdir sharedstatedir localstatedir includedir \
1191 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1192 libdir localedir mandir
1194 eval ac_val
=\$
$ac_var
1195 # Remove trailing slashes.
1198 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1199 eval $ac_var=\
$ac_val;;
1201 # Be sure to have absolute directory names.
1203 [\\/$
]* | ?
:[\\/]* ) continue;;
1204 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1206 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1209 # There might be people who depend on the old broken behavior: `$host'
1210 # used to hold the argument of --host etc.
1211 # FIXME: To remove some day.
1214 target
=$target_alias
1216 # FIXME: To remove some day.
1217 if test "x$host_alias" != x
; then
1218 if test "x$build_alias" = x
; then
1219 cross_compiling
=maybe
1220 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1221 If a cross compiler is detected then cross compile mode will be used" >&2
1222 elif test "x$build_alias" != "x$host_alias"; then
1228 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1230 test "$silent" = yes && exec 6>/dev
/null
1233 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1234 ac_ls_di
=`ls -di .` &&
1235 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1236 as_fn_error $?
"working directory cannot be determined"
1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238 as_fn_error $?
"pwd does not report name of working directory"
1241 # Find the source files, if location was not specified.
1242 if test -z "$srcdir"; then
1243 ac_srcdir_defaulted
=yes
1244 # Try the directory containing this script, then the parent directory.
1245 ac_confdir
=`$as_dirname -- "$as_myself" ||
1246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247 X"$as_myself" : 'X\(//\)[^/]' \| \
1248 X"$as_myself" : 'X\(//\)$' \| \
1249 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250 $as_echo X"$as_myself" |
1251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1273 ac_srcdir_defaulted
=no
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1276 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1277 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1279 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1281 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1283 # When building in place, set srcdir=.
1284 if test "$ac_abs_confdir" = "$ac_pwd"; then
1287 # Remove unnecessary trailing slashes from srcdir.
1288 # Double slashes in file names in object file debugging info
1289 # mess up M-x gdb in Emacs.
1291 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1293 for ac_var
in $ac_precious_vars; do
1294 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1295 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1296 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1297 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1301 # Report the --help message.
1303 if test "$ac_init_help" = "long"; then
1304 # Omit some internal or obsolete options to make the list less imposing.
1305 # This message is too long to be a string in the A/UX 3.1 sh.
1307 \`configure' configures LZO 2.06 to adapt to many kinds of systems.
1309 Usage: $0 [OPTION]... [VAR=VALUE]...
1311 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1312 VAR=VALUE. See below for descriptions of some of the useful variables.
1314 Defaults for the options are specified in brackets.
1317 -h, --help display this help and exit
1318 --help=short display options specific to this package
1319 --help=recursive display the short help of all the included packages
1320 -V, --version display version information and exit
1321 -q, --quiet, --silent do not print \`checking ...' messages
1322 --cache-file=FILE cache test results in FILE [disabled]
1323 -C, --config-cache alias for \`--cache-file=config.cache'
1324 -n, --no-create do not create output files
1325 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1327 Installation directories:
1328 --prefix=PREFIX install architecture-independent files in PREFIX
1329 [$ac_default_prefix]
1330 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1333 By default, \`make install' will install all the files in
1334 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1335 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1336 for instance \`--prefix=\$HOME'.
1338 For better control, use the options below.
1340 Fine tuning of the installation directories:
1341 --bindir=DIR user executables [EPREFIX/bin]
1342 --sbindir=DIR system admin executables [EPREFIX/sbin]
1343 --libexecdir=DIR program executables [EPREFIX/libexec]
1344 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1345 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1346 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1347 --libdir=DIR object code libraries [EPREFIX/lib]
1348 --includedir=DIR C header files [PREFIX/include]
1349 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1350 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1351 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1352 --infodir=DIR info documentation [DATAROOTDIR/info]
1353 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1354 --mandir=DIR man documentation [DATAROOTDIR/man]
1355 --docdir=DIR documentation root [DATAROOTDIR/doc/lzo]
1356 --htmldir=DIR html documentation [DOCDIR]
1357 --dvidir=DIR dvi documentation [DOCDIR]
1358 --pdfdir=DIR pdf documentation [DOCDIR]
1359 --psdir=DIR ps documentation [DOCDIR]
1365 --program-prefix=PREFIX prepend PREFIX to installed program names
1366 --program-suffix=SUFFIX append SUFFIX to installed program names
1367 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1370 --build=BUILD configure
for building on BUILD
[guessed
]
1371 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1372 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1376 if test -n "$ac_init_help"; then
1377 case $ac_init_help in
1378 short | recursive
) echo "Configuration of LZO 2.06:";;
1383 --disable-option-checking ignore unrecognized
--enable/--with options
1384 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1385 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1386 --enable-maintainer-mode enable make rules and dependencies not useful
1387 (and sometimes confusing
) to the casual installer
1388 --disable-dependency-tracking speeds up one-time build
1389 --enable-dependency-tracking do not reject slow dependency extractors
1390 --disable-largefile omit support
for large files
1391 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1392 --disable-silent-rules verbose build output (undo: `make V
=0')
1393 --enable-static[=PKGS] build static libraries [default=yes]
1394 --enable-shared[=PKGS] build shared libraries [default=no]
1395 --enable-fast-install[=PKGS]
1396 optimize for fast installation [default=yes]
1397 --disable-libtool-lock avoid locking (might break parallel builds)
1398 --disable-asm disable assembly versions
1401 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1402 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1403 --with-pic try to use only PIC/non-PIC objects [default=use
1405 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1407 Some influential environment variables:
1408 CC C compiler command
1409 CFLAGS C compiler flags
1410 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1411 nonstandard directory <lib dir>
1412 LIBS libraries to pass to the linker, e.g. -l<library>
1413 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1414 you have headers in a nonstandard directory <include dir>
1415 CCAS assembler compiler command (defaults to CC)
1416 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1419 Use these variables to override the choices made by `configure' or to
help
1420 it to
find libraries and programs with nonstandard names
/locations.
1422 Report bugs to
<markus@oberhumer.com
>.
1423 LZO home page
: <http
://www.oberhumer.com
/opensource
/lzo
/>.
1428 if test "$ac_init_help" = "recursive"; then
1429 # If there are subdirs, report their specific --help.
1430 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1431 test -d "$ac_dir" ||
1432 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1437 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1439 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1440 # A ".." for each directory in $ac_dir_suffix.
1441 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1442 case $ac_top_builddir_sub in
1443 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1444 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1447 ac_abs_top_builddir
=$ac_pwd
1448 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1449 # for backward compatibility:
1450 ac_top_builddir
=$ac_top_build_prefix
1453 .
) # We are building in place.
1455 ac_top_srcdir
=$ac_top_builddir_sub
1456 ac_abs_top_srcdir
=$ac_pwd ;;
1457 [\\/]* | ?
:[\\/]* ) # Absolute name.
1458 ac_srcdir
=$srcdir$ac_dir_suffix;
1459 ac_top_srcdir
=$srcdir
1460 ac_abs_top_srcdir
=$srcdir ;;
1462 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1464 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1466 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1468 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1469 # Check for guested configure.
1470 if test -f "$ac_srcdir/configure.gnu"; then
1472 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473 elif test -f "$ac_srcdir/configure"; then
1475 $SHELL "$ac_srcdir/configure" --help=recursive
1477 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1483 test -n "$ac_init_help" && exit $ac_status
1484 if $ac_init_version; then
1487 generated by GNU Autoconf
2.67
1489 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1490 This configure
script is free software
; the Free Software Foundation
1491 gives unlimited permission to copy
, distribute and modify it.
1493 Copyright
(C
) 1996-2011 Markus Franz Xaver Johannes Oberhumer.
1494 All Rights Reserved.
1495 This configure
script may be copied
, distributed and modified under the
1496 terms of the GNU General Public License
; see COPYING
for more details.
1501 ## ------------------------ ##
1502 ## Autoconf initialization. ##
1503 ## ------------------------ ##
1505 # ac_fn_c_try_compile LINENO
1506 # --------------------------
1507 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1508 ac_fn_c_try_compile
()
1510 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1511 rm -f conftest.
$ac_objext
1512 if { { ac_try
="$ac_compile"
1514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1515 *) ac_try_echo=$ac_try;;
1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1518 $as_echo "$ac_try_echo"; } >&5
1519 (eval "$ac_compile") 2>conftest.err
1521 if test -s conftest.err; then
1522 grep -v '^ *+' conftest.err >conftest.er1
1523 cat conftest.er1 >&5
1524 mv -f conftest.er1 conftest.err
1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1527 test $ac_status = 0; } && {
1528 test -z "$ac_c_werror_flag" ||
1529 test ! -s conftest.err
1530 } && test -s conftest.$ac_objext; then :
1533 $as_echo "$as_me: failed program was:" >&5
1534 sed 's/^/| /' conftest.$ac_ext >&5
1538 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1539 as_fn_set_status $ac_retval
1541 } # ac_fn_c_try_compile
1543 # ac_fn_c_try_cpp LINENO
1544 # ----------------------
1545 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 if { { ac_try="$ac_cpp conftest.$ac_ext"
1551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1552 *) ac_try_echo
=$ac_try;;
1554 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1558 if test -s conftest.err
; then
1559 grep -v '^ *+' conftest.err
>conftest.er1
1560 cat conftest.er1
>&5
1561 mv -f conftest.er1 conftest.err
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564 test $ac_status = 0; } > conftest.i
&& {
1565 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1566 test ! -s conftest.err
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.
$ac_ext >&5
1575 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1576 as_fn_set_status
$ac_retval
1580 # ac_fn_c_try_run LINENO
1581 # ----------------------
1582 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1583 # that executables *can* be run.
1586 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1587 if { { ac_try
="$ac_link"
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_link") 2>&5
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1598 { { case "(($ac_try" in
1599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1600 *) ac_try_echo
=$ac_try;;
1602 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_try") 2>&5
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; }; }; then :
1610 $as_echo "$as_me: program exited with status $ac_status" >&5
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.
$ac_ext >&5
1614 ac_retval
=$ac_status
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1618 as_fn_set_status
$ac_retval
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile
()
1628 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval "test \"\${$3+set}\"" = set; then :
1632 $as_echo_n "(cached) " >&6
1634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile
"$LINENO"; then :
1644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1651 } # ac_fn_c_check_header_compile
1653 # ac_fn_c_try_link LINENO
1654 # -----------------------
1655 # Try to link conftest.$ac_ext, and return whether this succeeded.
1658 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1659 rm -f conftest.
$ac_objext conftest
$ac_exeext
1660 if { { ac_try
="$ac_link"
1662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_link") 2>conftest.err
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && {
1676 test -z "$ac_c_werror_flag" ||
1677 test ! -s conftest.err
1678 } && test -s conftest$ac_exeext && {
1679 test "$cross_compiling" = yes ||
1680 $as_test_x conftest$ac_exeext
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1689 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1690 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1691 # interfere with the next link command; also delete a directory that is
1692 # left behind by Apple's compiler. We do this before executing the actions.
1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 as_fn_set_status $ac_retval
1697 } # ac_fn_c_try_link
1699 # ac_fn_c_check_func LINENO FUNC VAR
1700 # ----------------------------------
1701 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1702 ac_fn_c_check_func ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if eval "test \"\${$3+set}\"" = set; then :
1708 $as_echo_n "(cached) " >&6
1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1711 /* end confdefs.h. */
1712 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1714 #define $2 innocuous_$2
1716 /* System header to define __stub macros and hopefully few prototypes,
1717 which can conflict with char $2 (); below.
1718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1719 <limits.h> exists even on freestanding compilers. */
1722 # include <limits.h>
1724 # include <assert.h>
1729 /* Override any GCC internal prototype to avoid an error.
1730 Use char because int might match the return type of a GCC
1731 builtin and then its argument prototype would still apply. */
1736 /* The GNU C library defines this for functions which it implements
1737 to always fail with ENOSYS. Some functions are actually named
1738 something starting with __ and the normal name is an alias. */
1739 #if defined __stub_$2 || defined __stub___$2
1751 if ac_fn_c_try_link "$LINENO"; then :
1756 rm -f core conftest.err conftest.$ac_objext \
1757 conftest$ac_exeext conftest.$ac_ext
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1764 } # ac_fn_c_check_func
1766 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1767 # -------------------------------------------------------
1768 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1769 # the include files in INCLUDES and setting the cache variable VAR
1771 ac_fn_c_check_header_mongrel ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if eval "test \"\${$3+set}\"" = set; then :
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if eval "test \"\${$3+set}\"" = set; then :
1778 $as_echo_n "(cached) " >&6
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1784 # Is the header compilable?
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1786 $as_echo_n "checking $2 usability... " >&6; }
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1792 if ac_fn_c_try_compile "$LINENO"; then :
1793 ac_header_compiler=yes
1795 ac_header_compiler=no
1797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1799 $as_echo "$ac_header_compiler" >&6; }
1801 # Is the header present?
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1803 $as_echo_n "checking $2 presence... " >&6; }
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1808 if ac_fn_c_try_cpp "$LINENO"; then :
1809 ac_header_preproc=yes
1811 ac_header_preproc=no
1813 rm -f conftest.err conftest.i conftest.$ac_ext
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1815 $as_echo "$ac_header_preproc" >&6; }
1817 # So? What about this header?
1818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1821 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1823 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1827 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1829 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1831 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1833 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1835 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1836 ( $as_echo "## ----------------------------------- ##
1837 ## Report this to markus@oberhumer.com ##
1838 ## ----------------------------------- ##"
1839 ) | sed "s/^/$as_me: WARNING: /" >&2
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1843 $as_echo_n "checking for $2... " >&6; }
1844 if eval "test \"\${$3+set}\"" = set; then :
1845 $as_echo_n "(cached) " >&6
1847 eval "$3=\$ac_header_compiler"
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855 } # ac_fn_c_check_header_mongrel
1857 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1858 # -------------------------------------------
1859 # Tests whether TYPE exists after having included INCLUDES, setting cache
1860 # variable VAR accordingly.
1861 ac_fn_c_check_type ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if eval "test \"\${$3+set}\"" = set; then :
1867 $as_echo_n "(cached) " >&6
1870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1882 if ac_fn_c_try_compile "$LINENO"; then :
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1895 if ac_fn_c_try_compile "$LINENO"; then :
1900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1907 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1909 } # ac_fn_c_check_type
1911 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1912 # --------------------------------------------
1913 # Tries to find the compile-time value of EXPR in a program that includes
1914 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1916 ac_fn_c_compute_int ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 if test "$cross_compiling" = yes; then
1920 # Depending upon the size, compute the lo and hi bounds.
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1927 static int test_array [1 - 2 * !(($2) >= 0)];
1934 if ac_fn_c_try_compile "$LINENO"; then :
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1943 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1950 if ac_fn_c_try_compile "$LINENO"; then :
1951 ac_hi=$ac_mid; break
1953 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1954 if test $ac_lo -le $ac_mid; then
1958 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1969 static int test_array [1 - 2 * !(($2) < 0)];
1976 if ac_fn_c_try_compile "$LINENO"; then :
1979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */
1985 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1992 if ac_fn_c_try_compile "$LINENO"; then :
1993 ac_lo=$ac_mid; break
1995 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1996 if test $ac_mid -le $ac_hi; then
2000 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2010 # Binary search between lo and hi bounds.
2011 while test "x$ac_lo" != "x$ac_hi"; do
2012 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2019 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2026 if ac_fn_c_try_compile "$LINENO"; then :
2029 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2034 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2039 /* end confdefs.h. */
2041 static long int longval () { return $2; }
2042 static unsigned long int ulongval () { return $2; }
2049 FILE *f = fopen ("conftest.val", "w");
2054 long int i = longval ();
2057 fprintf (f, "%ld", i);
2061 unsigned long int i = ulongval ();
2064 fprintf (f, "%lu", i);
2066 /* Do not output a trailing newline, as this causes \r\n confusion
2067 on some platforms. */
2068 return ferror (f) || fclose (f) != 0;
2074 if ac_fn_c_try_run "$LINENO"; then :
2075 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2080 conftest.$ac_objext conftest.beam conftest.$ac_ext
2084 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2085 as_fn_set_status $ac_retval
2087 } # ac_fn_c_compute_int
2088 cat >config.log <<_ACEOF
2089 This file contains any messages produced by compilers while
2090 running configure, to aid debugging if configure makes a mistake.
2092 It was created by LZO $as_me 2.06, which was
2093 generated by GNU Autoconf 2.67. Invocation command line was
2105 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2106 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2107 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2108 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2109 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2111 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2112 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2114 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2115 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2116 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2117 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2118 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2119 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2120 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir=.
2129 $as_echo "PATH: $as_dir"
2145 # Keep a trace of the command line.
2146 # Strip out --no-create and --no-recursion so they do not pile up.
2147 # Strip out --silent because we don't want to record it for future runs.
2148 # Also quote any args containing shell meta-characters.
2149 # Make two passes to allow for proper duplicate-argument suppression.
2153 ac_must_keep_next=false
2159 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2160 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2161 | -silent | --silent | --silen | --sile | --sil)
2164 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2167 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2169 as_fn_append ac_configure_args1 " '$ac_arg'"
2170 if test $ac_must_keep_next = true; then
2171 ac_must_keep_next=false # Got value, back to normal.
2174 *=* | --config-cache | -C | -disable-* | --disable-* \
2175 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2176 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2177 | -with-* | --with-* | -without-* | --without-* | --x)
2178 case "$ac_configure_args0 " in
2179 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2182 -* ) ac_must_keep_next=true ;;
2185 as_fn_append ac_configure_args " '$ac_arg'"
2190 { ac_configure_args0=; unset ac_configure_args0;}
2191 { ac_configure_args1=; unset ac_configure_args1;}
2193 # When interrupted or exit'd, cleanup temporary files, and complete
2194 # config.log. We remove comments because anyway the quotes in there
2195 # would cause problems or look ugly.
2196 # WARNING: Use '\'' to represent an apostrophe within the trap.
2197 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2198 trap 'exit_status=$?
2199 # Save into config.log some information that might help in debugging.
2203 $as_echo "## ---------------- ##
2204 ## Cache variables. ##
2205 ## ---------------- ##"
2207 # The following way of writing the cache mishandles newlines in values,
2209 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2210 eval ac_val=\$$ac_var
2214 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2215 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2218 _ | IFS | as_nl) ;; #(
2219 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2220 *) { eval $ac_var=; unset $ac_var;} ;;
2225 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2226 *${as_nl}ac_space=\ *)
2228 "s/'\''/'\''\\\\'\'''\''/g;
2229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2232 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2239 $as_echo "## ----------------- ##
2240 ## Output variables. ##
2241 ## ----------------- ##"
2243 for ac_var in $ac_subst_vars
2245 eval ac_val=\$$ac_var
2247 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2249 $as_echo "$ac_var='\''$ac_val'\''"
2253 if test -n "$ac_subst_files"; then
2254 $as_echo "## ------------------- ##
2255 ## File substitutions. ##
2256 ## ------------------- ##"
2258 for ac_var in $ac_subst_files
2260 eval ac_val=\$$ac_var
2262 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 $as_echo "$ac_var='\''$ac_val'\''"
2269 if test -s confdefs.h; then
2270 $as_echo "## ----------- ##
2277 test "$ac_signal" != 0 &&
2278 $as_echo "$as_me: caught signal $ac_signal"
2279 $as_echo "$as_me: exit $exit_status"
2281 rm -f core *.core core.conftest.* &&
2282 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2285 for ac_signal in 1 2 13 15; do
2286 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2290 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2291 rm -f -r conftest* confdefs.h
2293 $as_echo "/* confdefs.h */" > confdefs.h
2295 # Predefined preprocessor variables.
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_NAME "$PACKAGE_NAME"
2301 cat >>confdefs.h <<_ACEOF
2302 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2305 cat >>confdefs.h <<_ACEOF
2306 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2309 cat >>confdefs.h <<_ACEOF
2310 #define PACKAGE_STRING "$PACKAGE_STRING"
2313 cat >>confdefs.h <<_ACEOF
2314 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2317 cat >>confdefs.h <<_ACEOF
2318 #define PACKAGE_URL "$PACKAGE_URL"
2322 # Let the site file select an alternate cache file if it wants to.
2323 # Prefer an explicitly selected file to automatically selected ones.
2326 if test -n "$CONFIG_SITE"; then
2327 # We do not want a PATH search for config.site.
2328 case $CONFIG_SITE in #((
2329 -*) ac_site_file1=./$CONFIG_SITE;;
2330 */*) ac_site_file1=$CONFIG_SITE;;
2331 *) ac_site_file1=./$CONFIG_SITE;;
2333 elif test "x$prefix" != xNONE; then
2334 ac_site_file1=$prefix/share/config.site
2335 ac_site_file2=$prefix/etc/config.site
2337 ac_site_file1=$ac_default_prefix/share/config.site
2338 ac_site_file2=$ac_default_prefix/etc/config.site
2340 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2342 test "x$ac_site_file" = xNONE && continue
2343 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2345 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2346 sed 's/^/| /' "$ac_site_file" >&5
2348 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350 as_fn_error $? "failed to load site
script $ac_site_file
2351 See \
`config.log' for more details" "$LINENO" 5; }
2355 if test -r "$cache_file"; then
2356 # Some versions of bash will fail to source /dev/null (special files
2357 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2358 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2360 $as_echo "$as_me: loading cache $cache_file" >&6;}
2362 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2363 *) . "./$cache_file";;
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2368 $as_echo "$as_me: creating cache $cache_file" >&6;}
2372 # Check that the precious variables saved in the cache have kept the same
2374 ac_cache_corrupted=false
2375 for ac_var in $ac_precious_vars; do
2376 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2377 eval ac_new_set=\$ac_env_${ac_var}_set
2378 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2379 eval ac_new_val=\$ac_env_${ac_var}_value
2380 case $ac_old_set,$ac_new_set in
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2383 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2384 ac_cache_corrupted=: ;;
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2387 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2388 ac_cache_corrupted=: ;;
2391 if test "x$ac_old_val" != "x$ac_new_val"; then
2392 # differences in whitespace do not lead to failure.
2393 ac_old_val_w=`echo x
$ac_old_val`
2394 ac_new_val_w=`echo x
$ac_new_val`
2395 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2397 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2398 ac_cache_corrupted=:
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2401 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2402 eval $ac_var=\$ac_old_val
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2405 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2407 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2410 # Pass precious variables to config.status.
2411 if test "$ac_new_set" = set; then
2413 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2414 *) ac_arg=$ac_var=$ac_new_val ;;
2416 case " $ac_configure_args " in
2417 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2418 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2422 if $ac_cache_corrupted; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2426 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2427 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2429 ## -------------------- ##
2430 ## Main body of script. ##
2431 ## -------------------- ##
2434 ac_cpp='$CPP $CPPFLAGS'
2435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring LZO $PACKAGE_VERSION" >&5
2441 $as_echo "$as_me: Configuring LZO $PACKAGE_VERSION" >&6;}
2444 for ac_dir in autoconf "$srcdir"/autoconf; do
2445 if test -f "$ac_dir/install-sh"; then
2447 ac_install_sh="$ac_aux_dir/install-sh -c"
2449 elif test -f "$ac_dir/install.sh"; then
2451 ac_install_sh="$ac_aux_dir/install.sh -c"
2453 elif test -f "$ac_dir/shtool"; then
2455 ac_install_sh="$ac_aux_dir/shtool install -c"
2459 if test -z "$ac_aux_dir"; then
2460 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2463 # These three variables are undocumented and unsupported,
2464 # and are intended to be withdrawn in a future Autoconf release.
2465 # They can cause serious problems if a builder's source tree is in a directory
2466 # whose full name contains unusual characters.
2467 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2468 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2469 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2489 # Enable extensions on systems that normally disable them.
2491 # Copyright (C) 2003, 2006-2011 Free Software Foundation, Inc.
2492 # This file is free software; the Free Software Foundation
2493 # gives unlimited permission to copy and/or distribute it,
2494 # with or without modifications, as long as this notice is preserved.
2496 # This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from CVS
2497 # Autoconf. Perhaps we can remove this once we can assume Autoconf
2498 # 2.62 or later everywhere, but since CVS Autoconf mutates rapidly
2499 # enough in this area it's likely we'll need to redefine
2500 # AC_USE_SYSTEM_EXTENSIONS for quite some time.
2502 # If autoconf reports a warning
2503 # warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
2504 # or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
2506 # 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked
2507 # but always AC_REQUIREd,
2508 # 2) to ensure that for each occurrence of
2509 # AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
2511 # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
2512 # the corresponding gnulib module description has 'extensions' among
2513 # its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS
2514 # invocation occurs in gl_EARLY, not in gl_INIT.
2516 # AC_USE_SYSTEM_EXTENSIONS
2517 # ------------------------
2518 # Enable extensions on systems that normally disable them,
2519 # typically due to standards-conformance issues.
2520 # Remember that #undef in AH_VERBATIM gets replaced with #define by
2521 # AC_DEFINE. The goal here is to define all known feature-enabling
2522 # macros, then, if reports of conflicts are made, disable macros that
2523 # cause problems on some platforms (such as __EXTENSIONS__).
2524 # AC_USE_SYSTEM_EXTENSIONS
2526 # gl_USE_SYSTEM_EXTENSIONS
2527 # ------------------------
2528 # Enable extensions on systems that normally disable them,
2529 # typically due to standards-conformance issues.
2545 # Checks for stat-related time functions.
2547 # Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2011 Free Software
2550 # This file is free software; the Free Software Foundation
2551 # gives unlimited permission to copy and/or distribute it,
2552 # with or without modifications, as long as this notice is preserved.
2555 # st_atim.tv_nsec - Linux, Solaris, Cygwin
2556 # st_atimespec.tv_nsec - FreeBSD, NetBSD, if ! defined _POSIX_SOURCE
2557 # st_atimensec - FreeBSD, NetBSD, if defined _POSIX_SOURCE
2558 # st_atim.st__tim.tv_nsec - UnixWare (at least 2.1.2 through 7.1)
2560 # st_birthtimespec - FreeBSD, NetBSD (hidden on OpenBSD 3.9, anyway)
2561 # st_birthtim - Cygwin 1.7.0+
2565 # Check for st_birthtime, a feature from UFS2 (FreeBSD, NetBSD, OpenBSD, etc.)
2566 # and NTFS (Cygwin).
2567 # There was a time when this field was named st_createtime (21 June
2568 # 2002 to 16 July 2002) But that window is very small and applied only
2569 # to development code, so systems still using that configuration are
2570 # not supported. See revisions 1.10 and 1.11 of FreeBSD's
2571 # src/sys/ufs/ufs/dinode.h.
2579 # Make sure we can run config.sub.
2580 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2581 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2584 $as_echo_n "checking build system type... " >&6; }
2585 if test "${ac_cv_build+set}" = set; then :
2586 $as_echo_n "(cached) " >&6
2588 ac_build_alias=$build_alias
2589 test "x$ac_build_alias" = x &&
2590 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2591 test "x$ac_build_alias" = x &&
2592 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2593 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2594 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2598 $as_echo "$ac_cv_build" >&6; }
2599 case $ac_cv_build in
2601 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2604 ac_save_IFS=$IFS; IFS='-'
2610 # Remember, the first character of IFS is used to create $*,
2611 # except with old shells:
2614 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2618 $as_echo_n "checking host system type... " >&6; }
2619 if test "${ac_cv_host+set}" = set; then :
2620 $as_echo_n "(cached) " >&6
2622 if test "x$host_alias" = x; then
2623 ac_cv_host=$ac_cv_build
2625 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2626 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2631 $as_echo "$ac_cv_host" >&6; }
2634 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2637 ac_save_IFS=$IFS; IFS='-'
2643 # Remember, the first character of IFS is used to create $*,
2644 # except with old shells:
2647 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2651 $as_echo_n "checking target system type... " >&6; }
2652 if test "${ac_cv_target+set}" = set; then :
2653 $as_echo_n "(cached) " >&6
2655 if test "x$target_alias" = x; then
2656 ac_cv_target=$ac_cv_host
2658 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2659 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2664 $as_echo "$ac_cv_target" >&6; }
2665 case $ac_cv_target in
2667 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2669 target=$ac_cv_target
2670 ac_save_IFS=$IFS; IFS='-'
2676 # Remember, the first character of IFS is used to create $*,
2677 # except with old shells:
2680 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2683 # The aliases save the names the user supplied, while $host etc.
2684 # will get canonicalized.
2685 test -n "$target_alias" &&
2686 test "$program_prefix$program_suffix$program_transform_name" = \
2688 program_prefix=${target_alias}-
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2691 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2692 # Check whether --enable-maintainer-mode was given.
2693 if test "${enable_maintainer_mode+set}" = set; then :
2694 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2696 USE_MAINTAINER_MODE=no
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2700 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2701 if test $USE_MAINTAINER_MODE = yes; then
2702 MAINTAINER_MODE_TRUE=
2703 MAINTAINER_MODE_FALSE='#'
2705 MAINTAINER_MODE_TRUE='#'
2706 MAINTAINER_MODE_FALSE=
2709 MAINT=$MAINTAINER_MODE_TRUE
2713 if test -z "$ac_abs_top_srcdir"; then
2717 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2719 ac_dir_suffix=/`$as_echo . |
sed 's|^\.[\\/]||'`
2720 # A ".." for each directory in $ac_dir_suffix.
2721 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
2722 case $ac_top_builddir_sub in
2723 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2724 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2727 ac_abs_top_builddir=$ac_pwd
2728 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2729 # for backward compatibility:
2730 ac_top_builddir=$ac_top_build_prefix
2733 .) # We are building in place.
2735 ac_top_srcdir=$ac_top_builddir_sub
2736 ac_abs_top_srcdir=$ac_pwd ;;
2737 [\\/]* | ?:[\\/]* ) # Absolute name.
2738 ac_srcdir=$srcdir$ac_dir_suffix;
2739 ac_top_srcdir=$srcdir
2740 ac_abs_top_srcdir=$srcdir ;;
2742 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2743 ac_top_srcdir=$ac_top_build_prefix$srcdir
2744 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2746 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2749 if test -z "$ac_abs_top_srcdir"; then
2750 as_fn_error 1 "internal error: ac_abs_top_srcdir is not set"
2752 if test -r .Conf.settings1; then
2757 ac_cpp='$CPP $CPPFLAGS'
2758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2761 if test -n "$ac_tool_prefix"; then
2762 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2763 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if test "${ac_cv_prog_CC+set}" = set; then :
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$CC"; then
2770 ac_cv_prog_CC="$CC" # Let the user override the test.
2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir=.
2777 for ac_exec_ext in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 if test -n "$CC"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2792 $as_echo "$CC" >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2800 if test -z "$ac_cv_prog_CC"; then
2802 # Extract the first word of "gcc", so it can be a program name with args.
2803 set dummy gcc; ac_word=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2807 $as_echo_n "(cached) " >&6
2809 if test -n "$ac_ct_CC"; then
2810 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir=.
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_ac_ct_CC="gcc"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2830 if test -n "$ac_ct_CC"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2832 $as_echo "$ac_ct_CC" >&6; }
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2838 if test "x$ac_ct_CC" = x; then
2841 case $cross_compiling:$ac_tool_warned in
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2845 ac_tool_warned=yes ;;
2853 if test -z "$CC"; then
2854 if test -n "$ac_tool_prefix"; then
2855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2856 set dummy ${ac_tool_prefix}cc; ac_word=$2
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if test "${ac_cv_prog_CC+set}" = set; then :
2860 $as_echo_n "(cached) " >&6
2862 if test -n "$CC"; then
2863 ac_cv_prog_CC="$CC" # Let the user override the test.
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2872 ac_cv_prog_CC="${ac_tool_prefix}cc"
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 if test -n "$CC"; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2885 $as_echo "$CC" >&6; }
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888 $as_echo "no" >&6; }
2894 if test -z "$CC"; then
2895 # Extract the first word of "cc", so it can be a program name with args.
2896 set dummy cc; ac_word=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if test "${ac_cv_prog_CC+set}" = set; then :
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$CC"; then
2903 ac_cv_prog_CC="$CC" # Let the user override the test.
2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir=.
2911 for ac_exec_ext in '' $ac_executable_extensions; do
2912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2914 ac_prog_rejected=yes
2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 if test $ac_prog_rejected = yes; then
2926 # We found a bogon in the path, so make sure we never use it.
2927 set dummy $ac_cv_prog_CC
2929 if test $# != 0; then
2930 # We chose a different compiler from the bogus one.
2931 # However, it has the same basename, so the bogon will be chosen
2932 # first if we set CC to just the basename; use the full file name.
2934 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2940 if test -n "$CC"; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2942 $as_echo "$CC" >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2950 if test -z "$CC"; then
2951 if test -n "$ac_tool_prefix"; then
2952 for ac_prog in cl.exe
2954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if test "${ac_cv_prog_CC+set}" = set; then :
2959 $as_echo_n "(cached) " >&6
2961 if test -n "$CC"; then
2962 ac_cv_prog_CC="$CC" # Let the user override the test.
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir=.
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 if test -n "$CC"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2984 $as_echo "$CC" >&6; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2991 test -n "$CC" && break
2994 if test -z "$CC"; then
2996 for ac_prog in cl.exe
2998 # Extract the first word of "$ac_prog", so it can be a program name with args.
2999 set dummy $ac_prog; ac_word=$2
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001 $as_echo_n "checking for $ac_word... " >&6; }
3002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3005 if test -n "$ac_ct_CC"; then
3006 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir=.
3013 for ac_exec_ext in '' $ac_executable_extensions; do
3014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3015 ac_cv_prog_ac_ct_CC="$ac_prog"
3016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3026 if test -n "$ac_ct_CC"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3028 $as_echo "$ac_ct_CC" >&6; }
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3035 test -n "$ac_ct_CC" && break
3038 if test "x$ac_ct_CC" = x; then
3041 case $cross_compiling:$ac_tool_warned in
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3045 ac_tool_warned=yes ;;
3054 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3056 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3057 See \
`config.log' for more details" "$LINENO" 5; }
3059 # Provide some information about the compiler.
3060 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3063 for ac_option in --version -v -V -qversion; do
3064 { { ac_try="$ac_compiler $ac_option >&5"
3066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3067 *) ac_try_echo
=$ac_try;;
3069 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3073 if test -s conftest.err
; then
3075 ... rest of stderr output deleted ...
3076 10q' conftest.err
>conftest.er1
3077 cat conftest.er1
>&5
3079 rm -f conftest.er1 conftest.err
3080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3081 test $ac_status = 0; }
3084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3095 ac_clean_files_save
=$ac_clean_files
3096 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3097 # Try to create an executable without -o first, disregard a.out.
3098 # It will help us diagnose broken compilers, and finding out an intuition
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3101 $as_echo_n "checking whether the C compiler works... " >&6; }
3102 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3104 # The possible output files:
3105 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3108 for ac_file
in $ac_files
3111 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3112 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3117 if { { ac_try
="$ac_link_default"
3119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3123 $as_echo "$ac_try_echo"; } >&5
3124 (eval "$ac_link_default") 2>&5
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 test $ac_status = 0; }; then :
3128 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3129 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3130 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3131 # so that the user can short-circuit this test for compilers unknown to
3133 for ac_file in $ac_files ''
3135 test -f "$ac_file" || continue
3137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3140 # We found the default executable, but exeext='' is most
3144 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3146 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3148 # We set ac_cv_exeext here because the later test for it is not
3149 # safe: cross compilers may not add the suffix if given an `-o'
3150 # argument, so we may need to know it at that point already.
3151 # Even if this section looks crufty: it has the advantage of
3158 test "$ac_cv_exeext" = no && ac_cv_exeext=
3163 if test -z "$ac_file"; then :
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3166 $as_echo "$as_me: failed program was:" >&5
3167 sed 's
/^
/|
/' conftest.$ac_ext >&5
3169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3170 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3171 as_fn_error 77 "C compiler cannot create executables
3172 See \`config.log
' for more details" "$LINENO" 5; }
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3175 $as_echo "yes" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3178 $as_echo_n "checking for C compiler default output file name... " >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3180 $as_echo "$ac_file" >&6; }
3181 ac_exeext=$ac_cv_exeext
3183 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3184 ac_clean_files=$ac_clean_files_save
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3186 $as_echo_n "checking for suffix of executables... " >&6; }
3187 if { { ac_try="$ac_link"
3189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190 *) ac_try_echo=$ac_try;;
3192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3193 $as_echo "$ac_try_echo"; } >&5
3194 (eval "$ac_link") 2>&5
3196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3197 test $ac_status = 0; }; then :
3198 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3199 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3200 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3202 for ac_file
in conftest.exe conftest conftest.
*; do
3203 test -f "$ac_file" ||
continue
3205 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3206 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3215 See \`config.log' for more details" "$LINENO" 5; }
3217 rm -f conftest conftest
$ac_cv_exeext
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3219 $as_echo "$ac_cv_exeext" >&6; }
3221 rm -f conftest.
$ac_ext
3222 EXEEXT
=$ac_cv_exeext
3224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3230 FILE *f = fopen ("conftest.out", "w");
3231 return ferror (f) || fclose (f) != 0;
3237 ac_clean_files
="$ac_clean_files conftest.out"
3238 # Check that the compiler produces executables we can run. If not, either
3239 # the compiler is broken, or we cross compile.
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3241 $as_echo_n "checking whether we are cross compiling... " >&6; }
3242 if test "$cross_compiling" != yes; then
3243 { { ac_try
="$ac_link"
3245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3249 $as_echo "$ac_try_echo"; } >&5
3250 (eval "$ac_link") 2>&5
3252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3253 test $ac_status = 0; }
3254 if { ac_try='./conftest$ac_cv_exeext'
3255 { { case "(($ac_try" in
3256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3257 *) ac_try_echo
=$ac_try;;
3259 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3260 $as_echo "$ac_try_echo"; } >&5
3261 (eval "$ac_try") 2>&5
3263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3264 test $ac_status = 0; }; }; then
3267 if test "$cross_compiling" = maybe
; then
3270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272 as_fn_error $?
"cannot run C compiled programs.
3273 If you meant to cross compile, use \`--host'.
3274 See \`config.log' for more details" "$LINENO" 5; }
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3279 $as_echo "$cross_compiling" >&6; }
3281 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3282 ac_clean_files
=$ac_clean_files_save
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3284 $as_echo_n "checking for suffix of object files... " >&6; }
3285 if test "${ac_cv_objext+set}" = set; then :
3286 $as_echo_n "(cached) " >&6
3288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3299 rm -f conftest.o conftest.obj
3300 if { { ac_try
="$ac_compile"
3302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3306 $as_echo "$ac_try_echo"; } >&5
3307 (eval "$ac_compile") 2>&5
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310 test $ac_status = 0; }; then :
3311 for ac_file in conftest.o conftest.obj conftest.*; do
3312 test -f "$ac_file" || continue;
3314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3315 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3320 $as_echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3325 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3326 See \
`config.log' for more details" "$LINENO" 5; }
3328 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3331 $as_echo "$ac_cv_objext" >&6; }
3332 OBJEXT=$ac_cv_objext
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3335 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3336 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3337 $as_echo_n "(cached) " >&6
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3353 if ac_fn_c_try_compile "$LINENO"; then :
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3363 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3364 if test $ac_compiler_gnu = yes; then
3369 ac_test_CFLAGS=${CFLAGS+set}
3370 ac_save_CFLAGS=$CFLAGS
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3372 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3373 if test "${ac_cv_prog_cc_g+set}" = set; then :
3374 $as_echo_n "(cached) " >&6
3376 ac_save_c_werror_flag=$ac_c_werror_flag
3377 ac_c_werror_flag=yes
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3391 if ac_fn_c_try_compile "$LINENO"; then :
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3406 if ac_fn_c_try_compile "$LINENO"; then :
3409 ac_c_werror_flag=$ac_save_c_werror_flag
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3422 if ac_fn_c_try_compile "$LINENO"; then :
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 ac_c_werror_flag=$ac_save_c_werror_flag
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3433 $as_echo "$ac_cv_prog_cc_g" >&6; }
3434 if test "$ac_test_CFLAGS" = set; then
3435 CFLAGS=$ac_save_CFLAGS
3436 elif test $ac_cv_prog_cc_g = yes; then
3437 if test "$GCC" = yes; then
3443 if test "$GCC" = yes; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3450 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3451 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3454 ac_cv_prog_cc_c89=no
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3460 #include <sys/types.h>
3461 #include <sys/stat.h>
3462 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3463 struct buf { int x; };
3464 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3465 static char *e (p, i)
3471 static char *f (char * (*g) (char **, int), char **p, ...)
3476 s = g (p, va_arg (v,int));
3481 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3482 function prototypes and stuff, but not '\xHH' hex character constants.
3483 These don't provoke an error unfortunately, instead are silently treated
3484 as 'x'. The following induces an error, until -std is added to get
3485 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3486 array size at least. It's necessary to write '\x00'==0 to get something
3487 that's true only with -std. */
3488 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3490 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3491 inside strings and character constants. */
3493 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3495 int test (int i, double x);
3496 struct s1 {int (*f) (int a);};
3497 struct s2 {int (*f) (double a);};
3498 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3504 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3509 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3510 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3512 CC="$ac_save_CC $ac_arg"
3513 if ac_fn_c_try_compile "$LINENO"; then :
3514 ac_cv_prog_cc_c89=$ac_arg
3516 rm -f core conftest.err conftest.$ac_objext
3517 test "x$ac_cv_prog_cc_c89" != "xno" && break
3519 rm -f conftest.$ac_ext
3524 case "x$ac_cv_prog_cc_c89" in
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3527 $as_echo "none needed" >&6; } ;;
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3530 $as_echo "unsupported" >&6; } ;;
3532 CC="$CC $ac_cv_prog_cc_c89"
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3534 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3536 if test "x$ac_cv_prog_cc_c89" != xno; then :
3541 ac_cpp='$CPP $CPPFLAGS'
3542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3546 if test "x$CC" != xcc; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3548 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3551 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3553 set dummy $CC; ac_cc=`$as_echo "$2" |
3554 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3555 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3556 $as_echo_n "(cached) " >&6
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3569 # Make sure it works both with $CC and with simple cc.
3570 # We do the test twice because some compilers refuse to overwrite an
3571 # existing .o file with -o, though they will create one.
3572 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3574 if { { case "(($ac_try" in
3575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3576 *) ac_try_echo
=$ac_try;;
3578 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3579 $as_echo "$ac_try_echo"; } >&5
3580 (eval "$ac_try") 2>&5
3582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3583 test $ac_status = 0; } &&
3584 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
3585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
3588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3589 $as_echo "$ac_try_echo"; } >&5
3590 (eval "$ac_try") 2>&5
3592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593 test $ac_status = 0; };
3595 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3596 if test "x$CC" != xcc; then
3597 # Test first that cc exists at all.
3598 if { ac_try='cc -c conftest.$ac_ext >&5'
3599 { { case "(($ac_try" in
3600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3601 *) ac_try_echo
=$ac_try;;
3603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604 $as_echo "$ac_try_echo"; } >&5
3605 (eval "$ac_try") 2>&5
3607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608 test $ac_status = 0; }; }; then
3609 ac_try
='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3611 if { { case "(($ac_try" in
3612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3616 $as_echo "$ac_try_echo"; } >&5
3617 (eval "$ac_try") 2>&5
3619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3620 test $ac_status = 0; } &&
3621 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3623 *) ac_try_echo
=$ac_try;;
3625 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3626 $as_echo "$ac_try_echo"; } >&5
3627 (eval "$ac_try") 2>&5
3629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3630 test $ac_status = 0; };
3635 # cc exists but doesn't like -o.
3636 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3641 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3643 rm -f core conftest
*
3646 if eval test \
$ac_cv_prog_cc_${ac_cc}_c_o
= yes; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3648 $as_echo "yes" >&6; }
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 $as_echo "no" >&6; }
3653 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3657 # expand $ac_aux_dir to an absolute path
3658 am_aux_dir
=`cd $ac_aux_dir && pwd`
3660 # FIXME: we rely on the cache variable name because
3661 # there is no other way.
3663 am_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3664 eval am_t
=\
$ac_cv_prog_cc_${am_cc}_c_o
3665 if test "$am_t" != yes; then
3666 # Losing compiler, so override with the script.
3667 # FIXME: It is wrong to rewrite CC.
3668 # But if we don't then we get into trouble of one sort or another.
3669 # A longer-term fix would be to have automake use am__CC in this case,
3670 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3671 CC
="$am_aux_dir/compile $CC"
3675 rm -rf .tst
2>/dev
/null
3676 mkdir .tst
2>/dev
/null
3677 if test -d .tst
; then
3682 rmdir .tst
2>/dev
/null
3684 DEPDIR
="${am__leading_dot}deps"
3686 ac_config_commands
="$ac_config_commands depfiles"
3689 am_make
=${MAKE-make}
3690 cat > confinc
<< 'END'
3692 @
echo this is the am__doit target
3695 # If we don't find an include directive, just comment out the code.
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3697 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3701 # First try GNU make style include.
3702 echo "include confinc" > confmf
3703 # Ignore all kinds of additional output from `make'.
3704 case `$am_make -s -f confmf 2> /dev/null` in #(
3705 *the\ am__doit\ target
*)
3711 # Now try BSD make style include.
3712 if test "$am__include" = "#"; then
3713 echo '.include "confinc"' > confmf
3714 case `$am_make -s -f confmf 2> /dev/null` in #(
3715 *the\ am__doit\ target
*)
3716 am__include
=.include
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3725 $as_echo "$_am_result" >&6; }
3726 rm -f confinc confmf
3728 # Check whether --enable-dependency-tracking was given.
3729 if test "${enable_dependency_tracking+set}" = set; then :
3730 enableval
=$enable_dependency_tracking;
3733 if test "x$enable_dependency_tracking" != xno
; then
3734 am_depcomp
="$ac_aux_dir/depcomp"
3737 if test "x$enable_dependency_tracking" != xno; then
3746 # By default we simply use the C compiler to build assembly code.
3748 test "${CCAS+set}" = set || CCAS
=$CC
3749 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
3753 depcc
="$CCAS" am_compiler_list
=
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3756 $as_echo_n "checking dependency style of $depcc... " >&6; }
3757 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3760 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3761 # We make a subdir and do the tests there. Otherwise we can end up
3762 # making bogus files that we don't know about and never remove. For
3763 # instance it was reported that on HP-UX the gcc test will end up
3764 # making a dummy file named `D' -- because `-MD' means `put the output
3767 # Copy depcomp to subdir because otherwise we won't find it if we're
3768 # using a relative directory.
3769 cp "$am_depcomp" conftest.dir
3771 # We will build objects and dependencies in a subdirectory because
3772 # it helps to detect inapplicable dependency modes. For instance
3773 # both Tru64's cc and ICC support -MD to output dependencies as a
3774 # side effect of compilation, but ICC will put the dependencies in
3775 # the current directory while Tru64 will put them in the object
3779 am_cv_CCAS_dependencies_compiler_type
=none
3780 if test "$am_compiler_list" = ""; then
3781 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3786 for depmode
in $am_compiler_list; do
3787 # Setup a source with many dependencies, because some compilers
3788 # like to wrap large dependency lists on column 80 (with \), and
3789 # we should not choose a depcomp mode which is confused by this.
3791 # We need to recreate these files for each test, as the compiler may
3792 # overwrite some of them when testing with obscure command lines.
3793 # This happens at least with the AIX C compiler.
3795 for i
in 1 2 3 4 5 6; do
3796 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3797 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3798 # Solaris 8's {/usr,}/bin/sh.
3799 touch sub
/conftst
$i.h
3801 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3803 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3804 # mode. It turns out that the SunPro C++ compiler does not properly
3805 # handle `-M -o', and we need to detect this. Also, some Intel
3806 # versions had trouble with output in subdirs
3807 am__obj
=sub
/conftest.
${OBJEXT-o}
3808 am__minus_obj
="-o $am__obj"
3811 # This depmode causes a compiler race in universal mode.
3812 test "$am__universal" = false ||
continue
3815 # after this tag, mechanisms are not by side-effect, so they'll
3816 # only be used when explicitly requested
3817 if test "x$enable_dependency_tracking" = xyes
; then
3823 msvisualcpp | msvcmsys
)
3824 # This compiler won't grok `-c -o', but also, the minuso test has
3825 # not run yet. These depmodes are late enough in the game, and
3826 # so weak that their functioning should not be impacted.
3827 am__obj
=conftest.
${OBJEXT-o}
3832 if depmode
=$depmode \
3833 source=sub
/conftest.c object
=$am__obj \
3834 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3835 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3836 >/dev
/null
2>conftest.err
&&
3837 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3838 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3839 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3840 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3841 # icc doesn't choke on unknown options, it will just issue warnings
3842 # or remarks (even with -Werror). So we grep stderr for any message
3843 # that says an option was ignored or not supported.
3844 # When given -MP, icc 7.0 and 7.1 complain thusly:
3845 # icc: Command line warning: ignoring option '-M'; no argument required
3846 # The diagnosis changed in icc 8.0:
3847 # icc: Command line remark: option '-MP' not supported
3848 if (grep 'ignoring option' conftest.err ||
3849 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3850 am_cv_CCAS_dependencies_compiler_type
=$depmode
3859 am_cv_CCAS_dependencies_compiler_type
=none
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3864 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3865 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
3868 test "x$enable_dependency_tracking" != xno \
3869 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
3870 am__fastdepCCAS_TRUE
=
3871 am__fastdepCCAS_FALSE
='#'
3873 am__fastdepCCAS_TRUE
='#'
3874 am__fastdepCCAS_FALSE
=
3879 ac_cpp
='$CPP $CPPFLAGS'
3880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3884 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3885 # On Suns, sometimes $CPP names a directory.
3886 if test -n "$CPP" && test -d "$CPP"; then
3889 if test -z "$CPP"; then
3890 if test "${ac_cv_prog_CPP+set}" = set; then :
3891 $as_echo_n "(cached) " >&6
3893 # Double quotes because CPP needs to be expanded
3894 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3897 for ac_c_preproc_warn_flag
in '' yes
3899 # Use a header file that comes with gcc, so configuring glibc
3900 # with a fresh cross-compiler works.
3901 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3902 # <limits.h> exists even on freestanding compilers.
3903 # On the NeXT, cc -E runs the code through the compiler's parser,
3904 # not just through cpp. "Syntax error" is here to catch this case.
3905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3908 # include <limits.h>
3910 # include <assert.h>
3914 if ac_fn_c_try_cpp
"$LINENO"; then :
3917 # Broken: fails on valid input.
3920 rm -f conftest.err conftest.i conftest.
$ac_ext
3922 # OK, works on sane cases. Now check whether nonexistent headers
3923 # can be detected and how.
3924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h. */
3926 #include <ac_nonexistent.h>
3928 if ac_fn_c_try_cpp
"$LINENO"; then :
3929 # Broken: success on invalid input.
3932 # Passes both tests.
3936 rm -f conftest.err conftest.i conftest.
$ac_ext
3939 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3940 rm -f conftest.i conftest.err conftest.
$ac_ext
3941 if $ac_preproc_ok; then :
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3954 $as_echo "$CPP" >&6; }
3956 for ac_c_preproc_warn_flag
in '' yes
3958 # Use a header file that comes with gcc, so configuring glibc
3959 # with a fresh cross-compiler works.
3960 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3961 # <limits.h> exists even on freestanding compilers.
3962 # On the NeXT, cc -E runs the code through the compiler's parser,
3963 # not just through cpp. "Syntax error" is here to catch this case.
3964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3967 # include <limits.h>
3969 # include <assert.h>
3973 if ac_fn_c_try_cpp
"$LINENO"; then :
3976 # Broken: fails on valid input.
3979 rm -f conftest.err conftest.i conftest.
$ac_ext
3981 # OK, works on sane cases. Now check whether nonexistent headers
3982 # can be detected and how.
3983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3985 #include <ac_nonexistent.h>
3987 if ac_fn_c_try_cpp
"$LINENO"; then :
3988 # Broken: success on invalid input.
3991 # Passes both tests.
3995 rm -f conftest.err conftest.i conftest.
$ac_ext
3998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3999 rm -f conftest.i conftest.err conftest.
$ac_ext
4000 if $ac_preproc_ok; then :
4003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4005 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4006 See \`config.log' for more details" "$LINENO" 5; }
4010 ac_cpp
='$CPP $CPPFLAGS'
4011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C preprocessor needs special flags" >&5
4017 $as_echo_n "checking whether the C preprocessor needs special flags... " >&6; }
4019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4022 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
4023 # include "your C preprocessor is broken 1"
4024 #elif (0xffffu == 0xfffffffful)
4025 # include "your C preprocessor is broken 2"
4026 #elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX)
4027 # include "your C preprocessor is broken 3"
4040 mfx_save_CPPFLAGS
=$CPPFLAGS
4042 for mfx_arg
in "" -no-cpp-precomp
4044 CPPFLAGS
="$mfx_arg $mfx_save_CPPFLAGS"
4045 if ac_fn_c_try_compile
"$LINENO"; then :
4049 rm -f core conftest.err conftest.
$ac_objext
4051 CPPFLAGS
=$mfx_save_CPPFLAGS
4052 rm -f conftest.
$ac_ext conftest.
$ac_objext
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4056 $as_echo "none needed" >&6; } ;;
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ERROR" >&5
4059 $as_echo "ERROR" >&6; }
4060 as_fn_error $?
"your C preprocessor is broken - for details see config.log" "$LINENO" 5
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
4064 $as_echo "$mfx_tmp" >&6; }
4065 CPPFLAGS
="$mfx_tmp $CPPFLAGS"
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4071 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4072 if test "${ac_cv_c_const+set}" = set; then :
4073 $as_echo_n "(cached) " >&6
4075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h. */
4081 /* FIXME: Include the comments suggested by Paul. */
4083 /* Ultrix mips cc rejects this. */
4084 typedef int charset[2];
4086 /* SunOS 4.1.1 cc rejects this. */
4087 char const *const *pcpcc;
4089 /* NEC SVR4.0.2 mips cc rejects this. */
4090 struct point {int x, y;};
4091 static struct point const zero = {0,0};
4092 /* AIX XL C 1.02.0.0 rejects this.
4093 It does not let you subtract one const X* pointer from another in
4094 an arm of an if-expression whose if-part is not a constant
4096 const char *g = "string";
4097 pcpcc = &g + (g ? g-g : 0);
4098 /* HPUX 7.0 cc rejects these. */
4100 ppc = (char**) pcpcc;
4101 pcpcc = (char const *const *) ppc;
4102 { /* SCO 3.2v4 cc rejects this. */
4104 char const *s = 0 ? (char *) 0 : (char const *) 0;
4109 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4111 const int *foo = &x[0];
4114 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4115 typedef const int *iptr;
4119 { /* AIX XL C 1.02.0.0 rejects this saying
4120 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4121 struct s { int j; const int *ap[3]; };
4122 struct s *b; b->j = 5;
4124 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4128 return !cs[0] && !zero.x;
4135 if ac_fn_c_try_compile
"$LINENO"; then :
4140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4143 $as_echo "$ac_cv_c_const" >&6; }
4144 if test $ac_cv_c_const = no
; then
4146 $as_echo "#define const /**/" >>confdefs.h
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4152 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4153 if test "${ac_cv_path_GREP+set}" = set; then :
4154 $as_echo_n "(cached) " >&6
4156 if test -z "$GREP"; then
4157 ac_path_GREP_found
=false
4158 # Loop through the user's path and test for each of PROGNAME-LIST
4159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4160 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4163 test -z "$as_dir" && as_dir
=.
4164 for ac_prog
in grep ggrep
; do
4165 for ac_exec_ext
in '' $ac_executable_extensions; do
4166 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4167 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4168 # Check for GNU ac_path_GREP and select it if it is found.
4169 # Check for GNU $ac_path_GREP
4170 case `"$ac_path_GREP" --version 2>&1` in
4172 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4175 $as_echo_n 0123456789 >"conftest.in"
4178 cat "conftest.in" "conftest.in" >"conftest.tmp"
4179 mv "conftest.tmp" "conftest.in"
4180 cp "conftest.in" "conftest.nl"
4181 $as_echo 'GREP' >> "conftest.nl"
4182 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4183 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4184 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4185 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4186 # Best one so far, save it but keep looking for a better one
4187 ac_cv_path_GREP
="$ac_path_GREP"
4188 ac_path_GREP_max
=$ac_count
4190 # 10*(2^10) chars as input seems more than enough
4191 test $ac_count -gt 10 && break
4193 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4196 $ac_path_GREP_found && break 3
4201 if test -z "$ac_cv_path_GREP"; then
4202 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4205 ac_cv_path_GREP
=$GREP
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4210 $as_echo "$ac_cv_path_GREP" >&6; }
4211 GREP
="$ac_cv_path_GREP"
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4215 $as_echo_n "checking for egrep... " >&6; }
4216 if test "${ac_cv_path_EGREP+set}" = set; then :
4217 $as_echo_n "(cached) " >&6
4219 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4220 then ac_cv_path_EGREP
="$GREP -E"
4222 if test -z "$EGREP"; then
4223 ac_path_EGREP_found
=false
4224 # Loop through the user's path and test for each of PROGNAME-LIST
4225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4226 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4229 test -z "$as_dir" && as_dir
=.
4230 for ac_prog
in egrep; do
4231 for ac_exec_ext
in '' $ac_executable_extensions; do
4232 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4233 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4234 # Check for GNU ac_path_EGREP and select it if it is found.
4235 # Check for GNU $ac_path_EGREP
4236 case `"$ac_path_EGREP" --version 2>&1` in
4238 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4241 $as_echo_n 0123456789 >"conftest.in"
4244 cat "conftest.in" "conftest.in" >"conftest.tmp"
4245 mv "conftest.tmp" "conftest.in"
4246 cp "conftest.in" "conftest.nl"
4247 $as_echo 'EGREP' >> "conftest.nl"
4248 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4249 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4250 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4251 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4252 # Best one so far, save it but keep looking for a better one
4253 ac_cv_path_EGREP
="$ac_path_EGREP"
4254 ac_path_EGREP_max
=$ac_count
4256 # 10*(2^10) chars as input seems more than enough
4257 test $ac_count -gt 10 && break
4259 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4262 $ac_path_EGREP_found && break 3
4267 if test -z "$ac_cv_path_EGREP"; then
4268 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4271 ac_cv_path_EGREP
=$EGREP
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4277 $as_echo "$ac_cv_path_EGREP" >&6; }
4278 EGREP
="$ac_cv_path_EGREP"
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4282 $as_echo_n "checking for ANSI C header files... " >&6; }
4283 if test "${ac_cv_header_stdc+set}" = set; then :
4284 $as_echo_n "(cached) " >&6
4286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4301 if ac_fn_c_try_compile
"$LINENO"; then :
4302 ac_cv_header_stdc
=yes
4304 ac_cv_header_stdc
=no
4306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4308 if test $ac_cv_header_stdc = yes; then
4309 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4316 $EGREP "memchr" >/dev
/null
2>&1; then :
4319 ac_cv_header_stdc
=no
4325 if test $ac_cv_header_stdc = yes; then
4326 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4333 $EGREP "free" >/dev
/null
2>&1; then :
4336 ac_cv_header_stdc
=no
4342 if test $ac_cv_header_stdc = yes; then
4343 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4344 if test "$cross_compiling" = yes; then :
4347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4348 /* end confdefs.h. */
4351 #if ((' ' & 0x0FF) == 0x020)
4352 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4353 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4355 # define ISLOWER(c) \
4356 (('a' <= (c) && (c) <= 'i') \
4357 || ('j' <= (c) && (c) <= 'r') \
4358 || ('s' <= (c) && (c) <= 'z'))
4359 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4362 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4367 for (i = 0; i < 256; i++)
4368 if (XOR (islower (i), ISLOWER (i))
4369 || toupper (i) != TOUPPER (i))
4374 if ac_fn_c_try_run
"$LINENO"; then :
4377 ac_cv_header_stdc
=no
4379 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4380 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4386 $as_echo "$ac_cv_header_stdc" >&6; }
4387 if test $ac_cv_header_stdc = yes; then
4389 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4393 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4394 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4395 inttypes.h stdint.h unistd.h
4397 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4398 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4400 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4401 cat >>confdefs.h
<<_ACEOF
4402 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4412 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4413 if test "${ac_cv_c_bigendian+set}" = set; then :
4414 $as_echo_n "(cached) " >&6
4416 ac_cv_c_bigendian
=unknown
4417 # See if we're dealing with a universal compiler.
4418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4420 #ifndef __APPLE_CC__
4421 not a universal capable compiler
4426 if ac_fn_c_try_compile
"$LINENO"; then :
4428 # Check for potential -arch flags. It is not universal unless
4429 # there are at least two -arch flags with different values.
4432 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4433 if test -n "$ac_prev"; then
4435 i?
86 | x86_64 | ppc | ppc64
)
4436 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4439 ac_cv_c_bigendian
=universal
4445 elif test "x$ac_word" = "x-arch"; then
4450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4451 if test $ac_cv_c_bigendian = unknown
; then
4452 # See if sys/param.h defines the BYTE_ORDER macro.
4453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4454 /* end confdefs.h. */
4455 #include <sys/types.h>
4456 #include <sys/param.h>
4461 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4462 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4471 if ac_fn_c_try_compile
"$LINENO"; then :
4472 # It does; now see whether it defined to BIG_ENDIAN or not.
4473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4475 #include <sys/types.h>
4476 #include <sys/param.h>
4481 #if BYTE_ORDER != BIG_ENDIAN
4489 if ac_fn_c_try_compile
"$LINENO"; then :
4490 ac_cv_c_bigendian
=yes
4492 ac_cv_c_bigendian
=no
4494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4498 if test $ac_cv_c_bigendian = unknown
; then
4499 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4507 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4515 if ac_fn_c_try_compile
"$LINENO"; then :
4516 # It does; now see whether it defined to _BIG_ENDIAN or not.
4517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4532 if ac_fn_c_try_compile
"$LINENO"; then :
4533 ac_cv_c_bigendian
=yes
4535 ac_cv_c_bigendian
=no
4537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4541 if test $ac_cv_c_bigendian = unknown
; then
4542 # Compile a test program.
4543 if test "$cross_compiling" = yes; then :
4544 # Try to guess by grepping values from an object file.
4545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4547 short int ascii_mm[] =
4548 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4549 short int ascii_ii[] =
4550 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4551 int use_ascii (int i) {
4552 return ascii_mm[i] + ascii_ii[i];
4554 short int ebcdic_ii[] =
4555 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4556 short int ebcdic_mm[] =
4557 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4558 int use_ebcdic (int i) {
4559 return ebcdic_mm[i] + ebcdic_ii[i];
4566 return use_ascii (foo) == use_ebcdic (foo);
4571 if ac_fn_c_try_compile
"$LINENO"; then :
4572 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4573 ac_cv_c_bigendian
=yes
4575 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4576 if test "$ac_cv_c_bigendian" = unknown
; then
4577 ac_cv_c_bigendian
=no
4579 # finding both strings is unlikely to happen, but who knows?
4580 ac_cv_c_bigendian
=unknown
4584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4588 $ac_includes_default
4593 /* Are we little or big endian? From Harbison&Steele. */
4597 char c[sizeof (long int)];
4600 return u.c[sizeof (long int) - 1] == 1;
4606 if ac_fn_c_try_run
"$LINENO"; then :
4607 ac_cv_c_bigendian
=no
4609 ac_cv_c_bigendian
=yes
4611 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4612 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4618 $as_echo "$ac_cv_c_bigendian" >&6; }
4619 case $ac_cv_c_bigendian in #(
4622 $as_echo "#define LZO_ABI_BIG_ENDIAN 1" >>confdefs.h
4626 $as_echo "#define LZO_ABI_LITTLE_ENDIAN 1" >>confdefs.h
4630 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4634 as_fn_error $?
"unknown endianness
4635 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4639 # Check whether --enable-largefile was given.
4640 if test "${enable_largefile+set}" = set; then :
4641 enableval
=$enable_largefile;
4644 if test "$enable_largefile" != no
; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4647 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4648 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4649 $as_echo_n "(cached) " >&6
4651 ac_cv_sys_largefile_CC
=no
4652 if test "$GCC" != yes; then
4655 # IRIX 6.2 and later do not support large files by default,
4656 # so use the C compiler's -n32 option if that helps.
4657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4659 #include <sys/types.h>
4660 /* Check that off_t can represent 2**63 - 1 correctly.
4661 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4662 since some C++ compilers masquerading as C compilers
4663 incorrectly reject 9223372036854775807. */
4664 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4665 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4666 && LARGE_OFF_T % 2147483647 == 1)
4676 if ac_fn_c_try_compile
"$LINENO"; then :
4679 rm -f core conftest.err conftest.
$ac_objext
4681 if ac_fn_c_try_compile
"$LINENO"; then :
4682 ac_cv_sys_largefile_CC
=' -n32'; break
4684 rm -f core conftest.err conftest.
$ac_objext
4688 rm -f conftest.
$ac_ext
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4692 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4693 if test "$ac_cv_sys_largefile_CC" != no
; then
4694 CC
=$CC$ac_cv_sys_largefile_CC
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4698 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4699 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4700 $as_echo_n "(cached) " >&6
4703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4705 #include <sys/types.h>
4706 /* Check that off_t can represent 2**63 - 1 correctly.
4707 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4708 since some C++ compilers masquerading as C compilers
4709 incorrectly reject 9223372036854775807. */
4710 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4711 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4712 && LARGE_OFF_T % 2147483647 == 1)
4722 if ac_fn_c_try_compile
"$LINENO"; then :
4723 ac_cv_sys_file_offset_bits
=no
; break
4725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4728 #define _FILE_OFFSET_BITS 64
4729 #include <sys/types.h>
4730 /* Check that off_t can represent 2**63 - 1 correctly.
4731 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4732 since some C++ compilers masquerading as C compilers
4733 incorrectly reject 9223372036854775807. */
4734 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4735 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4736 && LARGE_OFF_T % 2147483647 == 1)
4746 if ac_fn_c_try_compile
"$LINENO"; then :
4747 ac_cv_sys_file_offset_bits
=64; break
4749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4750 ac_cv_sys_file_offset_bits
=unknown
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4755 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4756 case $ac_cv_sys_file_offset_bits in #(
4759 cat >>confdefs.h
<<_ACEOF
4760 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4765 if test $ac_cv_sys_file_offset_bits = unknown
; then
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4767 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4768 if test "${ac_cv_sys_large_files+set}" = set; then :
4769 $as_echo_n "(cached) " >&6
4772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4774 #include <sys/types.h>
4775 /* Check that off_t can represent 2**63 - 1 correctly.
4776 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4777 since some C++ compilers masquerading as C compilers
4778 incorrectly reject 9223372036854775807. */
4779 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4780 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4781 && LARGE_OFF_T % 2147483647 == 1)
4791 if ac_fn_c_try_compile
"$LINENO"; then :
4792 ac_cv_sys_large_files
=no
; break
4794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4797 #define _LARGE_FILES 1
4798 #include <sys/types.h>
4799 /* Check that off_t can represent 2**63 - 1 correctly.
4800 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4801 since some C++ compilers masquerading as C compilers
4802 incorrectly reject 9223372036854775807. */
4803 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4804 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4805 && LARGE_OFF_T % 2147483647 == 1)
4815 if ac_fn_c_try_compile
"$LINENO"; then :
4816 ac_cv_sys_large_files
=1; break
4818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4819 ac_cv_sys_large_files
=unknown
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4824 $as_echo "$ac_cv_sys_large_files" >&6; }
4825 case $ac_cv_sys_large_files in #(
4828 cat >>confdefs.h
<<_ACEOF
4829 #define _LARGE_FILES $ac_cv_sys_large_files
4838 am__api_version
='1.11'
4840 # Find a good install program. We prefer a C program (faster),
4841 # so one script is as good as another. But avoid the broken or
4842 # incompatible versions:
4843 # SysV /etc/install, /usr/sbin/install
4844 # SunOS /usr/etc/install
4845 # IRIX /sbin/install
4847 # AmigaOS /C/install, which installs bootblocks on floppy discs
4848 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4849 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4850 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4851 # OS/2's system install, which has a completely different semantic
4852 # ./install, which can be erroneously created by make from ./install.sh.
4853 # Reject install programs that cannot install multiple files.
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4855 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4856 if test -z "$INSTALL"; then
4857 if test "${ac_cv_path_install+set}" = set; then :
4858 $as_echo_n "(cached) " >&6
4860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4864 test -z "$as_dir" && as_dir
=.
4865 # Account for people who put trailing slashes in PATH elements.
4866 case $as_dir/ in #((
4867 .
/ | .
// |
/[cC
]/* | \
4868 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4869 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4872 # OSF1 and SCO ODT 3.0 have their own names for install.
4873 # Don't use installbsd from OSF since it installs stuff as root
4875 for ac_prog
in ginstall scoinst
install; do
4876 for ac_exec_ext
in '' $ac_executable_extensions; do
4877 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4878 if test $ac_prog = install &&
4879 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4880 # AIX install. It has an incompatible calling convention.
4882 elif test $ac_prog = install &&
4883 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4884 # program-specific install script used by HP pwplus--don't use.
4887 rm -rf conftest.one conftest.two conftest.dir
4888 echo one
> conftest.one
4889 echo two
> conftest.two
4891 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4892 test -s conftest.one
&& test -s conftest.two
&&
4893 test -s conftest.dir
/conftest.one
&&
4894 test -s conftest.dir
/conftest.two
4896 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4909 rm -rf conftest.one conftest.two conftest.dir
4912 if test "${ac_cv_path_install+set}" = set; then
4913 INSTALL
=$ac_cv_path_install
4915 # As a last resort, use the slow shell script. Don't cache a
4916 # value for INSTALL within a source directory, because that will
4917 # break other packages using the cache if that directory is
4918 # removed, or if the value is a relative name.
4919 INSTALL
=$ac_install_sh
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4923 $as_echo "$INSTALL" >&6; }
4925 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4926 # It thinks the first close brace ends the variable substitution.
4927 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4929 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4931 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4934 $as_echo_n "checking whether build environment is sane... " >&6; }
4937 echo timestamp
> conftest.
file
4938 # Reject unsafe characters in $srcdir or the absolute working directory
4939 # name. Accept space and tab only in the latter.
4943 *[\\\"\
#\$\&\'\`$am_lf]*)
4944 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4947 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4948 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4951 # Do `set' in a subshell so we don't clobber the current shell's
4952 # arguments. Must try -L first in case configure is actually a
4953 # symlink; some systems play weird games with the mod time of symlinks
4954 # (eg FreeBSD returns the mod time of the symlink's containing
4957 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4958 if test "$*" = "X"; then
4960 set X
`ls -t "$srcdir/configure" conftest.file`
4963 if test "$*" != "X $srcdir/configure conftest.file" \
4964 && test "$*" != "X conftest.file $srcdir/configure"; then
4966 # If neither matched, then we have a broken ls. This can happen
4967 # if, for instance, CONFIG_SHELL is bash and it inherits a
4968 # broken ls alias from the environment. This has actually
4969 # happened. Such a system could not be considered "sane".
4970 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4971 alias in your environment" "$LINENO" 5
4974 test "$2" = conftest.
file
4980 as_fn_error $?
"newly created file is older than distributed files!
4981 Check your system clock" "$LINENO" 5
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4984 $as_echo "yes" >&6; }
4985 test "$program_prefix" != NONE
&&
4986 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4987 # Use a double $ so make ignores it.
4988 test "$program_suffix" != NONE
&&
4989 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4990 # Double any \ or $.
4991 # By default was `s,x,x', remove it if useless.
4992 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4993 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4995 if test x
"${MISSING+set}" != xset
; then
4998 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
5000 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
5003 # Use eval to expand $SHELL
5004 if eval "$MISSING --run true"; then
5005 am_missing_run
="$MISSING --run "
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
5009 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
5012 if test x
"${install_sh}" != xset
; then
5015 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
5017 install_sh
="\${SHELL} $am_aux_dir/install-sh"
5021 # Installed binaries are usually stripped using `strip' when the user
5022 # run `make install-strip'. However `strip' might not be the right
5023 # tool to use in cross-compilation environments, therefore Automake
5024 # will honor the `STRIP' environment variable to overrule this program.
5025 if test "$cross_compiling" != no
; then
5026 if test -n "$ac_tool_prefix"; then
5027 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5028 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if test "${ac_cv_prog_STRIP+set}" = set; then :
5032 $as_echo_n "(cached) " >&6
5034 if test -n "$STRIP"; then
5035 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir
=.
5042 for ac_exec_ext
in '' $ac_executable_extensions; do
5043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5044 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 STRIP
=$ac_cv_prog_STRIP
5055 if test -n "$STRIP"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5057 $as_echo "$STRIP" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5065 if test -z "$ac_cv_prog_STRIP"; then
5067 # Extract the first word of "strip", so it can be a program name with args.
5068 set dummy strip
; ac_word
=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5072 $as_echo_n "(cached) " >&6
5074 if test -n "$ac_ct_STRIP"; then
5075 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5081 test -z "$as_dir" && as_dir
=.
5082 for ac_exec_ext
in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_ac_ct_STRIP
="strip"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5095 if test -n "$ac_ct_STRIP"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5097 $as_echo "$ac_ct_STRIP" >&6; }
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5103 if test "x$ac_ct_STRIP" = x
; then
5106 case $cross_compiling:$ac_tool_warned in
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5110 ac_tool_warned
=yes ;;
5115 STRIP
="$ac_cv_prog_STRIP"
5119 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5122 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5123 if test -z "$MKDIR_P"; then
5124 if test "${ac_cv_path_mkdir+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5128 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5131 test -z "$as_dir" && as_dir
=.
5132 for ac_prog
in mkdir gmkdir
; do
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
5135 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5136 'mkdir (GNU coreutils) '* | \
5137 'mkdir (coreutils) '* | \
5138 'mkdir (fileutils) '4.1*)
5139 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5149 test -d .
/--version && rmdir .
/--version
5150 if test "${ac_cv_path_mkdir+set}" = set; then
5151 MKDIR_P
="$ac_cv_path_mkdir -p"
5153 # As a last resort, use the slow shell script. Don't cache a
5154 # value for MKDIR_P within a source directory, because that will
5155 # break other packages using the cache if that directory is
5156 # removed, or if the value is a relative name.
5157 MKDIR_P
="$ac_install_sh -d"
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5161 $as_echo "$MKDIR_P" >&6; }
5165 [\\/$
]* | ?
:[\\/]*) ;;
5166 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
5169 for ac_prog
in gawk mawk nawk
awk
5171 # Extract the first word of "$ac_prog", so it can be a program name with args.
5172 set dummy
$ac_prog; ac_word
=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if test "${ac_cv_prog_AWK+set}" = set; then :
5176 $as_echo_n "(cached) " >&6
5178 if test -n "$AWK"; then
5179 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir
=.
5186 for ac_exec_ext
in '' $ac_executable_extensions; do
5187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5188 ac_cv_prog_AWK
="$ac_prog"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 if test -n "$AWK"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5201 $as_echo "$AWK" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5208 test -n "$AWK" && break
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5212 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5214 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5215 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
5216 $as_echo_n "(cached) " >&6
5218 cat >conftest.
make <<\_ACEOF
5221 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5223 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5224 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5226 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5228 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5232 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5234 $as_echo "yes" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5239 SET_MAKE
="MAKE=${MAKE-make}"
5242 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5243 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5244 # is not polluted with repeated "-I."
5245 am__isrc
=' -I$(srcdir)'
5246 # test to see if srcdir already configured
5247 if test -f $srcdir/config.status
; then
5248 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5252 # test whether we have cygpath
5253 if test -z "$CYGPATH_W"; then
5254 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
5255 CYGPATH_W
='cygpath -w'
5262 # Define the identity of the package.
5267 cat >>confdefs.h
<<_ACEOF
5268 #define PACKAGE "$PACKAGE"
5272 cat >>confdefs.h
<<_ACEOF
5273 #define VERSION "$VERSION"
5276 # Some tools Automake needs.
5278 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5281 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
5284 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5287 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
5290 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
5292 # We need awk for the "check" target. The system "awk" is bad on
5294 # Always define AMTAR for backward compatibility.
5296 AMTAR
=${AMTAR-"${am_missing_run}tar"}
5298 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
5303 depcc
="$CC" am_compiler_list
=
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5306 $as_echo_n "checking dependency style of $depcc... " >&6; }
5307 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5308 $as_echo_n "(cached) " >&6
5310 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5311 # We make a subdir and do the tests there. Otherwise we can end up
5312 # making bogus files that we don't know about and never remove. For
5313 # instance it was reported that on HP-UX the gcc test will end up
5314 # making a dummy file named `D' -- because `-MD' means `put the output
5317 # Copy depcomp to subdir because otherwise we won't find it if we're
5318 # using a relative directory.
5319 cp "$am_depcomp" conftest.dir
5321 # We will build objects and dependencies in a subdirectory because
5322 # it helps to detect inapplicable dependency modes. For instance
5323 # both Tru64's cc and ICC support -MD to output dependencies as a
5324 # side effect of compilation, but ICC will put the dependencies in
5325 # the current directory while Tru64 will put them in the object
5329 am_cv_CC_dependencies_compiler_type
=none
5330 if test "$am_compiler_list" = ""; then
5331 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5334 case " $depcc " in #(
5335 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5338 for depmode
in $am_compiler_list; do
5339 # Setup a source with many dependencies, because some compilers
5340 # like to wrap large dependency lists on column 80 (with \), and
5341 # we should not choose a depcomp mode which is confused by this.
5343 # We need to recreate these files for each test, as the compiler may
5344 # overwrite some of them when testing with obscure command lines.
5345 # This happens at least with the AIX C compiler.
5347 for i
in 1 2 3 4 5 6; do
5348 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5349 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5350 # Solaris 8's {/usr,}/bin/sh.
5351 touch sub
/conftst
$i.h
5353 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5355 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5356 # mode. It turns out that the SunPro C++ compiler does not properly
5357 # handle `-M -o', and we need to detect this. Also, some Intel
5358 # versions had trouble with output in subdirs
5359 am__obj
=sub
/conftest.
${OBJEXT-o}
5360 am__minus_obj
="-o $am__obj"
5363 # This depmode causes a compiler race in universal mode.
5364 test "$am__universal" = false ||
continue
5367 # after this tag, mechanisms are not by side-effect, so they'll
5368 # only be used when explicitly requested
5369 if test "x$enable_dependency_tracking" = xyes
; then
5375 msvisualcpp | msvcmsys
)
5376 # This compiler won't grok `-c -o', but also, the minuso test has
5377 # not run yet. These depmodes are late enough in the game, and
5378 # so weak that their functioning should not be impacted.
5379 am__obj
=conftest.
${OBJEXT-o}
5384 if depmode
=$depmode \
5385 source=sub
/conftest.c object
=$am__obj \
5386 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5387 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5388 >/dev
/null
2>conftest.err
&&
5389 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5390 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5391 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5392 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5393 # icc doesn't choke on unknown options, it will just issue warnings
5394 # or remarks (even with -Werror). So we grep stderr for any message
5395 # that says an option was ignored or not supported.
5396 # When given -MP, icc 7.0 and 7.1 complain thusly:
5397 # icc: Command line warning: ignoring option '-M'; no argument required
5398 # The diagnosis changed in icc 8.0:
5399 # icc: Command line remark: option '-MP' not supported
5400 if (grep 'ignoring option' conftest.err ||
5401 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5402 am_cv_CC_dependencies_compiler_type
=$depmode
5411 am_cv_CC_dependencies_compiler_type
=none
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5416 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5417 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5420 test "x$enable_dependency_tracking" != xno \
5421 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5423 am__fastdepCC_FALSE
='#'
5425 am__fastdepCC_TRUE
='#'
5426 am__fastdepCC_FALSE
=
5431 # Check whether --enable-silent-rules was given.
5432 if test "${enable_silent_rules+set}" = set; then :
5433 enableval
=$enable_silent_rules;
5436 case $enable_silent_rules in
5437 yes) AM_DEFAULT_VERBOSITY
=0;;
5438 no
) AM_DEFAULT_VERBOSITY
=1;;
5439 *) AM_DEFAULT_VERBOSITY
=0;;
5443 ac_config_headers="$ac_config_headers config.h:config.hin"
5446 # Check whether --enable-static was given.
5447 if test "${enable_static+set}" = set; then :
5448 enableval=$enable_static; p=${PACKAGE-default}
5450 yes) enable_static=yes ;;
5451 no) enable_static=no ;;
5454 # Look at the argument we got. We use all the common list separators.
5455 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5456 for pkg in $enableval; do
5458 if test "X$pkg" = "X$p"; then
5477 # Check whether --enable-shared was given.
5478 if test "${enable_shared+set}" = set; then :
5479 enableval=$enable_shared; p=${PACKAGE-default}
5481 yes) enable_shared=yes ;;
5482 no) enable_shared=no ;;
5485 # Look at the argument we got. We use all the common list separators.
5486 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5487 for pkg in $enableval; do
5489 if test "X$pkg" = "X$p"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5511 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5516 macro_version='2.2.10'
5517 macro_revision='1.3175'
5531 ltmain="$ac_aux_dir/ltmain.sh"
5533 # Backslashify metacharacters that are still active within
5534 # double-quoted strings.
5535 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
5537 # Same as above, but do not quote variable references.
5538 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5540 # Sed substitution to delay expansion of an escaped shell variable in a
5541 # double_quote_subst'ed string.
5542 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5544 # Sed substitution to delay expansion of an escaped single quote.
5545 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5547 # Sed substitution to avoid accidental globbing in evaled expressions
5548 no_glob_subst='s/\*/\\\*/g'
5550 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5551 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5552 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5555 $as_echo_n "checking how to print strings... " >&6; }
5556 # Test print first, because it will be a builtin if present.
5557 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
5558 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
5560 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
5563 # Use this function as a fallback that always works.
5564 func_fallback_echo ()
5566 eval 'cat <<_LTECHO_EOF
5570 ECHO='func_fallback_echo'
5573 # func_echo_all arg...
5574 # Invoke $ECHO with all args, space-separated.
5581 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5582 $as_echo "printf" >&6; } ;;
5583 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5584 $as_echo "print -r" >&6; } ;;
5585 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5586 $as_echo "cat" >&6; } ;;
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5603 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5604 if test "${ac_cv_path_SED+set}" = set; then :
5605 $as_echo_n "(cached) " >&6
5607 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5608 for ac_i in 1 2 3 4 5 6 7; do
5609 ac_script="$ac_script$as_nl$ac_script"
5611 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5612 { ac_script=; unset ac_script;}
5613 if test -z "$SED"; then
5614 ac_path_SED_found=false
5615 # Loop through the user's path and test for each of PROGNAME-LIST
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5620 test -z "$as_dir" && as_dir=.
5621 for ac_prog in sed gsed; do
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5624 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5625 # Check for GNU ac_path_SED and select it if it is found.
5626 # Check for GNU $ac_path_SED
5627 case `"$ac_path_SED" --version 2>&1` in
5629 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5632 $as_echo_n 0123456789 >"conftest.in"
5635 cat "conftest.in" "conftest.in" >"conftest.tmp"
5636 mv "conftest.tmp" "conftest.in"
5637 cp "conftest.in" "conftest.nl"
5638 $as_echo '' >> "conftest.nl"
5639 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5640 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5641 as_fn_arith $ac_count + 1 && ac_count=$as_val
5642 if test $ac_count -gt ${ac_path_SED_max-0}; then
5643 # Best one so far, save it but keep looking for a better one
5644 ac_cv_path_SED="$ac_path_SED"
5645 ac_path_SED_max=$ac_count
5647 # 10*(2^10) chars as input seems more than enough
5648 test $ac_count -gt 10 && break
5650 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5653 $ac_path_SED_found && break 3
5658 if test -z "$ac_cv_path_SED"; then
5659 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5667 $as_echo "$ac_cv_path_SED" >&6; }
5668 SED="$ac_cv_path_SED"
5671 test -z "$SED" && SED=sed
5672 Xsed="$SED -e 1s/^X//"
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5685 $as_echo_n "checking for fgrep... " >&6; }
5686 if test "${ac_cv_path_FGREP+set}" = set; then :
5687 $as_echo_n "(cached) " >&6
5689 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5690 then ac_cv_path_FGREP="$GREP -F"
5692 if test -z "$FGREP"; then
5693 ac_path_FGREP_found=false
5694 # Loop through the user's path and test for each of PROGNAME-LIST
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5699 test -z "$as_dir" && as_dir=.
5700 for ac_prog in fgrep; do
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5703 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5704 # Check for GNU ac_path_FGREP and select it if it is found.
5705 # Check for GNU $ac_path_FGREP
5706 case `"$ac_path_FGREP" --version 2>&1` in
5708 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5711 $as_echo_n 0123456789 >"conftest.in"
5714 cat "conftest.in" "conftest.in" >"conftest.tmp"
5715 mv "conftest.tmp" "conftest.in"
5716 cp "conftest.in" "conftest.nl"
5717 $as_echo 'FGREP' >> "conftest.nl"
5718 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5719 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5720 as_fn_arith $ac_count + 1 && ac_count=$as_val
5721 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5722 # Best one so far, save it but keep looking for a better one
5723 ac_cv_path_FGREP="$ac_path_FGREP"
5724 ac_path_FGREP_max=$ac_count
5726 # 10*(2^10) chars as input seems more than enough
5727 test $ac_count -gt 10 && break
5729 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5732 $ac_path_FGREP_found && break 3
5737 if test -z "$ac_cv_path_FGREP"; then
5738 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5741 ac_cv_path_FGREP=$FGREP
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5747 $as_echo "$ac_cv_path_FGREP" >&6; }
5748 FGREP="$ac_cv_path_FGREP"
5751 test -z "$GREP" && GREP=grep
5771 # Check whether --with-gnu-ld was given.
5772 if test "${with_gnu_ld+set}" = set; then :
5773 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5779 if test "$GCC" = yes; then
5780 # Check if gcc -print-prog-name=ld gives a path.
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5782 $as_echo_n "checking for ld used by $CC... " >&6; }
5785 # gcc leaves a trailing carriage return which upsets mingw
5786 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5788 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5791 # Accept absolute paths.
5793 re_direlt='/[^/][^/]*/\.\./'
5794 # Canonicalize the pathname of ld
5795 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5796 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5797 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5799 test -z "$LD" && LD="$ac_prog"
5802 # If it fails, then pretend we aren't using GCC.
5806 # If it is relative, then search for the first ld in PATH.
5810 elif test "$with_gnu_ld" = yes; then
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5812 $as_echo_n "checking for GNU ld... " >&6; }
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5815 $as_echo_n "checking for non-GNU ld... " >&6; }
5817 if test "${lt_cv_path_LD+set}" = set; then :
5818 $as_echo_n "(cached) " >&6
5820 if test -z "$LD"; then
5821 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5822 for ac_dir in $PATH; do
5824 test -z "$ac_dir" && ac_dir=.
5825 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5826 lt_cv_path_LD="$ac_dir/$ac_prog"
5827 # Check to see if the program is GNU ld. I'd rather use --version,
5828 # but apparently some variants of GNU ld only accept -v.
5829 # Break only if it was the GNU/non-GNU ld that we prefer.
5830 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5831 *GNU* | *'with BFD'*)
5832 test "$with_gnu_ld" != no && break
5835 test "$with_gnu_ld" != yes && break
5842 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5847 if test -n "$LD"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5849 $as_echo "$LD" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5854 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5856 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5857 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5860 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5861 case `$LD -v 2>&1 </dev
/null
` in
5862 *GNU* | *'with BFD'*)
5863 lt_cv_prog_gnu_ld=yes
5866 lt_cv_prog_gnu_ld=no
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5871 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5872 with_gnu_ld=$lt_cv_prog_gnu_ld
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5883 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5884 if test "${lt_cv_path_NM+set}" = set; then :
5885 $as_echo_n "(cached) " >&6
5887 if test -n "$NM"; then
5888 # Let the user override the test.
5891 lt_nm_to_check="${ac_tool_prefix}nm"
5892 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5893 lt_nm_to_check="$lt_nm_to_check nm"
5895 for lt_tmp_nm in $lt_nm_to_check; do
5896 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5897 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5899 test -z "$ac_dir" && ac_dir=.
5900 tmp_nm="$ac_dir/$lt_tmp_nm"
5901 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5902 # Check to see if the nm accepts a BSD-compat flag.
5903 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5904 # nm: unknown option "B" ignored
5905 # Tru64's nm complains that
/dev
/null is an invalid object
file
5906 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5907 */dev
/null
* |
*'Invalid file or object type'*)
5908 lt_cv_path_NM
="$tmp_nm -B"
5912 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5914 lt_cv_path_NM
="$tmp_nm -p"
5918 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5919 continue # so that we can try to find one that supports BSD flags
5928 : ${lt_cv_path_NM=no}
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5932 $as_echo "$lt_cv_path_NM" >&6; }
5933 if test "$lt_cv_path_NM" != "no"; then
5936 # Didn't find any BSD compatible name lister, look for dumpbin.
5937 if test -n "$DUMPBIN"; then :
5938 # Let the user override the test.
5940 if test -n "$ac_tool_prefix"; then
5941 for ac_prog
in dumpbin
"link -dump"
5943 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5944 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5948 $as_echo_n "(cached) " >&6
5950 if test -n "$DUMPBIN"; then
5951 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5957 test -z "$as_dir" && as_dir
=.
5958 for ac_exec_ext
in '' $ac_executable_extensions; do
5959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5960 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5970 DUMPBIN
=$ac_cv_prog_DUMPBIN
5971 if test -n "$DUMPBIN"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5973 $as_echo "$DUMPBIN" >&6; }
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5980 test -n "$DUMPBIN" && break
5983 if test -z "$DUMPBIN"; then
5984 ac_ct_DUMPBIN
=$DUMPBIN
5985 for ac_prog
in dumpbin
"link -dump"
5987 # Extract the first word of "$ac_prog", so it can be a program name with args.
5988 set dummy
$ac_prog; ac_word
=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5992 $as_echo_n "(cached) " >&6
5994 if test -n "$ac_ct_DUMPBIN"; then
5995 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6001 test -z "$as_dir" && as_dir
=.
6002 for ac_exec_ext
in '' $ac_executable_extensions; do
6003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6004 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6015 if test -n "$ac_ct_DUMPBIN"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6017 $as_echo "$ac_ct_DUMPBIN" >&6; }
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6024 test -n "$ac_ct_DUMPBIN" && break
6027 if test "x$ac_ct_DUMPBIN" = x
; then
6030 case $cross_compiling:$ac_tool_warned in
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6034 ac_tool_warned
=yes ;;
6036 DUMPBIN
=$ac_ct_DUMPBIN
6040 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6042 DUMPBIN
="$DUMPBIN -symbols"
6050 if test "$DUMPBIN" != ":"; then
6054 test -z "$NM" && NM
=nm
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6062 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6063 if test "${lt_cv_nm_interface+set}" = set; then :
6064 $as_echo_n "(cached) " >&6
6066 lt_cv_nm_interface
="BSD nm"
6067 echo "int some_variable = 0;" > conftest.
$ac_ext
6068 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6069 (eval "$ac_compile" 2>conftest.err
)
6070 cat conftest.err
>&5
6071 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6072 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6073 cat conftest.err
>&5
6074 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6075 cat conftest.out
>&5
6076 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6077 lt_cv_nm_interface
="MS dumpbin"
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6082 $as_echo "$lt_cv_nm_interface" >&6; }
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6085 $as_echo_n "checking whether ln -s works... " >&6; }
6087 if test "$LN_S" = "ln -s"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6089 $as_echo "yes" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6092 $as_echo "no, using $LN_S" >&6; }
6095 # find the maximum length of command line arguments
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6097 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6098 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6099 $as_echo_n "(cached) " >&6
6106 # On DJGPP, this test can blow up pretty badly due to problems in libc
6107 # (any single argument exceeding 2000 bytes causes a buffer overrun
6108 # during glob expansion). Even if it were fixed, the result of this
6109 # check would be larger than it should be.
6110 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6114 # Under GNU Hurd, this test is not required because there is
6115 # no limit to the length of command line arguments.
6116 # Libtool will interpret -1 as no limit whatsoever
6117 lt_cv_sys_max_cmd_len
=-1;
6120 cygwin
* | mingw
* | cegcc
*)
6121 # On Win9x/ME, this test blows up -- it succeeds, but takes
6122 # about 5 minutes as the teststring grows exponentially.
6123 # Worse, since 9x/ME are not pre-emptively multitasking,
6124 # you end up with a "frozen" computer, even though with patience
6125 # the test eventually succeeds (with a max line length of 256k).
6126 # Instead, let's just punt: use the minimum linelength reported by
6127 # all of the supported platforms: 8192 (on NT/2K/XP).
6128 lt_cv_sys_max_cmd_len
=8192;
6132 # On MiNT this can take a long time and run out of memory.
6133 lt_cv_sys_max_cmd_len
=8192;
6137 # On AmigaOS with pdksh, this test takes hours, literally.
6138 # So we just punt and use a minimum line length of 8192.
6139 lt_cv_sys_max_cmd_len
=8192;
6142 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6143 # This has been around since 386BSD, at least. Likely further.
6144 if test -x /sbin
/sysctl
; then
6145 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6146 elif test -x /usr
/sbin
/sysctl
; then
6147 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6149 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6151 # And add a safety zone
6152 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6153 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6157 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6158 lt_cv_sys_max_cmd_len
=196608
6162 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6163 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6164 # nice to cause kernel panics so lets avoid the loop below.
6165 # First set a reasonable default.
6166 lt_cv_sys_max_cmd_len
=16384
6168 if test -x /sbin
/sysconfig
; then
6169 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6170 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6175 lt_cv_sys_max_cmd_len
=102400
6177 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6178 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6179 if test -n "$kargmax"; then
6180 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6182 lt_cv_sys_max_cmd_len
=32768
6186 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6187 if test -n "$lt_cv_sys_max_cmd_len"; then
6188 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6189 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6191 # Make teststring a little bigger before we do anything with it.
6192 # a 1K string should be a reasonable start.
6193 for i
in 1 2 3 4 5 6 7 8 ; do
6194 teststring
=$teststring$teststring
6196 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6197 # If test is not a shell built-in, we'll probably end up computing a
6198 # maximum length that is only half of the actual maximum length, but
6200 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6201 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6202 test $i != 17 # 1/2 MB should be enough
6205 teststring
=$teststring$teststring
6207 # Only check the string length outside the loop.
6208 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6210 # Add a significant safety factor because C++ compilers can tack on
6211 # massive amounts of additional arguments before passing them to the
6212 # linker. It appears as though 1/2 is a usable value.
6213 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6220 if test -n $lt_cv_sys_max_cmd_len ; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6222 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6225 $as_echo "none" >&6; }
6227 max_cmd_len
=$lt_cv_sys_max_cmd_len
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6239 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6240 # Try some XSI features
6243 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6245 && eval 'test $(( 1 + 1 )) -eq 2 \
6246 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6249 $as_echo "$xsi_shell" >&6; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6253 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6255 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6257 && lt_shell_append=yes
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6259 $as_echo "$lt_shell_append" >&6; }
6262 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6272 # test EBCDIC or ASCII
6273 case `echo X|tr X '\101'` in
6274 A) # ASCII based system
6275 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6276 lt_SP2NL='tr \040 \012'
6277 lt_NL2SP='tr \015\012 \040\040'
6279 *) # EBCDIC based system
6280 lt_SP2NL='tr \100 \n'
6281 lt_NL2SP='tr \r\n \100\100'
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6294 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6295 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6296 $as_echo_n "(cached
) " >&6
6298 lt_cv_ld_reload_flag='-r'
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6301 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6302 reload_flag=$lt_cv_ld_reload_flag
6303 case $reload_flag in
6305 *) reload_flag=" $reload_flag" ;;
6307 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6310 if test "$GCC" = yes; then
6311 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6313 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6326 if test -n "$ac_tool_prefix"; then
6327 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6328 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6330 $as_echo_n "checking
for $ac_word...
" >&6; }
6331 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6332 $as_echo_n "(cached
) " >&6
6334 if test -n "$OBJDUMP"; then
6335 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6354 OBJDUMP=$ac_cv_prog_OBJDUMP
6355 if test -n "$OBJDUMP"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6357 $as_echo "$OBJDUMP" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6360 $as_echo "no
" >&6; }
6365 if test -z "$ac_cv_prog_OBJDUMP"; then
6366 ac_ct_OBJDUMP=$OBJDUMP
6367 # Extract the first word of "objdump
", so it can be a program name with args.
6368 set dummy objdump; ac_word=$2
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6370 $as_echo_n "checking
for $ac_word...
" >&6; }
6371 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6372 $as_echo_n "(cached
) " >&6
6374 if test -n "$ac_ct_OBJDUMP"; then
6375 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6381 test -z "$as_dir" && as_dir=.
6382 for ac_exec_ext in '' $ac_executable_extensions; do
6383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6384 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6394 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6395 if test -n "$ac_ct_OBJDUMP"; then
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6397 $as_echo "$ac_ct_OBJDUMP" >&6; }
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6400 $as_echo "no
" >&6; }
6403 if test "x
$ac_ct_OBJDUMP" = x; then
6406 case $cross_compiling:$ac_tool_warned in
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6409 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6410 ac_tool_warned=yes ;;
6412 OBJDUMP=$ac_ct_OBJDUMP
6415 OBJDUMP="$ac_cv_prog_OBJDUMP"
6418 test -z "$OBJDUMP" && OBJDUMP=objdump
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6429 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6430 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6431 $as_echo_n "(cached
) " >&6
6433 lt_cv_file_magic_cmd='$MAGIC_CMD'
6434 lt_cv_file_magic_test_file=
6435 lt_cv_deplibs_check_method='unknown'
6436 # Need to set the preceding variable on all platforms that support
6437 # interlibrary dependencies.
6438 # 'none' -- dependencies not supported.
6439 # `unknown' -- same as none, but documents that we really don't know.
6440 # 'pass_all' -- all dependencies passed with no checks.
6441 # 'test_compile' -- check by making test program.
6442 # 'file_magic [[regex]]' -- check by looking for files in library path
6443 # which responds to the $file_magic_cmd with a given extended regex.
6444 # If you have `file' or equivalent on your system and you're not sure
6445 # whether `pass_all' will *always* work, you probably want this one.
6449 lt_cv_deplibs_check_method=pass_all
6453 lt_cv_deplibs_check_method=pass_all
6457 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6458 lt_cv_file_magic_cmd='/usr/bin/file -L'
6459 lt_cv_file_magic_test_file=/shlib/libc.so
6463 # func_win32_libid is a shell function defined in ltmain.sh
6464 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6465 lt_cv_file_magic_cmd='func_win32_libid'
6469 # Base MSYS/MinGW do not provide the 'file' command needed by
6470 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6471 # unless we find 'file', for example because we are cross-compiling.
6472 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6473 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6474 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6475 lt_cv_file_magic_cmd='func_win32_libid'
6477 # Keep this pattern in sync with the one in func_win32_libid.
6478 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6479 lt_cv_file_magic_cmd='$OBJDUMP -f'
6484 # use the weaker test based on 'objdump'. See mingw*.
6485 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6486 lt_cv_file_magic_cmd='$OBJDUMP -f'
6489 darwin* | rhapsody*)
6490 lt_cv_deplibs_check_method=pass_all
6493 freebsd* | dragonfly*)
6494 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6497 # Not sure whether the presence of OpenBSD here was a mistake.
6498 # Let's accept both of them until this is cleared up.
6499 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6500 lt_cv_file_magic_cmd=/usr/bin/file
6501 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6505 lt_cv_deplibs_check_method=pass_all
6510 lt_cv_deplibs_check_method=pass_all
6514 lt_cv_deplibs_check_method=pass_all
6517 hpux10.20* | hpux11*)
6518 lt_cv_file_magic_cmd=/usr/bin/file
6521 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6522 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6525 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]'
6526 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6529 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6530 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6536 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6537 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6540 irix5* | irix6* | nonstopux*)
6542 *-32|*"-32 ") libmagic=32-bit;;
6543 *-n32|*"-n32 ") libmagic=N32;;
6544 *-64|*"-64 ") libmagic=64-bit;;
6545 *) libmagic=never-match;;
6547 lt_cv_deplibs_check_method=pass_all
6550 # This must be Linux ELF.
6551 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6552 lt_cv_deplibs_check_method=pass_all
6556 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6557 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6559 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6564 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6565 lt_cv_file_magic_cmd=/usr/bin/file
6566 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6570 lt_cv_deplibs_check_method=pass_all
6574 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6575 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6577 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6581 osf3* | osf4* | osf5*)
6582 lt_cv_deplibs_check_method=pass_all
6586 lt_cv_deplibs_check_method=pass_all
6590 lt_cv_deplibs_check_method=pass_all
6593 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6594 lt_cv_deplibs_check_method=pass_all
6598 case $host_vendor in
6600 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]'
6601 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6604 lt_cv_deplibs_check_method=pass_all
6607 lt_cv_file_magic_cmd='/bin/file'
6608 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6611 lt_cv_file_magic_cmd='/bin/file'
6612 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6613 lt_cv_file_magic_test_file=/lib/libc.so
6616 lt_cv_deplibs_check_method=pass_all
6619 lt_cv_deplibs_check_method=pass_all
6625 lt_cv_deplibs_check_method=pass_all
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6631 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6632 file_magic_cmd=$lt_cv_file_magic_cmd
6633 deplibs_check_method=$lt_cv_deplibs_check_method
6634 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6647 if test -n "$ac_tool_prefix"; then
6648 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6649 set dummy ${ac_tool_prefix}ar; ac_word=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6651 $as_echo_n "checking
for $ac_word...
" >&6; }
6652 if test "${ac_cv_prog_AR+set}" = set; then :
6653 $as_echo_n "(cached
) " >&6
6655 if test -n "$AR"; then
6656 ac_cv_prog_AR="$AR" # Let the user override the test.
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665 ac_cv_prog_AR="${ac_tool_prefix}ar"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6676 if test -n "$AR"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6678 $as_echo "$AR" >&6; }
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6681 $as_echo "no
" >&6; }
6686 if test -z "$ac_cv_prog_AR"; then
6688 # Extract the first word of "ar", so it can be a program name with args.
6689 set dummy ar; ac_word=$2
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6691 $as_echo_n "checking
for $ac_word...
" >&6; }
6692 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6693 $as_echo_n "(cached
) " >&6
6695 if test -n "$ac_ct_AR"; then
6696 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 test -z "$as_dir" && as_dir=.
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6705 ac_cv_prog_ac_ct_AR="ar"
6706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6715 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6716 if test -n "$ac_ct_AR"; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6718 $as_echo "$ac_ct_AR" >&6; }
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6721 $as_echo "no
" >&6; }
6724 if test "x
$ac_ct_AR" = x; then
6727 case $cross_compiling:$ac_tool_warned in
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6730 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6731 ac_tool_warned=yes ;;
6739 test -z "$AR" && AR=ar
6740 test -z "$AR_FLAGS" && AR_FLAGS=cru
6752 if test -n "$ac_tool_prefix"; then
6753 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6754 set dummy ${ac_tool_prefix}strip; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6756 $as_echo_n "checking
for $ac_word...
" >&6; }
6757 if test "${ac_cv_prog_STRIP+set}" = set; then :
6758 $as_echo_n "(cached
) " >&6
6760 if test -n "$STRIP"; then
6761 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6770 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6780 STRIP=$ac_cv_prog_STRIP
6781 if test -n "$STRIP"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6783 $as_echo "$STRIP" >&6; }
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6786 $as_echo "no
" >&6; }
6791 if test -z "$ac_cv_prog_STRIP"; then
6793 # Extract the first word of "strip
", so it can be a program name with args.
6794 set dummy strip; ac_word=$2
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6796 $as_echo_n "checking
for $ac_word...
" >&6; }
6797 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6798 $as_echo_n "(cached
) " >&6
6800 if test -n "$ac_ct_STRIP"; then
6801 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6807 test -z "$as_dir" && as_dir=.
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6810 ac_cv_prog_ac_ct_STRIP="strip
"
6811 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6820 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6821 if test -n "$ac_ct_STRIP"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6823 $as_echo "$ac_ct_STRIP" >&6; }
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6826 $as_echo "no
" >&6; }
6829 if test "x
$ac_ct_STRIP" = x; then
6832 case $cross_compiling:$ac_tool_warned in
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6835 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6836 ac_tool_warned=yes ;;
6841 STRIP="$ac_cv_prog_STRIP"
6844 test -z "$STRIP" && STRIP=:
6851 if test -n "$ac_tool_prefix"; then
6852 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6853 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6855 $as_echo_n "checking
for $ac_word...
" >&6; }
6856 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6857 $as_echo_n "(cached
) " >&6
6859 if test -n "$RANLIB"; then
6860 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 test -z "$as_dir" && as_dir=.
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6879 RANLIB=$ac_cv_prog_RANLIB
6880 if test -n "$RANLIB"; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6882 $as_echo "$RANLIB" >&6; }
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6885 $as_echo "no
" >&6; }
6890 if test -z "$ac_cv_prog_RANLIB"; then
6891 ac_ct_RANLIB=$RANLIB
6892 # Extract the first word of "ranlib
", so it can be a program name with args.
6893 set dummy ranlib; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6895 $as_echo_n "checking
for $ac_word...
" >&6; }
6896 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6897 $as_echo_n "(cached
) " >&6
6899 if test -n "$ac_ct_RANLIB"; then
6900 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6919 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6920 if test -n "$ac_ct_RANLIB"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6922 $as_echo "$ac_ct_RANLIB" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6925 $as_echo "no
" >&6; }
6928 if test "x
$ac_ct_RANLIB" = x; then
6931 case $cross_compiling:$ac_tool_warned in
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6934 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6935 ac_tool_warned=yes ;;
6937 RANLIB=$ac_ct_RANLIB
6940 RANLIB="$ac_cv_prog_RANLIB"
6943 test -z "$RANLIB" && RANLIB=:
6950 # Determine commands to create old-style static archives.
6951 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6952 old_postinstall_cmds='chmod 644 $oldlib'
6953 old_postuninstall_cmds=
6955 if test -n "$RANLIB"; then
6958 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6961 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6964 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6969 lock_old_archive_extraction=yes ;;
6971 lock_old_archive_extraction=no ;;
7012 # If no C compiler was specified, use CC.
7015 # If no C compiler flags were specified, use CFLAGS.
7016 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7018 # Allow CC to be a program name with arguments.
7022 # Check for command to grab the raw symbol name followed by C symbol from nm.
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7024 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7025 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7026 $as_echo_n "(cached
) " >&6
7029 # These are sane defaults that work on at least a few old systems.
7030 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7032 # Character class describing NM global symbol codes.
7033 symcode='[BCDEGRST]'
7035 # Regexp to match symbols that can be accessed directly from C.
7036 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7038 # Define system-specific variables.
7043 cygwin* | mingw* | pw32* | cegcc*)
7044 symcode='[ABCDGISTW]'
7047 if test "$host_cpu" = ia64; then
7048 symcode='[ABCDEGRST]'
7052 symcode='[BCDEGRST]'
7055 symcode='[BCDEGQRST]'
7066 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7074 # If we're using GNU nm, then use its standard symbol codes.
7075 case `$NM -V 2>&1` in
7076 *GNU* | *'with BFD'*)
7077 symcode='[ABCDGIRSTW]' ;;
7080 # Transform an extracted symbol line into a proper C declaration.
7081 # Some systems (esp. on ia64) link data and code symbols differently,
7082 # so use this general approach.
7083 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7085 # Transform an extracted symbol line into symbol name and symbol address
7086 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7087 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7089 # Handle CRLF in mingw tool chain
7093 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7097 # Try without a prefix underscore, then with it.
7098 for ac_symprfx in "" "_
"; do
7100 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7101 symxfrm="\\1 $ac_symprfx\\2 \\2"
7103 # Write the raw and C identifiers.
7104 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7105 # Fake it for dumpbin and say T for any non-static function
7106 # and D for any global variable.
7107 # Also find C++ and __fastcall symbols from MSVC++,
7108 # which start with @ or ?.
7109 lt_cv_sys_global_symbol_pipe="$AWK '"\
7110 " {last_section=section; section=\$ 3};"\
7111 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7112 " \$ 0!~/External *\|/{next};"\
7113 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7114 " {if(hide[section]) next};"\
7115 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7116 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7117 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7118 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7119 " ' prfx
=^
$ac_symprfx"
7121 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7124 # Check to see that the pipe works correctly.
7128 cat > conftest.$ac_ext <<_LT_EOF
7133 void nm_test_func(void);
7134 void nm_test_func(void){}
7138 int main(){nm_test_var='a';nm_test_func();return(0);}
7141 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7142 (eval $ac_compile) 2>&5
7144 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7145 test $ac_status = 0; }; then
7146 # Now try to grab the symbols.
7148 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7149 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7151 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7152 test $ac_status = 0; } && test -s "$nlist"; then
7153 # Try sorting and uniquifying the output.
7154 if sort "$nlist" | uniq > "$nlist"T; then
7155 mv -f "$nlist"T "$nlist"
7160 # Make sure that we snagged all the symbols we need.
7161 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7162 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7163 cat <<_LT_EOF > conftest.$ac_ext
7169 # Now generate the symbol file.
7170 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7172 cat <<_LT_EOF >> conftest.$ac_ext
7174 /* The mapping between symbol names and symbols. */
7179 lt__PROGRAM__LTX_preloaded_symbols[] =
7181 { "@PROGRAM@
", (void *) 0 },
7183 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7184 cat <<\_LT_EOF >> conftest.$ac_ext
7188 /* This works around a problem in FreeBSD linker */
7189 #ifdef FREEBSD_WORKAROUND
7190 static const void *lt_preloaded_setup() {
7191 return lt__PROGRAM__LTX_preloaded_symbols;
7199 # Now try linking the two files.
7200 mv conftest.$ac_objext conftstm.$ac_objext
7201 lt_save_LIBS="$LIBS"
7202 lt_save_CFLAGS="$CFLAGS"
7203 LIBS="conftstm.
$ac_objext"
7204 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7205 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7206 (eval $ac_link) 2>&5
7208 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7209 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7212 LIBS="$lt_save_LIBS"
7213 CFLAGS="$lt_save_CFLAGS"
7215 echo "cannot
find nm_test_func
in $nlist" >&5
7218 echo "cannot
find nm_test_var
in $nlist" >&5
7221 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7224 echo "$progname: failed program was
:" >&5
7225 cat conftest.$ac_ext >&5
7227 rm -rf conftest* conftst*
7229 # Do not use the global_symbol_pipe unless it works.
7230 if test "$pipe_works" = yes; then
7233 lt_cv_sys_global_symbol_pipe=
7239 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7240 lt_cv_sys_global_symbol_to_cdecl=
7242 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7244 $as_echo "failed
" >&6; }
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7247 $as_echo "ok
" >&6; }
7271 # Check whether --enable-libtool-lock was given.
7272 if test "${enable_libtool_lock+set}" = set; then :
7273 enableval=$enable_libtool_lock;
7276 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7278 # Some flags need to be propagated to the compiler or linker for good
7282 # Find out which ABI we are using.
7283 echo 'int i;' > conftest.$ac_ext
7284 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7285 (eval $ac_compile) 2>&5
7287 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7288 test $ac_status = 0; }; then
7289 case `/usr/bin/file conftest.$ac_objext` in
7301 # Find out which ABI we are using.
7302 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7303 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7304 (eval $ac_compile) 2>&5
7306 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7307 test $ac_status = 0; }; then
7308 if test "$lt_cv_prog_gnu_ld" = yes; then
7309 case `/usr/bin/file conftest.$ac_objext` in
7311 LD="${LD-ld} -melf32bsmip"
7314 LD="${LD-ld} -melf32bmipn32"
7317 LD="${LD-ld} -melf64bmip"
7321 case `/usr/bin/file conftest.$ac_objext` in
7337 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7338 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7339 # Find out which ABI we are using.
7340 echo 'int i;' > conftest.$ac_ext
7341 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7342 (eval $ac_compile) 2>&5
7344 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7345 test $ac_status = 0; }; then
7346 case `/usr/bin/file conftest.o` in
7349 x86_64-*kfreebsd*-gnu)
7350 LD="${LD-ld} -m elf_i386_fbsd
"
7353 LD="${LD-ld} -m elf_i386
"
7355 ppc64-*linux*|powerpc64-*linux*)
7356 LD="${LD-ld} -m elf32ppclinux
"
7359 LD="${LD-ld} -m elf_s390
"
7362 LD="${LD-ld} -m elf32_sparc
"
7368 x86_64-*kfreebsd*-gnu)
7369 LD="${LD-ld} -m elf_x86_64_fbsd
"
7372 LD="${LD-ld} -m elf_x86_64
"
7374 ppc*-*linux*|powerpc*-*linux*)
7375 LD="${LD-ld} -m elf64ppc
"
7377 s390*-*linux*|s390*-*tpf*)
7378 LD="${LD-ld} -m elf64_s390
"
7381 LD="${LD-ld} -m elf64_sparc
"
7391 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7392 SAVE_CFLAGS="$CFLAGS"
7393 CFLAGS="$CFLAGS -belf"
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7395 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7396 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7397 $as_echo_n "(cached
) " >&6
7400 ac_cpp='$CPP $CPPFLAGS'
7401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7406 /* end confdefs.h. */
7416 if ac_fn_c_try_link "$LINENO"; then :
7417 lt_cv_cc_needs_belf=yes
7419 lt_cv_cc_needs_belf=no
7421 rm -f core conftest.err conftest.$ac_objext \
7422 conftest$ac_exeext conftest.$ac_ext
7424 ac_cpp='$CPP $CPPFLAGS'
7425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7431 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7432 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7433 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7434 CFLAGS="$SAVE_CFLAGS"
7438 # Find out which ABI we are using.
7439 echo 'int i;' > conftest.$ac_ext
7440 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7441 (eval $ac_compile) 2>&5
7443 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7444 test $ac_status = 0; }; then
7445 case `/usr/bin/file conftest.o` in
7447 case $lt_cv_prog_gnu_ld in
7448 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7450 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7462 need_locks="$enable_libtool_lock"
7466 rhapsody* | darwin*)
7467 if test -n "$ac_tool_prefix"; then
7468 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7469 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7471 $as_echo_n "checking
for $ac_word...
" >&6; }
7472 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7473 $as_echo_n "(cached
) " >&6
7475 if test -n "$DSYMUTIL"; then
7476 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7495 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7496 if test -n "$DSYMUTIL"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7498 $as_echo "$DSYMUTIL" >&6; }
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7501 $as_echo "no
" >&6; }
7506 if test -z "$ac_cv_prog_DSYMUTIL"; then
7507 ac_ct_DSYMUTIL=$DSYMUTIL
7508 # Extract the first word of "dsymutil
", so it can be a program name with args.
7509 set dummy dsymutil; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7511 $as_echo_n "checking
for $ac_word...
" >&6; }
7512 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7513 $as_echo_n "(cached
) " >&6
7515 if test -n "$ac_ct_DSYMUTIL"; then
7516 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522 test -z "$as_dir" && as_dir=.
7523 for ac_exec_ext in '' $ac_executable_extensions; do
7524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7535 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7536 if test -n "$ac_ct_DSYMUTIL"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7538 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7541 $as_echo "no
" >&6; }
7544 if test "x
$ac_ct_DSYMUTIL" = x; then
7547 case $cross_compiling:$ac_tool_warned in
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7550 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7551 ac_tool_warned=yes ;;
7553 DSYMUTIL=$ac_ct_DSYMUTIL
7556 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7559 if test -n "$ac_tool_prefix"; then
7560 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7561 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7563 $as_echo_n "checking
for $ac_word...
" >&6; }
7564 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7565 $as_echo_n "(cached
) " >&6
7567 if test -n "$NMEDIT"; then
7568 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7587 NMEDIT=$ac_cv_prog_NMEDIT
7588 if test -n "$NMEDIT"; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7590 $as_echo "$NMEDIT" >&6; }
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7593 $as_echo "no
" >&6; }
7598 if test -z "$ac_cv_prog_NMEDIT"; then
7599 ac_ct_NMEDIT=$NMEDIT
7600 # Extract the first word of "nmedit
", so it can be a program name with args.
7601 set dummy nmedit; ac_word=$2
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7603 $as_echo_n "checking
for $ac_word...
" >&6; }
7604 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7605 $as_echo_n "(cached
) " >&6
7607 if test -n "$ac_ct_NMEDIT"; then
7608 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7618 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7627 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7628 if test -n "$ac_ct_NMEDIT"; then
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7630 $as_echo "$ac_ct_NMEDIT" >&6; }
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7633 $as_echo "no
" >&6; }
7636 if test "x
$ac_ct_NMEDIT" = x; then
7639 case $cross_compiling:$ac_tool_warned in
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7642 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7643 ac_tool_warned=yes ;;
7645 NMEDIT=$ac_ct_NMEDIT
7648 NMEDIT="$ac_cv_prog_NMEDIT"
7651 if test -n "$ac_tool_prefix"; then
7652 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7653 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7655 $as_echo_n "checking
for $ac_word...
" >&6; }
7656 if test "${ac_cv_prog_LIPO+set}" = set; then :
7657 $as_echo_n "(cached
) " >&6
7659 if test -n "$LIPO"; then
7660 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7679 LIPO=$ac_cv_prog_LIPO
7680 if test -n "$LIPO"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7682 $as_echo "$LIPO" >&6; }
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7685 $as_echo "no
" >&6; }
7690 if test -z "$ac_cv_prog_LIPO"; then
7692 # Extract the first word of "lipo
", so it can be a program name with args.
7693 set dummy lipo; ac_word=$2
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7695 $as_echo_n "checking
for $ac_word...
" >&6; }
7696 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7697 $as_echo_n "(cached
) " >&6
7699 if test -n "$ac_ct_LIPO"; then
7700 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7706 test -z "$as_dir" && as_dir=.
7707 for ac_exec_ext in '' $ac_executable_extensions; do
7708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7709 ac_cv_prog_ac_ct_LIPO="lipo
"
7710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7719 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7720 if test -n "$ac_ct_LIPO"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7722 $as_echo "$ac_ct_LIPO" >&6; }
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7725 $as_echo "no
" >&6; }
7728 if test "x
$ac_ct_LIPO" = x; then
7731 case $cross_compiling:$ac_tool_warned in
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7734 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7735 ac_tool_warned=yes ;;
7740 LIPO="$ac_cv_prog_LIPO"
7743 if test -n "$ac_tool_prefix"; then
7744 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7745 set dummy ${ac_tool_prefix}otool; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7747 $as_echo_n "checking
for $ac_word...
" >&6; }
7748 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7749 $as_echo_n "(cached
) " >&6
7751 if test -n "$OTOOL"; then
7752 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7771 OTOOL=$ac_cv_prog_OTOOL
7772 if test -n "$OTOOL"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7774 $as_echo "$OTOOL" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7777 $as_echo "no
" >&6; }
7782 if test -z "$ac_cv_prog_OTOOL"; then
7784 # Extract the first word of "otool
", so it can be a program name with args.
7785 set dummy otool; ac_word=$2
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7787 $as_echo_n "checking
for $ac_word...
" >&6; }
7788 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7789 $as_echo_n "(cached
) " >&6
7791 if test -n "$ac_ct_OTOOL"; then
7792 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7798 test -z "$as_dir" && as_dir=.
7799 for ac_exec_ext in '' $ac_executable_extensions; do
7800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7801 ac_cv_prog_ac_ct_OTOOL="otool
"
7802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7811 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7812 if test -n "$ac_ct_OTOOL"; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7814 $as_echo "$ac_ct_OTOOL" >&6; }
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7817 $as_echo "no
" >&6; }
7820 if test "x
$ac_ct_OTOOL" = x; then
7823 case $cross_compiling:$ac_tool_warned in
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7826 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7827 ac_tool_warned=yes ;;
7832 OTOOL="$ac_cv_prog_OTOOL"
7835 if test -n "$ac_tool_prefix"; then
7836 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7837 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7839 $as_echo_n "checking
for $ac_word...
" >&6; }
7840 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7841 $as_echo_n "(cached
) " >&6
7843 if test -n "$OTOOL64"; then
7844 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7850 test -z "$as_dir" && as_dir=.
7851 for ac_exec_ext in '' $ac_executable_extensions; do
7852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7853 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7863 OTOOL64=$ac_cv_prog_OTOOL64
7864 if test -n "$OTOOL64"; then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7866 $as_echo "$OTOOL64" >&6; }
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7869 $as_echo "no
" >&6; }
7874 if test -z "$ac_cv_prog_OTOOL64"; then
7875 ac_ct_OTOOL64=$OTOOL64
7876 # Extract the first word of "otool64
", so it can be a program name with args.
7877 set dummy otool64; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7879 $as_echo_n "checking
for $ac_word...
" >&6; }
7880 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7881 $as_echo_n "(cached
) " >&6
7883 if test -n "$ac_ct_OTOOL64"; then
7884 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7893 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7903 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7904 if test -n "$ac_ct_OTOOL64"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7906 $as_echo "$ac_ct_OTOOL64" >&6; }
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7909 $as_echo "no
" >&6; }
7912 if test "x
$ac_ct_OTOOL64" = x; then
7915 case $cross_compiling:$ac_tool_warned in
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7918 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7919 ac_tool_warned=yes ;;
7921 OTOOL64=$ac_ct_OTOOL64
7924 OTOOL64="$ac_cv_prog_OTOOL64"
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7954 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7955 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7956 $as_echo_n "(cached
) " >&6
7958 lt_cv_apple_cc_single_mod=no
7959 if test -z "${LT_MULTI_MODULE}"; then
7960 # By default we will add the -single_module flag. You can override
7961 # by either setting the environment variable LT_MULTI_MODULE
7962 # non-empty at configure time, or by adding -multi_module to the
7964 rm -rf libconftest.dylib*
7965 echo "int foo
(void
){return 1;}" > conftest.c
7966 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7967 -dynamiclib -Wl,-single_module conftest.c
" >&5
7968 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7969 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7971 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7972 lt_cv_apple_cc_single_mod=yes
7974 cat conftest.err >&5
7976 rm -rf libconftest.dylib*
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7981 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7983 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7984 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7985 $as_echo_n "(cached
) " >&6
7987 lt_cv_ld_exported_symbols_list=no
7988 save_LDFLAGS=$LDFLAGS
7989 echo "_main
" > conftest.sym
7990 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7992 /* end confdefs.h. */
8002 if ac_fn_c_try_link "$LINENO"; then :
8003 lt_cv_ld_exported_symbols_list=yes
8005 lt_cv_ld_exported_symbols_list=no
8007 rm -f core conftest.err conftest.$ac_objext \
8008 conftest$ac_exeext conftest.$ac_ext
8009 LDFLAGS="$save_LDFLAGS"
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8013 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8015 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8016 if test "${lt_cv_ld_force_load+set}" = set; then :
8017 $as_echo_n "(cached
) " >&6
8019 lt_cv_ld_force_load=no
8020 cat > conftest.c << _LT_EOF
8021 int forced_loaded() { return 2;}
8023 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8024 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8025 echo "$AR cru libconftest.a conftest.o
" >&5
8026 $AR cru libconftest.a conftest.o 2>&5
8027 echo "$RANLIB libconftest.a
" >&5
8028 $RANLIB libconftest.a 2>&5
8029 cat > conftest.c << _LT_EOF
8030 int main() { return 0;}
8032 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8033 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8035 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8036 lt_cv_ld_force_load=yes
8038 cat conftest.err >&5
8040 rm -f conftest.err libconftest.a conftest conftest.c
8041 rm -rf conftest.dSYM
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8045 $as_echo "$lt_cv_ld_force_load" >&6; }
8047 rhapsody* | darwin1.[012])
8048 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8050 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8051 darwin*) # darwin 5.x on
8052 # if running on 10.5 or later, the deployment target defaults
8053 # to the OS version, if on x86, and 10.4, the deployment
8054 # target defaults to 10.4. Don't you love it?
8055 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8056 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8057 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8059 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8061 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8065 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8066 _lt_dar_single_mod='$single_module'
8068 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8069 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8071 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8073 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8074 _lt_dsymutil='~$DSYMUTIL $lib || :'
8081 for ac_header in dlfcn.h
8083 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8085 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8086 cat >>confdefs.h <<_ACEOF
8087 #define HAVE_DLFCN_H 1
8111 # Check whether --with-pic was given.
8112 if test "${with_pic+set}" = set; then :
8113 withval=$with_pic; pic_mode="$withval"
8119 test -z "$pic_mode" && pic_mode=default
8127 # Check whether --enable-fast-install was given.
8128 if test "${enable_fast_install+set}" = set; then :
8129 enableval=$enable_fast_install; p=${PACKAGE-default}
8131 yes) enable_fast_install=yes ;;
8132 no) enable_fast_install=no ;;
8134 enable_fast_install=no
8135 # Look at the argument we got. We use all the common list separators.
8136 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8137 for pkg in $enableval; do
8139 if test "X
$pkg" = "X
$p"; then
8140 enable_fast_install=yes
8147 enable_fast_install=yes
8160 # This can be used to rebuild libtool when needed
8161 LIBTOOL_DEPS="$ltmain"
8163 # Always use our own libtool.
8164 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8191 test -z "$LN_S" && LN_S="ln -s"
8206 if test -n "${ZSH_VERSION+set}" ; then
8207 setopt NO_GLOB_SUBST
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8211 $as_echo_n "checking
for objdir...
" >&6; }
8212 if test "${lt_cv_objdir+set}" = set; then :
8213 $as_echo_n "(cached
) " >&6
8215 rm -f .libs 2>/dev/null
8216 mkdir .libs 2>/dev/null
8217 if test -d .libs; then
8220 # MS-DOS does not allow filenames that begin with a dot.
8223 rmdir .libs 2>/dev/null
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8226 $as_echo "$lt_cv_objdir" >&6; }
8227 objdir=$lt_cv_objdir
8233 cat >>confdefs.h <<_ACEOF
8234 #define LT_OBJDIR "$lt_cv_objdir/"
8242 # AIX sometimes has problems with the GCC collect2 program. For some
8243 # reason, if we set the COLLECT_NAMES environment variable, the problems
8244 # vanish in a puff of smoke.
8245 if test "X
${COLLECT_NAMES+set}" != Xset; then
8247 export COLLECT_NAMES
8254 can_build_shared=yes
8256 # All known linkers require a `.a' archive for static linking (except MSVC,
8257 # which needs '.lib').
8260 with_gnu_ld="$lt_cv_prog_gnu_ld"
8263 old_CFLAGS="$CFLAGS"
8265 # Set sane defaults for various variables
8266 test -z "$CC" && CC=cc
8267 test -z "$LTCC" && LTCC=$CC
8268 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8269 test -z "$LD" && LD=ld
8270 test -z "$ac_objext" && ac_objext=o
8272 for cc_temp in $compiler""; do
8274 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8275 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8280 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8283 # Only perform the check for file, if the check method requires it
8284 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8285 case $deplibs_check_method in
8287 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8289 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8290 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8291 $as_echo_n "(cached
) " >&6
8295 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8298 lt_save_MAGIC_CMD="$MAGIC_CMD"
8299 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8300 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8301 for ac_dir in $ac_dummy; do
8303 test -z "$ac_dir" && ac_dir=.
8304 if test -f $ac_dir/${ac_tool_prefix}file; then
8305 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8306 if test -n "$file_magic_test_file"; then
8307 case $deplibs_check_method in
8309 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8310 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8311 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8312 $EGREP "$file_magic_regex" > /dev/null; then
8317 *** Warning: the command libtool uses to detect shared libraries,
8318 *** $file_magic_cmd, produces output that libtool cannot recognize.
8319 *** The result is that libtool may fail to recognize shared libraries
8320 *** as such. This will affect the creation of libtool libraries that
8321 *** depend on shared libraries, but programs linked with such libtool
8322 *** libraries will work regardless of this problem. Nevertheless, you
8323 *** may want to report the problem to your system manager and/or to
8324 *** bug-libtool@gnu.org
8334 MAGIC_CMD="$lt_save_MAGIC_CMD"
8339 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8340 if test -n "$MAGIC_CMD"; then
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8342 $as_echo "$MAGIC_CMD" >&6; }
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8345 $as_echo "no
" >&6; }
8352 if test -z "$lt_cv_path_MAGIC_CMD"; then
8353 if test -n "$ac_tool_prefix"; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8355 $as_echo_n "checking
for file...
" >&6; }
8356 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8357 $as_echo_n "(cached
) " >&6
8361 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8364 lt_save_MAGIC_CMD="$MAGIC_CMD"
8365 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8366 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8367 for ac_dir in $ac_dummy; do
8369 test -z "$ac_dir" && ac_dir=.
8370 if test -f $ac_dir/file; then
8371 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8372 if test -n "$file_magic_test_file"; then
8373 case $deplibs_check_method in
8375 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8376 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8377 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8378 $EGREP "$file_magic_regex" > /dev/null; then
8383 *** Warning: the command libtool uses to detect shared libraries,
8384 *** $file_magic_cmd, produces output that libtool cannot recognize.
8385 *** The result is that libtool may fail to recognize shared libraries
8386 *** as such. This will affect the creation of libtool libraries that
8387 *** depend on shared libraries, but programs linked with such libtool
8388 *** libraries will work regardless of this problem. Nevertheless, you
8389 *** may want to report the problem to your system manager and/or to
8390 *** bug-libtool@gnu.org
8400 MAGIC_CMD="$lt_save_MAGIC_CMD"
8405 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8406 if test -n "$MAGIC_CMD"; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8408 $as_echo "$MAGIC_CMD" >&6; }
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8411 $as_echo "no
" >&6; }
8424 # Use C for the default configuration in the libtool script
8428 ac_cpp='$CPP $CPPFLAGS'
8429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8434 # Source file extension for C test sources.
8437 # Object file extension for compiled C test sources.
8441 # Code to be used in simple compile tests
8442 lt_simple_compile_test_code="int some_variable
= 0;"
8444 # Code to be used in simple link tests
8445 lt_simple_link_test_code='int main(){return(0);}'
8453 # If no C compiler was specified, use CC.
8456 # If no C compiler flags were specified, use CFLAGS.
8457 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8459 # Allow CC to be a program name with arguments.
8462 # Save the default compiler, since it gets overwritten when the other
8463 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8464 compiler_DEFAULT=$CC
8466 # save warnings/boilerplate of simple test code
8467 ac_outfile=conftest.$ac_objext
8468 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8469 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8470 _lt_compiler_boilerplate=`cat conftest.err`
8473 ac_outfile=conftest.$ac_objext
8474 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8475 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8476 _lt_linker_boilerplate=`cat conftest.err`
8480 if test -n "$compiler"; then
8482 lt_prog_compiler_no_builtin_flag=
8484 if test "$GCC" = yes; then
8485 case $cc_basename in
8487 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8489 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8493 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8494 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8495 $as_echo_n "(cached
) " >&6
8497 lt_cv_prog_compiler_rtti_exceptions=no
8498 ac_outfile=conftest.$ac_objext
8499 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8500 lt_compiler_flag="-fno-rtti -fno-exceptions"
8501 # Insert the option either (1) after the last *FLAGS variable, or
8502 # (2) before a word containing "conftest.
", or (3) at the end.
8503 # Note that $ac_compile itself does not contain backslashes and begins
8504 # with a dollar sign (not a hyphen), so the echo should work correctly.
8505 # The option is referenced via a variable to avoid confusing sed.
8506 lt_compile=`echo "$ac_compile" | $SED \
8507 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8508 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8509 -e 's:$: $lt_compiler_flag:'`
8510 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8511 (eval "$lt_compile" 2>conftest.err)
8513 cat conftest.err >&5
8514 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8515 if (exit $ac_status) && test -s "$ac_outfile"; then
8516 # The compiler can only warn and ignore the option if not recognized
8517 # So say no if there are warnings other than the usual output.
8518 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8519 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8520 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8521 lt_cv_prog_compiler_rtti_exceptions=yes
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8528 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8530 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8531 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8543 lt_prog_compiler_wl=
8544 lt_prog_compiler_pic=
8545 lt_prog_compiler_static=
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8548 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8550 if test "$GCC" = yes; then
8551 lt_prog_compiler_wl='-Wl,'
8552 lt_prog_compiler_static='-static'
8556 # All AIX code is PIC.
8557 if test "$host_cpu" = ia64; then
8558 # AIX 5 now supports IA64 processor
8559 lt_prog_compiler_static='-Bstatic'
8566 # see comment about AmigaOS4 .so support
8567 lt_prog_compiler_pic='-fPIC'
8570 # FIXME: we need at least 68020 code to build shared libraries, but
8571 # adding the `-m68020' flag to GCC prevents building anything better,
8573 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8578 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8579 # PIC is the default for these OSes.
8582 mingw* | cygwin* | pw32* | os2* | cegcc*)
8583 # This hack is so that the source file can tell whether it is being
8584 # built for inclusion in a dll (and should export symbols for example).
8585 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8586 # (--disable-auto-import) libraries
8587 lt_prog_compiler_pic='-DDLL_EXPORT'
8590 darwin* | rhapsody*)
8591 # PIC is the default on this platform
8592 # Common symbols not allowed in MH_DYLIB files
8593 lt_prog_compiler_pic='-fno-common'
8597 # PIC is the default for Haiku.
8598 # The "-static" flag exists, but is broken.
8599 lt_prog_compiler_static=
8603 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8604 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8605 # sets the default TLS model and affects inlining.
8611 lt_prog_compiler_pic='-fPIC'
8617 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8618 # Instead, we relocate shared libraries at runtime.
8622 # Just because we use GCC doesn't mean we suddenly get shared libraries
8623 # on systems that don't support them.
8624 lt_prog_compiler_can_build_shared=no
8629 # QNX uses GNU C++, but need to define -shared option too, otherwise
8631 lt_prog_compiler_pic='-fPIC -shared'
8635 if test -d /usr/nec; then
8636 lt_prog_compiler_pic=-Kconform_pic
8641 lt_prog_compiler_pic='-fPIC'
8645 case $cc_basename in
8646 nvcc*) # Cuda Compiler Driver 2.2
8647 lt_prog_compiler_wl='-Xlinker '
8648 lt_prog_compiler_pic='-Xcompiler -fPIC'
8652 # PORTME Check for flag to pass linker flags through the system compiler.
8655 lt_prog_compiler_wl='-Wl,'
8656 if test "$host_cpu" = ia64; then
8657 # AIX 5 now supports IA64 processor
8658 lt_prog_compiler_static='-Bstatic'
8660 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8664 mingw* | cygwin* | pw32* | os2* | cegcc*)
8665 # This hack is so that the source file can tell whether it is being
8666 # built for inclusion in a dll (and should export symbols for example).
8667 lt_prog_compiler_pic='-DDLL_EXPORT'
8670 hpux9* | hpux10* | hpux11*)
8671 lt_prog_compiler_wl='-Wl,'
8672 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8679 lt_prog_compiler_pic='+Z'
8682 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8683 lt_prog_compiler_static='${wl}-a ${wl}archive'
8686 irix5* | irix6* | nonstopux*)
8687 lt_prog_compiler_wl='-Wl,'
8688 # PIC (with -KPIC) is the default.
8689 lt_prog_compiler_static='-non_shared'
8692 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8693 case $cc_basename in
8694 # old Intel for x86_64 which still supported -KPIC.
8696 lt_prog_compiler_wl='-Wl,'
8697 lt_prog_compiler_pic='-KPIC'
8698 lt_prog_compiler_static='-static'
8700 # icc used to be incompatible with GCC.
8701 # ICC 10 doesn't accept -KPIC any more.
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='-fPIC'
8705 lt_prog_compiler_static='-static'
8707 # Lahey Fortran 8.1.
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='--shared'
8711 lt_prog_compiler_static='--static'
8713 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8714 # Portland Group compilers (*not* the Pentium gcc compiler,
8715 # which looks to be a dead project)
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_pic='-fpic'
8718 lt_prog_compiler_static='-Bstatic'
8721 lt_prog_compiler_wl='-Wl,'
8722 # All Alpha code is PIC.
8723 lt_prog_compiler_static='-non_shared'
8725 xl* | bgxl* | bgf* | mpixl*)
8726 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-qpic'
8729 lt_prog_compiler_static='-qstaticlink'
8732 case `$CC -V 2>&1 | sed 5q` in
8733 *Sun\ F* | *Sun*Fortran*)
8734 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8735 lt_prog_compiler_pic='-KPIC'
8736 lt_prog_compiler_static='-Bstatic'
8737 lt_prog_compiler_wl=''
8741 lt_prog_compiler_pic='-KPIC'
8742 lt_prog_compiler_static='-Bstatic'
8743 lt_prog_compiler_wl='-Wl,'
8751 lt_prog_compiler_pic='-KPIC'
8752 lt_prog_compiler_static='-Bstatic'
8756 # QNX uses GNU C++, but need to define -shared option too, otherwise
8758 lt_prog_compiler_pic='-fPIC -shared'
8761 osf3* | osf4* | osf5*)
8762 lt_prog_compiler_wl='-Wl,'
8763 # All OSF/1 code is PIC.
8764 lt_prog_compiler_static='-non_shared'
8768 lt_prog_compiler_static='-non_shared'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8774 case $cc_basename in
8775 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8776 lt_prog_compiler_wl='-Qoption ld ';;
8778 lt_prog_compiler_wl='-Wl,';;
8783 lt_prog_compiler_wl='-Qoption ld '
8784 lt_prog_compiler_pic='-PIC'
8785 lt_prog_compiler_static='-Bstatic'
8788 sysv4 | sysv4.2uw2* | sysv4.3*)
8789 lt_prog_compiler_wl='-Wl,'
8790 lt_prog_compiler_pic='-KPIC'
8791 lt_prog_compiler_static='-Bstatic'
8795 if test -d /usr/nec ;then
8796 lt_prog_compiler_pic='-Kconform_pic'
8797 lt_prog_compiler_static='-Bstatic'
8801 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8802 lt_prog_compiler_wl='-Wl,'
8803 lt_prog_compiler_pic='-KPIC'
8804 lt_prog_compiler_static='-Bstatic'
8808 lt_prog_compiler_wl='-Wl,'
8809 lt_prog_compiler_can_build_shared=no
8813 lt_prog_compiler_pic='-pic'
8814 lt_prog_compiler_static='-Bstatic'
8818 lt_prog_compiler_can_build_shared=no
8824 # For platforms which do not support PIC, -DPIC is meaningless:
8826 lt_prog_compiler_pic=
8829 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8833 $as_echo "$lt_prog_compiler_pic" >&6; }
8841 # Check to make sure the PIC flag actually works.
8843 if test -n "$lt_prog_compiler_pic"; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8845 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8846 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8847 $as_echo_n "(cached
) " >&6
8849 lt_cv_prog_compiler_pic_works=no
8850 ac_outfile=conftest.$ac_objext
8851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8852 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8853 # Insert the option either (1) after the last *FLAGS variable, or
8854 # (2) before a word containing "conftest.
", or (3) at the end.
8855 # Note that $ac_compile itself does not contain backslashes and begins
8856 # with a dollar sign (not a hyphen), so the echo should work correctly.
8857 # The option is referenced via a variable to avoid confusing sed.
8858 lt_compile=`echo "$ac_compile" | $SED \
8859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8861 -e 's:$: $lt_compiler_flag:'`
8862 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8863 (eval "$lt_compile" 2>conftest.err)
8865 cat conftest.err >&5
8866 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8867 if (exit $ac_status) && test -s "$ac_outfile"; then
8868 # The compiler can only warn and ignore the option if not recognized
8869 # So say no if there are warnings other than the usual output.
8870 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8872 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8873 lt_cv_prog_compiler_pic_works=yes
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8880 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8882 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8883 case $lt_prog_compiler_pic in
8885 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8888 lt_prog_compiler_pic=
8889 lt_prog_compiler_can_build_shared=no
8900 # Check to make sure the static flag actually works.
8902 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8904 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8905 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8906 $as_echo_n "(cached
) " >&6
8908 lt_cv_prog_compiler_static_works=no
8909 save_LDFLAGS="$LDFLAGS"
8910 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8911 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8912 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8913 # The linker can only warn and ignore the option if not recognized
8914 # So say no if there are warnings
8915 if test -s conftest.err; then
8916 # Append any errors to the config.log.
8917 cat conftest.err 1>&5
8918 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8919 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8920 if diff conftest.exp conftest.er2 >/dev/null; then
8921 lt_cv_prog_compiler_static_works=yes
8924 lt_cv_prog_compiler_static_works=yes
8928 LDFLAGS="$save_LDFLAGS"
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8932 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8934 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8937 lt_prog_compiler_static=
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8947 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8948 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8949 $as_echo_n "(cached
) " >&6
8951 lt_cv_prog_compiler_c_o=no
8952 $RM -r conftest 2>/dev/null
8956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8958 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8959 # Insert the option either (1) after the last *FLAGS variable, or
8960 # (2) before a word containing "conftest.
", or (3) at the end.
8961 # Note that $ac_compile itself does not contain backslashes and begins
8962 # with a dollar sign (not a hyphen), so the echo should work correctly.
8963 lt_compile=`echo "$ac_compile" | $SED \
8964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8966 -e 's:$: $lt_compiler_flag:'`
8967 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8968 (eval "$lt_compile" 2>out/conftest.err)
8970 cat out/conftest.err >&5
8971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8972 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8974 # The compiler can only warn and ignore the option if not recognized
8975 # So say no if there are warnings
8976 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8977 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8978 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8979 lt_cv_prog_compiler_c_o=yes
8984 # SGI C++ compiler will create directory out/ii_files/ for
8985 # template instantiation
8986 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8987 $RM out/* && rmdir out
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8994 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9002 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9003 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9004 $as_echo_n "(cached
) " >&6
9006 lt_cv_prog_compiler_c_o=no
9007 $RM -r conftest 2>/dev/null
9011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9013 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9014 # Insert the option either (1) after the last *FLAGS variable, or
9015 # (2) before a word containing "conftest.
", or (3) at the end.
9016 # Note that $ac_compile itself does not contain backslashes and begins
9017 # with a dollar sign (not a hyphen), so the echo should work correctly.
9018 lt_compile=`echo "$ac_compile" | $SED \
9019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021 -e 's:$: $lt_compiler_flag:'`
9022 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9023 (eval "$lt_compile" 2>out/conftest.err)
9025 cat out/conftest.err >&5
9026 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9027 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9029 # The compiler can only warn and ignore the option if not recognized
9030 # So say no if there are warnings
9031 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9032 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9033 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9034 lt_cv_prog_compiler_c_o=yes
9039 # SGI C++ compiler will create directory out/ii_files/ for
9040 # template instantiation
9041 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9042 $RM out/* && rmdir out
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9049 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9054 hard_links="nottested
"
9055 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9056 # do not overwrite the value of need_locks provided by the user
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9058 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9061 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9063 ln conftest.a conftest.b 2>&5 || hard_links=no
9064 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9066 $as_echo "$hard_links" >&6; }
9067 if test "$hard_links" = no; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9069 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9082 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9085 allow_undefined_flag=
9086 always_export_symbols=no
9088 archive_expsym_cmds=
9089 compiler_needs_object=no
9090 enable_shared_with_static_runtimes=no
9091 export_dynamic_flag_spec=
9092 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9093 hardcode_automatic=no
9095 hardcode_direct_absolute=no
9096 hardcode_libdir_flag_spec=
9097 hardcode_libdir_flag_spec_ld=
9098 hardcode_libdir_separator=
9100 hardcode_shlibpath_var=unsupported
9102 link_all_deplibs=unknown
9105 old_archive_from_new_cmds=
9106 old_archive_from_expsyms_cmds=
9107 thread_safe_flag_spec=
9108 whole_archive_flag_spec=
9109 # include_expsyms should be a list of space-separated symbols to be *always*
9110 # included in the symbol list
9112 # exclude_expsyms can be an extended regexp of symbols to exclude
9113 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9114 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9115 # as well as any symbol that contains `d'.
9116 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9117 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9118 # platforms (ab)use it in PIC code, but their linkers get confused if
9119 # the symbol is explicitly referenced. Since portable code cannot
9120 # rely on this symbol name, it's probably fine to never include it in
9121 # preloaded symbol tables.
9122 # Exclude shared library initialization/finalization symbols.
9123 extract_expsyms_cmds=
9126 cygwin* | mingw* | pw32* | cegcc*)
9127 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9128 # When not using gcc, we currently assume that we are using
9129 # Microsoft Visual C++.
9130 if test "$GCC" != yes; then
9135 # we just hope/assume this is gcc and not c89 (= MSVC++)
9145 # On some targets, GNU ld is compatible enough with the native linker
9146 # that we're better off using the native interface for both.
9147 lt_use_gnu_ld_interface=no
9148 if test "$with_gnu_ld" = yes; then
9151 # The AIX port of GNU ld has always aspired to compatibility
9152 # with the native linker. However, as the warning in the GNU ld
9153 # block says, versions before 2.19.5* couldn't really create working
9154 # shared libraries, regardless of the interface used.
9155 case `$LD -v 2>&1` in
9156 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9157 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9158 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9160 lt_use_gnu_ld_interface=yes
9165 lt_use_gnu_ld_interface=yes
9170 if test "$lt_use_gnu_ld_interface" = yes; then
9171 # If archive_cmds runs LD, not CC, wlarc should be empty
9174 # Set some defaults for GNU ld with shared library support. These
9175 # are reset later if shared libraries are not supported. Putting them
9176 # here allows them to be overridden if necessary.
9177 runpath_var=LD_RUN_PATH
9178 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9179 export_dynamic_flag_spec='${wl}--export-dynamic'
9180 # ancient GNU ld didn't support --whole-archive et. al.
9181 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9182 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9184 whole_archive_flag_spec=
9186 supports_anon_versioning=no
9187 case `$LD -v 2>&1` in
9188 *GNU\ gold*) supports_anon_versioning=yes ;;
9189 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9190 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9191 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9192 *\ 2.11.*) ;; # other 2.11 versions
9193 *) supports_anon_versioning=yes ;;
9196 # See if GNU ld supports shared libraries.
9199 # On AIX/PPC, the GNU linker is very broken
9200 if test "$host_cpu" != ia64; then
9204 *** Warning: the GNU linker, at least up to release 2.19, is reported
9205 *** to be unable to reliably create shared libraries on AIX.
9206 *** Therefore, libtool is disabling shared libraries support. If you
9207 *** really care for shared libraries, you may want to install binutils
9208 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9209 *** You will then need to restart the configuration process.
9218 # see comment about AmigaOS4 .so support
9219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220 archive_expsym_cmds=''
9223 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)'
9224 hardcode_libdir_flag_spec
='-L$libdir'
9225 hardcode_minus_L
=yes
9231 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9232 allow_undefined_flag
=unsupported
9233 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9234 # support --undefined. This deserves some investigation. FIXME
9235 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9241 cygwin
* | mingw
* | pw32
* | cegcc
*)
9242 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9243 # as there is no search path for DLLs.
9244 hardcode_libdir_flag_spec
='-L$libdir'
9245 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9246 allow_undefined_flag
=unsupported
9247 always_export_symbols
=no
9248 enable_shared_with_static_runtimes
=yes
9249 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9251 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9252 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9253 # If the export-symbols file already is a .def file (1st line
9254 # is EXPORTS), use it as is; otherwise, prepend...
9255 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9256 cp $export_symbols $output_objdir/$soname.def;
9258 echo EXPORTS > $output_objdir/$soname.def;
9259 cat $export_symbols >> $output_objdir/$soname.def;
9261 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9268 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9269 link_all_deplibs
=yes
9274 hardcode_shlibpath_var
=no
9275 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9276 export_dynamic_flag_spec
='${wl}-E'
9277 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9278 # Instead, shared libraries are loaded at an image base (0x10000000 by
9279 # default) and relocated if they conflict, which is a slow very memory
9280 # consuming and fragmenting process. To avoid this, we pick a random,
9281 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9282 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9283 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9284 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'
9287 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9289 if test "$host_os" = linux-dietlibc
; then
9290 case $cc_basename in
9291 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9294 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9295 && test "$tmp_diet" = no
9298 tmp_sharedflag
='-shared'
9299 case $cc_basename,$host_cpu in
9300 pgcc
*) # Portland Group C compiler
9301 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'
9302 tmp_addflag
=' $pic_flag'
9304 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9305 # Portland Group f77 and f90 compilers
9306 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'
9307 tmp_addflag
=' $pic_flag -Mnomain' ;;
9308 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9309 tmp_addflag
=' -i_dynamic' ;;
9310 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9311 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9312 ifc
* | ifort
*) # Intel Fortran compiler
9313 tmp_addflag
=' -nofor_main' ;;
9314 lf95
*) # Lahey Fortran 8.1
9315 whole_archive_flag_spec
=
9316 tmp_sharedflag
='--shared' ;;
9317 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9318 tmp_sharedflag
='-qmkshrobj'
9320 nvcc
*) # Cuda Compiler Driver 2.2
9321 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'
9322 compiler_needs_object
=yes
9325 case `$CC -V 2>&1 | sed 5q` in
9326 *Sun\ C
*) # Sun C 5.9
9327 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'
9328 compiler_needs_object
=yes
9329 tmp_sharedflag
='-G' ;;
9330 *Sun\ F
*) # Sun Fortran 8.3
9331 tmp_sharedflag
='-G' ;;
9333 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9335 if test "x$supports_anon_versioning" = xyes
; then
9336 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9337 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9338 echo "local: *; };" >> $output_objdir/$libname.ver~
9339 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9342 case $cc_basename in
9343 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9344 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9345 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9346 hardcode_libdir_flag_spec
=
9347 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9348 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9349 if test "x$supports_anon_versioning" = xyes
; then
9350 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9351 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9352 echo "local: *; };" >> $output_objdir/$libname.ver~
9353 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9363 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9364 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9367 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9368 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9373 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9377 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9378 *** create shared libraries on Solaris systems. Therefore, libtool
9379 *** is disabling shared libraries support. We urge you to upgrade GNU
9380 *** binutils to release 2.9.1 or newer. Another option is to modify
9381 *** your PATH or compiler configuration so that the native linker is
9382 *** used, and then restart.
9385 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9386 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9387 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9393 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9394 case `$LD -v 2>&1` in
9395 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9399 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9400 *** reliably create shared libraries on SCO systems. Therefore, libtool
9401 *** is disabling shared libraries support. We urge you to upgrade GNU
9402 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9403 *** your PATH or compiler configuration so that the native linker is
9404 *** used, and then restart.
9409 # For security reasons, it is highly recommended that you always
9410 # use absolute paths for naming shared libraries, and exclude the
9411 # DT_RUNPATH tag from executables and libraries. But doing so
9412 # requires that you compile everything twice, which is a pain.
9413 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9414 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9415 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9425 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9428 hardcode_shlibpath_var
=no
9432 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9433 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9441 if test "$ld_shlibs" = no
; then
9443 hardcode_libdir_flag_spec
=
9444 export_dynamic_flag_spec
=
9445 whole_archive_flag_spec
=
9448 # PORTME fill in a description of your system's linker (not GNU ld)
9451 allow_undefined_flag
=unsupported
9452 always_export_symbols
=yes
9453 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'
9454 # Note: this linker hardcodes the directories in LIBPATH if there
9455 # are no directories specified by -L.
9456 hardcode_minus_L
=yes
9457 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9458 # Neither direct hardcoding nor static linking is supported with a
9460 hardcode_direct
=unsupported
9465 if test "$host_cpu" = ia64
; then
9466 # On IA64, the linker does run time linking by default, so we don't
9467 # have to do anything special.
9468 aix_use_runtimelinking
=no
9469 exp_sym_flag
='-Bexport'
9472 # If we're using GNU nm, then we don't want the "-C" option.
9473 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9474 # Also, AIX nm treats weak defined symbols like other global
9475 # defined symbols, whereas GNU nm marks them as "W".
9476 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9477 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'
9479 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'
9481 aix_use_runtimelinking
=no
9483 # Test if we are trying to use run time linking or normal
9484 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9485 # need to do runtime linking.
9486 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9487 for ld_flag
in $LDFLAGS; do
9488 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9489 aix_use_runtimelinking
=yes
9496 exp_sym_flag
='-bexport'
9497 no_entry_flag
='-bnoentry'
9500 # When large executables or shared objects are built, AIX ld can
9501 # have problems creating the table of contents. If linking a library
9502 # or program results in "error TOC overflow" add -mminimal-toc to
9503 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9504 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9508 hardcode_direct_absolute
=yes
9509 hardcode_libdir_separator
=':'
9510 link_all_deplibs
=yes
9511 file_list_spec
='${wl}-f,'
9513 if test "$GCC" = yes; then
9514 case $host_os in aix4.
[012]|aix4.
[012].
*)
9515 # We only want to do this on AIX 4.2 and lower, the check
9516 # below for broken collect2 doesn't work under 4.3+
9517 collect2name
=`${CC} -print-prog-name=collect2`
9518 if test -f "$collect2name" &&
9519 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9521 # We have reworked collect2
9524 # We have old collect2
9525 hardcode_direct
=unsupported
9526 # It fails to find uninstalled libraries when the uninstalled
9527 # path is not listed in the libpath. Setting hardcode_minus_L
9528 # to unsupported forces relinking
9529 hardcode_minus_L
=yes
9530 hardcode_libdir_flag_spec
='-L$libdir'
9531 hardcode_libdir_separator
=
9535 shared_flag
='-shared'
9536 if test "$aix_use_runtimelinking" = yes; then
9537 shared_flag
="$shared_flag "'${wl}-G'
9541 if test "$host_cpu" = ia64
; then
9542 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9543 # chokes on -Wl,-G. The following line is correct:
9546 if test "$aix_use_runtimelinking" = yes; then
9547 shared_flag
='${wl}-G'
9549 shared_flag
='${wl}-bM:SRE'
9554 export_dynamic_flag_spec
='${wl}-bexpall'
9555 # It seems that -bexpall does not export symbols beginning with
9556 # underscore (_), so it is better to generate a list of symbols to export.
9557 always_export_symbols
=yes
9558 if test "$aix_use_runtimelinking" = yes; then
9559 # Warning - without using the other runtime loading flags (-brtl),
9560 # -berok will link without error, but may produce a broken library.
9561 allow_undefined_flag
='-berok'
9562 # Determine the default libpath from the value encoded in an
9564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9575 if ac_fn_c_try_link
"$LINENO"; then :
9577 lt_aix_libpath_sed
='
9578 /Import File Strings/,/^$/ {
9584 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9585 # Check for a 64-bit object if we didn't find anything.
9586 if test -z "$aix_libpath"; then
9587 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9590 rm -f core conftest.err conftest.
$ac_objext \
9591 conftest
$ac_exeext conftest.
$ac_ext
9592 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9594 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9595 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9597 if test "$host_cpu" = ia64
; then
9598 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9599 allow_undefined_flag
="-z nodefs"
9600 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"
9602 # Determine the default libpath from the value encoded in an
9604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9605 /* end confdefs.h. */
9615 if ac_fn_c_try_link
"$LINENO"; then :
9617 lt_aix_libpath_sed
='
9618 /Import File Strings/,/^$/ {
9624 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9625 # Check for a 64-bit object if we didn't find anything.
9626 if test -z "$aix_libpath"; then
9627 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9630 rm -f core conftest.err conftest.
$ac_objext \
9631 conftest
$ac_exeext conftest.
$ac_ext
9632 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9634 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9635 # Warning - without using the other run time loading flags,
9636 # -berok will link without error, but may produce a broken library.
9637 no_undefined_flag
=' ${wl}-bernotok'
9638 allow_undefined_flag
=' ${wl}-berok'
9639 if test "$with_gnu_ld" = yes; then
9640 # We only use this code for GNU lds that support --whole-archive.
9641 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9643 # Exported symbols can be pulled into shared objects from archives
9644 whole_archive_flag_spec
='$convenience'
9646 archive_cmds_need_lc
=yes
9647 # This is similar to how AIX traditionally builds its shared libraries.
9648 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'
9656 # see comment about AmigaOS4 .so support
9657 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9658 archive_expsym_cmds
=''
9661 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)'
9662 hardcode_libdir_flag_spec
='-L$libdir'
9663 hardcode_minus_L
=yes
9669 export_dynamic_flag_spec
=-rdynamic
9672 cygwin
* | mingw
* | pw32
* | cegcc
*)
9673 # When not using gcc, we currently assume that we are using
9674 # Microsoft Visual C++.
9675 # hardcode_libdir_flag_spec is actually meaningless, as there is
9676 # no search path for DLLs.
9677 hardcode_libdir_flag_spec
=' '
9678 allow_undefined_flag
=unsupported
9679 # Tell ltmain to make .lib files, not .a files.
9681 # Tell ltmain to make .dll files, not .so files.
9683 # FIXME: Setting linknames here is a bad hack.
9684 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9685 # The linker will automatically build a .lib file if we build a DLL.
9686 old_archive_from_new_cmds
='true'
9687 # FIXME: Should let the user specify the lib program.
9688 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9689 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9690 enable_shared_with_static_runtimes
=yes
9693 darwin
* | rhapsody
*)
9696 archive_cmds_need_lc
=no
9698 hardcode_automatic
=yes
9699 hardcode_shlibpath_var
=unsupported
9700 if test "$lt_cv_ld_force_load" = "yes"; then
9701 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\"`'
9703 whole_archive_flag_spec
=''
9705 link_all_deplibs
=yes
9706 allow_undefined_flag
="$_lt_dar_allow_undefined"
9707 case $cc_basename in
9708 ifort
*) _lt_dar_can_shared
=yes ;;
9709 *) _lt_dar_can_shared
=$GCC ;;
9711 if test "$_lt_dar_can_shared" = "yes"; then
9712 output_verbose_link_cmd
=func_echo_all
9713 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9714 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9715 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}"
9716 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}"
9725 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_libdir_flag_spec
='-L$libdir'
9727 hardcode_shlibpath_var
=no
9734 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9735 # support. Future versions do this automatically, but an explicit c++rt0.o
9736 # does not break anything, and helps significantly (at the cost of a little
9739 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9740 hardcode_libdir_flag_spec
='-R$libdir'
9742 hardcode_shlibpath_var
=no
9745 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9747 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9749 hardcode_minus_L
=yes
9750 hardcode_shlibpath_var
=no
9753 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9754 freebsd
* | dragonfly
*)
9755 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9756 hardcode_libdir_flag_spec
='-R$libdir'
9758 hardcode_shlibpath_var
=no
9762 if test "$GCC" = yes; then
9763 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9765 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9767 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9768 hardcode_libdir_separator
=:
9771 # hardcode_minus_L: Not really in the search PATH,
9772 # but as the default location of the library.
9773 hardcode_minus_L
=yes
9774 export_dynamic_flag_spec
='${wl}-E'
9778 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9779 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9781 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9783 if test "$with_gnu_ld" = no
; then
9784 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9785 hardcode_libdir_flag_spec_ld
='+b $libdir'
9786 hardcode_libdir_separator
=:
9788 hardcode_direct_absolute
=yes
9789 export_dynamic_flag_spec
='${wl}-E'
9790 # hardcode_minus_L: Not really in the search PATH,
9791 # but as the default location of the library.
9792 hardcode_minus_L
=yes
9797 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9800 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9812 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9819 # Older versions of the 11.00 compiler do not understand -b yet
9820 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9822 $as_echo_n "checking if $CC understands -b... " >&6; }
9823 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9824 $as_echo_n "(cached) " >&6
9826 lt_cv_prog_compiler__b
=no
9827 save_LDFLAGS
="$LDFLAGS"
9828 LDFLAGS
="$LDFLAGS -b"
9829 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9830 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9831 # The linker can only warn and ignore the option if not recognized
9832 # So say no if there are warnings
9833 if test -s conftest.err
; then
9834 # Append any errors to the config.log.
9835 cat conftest.err
1>&5
9836 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9837 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9838 if diff conftest.exp conftest.er2
>/dev
/null
; then
9839 lt_cv_prog_compiler__b
=yes
9842 lt_cv_prog_compiler__b
=yes
9846 LDFLAGS
="$save_LDFLAGS"
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9850 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9852 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9853 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9855 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9861 if test "$with_gnu_ld" = no
; then
9862 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9863 hardcode_libdir_separator
=:
9868 hardcode_shlibpath_var
=no
9872 hardcode_direct_absolute
=yes
9873 export_dynamic_flag_spec
='${wl}-E'
9875 # hardcode_minus_L: Not really in the search PATH,
9876 # but as the default location of the library.
9877 hardcode_minus_L
=yes
9883 irix5
* | irix6
* | nonstopux
*)
9884 if test "$GCC" = yes; then
9885 archive_cmds
='$CC -shared $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'
9886 # Try to use the -exported_symbol ld option, if it does not
9887 # work, assume that -exports_file does not work either and
9888 # implicitly export all symbols.
9889 save_LDFLAGS
="$LDFLAGS"
9890 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9895 if ac_fn_c_try_link
"$LINENO"; then :
9896 archive_expsym_cmds
='$CC -shared $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'
9899 rm -f core conftest.err conftest.
$ac_objext \
9900 conftest
$ac_exeext conftest.
$ac_ext
9901 LDFLAGS
="$save_LDFLAGS"
9903 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'
9904 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'
9906 archive_cmds_need_lc
='no'
9907 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9908 hardcode_libdir_separator
=:
9910 link_all_deplibs
=yes
9914 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9915 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9917 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9919 hardcode_libdir_flag_spec
='-R$libdir'
9921 hardcode_shlibpath_var
=no
9925 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9927 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9928 hardcode_libdir_separator
=:
9929 hardcode_shlibpath_var
=no
9936 if test -f /usr
/libexec
/ld.so
; then
9938 hardcode_shlibpath_var
=no
9939 hardcode_direct_absolute
=yes
9940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9941 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9943 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9944 export_dynamic_flag_spec
='${wl}-E'
9947 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9948 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949 hardcode_libdir_flag_spec
='-R$libdir'
9952 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9963 hardcode_libdir_flag_spec
='-L$libdir'
9964 hardcode_minus_L
=yes
9965 allow_undefined_flag
=unsupported
9966 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'
9967 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9973 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'
9975 allow_undefined_flag
=' -expect_unresolved \*'
9976 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'
9978 archive_cmds_need_lc
='no'
9979 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9980 hardcode_libdir_separator
=:
9983 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9986 archive_cmds
='$CC -shared${allow_undefined_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'
9987 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9989 allow_undefined_flag
=' -expect_unresolved \*'
9990 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'
9991 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~
9992 $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'
9994 # Both c and cxx compiler support -rpath directly
9995 hardcode_libdir_flag_spec
='-rpath $libdir'
9997 archive_cmds_need_lc
='no'
9998 hardcode_libdir_separator
=:
10002 no_undefined_flag
=' -z defs'
10003 if test "$GCC" = yes; then
10005 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10009 case `$CC -V 2>&1` in
10012 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10013 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10018 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10024 hardcode_libdir_flag_spec
='-R$libdir'
10025 hardcode_shlibpath_var
=no
10027 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10029 # The compiler driver will combine and reorder linker options,
10030 # but understands `-z linker_flag'. GCC discards it without `$wl',
10031 # but is careful enough not to reorder.
10032 # Supported since Solaris 2.6 (maybe 2.5.1?)
10033 if test "$GCC" = yes; then
10034 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10036 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10040 link_all_deplibs
=yes
10044 if test "x$host_vendor" = xsequent
; then
10045 # Use $CC to link under sequent, because it throws in some extra .o
10046 # files that make .init and .fini sections work.
10047 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10049 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_libdir_flag_spec
='-L$libdir'
10052 hardcode_direct
=yes
10053 hardcode_minus_L
=yes
10054 hardcode_shlibpath_var
=no
10058 case $host_vendor in
10060 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_direct
=yes # is this really true???
10064 ## LD is ld it makes a PLAMLIB
10065 ## CC just makes a GrossModule.
10066 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10067 reload_cmds
='$CC -r -o $output$reload_objs'
10071 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10075 runpath_var
='LD_RUN_PATH'
10076 hardcode_shlibpath_var
=no
10080 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 hardcode_shlibpath_var
=no
10082 export_dynamic_flag_spec
='-Bexport'
10086 if test -d /usr
/nec
; then
10087 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_shlibpath_var
=no
10089 runpath_var
=LD_RUN_PATH
10090 hardcode_runpath_var
=yes
10095 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10096 no_undefined_flag
='${wl}-z,text'
10097 archive_cmds_need_lc
=no
10098 hardcode_shlibpath_var
=no
10099 runpath_var
='LD_RUN_PATH'
10101 if test "$GCC" = yes; then
10102 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10105 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 sysv5
* | sco3.2v5
* | sco5v6
*)
10111 # Note: We can NOT use -z defs as we might desire, because we do not
10112 # link with -lc, and that would cause any symbols used from libc to
10113 # always be unresolved, which means just about no library would
10114 # ever link correctly. If we're not using GNU ld we use -z text
10115 # though, which does catch some bad symbols but isn't as heavy-handed
10117 no_undefined_flag
='${wl}-z,text'
10118 allow_undefined_flag
='${wl}-z,nodefs'
10119 archive_cmds_need_lc
=no
10120 hardcode_shlibpath_var
=no
10121 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10122 hardcode_libdir_separator
=':'
10123 link_all_deplibs
=yes
10124 export_dynamic_flag_spec
='${wl}-Bexport'
10125 runpath_var
='LD_RUN_PATH'
10127 if test "$GCC" = yes; then
10128 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10131 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10137 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_libdir_flag_spec
='-L$libdir'
10139 hardcode_shlibpath_var
=no
10147 if test x
$host_vendor = xsni
; then
10149 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10150 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10157 $as_echo "$ld_shlibs" >&6; }
10158 test "$ld_shlibs" = no
&& can_build_shared
=no
10160 with_gnu_ld
=$with_gnu_ld
10177 # Do we need to explicitly link libc?
10179 case "x$archive_cmds_need_lc" in
10181 # Assume -lc should be added
10182 archive_cmds_need_lc
=yes
10184 if test "$enable_shared" = yes && test "$GCC" = yes; then
10185 case $archive_cmds in
10187 # FIXME: we may have to deal with multi-command sequences.
10190 # Test whether the compiler implicitly links with -lc since on some
10191 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10192 # to ld, don't add -lc before -lgcc.
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10194 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10195 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10199 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10202 (eval $ac_compile) 2>&5
10204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10205 test $ac_status = 0; } 2>conftest.err
; then
10208 libobjs
=conftest.
$ac_objext
10210 wl
=$lt_prog_compiler_wl
10211 pic_flag
=$lt_prog_compiler_pic
10217 lt_save_allow_undefined_flag
=$allow_undefined_flag
10218 allow_undefined_flag
=
10219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10220 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10223 test $ac_status = 0; }
10225 lt_cv_archive_cmds_need_lc
=no
10227 lt_cv_archive_cmds_need_lc
=yes
10229 allow_undefined_flag
=$lt_save_allow_undefined_flag
10231 cat conftest.err
1>&5
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10237 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10238 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10402 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10404 if test "$GCC" = yes; then
10406 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10407 *) lt_awk_arg
="/^libraries:/" ;;
10410 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10411 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10413 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10414 case $lt_search_path_spec in
10416 # if the path contains ";" then we assume it to be the separator
10417 # otherwise default to the standard path separator (i.e. ":") - it is
10418 # assumed that no part of a normal pathname contains ";" but that should
10419 # okay in the real world where ";" in dirpaths is itself problematic.
10420 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10423 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10426 # Ok, now we have the path, separated by spaces, we can step through it
10427 # and add multilib dir if necessary.
10428 lt_tmp_lt_search_path_spec
=
10429 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10430 for lt_sys_path
in $lt_search_path_spec; do
10431 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10432 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10434 test -d "$lt_sys_path" && \
10435 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10438 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10439 BEGIN {RS=" "; FS="/|\n";} {
10442 for (lt_i = NF; lt_i > 0; lt_i--) {
10443 if ($lt_i != "" && $lt_i != ".") {
10444 if ($lt_i == "..") {
10447 if (lt_count == 0) {
10448 lt_foo="/" $lt_i lt_foo;
10455 if (lt_foo != "") { lt_freq[lt_foo]++; }
10456 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10458 # AWK program above erroneously prepends '/' to C:/dos/paths
10461 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10462 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10464 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10466 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10468 library_names_spec
=
10469 libname_spec
='lib$name'
10473 postuninstall_cmds
=
10477 shlibpath_overrides_runpath
=unknown
10479 dynamic_linker
="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10481 need_lib_prefix
=unknown
10482 hardcode_into_libs
=no
10484 # when you set need_version to no, make sure it does not cause -set_version
10485 # flags to be left without arguments
10486 need_version
=unknown
10491 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10492 shlibpath_var
=LIBPATH
10494 # AIX 3 has no versioning support, so we append a major version to the name.
10495 soname_spec
='${libname}${release}${shared_ext}$major'
10502 hardcode_into_libs
=yes
10503 if test "$host_cpu" = ia64
; then
10504 # AIX 5 supports IA64
10505 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10506 shlibpath_var
=LD_LIBRARY_PATH
10508 # With GCC up to 2.95.x, collect2 would create an import file
10509 # for dependence libraries. The import file would start with
10510 # the line `#! .'. This would cause the generated library to
10511 # depend on `.', always an invalid library. This was fixed in
10512 # development snapshots of GCC prior to 3.0.
10514 aix4 | aix4.
[01] | aix4.
[01].
*)
10515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10517 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10520 can_build_shared
=no
10524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10525 # soname into executable. Probably we can add versioning support to
10526 # collect2, so additional links can be useful in future.
10527 if test "$aix_use_runtimelinking" = yes; then
10528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10529 # instead of lib<name>.a to let people know that these are not
10530 # typical AIX shared libraries.
10531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10533 # We preserve .a as extension for shared libraries through AIX4.2
10534 # and later when we are not doing run time linking.
10535 library_names_spec
='${libname}${release}.a $libname.a'
10536 soname_spec
='${libname}${release}${shared_ext}$major'
10538 shlibpath_var
=LIBPATH
10545 # Since July 2007 AmigaOS4 officially supports .so libraries.
10546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10550 library_names_spec
='$libname.ixlibrary $libname.a'
10551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10552 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10558 library_names_spec
='${libname}${shared_ext}'
10559 dynamic_linker
="$host_os ld.so"
10560 shlibpath_var
=LIBRARY_PATH
10566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec
='${libname}${release}${shared_ext}$major'
10568 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10569 shlibpath_var
=LD_LIBRARY_PATH
10570 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10571 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10572 # the default ld.so.conf also contains /usr/contrib/lib and
10573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10574 # libtool to hard-code these into programs
10577 cygwin
* | mingw
* | pw32
* | cegcc
*)
10578 version_type
=windows
10583 case $GCC,$host_os in
10584 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10585 library_names_spec
='$libname.dll.a'
10586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587 postinstall_cmds
='base_file=`basename \${file}`~
10588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589 dldir=$destdir/`dirname \$dlpath`~
10590 test -d \$dldir || mkdir -p \$dldir~
10591 $install_prog $dir/$dlname \$dldir/$dlname~
10592 chmod a+x \$dldir/$dlname~
10593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10596 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10599 shlibpath_overrides_runpath
=yes
10603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10606 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10609 # MinGW DLLs use traditional 'lib' prefix
10610 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10613 # pw32 DLLs use 'pw' prefix rather than 'lib'
10614 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10620 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10623 dynamic_linker
='Win32 ld.exe'
10624 # FIXME: first we should search . and the directory the executable is in
10628 darwin
* | rhapsody
*)
10629 dynamic_linker
="$host_os dyld"
10630 version_type
=darwin
10633 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10634 soname_spec
='${libname}${release}${major}$shared_ext'
10635 shlibpath_overrides_runpath
=yes
10636 shlibpath_var
=DYLD_LIBRARY_PATH
10637 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10639 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10640 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10648 soname_spec
='${libname}${release}${shared_ext}$major'
10649 shlibpath_var
=LD_LIBRARY_PATH
10656 freebsd
* | dragonfly
*)
10657 # DragonFly does not have aout. When/if they implement a new
10658 # versioning mechanism, adjust this.
10659 if test -x /usr
/bin
/objformat
; then
10660 objformat
=`/usr/bin/objformat`
10663 freebsd
[123]*) objformat
=aout
;;
10664 *) objformat
=elf
;;
10667 version_type
=freebsd-
$objformat
10668 case $version_type in
10670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10675 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10679 shlibpath_var
=LD_LIBRARY_PATH
10682 shlibpath_overrides_runpath
=yes
10684 freebsd3.
[01]* | freebsdelf3.
[01]*)
10685 shlibpath_overrides_runpath
=yes
10686 hardcode_into_libs
=yes
10688 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10689 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10690 shlibpath_overrides_runpath
=no
10691 hardcode_into_libs
=yes
10693 *) # from 4.6 on, and DragonFly
10694 shlibpath_overrides_runpath
=yes
10695 hardcode_into_libs
=yes
10704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10705 soname_spec
='${libname}${release}${shared_ext}$major'
10706 shlibpath_var
=LD_LIBRARY_PATH
10707 hardcode_into_libs
=yes
10714 dynamic_linker
="$host_os runtime_loader"
10715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10716 soname_spec
='${libname}${release}${shared_ext}$major'
10717 shlibpath_var
=LIBRARY_PATH
10718 shlibpath_overrides_runpath
=yes
10719 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10720 hardcode_into_libs
=yes
10723 hpux9
* | hpux10
* | hpux11
*)
10724 # Give a soname corresponding to the major version so that dld.sl refuses to
10725 # link against other versions.
10732 hardcode_into_libs
=yes
10733 dynamic_linker
="$host_os dld.so"
10734 shlibpath_var
=LD_LIBRARY_PATH
10735 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737 soname_spec
='${libname}${release}${shared_ext}$major'
10738 if test "X$HPUX_IA64_MODE" = X32
; then
10739 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10741 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10743 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10747 hardcode_into_libs
=yes
10748 dynamic_linker
="$host_os dld.sl"
10749 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10750 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752 soname_spec
='${libname}${release}${shared_ext}$major'
10753 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10754 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10758 dynamic_linker
="$host_os dld.sl"
10759 shlibpath_var
=SHLIB_PATH
10760 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762 soname_spec
='${libname}${release}${shared_ext}$major'
10765 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10766 postinstall_cmds
='chmod 555 $lib'
10767 # or fails outright, so override atomically:
10768 install_override_mode
=555
10775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10776 soname_spec
='${libname}${release}${shared_ext}$major'
10777 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10778 shlibpath_var
=LD_LIBRARY_PATH
10779 shlibpath_overrides_runpath
=no
10780 hardcode_into_libs
=yes
10783 irix5
* | irix6
* | nonstopux
*)
10785 nonstopux
*) version_type
=nonstopux
;;
10787 if test "$lt_cv_prog_gnu_ld" = yes; then
10795 soname_spec
='${libname}${release}${shared_ext}$major'
10796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10798 irix5
* | nonstopux
*)
10799 libsuff
= shlibsuff
=
10802 case $LD in # libtool.m4 will add one of these switches to LD
10803 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10804 libsuff
= shlibsuff
= libmagic
=32-bit;;
10805 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10806 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10807 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10808 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10809 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10813 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10814 shlibpath_overrides_runpath
=no
10815 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10816 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10817 hardcode_into_libs
=yes
10820 # No shared lib support for Linux oldld, aout, or coff.
10821 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10825 # This must be Linux ELF.
10826 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10831 soname_spec
='${libname}${release}${shared_ext}$major'
10832 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10833 shlibpath_var
=LD_LIBRARY_PATH
10834 shlibpath_overrides_runpath
=no
10836 # Some binutils ld are patched to set DT_RUNPATH
10837 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10838 $as_echo_n "(cached) " >&6
10840 lt_cv_shlibpath_overrides_runpath
=no
10841 save_LDFLAGS
=$LDFLAGS
10842 save_libdir
=$libdir
10843 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10844 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10856 if ac_fn_c_try_link
"$LINENO"; then :
10857 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10858 lt_cv_shlibpath_overrides_runpath
=yes
10861 rm -f core conftest.err conftest.
$ac_objext \
10862 conftest
$ac_exeext conftest.
$ac_ext
10863 LDFLAGS
=$save_LDFLAGS
10864 libdir
=$save_libdir
10868 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10870 # This implies no fast_install, which is unacceptable.
10871 # Some rework will be needed to allow for fast_install
10872 # before this can be enabled.
10873 hardcode_into_libs
=yes
10875 # Add ABI-specific directories to the system library path.
10876 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
10878 # Append ld.so.conf contents to the search path
10879 if test -f /etc
/ld.so.conf
; then
10880 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' ' '`
10881 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10885 # We used to test for /lib/ld.so.1 and disable shared libraries on
10886 # powerpc, because MkLinux only supported shared libraries with the
10887 # GNU dynamic linker. Since this was broken with cross compilers,
10888 # most powerpc-linux boxes support dynamic linking these days and
10889 # people can always --disable-shared, the test was removed, and we
10890 # assume the GNU/Linux dynamic linker is in use.
10891 dynamic_linker
='GNU/Linux ld.so'
10898 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10900 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10901 dynamic_linker
='NetBSD (a.out) ld.so'
10903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10904 soname_spec
='${libname}${release}${shared_ext}$major'
10905 dynamic_linker
='NetBSD ld.elf_so'
10907 shlibpath_var
=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath
=yes
10909 hardcode_into_libs
=yes
10914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 shlibpath_var
=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath
=yes
10923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924 soname_spec
='${libname}${release}${shared_ext}$major'
10925 shlibpath_var
=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath
=no
10927 hardcode_into_libs
=yes
10928 dynamic_linker
='ldqnx.so'
10933 sys_lib_dlsearch_path_spec
="/usr/lib"
10935 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10937 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10938 *) need_version
=no
;;
10940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10941 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10942 shlibpath_var
=LD_LIBRARY_PATH
10943 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10945 openbsd2.
[89] | openbsd2.
[89].
*)
10946 shlibpath_overrides_runpath
=no
10949 shlibpath_overrides_runpath
=yes
10953 shlibpath_overrides_runpath
=yes
10958 libname_spec
='$name'
10961 library_names_spec
='$libname${shared_ext} $libname.a'
10962 dynamic_linker
='OS/2 ld.exe'
10963 shlibpath_var
=LIBPATH
10966 osf3
* | osf4
* | osf5
*)
10970 soname_spec
='${libname}${release}${shared_ext}$major'
10971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10972 shlibpath_var
=LD_LIBRARY_PATH
10973 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10974 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 soname_spec
='${libname}${release}${shared_ext}$major'
10987 shlibpath_var
=LD_LIBRARY_PATH
10988 shlibpath_overrides_runpath
=yes
10989 hardcode_into_libs
=yes
10990 # ldd complains unless libraries are executable
10991 postinstall_cmds
='chmod +x $lib'
10996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10997 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10998 shlibpath_var
=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath
=yes
11000 if test "$with_gnu_ld" = yes; then
11008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009 soname_spec
='${libname}${release}${shared_ext}$major'
11010 shlibpath_var
=LD_LIBRARY_PATH
11011 case $host_vendor in
11013 shlibpath_overrides_runpath
=no
11015 runpath_var
=LD_RUN_PATH
11023 shlibpath_overrides_runpath
=no
11024 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11030 if test -d /usr
/nec
;then
11032 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11033 soname_spec
='$libname${shared_ext}.$major'
11034 shlibpath_var
=LD_LIBRARY_PATH
11038 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11039 version_type
=freebsd-elf
11042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11043 soname_spec
='${libname}${release}${shared_ext}$major'
11044 shlibpath_var
=LD_LIBRARY_PATH
11045 shlibpath_overrides_runpath
=yes
11046 hardcode_into_libs
=yes
11047 if test "$with_gnu_ld" = yes; then
11048 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11050 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11053 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11057 sys_lib_dlsearch_path_spec
='/usr/lib'
11061 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11066 shlibpath_var
=LD_LIBRARY_PATH
11067 shlibpath_overrides_runpath
=no
11068 hardcode_into_libs
=yes
11073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec
='${libname}${release}${shared_ext}$major'
11075 shlibpath_var
=LD_LIBRARY_PATH
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11083 $as_echo "$dynamic_linker" >&6; }
11084 test "$dynamic_linker" = no
&& can_build_shared
=no
11086 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11087 if test "$GCC" = yes; then
11088 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11091 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11092 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11094 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11095 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11190 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11192 if test -n "$hardcode_libdir_flag_spec" ||
11193 test -n "$runpath_var" ||
11194 test "X$hardcode_automatic" = "Xyes" ; then
11196 # We can hardcode non-existent directories.
11197 if test "$hardcode_direct" != no
&&
11198 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11199 # have to relink, otherwise we might link with an installed library
11200 # when we should be linking with a yet-to-be-installed one
11201 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11202 test "$hardcode_minus_L" != no
; then
11203 # Linking always hardcodes the temporary library directory.
11204 hardcode_action
=relink
11206 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11207 hardcode_action
=immediate
11210 # We cannot hardcode anything, or else we can only hardcode existing
11212 hardcode_action
=unsupported
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11215 $as_echo "$hardcode_action" >&6; }
11217 if test "$hardcode_action" = relink ||
11218 test "$inherit_rpath" = yes; then
11219 # Fast installation is not supported
11220 enable_fast_install
=no
11221 elif test "$shlibpath_overrides_runpath" = yes ||
11222 test "$enable_shared" = no
; then
11223 # Fast installation is not necessary
11224 enable_fast_install
=needless
11232 if test "x$enable_dlopen" != xyes
; then
11233 enable_dlopen
=unknown
11234 enable_dlopen_self
=unknown
11235 enable_dlopen_self_static
=unknown
11242 lt_cv_dlopen
="load_add_on"
11244 lt_cv_dlopen_self
=yes
11247 mingw
* | pw32
* | cegcc
*)
11248 lt_cv_dlopen
="LoadLibrary"
11253 lt_cv_dlopen
="dlopen"
11258 # if libdl is installed we need to link against it
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11260 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11261 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11262 $as_echo_n "(cached) " >&6
11264 ac_check_lib_save_LIBS
=$LIBS
11266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11284 if ac_fn_c_try_link
"$LINENO"; then :
11285 ac_cv_lib_dl_dlopen
=yes
11287 ac_cv_lib_dl_dlopen
=no
11289 rm -f core conftest.err conftest.
$ac_objext \
11290 conftest
$ac_exeext conftest.
$ac_ext
11291 LIBS
=$ac_check_lib_save_LIBS
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11294 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11295 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11296 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11299 lt_cv_dlopen
="dyld"
11301 lt_cv_dlopen_self
=yes
11308 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11309 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11310 lt_cv_dlopen
="shl_load"
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11313 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11314 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11315 $as_echo_n "(cached) " >&6
11317 ac_check_lib_save_LIBS
=$LIBS
11319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11322 /* Override any GCC internal prototype to avoid an error.
11323 Use char because int might match the return type of a GCC
11324 builtin and then its argument prototype would still apply. */
11332 return shl_load ();
11337 if ac_fn_c_try_link
"$LINENO"; then :
11338 ac_cv_lib_dld_shl_load
=yes
11340 ac_cv_lib_dld_shl_load
=no
11342 rm -f core conftest.err conftest.
$ac_objext \
11343 conftest
$ac_exeext conftest.
$ac_ext
11344 LIBS
=$ac_check_lib_save_LIBS
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11347 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11348 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11349 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11351 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11352 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11353 lt_cv_dlopen
="dlopen"
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11356 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11357 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11358 $as_echo_n "(cached) " >&6
11360 ac_check_lib_save_LIBS
=$LIBS
11362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11365 /* Override any GCC internal prototype to avoid an error.
11366 Use char because int might match the return type of a GCC
11367 builtin and then its argument prototype would still apply. */
11380 if ac_fn_c_try_link
"$LINENO"; then :
11381 ac_cv_lib_dl_dlopen
=yes
11383 ac_cv_lib_dl_dlopen
=no
11385 rm -f core conftest.err conftest.
$ac_objext \
11386 conftest
$ac_exeext conftest.
$ac_ext
11387 LIBS
=$ac_check_lib_save_LIBS
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11390 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11391 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11392 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11395 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11396 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11397 $as_echo_n "(cached) " >&6
11399 ac_check_lib_save_LIBS
=$LIBS
11400 LIBS
="-lsvld $LIBS"
11401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11419 if ac_fn_c_try_link
"$LINENO"; then :
11420 ac_cv_lib_svld_dlopen
=yes
11422 ac_cv_lib_svld_dlopen
=no
11424 rm -f core conftest.err conftest.
$ac_objext \
11425 conftest
$ac_exeext conftest.
$ac_ext
11426 LIBS
=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11429 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11430 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11431 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11434 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11435 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11436 $as_echo_n "(cached) " >&6
11438 ac_check_lib_save_LIBS
=$LIBS
11440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11443 /* Override any GCC internal prototype to avoid an error.
11444 Use char because int might match the return type of a GCC
11445 builtin and then its argument prototype would still apply. */
11453 return dld_link ();
11458 if ac_fn_c_try_link
"$LINENO"; then :
11459 ac_cv_lib_dld_dld_link
=yes
11461 ac_cv_lib_dld_dld_link
=no
11463 rm -f core conftest.err conftest.
$ac_objext \
11464 conftest
$ac_exeext conftest.
$ac_ext
11465 LIBS
=$ac_check_lib_save_LIBS
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11468 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11469 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11470 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11491 if test "x$lt_cv_dlopen" != xno
; then
11497 case $lt_cv_dlopen in
11499 save_CPPFLAGS
="$CPPFLAGS"
11500 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11502 save_LDFLAGS
="$LDFLAGS"
11503 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11506 LIBS
="$lt_cv_dlopen_libs $LIBS"
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11509 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11510 if test "${lt_cv_dlopen_self+set}" = set; then :
11511 $as_echo_n "(cached) " >&6
11513 if test "$cross_compiling" = yes; then :
11514 lt_cv_dlopen_self
=cross
11516 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11517 lt_status
=$lt_dlunknown
11518 cat > conftest.
$ac_ext <<_LT_EOF
11519 #line $LINENO "configure"
11520 #include "confdefs.h"
11529 # define LT_DLGLOBAL RTLD_GLOBAL
11532 # define LT_DLGLOBAL DL_GLOBAL
11534 # define LT_DLGLOBAL 0
11538 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11539 find out it does not work in some platform. */
11540 #ifndef LT_DLLAZY_OR_NOW
11542 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11545 # define LT_DLLAZY_OR_NOW DL_LAZY
11548 # define LT_DLLAZY_OR_NOW RTLD_NOW
11551 # define LT_DLLAZY_OR_NOW DL_NOW
11553 # define LT_DLLAZY_OR_NOW 0
11560 /* When -fvisbility=hidden is used, assume the code has been annotated
11561 correspondingly for the symbols needed. */
11562 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11563 void fnord () __attribute__((visibility("default")));
11566 void fnord () { int i=42; }
11569 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11570 int status = $lt_dlunknown;
11574 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11577 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11578 else puts (dlerror ());
11580 /* dlclose (self); */
11588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11589 (eval $ac_link) 2>&5
11591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11592 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11593 (.
/conftest
; exit; ) >&5 2>/dev
/null
11595 case x
$lt_status in
11596 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11597 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11598 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11601 # compilation failed
11602 lt_cv_dlopen_self
=no
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11610 $as_echo "$lt_cv_dlopen_self" >&6; }
11612 if test "x$lt_cv_dlopen_self" = xyes
; then
11613 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11615 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11616 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11617 $as_echo_n "(cached) " >&6
11619 if test "$cross_compiling" = yes; then :
11620 lt_cv_dlopen_self_static
=cross
11622 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11623 lt_status
=$lt_dlunknown
11624 cat > conftest.
$ac_ext <<_LT_EOF
11625 #line $LINENO "configure"
11626 #include "confdefs.h"
11635 # define LT_DLGLOBAL RTLD_GLOBAL
11638 # define LT_DLGLOBAL DL_GLOBAL
11640 # define LT_DLGLOBAL 0
11644 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11645 find out it does not work in some platform. */
11646 #ifndef LT_DLLAZY_OR_NOW
11648 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11651 # define LT_DLLAZY_OR_NOW DL_LAZY
11654 # define LT_DLLAZY_OR_NOW RTLD_NOW
11657 # define LT_DLLAZY_OR_NOW DL_NOW
11659 # define LT_DLLAZY_OR_NOW 0
11666 /* When -fvisbility=hidden is used, assume the code has been annotated
11667 correspondingly for the symbols needed. */
11668 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11669 void fnord () __attribute__((visibility("default")));
11672 void fnord () { int i=42; }
11675 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11676 int status = $lt_dlunknown;
11680 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11683 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11684 else puts (dlerror ());
11686 /* dlclose (self); */
11694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11695 (eval $ac_link) 2>&5
11697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11698 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11699 (.
/conftest
; exit; ) >&5 2>/dev
/null
11701 case x
$lt_status in
11702 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11703 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11704 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11707 # compilation failed
11708 lt_cv_dlopen_self_static
=no
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11716 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11719 CPPFLAGS
="$save_CPPFLAGS"
11720 LDFLAGS
="$save_LDFLAGS"
11725 case $lt_cv_dlopen_self in
11726 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11727 *) enable_dlopen_self
=unknown
;;
11730 case $lt_cv_dlopen_self_static in
11731 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11732 *) enable_dlopen_self_static
=unknown
;;
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11755 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11756 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11757 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11758 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11760 $as_echo "yes" >&6; }
11762 # FIXME - insert some real tests, host_os isn't really good enough
11765 if test -n "$STRIP" ; then
11766 striplib
="$STRIP -x"
11767 old_striplib
="$STRIP -S"
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11769 $as_echo "yes" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11772 $as_echo "no" >&6; }
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11777 $as_echo "no" >&6; }
11793 # Report which library types will actually be built
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11795 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11797 $as_echo "$can_build_shared" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11800 $as_echo_n "checking whether to build shared libraries... " >&6; }
11801 test "$can_build_shared" = "no" && enable_shared
=no
11803 # On AIX, shared libraries and static libraries use the same namespace, and
11804 # are all built from PIC.
11807 test "$enable_shared" = yes && enable_static
=no
11808 if test -n "$RANLIB"; then
11809 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11810 postinstall_cmds
='$RANLIB $lib'
11815 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11816 test "$enable_shared" = yes && enable_static
=no
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11821 $as_echo "$enable_shared" >&6; }
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11824 $as_echo_n "checking whether to build static libraries... " >&6; }
11825 # Make sure either enable_shared or enable_static is yes.
11826 test "$enable_shared" = yes || enable_static
=yes
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11828 $as_echo "$enable_static" >&6; }
11835 ac_cpp
='$CPP $CPPFLAGS'
11836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11854 ac_config_commands
="$ac_config_commands libtool"
11859 # Only expand once:
11864 # /***********************************************************************
11865 # // Checks for header files
11866 # ************************************************************************/
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11870 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11871 if test "${ac_cv_header_time+set}" = set; then :
11872 $as_echo_n "(cached) " >&6
11874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11876 #include <sys/types.h>
11877 #include <sys/time.h>
11883 if ((struct tm *) 0)
11889 if ac_fn_c_try_compile
"$LINENO"; then :
11890 ac_cv_header_time
=yes
11892 ac_cv_header_time
=no
11894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
11897 $as_echo "$ac_cv_header_time" >&6; }
11898 if test $ac_cv_header_time = yes; then
11900 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
11904 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
11906 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11907 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11908 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11909 cat >>confdefs.h
<<_ACEOF
11910 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11918 if test "X$ac_cv_header_limits_h" != Xyes
; then
11919 as_fn_error $?
"<limits.h> header not found" "$LINENO" 5
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h is sane" >&5
11923 $as_echo_n "checking whether limits.h is sane... " >&6; }
11924 if test "${mfx_cv_header_sane_limits_h+set}" = set; then :
11925 $as_echo_n "(cached) " >&6
11927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11929 #include <limits.h>
11930 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
11931 # if defined(__APPLE__) && defined(__GNUC__)
11932 # error "your preprocessor is broken - use compiler option -no-cpp-precomp"
11934 # include "your preprocessor is broken"
11937 #define MFX_0xffff 0xffff
11938 #define MFX_0xffffffffL 4294967295ul
11939 #if !defined(CHAR_BIT) || (CHAR_BIT != 8)
11940 # include "error CHAR_BIT"
11942 #if !defined(UCHAR_MAX)
11943 # include "error UCHAR_MAX 1"
11945 #if !defined(USHRT_MAX)
11946 # include "error USHRT_MAX 1"
11948 #if !defined(UINT_MAX)
11949 # include "error UINT_MAX 1"
11951 #if !defined(ULONG_MAX)
11952 # include "error ULONG_MAX 1"
11954 #if !defined(SHRT_MAX)
11955 # include "error SHRT_MAX 1"
11957 #if !defined(INT_MAX)
11958 # include "error INT_MAX 1"
11960 #if !defined(LONG_MAX)
11961 # include "error LONG_MAX 1"
11963 #if (UCHAR_MAX < 1)
11964 # include "error UCHAR_MAX 2"
11966 #if (USHRT_MAX < 1)
11967 # include "error USHRT_MAX 2"
11970 # include "error UINT_MAX 2"
11972 #if (ULONG_MAX < 1)
11973 # include "error ULONG_MAX 2"
11975 #if (UCHAR_MAX < 0xff)
11976 # include "error UCHAR_MAX 3"
11978 #if (USHRT_MAX < MFX_0xffff)
11979 # include "error USHRT_MAX 3"
11981 #if (UINT_MAX < MFX_0xffff)
11982 # include "error UINT_MAX 3"
11984 #if (ULONG_MAX < MFX_0xffffffffL)
11985 # include "error ULONG_MAX 3"
11987 #if (USHRT_MAX > UINT_MAX)
11988 # include "error USHRT_MAX vs UINT_MAX"
11990 #if (UINT_MAX > ULONG_MAX)
11991 # include "error UINT_MAX vs ULONG_MAX"
11998 #if (USHRT_MAX == MFX_0xffff)
11999 { typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; }
12000 #elif (USHRT_MAX >= MFX_0xffff)
12001 { typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; }
12003 #if (UINT_MAX == MFX_0xffff)
12004 { typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; }
12005 #elif (UINT_MAX >= MFX_0xffff)
12006 { typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; }
12008 #if (ULONG_MAX == MFX_0xffff)
12009 { typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; }
12010 #elif (ULONG_MAX >= MFX_0xffff)
12011 { typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; }
12013 #if !defined(_CRAY1) /* CRAY PVP systems */
12014 #if (USHRT_MAX == MFX_0xffffffffL)
12015 { typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; }
12016 #elif (USHRT_MAX >= MFX_0xffffffffL)
12017 { typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; }
12019 #endif /* _CRAY1 */
12020 #if (UINT_MAX == MFX_0xffffffffL)
12021 { typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; }
12022 #elif (UINT_MAX >= MFX_0xffffffffL)
12023 { typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; }
12025 #if (ULONG_MAX == MFX_0xffffffffL)
12026 { typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; }
12027 #elif (ULONG_MAX >= MFX_0xffffffffL)
12028 { typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; }
12035 if ac_fn_c_try_compile
"$LINENO"; then :
12036 mfx_cv_header_sane_limits_h
=yes
12038 mfx_cv_header_sane_limits_h
=no
12040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_cv_header_sane_limits_h" >&5
12043 $as_echo "$mfx_cv_header_sane_limits_h" >&6; }
12045 if test "X$mfx_cv_header_sane_limits_h" != Xyes
; then
12046 as_fn_error $?
"your <limits.h> header is broken - for details see config.log" "$LINENO" 5
12050 # /***********************************************************************
12051 # // Checks for typedefs and structures
12052 # ************************************************************************/
12054 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12055 if test "x$ac_cv_type_off_t" = x
""yes; then :
12059 cat >>confdefs.h
<<_ACEOF
12060 #define off_t long int
12065 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
12066 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
12070 cat >>confdefs.h
<<_ACEOF
12071 #define ptrdiff_t long
12076 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12077 if test "x$ac_cv_type_size_t" = x
""yes; then :
12081 cat >>confdefs.h
<<_ACEOF
12082 #define size_t unsigned int
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12088 $as_echo_n "checking return type of signal handlers... " >&6; }
12089 if test "${ac_cv_type_signal+set}" = set; then :
12090 $as_echo_n "(cached) " >&6
12092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12094 #include <sys/types.h>
12095 #include <signal.h>
12100 return *(signal (0, 0)) (0) == 1;
12105 if ac_fn_c_try_compile
"$LINENO"; then :
12106 ac_cv_type_signal
=int
12108 ac_cv_type_signal
=void
12110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12113 $as_echo "$ac_cv_type_signal" >&6; }
12115 cat >>confdefs.h
<<_ACEOF
12116 #define RETSIGTYPE $ac_cv_type_signal
12122 # The cast to long int works around a bug in the HP C Compiler
12123 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12124 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12125 # This bug is HP SR number 8606223364.
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12127 $as_echo_n "checking size of short... " >&6; }
12128 if test "${ac_cv_sizeof_short+set}" = set; then :
12129 $as_echo_n "(cached) " >&6
12131 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12134 if test "$ac_cv_type_short" = yes; then
12135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12137 as_fn_error
77 "cannot compute sizeof (short)
12138 See \`config.log' for more details" "$LINENO" 5; }
12140 ac_cv_sizeof_short
=0
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12146 $as_echo "$ac_cv_sizeof_short" >&6; }
12150 cat >>confdefs.h
<<_ACEOF
12151 #define SIZEOF_SHORT $ac_cv_sizeof_short
12155 # The cast to long int works around a bug in the HP C Compiler
12156 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12157 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12158 # This bug is HP SR number 8606223364.
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12160 $as_echo_n "checking size of int... " >&6; }
12161 if test "${ac_cv_sizeof_int+set}" = set; then :
12162 $as_echo_n "(cached) " >&6
12164 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12167 if test "$ac_cv_type_int" = yes; then
12168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12170 as_fn_error
77 "cannot compute sizeof (int)
12171 See \`config.log' for more details" "$LINENO" 5; }
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12179 $as_echo "$ac_cv_sizeof_int" >&6; }
12183 cat >>confdefs.h
<<_ACEOF
12184 #define SIZEOF_INT $ac_cv_sizeof_int
12188 # The cast to long int works around a bug in the HP C Compiler
12189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12191 # This bug is HP SR number 8606223364.
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12193 $as_echo_n "checking size of long... " >&6; }
12194 if test "${ac_cv_sizeof_long+set}" = set; then :
12195 $as_echo_n "(cached) " >&6
12197 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12200 if test "$ac_cv_type_long" = yes; then
12201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12203 as_fn_error
77 "cannot compute sizeof (long)
12204 See \`config.log' for more details" "$LINENO" 5; }
12206 ac_cv_sizeof_long
=0
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12212 $as_echo "$ac_cv_sizeof_long" >&6; }
12216 cat >>confdefs.h
<<_ACEOF
12217 #define SIZEOF_LONG $ac_cv_sizeof_long
12222 # The cast to long int works around a bug in the HP C Compiler
12223 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12224 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12225 # This bug is HP SR number 8606223364.
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12227 $as_echo_n "checking size of long long... " >&6; }
12228 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12229 $as_echo_n "(cached) " >&6
12231 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
12234 if test "$ac_cv_type_long_long" = yes; then
12235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12237 as_fn_error
77 "cannot compute sizeof (long long)
12238 See \`config.log' for more details" "$LINENO" 5; }
12240 ac_cv_sizeof_long_long
=0
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12246 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12250 cat >>confdefs.h
<<_ACEOF
12251 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12255 # The cast to long int works around a bug in the HP C Compiler
12256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12258 # This bug is HP SR number 8606223364.
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int16" >&5
12260 $as_echo_n "checking size of __int16... " >&6; }
12261 if test "${ac_cv_sizeof___int16+set}" = set; then :
12262 $as_echo_n "(cached) " >&6
12264 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int16))" "ac_cv_sizeof___int16" "$ac_includes_default"; then :
12267 if test "$ac_cv_type___int16" = yes; then
12268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12270 as_fn_error
77 "cannot compute sizeof (__int16)
12271 See \`config.log' for more details" "$LINENO" 5; }
12273 ac_cv_sizeof___int16
=0
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int16" >&5
12279 $as_echo "$ac_cv_sizeof___int16" >&6; }
12283 cat >>confdefs.h
<<_ACEOF
12284 #define SIZEOF___INT16 $ac_cv_sizeof___int16
12288 # The cast to long int works around a bug in the HP C Compiler
12289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12291 # This bug is HP SR number 8606223364.
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
12293 $as_echo_n "checking size of __int32... " >&6; }
12294 if test "${ac_cv_sizeof___int32+set}" = set; then :
12295 $as_echo_n "(cached) " >&6
12297 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
12300 if test "$ac_cv_type___int32" = yes; then
12301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12303 as_fn_error
77 "cannot compute sizeof (__int32)
12304 See \`config.log' for more details" "$LINENO" 5; }
12306 ac_cv_sizeof___int32
=0
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
12312 $as_echo "$ac_cv_sizeof___int32" >&6; }
12316 cat >>confdefs.h
<<_ACEOF
12317 #define SIZEOF___INT32 $ac_cv_sizeof___int32
12321 # The cast to long int works around a bug in the HP C Compiler
12322 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12323 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12324 # This bug is HP SR number 8606223364.
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
12326 $as_echo_n "checking size of __int64... " >&6; }
12327 if test "${ac_cv_sizeof___int64+set}" = set; then :
12328 $as_echo_n "(cached) " >&6
12330 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64" "$ac_includes_default"; then :
12333 if test "$ac_cv_type___int64" = yes; then
12334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12336 as_fn_error
77 "cannot compute sizeof (__int64)
12337 See \`config.log' for more details" "$LINENO" 5; }
12339 ac_cv_sizeof___int64
=0
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
12345 $as_echo "$ac_cv_sizeof___int64" >&6; }
12349 cat >>confdefs.h
<<_ACEOF
12350 #define SIZEOF___INT64 $ac_cv_sizeof___int64
12355 # The cast to long int works around a bug in the HP C Compiler
12356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12358 # This bug is HP SR number 8606223364.
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
12360 $as_echo_n "checking size of void *... " >&6; }
12361 if test "${ac_cv_sizeof_void_p+set}" = set; then :
12362 $as_echo_n "(cached) " >&6
12364 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
12367 if test "$ac_cv_type_void_p" = yes; then
12368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12370 as_fn_error
77 "cannot compute sizeof (void *)
12371 See \`config.log' for more details" "$LINENO" 5; }
12373 ac_cv_sizeof_void_p
=0
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
12379 $as_echo "$ac_cv_sizeof_void_p" >&6; }
12383 cat >>confdefs.h
<<_ACEOF
12384 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12388 # The cast to long int works around a bug in the HP C Compiler
12389 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12390 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12391 # This bug is HP SR number 8606223364.
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
12393 $as_echo_n "checking size of size_t... " >&6; }
12394 if test "${ac_cv_sizeof_size_t+set}" = set; then :
12395 $as_echo_n "(cached) " >&6
12397 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
12400 if test "$ac_cv_type_size_t" = yes; then
12401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12403 as_fn_error
77 "cannot compute sizeof (size_t)
12404 See \`config.log' for more details" "$LINENO" 5; }
12406 ac_cv_sizeof_size_t
=0
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
12412 $as_echo "$ac_cv_sizeof_size_t" >&6; }
12416 cat >>confdefs.h
<<_ACEOF
12417 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
12421 # The cast to long int works around a bug in the HP C Compiler
12422 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12423 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12424 # This bug is HP SR number 8606223364.
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
12426 $as_echo_n "checking size of ptrdiff_t... " >&6; }
12427 if test "${ac_cv_sizeof_ptrdiff_t+set}" = set; then :
12428 $as_echo_n "(cached) " >&6
12430 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t" "$ac_includes_default"; then :
12433 if test "$ac_cv_type_ptrdiff_t" = yes; then
12434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12436 as_fn_error
77 "cannot compute sizeof (ptrdiff_t)
12437 See \`config.log' for more details" "$LINENO" 5; }
12439 ac_cv_sizeof_ptrdiff_t
=0
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
12445 $as_echo "$ac_cv_sizeof_ptrdiff_t" >&6; }
12449 cat >>confdefs.h
<<_ACEOF
12450 #define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
12456 # The cast to long int works around a bug in the HP C Compiler
12457 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12458 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12459 # This bug is HP SR number 8606223364.
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
12461 $as_echo_n "checking size of __int32... " >&6; }
12462 if test "${ac_cv_sizeof___int32+set}" = set; then :
12463 $as_echo_n "(cached) " >&6
12465 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
12468 if test "$ac_cv_type___int32" = yes; then
12469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12471 as_fn_error
77 "cannot compute sizeof (__int32)
12472 See \`config.log' for more details" "$LINENO" 5; }
12474 ac_cv_sizeof___int32
=0
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
12480 $as_echo "$ac_cv_sizeof___int32" >&6; }
12484 cat >>confdefs.h
<<_ACEOF
12485 #define SIZEOF___INT32 $ac_cv_sizeof___int32
12489 # The cast to long int works around a bug in the HP C Compiler
12490 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12491 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12492 # This bug is HP SR number 8606223364.
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5
12494 $as_echo_n "checking size of intmax_t... " >&6; }
12495 if test "${ac_cv_sizeof_intmax_t+set}" = set; then :
12496 $as_echo_n "(cached) " >&6
12498 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default"; then :
12501 if test "$ac_cv_type_intmax_t" = yes; then
12502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12504 as_fn_error
77 "cannot compute sizeof (intmax_t)
12505 See \`config.log' for more details" "$LINENO" 5; }
12507 ac_cv_sizeof_intmax_t
=0
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5
12513 $as_echo "$ac_cv_sizeof_intmax_t" >&6; }
12517 cat >>confdefs.h
<<_ACEOF
12518 #define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
12522 # The cast to long int works around a bug in the HP C Compiler
12523 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12524 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12525 # This bug is HP SR number 8606223364.
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintmax_t" >&5
12527 $as_echo_n "checking size of uintmax_t... " >&6; }
12528 if test "${ac_cv_sizeof_uintmax_t+set}" = set; then :
12529 $as_echo_n "(cached) " >&6
12531 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (uintmax_t))" "ac_cv_sizeof_uintmax_t" "$ac_includes_default"; then :
12534 if test "$ac_cv_type_uintmax_t" = yes; then
12535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12537 as_fn_error
77 "cannot compute sizeof (uintmax_t)
12538 See \`config.log' for more details" "$LINENO" 5; }
12540 ac_cv_sizeof_uintmax_t
=0
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintmax_t" >&5
12546 $as_echo "$ac_cv_sizeof_uintmax_t" >&6; }
12550 cat >>confdefs.h
<<_ACEOF
12551 #define SIZEOF_UINTMAX_T $ac_cv_sizeof_uintmax_t
12555 # The cast to long int works around a bug in the HP C Compiler
12556 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12557 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12558 # This bug is HP SR number 8606223364.
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intptr_t" >&5
12560 $as_echo_n "checking size of intptr_t... " >&6; }
12561 if test "${ac_cv_sizeof_intptr_t+set}" = set; then :
12562 $as_echo_n "(cached) " >&6
12564 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (intptr_t))" "ac_cv_sizeof_intptr_t" "$ac_includes_default"; then :
12567 if test "$ac_cv_type_intptr_t" = yes; then
12568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12570 as_fn_error
77 "cannot compute sizeof (intptr_t)
12571 See \`config.log' for more details" "$LINENO" 5; }
12573 ac_cv_sizeof_intptr_t
=0
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intptr_t" >&5
12579 $as_echo "$ac_cv_sizeof_intptr_t" >&6; }
12583 cat >>confdefs.h
<<_ACEOF
12584 #define SIZEOF_INTPTR_T $ac_cv_sizeof_intptr_t
12588 # The cast to long int works around a bug in the HP C Compiler
12589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12591 # This bug is HP SR number 8606223364.
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
12593 $as_echo_n "checking size of uintptr_t... " >&6; }
12594 if test "${ac_cv_sizeof_uintptr_t+set}" = set; then :
12595 $as_echo_n "(cached) " >&6
12597 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (uintptr_t))" "ac_cv_sizeof_uintptr_t" "$ac_includes_default"; then :
12600 if test "$ac_cv_type_uintptr_t" = yes; then
12601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12603 as_fn_error
77 "cannot compute sizeof (uintptr_t)
12604 See \`config.log' for more details" "$LINENO" 5; }
12606 ac_cv_sizeof_uintptr_t
=0
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
12612 $as_echo "$ac_cv_sizeof_uintptr_t" >&6; }
12616 cat >>confdefs.h
<<_ACEOF
12617 #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t
12622 # The cast to long int works around a bug in the HP C Compiler
12623 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12624 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12625 # This bug is HP SR number 8606223364.
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
12627 $as_echo_n "checking size of float... " >&6; }
12628 if test "${ac_cv_sizeof_float+set}" = set; then :
12629 $as_echo_n "(cached) " >&6
12631 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
12634 if test "$ac_cv_type_float" = yes; then
12635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12637 as_fn_error
77 "cannot compute sizeof (float)
12638 See \`config.log' for more details" "$LINENO" 5; }
12640 ac_cv_sizeof_float
=0
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
12646 $as_echo "$ac_cv_sizeof_float" >&6; }
12650 cat >>confdefs.h
<<_ACEOF
12651 #define SIZEOF_FLOAT $ac_cv_sizeof_float
12655 # The cast to long int works around a bug in the HP C Compiler
12656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12657 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12658 # This bug is HP SR number 8606223364.
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
12660 $as_echo_n "checking size of double... " >&6; }
12661 if test "${ac_cv_sizeof_double+set}" = set; then :
12662 $as_echo_n "(cached) " >&6
12664 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
12667 if test "$ac_cv_type_double" = yes; then
12668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12670 as_fn_error
77 "cannot compute sizeof (double)
12671 See \`config.log' for more details" "$LINENO" 5; }
12673 ac_cv_sizeof_double
=0
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
12679 $as_echo "$ac_cv_sizeof_double" >&6; }
12683 cat >>confdefs.h
<<_ACEOF
12684 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
12688 # The cast to long int works around a bug in the HP C Compiler
12689 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12690 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12691 # This bug is HP SR number 8606223364.
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
12693 $as_echo_n "checking size of long double... " >&6; }
12694 if test "${ac_cv_sizeof_long_double+set}" = set; then :
12695 $as_echo_n "(cached) " >&6
12697 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
12700 if test "$ac_cv_type_long_double" = yes; then
12701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12703 as_fn_error
77 "cannot compute sizeof (long double)
12704 See \`config.log' for more details" "$LINENO" 5; }
12706 ac_cv_sizeof_long_double
=0
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
12712 $as_echo "$ac_cv_sizeof_long_double" >&6; }
12716 cat >>confdefs.h
<<_ACEOF
12717 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
12722 # The cast to long int works around a bug in the HP C Compiler
12723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12725 # This bug is HP SR number 8606223364.
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of dev_t" >&5
12727 $as_echo_n "checking size of dev_t... " >&6; }
12728 if test "${ac_cv_sizeof_dev_t+set}" = set; then :
12729 $as_echo_n "(cached) " >&6
12731 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (dev_t))" "ac_cv_sizeof_dev_t" "$ac_includes_default"; then :
12734 if test "$ac_cv_type_dev_t" = yes; then
12735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12737 as_fn_error
77 "cannot compute sizeof (dev_t)
12738 See \`config.log' for more details" "$LINENO" 5; }
12740 ac_cv_sizeof_dev_t
=0
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_dev_t" >&5
12746 $as_echo "$ac_cv_sizeof_dev_t" >&6; }
12750 cat >>confdefs.h
<<_ACEOF
12751 #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t
12755 # The cast to long int works around a bug in the HP C Compiler
12756 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12757 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12758 # This bug is HP SR number 8606223364.
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
12760 $as_echo_n "checking size of fpos_t... " >&6; }
12761 if test "${ac_cv_sizeof_fpos_t+set}" = set; then :
12762 $as_echo_n "(cached) " >&6
12764 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (fpos_t))" "ac_cv_sizeof_fpos_t" "$ac_includes_default"; then :
12767 if test "$ac_cv_type_fpos_t" = yes; then
12768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12770 as_fn_error
77 "cannot compute sizeof (fpos_t)
12771 See \`config.log' for more details" "$LINENO" 5; }
12773 ac_cv_sizeof_fpos_t
=0
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
12779 $as_echo "$ac_cv_sizeof_fpos_t" >&6; }
12783 cat >>confdefs.h
<<_ACEOF
12784 #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
12788 # The cast to long int works around a bug in the HP C Compiler
12789 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12790 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12791 # This bug is HP SR number 8606223364.
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of mode_t" >&5
12793 $as_echo_n "checking size of mode_t... " >&6; }
12794 if test "${ac_cv_sizeof_mode_t+set}" = set; then :
12795 $as_echo_n "(cached) " >&6
12797 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (mode_t))" "ac_cv_sizeof_mode_t" "$ac_includes_default"; then :
12800 if test "$ac_cv_type_mode_t" = yes; then
12801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12803 as_fn_error
77 "cannot compute sizeof (mode_t)
12804 See \`config.log' for more details" "$LINENO" 5; }
12806 ac_cv_sizeof_mode_t
=0
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_mode_t" >&5
12812 $as_echo "$ac_cv_sizeof_mode_t" >&6; }
12816 cat >>confdefs.h
<<_ACEOF
12817 #define SIZEOF_MODE_T $ac_cv_sizeof_mode_t
12821 # The cast to long int works around a bug in the HP C Compiler
12822 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12823 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12824 # This bug is HP SR number 8606223364.
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
12826 $as_echo_n "checking size of off_t... " >&6; }
12827 if test "${ac_cv_sizeof_off_t+set}" = set; then :
12828 $as_echo_n "(cached) " >&6
12830 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
12833 if test "$ac_cv_type_off_t" = yes; then
12834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12836 as_fn_error
77 "cannot compute sizeof (off_t)
12837 See \`config.log' for more details" "$LINENO" 5; }
12839 ac_cv_sizeof_off_t
=0
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
12845 $as_echo "$ac_cv_sizeof_off_t" >&6; }
12849 cat >>confdefs.h
<<_ACEOF
12850 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
12854 # The cast to long int works around a bug in the HP C Compiler
12855 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12856 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12857 # This bug is HP SR number 8606223364.
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5
12859 $as_echo_n "checking size of ssize_t... " >&6; }
12860 if test "${ac_cv_sizeof_ssize_t+set}" = set; then :
12861 $as_echo_n "(cached) " >&6
12863 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (ssize_t))" "ac_cv_sizeof_ssize_t" "$ac_includes_default"; then :
12866 if test "$ac_cv_type_ssize_t" = yes; then
12867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12869 as_fn_error
77 "cannot compute sizeof (ssize_t)
12870 See \`config.log' for more details" "$LINENO" 5; }
12872 ac_cv_sizeof_ssize_t
=0
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ssize_t" >&5
12878 $as_echo "$ac_cv_sizeof_ssize_t" >&6; }
12882 cat >>confdefs.h
<<_ACEOF
12883 #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
12887 # The cast to long int works around a bug in the HP C Compiler
12888 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12889 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12890 # This bug is HP SR number 8606223364.
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
12892 $as_echo_n "checking size of time_t... " >&6; }
12893 if test "${ac_cv_sizeof_time_t+set}" = set; then :
12894 $as_echo_n "(cached) " >&6
12896 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
12899 if test "$ac_cv_type_time_t" = yes; then
12900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12902 as_fn_error
77 "cannot compute sizeof (time_t)
12903 See \`config.log' for more details" "$LINENO" 5; }
12905 ac_cv_sizeof_time_t
=0
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
12911 $as_echo "$ac_cv_sizeof_time_t" >&6; }
12915 cat >>confdefs.h
<<_ACEOF
12916 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
12923 # /***********************************************************************
12924 # // Checks for library functions
12925 # ************************************************************************/
12928 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
12930 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12931 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12932 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12933 cat >>confdefs.h
<<_ACEOF
12934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12942 if test "X$GCC" = Xyes
; then
12944 cygwin
* | mingw
* | pw32
*)
12945 test "X$LIBS" != "X" && LIBS
="$LIBS "
12946 LIBS
="${LIBS}-lwinmm" ;;
12952 # /***********************************************************************
12953 # // Checks for assembler
12954 # ************************************************************************/
12956 # Check whether --enable-asm was given.
12957 if test "${enable_asm+set}" = set; then :
12958 enableval
=$enable_asm;
12967 case "$host_cpu-$ac_cv_sizeof_void_p" in
12968 amd64-8 | x86_64-8
) asm_arch
="amd64"; asm_dir
="asm/amd64/src_gas/elf64"; asm_mode
="amd64_src_gas_elf64" ;;
12969 i?
86-4) asm_arch
="i386"; asm_dir
="asm/i386/src_gas"; asm_mode
="i386_src_gas" ;;
12970 *) enable_asm
=no
;;
12972 LZO_USE_ASM_i386_src_gas
=no
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build assembly versions" >&5
12975 $as_echo_n "checking whether to build assembly versions... " >&6; }
12976 if test "X$enable_asm" != Xno
; then
12977 mfx_compile_S
='${CCAS} ${CCASFLAGS} -c conftest.S 1>&5'
12978 cat > conftest.S
<<EOF
12979 #include "$ac_abs_top_srcdir/$asm_dir/lzo1x_f1.S"
12982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mfx_compile_S\""; } >&5
12983 (eval $mfx_compile_S) 2>&5
12985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12986 test $ac_status = 0; }; then
12987 if { ac_try
='test -s conftest.$ac_objext'
12988 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12989 (eval $ac_try) 2>&5
12991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12992 test $ac_status = 0; }; }; then
12994 eval asm_msg_
$asm_arch="'yes [$asm_dir]'"
12995 eval LZO_USE_ASM_
$asm_mode=yes
12998 if test "X$enable_asm" = Xno
; then
12999 echo "configure: failed program was:" >&5
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_asm" >&5
13005 $as_echo "$enable_asm" >&6; }
13007 if test "X$LZO_USE_ASM_i386_src_gas" != Xno
; then
13008 LZO_USE_ASM_i386_src_gas_TRUE
=
13009 LZO_USE_ASM_i386_src_gas_FALSE
='#'
13011 LZO_USE_ASM_i386_src_gas_TRUE
='#'
13012 LZO_USE_ASM_i386_src_gas_FALSE
=
13016 LZO_USE_ASM_i386_obj_elf32_TRUE
=
13017 LZO_USE_ASM_i386_obj_elf32_FALSE
='#'
13019 LZO_USE_ASM_i386_obj_elf32_TRUE
='#'
13020 LZO_USE_ASM_i386_obj_elf32_FALSE
=
13025 # /***********************************************************************
13026 # // Write output files
13027 # ************************************************************************/
13030 mfx_tmp
="-I$srcdir"
13031 mfx_save_CPPFLAGS
=$CPPFLAGS
13032 test "X$mfx_tmp" = "X" || CPPFLAGS
="$mfx_tmp $CPPFLAGS"
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether your compiler passes the ACC conformance test" >&5
13035 $as_echo_n "checking whether your compiler passes the ACC conformance test... " >&6; }
13037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13039 #define ACC_CONFIG_NO_HEADER 1
13040 #define ACC_WANT_ACC_INCD_H 1
13041 #include "src/miniacc.h"
13043 #undef ACCCHK_ASSERT
13044 #define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT_HEADER(expr)
13045 #define ACC_WANT_ACC_CHK_CH 1
13046 #include "src/miniacc.h"
13048 #undef ACCCHK_ASSERT
13049 #define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT(expr)
13050 static void test_acc_compile_time_assert(void) {
13051 #define ACC_WANT_ACC_CHK_CH 1
13052 #include "src/miniacc.h"
13056 #include <assert.h>
13057 #undef ACCCHK_ASSERT
13058 #define ACCCHK_ASSERT(expr) assert(expr);
13059 static int test_acc_run_time_assert(int r) {
13060 #define ACC_WANT_ACC_CHK_CH 1
13061 #include "src/miniacc.h"
13069 test_acc_compile_time_assert();
13070 if (test_acc_run_time_assert(1) != 1) return 1;
13079 if ac_fn_c_try_compile
"$LINENO"; then :
13082 rm -f core conftest.err conftest.
$ac_objext
13083 rm -f conftest.
$ac_ext conftest.
$ac_objext
13085 CPPFLAGS
=$mfx_save_CPPFLAGS
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
13088 $as_echo "$mfx_tmp" >&6; }
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
13093 $as_echo "$as_me: " >&6;}
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: Your compiler failed the ACC conformance test - for details see " >&5
13095 $as_echo "$as_me: Your compiler failed the ACC conformance test - for details see " >&6;}
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: \`config.log'. Please check that log file and consider sending" >&5
13097 $as_echo "$as_me: \`config.log'. Please check that log file and consider sending" >&6;}
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&5
13099 $as_echo "$as_me: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&6;}
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: Thanks for your support." >&5
13101 $as_echo "$as_me: Thanks for your support." >&6;}
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
13103 $as_echo "$as_me: " >&6;}
13104 as_fn_error $?
"ACC conformance test failed. Stop." "$LINENO" 5
13109 if test -r .Conf.settings2
; then
13110 . .
/.Conf.settings2
13113 my_DEFS
="-DLZO_HAVE_CONFIG_H=1"
13114 if test "X$enable_asm" != Xno
; then
13115 my_DEFS
="$my_DEFS -DLZO_USE_ASM=1"
13119 ac_config_files
="$ac_config_files Makefile"
13121 cat >confcache
<<\_ACEOF
13122 # This file is a shell script that caches the results of configure
13123 # tests run on this system so they can be shared between configure
13124 # scripts and configure runs, see configure's option --config-cache.
13125 # It is not useful on other systems. If it contains results you don't
13126 # want to keep, you may remove or edit it.
13128 # config.status only pays attention to the cache file if you give it
13129 # the --recheck option to rerun configure.
13131 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13132 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13133 # following values.
13137 # The following way of writing the cache mishandles newlines in values,
13138 # but we know of no workaround that is simple, portable, and efficient.
13139 # So, we kill variables containing newlines.
13140 # Ultrix sh set writes to stderr and can't be redirected directly,
13141 # and sets the high bit in the cache file unless we assign to the vars.
13143 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13144 eval ac_val
=\$
$ac_var
13148 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13149 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13152 _ | IFS | as_nl
) ;; #(
13153 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13154 *) { eval $ac_var=; unset $ac_var;} ;;
13160 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13161 *${as_nl}ac_space
=\
*)
13162 # `set' does not quote correctly, so add quotes: double-quote
13163 # substitution turns \\\\ into \\, and sed turns \\ into \.
13166 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13169 # `set' quotes correctly as required by POSIX, so do not add quotes.
13170 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13179 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13181 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13183 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13184 if test -w "$cache_file"; then
13185 test "x$cache_file" != "x/dev/null" &&
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13187 $as_echo "$as_me: updating cache $cache_file" >&6;}
13188 cat confcache
>$cache_file
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13191 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13196 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13197 # Let make expand exec_prefix.
13198 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13200 DEFS
=-DHAVE_CONFIG_H
13205 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13206 # 1. Remove the extension, and $U if already installed.
13207 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13208 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13209 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13210 # will be set to the directory where LIBOBJS objects are built.
13211 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13212 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13214 LIBOBJS
=$ac_libobjs
13216 LTLIBOBJS
=$ac_ltlibobjs
13219 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13220 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
13221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13223 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13224 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13227 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
13228 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
13229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13232 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13233 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13236 if test -n "$EXEEXT"; then
13238 am__EXEEXT_FALSE
='#'
13240 am__EXEEXT_TRUE
='#'
13244 if test -z "${LZO_USE_ASM_i386_src_gas_TRUE}" && test -z "${LZO_USE_ASM_i386_src_gas_FALSE}"; then
13245 as_fn_error $?
"conditional \"LZO_USE_ASM_i386_src_gas\" was never defined.
13246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13248 if test -z "${LZO_USE_ASM_i386_obj_elf32_TRUE}" && test -z "${LZO_USE_ASM_i386_obj_elf32_FALSE}"; then
13249 as_fn_error $?
"conditional \"LZO_USE_ASM_i386_obj_elf32\" was never defined.
13250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13253 test "X$DEFS" = "X-DHAVE_CONFIG_H" && DEFS
=
13254 test "X$DEFS" != "X" && DEFS
="$DEFS "
13255 DEFS
="${DEFS}${my_DEFS}"
13258 : ${CONFIG_STATUS=./config.status}
13260 ac_clean_files_save
=$ac_clean_files
13261 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13263 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13265 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13267 # Generated by $as_me.
13268 # Run this file to recreate the current configuration.
13269 # Compiler output produced by configure, useful for debugging
13270 # configure, is in config.log if it exists.
13273 ac_cs_recheck=false
13276 SHELL=\${CONFIG_SHELL-$SHELL}
13279 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13280 ## -------------------- ##
13281 ## M4sh Initialization. ##
13282 ## -------------------- ##
13284 # Be more Bourne compatible
13285 DUALCASE
=1; export DUALCASE
# for MKS sh
13286 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13289 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13290 # is contrary to our usage. Disable this feature.
13291 alias -g '${1+"$@"}'='"$@"'
13292 setopt NO_GLOB_SUBST
13294 case `(set -o) 2>/dev/null` in #(
13306 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13307 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13308 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13309 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13310 # Prefer a ksh shell builtin over an external printf program on Solaris,
13311 # but without wasting forks for bash or zsh.
13312 if test -z "$BASH_VERSION$ZSH_VERSION" \
13313 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13314 as_echo='print
-r --'
13315 as_echo_n='print
-rn --'
13316 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13317 as_echo='printf %s
\n'
13318 as_echo_n='printf %s
'
13320 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13321 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13322 as_echo_n='/usr
/ucb
/echo -n'
13324 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13325 as_echo_n_body='eval
13329 expr "X$arg" : "X\\(.*\\)$as_nl";
13330 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13332 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13334 export as_echo_n_body
13335 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13337 export as_echo_body
13338 as_echo='sh
-c $as_echo_body as_echo
'
13341 # The user is always right.
13342 if test "${PATH_SEPARATOR+set}" != set; then
13344 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13345 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13352 # We need space, tab and new line, in precisely that order. Quoting is
13353 # there to prevent editors from complaining about space-tab.
13354 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13355 # splitting by setting IFS to empty value.)
13358 # Find who we are. Look in the path if we contain no directory separator.
13360 *[\\/]* ) as_myself=$0 ;;
13361 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13362 for as_dir in $PATH
13365 test -z "$as_dir" && as_dir=.
13366 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13372 # We did not find ourselves, most probably we were run as `sh COMMAND'
13373 # in which case we are not to be found in the path.
13374 if test "x$as_myself" = x
; then
13377 if test ! -f "$as_myself"; then
13378 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13382 # Unset variables that we do not need and which cause bugs (e.g. in
13383 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13384 # suppresses any "Segmentation fault" message there. '((' could
13385 # trigger a bug in pdksh 5.2.14.
13386 for as_var
in BASH_ENV ENV MAIL MAILPATH
13387 do eval test x\
${$as_var+set} = xset \
13388 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13401 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13404 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13405 # ----------------------------------------
13406 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13407 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13408 # script with STATUS, using 1 if that was 0.
13411 as_status
=$1; test $as_status -eq 0 && as_status
=1
13413 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13416 $as_echo "$as_me: error: $2" >&2
13417 as_fn_exit
$as_status
13421 # as_fn_set_status STATUS
13422 # -----------------------
13423 # Set $? to STATUS, without forking.
13424 as_fn_set_status
()
13427 } # as_fn_set_status
13429 # as_fn_exit STATUS
13430 # -----------------
13431 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13435 as_fn_set_status
$1
13441 # Portably unset VAR.
13444 { eval $1=; unset $1;}
13446 as_unset
=as_fn_unset
13447 # as_fn_append VAR VALUE
13448 # ----------------------
13449 # Append the text in VALUE to the end of the definition contained in VAR. Take
13450 # advantage of any shell optimizations that allow amortized linear growth over
13451 # repeated appends, instead of the typical quadratic growth present in naive
13453 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13454 eval 'as_fn_append ()
13465 # as_fn_arith ARG...
13466 # ------------------
13467 # Perform arithmetic evaluation on the ARGs, and store the result in the
13468 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13469 # must be portable across $(()) and expr.
13470 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13471 eval 'as_fn_arith ()
13478 as_val
=`expr "$@" || test $? -eq 1`
13483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13490 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13491 as_basename
=basename
13496 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13502 as_me
=`$as_basename -- "$0" ||
13503 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13504 X"$0" : 'X\(//\)$' \| \
13505 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13507 sed '/^.*\/\([^/][^/]*\)\/*$/{
13521 # Avoid depending upon Character Ranges.
13522 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13523 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13524 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13525 as_cr_digits
='0123456789'
13526 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13528 ECHO_C
= ECHO_N
= ECHO_T
=
13529 case `echo -n x` in #(((((
13531 case `echo 'xy\c'` in
13532 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13534 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13541 rm -f conf$$ conf$$.exe conf$$.
file
13542 if test -d conf$$.dir
; then
13543 rm -f conf$$.dir
/conf$$.
file
13546 mkdir conf$$.dir
2>/dev
/null
13548 if (echo >conf$$.
file) 2>/dev
/null
; then
13549 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13551 # ... but there are two gotchas:
13552 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13553 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13554 # In both cases, we have to default to `cp -p'.
13555 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13557 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13565 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13566 rmdir conf$$.dir
2>/dev
/null
13571 # Create "$as_dir" as a directory, including parents if necessary.
13576 -*) as_dir
=.
/$as_dir;;
13578 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13582 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13583 *) as_qdir
=$as_dir;;
13585 as_dirs
="'$as_qdir' $as_dirs"
13586 as_dir
=`$as_dirname -- "$as_dir" ||
13587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13588 X"$as_dir" : 'X\(//\)[^/]' \| \
13589 X"$as_dir" : 'X\(//\)$' \| \
13590 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13591 $as_echo X"$as_dir" |
13592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13596 /^X\(\/\/\)[^/].*/{
13609 test -d "$as_dir" && break
13611 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13612 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13616 if mkdir
-p .
2>/dev
/null
; then
13617 as_mkdir_p
='mkdir -p "$as_dir"'
13619 test -d .
/-p && rmdir .
/-p
13623 if test -x / >/dev
/null
2>&1; then
13624 as_test_x
='test -x'
13626 if ls -dL / >/dev
/null
2>&1; then
13633 if test -d "$1"; then
13639 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13640 ???[sx]*):;;*)false;;esac;fi
13644 as_executable_p
=$as_test_x
13646 # Sed expression to map a string onto a valid CPP name.
13647 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13649 # Sed expression to map a string onto a valid variable name.
13650 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13654 ## ----------------------------------- ##
13655 ## Main body of $CONFIG_STATUS script. ##
13656 ## ----------------------------------- ##
13658 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13661 # Save the log message, to keep $0 and so on meaningful, and to
13662 # report actual input values of CONFIG_FILES etc. instead of their
13663 # values after options handling.
13665 This file was extended by LZO $as_me 2.06, which was
13666 generated by GNU Autoconf 2.67. Invocation command line was
13668 CONFIG_FILES = $CONFIG_FILES
13669 CONFIG_HEADERS = $CONFIG_HEADERS
13670 CONFIG_LINKS = $CONFIG_LINKS
13671 CONFIG_COMMANDS = $CONFIG_COMMANDS
13674 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13679 case $ac_config_files in *"
13680 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13683 case $ac_config_headers in *"
13684 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13689 # Files that config.status was made for.
13690 config_files="$ac_config_files"
13691 config_headers="$ac_config_headers"
13692 config_commands="$ac_config_commands"
13696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13698 \`$as_me' instantiates files and other configuration actions
13699 from templates according to the current configuration. Unless the files
13700 and actions are specified as TAGs, all are instantiated by default.
13702 Usage: $0 [OPTION]... [TAG]...
13704 -h, --help print this help, then exit
13705 -V, --version print version number and configuration settings, then exit
13706 --config print configuration, then exit
13707 -q, --quiet, --silent
13708 do not print progress messages
13709 -d, --debug don't remove temporary files
13710 --recheck update $as_me by reconfiguring in the same conditions
13711 --file=FILE[:TEMPLATE]
13712 instantiate the configuration file FILE
13713 --header=FILE[:TEMPLATE]
13714 instantiate the configuration header FILE
13716 Configuration files:
13719 Configuration headers:
13722 Configuration commands:
13725 Report bugs to <markus@oberhumer.com>.
13726 LZO home page: <http://www.oberhumer.com/opensource/lzo/>."
13729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13730 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13732 LZO config.status 2.06
13733 configured by $0, generated by GNU Autoconf 2.67,
13734 with options \\"\$ac_cs_config\\"
13736 Copyright (C) 2010 Free Software Foundation, Inc.
13737 This config.status script is free software; the Free Software Foundation
13738 gives unlimited permission to copy, distribute and modify it."
13745 test -n "\$AWK" || AWK=awk
13748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13749 # The default lists apply if the user does not specify any file.
13755 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13756 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13760 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13772 # Handling of the options.
13773 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13775 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13776 $as_echo "$ac_cs_version"; exit ;;
13777 --config |
--confi |
--conf |
--con |
--co |
--c )
13778 $as_echo "$ac_cs_config"; exit ;;
13779 --debug |
--debu |
--deb |
--de |
--d |
-d )
13781 --file |
--fil |
--fi |
--f )
13784 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13785 '') as_fn_error $?
"missing file argument" ;;
13787 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13788 ac_need_defaults
=false
;;
13789 --header |
--heade |
--head |
--hea )
13792 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13794 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13795 ac_need_defaults
=false
;;
13797 # Conflict between --help and --header
13798 as_fn_error $?
"ambiguous option: \`$1'
13799 Try \`$0 --help' for more information.";;
13800 --help |
--hel |
-h )
13801 $as_echo "$ac_cs_usage"; exit ;;
13802 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13803 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13806 # This is an error.
13807 -*) as_fn_error $?
"unrecognized option: \`$1'
13808 Try \`$0 --help' for more information." ;;
13810 *) as_fn_append ac_config_targets
" $1"
13811 ac_need_defaults
=false
;;
13817 ac_configure_extra_args
=
13819 if $ac_cs_silent; then
13821 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13826 if \$ac_cs_recheck; then
13827 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13829 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13830 CONFIG_SHELL='$SHELL'
13831 export CONFIG_SHELL
13836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13840 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13841 ## Running $as_me. ##
13847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13851 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13854 # The HP-UX ksh and POSIX shell print the target directory to stdout
13855 # if CDPATH is set.
13856 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13858 sed_quote_subst='$sed_quote_subst'
13859 double_quote_subst='$double_quote_subst'
13860 delay_variable_subst='$delay_variable_subst'
13861 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13862 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13863 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13864 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13865 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13866 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13867 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13868 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13869 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13870 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13871 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13872 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13873 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13874 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13875 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13876 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13877 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13878 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13879 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13880 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13881 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13882 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13883 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13884 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13885 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13886 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13887 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13888 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13889 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13890 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13891 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13892 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13893 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13894 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13895 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13896 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13897 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13898 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13899 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13900 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13901 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13902 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13903 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13904 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13905 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13906 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13907 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13908 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13909 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"`'
13910 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13911 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13912 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13913 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13914 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13915 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13916 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13917 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13918 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13919 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13920 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13921 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13922 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13923 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13924 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13925 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13926 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13927 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13928 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13929 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13930 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13931 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13932 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13933 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13934 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13935 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13936 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13937 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13938 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13939 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13940 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13941 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13942 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13943 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13944 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13945 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13946 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13947 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13948 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13949 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13950 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13951 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13952 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13953 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13954 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13955 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13956 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13957 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13958 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13959 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13960 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13961 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13962 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13963 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13964 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13965 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13966 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13967 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13968 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13969 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13970 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13971 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13972 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13973 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13974 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13975 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13976 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13977 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13978 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13979 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13980 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13983 LTCFLAGS='$LTCFLAGS'
13984 compiler='$compiler_DEFAULT'
13986 # A function that is used when there is no print builtin or printf.
13987 func_fallback_echo ()
13989 eval 'cat <<_LTECHO_EOF
13994 # Quote evaled strings.
14008 deplibs_check_method \
14017 lt_cv_sys_global_symbol_pipe \
14018 lt_cv_sys_global_symbol_to_cdecl \
14019 lt_cv_sys_global_symbol_to_c_name_address \
14020 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14021 lt_prog_compiler_no_builtin_flag \
14022 lt_prog_compiler_wl \
14023 lt_prog_compiler_pic \
14024 lt_prog_compiler_static \
14025 lt_cv_prog_compiler_c_o \
14033 export_dynamic_flag_spec \
14034 whole_archive_flag_spec \
14035 compiler_needs_object \
14037 allow_undefined_flag \
14038 no_undefined_flag \
14039 hardcode_libdir_flag_spec \
14040 hardcode_libdir_flag_spec_ld \
14041 hardcode_libdir_separator \
14046 variables_saved_for_relink \
14048 library_names_spec \
14050 install_override_mode \
14054 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14055 *[\\\\\\\`\\"\\\$]*)
14056 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14059 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14064 # Double-quote double-evaled strings.
14065 for var in reload_cmds \
14066 old_postinstall_cmds \
14067 old_postuninstall_cmds \
14069 extract_expsyms_cmds \
14070 old_archive_from_new_cmds \
14071 old_archive_from_expsyms_cmds \
14073 archive_expsym_cmds \
14075 module_expsym_cmds \
14076 export_symbols_cmds \
14079 postuninstall_cmds \
14081 sys_lib_search_path_spec \
14082 sys_lib_dlsearch_path_spec; do
14083 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14084 *[\\\\\\\`\\"\\\$]*)
14085 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14088 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14093 ac_aux_dir='$ac_aux_dir'
14094 xsi_shell='$xsi_shell'
14095 lt_shell_append='$lt_shell_append'
14097 # See if we are running on zsh, and set the options which allow our
14098 # commands through without removal of \ escapes INIT.
14099 if test -n "\${ZSH_VERSION+set}" ; then
14100 setopt NO_GLOB_SUBST
14106 TIMESTAMP='$TIMESTAMP'
14115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14117 # Handling of arguments.
14118 for ac_config_target
in $ac_config_targets
14120 case $ac_config_target in
14121 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14122 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
14123 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14124 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14126 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14131 # If the user did not use the arguments to specify the items to instantiate,
14132 # then the envvar interface is used. Set only those that are not.
14133 # We use the long form for the default assignment because of an extremely
14134 # bizarre bug on SunOS 4.1.3.
14135 if $ac_need_defaults; then
14136 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14137 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14138 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14141 # Have a temporary directory for convenience. Make it in the build tree
14142 # simply because there is no reason against having it here, and in addition,
14143 # creating and moving files from /tmp can sometimes cause problems.
14144 # Hook for its removal unless debugging.
14145 # Note that there is a small window in which the directory will not be cleaned:
14146 # after its creation but before its name has been assigned to `$tmp'.
14150 trap 'exit_status=$?
14151 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14153 trap 'as_fn_exit 1' 1 2 13 15
14155 # Create a (secure) tmp directory for tmp files.
14158 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14159 test -n "$tmp" && test -d "$tmp"
14162 tmp
=.
/conf$$
-$RANDOM
14163 (umask 077 && mkdir
"$tmp")
14164 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14166 # Set up the scripts for CONFIG_FILES section.
14167 # No need to generate them if there are no CONFIG_FILES.
14168 # This happens for instance with `./config.status config.h'.
14169 if test -n "$CONFIG_FILES"; then
14172 ac_cr
=`echo X | tr X '\015'`
14173 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14174 # But we know of no other shell where ac_cr would be empty at this
14175 # point, so we can use a bashism as a fallback.
14176 if test "x$ac_cr" = x
; then
14177 eval ac_cr
=\$
\'\\r
\'
14179 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14180 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14183 ac_cs_awk_cr
=$ac_cr
14186 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14191 echo "cat >conf$$subs.awk <<_ACEOF" &&
14192 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14194 } >conf$$subs.sh ||
14195 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14196 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14198 for ac_last_try in false false false false false :; do
14199 . ./conf$$subs.sh ||
14200 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14202 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14203 if test $ac_delim_n = $ac_delim_num; then
14205 elif $ac_last_try; then
14206 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14208 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14211 rm -f conf$$subs.sh
14213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14214 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14218 s/^/S["/; s
/!.
*/"]=/
14228 s/\(.\{148\}\)..*/\1/
14230 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14235 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14242 s/\(.\{148\}\)..*/\1/
14244 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14248 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14253 ' <conf$$subs.awk | sed '
14258 ' >>$CONFIG_STATUS || ac_write_fail=1
14259 rm -f conf$$subs.awk
14260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14262 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14263 for (key in S) S_is_set[key] = 1
14269 nfields = split(line, field, "@
")
14271 len = length(field[1])
14272 for (i = 2; i < nfields; i++) {
14274 keylen = length(key)
14275 if (S_is_set[key]) {
14277 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14278 len += length(value) + length(field[++i])
14289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14290 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14291 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14294 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14295 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14298 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14299 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14300 # trailing colons and then remove the whole line if VPATH becomes empty
14301 # (actually we leave an empty line to preserve line numbers).
14302 if test "x
$srcdir" = x.; then
14303 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14322 fi # test -n "$CONFIG_FILES"
14324 # Set up the scripts for CONFIG_HEADERS section.
14325 # No need to generate them if there are no CONFIG_HEADERS.
14326 # This happens for instance with `./config.status Makefile'.
14327 if test -n "$CONFIG_HEADERS"; then
14328 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14332 # Transform confdefs.h into an awk script `defines.awk', embedded as
14333 # here-document in config.status, that substitutes the proper values into
14334 # config.h.in to produce config.h.
14336 # Create a delimiter string that does not exist in confdefs.h, to ease
14337 # handling of long lines.
14339 for ac_last_try in false false :; do
14340 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14341 if test -z "$ac_t"; then
14343 elif $ac_last_try; then
14344 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14346 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14350 # For the awk script, D is an array of macro values keyed by name,
14351 # likewise P contains macro parameters if any. Preserve backslash
14352 # newline sequences.
14354 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14356 s/.\{148\}/&'"$ac_delim"'/g
14359 s/^[ ]*#[ ]*define[ ][ ]*/ /
14366 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14368 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14372 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14373 D["\
1"]=" \
3\\\\\\n
"\\/p
14375 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14380 s/.\{148\}/&'"$ac_delim"'/g
14385 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14388 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14390 ' <confdefs.h | sed '
14391 s/'"$ac_delim"'/"\\\
14392 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14395 for (key in D) D_is_set[key] = 1
14398 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14400 split(line, arg, " ")
14401 if (arg[1] == "#") {
14405 defundef
= substr
(arg
[1], 2)
14408 split(mac1
, mac2
, "(") #)
14410 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14411 if (D_is_set
[macro
]) {
14412 # Preserve the white space surrounding the "#".
14413 print prefix
"define", macro P
[macro
] D
[macro
]
14416 # Replace #undef with comments. This is necessary, for example,
14417 # in the case of _POSIX_SOURCE, which is predefined and required
14418 # on some systems where configure will not decide to define it.
14419 if (defundef
== "undef") {
14420 print
"/*", prefix defundef
, macro
, "*/"
14428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14429 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14430 fi # test -n "$CONFIG_HEADERS"
14433 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14438 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14440 case $ac_mode$ac_tag in
14442 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14443 :[FH
]-) ac_tag
=-:-;;
14444 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14461 -) ac_f
="$tmp/stdin";;
14462 *) # Look for the file first in the build tree, then in the source tree
14463 # (if the path is not absolute). The absolute path cannot be DOS-style,
14464 # because $ac_f cannot contain `:'.
14468 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14470 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14472 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14473 as_fn_append ac_file_inputs
" '$ac_f'"
14476 # Let's still pretend it is `configure' which instantiates (i.e., don't
14477 # use $as_me), people would be surprised to read:
14478 # /* config.h. Generated by config.status. */
14479 configure_input
='Generated from '`
14480 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14482 if test x
"$ac_file" != x-
; then
14483 configure_input
="$ac_file. $configure_input"
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14485 $as_echo "$as_me: creating $ac_file" >&6;}
14487 # Neutralize special characters interpreted by sed in replacement strings.
14488 case $configure_input in #(
14489 *\
&* |
*\|
* |
*\\* )
14490 ac_sed_conf_input
=`$as_echo "$configure_input" |
14491 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14492 *) ac_sed_conf_input
=$configure_input;;
14496 *:-:* |
*:-) cat >"$tmp/stdin" \
14497 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14502 ac_dir
=`$as_dirname -- "$ac_file" ||
14503 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14504 X"$ac_file" : 'X\(//\)[^/]' \| \
14505 X"$ac_file" : 'X\(//\)$' \| \
14506 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14507 $as_echo X"$ac_file" |
14508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14512 /^X\(\/\/\)[^/].*/{
14525 as_dir
="$ac_dir"; as_fn_mkdir_p
14529 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14531 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14532 # A ".." for each directory in $ac_dir_suffix.
14533 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14534 case $ac_top_builddir_sub in
14535 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14536 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14539 ac_abs_top_builddir
=$ac_pwd
14540 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14541 # for backward compatibility:
14542 ac_top_builddir
=$ac_top_build_prefix
14545 .
) # We are building in place.
14547 ac_top_srcdir
=$ac_top_builddir_sub
14548 ac_abs_top_srcdir
=$ac_pwd ;;
14549 [\\/]* | ?
:[\\/]* ) # Absolute name.
14550 ac_srcdir
=$srcdir$ac_dir_suffix;
14551 ac_top_srcdir
=$srcdir
14552 ac_abs_top_srcdir
=$srcdir ;;
14553 *) # Relative name.
14554 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14555 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14556 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14558 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14568 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14569 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14571 ac_MKDIR_P
=$MKDIR_P
14573 [\\/$
]* | ?
:[\\/]* ) ;;
14574 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14579 # If the template does not know about datarootdir, expand it.
14580 # FIXME: This hack should be removed a few years after 2.60.
14581 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14592 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14593 *datarootdir
*) ac_datarootdir_seen
=yes;;
14594 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14596 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14599 ac_datarootdir_hack='
14600 s&@datadir@&$datadir&g
14601 s&@docdir@&$docdir&g
14602 s&@infodir@&$infodir&g
14603 s&@localedir@&$localedir&g
14604 s&@mandir@&$mandir&g
14605 s&\\\${datarootdir}&$datarootdir&g' ;;
14609 # Neutralize VPATH when `$srcdir' = `.'.
14610 # Shell code in configure.ac might set extrasub.
14611 # FIXME: do we really want to maintain this feature?
14612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14613 ac_sed_extra="$ac_vpsub
14616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14618 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14619 s|@configure_input@|
$ac_sed_conf_input|
;t t
14620 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14621 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14622 s
&@srcdir@
&$ac_srcdir&;t t
14623 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14624 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14625 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14626 s
&@builddir@
&$ac_builddir&;t t
14627 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14628 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14629 s
&@INSTALL@
&$ac_INSTALL&;t t
14630 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14631 $ac_datarootdir_hack
14633 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14634 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14636 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14637 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14638 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14640 which seems to be undefined. Please make sure it is defined" >&5
14641 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14642 which seems to be undefined. Please make sure it is defined" >&2;}
14646 -) cat "$tmp/out" && rm -f "$tmp/out";;
14647 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14655 if test x"$ac_file" != x-; then
14657 $as_echo "/* $configure_input */" \
14658 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14659 } >"$tmp/config.h" \
14660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14661 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14663 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14666 mv "$tmp/config.h" "$ac_file" \
14667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14670 $as_echo "/* $configure_input */" \
14671 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14672 || as_fn_error $? "could not create -" "$LINENO" 5
14674 # Compute "$ac_file"'s index
in $config_headers.
14677 for _am_header
in $config_headers :; do
14678 case $_am_header in
14679 $_am_arg |
$_am_arg:* )
14682 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14685 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14686 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14687 X"$_am_arg" : 'X\(//\)[^/]' \| \
14688 X"$_am_arg" : 'X\(//\)$' \| \
14689 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14690 $as_echo X"$_am_arg" |
14691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14695 /^X\(\/\/\)[^/].*/{
14707 s/.*/./; q'`/stamp-h
$_am_stamp_count
14710 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14711 $as_echo "$as_me: executing $ac_file commands" >&6;}
14716 case $ac_file$ac_mode in
14717 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14718 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14719 # are listed without --file. Let's play safe and only enable the eval
14720 # if we detect the quoting.
14721 case $CONFIG_FILES in
14722 *\'*) eval set x
"$CONFIG_FILES" ;;
14723 *) set x
$CONFIG_FILES ;;
14728 # Strip MF so we end up with the name of the file.
14729 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14730 # Check whether this is an Automake generated Makefile or not.
14731 # We used to match only the files named `Makefile.in', but
14732 # some people rename them; so instead we look at the file content.
14733 # Grep'ing the first line is not enough: some people post-process
14734 # each Makefile.in and add a new line on top of each file to say so.
14735 # Grep'ing the whole file is not good either: AIX grep has a line
14736 # limit of 2048, but all sed's we know have understand at least 4000.
14737 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14738 dirpart
=`$as_dirname -- "$mf" ||
14739 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14740 X"$mf" : 'X\(//\)[^/]' \| \
14741 X"$mf" : 'X\(//\)$' \| \
14742 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14748 /^X\(\/\/\)[^/].*/{
14764 # Extract the definition of DEPDIR, am__include, and am__quote
14765 # from the Makefile without running `make'.
14766 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14767 test -z "$DEPDIR" && continue
14768 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14769 test -z "am__include" && continue
14770 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14771 # When using ansi2knr, U may be empty or an underscore; expand it
14772 U
=`sed -n 's/^U = //p' < "$mf"`
14773 # Find all dependency output files, they are included files with
14774 # $(DEPDIR) in their names. We invoke sed twice because it is the
14775 # simplest approach to changing $(DEPDIR) to its actual value in the
14777 for file in `sed -n "
14778 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14779 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14780 # Make sure the directory exists.
14781 test -f "$dirpart/$file" && continue
14782 fdir
=`$as_dirname -- "$file" ||
14783 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14784 X"$file" : 'X\(//\)[^/]' \| \
14785 X"$file" : 'X\(//\)$' \| \
14786 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14787 $as_echo X"$file" |
14788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14792 /^X\(\/\/\)[^/].*/{
14805 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14806 # echo "creating $dirpart/$file"
14807 echo '# dummy' > "$dirpart/$file"
14814 # See if we are running on zsh, and set the options which allow our
14815 # commands through without removal of \ escapes.
14816 if test -n "${ZSH_VERSION+set}" ; then
14817 setopt NO_GLOB_SUBST
14820 cfgfile
="${ofile}T"
14821 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14824 cat <<_LT_EOF >> "$cfgfile"
14827 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14828 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14829 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14830 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14832 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14833 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14835 # Written by Gordon Matzigkeit, 1996
14837 # This file is part of GNU Libtool.
14839 # GNU Libtool is free software; you can redistribute it and/or
14840 # modify it under the terms of the GNU General Public License as
14841 # published by the Free Software Foundation; either version 2 of
14842 # the License, or (at your option) any later version.
14844 # As a special exception to the GNU General Public License,
14845 # if you distribute this file as part of a program or library that
14846 # is built using GNU Libtool, you may include this file under the
14847 # same distribution terms that you use for the rest of that program.
14849 # GNU Libtool is distributed in the hope that it will be useful,
14850 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14851 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14852 # GNU General Public License for more details.
14854 # You should have received a copy of the GNU General Public License
14855 # along with GNU Libtool; see the file COPYING. If not, a copy
14856 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14857 # obtained by writing to the Free Software Foundation, Inc.,
14858 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14861 # The names of the tagged configurations supported by this script.
14864 # ### BEGIN LIBTOOL CONFIG
14866 # Whether or not to build static libraries.
14867 build_old_libs=$enable_static
14869 # Whether or not to build shared libraries.
14870 build_libtool_libs=$enable_shared
14872 # Which release of libtool.m4 was used?
14873 macro_version=$macro_version
14874 macro_revision=$macro_revision
14876 # What type of objects to build.
14879 # Whether or not to optimize for fast installation.
14880 fast_install=$enable_fast_install
14882 # Shell to use when invoking shell scripts.
14885 # An echo program that protects backslashes.
14889 host_alias=$host_alias
14893 # The build system.
14894 build_alias=$build_alias
14898 # A sed program that does not truncate output.
14901 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14902 Xsed="\$SED -e 1s/^X//"
14904 # A grep program that handles long lines.
14910 # A literal string matcher.
14913 # A BSD- or MS-compatible name lister.
14916 # Whether we need soft or hard links.
14919 # What is the maximum length of a command?
14920 max_cmd_len=$max_cmd_len
14922 # Object file suffix (normally "o").
14925 # Executable file suffix (normally "").
14928 # whether the shell understands "unset".
14931 # turn spaces into newlines.
14934 # turn newlines into spaces.
14937 # An object symbol dumper.
14938 OBJDUMP=$lt_OBJDUMP
14940 # Method to check whether dependent libraries are shared objects.
14941 deplibs_check_method=$lt_deplibs_check_method
14943 # Command to use when deplibs_check_method == "file_magic".
14944 file_magic_cmd=$lt_file_magic_cmd
14948 AR_FLAGS=$lt_AR_FLAGS
14950 # A symbol stripping program.
14953 # Commands used to install an old-style archive.
14955 old_postinstall_cmds=$lt_old_postinstall_cmds
14956 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14958 # Whether to use a lock for old archive extraction.
14959 lock_old_archive_extraction=$lock_old_archive_extraction
14964 # LTCC compiler flags.
14965 LTCFLAGS=$lt_CFLAGS
14967 # Take the output of nm and produce a listing of raw symbols and C names.
14968 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14970 # Transform the output of nm in a proper C declaration.
14971 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14973 # Transform the output of nm in a C name address pair.
14974 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14976 # Transform the output of nm in a C name address pair when lib prefix is needed.
14977 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14979 # The name of the directory that contains temporary libtool files.
14982 # Used to examine libraries when file_magic_cmd begins with "file".
14983 MAGIC_CMD=$MAGIC_CMD
14985 # Must we lock files when doing compilation?
14986 need_locks=$lt_need_locks
14988 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14989 DSYMUTIL=$lt_DSYMUTIL
14991 # Tool to change global to local symbols on Mac OS X.
14994 # Tool to manipulate fat objects and archives on Mac OS X.
14997 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15000 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15001 OTOOL64=$lt_OTOOL64
15003 # Old archive suffix (normally "a").
15006 # Shared library suffix (normally ".so").
15007 shrext_cmds=$lt_shrext_cmds
15009 # The commands to extract the exported symbol list from a shared archive.
15010 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15012 # Variables whose values should be saved in libtool wrapper scripts and
15013 # restored at link time.
15014 variables_saved_for_relink=$lt_variables_saved_for_relink
15016 # Do we need the "lib" prefix for modules?
15017 need_lib_prefix=$need_lib_prefix
15019 # Do we need a version for libraries?
15020 need_version=$need_version
15022 # Library versioning type.
15023 version_type=$version_type
15025 # Shared library runtime path variable.
15026 runpath_var=$runpath_var
15028 # Shared library path variable.
15029 shlibpath_var=$shlibpath_var
15031 # Is shlibpath searched before the hard-coded library search path?
15032 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15034 # Format of library name prefix.
15035 libname_spec=$lt_libname_spec
15037 # List of archive names. First name is the real one, the rest are links.
15038 # The last name is the one that the linker finds with -lNAME
15039 library_names_spec=$lt_library_names_spec
15041 # The coded name of the library, if different from the real name.
15042 soname_spec=$lt_soname_spec
15044 # Permission mode override for installation of shared libraries.
15045 install_override_mode=$lt_install_override_mode
15047 # Command to use after installation of a shared archive.
15048 postinstall_cmds=$lt_postinstall_cmds
15050 # Command to use after uninstallation of a shared archive.
15051 postuninstall_cmds=$lt_postuninstall_cmds
15053 # Commands used to finish a libtool library installation in a directory.
15054 finish_cmds=$lt_finish_cmds
15056 # As "finish_cmds", except a single script fragment to be evaled but
15058 finish_eval=$lt_finish_eval
15060 # Whether we should hardcode library paths into libraries.
15061 hardcode_into_libs=$hardcode_into_libs
15063 # Compile-time system search path for libraries.
15064 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15066 # Run-time system search path for libraries.
15067 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15069 # Whether dlopen is supported.
15070 dlopen_support=$enable_dlopen
15072 # Whether dlopen of programs is supported.
15073 dlopen_self=$enable_dlopen_self
15075 # Whether dlopen of statically linked programs is supported.
15076 dlopen_self_static=$enable_dlopen_self_static
15078 # Commands to strip libraries.
15079 old_striplib=$lt_old_striplib
15080 striplib=$lt_striplib
15083 # The linker used to build libraries.
15086 # How to create reloadable object files.
15087 reload_flag=$lt_reload_flag
15088 reload_cmds=$lt_reload_cmds
15090 # Commands used to build an old-style archive.
15091 old_archive_cmds=$lt_old_archive_cmds
15093 # A language specific compiler.
15096 # Is the compiler the GNU compiler?
15099 # Compiler flag to turn off builtin functions.
15100 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15102 # How to pass a linker flag through the compiler.
15103 wl=$lt_lt_prog_compiler_wl
15105 # Additional compiler flags for building library objects.
15106 pic_flag=$lt_lt_prog_compiler_pic
15108 # Compiler flag to prevent dynamic linking.
15109 link_static_flag=$lt_lt_prog_compiler_static
15111 # Does compiler simultaneously support -c and -o options?
15112 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15114 # Whether or not to add -lc for building shared libraries.
15115 build_libtool_need_lc=$archive_cmds_need_lc
15117 # Whether or not to disallow shared libs when runtime libs are static.
15118 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15120 # Compiler flag to allow reflexive dlopens.
15121 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15123 # Compiler flag to generate shared objects directly from archives.
15124 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15126 # Whether the compiler copes with passing no objects directly.
15127 compiler_needs_object=$lt_compiler_needs_object
15129 # Create an old-style archive from a shared archive.
15130 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15132 # Create a temporary old-style archive to link instead of a shared archive.
15133 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15135 # Commands used to build a shared archive.
15136 archive_cmds=$lt_archive_cmds
15137 archive_expsym_cmds=$lt_archive_expsym_cmds
15139 # Commands used to build a loadable module if different from building
15140 # a shared archive.
15141 module_cmds=$lt_module_cmds
15142 module_expsym_cmds=$lt_module_expsym_cmds
15144 # Whether we are building with GNU ld or not.
15145 with_gnu_ld=$lt_with_gnu_ld
15147 # Flag that allows shared libraries with undefined symbols to be built.
15148 allow_undefined_flag=$lt_allow_undefined_flag
15150 # Flag that enforces no undefined symbols.
15151 no_undefined_flag=$lt_no_undefined_flag
15153 # Flag to hardcode \$libdir into a binary during linking.
15154 # This must work even if \$libdir does not exist
15155 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15157 # If ld is used when linking, flag to hardcode \$libdir into a binary
15158 # during linking. This must work even if \$libdir does not exist.
15159 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15161 # Whether we need a single "-rpath" flag with a separated argument.
15162 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15164 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15165 # DIR into the resulting binary.
15166 hardcode_direct=$hardcode_direct
15168 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15169 # DIR into the resulting binary and the resulting library dependency is
15170 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15171 # library is relocated.
15172 hardcode_direct_absolute=$hardcode_direct_absolute
15174 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15175 # into the resulting binary.
15176 hardcode_minus_L=$hardcode_minus_L
15178 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15179 # into the resulting binary.
15180 hardcode_shlibpath_var=$hardcode_shlibpath_var
15182 # Set to "yes" if building a shared library automatically hardcodes DIR
15183 # into the library and all subsequent libraries and executables linked
15185 hardcode_automatic=$hardcode_automatic
15187 # Set to yes if linker adds runtime paths of dependent libraries
15188 # to runtime path list.
15189 inherit_rpath=$inherit_rpath
15191 # Whether libtool must link a program against all its dependency libraries.
15192 link_all_deplibs=$link_all_deplibs
15194 # Fix the shell variable \$srcfile for the compiler.
15195 fix_srcfile_path=$lt_fix_srcfile_path
15197 # Set to "yes" if exported symbols are required.
15198 always_export_symbols=$always_export_symbols
15200 # The commands to list exported symbols.
15201 export_symbols_cmds=$lt_export_symbols_cmds
15203 # Symbols that should not be listed in the preloaded symbols.
15204 exclude_expsyms=$lt_exclude_expsyms
15206 # Symbols that must always be exported.
15207 include_expsyms=$lt_include_expsyms
15209 # Commands necessary for linking programs (against libraries) with templates.
15210 prelink_cmds=$lt_prelink_cmds
15212 # Specify filename containing input files.
15213 file_list_spec=$lt_file_list_spec
15215 # How to hardcode a shared library path into an executable.
15216 hardcode_action=$hardcode_action
15218 # ### END LIBTOOL CONFIG
15224 cat <<\_LT_EOF
>> "$cfgfile"
15225 # AIX sometimes has problems with the GCC collect2 program. For some
15226 # reason, if we set the COLLECT_NAMES environment variable, the problems
15227 # vanish in a puff of smoke.
15228 if test "X${COLLECT_NAMES+set}" != Xset
; then
15230 export COLLECT_NAMES
15237 ltmain
="$ac_aux_dir/ltmain.sh"
15240 # We use sed instead of cat because bash on DJGPP gets confused if
15241 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15242 # text mode, it properly converts lines to CR/LF. This bash problem
15243 # is reportedly fixed, but why not run on old versions too?
15244 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15245 ||
(rm -f "$cfgfile"; exit 1)
15249 cat << \_LT_EOF
>> "$cfgfile"
15251 # func_dirname file append nondir_replacement
15252 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15253 # otherwise set result to NONDIR_REPLACEMENT.
15257 */*) func_dirname_result
="${1%/*}${2}" ;;
15258 * ) func_dirname_result
="${3}" ;;
15262 # func_basename file
15265 func_basename_result
="${1##*/}"
15268 # func_dirname_and_basename file append nondir_replacement
15269 # perform func_basename and func_dirname in a single function
15271 # dirname: Compute the dirname of FILE. If nonempty,
15272 # add APPEND to the result, otherwise set result
15273 # to NONDIR_REPLACEMENT.
15274 # value returned in "$func_dirname_result"
15275 # basename: Compute filename of FILE.
15276 # value retuned in "$func_basename_result"
15277 # Implementation must be kept synchronized with func_dirname
15278 # and func_basename. For efficiency, we do not delegate to
15279 # those functions but instead duplicate the functionality here.
15280 func_dirname_and_basename
()
15283 */*) func_dirname_result
="${1%/*}${2}" ;;
15284 * ) func_dirname_result
="${3}" ;;
15286 func_basename_result
="${1##*/}"
15289 # func_stripname prefix suffix name
15290 # strip PREFIX and SUFFIX off of NAME.
15291 # PREFIX and SUFFIX must not contain globbing or regex special
15292 # characters, hashes, percent signs, but SUFFIX may contain a leading
15293 # dot (in which case that matches only a dot).
15296 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15297 # positional parameters, so assign one to ordinary parameter first.
15298 func_stripname_result
=${3}
15299 func_stripname_result
=${func_stripname_result#"${1}"}
15300 func_stripname_result
=${func_stripname_result%"${2}"}
15306 func_opt_split_opt
=${1%%=*}
15307 func_opt_split_arg
=${1#*=}
15314 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15315 *) func_lo2o_result
=${1} ;;
15319 # func_xform libobj-or-source
15322 func_xform_result
=${1%.*}.lo
15325 # func_arith arithmetic-term...
15328 func_arith_result
=$
(( $
* ))
15332 # STRING may not start with a hyphen.
15335 func_len_result
=${#1}
15340 *) # Bourne compatible functions.
15341 cat << \_LT_EOF
>> "$cfgfile"
15343 # func_dirname file append nondir_replacement
15344 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15345 # otherwise set result to NONDIR_REPLACEMENT.
15348 # Extract subdirectory from the argument.
15349 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15350 if test "X$func_dirname_result" = "X${1}"; then
15351 func_dirname_result
="${3}"
15353 func_dirname_result
="$func_dirname_result${2}"
15357 # func_basename file
15360 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15364 # func_stripname prefix suffix name
15365 # strip PREFIX and SUFFIX off of NAME.
15366 # PREFIX and SUFFIX must not contain globbing or regex special
15367 # characters, hashes, percent signs, but SUFFIX may contain a leading
15368 # dot (in which case that matches only a dot).
15369 # func_strip_suffix prefix name
15373 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15374 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15379 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15380 my_sed_long_arg
='1s/^-[^=]*=//'
15385 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15386 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15392 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15395 # func_xform libobj-or-source
15398 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15401 # func_arith arithmetic-term...
15404 func_arith_result
=`expr "$@"`
15408 # STRING may not start with a hyphen.
15411 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15417 case $lt_shell_append in
15419 cat << \_LT_EOF
>> "$cfgfile"
15421 # func_append var value
15422 # Append VALUE to the end of shell variable VAR.
15430 cat << \_LT_EOF
>> "$cfgfile"
15432 # func_append var value
15433 # Append VALUE to the end of shell variable VAR.
15444 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15445 ||
(rm -f "$cfgfile"; exit 1)
15447 mv -f "$cfgfile" "$ofile" ||
15448 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15459 ac_clean_files
=$ac_clean_files_save
15461 test $ac_write_fail = 0 ||
15462 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15465 # configure is writing to config.log, and then calls config.status.
15466 # config.status does its own redirection, appending to config.log.
15467 # Unfortunately, on DOS this fails, as config.log is still kept open
15468 # by configure, so config.status won't be able to write to it; its
15469 # output is simply discarded. So we exec the FD to /dev/null,
15470 # effectively closing config.log, so it can be properly (re)opened and
15471 # appended to by config.status. When coming back to configure, we
15472 # need to make the FD available again.
15473 if test "$no_create" != yes; then
15475 ac_config_status_args
=
15476 test "$silent" = yes &&
15477 ac_config_status_args
="$ac_config_status_args --quiet"
15479 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15481 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15482 # would make configure fail if this is the last instruction.
15483 $ac_cs_success || as_fn_exit
1
15485 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15487 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15492 ## enable AMD64 assembly code : ${asm_msg_amd64}
15495 LZO configuration summary
15496 -------------------------
15497 LZO version : ${PACKAGE_VERSION}
15498 configured for host : ${host_cpu}-${host_vendor}-${host_os}
15499 source code location : ${srcdir}
15501 preprocessor definitions : ${DEFS}
15502 preprocessor flags : ${CPPFLAGS}
15503 compiler flags : ${CFLAGS}
15504 build static library : ${enable_static}
15505 build shared library : ${enable_shared}
15506 enable i386 assembly code : ${asm_msg_i386}
15509 LZO ${PACKAGE_VERSION} configured.
15511 Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
15512 All Rights Reserved.
15514 The LZO library is free software; you can redistribute it and/or
15515 modify it under the terms of the GNU General Public License as
15516 published by the Free Software Foundation; either version 2 of
15517 the License, or (at your option) any later version.
15519 The LZO library is distributed in the hope that it will be useful,
15520 but WITHOUT ANY WARRANTY; without even the implied warranty of
15521 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15522 GNU General Public License for more details.
15524 Markus F.X.J. Oberhumer
15525 <markus@oberhumer.com>
15526 http://www.oberhumer.com/opensource/lzo/
15529 Type \`make' to build LZO. Type \`make install' to install LZO.
15530 After installing LZO, please read the accompanied documentation.