2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for LZO 2.10.
5 # Report bugs to <markus@oberhumer.com>.
7 # Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer.
9 # This configure script may be copied, distributed and modified under the
10 # terms of the GNU General Public License; see COPYING for more details.
13 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
16 # This configure script is free software; the Free Software Foundation
17 # gives unlimited permission to copy, distribute and modify it.
18 ## -------------------- ##
19 ## M4sh Initialization. ##
20 ## -------------------- ##
22 # Be more Bourne compatible
23 DUALCASE=1; export DUALCASE # for MKS sh
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28 # is contrary to our usage. Disable this feature.
29 alias -g '${1+"$@"}'='"$@"'
32 case `(set -o) 2>/dev/null` in #(
44 # Printing a long string crashes Solaris 7 /usr/bin/printf.
45 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48 # Prefer a ksh shell builtin over an external printf program on Solaris,
49 # but without wasting forks for bash or zsh.
50 if test -z "$BASH_VERSION$ZSH_VERSION" \
51 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
53 as_echo_n='print -rn --'
54 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
58 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
60 as_echo_n='/usr/ucb/echo -n'
62 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
67 expr "X$arg" : "X\\(.*\\)$as_nl";
68 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
70 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73 as_echo_n='sh -c $as_echo_n_body as_echo'
76 as_echo='sh -c $as_echo_body as_echo'
79 # The user is always right.
80 if test "${PATH_SEPARATOR+set}" != set; then
82 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
83 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
99 *[\\/]* ) as_myself=$0 ;;
100 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
104 test -z "$as_dir" && as_dir=.
105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
111 # We did not find ourselves, most probably we were run as `sh COMMAND'
112 # in which case we are not to be found in the path.
113 if test "x$as_myself" = x; then
116 if test ! -f "$as_myself"; then
117 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
121 # Unset variables that we do not need and which cause bugs (e.g. in
122 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
123 # suppresses any "Segmentation fault" message there. '((' could
124 # trigger a bug in pdksh 5.2.14.
125 for as_var in BASH_ENV ENV MAIL MAILPATH
126 do eval test x\${$as_var+set} = xset \
127 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
140 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
142 # Use a proper internal environment variable to ensure we don't fall
143 # into an infinite loop, continuously re-executing ourselves.
144 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
145 _as_can_reexec=no; export _as_can_reexec;
146 # We cannot yet assume a decent shell, so we have to provide a
147 # neutralization value for shells without unset; and this also
148 # works around shells that cannot unset nonexistent variables.
149 # Preserve -v and -x to the replacement shell.
152 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
154 *v*x* | *x*v* ) as_opts=-vx ;;
159 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
160 # Admittedly, this is quite paranoid, since all the known shells bail
161 # out after a failed `exec'.
162 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
165 # We don't want this to propagate to other subprocesses.
166 { _as_can_reexec=; unset _as_can_reexec;}
167 if test "x$CONFIG_SHELL" = x; then
168 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
171 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
172 # is contrary to our usage. Disable this feature.
173 alias -g '\${1+\"\$@\"}'='\"\$@\"'
176 case \`(set -o) 2>/dev/null\` in #(
184 as_required="as_fn_return () { (exit \$1); }
185 as_fn_success () { as_fn_return 0; }
186 as_fn_failure () { as_fn_return 1; }
187 as_fn_ret_success () { return 0; }
188 as_fn_ret_failure () { return 1; }
191 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
192 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
193 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
194 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
195 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
198 exitcode=1; echo positional parameters were not saved.
200 test x\$exitcode = x0 || exit 1
202 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
203 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
204 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
205 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
206 test \$(( 1 + 1 )) = 2 || exit 1
208 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
209 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
210 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
211 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
212 PATH=/empty FPATH=/empty; export PATH FPATH
213 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
214 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
215 if (eval "$as_required") 2>/dev/null; then :
220 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
232 for as_base in sh bash ksh sh5; do
233 # Try only shells that exist, to save several forks.
234 as_shell=$as_dir/$as_base
235 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
236 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
237 CONFIG_SHELL=$as_shell as_have_required=yes
238 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
246 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
247 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
248 CONFIG_SHELL=$SHELL as_have_required=yes
253 if test "x$CONFIG_SHELL" != x; then :
255 # We cannot yet assume a decent shell, so we have to provide a
256 # neutralization value for shells without unset; and this also
257 # works around shells that cannot unset nonexistent variables.
258 # Preserve -v and -x to the replacement shell.
261 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
263 *v*x* | *x*v* ) as_opts=-vx ;;
268 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
269 # Admittedly, this is quite paranoid, since all the known shells bail
270 # out after a failed `exec'.
271 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
275 if test x$as_have_required = xno; then :
276 $as_echo "$0: This script requires a shell more modern than all"
277 $as_echo "$0: the shells that I found on your system."
278 if test x${ZSH_VERSION+set} = xset ; then
279 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
280 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
282 $as_echo "$0: Please tell bug-autoconf@gnu.org and
283 $0: markus@oberhumer.com about your system, including any
284 $0: error possibly output before this message. Then install
285 $0: a modern shell, or manually run the script under such a
286 $0: shell if you do have one."
292 SHELL=${CONFIG_SHELL-/bin/sh}
294 # Unset more variables known to interfere with behavior of common tools.
295 CLICOLOR_FORCE= GREP_OPTIONS=
296 unset CLICOLOR_FORCE GREP_OPTIONS
298 ## --------------------- ##
299 ## M4sh Shell Functions. ##
300 ## --------------------- ##
303 # Portably unset VAR.
306 { eval $1=; unset $1;}
310 # as_fn_set_status STATUS
311 # -----------------------
312 # Set $? to STATUS, without forking.
320 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
330 # Create "$as_dir" as a directory, including parents if necessary.
335 -*) as_dir=./$as_dir;;
337 test -d "$as_dir" || eval $as_mkdir_p || {
341 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
344 as_dirs="'$as_qdir' $as_dirs"
345 as_dir=`$as_dirname -- "$as_dir" ||
346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
347 X"$as_dir" : 'X\(//\)[^/]' \| \
348 X"$as_dir" : 'X\(//\)$' \| \
349 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
350 $as_echo X"$as_dir" |
351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
368 test -d "$as_dir" && break
370 test -z "$as_dirs" || eval "mkdir $as_dirs"
371 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
376 # as_fn_executable_p FILE
377 # -----------------------
378 # Test if FILE is an executable regular file.
379 as_fn_executable_p ()
381 test -f "$1" && test -x "$1"
382 } # as_fn_executable_p
383 # as_fn_append VAR VALUE
384 # ----------------------
385 # Append the text in VALUE to the end of the definition contained in VAR. Take
386 # advantage of any shell optimizations that allow amortized linear growth over
387 # repeated appends, instead of the typical quadratic growth present in naive
389 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
390 eval 'as_fn_append ()
403 # Perform arithmetic evaluation on the ARGs, and store the result in the
404 # global $as_val. Take advantage of shells that can avoid forks. The arguments
405 # must be portable across $(()) and expr.
406 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
414 as_val=`expr "$@" || test $? -eq 1`
419 # as_fn_error STATUS ERROR [LINENO LOG_FD]
420 # ----------------------------------------
421 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
422 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
423 # script with STATUS, using 1 if that was 0.
426 as_status=$1; test $as_status -eq 0 && as_status=1
428 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
429 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
431 $as_echo "$as_me: error: $2" >&2
432 as_fn_exit $as_status
435 if expr a : '\(a\)' >/dev/null 2>&1 &&
436 test "X`expr 00001 : '.*\(...\)'`" = X001; then
442 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
448 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
454 as_me=`$as_basename -- "$0" ||
455 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
456 X"$0" : 'X\(//\)$' \| \
457 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
459 sed '/^.*\/\([^/][^/]*\)\/*$/{
473 # Avoid depending upon Character Ranges.
474 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
475 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
476 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
477 as_cr_digits='0123456789'
478 as_cr_alnum=$as_cr_Letters$as_cr_digits
481 as_lineno_1=$LINENO as_lineno_1a=$LINENO
482 as_lineno_2=$LINENO as_lineno_2a=$LINENO
483 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
484 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
485 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
497 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
501 chmod +x "$as_me.lineno" ||
502 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
504 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
505 # already done that, so ensure we don't try to do so again and fall
506 # in an infinite loop. This has already happened in practice.
507 _as_can_reexec=no; export _as_can_reexec
508 # Don't try to exec as it changes $[0], causing all sort of problems
509 # (the dirname of $[0] is not the place where we might find the
510 # original and so on. Autoconf is especially sensitive to this).
512 # Exit status is that of the last command.
516 ECHO_C= ECHO_N= ECHO_T=
517 case `echo -n x` in #(((((
519 case `echo 'xy\c'` in
520 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
522 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
529 rm -f conf$$ conf$$.exe conf$$.file
530 if test -d conf$$.dir; then
531 rm -f conf$$.dir/conf$$.file
534 mkdir conf$$.dir 2>/dev/null
536 if (echo >conf$$.file) 2>/dev/null; then
537 if ln -s conf$$.file conf$$ 2>/dev/null; then
539 # ... but there are two gotchas:
540 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
541 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
542 # In both cases, we have to default to `cp -pR'.
543 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
545 elif ln conf$$.file conf$$ 2>/dev/null; then
553 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
554 rmdir conf$$.dir 2>/dev/null
556 if mkdir -p . 2>/dev/null; then
557 as_mkdir_p='mkdir -p "$as_dir"'
559 test -d ./-p && rmdir ./-p
564 as_executable_p=as_fn_executable_p
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
572 SHELL=${CONFIG_SHELL-/bin/sh}
575 test -n "$DJDIR" || exec 7<&0 </dev/null
579 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix=/usr/local
588 ac_config_libobj_dir=.
595 # Identity of this package.
597 PACKAGE_TARNAME='lzo'
598 PACKAGE_VERSION='2.10'
599 PACKAGE_STRING='LZO 2.10'
600 PACKAGE_BUGREPORT='markus@oberhumer.com'
601 PACKAGE_URL='http://www.oberhumer.com/opensource/lzo/'
603 ac_unique_file="src/lzo_init.c"
604 ac_default_prefix=/usr/local
605 # Factoring default headers for most tests.
606 ac_includes_default="\
608 #ifdef HAVE_SYS_TYPES_H
609 # include <sys/types.h>
611 #ifdef HAVE_SYS_STAT_H
612 # include <sys/stat.h>
618 # ifdef HAVE_STDLIB_H
623 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
628 #ifdef HAVE_STRINGS_H
629 # include <strings.h>
631 #ifdef HAVE_INTTYPES_H
632 # include <inttypes.h>
641 ac_subst_vars='am__EXEEXT_FALSE
645 LZO_USE_ASM_i386_obj_elf32_FALSE
646 LZO_USE_ASM_i386_obj_elf32_TRUE
647 LZO_USE_ASM_i386_src_gas_FALSE
648 LZO_USE_ASM_i386_src_gas_TRUE
681 INSTALL_STRIP_PROGRAM
699 am__fastdepCCAS_FALSE
722 MAINTAINER_MODE_FALSE
763 program_transform_name
776 enable_option_checking
777 enable_maintainer_mode
778 enable_dependency_tracking
791 ac_precious_vars='build_alias
804 # Initialize some variables set by options.
806 ac_init_version=false
807 ac_unrecognized_opts=
809 # The variables have the same names as the options, with
810 # dashes changed to underlines.
818 program_transform_name=s,x,x,
826 # Installation directory options.
827 # These are left unexpanded so users can "make install exec_prefix=/foo"
828 # and all the variables that are supposed to be based on exec_prefix
829 # by default will actually change.
830 # Use braces instead of parens because sh, perl, etc. also accept them.
831 # (The list follows the same order as the GNU Coding Standards.)
832 bindir='${exec_prefix}/bin'
833 sbindir='${exec_prefix}/sbin'
834 libexecdir='${exec_prefix}/libexec'
835 datarootdir='${prefix}/share'
836 datadir='${datarootdir}'
837 sysconfdir='${prefix}/etc'
838 sharedstatedir='${prefix}/com'
839 localstatedir='${prefix}/var'
840 includedir='${prefix}/include'
841 oldincludedir='/usr/include'
842 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
843 infodir='${datarootdir}/info'
848 libdir='${exec_prefix}/lib'
849 localedir='${datarootdir}/locale'
850 mandir='${datarootdir}/man'
856 # If the previous option needs an argument, assign it.
857 if test -n "$ac_prev"; then
858 eval $ac_prev=\$ac_option
864 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
869 # Accept the important Cygnus configure options, so we can diagnose typos.
871 case $ac_dashdash$ac_option in
875 -bindir | --bindir | --bindi | --bind | --bin | --bi)
877 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
880 -build | --build | --buil | --bui | --bu)
881 ac_prev=build_alias ;;
882 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
883 build_alias=$ac_optarg ;;
885 -cache-file | --cache-file | --cache-fil | --cache-fi \
886 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
887 ac_prev=cache_file ;;
888 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
889 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
890 cache_file=$ac_optarg ;;
893 cache_file=config.cache ;;
895 -datadir | --datadir | --datadi | --datad)
897 -datadir=* | --datadir=* | --datadi=* | --datad=*)
898 datadir=$ac_optarg ;;
900 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
901 | --dataroo | --dataro | --datar)
902 ac_prev=datarootdir ;;
903 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
904 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
905 datarootdir=$ac_optarg ;;
907 -disable-* | --disable-*)
908 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
909 # Reject names that are not valid shell variable names.
910 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
911 as_fn_error $? "invalid feature name: $ac_useropt"
912 ac_useropt_orig=$ac_useropt
913 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
914 case $ac_user_opts in
918 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
919 ac_unrecognized_sep=', ';;
921 eval enable_$ac_useropt=no ;;
923 -docdir | --docdir | --docdi | --doc | --do)
925 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
928 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
930 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
933 -enable-* | --enable-*)
934 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
935 # Reject names that are not valid shell variable names.
936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
937 as_fn_error $? "invalid feature name: $ac_useropt"
938 ac_useropt_orig=$ac_useropt
939 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
940 case $ac_user_opts in
944 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
945 ac_unrecognized_sep=', ';;
947 eval enable_$ac_useropt=\$ac_optarg ;;
949 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
950 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
951 | --exec | --exe | --ex)
952 ac_prev=exec_prefix ;;
953 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
954 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
955 | --exec=* | --exe=* | --ex=*)
956 exec_prefix=$ac_optarg ;;
958 -gas | --gas | --ga | --g)
959 # Obsolete; use --with-gas.
962 -help | --help | --hel | --he | -h)
964 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
965 ac_init_help=recursive ;;
966 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
967 ac_init_help=short ;;
969 -host | --host | --hos | --ho)
970 ac_prev=host_alias ;;
971 -host=* | --host=* | --hos=* | --ho=*)
972 host_alias=$ac_optarg ;;
974 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
976 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
978 htmldir=$ac_optarg ;;
980 -includedir | --includedir | --includedi | --included | --include \
981 | --includ | --inclu | --incl | --inc)
982 ac_prev=includedir ;;
983 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
984 | --includ=* | --inclu=* | --incl=* | --inc=*)
985 includedir=$ac_optarg ;;
987 -infodir | --infodir | --infodi | --infod | --info | --inf)
989 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
990 infodir=$ac_optarg ;;
992 -libdir | --libdir | --libdi | --libd)
994 -libdir=* | --libdir=* | --libdi=* | --libd=*)
997 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
998 | --libexe | --libex | --libe)
999 ac_prev=libexecdir ;;
1000 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1001 | --libexe=* | --libex=* | --libe=*)
1002 libexecdir=$ac_optarg ;;
1004 -localedir | --localedir | --localedi | --localed | --locale)
1005 ac_prev=localedir ;;
1006 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1007 localedir=$ac_optarg ;;
1009 -localstatedir | --localstatedir | --localstatedi | --localstated \
1010 | --localstate | --localstat | --localsta | --localst | --locals)
1011 ac_prev=localstatedir ;;
1012 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1013 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1014 localstatedir=$ac_optarg ;;
1016 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1018 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1019 mandir=$ac_optarg ;;
1021 -nfp | --nfp | --nf)
1022 # Obsolete; use --without-fp.
1025 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1026 | --no-cr | --no-c | -n)
1029 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1030 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1033 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1034 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1035 | --oldin | --oldi | --old | --ol | --o)
1036 ac_prev=oldincludedir ;;
1037 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1038 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1039 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1040 oldincludedir=$ac_optarg ;;
1042 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1044 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1045 prefix=$ac_optarg ;;
1047 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1048 | --program-pre | --program-pr | --program-p)
1049 ac_prev=program_prefix ;;
1050 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1051 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1052 program_prefix=$ac_optarg ;;
1054 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1055 | --program-suf | --program-su | --program-s)
1056 ac_prev=program_suffix ;;
1057 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1058 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1059 program_suffix=$ac_optarg ;;
1061 -program-transform-name | --program-transform-name \
1062 | --program-transform-nam | --program-transform-na \
1063 | --program-transform-n | --program-transform- \
1064 | --program-transform | --program-transfor \
1065 | --program-transfo | --program-transf \
1066 | --program-trans | --program-tran \
1067 | --progr-tra | --program-tr | --program-t)
1068 ac_prev=program_transform_name ;;
1069 -program-transform-name=* | --program-transform-name=* \
1070 | --program-transform-nam=* | --program-transform-na=* \
1071 | --program-transform-n=* | --program-transform-=* \
1072 | --program-transform=* | --program-transfor=* \
1073 | --program-transfo=* | --program-transf=* \
1074 | --program-trans=* | --program-tran=* \
1075 | --progr-tra=* | --program-tr=* | --program-t=*)
1076 program_transform_name=$ac_optarg ;;
1078 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1080 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1081 pdfdir=$ac_optarg ;;
1083 -psdir | --psdir | --psdi | --psd | --ps)
1085 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1089 | -silent | --silent | --silen | --sile | --sil)
1092 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1094 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1096 sbindir=$ac_optarg ;;
1098 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1099 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1100 | --sharedst | --shareds | --shared | --share | --shar \
1102 ac_prev=sharedstatedir ;;
1103 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1104 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1105 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1107 sharedstatedir=$ac_optarg ;;
1109 -site | --site | --sit)
1111 -site=* | --site=* | --sit=*)
1114 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1116 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1117 srcdir=$ac_optarg ;;
1119 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1120 | --syscon | --sysco | --sysc | --sys | --sy)
1121 ac_prev=sysconfdir ;;
1122 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1123 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1124 sysconfdir=$ac_optarg ;;
1126 -target | --target | --targe | --targ | --tar | --ta | --t)
1127 ac_prev=target_alias ;;
1128 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1129 target_alias=$ac_optarg ;;
1131 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1134 -version | --version | --versio | --versi | --vers | -V)
1135 ac_init_version=: ;;
1138 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141 as_fn_error $? "invalid package name: $ac_useropt"
1142 ac_useropt_orig=$ac_useropt
1143 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1149 ac_unrecognized_sep=', ';;
1151 eval with_$ac_useropt=\$ac_optarg ;;
1153 -without-* | --without-*)
1154 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157 as_fn_error $? "invalid package name: $ac_useropt"
1158 ac_useropt_orig=$ac_useropt
1159 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160 case $ac_user_opts in
1164 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1165 ac_unrecognized_sep=', ';;
1167 eval with_$ac_useropt=no ;;
1170 # Obsolete; use --with-x.
1173 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1174 | --x-incl | --x-inc | --x-in | --x-i)
1175 ac_prev=x_includes ;;
1176 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1177 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1178 x_includes=$ac_optarg ;;
1180 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1181 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1182 ac_prev=x_libraries ;;
1183 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1184 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1185 x_libraries=$ac_optarg ;;
1187 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1188 Try \`$0 --help' for more information"
1192 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1193 # Reject names that are not valid shell variable names.
1194 case $ac_envvar in #(
1195 '' | [0-9]* | *[!_$as_cr_alnum]* )
1196 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1198 eval $ac_envvar=\$ac_optarg
1199 export $ac_envvar ;;
1202 # FIXME: should be removed in autoconf 3.0.
1203 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1204 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1205 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1206 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1212 if test -n "$ac_prev"; then
1213 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1214 as_fn_error $? "missing argument to $ac_option"
1217 if test -n "$ac_unrecognized_opts"; then
1218 case $enable_option_checking in
1220 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1221 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1225 # Check all directory arguments for consistency.
1226 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1227 datadir sysconfdir sharedstatedir localstatedir includedir \
1228 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1229 libdir localedir mandir
1231 eval ac_val=\$$ac_var
1232 # Remove trailing slashes.
1235 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1236 eval $ac_var=\$ac_val;;
1238 # Be sure to have absolute directory names.
1240 [\\/$]* | ?:[\\/]* ) continue;;
1241 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1243 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1246 # There might be people who depend on the old broken behavior: `$host'
1247 # used to hold the argument of --host etc.
1248 # FIXME: To remove some day.
1251 target=$target_alias
1253 # FIXME: To remove some day.
1254 if test "x$host_alias" != x; then
1255 if test "x$build_alias" = x; then
1256 cross_compiling=maybe
1257 elif test "x$build_alias" != "x$host_alias"; then
1263 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1265 test "$silent" = yes && exec 6>/dev/null
1268 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1269 ac_ls_di=`ls -di .` &&
1270 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1271 as_fn_error $? "working directory cannot be determined"
1272 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1273 as_fn_error $? "pwd does not report name of working directory"
1276 # Find the source files, if location was not specified.
1277 if test -z "$srcdir"; then
1278 ac_srcdir_defaulted=yes
1279 # Try the directory containing this script, then the parent directory.
1280 ac_confdir=`$as_dirname -- "$as_myself" ||
1281 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1282 X"$as_myself" : 'X\(//\)[^/]' \| \
1283 X"$as_myself" : 'X\(//\)$' \| \
1284 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1285 $as_echo X"$as_myself" |
1286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1308 ac_srcdir_defaulted=no
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1311 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1312 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1314 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1316 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1318 # When building in place, set srcdir=.
1319 if test "$ac_abs_confdir" = "$ac_pwd"; then
1322 # Remove unnecessary trailing slashes from srcdir.
1323 # Double slashes in file names in object file debugging info
1324 # mess up M-x gdb in Emacs.
1326 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1328 for ac_var in $ac_precious_vars; do
1329 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1330 eval ac_env_${ac_var}_value=\$${ac_var}
1331 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1332 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1336 # Report the --help message.
1338 if test "$ac_init_help" = "long"; then
1339 # Omit some internal or obsolete options to make the list less imposing.
1340 # This message is too long to be a string in the A/UX 3.1 sh.
1342 \`configure' configures LZO 2.10 to adapt to many kinds of systems.
1344 Usage: $0 [OPTION]... [VAR=VALUE]...
1346 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1347 VAR=VALUE. See below for descriptions of some of the useful variables.
1349 Defaults for the options are specified in brackets.
1352 -h, --help display this help and exit
1353 --help=short display options specific to this package
1354 --help=recursive display the short help of all the included packages
1355 -V, --version display version information and exit
1356 -q, --quiet, --silent do not print \`checking ...' messages
1357 --cache-file=FILE cache test results in FILE [disabled]
1358 -C, --config-cache alias for \`--cache-file=config.cache'
1359 -n, --no-create do not create output files
1360 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1362 Installation directories:
1363 --prefix=PREFIX install architecture-independent files in PREFIX
1364 [$ac_default_prefix]
1365 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1368 By default, \`make install' will install all the files in
1369 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1370 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1371 for instance \`--prefix=\$HOME'.
1373 For better control, use the options below.
1375 Fine tuning of the installation directories:
1376 --bindir=DIR user executables [EPREFIX/bin]
1377 --sbindir=DIR system admin executables [EPREFIX/sbin]
1378 --libexecdir=DIR program executables [EPREFIX/libexec]
1379 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1380 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1381 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1382 --libdir=DIR object code libraries [EPREFIX/lib]
1383 --includedir=DIR C header files [PREFIX/include]
1384 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1385 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1386 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1387 --infodir=DIR info documentation [DATAROOTDIR/info]
1388 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1389 --mandir=DIR man documentation [DATAROOTDIR/man]
1390 --docdir=DIR documentation root [DATAROOTDIR/doc/lzo]
1391 --htmldir=DIR html documentation [DOCDIR]
1392 --dvidir=DIR dvi documentation [DOCDIR]
1393 --pdfdir=DIR pdf documentation [DOCDIR]
1394 --psdir=DIR ps documentation [DOCDIR]
1400 --program-prefix=PREFIX prepend PREFIX to installed program names
1401 --program-suffix=SUFFIX append SUFFIX to installed program names
1402 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1405 --build=BUILD configure for building on BUILD [guessed]
1406 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1407 --target=TARGET configure for building compilers for TARGET [HOST]
1411 if test -n "$ac_init_help"; then
1412 case $ac_init_help in
1413 short | recursive ) echo "Configuration of LZO 2.10:";;
1418 --disable-option-checking ignore unrecognized --enable/--with options
1419 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1420 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1421 --enable-maintainer-mode
1422 enable make rules and dependencies not useful (and
1423 sometimes confusing) to the casual installer
1424 --enable-dependency-tracking
1425 do not reject slow dependency extractors
1426 --disable-dependency-tracking
1427 speeds up one-time build
1428 --disable-largefile omit support for large files
1429 --enable-silent-rules less verbose build output (undo: "make V=1")
1430 --disable-silent-rules verbose build output (undo: "make V=0")
1431 --enable-static[=PKGS] build static libraries [default=yes]
1432 --enable-shared[=PKGS] build shared libraries [default=no]
1433 --enable-fast-install[=PKGS]
1434 optimize for fast installation [default=yes]
1435 --disable-libtool-lock avoid locking (might break parallel builds)
1436 --disable-asm disable assembly versions
1439 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1440 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1441 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1443 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1444 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1445 compiler's sysroot if not specified).
1446 --with-pkgconfigdir pkg-config installation directory
1447 ['${libdir}/pkgconfig']
1449 Some influential environment variables:
1450 CC C compiler command
1451 CFLAGS C compiler flags
1452 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1453 nonstandard directory <lib dir>
1454 LIBS libraries to pass to the linker, e.g. -l<library>
1455 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1456 you have headers in a nonstandard directory <include dir>
1457 CCAS assembler compiler command (defaults to CC)
1458 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1461 Use these variables to override the choices made by `configure' or to help
1462 it to find libraries and programs with nonstandard names/locations.
1464 Report bugs to <markus@oberhumer.com>.
1465 LZO home page: <http://www.oberhumer.com/opensource/lzo/>.
1470 if test "$ac_init_help" = "recursive"; then
1471 # If there are subdirs, report their specific --help.
1472 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1473 test -d "$ac_dir" ||
1474 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1479 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1481 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1482 # A ".." for each directory in $ac_dir_suffix.
1483 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1484 case $ac_top_builddir_sub in
1485 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1486 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1489 ac_abs_top_builddir=$ac_pwd
1490 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1491 # for backward compatibility:
1492 ac_top_builddir=$ac_top_build_prefix
1495 .) # We are building in place.
1497 ac_top_srcdir=$ac_top_builddir_sub
1498 ac_abs_top_srcdir=$ac_pwd ;;
1499 [\\/]* | ?:[\\/]* ) # Absolute name.
1500 ac_srcdir=$srcdir$ac_dir_suffix;
1501 ac_top_srcdir=$srcdir
1502 ac_abs_top_srcdir=$srcdir ;;
1504 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1505 ac_top_srcdir=$ac_top_build_prefix$srcdir
1506 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1508 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1510 cd "$ac_dir" || { ac_status=$?; continue; }
1511 # Check for guested configure.
1512 if test -f "$ac_srcdir/configure.gnu"; then
1514 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1515 elif test -f "$ac_srcdir/configure"; then
1517 $SHELL "$ac_srcdir/configure" --help=recursive
1519 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1521 cd "$ac_pwd" || { ac_status=$?; break; }
1525 test -n "$ac_init_help" && exit $ac_status
1526 if $ac_init_version; then
1529 generated by GNU Autoconf 2.69
1531 Copyright (C) 2012 Free Software Foundation, Inc.
1532 This configure script is free software; the Free Software Foundation
1533 gives unlimited permission to copy, distribute and modify it.
1535 Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer.
1536 All Rights Reserved.
1537 This configure script may be copied, distributed and modified under the
1538 terms of the GNU General Public License; see COPYING for more details.
1543 ## ------------------------ ##
1544 ## Autoconf initialization. ##
1545 ## ------------------------ ##
1547 # ac_fn_c_try_compile LINENO
1548 # --------------------------
1549 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1550 ac_fn_c_try_compile ()
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 rm -f conftest.$ac_objext
1554 if { { ac_try="$ac_compile"
1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_compile") 2>conftest.err
1563 if test -s conftest.err; then
1564 grep -v '^ *+' conftest.err >conftest.er1
1565 cat conftest.er1 >&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } && {
1570 test -z "$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1572 } && test -s conftest.$ac_objext; then :
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status $ac_retval
1583 } # ac_fn_c_try_compile
1585 # ac_fn_c_try_cpp LINENO
1586 # ----------------------
1587 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591 if { { ac_try="$ac_cpp conftest.$ac_ext"
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } > conftest.i && {
1607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1612 $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.$ac_ext >&5
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1622 # ac_fn_c_try_run LINENO
1623 # ----------------------
1624 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1625 # that executables *can* be run.
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 if { { ac_try="$ac_link"
1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_link") 2>&5
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1640 { { case "(($ac_try" in
1641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1642 *) ac_try_echo=$ac_try;;
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_try") 2>&5
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; }; }; then :
1652 $as_echo "$as_me: program exited with status $ac_status" >&5
1653 $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1656 ac_retval=$ac_status
1658 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 as_fn_set_status $ac_retval
1664 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1665 # -------------------------------------------------------
1666 # Tests whether HEADER exists and can be compiled using the include files in
1667 # INCLUDES, setting the cache variable VAR accordingly.
1668 ac_fn_c_check_header_compile ()
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1677 /* end confdefs.h. */
1681 if ac_fn_c_try_compile "$LINENO"; then :
1686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690 $as_echo "$ac_res" >&6; }
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 } # ac_fn_c_check_header_compile
1695 # ac_fn_c_try_link LINENO
1696 # -----------------------
1697 # Try to link conftest.$ac_ext, and return whether this succeeded.
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 rm -f conftest.$ac_objext conftest$ac_exeext
1702 if { { ac_try="$ac_link"
1704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1705 *) ac_try_echo=$ac_try;;
1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709 (eval "$ac_link") 2>conftest.err
1711 if test -s conftest.err; then
1712 grep -v '^ *+' conftest.err >conftest.er1
1713 cat conftest.er1 >&5
1714 mv -f conftest.er1 conftest.err
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && {
1718 test -z "$ac_c_werror_flag" ||
1719 test ! -s conftest.err
1720 } && test -s conftest$ac_exeext && {
1721 test "$cross_compiling" = yes ||
1722 test -x conftest$ac_exeext
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1731 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1732 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1733 # interfere with the next link command; also delete a directory that is
1734 # left behind by Apple's compiler. We do this before executing the actions.
1735 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 as_fn_set_status $ac_retval
1739 } # ac_fn_c_try_link
1741 # ac_fn_c_check_func LINENO FUNC VAR
1742 # ----------------------------------
1743 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1744 ac_fn_c_check_func ()
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if eval \${$3+:} false; then :
1750 $as_echo_n "(cached) " >&6
1752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1753 /* end confdefs.h. */
1754 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1756 #define $2 innocuous_$2
1758 /* System header to define __stub macros and hopefully few prototypes,
1759 which can conflict with char $2 (); below.
1760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1761 <limits.h> exists even on freestanding compilers. */
1764 # include <limits.h>
1766 # include <assert.h>
1771 /* Override any GCC internal prototype to avoid an error.
1772 Use char because int might match the return type of a GCC
1773 builtin and then its argument prototype would still apply. */
1778 /* The GNU C library defines this for functions which it implements
1779 to always fail with ENOSYS. Some functions are actually named
1780 something starting with __ and the normal name is an alias. */
1781 #if defined __stub_$2 || defined __stub___$2
1793 if ac_fn_c_try_link "$LINENO"; then :
1798 rm -f core conftest.err conftest.$ac_objext \
1799 conftest$ac_exeext conftest.$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 } # ac_fn_c_check_func
1808 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1809 # -------------------------------------------------------
1810 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1811 # the include files in INCLUDES and setting the cache variable VAR
1813 ac_fn_c_check_header_mongrel ()
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 if eval \${$3+:} false; then :
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1818 $as_echo_n "checking for $2... " >&6; }
1819 if eval \${$3+:} false; then :
1820 $as_echo_n "(cached) " >&6
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1824 $as_echo "$ac_res" >&6; }
1826 # Is the header compilable?
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1828 $as_echo_n "checking $2 usability... " >&6; }
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h. */
1834 if ac_fn_c_try_compile "$LINENO"; then :
1835 ac_header_compiler=yes
1837 ac_header_compiler=no
1839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1841 $as_echo "$ac_header_compiler" >&6; }
1843 # Is the header present?
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1845 $as_echo_n "checking $2 presence... " >&6; }
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1850 if ac_fn_c_try_cpp "$LINENO"; then :
1851 ac_header_preproc=yes
1853 ac_header_preproc=no
1855 rm -f conftest.err conftest.i conftest.$ac_ext
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1857 $as_echo "$ac_header_preproc" >&6; }
1859 # So? What about this header?
1860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1863 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1865 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1869 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1871 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1873 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1875 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1877 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1878 ( $as_echo "## ----------------------------------- ##
1879 ## Report this to markus@oberhumer.com ##
1880 ## ----------------------------------- ##"
1881 ) | sed "s/^/$as_me: WARNING: /" >&2
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if eval \${$3+:} false; then :
1887 $as_echo_n "(cached) " >&6
1889 eval "$3=\$ac_header_compiler"
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897 } # ac_fn_c_check_header_mongrel
1899 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1900 # -------------------------------------------
1901 # Tests whether TYPE exists after having included INCLUDES, setting cache
1902 # variable VAR accordingly.
1903 ac_fn_c_check_type ()
1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1907 $as_echo_n "checking for $2... " >&6; }
1908 if eval \${$3+:} false; then :
1909 $as_echo_n "(cached) " >&6
1912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913 /* end confdefs.h. */
1924 if ac_fn_c_try_compile "$LINENO"; then :
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1937 if ac_fn_c_try_compile "$LINENO"; then :
1942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 } # ac_fn_c_check_type
1953 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1954 # --------------------------------------------
1955 # Tries to find the compile-time value of EXPR in a program that includes
1956 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1958 ac_fn_c_compute_int ()
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 if test "$cross_compiling" = yes; then
1962 # Depending upon the size, compute the lo and hi bounds.
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1969 static int test_array [1 - 2 * !(($2) >= 0)];
1971 return test_array [0];
1977 if ac_fn_c_try_compile "$LINENO"; then :
1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h. */
1986 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1988 return test_array [0];
1994 if ac_fn_c_try_compile "$LINENO"; then :
1995 ac_hi=$ac_mid; break
1997 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1998 if test $ac_lo -le $ac_mid; then
2002 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2013 static int test_array [1 - 2 * !(($2) < 0)];
2015 return test_array [0];
2021 if ac_fn_c_try_compile "$LINENO"; then :
2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2030 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2032 return test_array [0];
2038 if ac_fn_c_try_compile "$LINENO"; then :
2039 ac_lo=$ac_mid; break
2041 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2042 if test $ac_mid -le $ac_hi; then
2046 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2056 # Binary search between lo and hi bounds.
2057 while test "x$ac_lo" != "x$ac_hi"; do
2058 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2065 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2067 return test_array [0];
2073 if ac_fn_c_try_compile "$LINENO"; then :
2076 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2081 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2088 static long int longval () { return $2; }
2089 static unsigned long int ulongval () { return $2; }
2096 FILE *f = fopen ("conftest.val", "w");
2101 long int i = longval ();
2104 fprintf (f, "%ld", i);
2108 unsigned long int i = ulongval ();
2111 fprintf (f, "%lu", i);
2113 /* Do not output a trailing newline, as this causes \r\n confusion
2114 on some platforms. */
2115 return ferror (f) || fclose (f) != 0;
2121 if ac_fn_c_try_run "$LINENO"; then :
2122 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2127 conftest.$ac_objext conftest.beam conftest.$ac_ext
2131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 as_fn_set_status $ac_retval
2134 } # ac_fn_c_compute_int
2135 cat >config.log <<_ACEOF
2136 This file contains any messages produced by compilers while
2137 running configure, to aid debugging if configure makes a mistake.
2139 It was created by LZO $as_me 2.10, which was
2140 generated by GNU Autoconf 2.69. Invocation command line was
2152 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2153 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2154 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2155 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2156 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2158 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2159 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2161 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2162 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2163 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2164 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2165 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2166 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2167 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir=.
2176 $as_echo "PATH: $as_dir"
2192 # Keep a trace of the command line.
2193 # Strip out --no-create and --no-recursion so they do not pile up.
2194 # Strip out --silent because we don't want to record it for future runs.
2195 # Also quote any args containing shell meta-characters.
2196 # Make two passes to allow for proper duplicate-argument suppression.
2200 ac_must_keep_next=false
2206 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2208 | -silent | --silent | --silen | --sile | --sil)
2211 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2214 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2216 as_fn_append ac_configure_args1 " '$ac_arg'"
2217 if test $ac_must_keep_next = true; then
2218 ac_must_keep_next=false # Got value, back to normal.
2221 *=* | --config-cache | -C | -disable-* | --disable-* \
2222 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2223 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2224 | -with-* | --with-* | -without-* | --without-* | --x)
2225 case "$ac_configure_args0 " in
2226 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2229 -* ) ac_must_keep_next=true ;;
2232 as_fn_append ac_configure_args " '$ac_arg'"
2237 { ac_configure_args0=; unset ac_configure_args0;}
2238 { ac_configure_args1=; unset ac_configure_args1;}
2240 # When interrupted or exit'd, cleanup temporary files, and complete
2241 # config.log. We remove comments because anyway the quotes in there
2242 # would cause problems or look ugly.
2243 # WARNING: Use '\'' to represent an apostrophe within the trap.
2244 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2245 trap 'exit_status=$?
2246 # Save into config.log some information that might help in debugging.
2250 $as_echo "## ---------------- ##
2251 ## Cache variables. ##
2252 ## ---------------- ##"
2254 # The following way of writing the cache mishandles newlines in values,
2256 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2257 eval ac_val=\$$ac_var
2261 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2262 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2265 _ | IFS | as_nl) ;; #(
2266 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2267 *) { eval $ac_var=; unset $ac_var;} ;;
2272 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2273 *${as_nl}ac_space=\ *)
2275 "s/'\''/'\''\\\\'\'''\''/g;
2276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2279 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2286 $as_echo "## ----------------- ##
2287 ## Output variables. ##
2288 ## ----------------- ##"
2290 for ac_var in $ac_subst_vars
2292 eval ac_val=\$$ac_var
2294 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2296 $as_echo "$ac_var='\''$ac_val'\''"
2300 if test -n "$ac_subst_files"; then
2301 $as_echo "## ------------------- ##
2302 ## File substitutions. ##
2303 ## ------------------- ##"
2305 for ac_var in $ac_subst_files
2307 eval ac_val=\$$ac_var
2309 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2311 $as_echo "$ac_var='\''$ac_val'\''"
2316 if test -s confdefs.h; then
2317 $as_echo "## ----------- ##
2324 test "$ac_signal" != 0 &&
2325 $as_echo "$as_me: caught signal $ac_signal"
2326 $as_echo "$as_me: exit $exit_status"
2328 rm -f core *.core core.conftest.* &&
2329 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2332 for ac_signal in 1 2 13 15; do
2333 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2338 rm -f -r conftest* confdefs.h
2340 $as_echo "/* confdefs.h */" > confdefs.h
2342 # Predefined preprocessor variables.
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_NAME "$PACKAGE_NAME"
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_STRING "$PACKAGE_STRING"
2360 cat >>confdefs.h <<_ACEOF
2361 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2364 cat >>confdefs.h <<_ACEOF
2365 #define PACKAGE_URL "$PACKAGE_URL"
2369 # Let the site file select an alternate cache file if it wants to.
2370 # Prefer an explicitly selected file to automatically selected ones.
2373 if test -n "$CONFIG_SITE"; then
2374 # We do not want a PATH search for config.site.
2375 case $CONFIG_SITE in #((
2376 -*) ac_site_file1=./$CONFIG_SITE;;
2377 */*) ac_site_file1=$CONFIG_SITE;;
2378 *) ac_site_file1=./$CONFIG_SITE;;
2380 elif test "x$prefix" != xNONE; then
2381 ac_site_file1=$prefix/share/config.site
2382 ac_site_file2=$prefix/etc/config.site
2384 ac_site_file1=$ac_default_prefix/share/config.site
2385 ac_site_file2=$ac_default_prefix/etc/config.site
2387 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2389 test "x$ac_site_file" = xNONE && continue
2390 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2392 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2393 sed 's/^/| /' "$ac_site_file" >&5
2395 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 as_fn_error $? "failed to load site script $ac_site_file
2398 See \`config.log' for more details" "$LINENO" 5; }
2402 if test -r "$cache_file"; then
2403 # Some versions of bash will fail to source /dev/null (special files
2404 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2405 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2407 $as_echo "$as_me: loading cache $cache_file" >&6;}
2409 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2410 *) . "./$cache_file";;
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2415 $as_echo "$as_me: creating cache $cache_file" >&6;}
2419 # Check that the precious variables saved in the cache have kept the same
2421 ac_cache_corrupted=false
2422 for ac_var in $ac_precious_vars; do
2423 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2424 eval ac_new_set=\$ac_env_${ac_var}_set
2425 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2426 eval ac_new_val=\$ac_env_${ac_var}_value
2427 case $ac_old_set,$ac_new_set in
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2430 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2431 ac_cache_corrupted=: ;;
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2434 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2435 ac_cache_corrupted=: ;;
2438 if test "x$ac_old_val" != "x$ac_new_val"; then
2439 # differences in whitespace do not lead to failure.
2440 ac_old_val_w=`echo x $ac_old_val`
2441 ac_new_val_w=`echo x $ac_new_val`
2442 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2444 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2445 ac_cache_corrupted=:
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2448 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2449 eval $ac_var=\$ac_old_val
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2452 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2454 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2457 # Pass precious variables to config.status.
2458 if test "$ac_new_set" = set; then
2460 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2461 *) ac_arg=$ac_var=$ac_new_val ;;
2463 case " $ac_configure_args " in
2464 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2465 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2469 if $ac_cache_corrupted; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2473 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2474 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2476 ## -------------------- ##
2477 ## Main body of script. ##
2478 ## -------------------- ##
2481 ac_cpp='$CPP $CPPFLAGS'
2482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring LZO $PACKAGE_VERSION" >&5
2488 $as_echo "$as_me: Configuring LZO $PACKAGE_VERSION" >&6;}
2491 for ac_dir in autoconf "$srcdir"/autoconf; do
2492 if test -f "$ac_dir/install-sh"; then
2494 ac_install_sh="$ac_aux_dir/install-sh -c"
2496 elif test -f "$ac_dir/install.sh"; then
2498 ac_install_sh="$ac_aux_dir/install.sh -c"
2500 elif test -f "$ac_dir/shtool"; then
2502 ac_install_sh="$ac_aux_dir/shtool install -c"
2506 if test -z "$ac_aux_dir"; then
2507 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2510 # These three variables are undocumented and unsupported,
2511 # and are intended to be withdrawn in a future Autoconf release.
2512 # They can cause serious problems if a builder's source tree is in a directory
2513 # whose full name contains unusual characters.
2514 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2515 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2516 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2536 # Enable extensions on systems that normally disable them.
2538 # Copyright (C) 2003, 2006-2017 Free Software Foundation, Inc.
2539 # This file is free software; the Free Software Foundation
2540 # gives unlimited permission to copy and/or distribute it,
2541 # with or without modifications, as long as this notice is preserved.
2543 # This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from git
2544 # Autoconf. Perhaps we can remove this once we can assume Autoconf
2545 # 2.70 or later everywhere, but since Autoconf mutates rapidly
2546 # enough in this area it's likely we'll need to redefine
2547 # AC_USE_SYSTEM_EXTENSIONS for quite some time.
2549 # If autoconf reports a warning
2550 # warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
2551 # or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
2553 # 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked
2554 # but always AC_REQUIREd,
2555 # 2) to ensure that for each occurrence of
2556 # AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
2558 # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
2559 # the corresponding gnulib module description has 'extensions' among
2560 # its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS
2561 # invocation occurs in gl_EARLY, not in gl_INIT.
2563 # AC_USE_SYSTEM_EXTENSIONS
2564 # ------------------------
2565 # Enable extensions on systems that normally disable them,
2566 # typically due to standards-conformance issues.
2568 # Remember that #undef in AH_VERBATIM gets replaced with #define by
2569 # AC_DEFINE. The goal here is to define all known feature-enabling
2570 # macros, then, if reports of conflicts are made, disable macros that
2571 # cause problems on some platforms (such as __EXTENSIONS__).
2572 # AC_USE_SYSTEM_EXTENSIONS
2574 # gl_USE_SYSTEM_EXTENSIONS
2575 # ------------------------
2576 # Enable extensions on systems that normally disable them,
2577 # typically due to standards-conformance issues.
2596 # Checks for stat-related time functions.
2598 # Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2017 Free Software
2601 # This file is free software; the Free Software Foundation
2602 # gives unlimited permission to copy and/or distribute it,
2603 # with or without modifications, as long as this notice is preserved.
2606 # st_atim.tv_nsec - Linux, Solaris, Cygwin
2607 # st_atimespec.tv_nsec - FreeBSD, NetBSD, if ! defined _POSIX_SOURCE
2608 # st_atimensec - FreeBSD, NetBSD, if defined _POSIX_SOURCE
2609 # st_atim.st__tim.tv_nsec - UnixWare (at least 2.1.2 through 7.1)
2611 # st_birthtimespec - FreeBSD, NetBSD (hidden on OpenBSD 3.9, anyway)
2612 # st_birthtim - Cygwin 1.7.0+
2616 # Check for st_birthtime, a feature from UFS2 (FreeBSD, NetBSD, OpenBSD, etc.)
2617 # and NTFS (Cygwin).
2618 # There was a time when this field was named st_createtime (21 June
2619 # 2002 to 16 July 2002) But that window is very small and applied only
2620 # to development code, so systems still using that configuration are
2621 # not supported. See revisions 1.10 and 1.11 of FreeBSD's
2622 # src/sys/ufs/ufs/dinode.h.
2630 # Make sure we can run config.sub.
2631 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2632 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2635 $as_echo_n "checking build system type... " >&6; }
2636 if ${ac_cv_build+:} false; then :
2637 $as_echo_n "(cached) " >&6
2639 ac_build_alias=$build_alias
2640 test "x$ac_build_alias" = x &&
2641 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2642 test "x$ac_build_alias" = x &&
2643 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2644 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2645 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2649 $as_echo "$ac_cv_build" >&6; }
2650 case $ac_cv_build in
2652 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2655 ac_save_IFS=$IFS; IFS='-'
2661 # Remember, the first character of IFS is used to create $*,
2662 # except with old shells:
2665 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2669 $as_echo_n "checking host system type... " >&6; }
2670 if ${ac_cv_host+:} false; then :
2671 $as_echo_n "(cached) " >&6
2673 if test "x$host_alias" = x; then
2674 ac_cv_host=$ac_cv_build
2676 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2677 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2682 $as_echo "$ac_cv_host" >&6; }
2685 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2688 ac_save_IFS=$IFS; IFS='-'
2694 # Remember, the first character of IFS is used to create $*,
2695 # except with old shells:
2698 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2702 $as_echo_n "checking target system type... " >&6; }
2703 if ${ac_cv_target+:} false; then :
2704 $as_echo_n "(cached) " >&6
2706 if test "x$target_alias" = x; then
2707 ac_cv_target=$ac_cv_host
2709 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2710 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2715 $as_echo "$ac_cv_target" >&6; }
2716 case $ac_cv_target in
2718 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2720 target=$ac_cv_target
2721 ac_save_IFS=$IFS; IFS='-'
2727 # Remember, the first character of IFS is used to create $*,
2728 # except with old shells:
2731 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2734 # The aliases save the names the user supplied, while $host etc.
2735 # will get canonicalized.
2736 test -n "$target_alias" &&
2737 test "$program_prefix$program_suffix$program_transform_name" = \
2739 program_prefix=${target_alias}-
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2742 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2743 # Check whether --enable-maintainer-mode was given.
2744 if test "${enable_maintainer_mode+set}" = set; then :
2745 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2747 USE_MAINTAINER_MODE=no
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2751 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2752 if test $USE_MAINTAINER_MODE = yes; then
2753 MAINTAINER_MODE_TRUE=
2754 MAINTAINER_MODE_FALSE='#'
2756 MAINTAINER_MODE_TRUE='#'
2757 MAINTAINER_MODE_FALSE=
2760 MAINT=$MAINTAINER_MODE_TRUE
2764 if test -z "$ac_abs_top_srcdir"; then
2768 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2770 ac_dir_suffix=/`$as_echo . | sed 's|^\.[\\/]||'`
2771 # A ".." for each directory in $ac_dir_suffix.
2772 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2773 case $ac_top_builddir_sub in
2774 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2775 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2778 ac_abs_top_builddir=$ac_pwd
2779 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2780 # for backward compatibility:
2781 ac_top_builddir=$ac_top_build_prefix
2784 .) # We are building in place.
2786 ac_top_srcdir=$ac_top_builddir_sub
2787 ac_abs_top_srcdir=$ac_pwd ;;
2788 [\\/]* | ?:[\\/]* ) # Absolute name.
2789 ac_srcdir=$srcdir$ac_dir_suffix;
2790 ac_top_srcdir=$srcdir
2791 ac_abs_top_srcdir=$srcdir ;;
2793 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2794 ac_top_srcdir=$ac_top_build_prefix$srcdir
2795 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2797 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2800 if test -z "$ac_abs_top_srcdir"; then
2801 as_fn_error 1 "internal error: ac_abs_top_srcdir is not set"
2803 if test -r .Conf.settings1; then
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812 if test -n "$ac_tool_prefix"; then
2813 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2814 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2816 $as_echo_n "checking for $ac_word... " >&6; }
2817 if ${ac_cv_prog_CC+:} false; then :
2818 $as_echo_n "(cached) " >&6
2820 if test -n "$CC"; then
2821 ac_cv_prog_CC="$CC" # Let the user override the test.
2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir=.
2828 for ac_exec_ext in '' $ac_executable_extensions; do
2829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2830 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 if test -n "$CC"; then
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2843 $as_echo "$CC" >&6; }
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2846 $as_echo "no" >&6; }
2851 if test -z "$ac_cv_prog_CC"; then
2853 # Extract the first word of "gcc", so it can be a program name with args.
2854 set dummy gcc; ac_word=$2
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2856 $as_echo_n "checking for $ac_word... " >&6; }
2857 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2858 $as_echo_n "(cached) " >&6
2860 if test -n "$ac_ct_CC"; then
2861 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir=.
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2870 ac_cv_prog_ac_ct_CC="gcc"
2871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2881 if test -n "$ac_ct_CC"; then
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2883 $as_echo "$ac_ct_CC" >&6; }
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2886 $as_echo "no" >&6; }
2889 if test "x$ac_ct_CC" = x; then
2892 case $cross_compiling:$ac_tool_warned in
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2896 ac_tool_warned=yes ;;
2904 if test -z "$CC"; then
2905 if test -n "$ac_tool_prefix"; then
2906 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2907 set dummy ${ac_tool_prefix}cc; ac_word=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if ${ac_cv_prog_CC+:} false; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$CC"; then
2914 ac_cv_prog_CC="$CC" # Let the user override the test.
2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir=.
2921 for ac_exec_ext in '' $ac_executable_extensions; do
2922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2923 ac_cv_prog_CC="${ac_tool_prefix}cc"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 if test -n "$CC"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2936 $as_echo "$CC" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2945 if test -z "$CC"; then
2946 # Extract the first word of "cc", so it can be a program name with args.
2947 set dummy cc; ac_word=$2
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2949 $as_echo_n "checking for $ac_word... " >&6; }
2950 if ${ac_cv_prog_CC+:} false; then :
2951 $as_echo_n "(cached) " >&6
2953 if test -n "$CC"; then
2954 ac_cv_prog_CC="$CC" # Let the user override the test.
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir=.
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2965 ac_prog_rejected=yes
2969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976 if test $ac_prog_rejected = yes; then
2977 # We found a bogon in the path, so make sure we never use it.
2978 set dummy $ac_cv_prog_CC
2980 if test $# != 0; then
2981 # We chose a different compiler from the bogus one.
2982 # However, it has the same basename, so the bogon will be chosen
2983 # first if we set CC to just the basename; use the full file name.
2985 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2991 if test -n "$CC"; then
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2993 $as_echo "$CC" >&6; }
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996 $as_echo "no" >&6; }
3001 if test -z "$CC"; then
3002 if test -n "$ac_tool_prefix"; then
3003 for ac_prog in cl.exe
3005 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3006 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3008 $as_echo_n "checking for $ac_word... " >&6; }
3009 if ${ac_cv_prog_CC+:} false; then :
3010 $as_echo_n "(cached) " >&6
3012 if test -n "$CC"; then
3013 ac_cv_prog_CC="$CC" # Let the user override the test.
3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 test -z "$as_dir" && as_dir=.
3020 for ac_exec_ext in '' $ac_executable_extensions; do
3021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3022 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 if test -n "$CC"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3035 $as_echo "$CC" >&6; }
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038 $as_echo "no" >&6; }
3042 test -n "$CC" && break
3045 if test -z "$CC"; then
3047 for ac_prog in cl.exe
3049 # Extract the first word of "$ac_prog", so it can be a program name with args.
3050 set dummy $ac_prog; ac_word=$2
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052 $as_echo_n "checking for $ac_word... " >&6; }
3053 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3054 $as_echo_n "(cached) " >&6
3056 if test -n "$ac_ct_CC"; then
3057 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 test -z "$as_dir" && as_dir=.
3064 for ac_exec_ext in '' $ac_executable_extensions; do
3065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3066 ac_cv_prog_ac_ct_CC="$ac_prog"
3067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3077 if test -n "$ac_ct_CC"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3079 $as_echo "$ac_ct_CC" >&6; }
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3082 $as_echo "no" >&6; }
3086 test -n "$ac_ct_CC" && break
3089 if test "x$ac_ct_CC" = x; then
3092 case $cross_compiling:$ac_tool_warned in
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3096 ac_tool_warned=yes ;;
3105 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107 as_fn_error $? "no acceptable C compiler found in \$PATH
3108 See \`config.log' for more details" "$LINENO" 5; }
3110 # Provide some information about the compiler.
3111 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3114 for ac_option in --version -v -V -qversion; do
3115 { { ac_try="$ac_compiler $ac_option >&5"
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3124 if test -s conftest.err; then
3126 ... rest of stderr output deleted ...
3127 10q' conftest.err >conftest.er1
3128 cat conftest.er1 >&5
3130 rm -f conftest.er1 conftest.err
3131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3132 test $ac_status = 0; }
3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h. */
3146 ac_clean_files_save=$ac_clean_files
3147 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3148 # Try to create an executable without -o first, disregard a.out.
3149 # It will help us diagnose broken compilers, and finding out an intuition
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3152 $as_echo_n "checking whether the C compiler works... " >&6; }
3153 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3155 # The possible output files:
3156 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3159 for ac_file in $ac_files
3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3163 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3168 if { { ac_try="$ac_link_default"
3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3174 $as_echo "$ac_try_echo"; } >&5
3175 (eval "$ac_link_default") 2>&5
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; }; then :
3179 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3180 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3181 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3182 # so that the user can short-circuit this test for compilers unknown to
3184 for ac_file in $ac_files ''
3186 test -f "$ac_file" || continue
3188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3191 # We found the default executable, but exeext='' is most
3195 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3197 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3199 # We set ac_cv_exeext here because the later test for it is not
3200 # safe: cross compilers may not add the suffix if given an `-o'
3201 # argument, so we may need to know it at that point already.
3202 # Even if this section looks crufty: it has the advantage of
3209 test "$ac_cv_exeext" = no && ac_cv_exeext=
3214 if test -z "$ac_file"; then :
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
3217 $as_echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3222 as_fn_error 77 "C compiler cannot create executables
3223 See \`config.log' for more details" "$LINENO" 5; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3226 $as_echo "yes" >&6; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3229 $as_echo_n "checking for C compiler default output file name... " >&6; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3231 $as_echo "$ac_file" >&6; }
3232 ac_exeext=$ac_cv_exeext
3234 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3235 ac_clean_files=$ac_clean_files_save
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3237 $as_echo_n "checking for suffix of executables... " >&6; }
3238 if { { ac_try="$ac_link"
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3245 (eval "$ac_link") 2>&5
3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; }; then :
3249 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3250 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3251 # work properly (i.e., refer to `conftest.exe'), while it won't with
3253 for ac_file in conftest.exe conftest conftest.*; do
3254 test -f "$ac_file" || continue
3256 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3257 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3265 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3266 See \`config.log' for more details" "$LINENO" 5; }
3268 rm -f conftest conftest$ac_cv_exeext
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3270 $as_echo "$ac_cv_exeext" >&6; }
3272 rm -f conftest.$ac_ext
3273 EXEEXT=$ac_cv_exeext
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3281 FILE *f = fopen ("conftest.out", "w");
3282 return ferror (f) || fclose (f) != 0;
3288 ac_clean_files="$ac_clean_files conftest.out"
3289 # Check that the compiler produces executables we can run. If not, either
3290 # the compiler is broken, or we cross compile.
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3292 $as_echo_n "checking whether we are cross compiling... " >&6; }
3293 if test "$cross_compiling" != yes; then
3294 { { ac_try="$ac_link"
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_link") 2>&5
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; }
3305 if { ac_try='./conftest$ac_cv_exeext'
3306 { { case "(($ac_try" in
3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308 *) ac_try_echo=$ac_try;;
3310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311 $as_echo "$ac_try_echo"; } >&5
3312 (eval "$ac_try") 2>&5
3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3315 test $ac_status = 0; }; }; then
3318 if test "$cross_compiling" = maybe; then
3321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323 as_fn_error $? "cannot run C compiled programs.
3324 If you meant to cross compile, use \`--host'.
3325 See \`config.log' for more details" "$LINENO" 5; }
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3330 $as_echo "$cross_compiling" >&6; }
3332 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3333 ac_clean_files=$ac_clean_files_save
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3335 $as_echo_n "checking for suffix of object files... " >&6; }
3336 if ${ac_cv_objext+:} false; then :
3337 $as_echo_n "(cached) " >&6
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3350 rm -f conftest.o conftest.obj
3351 if { { ac_try="$ac_compile"
3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357 $as_echo "$ac_try_echo"; } >&5
3358 (eval "$ac_compile") 2>&5
3360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361 test $ac_status = 0; }; then :
3362 for ac_file in conftest.o conftest.obj conftest.*; do
3363 test -f "$ac_file" || continue;
3365 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3366 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3371 $as_echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.$ac_ext >&5
3374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 as_fn_error $? "cannot compute suffix of object files: cannot compile
3377 See \`config.log' for more details" "$LINENO" 5; }
3379 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3382 $as_echo "$ac_cv_objext" >&6; }
3383 OBJEXT=$ac_cv_objext
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3386 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3387 if ${ac_cv_c_compiler_gnu+:} false; then :
3388 $as_echo_n "(cached) " >&6
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3404 if ac_fn_c_try_compile "$LINENO"; then :
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3414 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3415 if test $ac_compiler_gnu = yes; then
3420 ac_test_CFLAGS=${CFLAGS+set}
3421 ac_save_CFLAGS=$CFLAGS
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3423 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3424 if ${ac_cv_prog_cc_g+:} false; then :
3425 $as_echo_n "(cached) " >&6
3427 ac_save_c_werror_flag=$ac_c_werror_flag
3428 ac_c_werror_flag=yes
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3442 if ac_fn_c_try_compile "$LINENO"; then :
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3457 if ac_fn_c_try_compile "$LINENO"; then :
3460 ac_c_werror_flag=$ac_save_c_werror_flag
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3473 if ac_fn_c_try_compile "$LINENO"; then :
3476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 ac_c_werror_flag=$ac_save_c_werror_flag
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3484 $as_echo "$ac_cv_prog_cc_g" >&6; }
3485 if test "$ac_test_CFLAGS" = set; then
3486 CFLAGS=$ac_save_CFLAGS
3487 elif test $ac_cv_prog_cc_g = yes; then
3488 if test "$GCC" = yes; then
3494 if test "$GCC" = yes; then
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3501 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3502 if ${ac_cv_prog_cc_c89+:} false; then :
3503 $as_echo_n "(cached) " >&6
3505 ac_cv_prog_cc_c89=no
3507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508 /* end confdefs.h. */
3512 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3513 struct buf { int x; };
3514 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3515 static char *e (p, i)
3521 static char *f (char * (*g) (char **, int), char **p, ...)
3526 s = g (p, va_arg (v,int));
3531 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3532 function prototypes and stuff, but not '\xHH' hex character constants.
3533 These don't provoke an error unfortunately, instead are silently treated
3534 as 'x'. The following induces an error, until -std is added to get
3535 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3536 array size at least. It's necessary to write '\x00'==0 to get something
3537 that's true only with -std. */
3538 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3540 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3541 inside strings and character constants. */
3543 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3545 int test (int i, double x);
3546 struct s1 {int (*f) (int a);};
3547 struct s2 {int (*f) (double a);};
3548 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3554 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3559 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3560 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3562 CC="$ac_save_CC $ac_arg"
3563 if ac_fn_c_try_compile "$LINENO"; then :
3564 ac_cv_prog_cc_c89=$ac_arg
3566 rm -f core conftest.err conftest.$ac_objext
3567 test "x$ac_cv_prog_cc_c89" != "xno" && break
3569 rm -f conftest.$ac_ext
3574 case "x$ac_cv_prog_cc_c89" in
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3577 $as_echo "none needed" >&6; } ;;
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3580 $as_echo "unsupported" >&6; } ;;
3582 CC="$CC $ac_cv_prog_cc_c89"
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3584 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3586 if test "x$ac_cv_prog_cc_c89" != xno; then :
3591 ac_cpp='$CPP $CPPFLAGS'
3592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 # Expand $ac_aux_dir to an absolute path.
3597 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3600 ac_cpp='$CPP $CPPFLAGS'
3601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3605 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3606 if ${am_cv_prog_cc_c_o+:} false; then :
3607 $as_echo_n "(cached) " >&6
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3620 # Make sure it works both with $CC and with simple cc.
3621 # Following AC_PROG_CC_C_O, we do the test twice because some
3622 # compilers refuse to overwrite an existing .o file with -o,
3623 # though they will create one.
3624 am_cv_prog_cc_c_o=yes
3626 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3627 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } \
3631 && test -f conftest2.$ac_objext; then
3634 am_cv_prog_cc_c_o=no
3638 rm -f core conftest*
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3642 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3643 if test "$am_cv_prog_cc_c_o" != yes; then
3644 # Losing compiler, so override with the script.
3645 # FIXME: It is wrong to rewrite CC.
3646 # But if we don't then we get into trouble of one sort or another.
3647 # A longer-term fix would be to have automake use am__CC in this case,
3648 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3649 CC="$am_aux_dir/compile $CC"
3652 ac_cpp='$CPP $CPPFLAGS'
3653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3660 if test -n "$ac_tool_prefix"; then
3661 for ac_prog in ar lib "link -lib"
3663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3664 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3666 $as_echo_n "checking for $ac_word... " >&6; }
3667 if ${ac_cv_prog_AR+:} false; then :
3668 $as_echo_n "(cached) " >&6
3670 if test -n "$AR"; then
3671 ac_cv_prog_AR="$AR" # Let the user override the test.
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3677 test -z "$as_dir" && as_dir=.
3678 for ac_exec_ext in '' $ac_executable_extensions; do
3679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 if test -n "$AR"; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3693 $as_echo "$AR" >&6; }
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3700 test -n "$AR" && break
3703 if test -z "$AR"; then
3705 for ac_prog in ar lib "link -lib"
3707 # Extract the first word of "$ac_prog", so it can be a program name with args.
3708 set dummy $ac_prog; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$ac_ct_AR"; then
3715 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir=.
3722 for ac_exec_ext in '' $ac_executable_extensions; do
3723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3724 ac_cv_prog_ac_ct_AR="$ac_prog"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3735 if test -n "$ac_ct_AR"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3737 $as_echo "$ac_ct_AR" >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3744 test -n "$ac_ct_AR" && break
3747 if test "x$ac_ct_AR" = x; then
3750 case $cross_compiling:$ac_tool_warned in
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3754 ac_tool_warned=yes ;;
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3763 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3764 if ${am_cv_ar_interface+:} false; then :
3765 $as_echo_n "(cached) " >&6
3768 ac_cpp='$CPP $CPPFLAGS'
3769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3773 am_cv_ar_interface=ar
3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */
3776 int some_variable = 0;
3778 if ac_fn_c_try_compile "$LINENO"; then :
3779 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3780 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3781 (eval $am_ar_try) 2>&5
3783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3784 test $ac_status = 0; }
3785 if test "$ac_status" -eq 0; then
3786 am_cv_ar_interface=ar
3788 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3789 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3790 (eval $am_ar_try) 2>&5
3792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3793 test $ac_status = 0; }
3794 if test "$ac_status" -eq 0; then
3795 am_cv_ar_interface=lib
3797 am_cv_ar_interface=unknown
3800 rm -f conftest.lib libconftest.a
3803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3805 ac_cpp='$CPP $CPPFLAGS'
3806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3812 $as_echo "$am_cv_ar_interface" >&6; }
3814 case $am_cv_ar_interface in
3818 # Microsoft lib, so override with the ar-lib wrapper script.
3819 # FIXME: It is wrong to rewrite AR.
3820 # But if we don't then we get into trouble of one sort or another.
3821 # A longer-term fix would be to have automake use am__AR in this case,
3822 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
3824 AR="$am_aux_dir/ar-lib $AR"
3827 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
3831 rm -rf .tst 2>/dev/null
3832 mkdir .tst 2>/dev/null
3833 if test -d .tst; then
3838 rmdir .tst 2>/dev/null
3840 DEPDIR="${am__leading_dot}deps"
3842 ac_config_commands="$ac_config_commands depfiles"
3845 am_make=${MAKE-make}
3846 cat > confinc << 'END'
3848 @echo this is the am__doit target
3851 # If we don't find an include directive, just comment out the code.
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3853 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3857 # First try GNU make style include.
3858 echo "include confinc" > confmf
3859 # Ignore all kinds of additional output from 'make'.
3860 case `$am_make -s -f confmf 2> /dev/null` in #(
3861 *the\ am__doit\ target*)
3867 # Now try BSD make style include.
3868 if test "$am__include" = "#"; then
3869 echo '.include "confinc"' > confmf
3870 case `$am_make -s -f confmf 2> /dev/null` in #(
3871 *the\ am__doit\ target*)
3872 am__include=.include
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3881 $as_echo "$_am_result" >&6; }
3882 rm -f confinc confmf
3884 # Check whether --enable-dependency-tracking was given.
3885 if test "${enable_dependency_tracking+set}" = set; then :
3886 enableval=$enable_dependency_tracking;
3889 if test "x$enable_dependency_tracking" != xno; then
3890 am_depcomp="$ac_aux_dir/depcomp"
3894 if test "x$enable_dependency_tracking" != xno; then
3903 # By default we simply use the C compiler to build assembly code.
3905 test "${CCAS+set}" = set || CCAS=$CC
3906 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3910 depcc="$CCAS" am_compiler_list=
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3913 $as_echo_n "checking dependency style of $depcc... " >&6; }
3914 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
3915 $as_echo_n "(cached) " >&6
3917 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3918 # We make a subdir and do the tests there. Otherwise we can end up
3919 # making bogus files that we don't know about and never remove. For
3920 # instance it was reported that on HP-UX the gcc test will end up
3921 # making a dummy file named 'D' -- because '-MD' means "put the output
3925 # Copy depcomp to subdir because otherwise we won't find it if we're
3926 # using a relative directory.
3927 cp "$am_depcomp" conftest.dir
3929 # We will build objects and dependencies in a subdirectory because
3930 # it helps to detect inapplicable dependency modes. For instance
3931 # both Tru64's cc and ICC support -MD to output dependencies as a
3932 # side effect of compilation, but ICC will put the dependencies in
3933 # the current directory while Tru64 will put them in the object
3937 am_cv_CCAS_dependencies_compiler_type=none
3938 if test "$am_compiler_list" = ""; then
3939 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3944 for depmode in $am_compiler_list; do
3945 # Setup a source with many dependencies, because some compilers
3946 # like to wrap large dependency lists on column 80 (with \), and
3947 # we should not choose a depcomp mode which is confused by this.
3949 # We need to recreate these files for each test, as the compiler may
3950 # overwrite some of them when testing with obscure command lines.
3951 # This happens at least with the AIX C compiler.
3953 for i in 1 2 3 4 5 6; do
3954 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3955 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3956 # Solaris 10 /bin/sh.
3957 echo '/* dummy */' > sub/conftst$i.h
3959 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3961 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3962 # mode. It turns out that the SunPro C++ compiler does not properly
3963 # handle '-M -o', and we need to detect this. Also, some Intel
3964 # versions had trouble with output in subdirs.
3965 am__obj=sub/conftest.${OBJEXT-o}
3966 am__minus_obj="-o $am__obj"
3969 # This depmode causes a compiler race in universal mode.
3970 test "$am__universal" = false || continue
3973 # After this tag, mechanisms are not by side-effect, so they'll
3974 # only be used when explicitly requested.
3975 if test "x$enable_dependency_tracking" = xyes; then
3981 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3982 # This compiler won't grok '-c -o', but also, the minuso test has
3983 # not run yet. These depmodes are late enough in the game, and
3984 # so weak that their functioning should not be impacted.
3985 am__obj=conftest.${OBJEXT-o}
3990 if depmode=$depmode \
3991 source=sub/conftest.c object=$am__obj \
3992 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3993 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3994 >/dev/null 2>conftest.err &&
3995 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3996 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3997 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3998 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3999 # icc doesn't choke on unknown options, it will just issue warnings
4000 # or remarks (even with -Werror). So we grep stderr for any message
4001 # that says an option was ignored or not supported.
4002 # When given -MP, icc 7.0 and 7.1 complain thusly:
4003 # icc: Command line warning: ignoring option '-M'; no argument required
4004 # The diagnosis changed in icc 8.0:
4005 # icc: Command line remark: option '-MP' not supported
4006 if (grep 'ignoring option' conftest.err ||
4007 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4008 am_cv_CCAS_dependencies_compiler_type=$depmode
4017 am_cv_CCAS_dependencies_compiler_type=none
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4022 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4023 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4026 test "x$enable_dependency_tracking" != xno \
4027 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4028 am__fastdepCCAS_TRUE=
4029 am__fastdepCCAS_FALSE='#'
4031 am__fastdepCCAS_TRUE='#'
4032 am__fastdepCCAS_FALSE=
4037 ac_cpp='$CPP $CPPFLAGS'
4038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4042 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4043 # On Suns, sometimes $CPP names a directory.
4044 if test -n "$CPP" && test -d "$CPP"; then
4047 if test -z "$CPP"; then
4048 if ${ac_cv_prog_CPP+:} false; then :
4049 $as_echo_n "(cached) " >&6
4051 # Double quotes because CPP needs to be expanded
4052 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4055 for ac_c_preproc_warn_flag in '' yes
4057 # Use a header file that comes with gcc, so configuring glibc
4058 # with a fresh cross-compiler works.
4059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4060 # <limits.h> exists even on freestanding compilers.
4061 # On the NeXT, cc -E runs the code through the compiler's parser,
4062 # not just through cpp. "Syntax error" is here to catch this case.
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4066 # include <limits.h>
4068 # include <assert.h>
4072 if ac_fn_c_try_cpp "$LINENO"; then :
4075 # Broken: fails on valid input.
4078 rm -f conftest.err conftest.i conftest.$ac_ext
4080 # OK, works on sane cases. Now check whether nonexistent headers
4081 # can be detected and how.
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4084 #include <ac_nonexistent.h>
4086 if ac_fn_c_try_cpp "$LINENO"; then :
4087 # Broken: success on invalid input.
4090 # Passes both tests.
4094 rm -f conftest.err conftest.i conftest.$ac_ext
4097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4098 rm -f conftest.i conftest.err conftest.$ac_ext
4099 if $ac_preproc_ok; then :
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4112 $as_echo "$CPP" >&6; }
4114 for ac_c_preproc_warn_flag in '' yes
4116 # Use a header file that comes with gcc, so configuring glibc
4117 # with a fresh cross-compiler works.
4118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4119 # <limits.h> exists even on freestanding compilers.
4120 # On the NeXT, cc -E runs the code through the compiler's parser,
4121 # not just through cpp. "Syntax error" is here to catch this case.
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4125 # include <limits.h>
4127 # include <assert.h>
4131 if ac_fn_c_try_cpp "$LINENO"; then :
4134 # Broken: fails on valid input.
4137 rm -f conftest.err conftest.i conftest.$ac_ext
4139 # OK, works on sane cases. Now check whether nonexistent headers
4140 # can be detected and how.
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4143 #include <ac_nonexistent.h>
4145 if ac_fn_c_try_cpp "$LINENO"; then :
4146 # Broken: success on invalid input.
4149 # Passes both tests.
4153 rm -f conftest.err conftest.i conftest.$ac_ext
4156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4157 rm -f conftest.i conftest.err conftest.$ac_ext
4158 if $ac_preproc_ok; then :
4161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4163 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4164 See \`config.log' for more details" "$LINENO" 5; }
4168 ac_cpp='$CPP $CPPFLAGS'
4169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C preprocessor needs special flags" >&5
4175 $as_echo_n "checking whether the C preprocessor needs special flags... " >&6; }
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4180 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
4181 # include "your C preprocessor is broken 1"
4182 #elif (0xffffu == 0xfffffffful)
4183 # include "your C preprocessor is broken 2"
4184 #elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX)
4185 # include "your C preprocessor is broken 3"
4198 mfx_save_CPPFLAGS=$CPPFLAGS
4200 for mfx_arg in "" -no-cpp-precomp
4202 CPPFLAGS="$mfx_arg $mfx_save_CPPFLAGS"
4203 if ac_fn_c_try_compile "$LINENO"; then :
4207 rm -f core conftest.err conftest.$ac_objext
4209 CPPFLAGS=$mfx_save_CPPFLAGS
4210 rm -f conftest.$ac_ext conftest.$ac_objext
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4214 $as_echo "none needed" >&6; } ;;
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ERROR" >&5
4217 $as_echo "ERROR" >&6; }
4218 as_fn_error $? "your C preprocessor is broken - for details see config.log" "$LINENO" 5
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
4222 $as_echo "$mfx_tmp" >&6; }
4223 CPPFLAGS="$mfx_tmp $CPPFLAGS"
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4228 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4229 if ${ac_cv_c_const+:} false; then :
4230 $as_echo_n "(cached) " >&6
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4240 /* Ultrix mips cc rejects this sort of thing. */
4241 typedef int charset[2];
4242 const charset cs = { 0, 0 };
4243 /* SunOS 4.1.1 cc rejects this. */
4244 char const *const *pcpcc;
4246 /* NEC SVR4.0.2 mips cc rejects this. */
4247 struct point {int x, y;};
4248 static struct point const zero = {0,0};
4249 /* AIX XL C 1.02.0.0 rejects this.
4250 It does not let you subtract one const X* pointer from another in
4251 an arm of an if-expression whose if-part is not a constant
4253 const char *g = "string";
4254 pcpcc = &g + (g ? g-g : 0);
4255 /* HPUX 7.0 cc rejects these. */
4257 ppc = (char**) pcpcc;
4258 pcpcc = (char const *const *) ppc;
4259 { /* SCO 3.2v4 cc rejects this sort of thing. */
4262 char const *s = 0 ? (char *) 0 : (char const *) 0;
4267 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4269 const int *foo = &x[0];
4272 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4273 typedef const int *iptr;
4277 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4278 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4279 struct s { int j; const int *ap[3]; } bx;
4280 struct s *b = &bx; b->j = 5;
4282 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4286 return !cs[0] && !zero.x;
4293 if ac_fn_c_try_compile "$LINENO"; then :
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4301 $as_echo "$ac_cv_c_const" >&6; }
4302 if test $ac_cv_c_const = no; then
4304 $as_echo "#define const /**/" >>confdefs.h
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4310 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4311 if ${ac_cv_path_GREP+:} false; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -z "$GREP"; then
4315 ac_path_GREP_found=false
4316 # Loop through the user's path and test for each of PROGNAME-LIST
4317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4318 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4321 test -z "$as_dir" && as_dir=.
4322 for ac_prog in grep ggrep; do
4323 for ac_exec_ext in '' $ac_executable_extensions; do
4324 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4325 as_fn_executable_p "$ac_path_GREP" || continue
4326 # Check for GNU ac_path_GREP and select it if it is found.
4327 # Check for GNU $ac_path_GREP
4328 case `"$ac_path_GREP" --version 2>&1` in
4330 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4333 $as_echo_n 0123456789 >"conftest.in"
4336 cat "conftest.in" "conftest.in" >"conftest.tmp"
4337 mv "conftest.tmp" "conftest.in"
4338 cp "conftest.in" "conftest.nl"
4339 $as_echo 'GREP' >> "conftest.nl"
4340 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4341 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4342 as_fn_arith $ac_count + 1 && ac_count=$as_val
4343 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4344 # Best one so far, save it but keep looking for a better one
4345 ac_cv_path_GREP="$ac_path_GREP"
4346 ac_path_GREP_max=$ac_count
4348 # 10*(2^10) chars as input seems more than enough
4349 test $ac_count -gt 10 && break
4351 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4354 $ac_path_GREP_found && break 3
4359 if test -z "$ac_cv_path_GREP"; then
4360 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4363 ac_cv_path_GREP=$GREP
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4368 $as_echo "$ac_cv_path_GREP" >&6; }
4369 GREP="$ac_cv_path_GREP"
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4373 $as_echo_n "checking for egrep... " >&6; }
4374 if ${ac_cv_path_EGREP+:} false; then :
4375 $as_echo_n "(cached) " >&6
4377 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4378 then ac_cv_path_EGREP="$GREP -E"
4380 if test -z "$EGREP"; then
4381 ac_path_EGREP_found=false
4382 # Loop through the user's path and test for each of PROGNAME-LIST
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4387 test -z "$as_dir" && as_dir=.
4388 for ac_prog in egrep; do
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4391 as_fn_executable_p "$ac_path_EGREP" || continue
4392 # Check for GNU ac_path_EGREP and select it if it is found.
4393 # Check for GNU $ac_path_EGREP
4394 case `"$ac_path_EGREP" --version 2>&1` in
4396 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4399 $as_echo_n 0123456789 >"conftest.in"
4402 cat "conftest.in" "conftest.in" >"conftest.tmp"
4403 mv "conftest.tmp" "conftest.in"
4404 cp "conftest.in" "conftest.nl"
4405 $as_echo 'EGREP' >> "conftest.nl"
4406 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4408 as_fn_arith $ac_count + 1 && ac_count=$as_val
4409 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4410 # Best one so far, save it but keep looking for a better one
4411 ac_cv_path_EGREP="$ac_path_EGREP"
4412 ac_path_EGREP_max=$ac_count
4414 # 10*(2^10) chars as input seems more than enough
4415 test $ac_count -gt 10 && break
4417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4420 $ac_path_EGREP_found && break 3
4425 if test -z "$ac_cv_path_EGREP"; then
4426 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4429 ac_cv_path_EGREP=$EGREP
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4435 $as_echo "$ac_cv_path_EGREP" >&6; }
4436 EGREP="$ac_cv_path_EGREP"
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4440 $as_echo_n "checking for ANSI C header files... " >&6; }
4441 if ${ac_cv_header_stdc+:} false; then :
4442 $as_echo_n "(cached) " >&6
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4459 if ac_fn_c_try_compile "$LINENO"; then :
4460 ac_cv_header_stdc=yes
4462 ac_cv_header_stdc=no
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4466 if test $ac_cv_header_stdc = yes; then
4467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4474 $EGREP "memchr" >/dev/null 2>&1; then :
4477 ac_cv_header_stdc=no
4483 if test $ac_cv_header_stdc = yes; then
4484 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4491 $EGREP "free" >/dev/null 2>&1; then :
4494 ac_cv_header_stdc=no
4500 if test $ac_cv_header_stdc = yes; then
4501 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4502 if test "$cross_compiling" = yes; then :
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4509 #if ((' ' & 0x0FF) == 0x020)
4510 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4511 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4513 # define ISLOWER(c) \
4514 (('a' <= (c) && (c) <= 'i') \
4515 || ('j' <= (c) && (c) <= 'r') \
4516 || ('s' <= (c) && (c) <= 'z'))
4517 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4520 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4525 for (i = 0; i < 256; i++)
4526 if (XOR (islower (i), ISLOWER (i))
4527 || toupper (i) != TOUPPER (i))
4532 if ac_fn_c_try_run "$LINENO"; then :
4535 ac_cv_header_stdc=no
4537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4538 conftest.$ac_objext conftest.beam conftest.$ac_ext
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4544 $as_echo "$ac_cv_header_stdc" >&6; }
4545 if test $ac_cv_header_stdc = yes; then
4547 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4551 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4552 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4553 inttypes.h stdint.h unistd.h
4555 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4556 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4558 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4559 cat >>confdefs.h <<_ACEOF
4560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4570 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4571 if ${ac_cv_c_bigendian+:} false; then :
4572 $as_echo_n "(cached) " >&6
4574 ac_cv_c_bigendian=unknown
4575 # See if we're dealing with a universal compiler.
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4578 #ifndef __APPLE_CC__
4579 not a universal capable compiler
4584 if ac_fn_c_try_compile "$LINENO"; then :
4586 # Check for potential -arch flags. It is not universal unless
4587 # there are at least two -arch flags with different values.
4590 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4591 if test -n "$ac_prev"; then
4593 i?86 | x86_64 | ppc | ppc64)
4594 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4597 ac_cv_c_bigendian=universal
4603 elif test "x$ac_word" = "x-arch"; then
4608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4609 if test $ac_cv_c_bigendian = unknown; then
4610 # See if sys/param.h defines the BYTE_ORDER macro.
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4613 #include <sys/types.h>
4614 #include <sys/param.h>
4619 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4620 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4629 if ac_fn_c_try_compile "$LINENO"; then :
4630 # It does; now see whether it defined to BIG_ENDIAN or not.
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4633 #include <sys/types.h>
4634 #include <sys/param.h>
4639 #if BYTE_ORDER != BIG_ENDIAN
4647 if ac_fn_c_try_compile "$LINENO"; then :
4648 ac_cv_c_bigendian=yes
4650 ac_cv_c_bigendian=no
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656 if test $ac_cv_c_bigendian = unknown; then
4657 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4665 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4673 if ac_fn_c_try_compile "$LINENO"; then :
4674 # It does; now see whether it defined to _BIG_ENDIAN or not.
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4690 if ac_fn_c_try_compile "$LINENO"; then :
4691 ac_cv_c_bigendian=yes
4693 ac_cv_c_bigendian=no
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4699 if test $ac_cv_c_bigendian = unknown; then
4700 # Compile a test program.
4701 if test "$cross_compiling" = yes; then :
4702 # Try to guess by grepping values from an object file.
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4705 short int ascii_mm[] =
4706 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4707 short int ascii_ii[] =
4708 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4709 int use_ascii (int i) {
4710 return ascii_mm[i] + ascii_ii[i];
4712 short int ebcdic_ii[] =
4713 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4714 short int ebcdic_mm[] =
4715 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4716 int use_ebcdic (int i) {
4717 return ebcdic_mm[i] + ebcdic_ii[i];
4724 return use_ascii (foo) == use_ebcdic (foo);
4729 if ac_fn_c_try_compile "$LINENO"; then :
4730 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4731 ac_cv_c_bigendian=yes
4733 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4734 if test "$ac_cv_c_bigendian" = unknown; then
4735 ac_cv_c_bigendian=no
4737 # finding both strings is unlikely to happen, but who knows?
4738 ac_cv_c_bigendian=unknown
4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4746 $ac_includes_default
4751 /* Are we little or big endian? From Harbison&Steele. */
4755 char c[sizeof (long int)];
4758 return u.c[sizeof (long int) - 1] == 1;
4764 if ac_fn_c_try_run "$LINENO"; then :
4765 ac_cv_c_bigendian=no
4767 ac_cv_c_bigendian=yes
4769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4770 conftest.$ac_objext conftest.beam conftest.$ac_ext
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4776 $as_echo "$ac_cv_c_bigendian" >&6; }
4777 case $ac_cv_c_bigendian in #(
4780 $as_echo "#define LZO_ABI_BIG_ENDIAN 1" >>confdefs.h
4784 $as_echo "#define LZO_ABI_LITTLE_ENDIAN 1" >>confdefs.h
4788 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4792 as_fn_error $? "unknown endianness
4793 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4797 # Check whether --enable-largefile was given.
4798 if test "${enable_largefile+set}" = set; then :
4799 enableval=$enable_largefile;
4802 if test "$enable_largefile" != no; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4805 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4806 if ${ac_cv_sys_largefile_CC+:} false; then :
4807 $as_echo_n "(cached) " >&6
4809 ac_cv_sys_largefile_CC=no
4810 if test "$GCC" != yes; then
4813 # IRIX 6.2 and later do not support large files by default,
4814 # so use the C compiler's -n32 option if that helps.
4815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4817 #include <sys/types.h>
4818 /* Check that off_t can represent 2**63 - 1 correctly.
4819 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4820 since some C++ compilers masquerading as C compilers
4821 incorrectly reject 9223372036854775807. */
4822 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4823 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4824 && LARGE_OFF_T % 2147483647 == 1)
4834 if ac_fn_c_try_compile "$LINENO"; then :
4837 rm -f core conftest.err conftest.$ac_objext
4839 if ac_fn_c_try_compile "$LINENO"; then :
4840 ac_cv_sys_largefile_CC=' -n32'; break
4842 rm -f core conftest.err conftest.$ac_objext
4846 rm -f conftest.$ac_ext
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4850 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4851 if test "$ac_cv_sys_largefile_CC" != no; then
4852 CC=$CC$ac_cv_sys_largefile_CC
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4856 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4857 if ${ac_cv_sys_file_offset_bits+:} false; then :
4858 $as_echo_n "(cached) " >&6
4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4863 #include <sys/types.h>
4864 /* Check that off_t can represent 2**63 - 1 correctly.
4865 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4866 since some C++ compilers masquerading as C compilers
4867 incorrectly reject 9223372036854775807. */
4868 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4869 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4870 && LARGE_OFF_T % 2147483647 == 1)
4880 if ac_fn_c_try_compile "$LINENO"; then :
4881 ac_cv_sys_file_offset_bits=no; break
4883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4886 #define _FILE_OFFSET_BITS 64
4887 #include <sys/types.h>
4888 /* Check that off_t can represent 2**63 - 1 correctly.
4889 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4890 since some C++ compilers masquerading as C compilers
4891 incorrectly reject 9223372036854775807. */
4892 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4893 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4894 && LARGE_OFF_T % 2147483647 == 1)
4904 if ac_fn_c_try_compile "$LINENO"; then :
4905 ac_cv_sys_file_offset_bits=64; break
4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908 ac_cv_sys_file_offset_bits=unknown
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4913 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4914 case $ac_cv_sys_file_offset_bits in #(
4917 cat >>confdefs.h <<_ACEOF
4918 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4923 if test $ac_cv_sys_file_offset_bits = unknown; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4925 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4926 if ${ac_cv_sys_large_files+:} false; then :
4927 $as_echo_n "(cached) " >&6
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4932 #include <sys/types.h>
4933 /* Check that off_t can represent 2**63 - 1 correctly.
4934 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4935 since some C++ compilers masquerading as C compilers
4936 incorrectly reject 9223372036854775807. */
4937 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4938 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4939 && LARGE_OFF_T % 2147483647 == 1)
4949 if ac_fn_c_try_compile "$LINENO"; then :
4950 ac_cv_sys_large_files=no; break
4952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4955 #define _LARGE_FILES 1
4956 #include <sys/types.h>
4957 /* Check that off_t can represent 2**63 - 1 correctly.
4958 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4959 since some C++ compilers masquerading as C compilers
4960 incorrectly reject 9223372036854775807. */
4961 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4962 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4963 && LARGE_OFF_T % 2147483647 == 1)
4973 if ac_fn_c_try_compile "$LINENO"; then :
4974 ac_cv_sys_large_files=1; break
4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4977 ac_cv_sys_large_files=unknown
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4982 $as_echo "$ac_cv_sys_large_files" >&6; }
4983 case $ac_cv_sys_large_files in #(
4986 cat >>confdefs.h <<_ACEOF
4987 #define _LARGE_FILES $ac_cv_sys_large_files
4998 am__api_version='1.15'
5000 # Find a good install program. We prefer a C program (faster),
5001 # so one script is as good as another. But avoid the broken or
5002 # incompatible versions:
5003 # SysV /etc/install, /usr/sbin/install
5004 # SunOS /usr/etc/install
5005 # IRIX /sbin/install
5007 # AmigaOS /C/install, which installs bootblocks on floppy discs
5008 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5009 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5010 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5011 # OS/2's system install, which has a completely different semantic
5012 # ./install, which can be erroneously created by make from ./install.sh.
5013 # Reject install programs that cannot install multiple files.
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5015 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5016 if test -z "$INSTALL"; then
5017 if ${ac_cv_path_install+:} false; then :
5018 $as_echo_n "(cached) " >&6
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir=.
5025 # Account for people who put trailing slashes in PATH elements.
5026 case $as_dir/ in #((
5027 ./ | .// | /[cC]/* | \
5028 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5029 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5032 # OSF1 and SCO ODT 3.0 have their own names for install.
5033 # Don't use installbsd from OSF since it installs stuff as root
5035 for ac_prog in ginstall scoinst install; do
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5038 if test $ac_prog = install &&
5039 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5040 # AIX install. It has an incompatible calling convention.
5042 elif test $ac_prog = install &&
5043 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5044 # program-specific install script used by HP pwplus--don't use.
5047 rm -rf conftest.one conftest.two conftest.dir
5048 echo one > conftest.one
5049 echo two > conftest.two
5051 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5052 test -s conftest.one && test -s conftest.two &&
5053 test -s conftest.dir/conftest.one &&
5054 test -s conftest.dir/conftest.two
5056 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5069 rm -rf conftest.one conftest.two conftest.dir
5072 if test "${ac_cv_path_install+set}" = set; then
5073 INSTALL=$ac_cv_path_install
5075 # As a last resort, use the slow shell script. Don't cache a
5076 # value for INSTALL within a source directory, because that will
5077 # break other packages using the cache if that directory is
5078 # removed, or if the value is a relative name.
5079 INSTALL=$ac_install_sh
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5083 $as_echo "$INSTALL" >&6; }
5085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5086 # It thinks the first close brace ends the variable substitution.
5087 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5089 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5091 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5094 $as_echo_n "checking whether build environment is sane... " >&6; }
5095 # Reject unsafe characters in $srcdir or the absolute working directory
5096 # name. Accept space and tab only in the latter.
5100 *[\\\"\#\$\&\'\`$am_lf]*)
5101 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
5104 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
5105 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5108 # Do 'set' in a subshell so we don't clobber the current shell's
5109 # arguments. Must try -L first in case configure is actually a
5110 # symlink; some systems play weird games with the mod time of symlinks
5111 # (eg FreeBSD returns the mod time of the symlink's containing
5115 for am_try in 1 2; do
5116 echo "timestamp, slept: $am_has_slept" > conftest.file
5117 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5118 if test "$*" = "X"; then
5120 set X `ls -t "$srcdir/configure" conftest.file`
5122 if test "$*" != "X $srcdir/configure conftest.file" \
5123 && test "$*" != "X conftest.file $srcdir/configure"; then
5125 # If neither matched, then we have a broken ls. This can happen
5126 # if, for instance, CONFIG_SHELL is bash and it inherits a
5127 # broken ls alias from the environment. This has actually
5128 # happened. Such a system could not be considered "sane".
5129 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
5130 alias in your environment" "$LINENO" 5
5132 if test "$2" = conftest.file || test $am_try -eq 2; then
5139 test "$2" = conftest.file
5145 as_fn_error $? "newly created file is older than distributed files!
5146 Check your system clock" "$LINENO" 5
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5149 $as_echo "yes" >&6; }
5150 # If we didn't sleep, we still need to ensure time stamps of config.status and
5151 # generated files are strictly newer.
5153 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
5160 test "$program_prefix" != NONE &&
5161 program_transform_name="s&^&$program_prefix&;$program_transform_name"
5162 # Use a double $ so make ignores it.
5163 test "$program_suffix" != NONE &&
5164 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
5165 # Double any \ or $.
5166 # By default was `s,x,x', remove it if useless.
5167 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
5168 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
5170 if test x"${MISSING+set}" != xset; then
5173 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
5175 MISSING="\${SHELL} $am_aux_dir/missing" ;;
5178 # Use eval to expand $SHELL
5179 if eval "$MISSING --is-lightweight"; then
5180 am_missing_run="$MISSING "
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
5184 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
5187 if test x"${install_sh+set}" != xset; then
5190 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
5192 install_sh="\${SHELL} $am_aux_dir/install-sh"
5196 # Installed binaries are usually stripped using 'strip' when the user
5197 # run "make install-strip". However 'strip' might not be the right
5198 # tool to use in cross-compilation environments, therefore Automake
5199 # will honor the 'STRIP' environment variable to overrule this program.
5200 if test "$cross_compiling" != no; then
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5203 set dummy ${ac_tool_prefix}strip; ac_word=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if ${ac_cv_prog_STRIP+:} false; then :
5207 $as_echo_n "(cached) " >&6
5209 if test -n "$STRIP"; then
5210 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5219 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 STRIP=$ac_cv_prog_STRIP
5230 if test -n "$STRIP"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5232 $as_echo "$STRIP" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5240 if test -z "$ac_cv_prog_STRIP"; then
5242 # Extract the first word of "strip", so it can be a program name with args.
5243 set dummy strip; ac_word=$2
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245 $as_echo_n "checking for $ac_word... " >&6; }
5246 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5247 $as_echo_n "(cached) " >&6
5249 if test -n "$ac_ct_STRIP"; then
5250 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5259 ac_cv_prog_ac_ct_STRIP="strip"
5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5270 if test -n "$ac_ct_STRIP"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5272 $as_echo "$ac_ct_STRIP" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5278 if test "x$ac_ct_STRIP" = x; then
5281 case $cross_compiling:$ac_tool_warned in
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285 ac_tool_warned=yes ;;
5290 STRIP="$ac_cv_prog_STRIP"
5294 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5297 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5298 if test -z "$MKDIR_P"; then
5299 if ${ac_cv_path_mkdir+:} false; then :
5300 $as_echo_n "(cached) " >&6
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5306 test -z "$as_dir" && as_dir=.
5307 for ac_prog in mkdir gmkdir; do
5308 for ac_exec_ext in '' $ac_executable_extensions; do
5309 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5310 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5311 'mkdir (GNU coreutils) '* | \
5312 'mkdir (coreutils) '* | \
5313 'mkdir (fileutils) '4.1*)
5314 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5324 test -d ./--version && rmdir ./--version
5325 if test "${ac_cv_path_mkdir+set}" = set; then
5326 MKDIR_P="$ac_cv_path_mkdir -p"
5328 # As a last resort, use the slow shell script. Don't cache a
5329 # value for MKDIR_P within a source directory, because that will
5330 # break other packages using the cache if that directory is
5331 # removed, or if the value is a relative name.
5332 MKDIR_P="$ac_install_sh -d"
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5336 $as_echo "$MKDIR_P" >&6; }
5338 for ac_prog in gawk mawk nawk awk
5340 # Extract the first word of "$ac_prog", so it can be a program name with args.
5341 set dummy $ac_prog; ac_word=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_AWK+:} false; then :
5345 $as_echo_n "(cached) " >&6
5347 if test -n "$AWK"; then
5348 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 test -z "$as_dir" && as_dir=.
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5357 ac_cv_prog_AWK="$ac_prog"
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 if test -n "$AWK"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5370 $as_echo "$AWK" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5377 test -n "$AWK" && break
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5381 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5383 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5384 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5385 $as_echo_n "(cached) " >&6
5387 cat >conftest.make <<\_ACEOF
5390 @echo '@@@%%%=$(MAKE)=@@@%%%'
5392 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5393 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5395 eval ac_cv_prog_make_${ac_make}_set=yes;;
5397 eval ac_cv_prog_make_${ac_make}_set=no;;
5401 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5403 $as_echo "yes" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5408 SET_MAKE="MAKE=${MAKE-make}"
5411 # Check whether --enable-silent-rules was given.
5412 if test "${enable_silent_rules+set}" = set; then :
5413 enableval=$enable_silent_rules;
5416 case $enable_silent_rules in # (((
5417 yes) AM_DEFAULT_VERBOSITY=0;;
5418 no) AM_DEFAULT_VERBOSITY=1;;
5419 *) AM_DEFAULT_VERBOSITY=1;;
5421 am_make=${MAKE-make}
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5423 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5424 if ${am_cv_make_support_nested_variables+:} false; then :
5425 $as_echo_n "(cached) " >&6
5427 if $as_echo 'TRUE=$(BAR$(V))
5433 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
5434 am_cv_make_support_nested_variables=yes
5436 am_cv_make_support_nested_variables=no
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5440 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5441 if test $am_cv_make_support_nested_variables = yes; then
5443 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5445 AM_V=$AM_DEFAULT_VERBOSITY
5446 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
5450 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5451 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5452 # is not polluted with repeated "-I."
5453 am__isrc=' -I$(srcdir)'
5454 # test to see if srcdir already configured
5455 if test -f $srcdir/config.status; then
5456 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5460 # test whether we have cygpath
5461 if test -z "$CYGPATH_W"; then
5462 if (cygpath --version) >/dev/null 2>/dev/null; then
5463 CYGPATH_W='cygpath -w'
5470 # Define the identity of the package.
5475 cat >>confdefs.h <<_ACEOF
5476 #define PACKAGE "$PACKAGE"
5480 cat >>confdefs.h <<_ACEOF
5481 #define VERSION "$VERSION"
5484 # Some tools Automake needs.
5486 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5489 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5492 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5495 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5498 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5500 # For better backward compatibility. To be removed once Automake 1.9.x
5501 # dies out for good. For more background, see:
5502 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
5503 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
5504 mkdir_p='$(MKDIR_P)'
5506 # We need awk for the "check" target (and possibly the TAP driver). The
5507 # system "awk" is bad on some platforms.
5508 # Always define AMTAR for backward compatibility. Yes, it's still used
5509 # in the wild :-( We should find a proper way to deprecate it ...
5513 # We'll loop over all known methods to create a tar archive until one works.
5514 _am_tools='gnutar pax cpio none'
5516 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
5522 depcc="$CC" am_compiler_list=
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5525 $as_echo_n "checking dependency style of $depcc... " >&6; }
5526 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5527 $as_echo_n "(cached) " >&6
5529 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5530 # We make a subdir and do the tests there. Otherwise we can end up
5531 # making bogus files that we don't know about and never remove. For
5532 # instance it was reported that on HP-UX the gcc test will end up
5533 # making a dummy file named 'D' -- because '-MD' means "put the output
5537 # Copy depcomp to subdir because otherwise we won't find it if we're
5538 # using a relative directory.
5539 cp "$am_depcomp" conftest.dir
5541 # We will build objects and dependencies in a subdirectory because
5542 # it helps to detect inapplicable dependency modes. For instance
5543 # both Tru64's cc and ICC support -MD to output dependencies as a
5544 # side effect of compilation, but ICC will put the dependencies in
5545 # the current directory while Tru64 will put them in the object
5549 am_cv_CC_dependencies_compiler_type=none
5550 if test "$am_compiler_list" = ""; then
5551 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5554 case " $depcc " in #(
5555 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5558 for depmode in $am_compiler_list; do
5559 # Setup a source with many dependencies, because some compilers
5560 # like to wrap large dependency lists on column 80 (with \), and
5561 # we should not choose a depcomp mode which is confused by this.
5563 # We need to recreate these files for each test, as the compiler may
5564 # overwrite some of them when testing with obscure command lines.
5565 # This happens at least with the AIX C compiler.
5567 for i in 1 2 3 4 5 6; do
5568 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5569 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5570 # Solaris 10 /bin/sh.
5571 echo '/* dummy */' > sub/conftst$i.h
5573 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5575 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5576 # mode. It turns out that the SunPro C++ compiler does not properly
5577 # handle '-M -o', and we need to detect this. Also, some Intel
5578 # versions had trouble with output in subdirs.
5579 am__obj=sub/conftest.${OBJEXT-o}
5580 am__minus_obj="-o $am__obj"
5583 # This depmode causes a compiler race in universal mode.
5584 test "$am__universal" = false || continue
5587 # After this tag, mechanisms are not by side-effect, so they'll
5588 # only be used when explicitly requested.
5589 if test "x$enable_dependency_tracking" = xyes; then
5595 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5596 # This compiler won't grok '-c -o', but also, the minuso test has
5597 # not run yet. These depmodes are late enough in the game, and
5598 # so weak that their functioning should not be impacted.
5599 am__obj=conftest.${OBJEXT-o}
5604 if depmode=$depmode \
5605 source=sub/conftest.c object=$am__obj \
5606 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5607 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5608 >/dev/null 2>conftest.err &&
5609 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5610 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5611 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5612 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5613 # icc doesn't choke on unknown options, it will just issue warnings
5614 # or remarks (even with -Werror). So we grep stderr for any message
5615 # that says an option was ignored or not supported.
5616 # When given -MP, icc 7.0 and 7.1 complain thusly:
5617 # icc: Command line warning: ignoring option '-M'; no argument required
5618 # The diagnosis changed in icc 8.0:
5619 # icc: Command line remark: option '-MP' not supported
5620 if (grep 'ignoring option' conftest.err ||
5621 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5622 am_cv_CC_dependencies_compiler_type=$depmode
5631 am_cv_CC_dependencies_compiler_type=none
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5636 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5637 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5640 test "x$enable_dependency_tracking" != xno \
5641 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5643 am__fastdepCC_FALSE='#'
5645 am__fastdepCC_TRUE='#'
5646 am__fastdepCC_FALSE=
5651 # POSIX will say in a future version that running "rm -f" with no argument
5652 # is OK; and we want to be able to make that assumption in our Makefile
5653 # recipes. So use an aggressive probe to check that the usage we want is
5654 # actually supported "in the wild" to an acceptable degree.
5655 # See automake bug#10828.
5656 # To make any issue more visible, cause the running configure to be aborted
5657 # by default if the 'rm' program in use doesn't match our expectations; the
5658 # user can still override this though.
5659 if rm -f && rm -fr && rm -rf; then : OK; else
5663 Your 'rm' program seems unable to run without file operands specified
5664 on the command line, even when the '-f' option is present. This is contrary
5665 to the behaviour of most rm programs out there, and not conforming with
5666 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
5668 Please tell bug-automake@gnu.org about your system, including the value
5669 of your $PATH and any error possibly output before this message. This
5670 can help us improve future automake versions.
5673 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
5674 echo 'Configuration will proceed anyway, since you have set the' >&2
5675 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
5679 Aborting the configuration process, to ensure you take notice of the issue.
5681 You can download and install GNU coreutils to get an 'rm' implementation
5682 that behaves properly: <http://www.gnu.org/software/coreutils/>.
5684 If you want to complete the configuration process using your problematic
5685 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5686 to "yes", and re-run configure.
5689 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
5693 # Check whether --enable-silent-rules was given.
5694 if test "${enable_silent_rules+set}" = set; then :
5695 enableval=$enable_silent_rules;
5698 case $enable_silent_rules in # (((
5699 yes) AM_DEFAULT_VERBOSITY=0;;
5700 no) AM_DEFAULT_VERBOSITY=1;;
5701 *) AM_DEFAULT_VERBOSITY=0;;
5703 am_make=${MAKE-make}
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5705 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5706 if ${am_cv_make_support_nested_variables+:} false; then :
5707 $as_echo_n "(cached) " >&6
5709 if $as_echo 'TRUE=$(BAR$(V))
5715 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
5716 am_cv_make_support_nested_variables=yes
5718 am_cv_make_support_nested_variables=no
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5722 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5723 if test $am_cv_make_support_nested_variables = yes; then
5725 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5727 AM_V=$AM_DEFAULT_VERBOSITY
5728 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
5732 ac_config_headers="$ac_config_headers config.h:config.hin"
5737 # Check whether --enable-static was given.
5738 if test "${enable_static+set}" = set; then :
5739 enableval=$enable_static; p=${PACKAGE-default}
5741 yes) enable_static=yes ;;
5742 no) enable_static=no ;;
5745 # Look at the argument we got. We use all the common list separators.
5746 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
5747 for pkg in $enableval; do
5749 if test "X$pkg" = "X$p"; then
5768 # Check whether --enable-shared was given.
5769 if test "${enable_shared+set}" = set; then :
5770 enableval=$enable_shared; p=${PACKAGE-default}
5772 yes) enable_shared=yes ;;
5773 no) enable_shared=no ;;
5776 # Look at the argument we got. We use all the common list separators.
5777 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
5778 for pkg in $enableval; do
5780 if test "X$pkg" = "X$p"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5802 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5807 macro_version='2.4.2.418'
5808 macro_revision='2.4.2.418'
5822 ltmain=$ac_aux_dir/ltmain.sh
5824 # Backslashify metacharacters that are still active within
5825 # double-quoted strings.
5826 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5828 # Same as above, but do not quote variable references.
5829 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5831 # Sed substitution to delay expansion of an escaped shell variable in a
5832 # double_quote_subst'ed string.
5833 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5835 # Sed substitution to delay expansion of an escaped single quote.
5836 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5838 # Sed substitution to avoid accidental globbing in evaled expressions
5839 no_glob_subst='s/\*/\\\*/g'
5841 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5842 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5843 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5846 $as_echo_n "checking how to print strings... " >&6; }
5847 # Test print first, because it will be a builtin if present.
5848 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5849 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5851 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5854 # Use this function as a fallback that always works.
5855 func_fallback_echo ()
5857 eval 'cat <<_LTECHO_EOF
5861 ECHO='func_fallback_echo'
5864 # func_echo_all arg...
5865 # Invoke $ECHO with all args, space-separated.
5872 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5873 $as_echo "printf" >&6; } ;;
5874 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5875 $as_echo "print -r" >&6; } ;;
5876 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5877 $as_echo "cat" >&6; } ;;
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5894 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5895 if ${ac_cv_path_SED+:} false; then :
5896 $as_echo_n "(cached) " >&6
5898 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5899 for ac_i in 1 2 3 4 5 6 7; do
5900 ac_script="$ac_script$as_nl$ac_script"
5902 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5903 { ac_script=; unset ac_script;}
5904 if test -z "$SED"; then
5905 ac_path_SED_found=false
5906 # Loop through the user's path and test for each of PROGNAME-LIST
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 test -z "$as_dir" && as_dir=.
5912 for ac_prog in sed gsed; do
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5915 as_fn_executable_p "$ac_path_SED" || continue
5916 # Check for GNU ac_path_SED and select it if it is found.
5917 # Check for GNU $ac_path_SED
5918 case `"$ac_path_SED" --version 2>&1` in
5920 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5923 $as_echo_n 0123456789 >"conftest.in"
5926 cat "conftest.in" "conftest.in" >"conftest.tmp"
5927 mv "conftest.tmp" "conftest.in"
5928 cp "conftest.in" "conftest.nl"
5929 $as_echo '' >> "conftest.nl"
5930 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5931 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5932 as_fn_arith $ac_count + 1 && ac_count=$as_val
5933 if test $ac_count -gt ${ac_path_SED_max-0}; then
5934 # Best one so far, save it but keep looking for a better one
5935 ac_cv_path_SED="$ac_path_SED"
5936 ac_path_SED_max=$ac_count
5938 # 10*(2^10) chars as input seems more than enough
5939 test $ac_count -gt 10 && break
5941 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5944 $ac_path_SED_found && break 3
5949 if test -z "$ac_cv_path_SED"; then
5950 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5958 $as_echo "$ac_cv_path_SED" >&6; }
5959 SED="$ac_cv_path_SED"
5962 test -z "$SED" && SED=sed
5963 Xsed="$SED -e 1s/^X//"
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5976 $as_echo_n "checking for fgrep... " >&6; }
5977 if ${ac_cv_path_FGREP+:} false; then :
5978 $as_echo_n "(cached) " >&6
5980 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5981 then ac_cv_path_FGREP="$GREP -F"
5983 if test -z "$FGREP"; then
5984 ac_path_FGREP_found=false
5985 # Loop through the user's path and test for each of PROGNAME-LIST
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5990 test -z "$as_dir" && as_dir=.
5991 for ac_prog in fgrep; do
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5994 as_fn_executable_p "$ac_path_FGREP" || continue
5995 # Check for GNU ac_path_FGREP and select it if it is found.
5996 # Check for GNU $ac_path_FGREP
5997 case `"$ac_path_FGREP" --version 2>&1` in
5999 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6002 $as_echo_n 0123456789 >"conftest.in"
6005 cat "conftest.in" "conftest.in" >"conftest.tmp"
6006 mv "conftest.tmp" "conftest.in"
6007 cp "conftest.in" "conftest.nl"
6008 $as_echo 'FGREP' >> "conftest.nl"
6009 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6011 as_fn_arith $ac_count + 1 && ac_count=$as_val
6012 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6013 # Best one so far, save it but keep looking for a better one
6014 ac_cv_path_FGREP="$ac_path_FGREP"
6015 ac_path_FGREP_max=$ac_count
6017 # 10*(2^10) chars as input seems more than enough
6018 test $ac_count -gt 10 && break
6020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6023 $ac_path_FGREP_found && break 3
6028 if test -z "$ac_cv_path_FGREP"; then
6029 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6032 ac_cv_path_FGREP=$FGREP
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6038 $as_echo "$ac_cv_path_FGREP" >&6; }
6039 FGREP="$ac_cv_path_FGREP"
6042 test -z "$GREP" && GREP=grep
6062 # Check whether --with-gnu-ld was given.
6063 if test "${with_gnu_ld+set}" = set; then :
6064 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6070 if test yes = "$GCC"; then
6071 # Check if gcc -print-prog-name=ld gives a path.
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6073 $as_echo_n "checking for ld used by $CC... " >&6; }
6076 # gcc leaves a trailing carriage return, which upsets mingw
6077 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6079 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6082 # Accept absolute paths.
6084 re_direlt='/[^/][^/]*/\.\./'
6085 # Canonicalize the pathname of ld
6086 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6087 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6088 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6090 test -z "$LD" && LD=$ac_prog
6093 # If it fails, then pretend we aren't using GCC.
6097 # If it is relative, then search for the first ld in PATH.
6101 elif test yes = "$with_gnu_ld"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6103 $as_echo_n "checking for GNU ld... " >&6; }
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6106 $as_echo_n "checking for non-GNU ld... " >&6; }
6108 if ${lt_cv_path_LD+:} false; then :
6109 $as_echo_n "(cached) " >&6
6111 if test -z "$LD"; then
6112 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6113 for ac_dir in $PATH; do
6115 test -z "$ac_dir" && ac_dir=.
6116 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6117 lt_cv_path_LD=$ac_dir/$ac_prog
6118 # Check to see if the program is GNU ld. I'd rather use --version,
6119 # but apparently some variants of GNU ld only accept -v.
6120 # Break only if it was the GNU/non-GNU ld that we prefer.
6121 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6122 *GNU* | *'with BFD'*)
6123 test no != "$with_gnu_ld" && break
6126 test yes != "$with_gnu_ld" && break
6133 lt_cv_path_LD=$LD # Let the user override the test with a path.
6138 if test -n "$LD"; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6140 $as_echo "$LD" >&6; }
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 $as_echo "no" >&6; }
6145 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6147 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6148 if ${lt_cv_prog_gnu_ld+:} false; then :
6149 $as_echo_n "(cached) " >&6
6151 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6152 case `$LD -v 2>&1 </dev/null` in
6153 *GNU* | *'with BFD'*)
6154 lt_cv_prog_gnu_ld=yes
6157 lt_cv_prog_gnu_ld=no
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6162 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6163 with_gnu_ld=$lt_cv_prog_gnu_ld
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6174 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6175 if ${lt_cv_path_NM+:} false; then :
6176 $as_echo_n "(cached) " >&6
6178 if test -n "$NM"; then
6179 # Let the user override the test.
6182 lt_nm_to_check=${ac_tool_prefix}nm
6183 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6184 lt_nm_to_check="$lt_nm_to_check nm"
6186 for lt_tmp_nm in $lt_nm_to_check; do
6187 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6188 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6190 test -z "$ac_dir" && ac_dir=.
6191 tmp_nm=$ac_dir/$lt_tmp_nm
6192 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6193 # Check to see if the nm accepts a BSD-compat flag.
6194 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6195 # nm: unknown option "B" ignored
6196 # Tru64's nm complains that /dev/null is an invalid object file
6197 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6198 */dev/null* | *'Invalid file or object type'*)
6199 lt_cv_path_NM="$tmp_nm -B"
6203 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6205 lt_cv_path_NM="$tmp_nm -p"
6209 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6210 continue # so that we can try to find one that supports BSD flags
6219 : ${lt_cv_path_NM=no}
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6223 $as_echo "$lt_cv_path_NM" >&6; }
6224 if test no != "$lt_cv_path_NM"; then
6227 # Didn't find any BSD compatible name lister, look for dumpbin.
6228 if test -n "$DUMPBIN"; then :
6229 # Let the user override the test.
6231 if test -n "$ac_tool_prefix"; then
6232 for ac_prog in dumpbin "link -dump"
6234 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6235 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 $as_echo_n "checking for $ac_word... " >&6; }
6238 if ${ac_cv_prog_DUMPBIN+:} false; then :
6239 $as_echo_n "(cached) " >&6
6241 if test -n "$DUMPBIN"; then
6242 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 test -z "$as_dir" && as_dir=.
6249 for ac_exec_ext in '' $ac_executable_extensions; do
6250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6251 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 DUMPBIN=$ac_cv_prog_DUMPBIN
6262 if test -n "$DUMPBIN"; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6264 $as_echo "$DUMPBIN" >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267 $as_echo "no" >&6; }
6271 test -n "$DUMPBIN" && break
6274 if test -z "$DUMPBIN"; then
6275 ac_ct_DUMPBIN=$DUMPBIN
6276 for ac_prog in dumpbin "link -dump"
6278 # Extract the first word of "$ac_prog", so it can be a program name with args.
6279 set dummy $ac_prog; ac_word=$2
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281 $as_echo_n "checking for $ac_word... " >&6; }
6282 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6283 $as_echo_n "(cached) " >&6
6285 if test -n "$ac_ct_DUMPBIN"; then
6286 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6306 if test -n "$ac_ct_DUMPBIN"; then
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6308 $as_echo "$ac_ct_DUMPBIN" >&6; }
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311 $as_echo "no" >&6; }
6315 test -n "$ac_ct_DUMPBIN" && break
6318 if test "x$ac_ct_DUMPBIN" = x; then
6321 case $cross_compiling:$ac_tool_warned in
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6325 ac_tool_warned=yes ;;
6327 DUMPBIN=$ac_ct_DUMPBIN
6331 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6333 DUMPBIN="$DUMPBIN -symbols -headers"
6341 if test : != "$DUMPBIN"; then
6345 test -z "$NM" && NM=nm
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6353 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6354 if ${lt_cv_nm_interface+:} false; then :
6355 $as_echo_n "(cached) " >&6
6357 lt_cv_nm_interface="BSD nm"
6358 echo "int some_variable = 0;" > conftest.$ac_ext
6359 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6360 (eval "$ac_compile" 2>conftest.err)
6361 cat conftest.err >&5
6362 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6363 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6364 cat conftest.err >&5
6365 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6366 cat conftest.out >&5
6367 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6368 lt_cv_nm_interface="MS dumpbin"
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6373 $as_echo "$lt_cv_nm_interface" >&6; }
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6376 $as_echo_n "checking whether ln -s works... " >&6; }
6378 if test "$LN_S" = "ln -s"; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6380 $as_echo "yes" >&6; }
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6383 $as_echo "no, using $LN_S" >&6; }
6386 # find the maximum length of command line arguments
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6388 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6389 if ${lt_cv_sys_max_cmd_len+:} false; then :
6390 $as_echo_n "(cached) " >&6
6397 # On DJGPP, this test can blow up pretty badly due to problems in libc
6398 # (any single argument exceeding 2000 bytes causes a buffer overrun
6399 # during glob expansion). Even if it were fixed, the result of this
6400 # check would be larger than it should be.
6401 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6405 # Under GNU Hurd, this test is not required because there is
6406 # no limit to the length of command line arguments.
6407 # Libtool will interpret -1 as no limit whatsoever
6408 lt_cv_sys_max_cmd_len=-1;
6411 cygwin* | mingw* | cegcc*)
6412 # On Win9x/ME, this test blows up -- it succeeds, but takes
6413 # about 5 minutes as the teststring grows exponentially.
6414 # Worse, since 9x/ME are not pre-emptively multitasking,
6415 # you end up with a "frozen" computer, even though with patience
6416 # the test eventually succeeds (with a max line length of 256k).
6417 # Instead, let's just punt: use the minimum linelength reported by
6418 # all of the supported platforms: 8192 (on NT/2K/XP).
6419 lt_cv_sys_max_cmd_len=8192;
6423 # On MiNT this can take a long time and run out of memory.
6424 lt_cv_sys_max_cmd_len=8192;
6428 # On AmigaOS with pdksh, this test takes hours, literally.
6429 # So we just punt and use a minimum line length of 8192.
6430 lt_cv_sys_max_cmd_len=8192;
6433 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6434 # This has been around since 386BSD, at least. Likely further.
6435 if test -x /sbin/sysctl; then
6436 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6437 elif test -x /usr/sbin/sysctl; then
6438 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6440 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6442 # And add a safety zone
6443 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6444 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6448 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6449 lt_cv_sys_max_cmd_len=196608
6453 # The test takes a long time on OS/2.
6454 lt_cv_sys_max_cmd_len=8192
6458 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6459 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6460 # nice to cause kernel panics so lets avoid the loop below.
6461 # First set a reasonable default.
6462 lt_cv_sys_max_cmd_len=16384
6464 if test -x /sbin/sysconfig; then
6465 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6466 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6471 lt_cv_sys_max_cmd_len=102400
6473 sysv5* | sco5v6* | sysv4.2uw2*)
6474 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6475 if test -n "$kargmax"; then
6476 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6478 lt_cv_sys_max_cmd_len=32768
6482 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6483 if test -n "$lt_cv_sys_max_cmd_len" && \
6484 test undefined != "$lt_cv_sys_max_cmd_len"; then
6485 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6486 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6488 # Make teststring a little bigger before we do anything with it.
6489 # a 1K string should be a reasonable start.
6490 for i in 1 2 3 4 5 6 7 8; do
6491 teststring=$teststring$teststring
6493 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6494 # If test is not a shell built-in, we'll probably end up computing a
6495 # maximum length that is only half of the actual maximum length, but
6497 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6498 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6499 test 17 != "$i" # 1/2 MB should be enough
6502 teststring=$teststring$teststring
6504 # Only check the string length outside the loop.
6505 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6507 # Add a significant safety factor because C++ compilers can tack on
6508 # massive amounts of additional arguments before passing them to the
6509 # linker. It appears as though 1/2 is a usable value.
6510 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6517 if test -n "$lt_cv_sys_max_cmd_len"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6519 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6522 $as_echo "none" >&6; }
6524 max_cmd_len=$lt_cv_sys_max_cmd_len
6535 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6545 # test EBCDIC or ASCII
6546 case `echo X|tr X '\101'` in
6547 A) # ASCII based system
6548 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6549 lt_SP2NL='tr \040 \012'
6550 lt_NL2SP='tr \015\012 \040\040'
6552 *) # EBCDIC based system
6553 lt_SP2NL='tr \100 \n'
6554 lt_NL2SP='tr \r\n \100\100'
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6567 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6568 if ${lt_cv_to_host_file_cmd+:} false; then :
6569 $as_echo_n "(cached) " >&6
6574 *-*-mingw* ) # actually msys
6575 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6578 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6580 * ) # otherwise, assume *nix
6581 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6587 *-*-mingw* ) # actually msys
6588 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6591 lt_cv_to_host_file_cmd=func_convert_file_noop
6593 * ) # otherwise, assume *nix
6594 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6598 * ) # unhandled hosts (and "normal" native builds)
6599 lt_cv_to_host_file_cmd=func_convert_file_noop
6605 to_host_file_cmd=$lt_cv_to_host_file_cmd
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6607 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6614 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6615 if ${lt_cv_to_tool_file_cmd+:} false; then :
6616 $as_echo_n "(cached) " >&6
6618 #assume ordinary cross tools, or native build.
6619 lt_cv_to_tool_file_cmd=func_convert_file_noop
6623 *-*-mingw* ) # actually msys
6624 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6632 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6634 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6641 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6642 if ${lt_cv_ld_reload_flag+:} false; then :
6643 $as_echo_n "(cached) " >&6
6645 lt_cv_ld_reload_flag='-r'
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6648 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6649 reload_flag=$lt_cv_ld_reload_flag
6650 case $reload_flag in
6652 *) reload_flag=" $reload_flag" ;;
6654 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6656 cygwin* | mingw* | pw32* | cegcc*)
6657 if test yes != "$GCC"; then
6662 if test yes = "$GCC"; then
6663 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6665 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6678 if test -n "$ac_tool_prefix"; then
6679 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6680 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 $as_echo_n "checking for $ac_word... " >&6; }
6683 if ${ac_cv_prog_OBJDUMP+:} false; then :
6684 $as_echo_n "(cached) " >&6
6686 if test -n "$OBJDUMP"; then
6687 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 test -z "$as_dir" && as_dir=.
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 OBJDUMP=$ac_cv_prog_OBJDUMP
6707 if test -n "$OBJDUMP"; then
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6709 $as_echo "$OBJDUMP" >&6; }
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 $as_echo "no" >&6; }
6717 if test -z "$ac_cv_prog_OBJDUMP"; then
6718 ac_ct_OBJDUMP=$OBJDUMP
6719 # Extract the first word of "objdump", so it can be a program name with args.
6720 set dummy objdump; ac_word=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722 $as_echo_n "checking for $ac_word... " >&6; }
6723 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6724 $as_echo_n "(cached) " >&6
6726 if test -n "$ac_ct_OBJDUMP"; then
6727 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733 test -z "$as_dir" && as_dir=.
6734 for ac_exec_ext in '' $ac_executable_extensions; do
6735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6736 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6747 if test -n "$ac_ct_OBJDUMP"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6749 $as_echo "$ac_ct_OBJDUMP" >&6; }
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6752 $as_echo "no" >&6; }
6755 if test "x$ac_ct_OBJDUMP" = x; then
6758 case $cross_compiling:$ac_tool_warned in
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6762 ac_tool_warned=yes ;;
6764 OBJDUMP=$ac_ct_OBJDUMP
6767 OBJDUMP="$ac_cv_prog_OBJDUMP"
6770 test -z "$OBJDUMP" && OBJDUMP=objdump
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6781 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6782 if ${lt_cv_deplibs_check_method+:} false; then :
6783 $as_echo_n "(cached) " >&6
6785 lt_cv_file_magic_cmd='$MAGIC_CMD'
6786 lt_cv_file_magic_test_file=
6787 lt_cv_deplibs_check_method='unknown'
6788 # Need to set the preceding variable on all platforms that support
6789 # interlibrary dependencies.
6790 # 'none' -- dependencies not supported.
6791 # 'unknown' -- same as none, but documents that we really don't know.
6792 # 'pass_all' -- all dependencies passed with no checks.
6793 # 'test_compile' -- check by making test program.
6794 # 'file_magic [[regex]]' -- check by looking for files in library path
6795 # that responds to the $file_magic_cmd with a given extended regex.
6796 # If you have 'file' or equivalent on your system and you're not sure
6797 # whether 'pass_all' will *always* work, you probably want this one.
6801 lt_cv_deplibs_check_method=pass_all
6805 lt_cv_deplibs_check_method=pass_all
6809 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6810 lt_cv_file_magic_cmd='/usr/bin/file -L'
6811 lt_cv_file_magic_test_file=/shlib/libc.so
6815 # func_win32_libid is a shell function defined in ltmain.sh
6816 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6817 lt_cv_file_magic_cmd='func_win32_libid'
6821 # Base MSYS/MinGW do not provide the 'file' command needed by
6822 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6823 # unless we find 'file', for example because we are cross-compiling.
6824 if ( file / ) >/dev/null 2>&1; then
6825 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6826 lt_cv_file_magic_cmd='func_win32_libid'
6828 # Keep this pattern in sync with the one in func_win32_libid.
6829 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6830 lt_cv_file_magic_cmd='$OBJDUMP -f'
6835 # use the weaker test based on 'objdump'. See mingw*.
6836 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6837 lt_cv_file_magic_cmd='$OBJDUMP -f'
6840 darwin* | rhapsody*)
6841 lt_cv_deplibs_check_method=pass_all
6844 freebsd* | dragonfly*)
6845 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6848 # Not sure whether the presence of OpenBSD here was a mistake.
6849 # Let's accept both of them until this is cleared up.
6850 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6851 lt_cv_file_magic_cmd=/usr/bin/file
6852 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6856 lt_cv_deplibs_check_method=pass_all
6861 lt_cv_deplibs_check_method=pass_all
6864 hpux10.20* | hpux11*)
6865 lt_cv_file_magic_cmd=/usr/bin/file
6868 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6869 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6872 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]'
6873 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6876 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6877 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6883 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6884 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6887 irix5* | irix6* | nonstopux*)
6889 *-32|*"-32 ") libmagic=32-bit;;
6890 *-n32|*"-n32 ") libmagic=N32;;
6891 *-64|*"-64 ") libmagic=64-bit;;
6892 *) libmagic=never-match;;
6894 lt_cv_deplibs_check_method=pass_all
6897 # This must be glibc/ELF.
6898 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6899 lt_cv_deplibs_check_method=pass_all
6903 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6904 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6906 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6911 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6912 lt_cv_file_magic_cmd=/usr/bin/file
6913 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6917 lt_cv_deplibs_check_method=pass_all
6921 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6922 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6924 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6928 osf3* | osf4* | osf5*)
6929 lt_cv_deplibs_check_method=pass_all
6933 lt_cv_deplibs_check_method=pass_all
6937 lt_cv_deplibs_check_method=pass_all
6940 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6941 lt_cv_deplibs_check_method=pass_all
6945 case $host_vendor in
6947 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]'
6948 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6951 lt_cv_deplibs_check_method=pass_all
6954 lt_cv_file_magic_cmd='/bin/file'
6955 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6958 lt_cv_file_magic_cmd='/bin/file'
6959 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6960 lt_cv_file_magic_test_file=/lib/libc.so
6963 lt_cv_deplibs_check_method=pass_all
6966 lt_cv_deplibs_check_method=pass_all
6972 lt_cv_deplibs_check_method=pass_all
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6978 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6982 if test "$build" = "$host"; then
6985 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6988 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6994 file_magic_cmd=$lt_cv_file_magic_cmd
6995 deplibs_check_method=$lt_cv_deplibs_check_method
6996 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7019 if test -n "$ac_tool_prefix"; then
7020 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7021 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_prog_DLLTOOL+:} false; then :
7025 $as_echo_n "(cached) " >&6
7027 if test -n "$DLLTOOL"; then
7028 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir=.
7035 for ac_exec_ext in '' $ac_executable_extensions; do
7036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7037 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 DLLTOOL=$ac_cv_prog_DLLTOOL
7048 if test -n "$DLLTOOL"; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7050 $as_echo "$DLLTOOL" >&6; }
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7058 if test -z "$ac_cv_prog_DLLTOOL"; then
7059 ac_ct_DLLTOOL=$DLLTOOL
7060 # Extract the first word of "dlltool", so it can be a program name with args.
7061 set dummy dlltool; ac_word=$2
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7063 $as_echo_n "checking for $ac_word... " >&6; }
7064 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7065 $as_echo_n "(cached) " >&6
7067 if test -n "$ac_ct_DLLTOOL"; then
7068 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7077 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7087 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7088 if test -n "$ac_ct_DLLTOOL"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7090 $as_echo "$ac_ct_DLLTOOL" >&6; }
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 $as_echo "no" >&6; }
7096 if test "x$ac_ct_DLLTOOL" = x; then
7099 case $cross_compiling:$ac_tool_warned in
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7103 ac_tool_warned=yes ;;
7105 DLLTOOL=$ac_ct_DLLTOOL
7108 DLLTOOL="$ac_cv_prog_DLLTOOL"
7111 test -z "$DLLTOOL" && DLLTOOL=dlltool
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7123 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7124 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7125 $as_echo_n "(cached) " >&6
7127 lt_cv_sharedlib_from_linklib_cmd='unknown'
7130 cygwin* | mingw* | pw32* | cegcc*)
7131 # two different shell functions defined in ltmain.sh;
7132 # decide which one to use based on capabilities of $DLLTOOL
7133 case `$DLLTOOL --help 2>&1` in
7134 *--identify-strict*)
7135 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7138 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7143 # fallback: assume linklib IS sharedlib
7144 lt_cv_sharedlib_from_linklib_cmd=$ECHO
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7150 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7151 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7152 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7160 if test -n "$ac_tool_prefix"; then
7163 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7164 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_prog_AR+:} false; then :
7168 $as_echo_n "(cached) " >&6
7170 if test -n "$AR"; then
7171 ac_cv_prog_AR="$AR" # Let the user override the test.
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177 test -z "$as_dir" && as_dir=.
7178 for ac_exec_ext in '' $ac_executable_extensions; do
7179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7180 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7191 if test -n "$AR"; then
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7193 $as_echo "$AR" >&6; }
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 $as_echo "no" >&6; }
7200 test -n "$AR" && break
7203 if test -z "$AR"; then
7207 # Extract the first word of "$ac_prog", so it can be a program name with args.
7208 set dummy $ac_prog; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7212 $as_echo_n "(cached) " >&6
7214 if test -n "$ac_ct_AR"; then
7215 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir=.
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7224 ac_cv_prog_ac_ct_AR="$ac_prog"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7235 if test -n "$ac_ct_AR"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7237 $as_echo "$ac_ct_AR" >&6; }
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7244 test -n "$ac_ct_AR" && break
7247 if test "x$ac_ct_AR" = x; then
7250 case $cross_compiling:$ac_tool_warned in
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7254 ac_tool_warned=yes ;;
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7274 $as_echo_n "checking for archiver @FILE support... " >&6; }
7275 if ${lt_cv_ar_at_file+:} false; then :
7276 $as_echo_n "(cached) " >&6
7279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h. */
7290 if ac_fn_c_try_compile "$LINENO"; then :
7291 echo conftest.$ac_objext > conftest.lst
7292 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7293 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7294 (eval $lt_ar_try) 2>&5
7296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7297 test $ac_status = 0; }
7298 if test 0 -eq "$ac_status"; then
7299 # Ensure the archiver fails upon bogus file names.
7300 rm -f conftest.$ac_objext libconftest.a
7301 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7302 (eval $lt_ar_try) 2>&5
7304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7305 test $ac_status = 0; }
7306 if test 0 -ne "$ac_status"; then
7310 rm -f conftest.* libconftest.a
7313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7317 $as_echo "$lt_cv_ar_at_file" >&6; }
7319 if test no = "$lt_cv_ar_at_file"; then
7322 archiver_list_spec=$lt_cv_ar_at_file
7331 if test -n "$ac_tool_prefix"; then
7332 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}strip; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if ${ac_cv_prog_STRIP+:} false; then :
7337 $as_echo_n "(cached) " >&6
7339 if test -n "$STRIP"; then
7340 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7349 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359 STRIP=$ac_cv_prog_STRIP
7360 if test -n "$STRIP"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7362 $as_echo "$STRIP" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7370 if test -z "$ac_cv_prog_STRIP"; then
7372 # Extract the first word of "strip", so it can be a program name with args.
7373 set dummy strip; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7377 $as_echo_n "(cached) " >&6
7379 if test -n "$ac_ct_STRIP"; then
7380 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7389 ac_cv_prog_ac_ct_STRIP="strip"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7400 if test -n "$ac_ct_STRIP"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7402 $as_echo "$ac_ct_STRIP" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7408 if test "x$ac_ct_STRIP" = x; then
7411 case $cross_compiling:$ac_tool_warned in
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned=yes ;;
7420 STRIP="$ac_cv_prog_STRIP"
7423 test -z "$STRIP" && STRIP=:
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7432 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434 $as_echo_n "checking for $ac_word... " >&6; }
7435 if ${ac_cv_prog_RANLIB+:} false; then :
7436 $as_echo_n "(cached) " >&6
7438 if test -n "$RANLIB"; then
7439 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7448 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 RANLIB=$ac_cv_prog_RANLIB
7459 if test -n "$RANLIB"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7461 $as_echo "$RANLIB" >&6; }
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7469 if test -z "$ac_cv_prog_RANLIB"; then
7470 ac_ct_RANLIB=$RANLIB
7471 # Extract the first word of "ranlib", so it can be a program name with args.
7472 set dummy ranlib; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7476 $as_echo_n "(cached) " >&6
7478 if test -n "$ac_ct_RANLIB"; then
7479 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488 ac_cv_prog_ac_ct_RANLIB="ranlib"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7499 if test -n "$ac_ct_RANLIB"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7501 $as_echo "$ac_ct_RANLIB" >&6; }
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7507 if test "x$ac_ct_RANLIB" = x; then
7510 case $cross_compiling:$ac_tool_warned in
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514 ac_tool_warned=yes ;;
7516 RANLIB=$ac_ct_RANLIB
7519 RANLIB="$ac_cv_prog_RANLIB"
7522 test -z "$RANLIB" && RANLIB=:
7529 # Determine commands to create old-style static archives.
7530 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7531 old_postinstall_cmds='chmod 644 $oldlib'
7532 old_postuninstall_cmds=
7534 if test -n "$RANLIB"; then
7537 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7540 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7543 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7548 lock_old_archive_extraction=yes ;;
7550 lock_old_archive_extraction=no ;;
7591 # If no C compiler was specified, use CC.
7594 # If no C compiler flags were specified, use CFLAGS.
7595 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7597 # Allow CC to be a program name with arguments.
7601 # Check for command to grab the raw symbol name followed by C symbol from nm.
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7603 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7604 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7605 $as_echo_n "(cached) " >&6
7608 # These are sane defaults that work on at least a few old systems.
7609 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7611 # Character class describing NM global symbol codes.
7612 symcode='[BCDEGRST]'
7614 # Regexp to match symbols that can be accessed directly from C.
7615 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7617 # Define system-specific variables.
7622 cygwin* | mingw* | pw32* | cegcc*)
7623 symcode='[ABCDGISTW]'
7626 if test ia64 = "$host_cpu"; then
7627 symcode='[ABCDEGRST]'
7631 symcode='[BCDEGRST]'
7634 symcode='[BCDEGQRST]'
7645 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7653 # If we're using GNU nm, then use its standard symbol codes.
7654 case `$NM -V 2>&1` in
7655 *GNU* | *'with BFD'*)
7656 symcode='[ABCDGIRSTW]' ;;
7659 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7660 # Gets list of data symbols to import.
7661 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7662 # Adjust the below global symbol transforms to fixup imported variables.
7663 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7664 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7665 lt_c_name_lib_hook="\
7666 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7667 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7669 # Disable hooks by default.
7670 lt_cv_sys_global_symbol_to_import=
7676 # Transform an extracted symbol line into a proper C declaration.
7677 # Some systems (esp. on ia64) link data and code symbols differently,
7678 # so use this general approach.
7679 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7681 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7682 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7684 # Transform an extracted symbol line into symbol name and symbol address
7685 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7687 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7688 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7690 # Transform an extracted symbol line into symbol name with lib prefix and
7692 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7693 $lt_c_name_lib_hook\
7694 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7695 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7696 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7698 # Handle CRLF in mingw tool chain
7702 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7706 # Try without a prefix underscore, then with it.
7707 for ac_symprfx in "" "_"; do
7709 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7710 symxfrm="\\1 $ac_symprfx\\2 \\2"
7712 # Write the raw and C identifiers.
7713 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7714 # Fake it for dumpbin and say T for any non-static function,
7715 # D for any global variable and I for any imported variable.
7716 # Also find C++ and __fastcall symbols from MSVC++,
7717 # which start with @ or ?.
7718 lt_cv_sys_global_symbol_pipe="$AWK '"\
7719 " {last_section=section; section=\$ 3};"\
7720 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7721 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7722 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7723 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7724 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7725 " \$ 0!~/External *\|/{next};"\
7726 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7727 " {if(hide[section]) next};"\
7728 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7729 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7730 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7731 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7732 " ' prfx=^$ac_symprfx"
7734 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7736 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7738 # Check to see that the pipe works correctly.
7742 cat > conftest.$ac_ext <<_LT_EOF
7747 void nm_test_func(void);
7748 void nm_test_func(void){}
7752 int main(){nm_test_var='a';nm_test_func();return(0);}
7755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7756 (eval $ac_compile) 2>&5
7758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7759 test $ac_status = 0; }; then
7760 # Now try to grab the symbols.
7762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7763 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7766 test $ac_status = 0; } && test -s "$nlist"; then
7767 # Try sorting and uniquifying the output.
7768 if sort "$nlist" | uniq > "$nlist"T; then
7769 mv -f "$nlist"T "$nlist"
7774 # Make sure that we snagged all the symbols we need.
7775 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7776 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7777 cat <<_LT_EOF > conftest.$ac_ext
7778 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7779 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7780 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7781 relocations are performed -- see ld's documentation on pseudo-relocs. */
7782 # define LT_DLSYM_CONST
7783 #elif defined __osf__
7784 /* This system does not cope well with relocations in const data. */
7785 # define LT_DLSYM_CONST
7787 # define LT_DLSYM_CONST const
7795 # Now generate the symbol file.
7796 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7798 cat <<_LT_EOF >> conftest.$ac_ext
7800 /* The mapping between symbol names and symbols. */
7801 LT_DLSYM_CONST struct {
7805 lt__PROGRAM__LTX_preloaded_symbols[] =
7807 { "@PROGRAM@", (void *) 0 },
7809 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7810 cat <<\_LT_EOF >> conftest.$ac_ext
7814 /* This works around a problem in FreeBSD linker */
7815 #ifdef FREEBSD_WORKAROUND
7816 static const void *lt_preloaded_setup() {
7817 return lt__PROGRAM__LTX_preloaded_symbols;
7825 # Now try linking the two files.
7826 mv conftest.$ac_objext conftstm.$ac_objext
7827 lt_globsym_save_LIBS=$LIBS
7828 lt_globsym_save_CFLAGS=$CFLAGS
7829 LIBS=conftstm.$ac_objext
7830 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7832 (eval $ac_link) 2>&5
7834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7835 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7838 LIBS=$lt_globsym_save_LIBS
7839 CFLAGS=$lt_globsym_save_CFLAGS
7841 echo "cannot find nm_test_func in $nlist" >&5
7844 echo "cannot find nm_test_var in $nlist" >&5
7847 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7850 echo "$progname: failed program was:" >&5
7851 cat conftest.$ac_ext >&5
7853 rm -rf conftest* conftst*
7855 # Do not use the global_symbol_pipe unless it works.
7856 if test yes = "$pipe_works"; then
7859 lt_cv_sys_global_symbol_pipe=
7865 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7866 lt_cv_sys_global_symbol_to_cdecl=
7868 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7870 $as_echo "failed" >&6; }
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7873 $as_echo "ok" >&6; }
7876 # Response file support.
7877 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7878 nm_file_list_spec='@'
7879 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7880 nm_file_list_spec='@'
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7920 $as_echo_n "checking for sysroot... " >&6; }
7922 # Check whether --with-sysroot was given.
7923 if test "${with_sysroot+set}" = set; then :
7924 withval=$with_sysroot;
7931 case $with_sysroot in #(
7933 if test yes = "$GCC"; then
7934 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7938 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7944 $as_echo "$with_sysroot" >&6; }
7945 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7950 $as_echo "${lt_sysroot:-no}" >&6; }
7956 # Check whether --enable-libtool-lock was given.
7957 if test "${enable_libtool_lock+set}" = set; then :
7958 enableval=$enable_libtool_lock;
7961 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7963 # Some flags need to be propagated to the compiler or linker for good
7967 # Find out what ABI is being produced by ac_compile, and set mode
7968 # options accordingly.
7969 echo 'int i;' > conftest.$ac_ext
7970 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7971 (eval $ac_compile) 2>&5
7973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7974 test $ac_status = 0; }; then
7975 case `/usr/bin/file conftest.$ac_objext` in
7987 # Find out what ABI is being produced by ac_compile, and set linker
7988 # options accordingly.
7989 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7990 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7991 (eval $ac_compile) 2>&5
7993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7994 test $ac_status = 0; }; then
7995 if test yes = "$lt_cv_prog_gnu_ld"; then
7996 case `/usr/bin/file conftest.$ac_objext` in
7998 LD="${LD-ld} -melf32bsmip"
8001 LD="${LD-ld} -melf32bmipn32"
8004 LD="${LD-ld} -melf64bmip"
8008 case `/usr/bin/file conftest.$ac_objext` in
8025 # Find out what ABI is being produced by ac_compile, and set linker
8026 # options accordingly.
8027 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8029 (eval $ac_compile) 2>&5
8031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8032 test $ac_status = 0; }; then
8034 case `/usr/bin/file conftest.$ac_objext` in
8042 case `/usr/bin/file conftest.$ac_objext` in
8044 emul="${emul}btsmip"
8047 emul="${emul}ltsmip"
8050 case `/usr/bin/file conftest.$ac_objext` in
8055 LD="${LD-ld} -m $emul"
8060 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8061 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8062 # Find out what ABI is being produced by ac_compile, and set linker
8063 # options accordingly. Note that the listed cases only cover the
8064 # situations where additional linker options are needed (such as when
8065 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8066 # vice versa); the common cases where no linker options are needed do
8067 # not appear in the list.
8068 echo 'int i;' > conftest.$ac_ext
8069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8070 (eval $ac_compile) 2>&5
8072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8073 test $ac_status = 0; }; then
8074 case `/usr/bin/file conftest.o` in
8077 x86_64-*kfreebsd*-gnu)
8078 LD="${LD-ld} -m elf_i386_fbsd"
8081 case `/usr/bin/file conftest.o` in
8083 LD="${LD-ld} -m elf32_x86_64"
8086 LD="${LD-ld} -m elf_i386"
8090 powerpc64le-*linux*)
8091 LD="${LD-ld} -m elf32lppclinux"
8094 LD="${LD-ld} -m elf32ppclinux"
8097 LD="${LD-ld} -m elf_s390"
8100 LD="${LD-ld} -m elf32_sparc"
8106 x86_64-*kfreebsd*-gnu)
8107 LD="${LD-ld} -m elf_x86_64_fbsd"
8110 LD="${LD-ld} -m elf_x86_64"
8113 LD="${LD-ld} -m elf64lppc"
8116 LD="${LD-ld} -m elf64ppc"
8118 s390*-*linux*|s390*-*tpf*)
8119 LD="${LD-ld} -m elf64_s390"
8122 LD="${LD-ld} -m elf64_sparc"
8132 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8134 CFLAGS="$CFLAGS -belf"
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8136 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8137 if ${lt_cv_cc_needs_belf+:} false; then :
8138 $as_echo_n "(cached) " >&6
8141 ac_cpp='$CPP $CPPFLAGS'
8142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8157 if ac_fn_c_try_link "$LINENO"; then :
8158 lt_cv_cc_needs_belf=yes
8160 lt_cv_cc_needs_belf=no
8162 rm -f core conftest.err conftest.$ac_objext \
8163 conftest$ac_exeext conftest.$ac_ext
8165 ac_cpp='$CPP $CPPFLAGS'
8166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8172 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8173 if test yes != "$lt_cv_cc_needs_belf"; then
8174 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8179 # Find out what ABI is being produced by ac_compile, and set linker
8180 # options accordingly.
8181 echo 'int i;' > conftest.$ac_ext
8182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8183 (eval $ac_compile) 2>&5
8185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8186 test $ac_status = 0; }; then
8187 case `/usr/bin/file conftest.o` in
8189 case $lt_cv_prog_gnu_ld in
8192 i?86-*-solaris*|x86_64-*-solaris*)
8193 LD="${LD-ld} -m elf_x86_64"
8196 LD="${LD-ld} -m elf64_sparc"
8199 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8200 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8205 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8217 need_locks=$enable_libtool_lock
8219 if test -n "$ac_tool_prefix"; then
8220 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8221 set dummy ${ac_tool_prefix}mt; ac_word=$2
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8223 $as_echo_n "checking for $ac_word... " >&6; }
8224 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8225 $as_echo_n "(cached) " >&6
8227 if test -n "$MANIFEST_TOOL"; then
8228 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8234 test -z "$as_dir" && as_dir=.
8235 for ac_exec_ext in '' $ac_executable_extensions; do
8236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8237 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8247 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8248 if test -n "$MANIFEST_TOOL"; then
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8250 $as_echo "$MANIFEST_TOOL" >&6; }
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8253 $as_echo "no" >&6; }
8258 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8259 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8260 # Extract the first word of "mt", so it can be a program name with args.
8261 set dummy mt; ac_word=$2
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8263 $as_echo_n "checking for $ac_word... " >&6; }
8264 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8265 $as_echo_n "(cached) " >&6
8267 if test -n "$ac_ct_MANIFEST_TOOL"; then
8268 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8274 test -z "$as_dir" && as_dir=.
8275 for ac_exec_ext in '' $ac_executable_extensions; do
8276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8277 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8288 if test -n "$ac_ct_MANIFEST_TOOL"; then
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8290 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293 $as_echo "no" >&6; }
8296 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8299 case $cross_compiling:$ac_tool_warned in
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8303 ac_tool_warned=yes ;;
8305 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8308 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8311 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8313 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8314 if ${lt_cv_path_mainfest_tool+:} false; then :
8315 $as_echo_n "(cached) " >&6
8317 lt_cv_path_mainfest_tool=no
8318 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8319 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8320 cat conftest.err >&5
8321 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8322 lt_cv_path_mainfest_tool=yes
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8327 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8328 if test yes != "$lt_cv_path_mainfest_tool"; then
8338 rhapsody* | darwin*)
8339 if test -n "$ac_tool_prefix"; then
8340 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8341 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8343 $as_echo_n "checking for $ac_word... " >&6; }
8344 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8345 $as_echo_n "(cached) " >&6
8347 if test -n "$DSYMUTIL"; then
8348 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 test -z "$as_dir" && as_dir=.
8355 for ac_exec_ext in '' $ac_executable_extensions; do
8356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8357 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8367 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8368 if test -n "$DSYMUTIL"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8370 $as_echo "$DSYMUTIL" >&6; }
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8378 if test -z "$ac_cv_prog_DSYMUTIL"; then
8379 ac_ct_DSYMUTIL=$DSYMUTIL
8380 # Extract the first word of "dsymutil", so it can be a program name with args.
8381 set dummy dsymutil; ac_word=$2
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8383 $as_echo_n "checking for $ac_word... " >&6; }
8384 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8385 $as_echo_n "(cached) " >&6
8387 if test -n "$ac_ct_DSYMUTIL"; then
8388 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8394 test -z "$as_dir" && as_dir=.
8395 for ac_exec_ext in '' $ac_executable_extensions; do
8396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8397 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8407 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8408 if test -n "$ac_ct_DSYMUTIL"; then
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8410 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8413 $as_echo "no" >&6; }
8416 if test "x$ac_ct_DSYMUTIL" = x; then
8419 case $cross_compiling:$ac_tool_warned in
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8423 ac_tool_warned=yes ;;
8425 DSYMUTIL=$ac_ct_DSYMUTIL
8428 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8431 if test -n "$ac_tool_prefix"; then
8432 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8433 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8435 $as_echo_n "checking for $ac_word... " >&6; }
8436 if ${ac_cv_prog_NMEDIT+:} false; then :
8437 $as_echo_n "(cached) " >&6
8439 if test -n "$NMEDIT"; then
8440 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8446 test -z "$as_dir" && as_dir=.
8447 for ac_exec_ext in '' $ac_executable_extensions; do
8448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8449 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8459 NMEDIT=$ac_cv_prog_NMEDIT
8460 if test -n "$NMEDIT"; then
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8462 $as_echo "$NMEDIT" >&6; }
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8465 $as_echo "no" >&6; }
8470 if test -z "$ac_cv_prog_NMEDIT"; then
8471 ac_ct_NMEDIT=$NMEDIT
8472 # Extract the first word of "nmedit", so it can be a program name with args.
8473 set dummy nmedit; ac_word=$2
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8475 $as_echo_n "checking for $ac_word... " >&6; }
8476 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8477 $as_echo_n "(cached) " >&6
8479 if test -n "$ac_ct_NMEDIT"; then
8480 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8486 test -z "$as_dir" && as_dir=.
8487 for ac_exec_ext in '' $ac_executable_extensions; do
8488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8489 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8499 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8500 if test -n "$ac_ct_NMEDIT"; then
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8502 $as_echo "$ac_ct_NMEDIT" >&6; }
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8505 $as_echo "no" >&6; }
8508 if test "x$ac_ct_NMEDIT" = x; then
8511 case $cross_compiling:$ac_tool_warned in
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8515 ac_tool_warned=yes ;;
8517 NMEDIT=$ac_ct_NMEDIT
8520 NMEDIT="$ac_cv_prog_NMEDIT"
8523 if test -n "$ac_tool_prefix"; then
8524 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8525 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8527 $as_echo_n "checking for $ac_word... " >&6; }
8528 if ${ac_cv_prog_LIPO+:} false; then :
8529 $as_echo_n "(cached) " >&6
8531 if test -n "$LIPO"; then
8532 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8538 test -z "$as_dir" && as_dir=.
8539 for ac_exec_ext in '' $ac_executable_extensions; do
8540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8541 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8551 LIPO=$ac_cv_prog_LIPO
8552 if test -n "$LIPO"; then
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8554 $as_echo "$LIPO" >&6; }
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8557 $as_echo "no" >&6; }
8562 if test -z "$ac_cv_prog_LIPO"; then
8564 # Extract the first word of "lipo", so it can be a program name with args.
8565 set dummy lipo; ac_word=$2
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8567 $as_echo_n "checking for $ac_word... " >&6; }
8568 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8569 $as_echo_n "(cached) " >&6
8571 if test -n "$ac_ct_LIPO"; then
8572 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8578 test -z "$as_dir" && as_dir=.
8579 for ac_exec_ext in '' $ac_executable_extensions; do
8580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8581 ac_cv_prog_ac_ct_LIPO="lipo"
8582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8591 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8592 if test -n "$ac_ct_LIPO"; then
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8594 $as_echo "$ac_ct_LIPO" >&6; }
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8597 $as_echo "no" >&6; }
8600 if test "x$ac_ct_LIPO" = x; then
8603 case $cross_compiling:$ac_tool_warned in
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8607 ac_tool_warned=yes ;;
8612 LIPO="$ac_cv_prog_LIPO"
8615 if test -n "$ac_tool_prefix"; then
8616 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8617 set dummy ${ac_tool_prefix}otool; ac_word=$2
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8619 $as_echo_n "checking for $ac_word... " >&6; }
8620 if ${ac_cv_prog_OTOOL+:} false; then :
8621 $as_echo_n "(cached) " >&6
8623 if test -n "$OTOOL"; then
8624 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8630 test -z "$as_dir" && as_dir=.
8631 for ac_exec_ext in '' $ac_executable_extensions; do
8632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8633 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8643 OTOOL=$ac_cv_prog_OTOOL
8644 if test -n "$OTOOL"; then
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8646 $as_echo "$OTOOL" >&6; }
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8649 $as_echo "no" >&6; }
8654 if test -z "$ac_cv_prog_OTOOL"; then
8656 # Extract the first word of "otool", so it can be a program name with args.
8657 set dummy otool; ac_word=$2
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8659 $as_echo_n "checking for $ac_word... " >&6; }
8660 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8661 $as_echo_n "(cached) " >&6
8663 if test -n "$ac_ct_OTOOL"; then
8664 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8670 test -z "$as_dir" && as_dir=.
8671 for ac_exec_ext in '' $ac_executable_extensions; do
8672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8673 ac_cv_prog_ac_ct_OTOOL="otool"
8674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8683 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8684 if test -n "$ac_ct_OTOOL"; then
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8686 $as_echo "$ac_ct_OTOOL" >&6; }
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8689 $as_echo "no" >&6; }
8692 if test "x$ac_ct_OTOOL" = x; then
8695 case $cross_compiling:$ac_tool_warned in
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8699 ac_tool_warned=yes ;;
8704 OTOOL="$ac_cv_prog_OTOOL"
8707 if test -n "$ac_tool_prefix"; then
8708 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8709 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8711 $as_echo_n "checking for $ac_word... " >&6; }
8712 if ${ac_cv_prog_OTOOL64+:} false; then :
8713 $as_echo_n "(cached) " >&6
8715 if test -n "$OTOOL64"; then
8716 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8722 test -z "$as_dir" && as_dir=.
8723 for ac_exec_ext in '' $ac_executable_extensions; do
8724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8725 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8735 OTOOL64=$ac_cv_prog_OTOOL64
8736 if test -n "$OTOOL64"; then
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8738 $as_echo "$OTOOL64" >&6; }
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8741 $as_echo "no" >&6; }
8746 if test -z "$ac_cv_prog_OTOOL64"; then
8747 ac_ct_OTOOL64=$OTOOL64
8748 # Extract the first word of "otool64", so it can be a program name with args.
8749 set dummy otool64; ac_word=$2
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8751 $as_echo_n "checking for $ac_word... " >&6; }
8752 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8753 $as_echo_n "(cached) " >&6
8755 if test -n "$ac_ct_OTOOL64"; then
8756 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8762 test -z "$as_dir" && as_dir=.
8763 for ac_exec_ext in '' $ac_executable_extensions; do
8764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8765 ac_cv_prog_ac_ct_OTOOL64="otool64"
8766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8775 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8776 if test -n "$ac_ct_OTOOL64"; then
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8778 $as_echo "$ac_ct_OTOOL64" >&6; }
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8781 $as_echo "no" >&6; }
8784 if test "x$ac_ct_OTOOL64" = x; then
8787 case $cross_compiling:$ac_tool_warned in
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8791 ac_tool_warned=yes ;;
8793 OTOOL64=$ac_ct_OTOOL64
8796 OTOOL64="$ac_cv_prog_OTOOL64"
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8826 $as_echo_n "checking for -single_module linker flag... " >&6; }
8827 if ${lt_cv_apple_cc_single_mod+:} false; then :
8828 $as_echo_n "(cached) " >&6
8830 lt_cv_apple_cc_single_mod=no
8831 if test -z "$LT_MULTI_MODULE"; then
8832 # By default we will add the -single_module flag. You can override
8833 # by either setting the environment variable LT_MULTI_MODULE
8834 # non-empty at configure time, or by adding -multi_module to the
8836 rm -rf libconftest.dylib*
8837 echo "int foo(void){return 1;}" > conftest.c
8838 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8839 -dynamiclib -Wl,-single_module conftest.c" >&5
8840 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8841 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8843 # If there is a non-empty error log, and "single_module"
8844 # appears in it, assume the flag caused a linker warning
8845 if test -s conftest.err && $GREP single_module conftest.err; then
8846 cat conftest.err >&5
8847 # Otherwise, if the output was created with a 0 exit code from
8848 # the compiler, it worked.
8849 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8850 lt_cv_apple_cc_single_mod=yes
8852 cat conftest.err >&5
8854 rm -rf libconftest.dylib*
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8859 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8862 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8863 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8864 $as_echo_n "(cached) " >&6
8866 lt_cv_ld_exported_symbols_list=no
8867 save_LDFLAGS=$LDFLAGS
8868 echo "_main" > conftest.sym
8869 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8881 if ac_fn_c_try_link "$LINENO"; then :
8882 lt_cv_ld_exported_symbols_list=yes
8884 lt_cv_ld_exported_symbols_list=no
8886 rm -f core conftest.err conftest.$ac_objext \
8887 conftest$ac_exeext conftest.$ac_ext
8888 LDFLAGS=$save_LDFLAGS
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8892 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8895 $as_echo_n "checking for -force_load linker flag... " >&6; }
8896 if ${lt_cv_ld_force_load+:} false; then :
8897 $as_echo_n "(cached) " >&6
8899 lt_cv_ld_force_load=no
8900 cat > conftest.c << _LT_EOF
8901 int forced_loaded() { return 2;}
8903 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8904 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8905 echo "$AR cru libconftest.a conftest.o" >&5
8906 $AR cru libconftest.a conftest.o 2>&5
8907 echo "$RANLIB libconftest.a" >&5
8908 $RANLIB libconftest.a 2>&5
8909 cat > conftest.c << _LT_EOF
8910 int main() { return 0;}
8912 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8913 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8915 if test -s conftest.err && $GREP force_load conftest.err; then
8916 cat conftest.err >&5
8917 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8918 lt_cv_ld_force_load=yes
8920 cat conftest.err >&5
8922 rm -f conftest.err libconftest.a conftest conftest.c
8923 rm -rf conftest.dSYM
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8927 $as_echo "$lt_cv_ld_force_load" >&6; }
8929 rhapsody* | darwin1.[012])
8930 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8932 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8933 darwin*) # darwin 5.x on
8934 # if running on 10.5 or later, the deployment target defaults
8935 # to the OS version, if on x86, and 10.4, the deployment
8936 # target defaults to 10.4. Don't you love it?
8937 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8938 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8939 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8941 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8943 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8947 if test yes = "$lt_cv_apple_cc_single_mod"; then
8948 _lt_dar_single_mod='$single_module'
8950 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8951 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8953 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8955 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8956 _lt_dsymutil='~$DSYMUTIL $lib || :'
8963 for ac_header in dlfcn.h
8965 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8967 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8968 cat >>confdefs.h <<_ACEOF
8969 #define HAVE_DLFCN_H 1
8993 # Check whether --with-pic was given.
8994 if test "${with_pic+set}" = set; then :
8995 withval=$with_pic; lt_p=${PACKAGE-default}
8997 yes|no) pic_mode=$withval ;;
9000 # Look at the argument we got. We use all the common list separators.
9001 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9002 for lt_pkg in $withval; do
9004 if test "X$lt_pkg" = "X$lt_p"; then
9022 # Check whether --enable-fast-install was given.
9023 if test "${enable_fast_install+set}" = set; then :
9024 enableval=$enable_fast_install; p=${PACKAGE-default}
9026 yes) enable_fast_install=yes ;;
9027 no) enable_fast_install=no ;;
9029 enable_fast_install=no
9030 # Look at the argument we got. We use all the common list separators.
9031 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9032 for pkg in $enableval; do
9034 if test "X$pkg" = "X$p"; then
9035 enable_fast_install=yes
9042 enable_fast_install=yes
9055 # This can be used to rebuild libtool when needed
9056 LIBTOOL_DEPS=$ltmain
9058 # Always use our own libtool.
9059 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9090 test -z "$LN_S" && LN_S="ln -s"
9105 if test -n "${ZSH_VERSION+set}"; then
9106 setopt NO_GLOB_SUBST
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9110 $as_echo_n "checking for objdir... " >&6; }
9111 if ${lt_cv_objdir+:} false; then :
9112 $as_echo_n "(cached) " >&6
9114 rm -f .libs 2>/dev/null
9115 mkdir .libs 2>/dev/null
9116 if test -d .libs; then
9119 # MS-DOS does not allow filenames that begin with a dot.
9122 rmdir .libs 2>/dev/null
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9125 $as_echo "$lt_cv_objdir" >&6; }
9126 objdir=$lt_cv_objdir
9132 cat >>confdefs.h <<_ACEOF
9133 #define LT_OBJDIR "$lt_cv_objdir/"
9141 # AIX sometimes has problems with the GCC collect2 program. For some
9142 # reason, if we set the COLLECT_NAMES environment variable, the problems
9143 # vanish in a puff of smoke.
9144 if test set != "${COLLECT_NAMES+set}"; then
9146 export COLLECT_NAMES
9153 can_build_shared=yes
9155 # All known linkers require a '.a' archive for static linking (except MSVC,
9156 # which needs '.lib').
9159 with_gnu_ld=$lt_cv_prog_gnu_ld
9164 # Set sane defaults for various variables
9165 test -z "$CC" && CC=cc
9166 test -z "$LTCC" && LTCC=$CC
9167 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9168 test -z "$LD" && LD=ld
9169 test -z "$ac_objext" && ac_objext=o
9171 for cc_temp in $compiler""; do
9173 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9174 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9179 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9182 # Only perform the check for file, if the check method requires it
9183 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9184 case $deplibs_check_method in
9186 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9188 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9189 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9190 $as_echo_n "(cached) " >&6
9194 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9197 lt_save_MAGIC_CMD=$MAGIC_CMD
9198 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9199 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9200 for ac_dir in $ac_dummy; do
9202 test -z "$ac_dir" && ac_dir=.
9203 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9204 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9205 if test -n "$file_magic_test_file"; then
9206 case $deplibs_check_method in
9208 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9209 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9210 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9211 $EGREP "$file_magic_regex" > /dev/null; then
9216 *** Warning: the command libtool uses to detect shared libraries,
9217 *** $file_magic_cmd, produces output that libtool cannot recognize.
9218 *** The result is that libtool may fail to recognize shared libraries
9219 *** as such. This will affect the creation of libtool libraries that
9220 *** depend on shared libraries, but programs linked with such libtool
9221 *** libraries will work regardless of this problem. Nevertheless, you
9222 *** may want to report the problem to your system manager and/or to
9223 *** bug-libtool@gnu.org
9233 MAGIC_CMD=$lt_save_MAGIC_CMD
9238 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9239 if test -n "$MAGIC_CMD"; then
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9241 $as_echo "$MAGIC_CMD" >&6; }
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9244 $as_echo "no" >&6; }
9251 if test -z "$lt_cv_path_MAGIC_CMD"; then
9252 if test -n "$ac_tool_prefix"; then
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9254 $as_echo_n "checking for file... " >&6; }
9255 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9256 $as_echo_n "(cached) " >&6
9260 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9263 lt_save_MAGIC_CMD=$MAGIC_CMD
9264 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9265 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9266 for ac_dir in $ac_dummy; do
9268 test -z "$ac_dir" && ac_dir=.
9269 if test -f "$ac_dir/file"; then
9270 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9271 if test -n "$file_magic_test_file"; then
9272 case $deplibs_check_method in
9274 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9275 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9276 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9277 $EGREP "$file_magic_regex" > /dev/null; then
9282 *** Warning: the command libtool uses to detect shared libraries,
9283 *** $file_magic_cmd, produces output that libtool cannot recognize.
9284 *** The result is that libtool may fail to recognize shared libraries
9285 *** as such. This will affect the creation of libtool libraries that
9286 *** depend on shared libraries, but programs linked with such libtool
9287 *** libraries will work regardless of this problem. Nevertheless, you
9288 *** may want to report the problem to your system manager and/or to
9289 *** bug-libtool@gnu.org
9299 MAGIC_CMD=$lt_save_MAGIC_CMD
9304 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9305 if test -n "$MAGIC_CMD"; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9307 $as_echo "$MAGIC_CMD" >&6; }
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9310 $as_echo "no" >&6; }
9323 # Use C for the default configuration in the libtool script
9327 ac_cpp='$CPP $CPPFLAGS'
9328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9333 # Source file extension for C test sources.
9336 # Object file extension for compiled C test sources.
9340 # Code to be used in simple compile tests
9341 lt_simple_compile_test_code="int some_variable = 0;"
9343 # Code to be used in simple link tests
9344 lt_simple_link_test_code='int main(){return(0);}'
9352 # If no C compiler was specified, use CC.
9355 # If no C compiler flags were specified, use CFLAGS.
9356 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9358 # Allow CC to be a program name with arguments.
9361 # Save the default compiler, since it gets overwritten when the other
9362 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9363 compiler_DEFAULT=$CC
9365 # save warnings/boilerplate of simple test code
9366 ac_outfile=conftest.$ac_objext
9367 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9368 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9369 _lt_compiler_boilerplate=`cat conftest.err`
9372 ac_outfile=conftest.$ac_objext
9373 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9374 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9375 _lt_linker_boilerplate=`cat conftest.err`
9379 if test -n "$compiler"; then
9381 lt_prog_compiler_no_builtin_flag=
9383 if test yes = "$GCC"; then
9384 case $cc_basename in
9386 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9388 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9392 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9393 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9394 $as_echo_n "(cached) " >&6
9396 lt_cv_prog_compiler_rtti_exceptions=no
9397 ac_outfile=conftest.$ac_objext
9398 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9399 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9400 # Insert the option either (1) after the last *FLAGS variable, or
9401 # (2) before a word containing "conftest.", or (3) at the end.
9402 # Note that $ac_compile itself does not contain backslashes and begins
9403 # with a dollar sign (not a hyphen), so the echo should work correctly.
9404 # The option is referenced via a variable to avoid confusing sed.
9405 lt_compile=`echo "$ac_compile" | $SED \
9406 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9407 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9408 -e 's:$: $lt_compiler_flag:'`
9409 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9410 (eval "$lt_compile" 2>conftest.err)
9412 cat conftest.err >&5
9413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414 if (exit $ac_status) && test -s "$ac_outfile"; then
9415 # The compiler can only warn and ignore the option if not recognized
9416 # So say no if there are warnings other than the usual output.
9417 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9418 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9419 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9420 lt_cv_prog_compiler_rtti_exceptions=yes
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9427 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9429 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9430 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9442 lt_prog_compiler_wl=
9443 lt_prog_compiler_pic=
9444 lt_prog_compiler_static=
9447 if test yes = "$GCC"; then
9448 lt_prog_compiler_wl='-Wl,'
9449 lt_prog_compiler_static='-static'
9453 # All AIX code is PIC.
9454 if test ia64 = "$host_cpu"; then
9455 # AIX 5 now supports IA64 processor
9456 lt_prog_compiler_static='-Bstatic'
9458 lt_prog_compiler_pic='-fPIC'
9464 # see comment about AmigaOS4 .so support
9465 lt_prog_compiler_pic='-fPIC'
9468 # FIXME: we need at least 68020 code to build shared libraries, but
9469 # adding the '-m68020' flag to GCC prevents building anything better,
9471 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9476 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9477 # PIC is the default for these OSes.
9480 mingw* | cygwin* | pw32* | os2* | cegcc*)
9481 # This hack is so that the source file can tell whether it is being
9482 # built for inclusion in a dll (and should export symbols for example).
9483 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9484 # (--disable-auto-import) libraries
9485 lt_prog_compiler_pic='-DDLL_EXPORT'
9488 darwin* | rhapsody*)
9489 # PIC is the default on this platform
9490 # Common symbols not allowed in MH_DYLIB files
9491 lt_prog_compiler_pic='-fno-common'
9495 # PIC is the default for Haiku.
9496 # The "-static" flag exists, but is broken.
9497 lt_prog_compiler_static=
9501 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9502 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9503 # sets the default TLS model and affects inlining.
9509 lt_prog_compiler_pic='-fPIC'
9515 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9516 # Instead, we relocate shared libraries at runtime.
9520 # Just because we use GCC doesn't mean we suddenly get shared libraries
9521 # on systems that don't support them.
9522 lt_prog_compiler_can_build_shared=no
9527 # QNX uses GNU C++, but need to define -shared option too, otherwise
9529 lt_prog_compiler_pic='-fPIC -shared'
9533 if test -d /usr/nec; then
9534 lt_prog_compiler_pic=-Kconform_pic
9539 lt_prog_compiler_pic='-fPIC'
9543 case $cc_basename in
9544 nvcc*) # Cuda Compiler Driver 2.2
9545 lt_prog_compiler_wl='-Xlinker '
9546 if test -n "$lt_prog_compiler_pic"; then
9547 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9552 # PORTME Check for flag to pass linker flags through the system compiler.
9555 lt_prog_compiler_wl='-Wl,'
9556 if test ia64 = "$host_cpu"; then
9557 # AIX 5 now supports IA64 processor
9558 lt_prog_compiler_static='-Bstatic'
9560 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9564 darwin* | rhapsody*)
9565 # PIC is the default on this platform
9566 # Common symbols not allowed in MH_DYLIB files
9567 lt_prog_compiler_pic='-fno-common'
9568 case $cc_basename in
9570 # NAG Fortran compiler
9571 lt_prog_compiler_wl='-Wl,-Wl,,'
9572 lt_prog_compiler_pic='-PIC'
9573 lt_prog_compiler_static='-Bstatic'
9578 mingw* | cygwin* | pw32* | os2* | cegcc*)
9579 # This hack is so that the source file can tell whether it is being
9580 # built for inclusion in a dll (and should export symbols for example).
9581 lt_prog_compiler_pic='-DDLL_EXPORT'
9584 hpux9* | hpux10* | hpux11*)
9585 lt_prog_compiler_wl='-Wl,'
9586 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9593 lt_prog_compiler_pic='+Z'
9596 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9597 lt_prog_compiler_static='$wl-a ${wl}archive'
9600 irix5* | irix6* | nonstopux*)
9601 lt_prog_compiler_wl='-Wl,'
9602 # PIC (with -KPIC) is the default.
9603 lt_prog_compiler_static='-non_shared'
9606 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9607 case $cc_basename in
9608 # old Intel for x86_64, which still supported -KPIC.
9610 lt_prog_compiler_wl='-Wl,'
9611 lt_prog_compiler_pic='-KPIC'
9612 lt_prog_compiler_static='-static'
9614 # icc used to be incompatible with GCC.
9615 # ICC 10 doesn't accept -KPIC any more.
9617 lt_prog_compiler_wl='-Wl,'
9618 lt_prog_compiler_pic='-fPIC'
9619 lt_prog_compiler_static='-static'
9621 # Lahey Fortran 8.1.
9623 lt_prog_compiler_wl='-Wl,'
9624 lt_prog_compiler_pic='--shared'
9625 lt_prog_compiler_static='--static'
9628 # NAG Fortran compiler
9629 lt_prog_compiler_wl='-Wl,-Wl,,'
9630 lt_prog_compiler_pic='-PIC'
9631 lt_prog_compiler_static='-Bstatic'
9634 # Fabrice Bellard et al's Tiny C Compiler
9635 lt_prog_compiler_wl='-Wl,'
9636 lt_prog_compiler_pic='-fPIC'
9637 lt_prog_compiler_static='-static'
9639 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9640 # Portland Group compilers (*not* the Pentium gcc compiler,
9641 # which looks to be a dead project)
9642 lt_prog_compiler_wl='-Wl,'
9643 lt_prog_compiler_pic='-fpic'
9644 lt_prog_compiler_static='-Bstatic'
9647 lt_prog_compiler_wl='-Wl,'
9648 # All Alpha code is PIC.
9649 lt_prog_compiler_static='-non_shared'
9651 xl* | bgxl* | bgf* | mpixl*)
9652 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9653 lt_prog_compiler_wl='-Wl,'
9654 lt_prog_compiler_pic='-qpic'
9655 lt_prog_compiler_static='-qstaticlink'
9658 case `$CC -V 2>&1 | sed 5q` in
9659 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9660 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9661 lt_prog_compiler_pic='-KPIC'
9662 lt_prog_compiler_static='-Bstatic'
9663 lt_prog_compiler_wl=''
9665 *Sun\ F* | *Sun*Fortran*)
9666 lt_prog_compiler_pic='-KPIC'
9667 lt_prog_compiler_static='-Bstatic'
9668 lt_prog_compiler_wl='-Qoption ld '
9672 lt_prog_compiler_pic='-KPIC'
9673 lt_prog_compiler_static='-Bstatic'
9674 lt_prog_compiler_wl='-Wl,'
9676 *Intel*\ [CF]*Compiler*)
9677 lt_prog_compiler_wl='-Wl,'
9678 lt_prog_compiler_pic='-fPIC'
9679 lt_prog_compiler_static='-static'
9682 lt_prog_compiler_wl='-Wl,'
9683 lt_prog_compiler_pic='-fpic'
9684 lt_prog_compiler_static='-Bstatic'
9692 lt_prog_compiler_pic='-KPIC'
9693 lt_prog_compiler_static='-Bstatic'
9697 # QNX uses GNU C++, but need to define -shared option too, otherwise
9699 lt_prog_compiler_pic='-fPIC -shared'
9702 osf3* | osf4* | osf5*)
9703 lt_prog_compiler_wl='-Wl,'
9704 # All OSF/1 code is PIC.
9705 lt_prog_compiler_static='-non_shared'
9709 lt_prog_compiler_static='-non_shared'
9713 lt_prog_compiler_pic='-KPIC'
9714 lt_prog_compiler_static='-Bstatic'
9715 case $cc_basename in
9716 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9717 lt_prog_compiler_wl='-Qoption ld ';;
9719 lt_prog_compiler_wl='-Wl,';;
9724 lt_prog_compiler_wl='-Qoption ld '
9725 lt_prog_compiler_pic='-PIC'
9726 lt_prog_compiler_static='-Bstatic'
9729 sysv4 | sysv4.2uw2* | sysv4.3*)
9730 lt_prog_compiler_wl='-Wl,'
9731 lt_prog_compiler_pic='-KPIC'
9732 lt_prog_compiler_static='-Bstatic'
9736 if test -d /usr/nec; then
9737 lt_prog_compiler_pic='-Kconform_pic'
9738 lt_prog_compiler_static='-Bstatic'
9742 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9743 lt_prog_compiler_wl='-Wl,'
9744 lt_prog_compiler_pic='-KPIC'
9745 lt_prog_compiler_static='-Bstatic'
9749 lt_prog_compiler_wl='-Wl,'
9750 lt_prog_compiler_can_build_shared=no
9754 lt_prog_compiler_pic='-pic'
9755 lt_prog_compiler_static='-Bstatic'
9759 lt_prog_compiler_can_build_shared=no
9765 # For platforms that do not support PIC, -DPIC is meaningless:
9767 lt_prog_compiler_pic=
9770 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9775 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9776 if ${lt_cv_prog_compiler_pic+:} false; then :
9777 $as_echo_n "(cached) " >&6
9779 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9782 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9783 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9786 # Check to make sure the PIC flag actually works.
9788 if test -n "$lt_prog_compiler_pic"; then
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9790 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9791 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9792 $as_echo_n "(cached) " >&6
9794 lt_cv_prog_compiler_pic_works=no
9795 ac_outfile=conftest.$ac_objext
9796 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9797 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9798 # Insert the option either (1) after the last *FLAGS variable, or
9799 # (2) before a word containing "conftest.", or (3) at the end.
9800 # Note that $ac_compile itself does not contain backslashes and begins
9801 # with a dollar sign (not a hyphen), so the echo should work correctly.
9802 # The option is referenced via a variable to avoid confusing sed.
9803 lt_compile=`echo "$ac_compile" | $SED \
9804 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9805 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9806 -e 's:$: $lt_compiler_flag:'`
9807 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9808 (eval "$lt_compile" 2>conftest.err)
9810 cat conftest.err >&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 if (exit $ac_status) && test -s "$ac_outfile"; then
9813 # The compiler can only warn and ignore the option if not recognized
9814 # So say no if there are warnings other than the usual output.
9815 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9816 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9817 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9818 lt_cv_prog_compiler_pic_works=yes
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9825 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9827 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9828 case $lt_prog_compiler_pic in
9830 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9833 lt_prog_compiler_pic=
9834 lt_prog_compiler_can_build_shared=no
9850 # Check to make sure the static flag actually works.
9852 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9854 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9855 if ${lt_cv_prog_compiler_static_works+:} false; then :
9856 $as_echo_n "(cached) " >&6
9858 lt_cv_prog_compiler_static_works=no
9859 save_LDFLAGS=$LDFLAGS
9860 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9861 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9862 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9863 # The linker can only warn and ignore the option if not recognized
9864 # So say no if there are warnings
9865 if test -s conftest.err; then
9866 # Append any errors to the config.log.
9867 cat conftest.err 1>&5
9868 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9869 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9870 if diff conftest.exp conftest.er2 >/dev/null; then
9871 lt_cv_prog_compiler_static_works=yes
9874 lt_cv_prog_compiler_static_works=yes
9878 LDFLAGS=$save_LDFLAGS
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9882 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9884 if test yes = "$lt_cv_prog_compiler_static_works"; then
9887 lt_prog_compiler_static=
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9897 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9898 if ${lt_cv_prog_compiler_c_o+:} false; then :
9899 $as_echo_n "(cached) " >&6
9901 lt_cv_prog_compiler_c_o=no
9902 $RM -r conftest 2>/dev/null
9906 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9908 lt_compiler_flag="-o out/conftest2.$ac_objext"
9909 # Insert the option either (1) after the last *FLAGS variable, or
9910 # (2) before a word containing "conftest.", or (3) at the end.
9911 # Note that $ac_compile itself does not contain backslashes and begins
9912 # with a dollar sign (not a hyphen), so the echo should work correctly.
9913 lt_compile=`echo "$ac_compile" | $SED \
9914 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9915 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9916 -e 's:$: $lt_compiler_flag:'`
9917 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9918 (eval "$lt_compile" 2>out/conftest.err)
9920 cat out/conftest.err >&5
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9924 # The compiler can only warn and ignore the option if not recognized
9925 # So say no if there are warnings
9926 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9927 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9928 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9929 lt_cv_prog_compiler_c_o=yes
9934 # SGI C++ compiler will create directory out/ii_files/ for
9935 # template instantiation
9936 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9937 $RM out/* && rmdir out
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9944 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9952 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9953 if ${lt_cv_prog_compiler_c_o+:} false; then :
9954 $as_echo_n "(cached) " >&6
9956 lt_cv_prog_compiler_c_o=no
9957 $RM -r conftest 2>/dev/null
9961 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9963 lt_compiler_flag="-o out/conftest2.$ac_objext"
9964 # Insert the option either (1) after the last *FLAGS variable, or
9965 # (2) before a word containing "conftest.", or (3) at the end.
9966 # Note that $ac_compile itself does not contain backslashes and begins
9967 # with a dollar sign (not a hyphen), so the echo should work correctly.
9968 lt_compile=`echo "$ac_compile" | $SED \
9969 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9970 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9971 -e 's:$: $lt_compiler_flag:'`
9972 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9973 (eval "$lt_compile" 2>out/conftest.err)
9975 cat out/conftest.err >&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9979 # The compiler can only warn and ignore the option if not recognized
9980 # So say no if there are warnings
9981 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9982 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9983 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9984 lt_cv_prog_compiler_c_o=yes
9989 # SGI C++ compiler will create directory out/ii_files/ for
9990 # template instantiation
9991 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9992 $RM out/* && rmdir out
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9999 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10004 hard_links=nottested
10005 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10006 # do not overwrite the value of need_locks provided by the user
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10008 $as_echo_n "checking if we can lock with hard links... " >&6; }
10011 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10013 ln conftest.a conftest.b 2>&5 || hard_links=no
10014 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10016 $as_echo "$hard_links" >&6; }
10017 if test no = "$hard_links"; then
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10019 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10032 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10035 allow_undefined_flag=
10036 always_export_symbols=no
10038 archive_expsym_cmds=
10039 compiler_needs_object=no
10040 enable_shared_with_static_runtimes=no
10041 export_dynamic_flag_spec=
10042 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10043 hardcode_automatic=no
10045 hardcode_direct_absolute=no
10046 hardcode_libdir_flag_spec=
10047 hardcode_libdir_separator=
10048 hardcode_minus_L=no
10049 hardcode_shlibpath_var=unsupported
10051 link_all_deplibs=unknown
10053 module_expsym_cmds=
10054 old_archive_from_new_cmds=
10055 old_archive_from_expsyms_cmds=
10056 thread_safe_flag_spec=
10057 whole_archive_flag_spec=
10058 # include_expsyms should be a list of space-separated symbols to be *always*
10059 # included in the symbol list
10061 # exclude_expsyms can be an extended regexp of symbols to exclude
10062 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10063 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10064 # as well as any symbol that contains 'd'.
10065 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10066 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10067 # platforms (ab)use it in PIC code, but their linkers get confused if
10068 # the symbol is explicitly referenced. Since portable code cannot
10069 # rely on this symbol name, it's probably fine to never include it in
10070 # preloaded symbol tables.
10071 # Exclude shared library initialization/finalization symbols.
10072 extract_expsyms_cmds=
10075 cygwin* | mingw* | pw32* | cegcc*)
10076 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10077 # When not using gcc, we currently assume that we are using
10078 # Microsoft Visual C++.
10079 if test yes != "$GCC"; then
10084 # we just hope/assume this is gcc and not c89 (= MSVC++)
10087 openbsd* | bitrig*)
10094 # On some targets, GNU ld is compatible enough with the native linker
10095 # that we're better off using the native interface for both.
10096 lt_use_gnu_ld_interface=no
10097 if test yes = "$with_gnu_ld"; then
10100 # The AIX port of GNU ld has always aspired to compatibility
10101 # with the native linker. However, as the warning in the GNU ld
10102 # block says, versions before 2.19.5* couldn't really create working
10103 # shared libraries, regardless of the interface used.
10104 case `$LD -v 2>&1` in
10105 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10106 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10107 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10109 lt_use_gnu_ld_interface=yes
10114 lt_use_gnu_ld_interface=yes
10119 if test yes = "$lt_use_gnu_ld_interface"; then
10120 # If archive_cmds runs LD, not CC, wlarc should be empty
10123 # Set some defaults for GNU ld with shared library support. These
10124 # are reset later if shared libraries are not supported. Putting them
10125 # here allows them to be overridden if necessary.
10126 runpath_var=LD_RUN_PATH
10127 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10128 export_dynamic_flag_spec='$wl--export-dynamic'
10129 # ancient GNU ld didn't support --whole-archive et. al.
10130 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10131 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10133 whole_archive_flag_spec=
10135 supports_anon_versioning=no
10136 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10137 *GNU\ gold*) supports_anon_versioning=yes ;;
10138 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10139 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10140 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10141 *\ 2.11.*) ;; # other 2.11 versions
10142 *) supports_anon_versioning=yes ;;
10145 # See if GNU ld supports shared libraries.
10148 # On AIX/PPC, the GNU linker is very broken
10149 if test ia64 != "$host_cpu"; then
10153 *** Warning: the GNU linker, at least up to release 2.19, is reported
10154 *** to be unable to reliably create shared libraries on AIX.
10155 *** Therefore, libtool is disabling shared libraries support. If you
10156 *** really care for shared libraries, you may want to install binutils
10157 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10158 *** You will then need to restart the configuration process.
10167 # see comment about AmigaOS4 .so support
10168 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10169 archive_expsym_cmds=''
10172 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)'
10173 hardcode_libdir_flag_spec='-L$libdir'
10174 hardcode_minus_L=yes
10180 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10181 allow_undefined_flag=unsupported
10182 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10183 # support --undefined. This deserves some investigation. FIXME
10184 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10190 cygwin* | mingw* | pw32* | cegcc*)
10191 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10192 # as there is no search path for DLLs.
10193 hardcode_libdir_flag_spec='-L$libdir'
10194 export_dynamic_flag_spec='$wl--export-all-symbols'
10195 allow_undefined_flag=unsupported
10196 always_export_symbols=no
10197 enable_shared_with_static_runtimes=yes
10198 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10199 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10201 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10202 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10203 # If the export-symbols file already is a .def file, use it as
10204 # is; otherwise, prepend EXPORTS...
10205 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10206 cp $export_symbols $output_objdir/$soname.def;
10208 echo EXPORTS > $output_objdir/$soname.def;
10209 cat $export_symbols >> $output_objdir/$soname.def;
10211 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10218 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10219 link_all_deplibs=yes
10224 hardcode_shlibpath_var=no
10225 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10226 export_dynamic_flag_spec='$wl-E'
10227 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10228 # Instead, shared libraries are loaded at an image base (0x10000000 by
10229 # default) and relocated if they conflict, which is a slow very memory
10230 # consuming and fragmenting process. To avoid this, we pick a random,
10231 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10232 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10233 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10234 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'
10237 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10239 if test linux-dietlibc = "$host_os"; then
10240 case $cc_basename in
10241 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10244 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10245 && test no = "$tmp_diet"
10247 tmp_addflag=' $pic_flag'
10248 tmp_sharedflag='-shared'
10249 case $cc_basename,$host_cpu in
10250 pgcc*) # Portland Group C compiler
10251 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'
10252 tmp_addflag=' $pic_flag'
10254 pgf77* | pgf90* | pgf95* | pgfortran*)
10255 # Portland Group f77 and f90 compilers
10256 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'
10257 tmp_addflag=' $pic_flag -Mnomain' ;;
10258 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10259 tmp_addflag=' -i_dynamic' ;;
10260 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10261 tmp_addflag=' -i_dynamic -nofor_main' ;;
10262 ifc* | ifort*) # Intel Fortran compiler
10263 tmp_addflag=' -nofor_main' ;;
10264 lf95*) # Lahey Fortran 8.1
10265 whole_archive_flag_spec=
10266 tmp_sharedflag='--shared' ;;
10267 nagfor*) # NAGFOR 5.3
10268 tmp_sharedflag='-Wl,-shared' ;;
10269 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10270 tmp_sharedflag='-qmkshrobj'
10272 nvcc*) # Cuda Compiler Driver 2.2
10273 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'
10274 compiler_needs_object=yes
10277 case `$CC -V 2>&1 | sed 5q` in
10278 *Sun\ C*) # Sun C 5.9
10279 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'
10280 compiler_needs_object=yes
10281 tmp_sharedflag='-G' ;;
10282 *Sun\ F*) # Sun Fortran 8.3
10283 tmp_sharedflag='-G' ;;
10285 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10287 if test yes = "$supports_anon_versioning"; then
10288 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10289 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10290 echo "local: *; };" >> $output_objdir/$libname.ver~
10291 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10294 case $cc_basename in
10295 xlf* | bgf* | bgxlf* | mpixlf*)
10296 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10297 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10298 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10299 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10300 if test yes = "$supports_anon_versioning"; then
10301 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10302 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10303 echo "local: *; };" >> $output_objdir/$libname.ver~
10304 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10314 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10315 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10318 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10319 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10324 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10328 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10329 *** create shared libraries on Solaris systems. Therefore, libtool
10330 *** is disabling shared libraries support. We urge you to upgrade GNU
10331 *** binutils to release 2.9.1 or newer. Another option is to modify
10332 *** your PATH or compiler configuration so that the native linker is
10333 *** used, and then restart.
10336 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10337 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10338 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10344 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10345 case `$LD -v 2>&1` in
10346 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10350 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10351 *** reliably create shared libraries on SCO systems. Therefore, libtool
10352 *** is disabling shared libraries support. We urge you to upgrade GNU
10353 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10354 *** your PATH or compiler configuration so that the native linker is
10355 *** used, and then restart.
10360 # For security reasons, it is highly recommended that you always
10361 # use absolute paths for naming shared libraries, and exclude the
10362 # DT_RUNPATH tag from executables and libraries. But doing so
10363 # requires that you compile everything twice, which is a pain.
10364 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10365 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10366 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10367 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10376 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10378 hardcode_direct=yes
10379 hardcode_shlibpath_var=no
10383 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10384 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10385 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10392 if test no = "$ld_shlibs"; then
10394 hardcode_libdir_flag_spec=
10395 export_dynamic_flag_spec=
10396 whole_archive_flag_spec=
10399 # PORTME fill in a description of your system's linker (not GNU ld)
10402 allow_undefined_flag=unsupported
10403 always_export_symbols=yes
10404 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'
10405 # Note: this linker hardcodes the directories in LIBPATH if there
10406 # are no directories specified by -L.
10407 hardcode_minus_L=yes
10408 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10409 # Neither direct hardcoding nor static linking is supported with a
10411 hardcode_direct=unsupported
10416 if test ia64 = "$host_cpu"; then
10417 # On IA64, the linker does run time linking by default, so we don't
10418 # have to do anything special.
10419 aix_use_runtimelinking=no
10420 exp_sym_flag='-Bexport'
10423 # If we're using GNU nm, then we don't want the "-C" option.
10424 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10425 # Also, AIX nm treats weak defined symbols like other global
10426 # defined symbols, whereas GNU nm marks them as "W".
10427 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10428 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'
10430 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'
10432 aix_use_runtimelinking=no
10434 # Test if we are trying to use run time linking or normal
10435 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10436 # need to do runtime linking.
10437 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10438 for ld_flag in $LDFLAGS; do
10439 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10440 aix_use_runtimelinking=yes
10447 exp_sym_flag='-bexport'
10448 no_entry_flag='-bnoentry'
10451 # When large executables or shared objects are built, AIX ld can
10452 # have problems creating the table of contents. If linking a library
10453 # or program results in "error TOC overflow" add -mminimal-toc to
10454 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10455 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10458 hardcode_direct=yes
10459 hardcode_direct_absolute=yes
10460 hardcode_libdir_separator=':'
10461 link_all_deplibs=yes
10462 file_list_spec='$wl-f,'
10464 if test yes = "$GCC"; then
10465 case $host_os in aix4.[012]|aix4.[012].*)
10466 # We only want to do this on AIX 4.2 and lower, the check
10467 # below for broken collect2 doesn't work under 4.3+
10468 collect2name=`$CC -print-prog-name=collect2`
10469 if test -f "$collect2name" &&
10470 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10472 # We have reworked collect2
10475 # We have old collect2
10476 hardcode_direct=unsupported
10477 # It fails to find uninstalled libraries when the uninstalled
10478 # path is not listed in the libpath. Setting hardcode_minus_L
10479 # to unsupported forces relinking
10480 hardcode_minus_L=yes
10481 hardcode_libdir_flag_spec='-L$libdir'
10482 hardcode_libdir_separator=
10486 shared_flag='-shared'
10487 if test yes = "$aix_use_runtimelinking"; then
10488 shared_flag="$shared_flag "'$wl-G'
10492 if test ia64 = "$host_cpu"; then
10493 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10494 # chokes on -Wl,-G. The following line is correct:
10497 if test yes = "$aix_use_runtimelinking"; then
10498 shared_flag='$wl-G'
10500 shared_flag='$wl-bM:SRE'
10505 export_dynamic_flag_spec='$wl-bexpall'
10506 # It seems that -bexpall does not export symbols beginning with
10507 # underscore (_), so it is better to generate a list of symbols to export.
10508 always_export_symbols=yes
10509 if test yes = "$aix_use_runtimelinking"; then
10510 # Warning - without using the other runtime loading flags (-brtl),
10511 # -berok will link without error, but may produce a broken library.
10512 allow_undefined_flag='-berok'
10513 # Determine the default libpath from the value encoded in an
10514 # empty executable.
10515 if test set = "${lt_cv_aix_libpath+set}"; then
10516 aix_libpath=$lt_cv_aix_libpath
10518 if ${lt_cv_aix_libpath_+:} false; then :
10519 $as_echo_n "(cached) " >&6
10521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10532 if ac_fn_c_try_link "$LINENO"; then :
10534 lt_aix_libpath_sed='
10535 /Import File Strings/,/^$/ {
10537 s/^0 *\([^ ]*\) *$/\1/
10541 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10542 # Check for a 64-bit object if we didn't find anything.
10543 if test -z "$lt_cv_aix_libpath_"; then
10544 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10547 rm -f core conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 if test -z "$lt_cv_aix_libpath_"; then
10550 lt_cv_aix_libpath_=/usr/lib:/lib
10555 aix_libpath=$lt_cv_aix_libpath_
10558 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10559 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10561 if test ia64 = "$host_cpu"; then
10562 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10563 allow_undefined_flag="-z nodefs"
10564 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"
10566 # Determine the default libpath from the value encoded in an
10567 # empty executable.
10568 if test set = "${lt_cv_aix_libpath+set}"; then
10569 aix_libpath=$lt_cv_aix_libpath
10571 if ${lt_cv_aix_libpath_+:} false; then :
10572 $as_echo_n "(cached) " >&6
10574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10585 if ac_fn_c_try_link "$LINENO"; then :
10587 lt_aix_libpath_sed='
10588 /Import File Strings/,/^$/ {
10590 s/^0 *\([^ ]*\) *$/\1/
10594 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10595 # Check for a 64-bit object if we didn't find anything.
10596 if test -z "$lt_cv_aix_libpath_"; then
10597 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 if test -z "$lt_cv_aix_libpath_"; then
10603 lt_cv_aix_libpath_=/usr/lib:/lib
10608 aix_libpath=$lt_cv_aix_libpath_
10611 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10612 # Warning - without using the other run time loading flags,
10613 # -berok will link without error, but may produce a broken library.
10614 no_undefined_flag=' $wl-bernotok'
10615 allow_undefined_flag=' $wl-berok'
10616 if test yes = "$with_gnu_ld"; then
10617 # We only use this code for GNU lds that support --whole-archive.
10618 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10620 # Exported symbols can be pulled into shared objects from archives
10621 whole_archive_flag_spec='$convenience'
10623 archive_cmds_need_lc=yes
10624 # This is similar to how AIX traditionally builds its shared libraries.
10625 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'
10633 # see comment about AmigaOS4 .so support
10634 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10635 archive_expsym_cmds=''
10638 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)'
10639 hardcode_libdir_flag_spec='-L$libdir'
10640 hardcode_minus_L=yes
10646 export_dynamic_flag_spec=-rdynamic
10649 cygwin* | mingw* | pw32* | cegcc*)
10650 # When not using gcc, we currently assume that we are using
10651 # Microsoft Visual C++.
10652 # hardcode_libdir_flag_spec is actually meaningless, as there is
10653 # no search path for DLLs.
10654 case $cc_basename in
10657 hardcode_libdir_flag_spec=' '
10658 allow_undefined_flag=unsupported
10659 always_export_symbols=yes
10661 # Tell ltmain to make .lib files, not .a files.
10663 # Tell ltmain to make .dll files, not .so files.
10665 # FIXME: Setting linknames here is a bad hack.
10666 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10667 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10668 cp "$export_symbols" "$output_objdir/$soname.def";
10669 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10671 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10673 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10675 # The linker will not automatically build a static lib if we build a DLL.
10676 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10677 enable_shared_with_static_runtimes=yes
10678 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10679 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10681 old_postinstall_cmds='chmod 644 $oldlib'
10682 postlink_cmds='lt_outputfile="@OUTPUT@"~
10683 lt_tool_outputfile="@TOOL_OUTPUT@"~
10684 case $lt_outputfile in
10687 lt_outputfile=$lt_outputfile.exe
10688 lt_tool_outputfile=$lt_tool_outputfile.exe
10691 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10692 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10693 $RM "$lt_outputfile.manifest";
10697 # Assume MSVC wrapper
10698 hardcode_libdir_flag_spec=' '
10699 allow_undefined_flag=unsupported
10700 # Tell ltmain to make .lib files, not .a files.
10702 # Tell ltmain to make .dll files, not .so files.
10704 # FIXME: Setting linknames here is a bad hack.
10705 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10706 # The linker will automatically build a .lib file if we build a DLL.
10707 old_archive_from_new_cmds='true'
10708 # FIXME: Should let the user specify the lib program.
10709 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10710 enable_shared_with_static_runtimes=yes
10715 darwin* | rhapsody*)
10718 archive_cmds_need_lc=no
10720 hardcode_automatic=yes
10721 hardcode_shlibpath_var=unsupported
10722 if test yes = "$lt_cv_ld_force_load"; then
10723 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\"`'
10726 whole_archive_flag_spec=''
10728 link_all_deplibs=yes
10729 allow_undefined_flag=$_lt_dar_allow_undefined
10730 case $cc_basename in
10731 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10732 *) _lt_dar_can_shared=$GCC ;;
10734 if test yes = "$_lt_dar_can_shared"; then
10735 output_verbose_link_cmd=func_echo_all
10736 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10737 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10738 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"
10739 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"
10748 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10749 hardcode_libdir_flag_spec='-L$libdir'
10750 hardcode_shlibpath_var=no
10753 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10754 # support. Future versions do this automatically, but an explicit c++rt0.o
10755 # does not break anything, and helps significantly (at the cost of a little
10758 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10759 hardcode_libdir_flag_spec='-R$libdir'
10760 hardcode_direct=yes
10761 hardcode_shlibpath_var=no
10764 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10766 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10767 hardcode_direct=yes
10768 hardcode_minus_L=yes
10769 hardcode_shlibpath_var=no
10772 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10773 freebsd* | dragonfly*)
10774 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10775 hardcode_libdir_flag_spec='-R$libdir'
10776 hardcode_direct=yes
10777 hardcode_shlibpath_var=no
10781 if test yes = "$GCC"; then
10782 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10784 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10786 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10787 hardcode_libdir_separator=:
10788 hardcode_direct=yes
10790 # hardcode_minus_L: Not really in the search PATH,
10791 # but as the default location of the library.
10792 hardcode_minus_L=yes
10793 export_dynamic_flag_spec='$wl-E'
10797 if test yes,no = "$GCC,$with_gnu_ld"; then
10798 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10800 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10802 if test no = "$with_gnu_ld"; then
10803 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10804 hardcode_libdir_separator=:
10805 hardcode_direct=yes
10806 hardcode_direct_absolute=yes
10807 export_dynamic_flag_spec='$wl-E'
10808 # hardcode_minus_L: Not really in the search PATH,
10809 # but as the default location of the library.
10810 hardcode_minus_L=yes
10815 if test yes,no = "$GCC,$with_gnu_ld"; then
10818 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10821 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10824 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10830 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10833 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10837 # Older versions of the 11.00 compiler do not understand -b yet
10838 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10840 $as_echo_n "checking if $CC understands -b... " >&6; }
10841 if ${lt_cv_prog_compiler__b+:} false; then :
10842 $as_echo_n "(cached) " >&6
10844 lt_cv_prog_compiler__b=no
10845 save_LDFLAGS=$LDFLAGS
10846 LDFLAGS="$LDFLAGS -b"
10847 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10848 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10849 # The linker can only warn and ignore the option if not recognized
10850 # So say no if there are warnings
10851 if test -s conftest.err; then
10852 # Append any errors to the config.log.
10853 cat conftest.err 1>&5
10854 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10855 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10856 if diff conftest.exp conftest.er2 >/dev/null; then
10857 lt_cv_prog_compiler__b=yes
10860 lt_cv_prog_compiler__b=yes
10864 LDFLAGS=$save_LDFLAGS
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10868 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10870 if test yes = "$lt_cv_prog_compiler__b"; then
10871 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10873 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10879 if test no = "$with_gnu_ld"; then
10880 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10881 hardcode_libdir_separator=:
10886 hardcode_shlibpath_var=no
10889 hardcode_direct=yes
10890 hardcode_direct_absolute=yes
10891 export_dynamic_flag_spec='$wl-E'
10893 # hardcode_minus_L: Not really in the search PATH,
10894 # but as the default location of the library.
10895 hardcode_minus_L=yes
10901 irix5* | irix6* | nonstopux*)
10902 if test yes = "$GCC"; then
10903 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10904 # Try to use the -exported_symbol ld option, if it does not
10905 # work, assume that -exports_file does not work either and
10906 # implicitly export all symbols.
10907 # This should be the same for all languages, so no per-tag cache variable.
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10909 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10910 if ${lt_cv_irix_exported_symbol+:} false; then :
10911 $as_echo_n "(cached) " >&6
10913 save_LDFLAGS=$LDFLAGS
10914 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10917 int foo (void) { return 0; }
10919 if ac_fn_c_try_link "$LINENO"; then :
10920 lt_cv_irix_exported_symbol=yes
10922 lt_cv_irix_exported_symbol=no
10924 rm -f core conftest.err conftest.$ac_objext \
10925 conftest$ac_exeext conftest.$ac_ext
10926 LDFLAGS=$save_LDFLAGS
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10929 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10930 if test yes = "$lt_cv_irix_exported_symbol"; then
10931 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
10934 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'
10935 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'
10937 archive_cmds_need_lc='no'
10938 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10939 hardcode_libdir_separator=:
10941 link_all_deplibs=yes
10945 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10946 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10948 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10950 hardcode_libdir_flag_spec='-R$libdir'
10951 hardcode_direct=yes
10952 hardcode_shlibpath_var=no
10956 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10957 hardcode_direct=yes
10958 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10959 hardcode_libdir_separator=:
10960 hardcode_shlibpath_var=no
10966 openbsd* | bitrig*)
10967 if test -f /usr/libexec/ld.so; then
10968 hardcode_direct=yes
10969 hardcode_shlibpath_var=no
10970 hardcode_direct_absolute=yes
10971 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10972 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10973 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10974 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10975 export_dynamic_flag_spec='$wl-E'
10977 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10978 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10986 hardcode_libdir_flag_spec='-L$libdir'
10987 hardcode_minus_L=yes
10988 allow_undefined_flag=unsupported
10989 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'
10990 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10994 if test yes = "$GCC"; then
10995 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10996 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'
10998 allow_undefined_flag=' -expect_unresolved \*'
10999 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'
11001 archive_cmds_need_lc='no'
11002 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11003 hardcode_libdir_separator=:
11006 osf4* | osf5*) # as osf3* with the addition of -msym flag
11007 if test yes = "$GCC"; then
11008 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11009 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11010 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11012 allow_undefined_flag=' -expect_unresolved \*'
11013 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'
11014 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~
11015 $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'
11017 # Both c and cxx compiler support -rpath directly
11018 hardcode_libdir_flag_spec='-rpath $libdir'
11020 archive_cmds_need_lc='no'
11021 hardcode_libdir_separator=:
11025 no_undefined_flag=' -z defs'
11026 if test yes = "$GCC"; then
11028 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11029 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11030 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11032 case `$CC -V 2>&1` in
11035 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11036 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11037 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11041 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11042 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11043 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11047 hardcode_libdir_flag_spec='-R$libdir'
11048 hardcode_shlibpath_var=no
11050 solaris2.[0-5] | solaris2.[0-5].*) ;;
11052 # The compiler driver will combine and reorder linker options,
11053 # but understands '-z linker_flag'. GCC discards it without '$wl',
11054 # but is careful enough not to reorder.
11055 # Supported since Solaris 2.6 (maybe 2.5.1?)
11056 if test yes = "$GCC"; then
11057 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11059 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11063 link_all_deplibs=yes
11067 if test sequent = "$host_vendor"; then
11068 # Use $CC to link under sequent, because it throws in some extra .o
11069 # files that make .init and .fini sections work.
11070 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11072 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11074 hardcode_libdir_flag_spec='-L$libdir'
11075 hardcode_direct=yes
11076 hardcode_minus_L=yes
11077 hardcode_shlibpath_var=no
11081 case $host_vendor in
11083 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11084 hardcode_direct=yes # is this really true???
11087 ## LD is ld it makes a PLAMLIB
11088 ## CC just makes a GrossModule.
11089 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11090 reload_cmds='$CC -r -o $output$reload_objs'
11094 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11095 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11098 runpath_var='LD_RUN_PATH'
11099 hardcode_shlibpath_var=no
11103 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11104 hardcode_shlibpath_var=no
11105 export_dynamic_flag_spec='-Bexport'
11109 if test -d /usr/nec; then
11110 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11111 hardcode_shlibpath_var=no
11112 runpath_var=LD_RUN_PATH
11113 hardcode_runpath_var=yes
11118 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11119 no_undefined_flag='$wl-z,text'
11120 archive_cmds_need_lc=no
11121 hardcode_shlibpath_var=no
11122 runpath_var='LD_RUN_PATH'
11124 if test yes = "$GCC"; then
11125 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11126 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11128 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11129 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11133 sysv5* | sco3.2v5* | sco5v6*)
11134 # Note: We CANNOT use -z defs as we might desire, because we do not
11135 # link with -lc, and that would cause any symbols used from libc to
11136 # always be unresolved, which means just about no library would
11137 # ever link correctly. If we're not using GNU ld we use -z text
11138 # though, which does catch some bad symbols but isn't as heavy-handed
11140 no_undefined_flag='$wl-z,text'
11141 allow_undefined_flag='$wl-z,nodefs'
11142 archive_cmds_need_lc=no
11143 hardcode_shlibpath_var=no
11144 hardcode_libdir_flag_spec='$wl-R,$libdir'
11145 hardcode_libdir_separator=':'
11146 link_all_deplibs=yes
11147 export_dynamic_flag_spec='$wl-Bexport'
11148 runpath_var='LD_RUN_PATH'
11150 if test yes = "$GCC"; then
11151 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11152 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11154 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11155 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11160 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11161 hardcode_libdir_flag_spec='-L$libdir'
11162 hardcode_shlibpath_var=no
11170 if test sni = "$host_vendor"; then
11172 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11173 export_dynamic_flag_spec='$wl-Blargedynsym'
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11180 $as_echo "$ld_shlibs" >&6; }
11181 test no = "$ld_shlibs" && can_build_shared=no
11183 with_gnu_ld=$with_gnu_ld
11200 # Do we need to explicitly link libc?
11202 case "x$archive_cmds_need_lc" in
11204 # Assume -lc should be added
11205 archive_cmds_need_lc=yes
11207 if test yes,yes = "$GCC,$enable_shared"; then
11208 case $archive_cmds in
11210 # FIXME: we may have to deal with multi-command sequences.
11213 # Test whether the compiler implicitly links with -lc since on some
11214 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11215 # to ld, don't add -lc before -lgcc.
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11217 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11218 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11219 $as_echo_n "(cached) " >&6
11222 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11225 (eval $ac_compile) 2>&5
11227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11228 test $ac_status = 0; } 2>conftest.err; then
11231 libobjs=conftest.$ac_objext
11233 wl=$lt_prog_compiler_wl
11234 pic_flag=$lt_prog_compiler_pic
11240 lt_save_allow_undefined_flag=$allow_undefined_flag
11241 allow_undefined_flag=
11242 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11243 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11246 test $ac_status = 0; }
11248 lt_cv_archive_cmds_need_lc=no
11250 lt_cv_archive_cmds_need_lc=yes
11252 allow_undefined_flag=$lt_save_allow_undefined_flag
11254 cat conftest.err 1>&5
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11260 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11261 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11420 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11422 if test yes = "$GCC"; then
11424 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11425 *) lt_awk_arg='/^libraries:/' ;;
11428 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11429 *) lt_sed_strip_eq='s|=/|/|g' ;;
11431 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11432 case $lt_search_path_spec in
11434 # if the path contains ";" then we assume it to be the separator
11435 # otherwise default to the standard path separator (i.e. ":") - it is
11436 # assumed that no part of a normal pathname contains ";" but that should
11437 # okay in the real world where ";" in dirpaths is itself problematic.
11438 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11441 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11444 # Ok, now we have the path, separated by spaces, we can step through it
11445 # and add multilib dir if necessary...
11446 lt_tmp_lt_search_path_spec=
11447 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11448 # ...but if some path component already ends with the multilib dir we assume
11449 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11450 case "$lt_multi_os_dir; $lt_search_path_spec " in
11451 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11455 for lt_sys_path in $lt_search_path_spec; do
11456 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11457 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11458 elif test -n "$lt_multi_os_dir"; then
11459 test -d "$lt_sys_path" && \
11460 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11463 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11464 BEGIN {RS = " "; FS = "/|\n";} {
11467 for (lt_i = NF; lt_i > 0; lt_i--) {
11468 if ($lt_i != "" && $lt_i != ".") {
11469 if ($lt_i == "..") {
11472 if (lt_count == 0) {
11473 lt_foo = "/" $lt_i lt_foo;
11480 if (lt_foo != "") { lt_freq[lt_foo]++; }
11481 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11483 # AWK program above erroneously prepends '/' to C:/dos/paths
11486 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11487 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11489 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11491 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11493 library_names_spec=
11494 libname_spec='lib$name'
11498 postuninstall_cmds=
11502 shlibpath_overrides_runpath=unknown
11504 dynamic_linker="$host_os ld.so"
11505 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11506 need_lib_prefix=unknown
11507 hardcode_into_libs=no
11509 # when you set need_version to no, make sure it does not cause -set_version
11510 # flags to be left without arguments
11511 need_version=unknown
11515 version_type=linux # correct to gnu/linux during the next big refactor
11516 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11517 shlibpath_var=LIBPATH
11519 # AIX 3 has no versioning support, so we append a major version to the name.
11520 soname_spec='$libname$release$shared_ext$major'
11524 version_type=linux # correct to gnu/linux during the next big refactor
11527 hardcode_into_libs=yes
11528 if test ia64 = "$host_cpu"; then
11529 # AIX 5 supports IA64
11530 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11531 shlibpath_var=LD_LIBRARY_PATH
11533 # With GCC up to 2.95.x, collect2 would create an import file
11534 # for dependence libraries. The import file would start with
11535 # the line '#! .'. This would cause the generated library to
11536 # depend on '.', always an invalid library. This was fixed in
11537 # development snapshots of GCC prior to 3.0.
11539 aix4 | aix4.[01] | aix4.[01].*)
11540 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11542 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11545 can_build_shared=no
11549 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11550 # soname into executable. Probably we can add versioning support to
11551 # collect2, so additional links can be useful in future.
11552 if test yes = "$aix_use_runtimelinking"; then
11553 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11554 # instead of lib<name>.a to let people know that these are not
11555 # typical AIX shared libraries.
11556 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11558 # We preserve .a as extension for shared libraries through AIX4.2
11559 # and later when we are not doing run time linking.
11560 library_names_spec='$libname$release.a $libname.a'
11561 soname_spec='$libname$release$shared_ext$major'
11563 shlibpath_var=LIBPATH
11570 # Since July 2007 AmigaOS4 officially supports .so libraries.
11571 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11572 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11575 library_names_spec='$libname.ixlibrary $libname.a'
11576 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11577 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11583 library_names_spec='$libname$shared_ext'
11584 dynamic_linker="$host_os ld.so"
11585 shlibpath_var=LIBRARY_PATH
11589 version_type=linux # correct to gnu/linux during the next big refactor
11591 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11592 soname_spec='$libname$release$shared_ext$major'
11593 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11594 shlibpath_var=LD_LIBRARY_PATH
11595 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11596 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11597 # the default ld.so.conf also contains /usr/contrib/lib and
11598 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11599 # libtool to hard-code these into programs
11602 cygwin* | mingw* | pw32* | cegcc*)
11603 version_type=windows
11608 case $GCC,$cc_basename in
11611 library_names_spec='$libname.dll.a'
11612 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11613 postinstall_cmds='base_file=`basename \$file`~
11614 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11615 dldir=$destdir/`dirname \$dlpath`~
11616 test -d \$dldir || mkdir -p \$dldir~
11617 $install_prog $dir/$dlname \$dldir/$dlname~
11618 chmod a+x \$dldir/$dlname~
11619 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11620 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11622 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11623 dlpath=$dir/\$dldll~
11625 shlibpath_overrides_runpath=yes
11629 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11630 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11632 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11635 # MinGW DLLs use traditional 'lib' prefix
11636 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11639 # pw32 DLLs use 'pw' prefix rather than 'lib'
11640 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11643 dynamic_linker='Win32 ld.exe'
11648 libname_spec='$name'
11649 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11650 library_names_spec='$libname.dll.lib'
11654 sys_lib_search_path_spec=
11657 for lt_path in $LIB
11660 # Let DOS variable expansion print the short 8.3 style file name.
11661 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11662 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11665 # Convert to MSYS style.
11666 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11669 # Convert to unix form, then to dos form, then back to unix form
11670 # but this time dos style (no spaces!) so that the unix form looks
11671 # like /cygdrive/c/PROGRA~1:/cygdr...
11672 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11673 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11674 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11677 sys_lib_search_path_spec=$LIB
11678 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11679 # It is most probably a Windows format PATH.
11680 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11682 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11684 # FIXME: find the short name or the path components, as spaces are
11685 # common. (e.g. "Program Files" -> "PROGRA~1")
11689 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11690 postinstall_cmds='base_file=`basename \$file`~
11691 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11692 dldir=$destdir/`dirname \$dlpath`~
11693 test -d \$dldir || mkdir -p \$dldir~
11694 $install_prog $dir/$dlname \$dldir/$dlname'
11695 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11696 dlpath=$dir/\$dldll~
11698 shlibpath_overrides_runpath=yes
11699 dynamic_linker='Win32 link.exe'
11703 # Assume MSVC wrapper
11704 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11705 dynamic_linker='Win32 ld.exe'
11708 # FIXME: first we should search . and the directory the executable is in
11712 darwin* | rhapsody*)
11713 dynamic_linker="$host_os dyld"
11714 version_type=darwin
11717 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11718 soname_spec='$libname$release$major$shared_ext'
11719 shlibpath_overrides_runpath=yes
11720 shlibpath_var=DYLD_LIBRARY_PATH
11721 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11723 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11724 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11728 version_type=linux # correct to gnu/linux during the next big refactor
11731 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11732 soname_spec='$libname$release$shared_ext$major'
11733 shlibpath_var=LD_LIBRARY_PATH
11736 freebsd* | dragonfly*)
11737 # DragonFly does not have aout. When/if they implement a new
11738 # versioning mechanism, adjust this.
11739 if test -x /usr/bin/objformat; then
11740 objformat=`/usr/bin/objformat`
11743 freebsd[23].*) objformat=aout ;;
11744 *) objformat=elf ;;
11747 version_type=freebsd-$objformat
11748 case $version_type in
11750 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11755 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11759 shlibpath_var=LD_LIBRARY_PATH
11762 shlibpath_overrides_runpath=yes
11764 freebsd3.[01]* | freebsdelf3.[01]*)
11765 shlibpath_overrides_runpath=yes
11766 hardcode_into_libs=yes
11768 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11769 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11770 shlibpath_overrides_runpath=no
11771 hardcode_into_libs=yes
11773 *) # from 4.6 on, and DragonFly
11774 shlibpath_overrides_runpath=yes
11775 hardcode_into_libs=yes
11781 version_type=linux # correct to gnu/linux during the next big refactor
11784 dynamic_linker="$host_os runtime_loader"
11785 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11786 soname_spec='$libname$release$shared_ext$major'
11787 shlibpath_var=LIBRARY_PATH
11788 shlibpath_overrides_runpath=no
11789 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11790 hardcode_into_libs=yes
11793 hpux9* | hpux10* | hpux11*)
11794 # Give a soname corresponding to the major version so that dld.sl refuses to
11795 # link against other versions.
11802 hardcode_into_libs=yes
11803 dynamic_linker="$host_os dld.so"
11804 shlibpath_var=LD_LIBRARY_PATH
11805 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11806 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11807 soname_spec='$libname$release$shared_ext$major'
11808 if test 32 = "$HPUX_IA64_MODE"; then
11809 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11811 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11813 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11817 hardcode_into_libs=yes
11818 dynamic_linker="$host_os dld.sl"
11819 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11820 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11821 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11822 soname_spec='$libname$release$shared_ext$major'
11823 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11824 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11828 dynamic_linker="$host_os dld.sl"
11829 shlibpath_var=SHLIB_PATH
11830 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11831 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11832 soname_spec='$libname$release$shared_ext$major'
11835 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11836 postinstall_cmds='chmod 555 $lib'
11837 # or fails outright, so override atomically:
11838 install_override_mode=555
11842 version_type=linux # correct to gnu/linux during the next big refactor
11845 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11846 soname_spec='$libname$release$shared_ext$major'
11847 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11848 shlibpath_var=LD_LIBRARY_PATH
11849 shlibpath_overrides_runpath=no
11850 hardcode_into_libs=yes
11853 irix5* | irix6* | nonstopux*)
11855 nonstopux*) version_type=nonstopux ;;
11857 if test yes = "$lt_cv_prog_gnu_ld"; then
11858 version_type=linux # correct to gnu/linux during the next big refactor
11865 soname_spec='$libname$release$shared_ext$major'
11866 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11868 irix5* | nonstopux*)
11869 libsuff= shlibsuff=
11872 case $LD in # libtool.m4 will add one of these switches to LD
11873 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11874 libsuff= shlibsuff= libmagic=32-bit;;
11875 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11876 libsuff=32 shlibsuff=N32 libmagic=N32;;
11877 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11878 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11879 *) libsuff= shlibsuff= libmagic=never-match;;
11883 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11884 shlibpath_overrides_runpath=no
11885 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11886 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11887 hardcode_into_libs=yes
11890 # No shared lib support for Linux oldld, aout, or coff.
11891 linux*oldld* | linux*aout* | linux*coff*)
11896 version_type=none # Android doesn't support versioned libraries.
11899 library_names_spec='$libname$release$shared_ext'
11900 soname_spec='$libname$release$shared_ext'
11902 shlibpath_var=LD_LIBRARY_PATH
11903 shlibpath_overrides_runpath=yes
11905 # This implies no fast_install, which is unacceptable.
11906 # Some rework will be needed to allow for fast_install
11907 # before this can be enabled.
11908 hardcode_into_libs=yes
11910 dynamic_linker='Android linker'
11911 # Don't embed -rpath directories since the linker doesn't support them.
11912 hardcode_libdir_flag_spec='-L$libdir'
11915 # This must be glibc/ELF.
11916 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11917 version_type=linux # correct to gnu/linux during the next big refactor
11920 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11921 soname_spec='$libname$release$shared_ext$major'
11922 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11923 shlibpath_var=LD_LIBRARY_PATH
11924 shlibpath_overrides_runpath=no
11926 # Some binutils ld are patched to set DT_RUNPATH
11927 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11928 $as_echo_n "(cached) " >&6
11930 lt_cv_shlibpath_overrides_runpath=no
11931 save_LDFLAGS=$LDFLAGS
11932 save_libdir=$libdir
11933 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11934 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11946 if ac_fn_c_try_link "$LINENO"; then :
11947 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11948 lt_cv_shlibpath_overrides_runpath=yes
11951 rm -f core conftest.err conftest.$ac_objext \
11952 conftest$ac_exeext conftest.$ac_ext
11953 LDFLAGS=$save_LDFLAGS
11954 libdir=$save_libdir
11958 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11960 # This implies no fast_install, which is unacceptable.
11961 # Some rework will be needed to allow for fast_install
11962 # before this can be enabled.
11963 hardcode_into_libs=yes
11965 # Add ABI-specific directories to the system library path.
11966 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11968 # Append ld.so.conf contents to the search path
11969 if test -f /etc/ld.so.conf; then
11970 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' ' '`
11971 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11975 # We used to test for /lib/ld.so.1 and disable shared libraries on
11976 # powerpc, because MkLinux only supported shared libraries with the
11977 # GNU dynamic linker. Since this was broken with cross compilers,
11978 # most powerpc-linux boxes support dynamic linking these days and
11979 # people can always --disable-shared, the test was removed, and we
11980 # assume the GNU/Linux dynamic linker is in use.
11981 dynamic_linker='GNU/Linux ld.so'
11988 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11989 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11990 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11991 dynamic_linker='NetBSD (a.out) ld.so'
11993 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11994 soname_spec='$libname$release$shared_ext$major'
11995 dynamic_linker='NetBSD ld.elf_so'
11997 shlibpath_var=LD_LIBRARY_PATH
11998 shlibpath_overrides_runpath=yes
11999 hardcode_into_libs=yes
12003 version_type=linux # correct to gnu/linux during the next big refactor
12004 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12005 shlibpath_var=LD_LIBRARY_PATH
12006 shlibpath_overrides_runpath=yes
12013 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12014 soname_spec='$libname$release$shared_ext$major'
12015 shlibpath_var=LD_LIBRARY_PATH
12016 shlibpath_overrides_runpath=no
12017 hardcode_into_libs=yes
12018 dynamic_linker='ldqnx.so'
12021 openbsd* | bitrig*)
12023 sys_lib_dlsearch_path_spec=/usr/lib
12025 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12030 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12031 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12032 shlibpath_var=LD_LIBRARY_PATH
12033 shlibpath_overrides_runpath=yes
12037 libname_spec='$name'
12040 library_names_spec='$libname$shared_ext $libname.a'
12041 dynamic_linker='OS/2 ld.exe'
12042 shlibpath_var=LIBPATH
12045 osf3* | osf4* | osf5*)
12049 soname_spec='$libname$release$shared_ext$major'
12050 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12051 shlibpath_var=LD_LIBRARY_PATH
12052 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12053 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12061 version_type=linux # correct to gnu/linux during the next big refactor
12064 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12065 soname_spec='$libname$release$shared_ext$major'
12066 shlibpath_var=LD_LIBRARY_PATH
12067 shlibpath_overrides_runpath=yes
12068 hardcode_into_libs=yes
12069 # ldd complains unless libraries are executable
12070 postinstall_cmds='chmod +x $lib'
12075 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12076 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12077 shlibpath_var=LD_LIBRARY_PATH
12078 shlibpath_overrides_runpath=yes
12079 if test yes = "$with_gnu_ld"; then
12086 version_type=linux # correct to gnu/linux during the next big refactor
12087 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12088 soname_spec='$libname$release$shared_ext$major'
12089 shlibpath_var=LD_LIBRARY_PATH
12090 case $host_vendor in
12092 shlibpath_overrides_runpath=no
12094 runpath_var=LD_RUN_PATH
12102 shlibpath_overrides_runpath=no
12103 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12109 if test -d /usr/nec; then
12110 version_type=linux # correct to gnu/linux during the next big refactor
12111 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12112 soname_spec='$libname$shared_ext.$major'
12113 shlibpath_var=LD_LIBRARY_PATH
12117 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12118 version_type=freebsd-elf
12121 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12122 soname_spec='$libname$release$shared_ext$major'
12123 shlibpath_var=LD_LIBRARY_PATH
12124 shlibpath_overrides_runpath=yes
12125 hardcode_into_libs=yes
12126 if test yes = "$with_gnu_ld"; then
12127 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12129 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12132 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12136 sys_lib_dlsearch_path_spec='/usr/lib'
12140 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12141 version_type=linux # correct to gnu/linux during the next big refactor
12144 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12145 shlibpath_var=LD_LIBRARY_PATH
12146 shlibpath_overrides_runpath=no
12147 hardcode_into_libs=yes
12151 version_type=linux # correct to gnu/linux during the next big refactor
12152 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12153 soname_spec='$libname$release$shared_ext$major'
12154 shlibpath_var=LD_LIBRARY_PATH
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12162 $as_echo "$dynamic_linker" >&6; }
12163 test no = "$dynamic_linker" && can_build_shared=no
12165 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12166 if test yes = "$GCC"; then
12167 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12170 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12171 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12173 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12174 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12269 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12271 if test -n "$hardcode_libdir_flag_spec" ||
12272 test -n "$runpath_var" ||
12273 test yes = "$hardcode_automatic"; then
12275 # We can hardcode non-existent directories.
12276 if test no != "$hardcode_direct" &&
12277 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12278 # have to relink, otherwise we might link with an installed library
12279 # when we should be linking with a yet-to-be-installed one
12280 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12281 test no != "$hardcode_minus_L"; then
12282 # Linking always hardcodes the temporary library directory.
12283 hardcode_action=relink
12285 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12286 hardcode_action=immediate
12289 # We cannot hardcode anything, or else we can only hardcode existing
12291 hardcode_action=unsupported
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12294 $as_echo "$hardcode_action" >&6; }
12296 if test relink = "$hardcode_action" ||
12297 test yes = "$inherit_rpath"; then
12298 # Fast installation is not supported
12299 enable_fast_install=no
12300 elif test yes = "$shlibpath_overrides_runpath" ||
12301 test no = "$enable_shared"; then
12302 # Fast installation is not necessary
12303 enable_fast_install=needless
12311 if test yes != "$enable_dlopen"; then
12312 enable_dlopen=unknown
12313 enable_dlopen_self=unknown
12314 enable_dlopen_self_static=unknown
12321 lt_cv_dlopen=load_add_on
12323 lt_cv_dlopen_self=yes
12326 mingw* | pw32* | cegcc*)
12327 lt_cv_dlopen=LoadLibrary
12332 lt_cv_dlopen=dlopen
12337 # if libdl is installed we need to link against it
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12339 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12340 if ${ac_cv_lib_dl_dlopen+:} false; then :
12341 $as_echo_n "(cached) " >&6
12343 ac_check_lib_save_LIBS=$LIBS
12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12346 /* end confdefs.h. */
12348 /* Override any GCC internal prototype to avoid an error.
12349 Use char because int might match the return type of a GCC
12350 builtin and then its argument prototype would still apply. */
12363 if ac_fn_c_try_link "$LINENO"; then :
12364 ac_cv_lib_dl_dlopen=yes
12366 ac_cv_lib_dl_dlopen=no
12368 rm -f core conftest.err conftest.$ac_objext \
12369 conftest$ac_exeext conftest.$ac_ext
12370 LIBS=$ac_check_lib_save_LIBS
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12373 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12374 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12375 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12380 lt_cv_dlopen_self=yes
12387 # Don't try to run any link tests for TPF. We know it's impossible
12388 # because TPF is a cross-compiler, and we know how we open DSOs.
12389 lt_cv_dlopen=dlopen
12391 lt_cv_dlopen_self=no
12395 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12396 if test "x$ac_cv_func_shl_load" = xyes; then :
12397 lt_cv_dlopen=shl_load
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12400 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12401 if ${ac_cv_lib_dld_shl_load+:} false; then :
12402 $as_echo_n "(cached) " >&6
12404 ac_check_lib_save_LIBS=$LIBS
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 /* Override any GCC internal prototype to avoid an error.
12410 Use char because int might match the return type of a GCC
12411 builtin and then its argument prototype would still apply. */
12419 return shl_load ();
12424 if ac_fn_c_try_link "$LINENO"; then :
12425 ac_cv_lib_dld_shl_load=yes
12427 ac_cv_lib_dld_shl_load=no
12429 rm -f core conftest.err conftest.$ac_objext \
12430 conftest$ac_exeext conftest.$ac_ext
12431 LIBS=$ac_check_lib_save_LIBS
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12434 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12435 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12436 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12438 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12439 if test "x$ac_cv_func_dlopen" = xyes; then :
12440 lt_cv_dlopen=dlopen
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12443 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12444 if ${ac_cv_lib_dl_dlopen+:} false; then :
12445 $as_echo_n "(cached) " >&6
12447 ac_check_lib_save_LIBS=$LIBS
12449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12452 /* Override any GCC internal prototype to avoid an error.
12453 Use char because int might match the return type of a GCC
12454 builtin and then its argument prototype would still apply. */
12467 if ac_fn_c_try_link "$LINENO"; then :
12468 ac_cv_lib_dl_dlopen=yes
12470 ac_cv_lib_dl_dlopen=no
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 LIBS=$ac_check_lib_save_LIBS
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12477 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12478 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12479 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12482 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12483 if ${ac_cv_lib_svld_dlopen+:} false; then :
12484 $as_echo_n "(cached) " >&6
12486 ac_check_lib_save_LIBS=$LIBS
12487 LIBS="-lsvld $LIBS"
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12491 /* Override any GCC internal prototype to avoid an error.
12492 Use char because int might match the return type of a GCC
12493 builtin and then its argument prototype would still apply. */
12506 if ac_fn_c_try_link "$LINENO"; then :
12507 ac_cv_lib_svld_dlopen=yes
12509 ac_cv_lib_svld_dlopen=no
12511 rm -f core conftest.err conftest.$ac_objext \
12512 conftest$ac_exeext conftest.$ac_ext
12513 LIBS=$ac_check_lib_save_LIBS
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12516 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12517 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12518 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12521 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12522 if ${ac_cv_lib_dld_dld_link+:} false; then :
12523 $as_echo_n "(cached) " >&6
12525 ac_check_lib_save_LIBS=$LIBS
12527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h. */
12530 /* Override any GCC internal prototype to avoid an error.
12531 Use char because int might match the return type of a GCC
12532 builtin and then its argument prototype would still apply. */
12540 return dld_link ();
12545 if ac_fn_c_try_link "$LINENO"; then :
12546 ac_cv_lib_dld_dld_link=yes
12548 ac_cv_lib_dld_dld_link=no
12550 rm -f core conftest.err conftest.$ac_objext \
12551 conftest$ac_exeext conftest.$ac_ext
12552 LIBS=$ac_check_lib_save_LIBS
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12555 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12556 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12557 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12578 if test no = "$lt_cv_dlopen"; then
12584 case $lt_cv_dlopen in
12586 save_CPPFLAGS=$CPPFLAGS
12587 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12589 save_LDFLAGS=$LDFLAGS
12590 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12593 LIBS="$lt_cv_dlopen_libs $LIBS"
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12596 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12597 if ${lt_cv_dlopen_self+:} false; then :
12598 $as_echo_n "(cached) " >&6
12600 if test yes = "$cross_compiling"; then :
12601 lt_cv_dlopen_self=cross
12603 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12604 lt_status=$lt_dlunknown
12605 cat > conftest.$ac_ext <<_LT_EOF
12606 #line $LINENO "configure"
12607 #include "confdefs.h"
12616 # define LT_DLGLOBAL RTLD_GLOBAL
12619 # define LT_DLGLOBAL DL_GLOBAL
12621 # define LT_DLGLOBAL 0
12625 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12626 find out it does not work in some platform. */
12627 #ifndef LT_DLLAZY_OR_NOW
12629 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12632 # define LT_DLLAZY_OR_NOW DL_LAZY
12635 # define LT_DLLAZY_OR_NOW RTLD_NOW
12638 # define LT_DLLAZY_OR_NOW DL_NOW
12640 # define LT_DLLAZY_OR_NOW 0
12647 /* When -fvisbility=hidden is used, assume the code has been annotated
12648 correspondingly for the symbols needed. */
12649 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12650 int fnord () __attribute__((visibility("default")));
12653 int fnord () { return 42; }
12656 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12657 int status = $lt_dlunknown;
12661 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12664 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12665 else puts (dlerror ());
12667 /* dlclose (self); */
12675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12676 (eval $ac_link) 2>&5
12678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12679 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12680 (./conftest; exit; ) >&5 2>/dev/null
12682 case x$lt_status in
12683 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12684 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12685 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12688 # compilation failed
12689 lt_cv_dlopen_self=no
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12697 $as_echo "$lt_cv_dlopen_self" >&6; }
12699 if test yes = "$lt_cv_dlopen_self"; then
12700 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12702 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12703 if ${lt_cv_dlopen_self_static+:} false; then :
12704 $as_echo_n "(cached) " >&6
12706 if test yes = "$cross_compiling"; then :
12707 lt_cv_dlopen_self_static=cross
12709 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12710 lt_status=$lt_dlunknown
12711 cat > conftest.$ac_ext <<_LT_EOF
12712 #line $LINENO "configure"
12713 #include "confdefs.h"
12722 # define LT_DLGLOBAL RTLD_GLOBAL
12725 # define LT_DLGLOBAL DL_GLOBAL
12727 # define LT_DLGLOBAL 0
12731 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12732 find out it does not work in some platform. */
12733 #ifndef LT_DLLAZY_OR_NOW
12735 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12738 # define LT_DLLAZY_OR_NOW DL_LAZY
12741 # define LT_DLLAZY_OR_NOW RTLD_NOW
12744 # define LT_DLLAZY_OR_NOW DL_NOW
12746 # define LT_DLLAZY_OR_NOW 0
12753 /* When -fvisbility=hidden is used, assume the code has been annotated
12754 correspondingly for the symbols needed. */
12755 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12756 int fnord () __attribute__((visibility("default")));
12759 int fnord () { return 42; }
12762 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12763 int status = $lt_dlunknown;
12767 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12770 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12771 else puts (dlerror ());
12773 /* dlclose (self); */
12781 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12782 (eval $ac_link) 2>&5
12784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12785 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12786 (./conftest; exit; ) >&5 2>/dev/null
12788 case x$lt_status in
12789 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12790 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12791 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12794 # compilation failed
12795 lt_cv_dlopen_self_static=no
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12803 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12806 CPPFLAGS=$save_CPPFLAGS
12807 LDFLAGS=$save_LDFLAGS
12812 case $lt_cv_dlopen_self in
12813 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12814 *) enable_dlopen_self=unknown ;;
12817 case $lt_cv_dlopen_self_static in
12818 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12819 *) enable_dlopen_self_static=unknown ;;
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12842 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12843 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12844 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12845 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12847 $as_echo "yes" >&6; }
12849 # FIXME - insert some real tests, host_os isn't really good enough
12852 if test -n "$STRIP"; then
12853 striplib="$STRIP -x"
12854 old_striplib="$STRIP -S"
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12856 $as_echo "yes" >&6; }
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12859 $as_echo "no" >&6; }
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 $as_echo "no" >&6; }
12880 # Report what library types will actually be built
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12882 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12884 $as_echo "$can_build_shared" >&6; }
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12887 $as_echo_n "checking whether to build shared libraries... " >&6; }
12888 test no = "$can_build_shared" && enable_shared=no
12890 # On AIX, shared libraries and static libraries use the same namespace, and
12891 # are all built from PIC.
12894 test yes = "$enable_shared" && enable_static=no
12895 if test -n "$RANLIB"; then
12896 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12897 postinstall_cmds='$RANLIB $lib'
12902 if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
12903 test yes = "$enable_shared" && enable_static=no
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12908 $as_echo "$enable_shared" >&6; }
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12911 $as_echo_n "checking whether to build static libraries... " >&6; }
12912 # Make sure either enable_shared or enable_static is yes.
12913 test yes = "$enable_shared" || enable_static=yes
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12915 $as_echo "$enable_static" >&6; }
12922 ac_cpp='$CPP $CPPFLAGS'
12923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12943 ac_config_commands="$ac_config_commands libtool"
12948 # Only expand once:
12954 # Check whether --with-pkgconfigdir was given.
12955 if test "${with_pkgconfigdir+set}" = set; then :
12956 withval=$with_pkgconfigdir;
12958 with_pkgconfigdir='${libdir}/pkgconfig'
12961 pkgconfigdir=$with_pkgconfigdir
12968 # /***********************************************************************
12969 # // Checks for header files
12970 # ************************************************************************/
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12974 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12975 if ${ac_cv_header_time+:} false; then :
12976 $as_echo_n "(cached) " >&6
12978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12980 #include <sys/types.h>
12981 #include <sys/time.h>
12987 if ((struct tm *) 0)
12993 if ac_fn_c_try_compile "$LINENO"; then :
12994 ac_cv_header_time=yes
12996 ac_cv_header_time=no
12998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
13001 $as_echo "$ac_cv_header_time" >&6; }
13002 if test $ac_cv_header_time = yes; then
13004 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
13008 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
13010 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13011 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13012 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13013 cat >>confdefs.h <<_ACEOF
13014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13022 if test "X$ac_cv_header_limits_h" != Xyes; then
13023 as_fn_error $? "<limits.h> header not found" "$LINENO" 5
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h is sane" >&5
13027 $as_echo_n "checking whether limits.h is sane... " >&6; }
13028 if ${mfx_cv_header_sane_limits_h+:} false; then :
13029 $as_echo_n "(cached) " >&6
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13033 #include <limits.h>
13034 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
13035 # if defined(__APPLE__) && defined(__GNUC__)
13036 # error "your preprocessor is broken - use compiler option -no-cpp-precomp"
13038 # include "your preprocessor is broken"
13041 #define MFX_0xffff 0xffff
13042 #define MFX_0xffffffffL 4294967295ul
13043 #if !defined(CHAR_BIT) || (CHAR_BIT != 8)
13044 # include "error CHAR_BIT"
13046 #if !defined(UCHAR_MAX)
13047 # include "error UCHAR_MAX 1"
13049 #if !defined(USHRT_MAX)
13050 # include "error USHRT_MAX 1"
13052 #if !defined(UINT_MAX)
13053 # include "error UINT_MAX 1"
13055 #if !defined(ULONG_MAX)
13056 # include "error ULONG_MAX 1"
13058 #if !defined(SHRT_MAX)
13059 # include "error SHRT_MAX 1"
13061 #if !defined(INT_MAX)
13062 # include "error INT_MAX 1"
13064 #if !defined(LONG_MAX)
13065 # include "error LONG_MAX 1"
13067 #if (UCHAR_MAX < 1)
13068 # include "error UCHAR_MAX 2"
13070 #if (USHRT_MAX < 1)
13071 # include "error USHRT_MAX 2"
13074 # include "error UINT_MAX 2"
13076 #if (ULONG_MAX < 1)
13077 # include "error ULONG_MAX 2"
13079 #if (UCHAR_MAX < 0xff)
13080 # include "error UCHAR_MAX 3"
13082 #if (USHRT_MAX < MFX_0xffff)
13083 # include "error USHRT_MAX 3"
13085 #if (UINT_MAX < MFX_0xffff)
13086 # include "error UINT_MAX 3"
13088 #if (ULONG_MAX < MFX_0xffffffffL)
13089 # include "error ULONG_MAX 3"
13091 #if (USHRT_MAX > UINT_MAX)
13092 # include "error USHRT_MAX vs UINT_MAX"
13094 #if (UINT_MAX > ULONG_MAX)
13095 # include "error UINT_MAX vs ULONG_MAX"
13102 #if (USHRT_MAX == MFX_0xffff)
13103 { typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; }
13104 #elif (USHRT_MAX >= MFX_0xffff)
13105 { typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; }
13107 #if (UINT_MAX == MFX_0xffff)
13108 { typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; }
13109 #elif (UINT_MAX >= MFX_0xffff)
13110 { typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; }
13112 #if (ULONG_MAX == MFX_0xffff)
13113 { typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; }
13114 #elif (ULONG_MAX >= MFX_0xffff)
13115 { typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; }
13117 #if !defined(_CRAY1) /* CRAY PVP systems */
13118 #if (USHRT_MAX == MFX_0xffffffffL)
13119 { typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; }
13120 #elif (USHRT_MAX >= MFX_0xffffffffL)
13121 { typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; }
13123 #endif /* _CRAY1 */
13124 #if (UINT_MAX == MFX_0xffffffffL)
13125 { typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; }
13126 #elif (UINT_MAX >= MFX_0xffffffffL)
13127 { typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; }
13129 #if (ULONG_MAX == MFX_0xffffffffL)
13130 { typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; }
13131 #elif (ULONG_MAX >= MFX_0xffffffffL)
13132 { typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; }
13139 if ac_fn_c_try_compile "$LINENO"; then :
13140 mfx_cv_header_sane_limits_h=yes
13142 mfx_cv_header_sane_limits_h=no
13144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_cv_header_sane_limits_h" >&5
13147 $as_echo "$mfx_cv_header_sane_limits_h" >&6; }
13149 if test "X$mfx_cv_header_sane_limits_h" != Xyes; then
13150 as_fn_error $? "your <limits.h> header is broken - for details see config.log" "$LINENO" 5
13154 # /***********************************************************************
13155 # // Checks for typedefs and structures
13156 # ************************************************************************/
13158 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13159 if test "x$ac_cv_type_off_t" = xyes; then :
13163 cat >>confdefs.h <<_ACEOF
13164 #define off_t long int
13169 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
13170 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
13174 cat >>confdefs.h <<_ACEOF
13175 #define ptrdiff_t long
13180 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13181 if test "x$ac_cv_type_size_t" = xyes; then :
13185 cat >>confdefs.h <<_ACEOF
13186 #define size_t unsigned int
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
13192 $as_echo_n "checking return type of signal handlers... " >&6; }
13193 if ${ac_cv_type_signal+:} false; then :
13194 $as_echo_n "(cached) " >&6
13196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13198 #include <sys/types.h>
13199 #include <signal.h>
13204 return *(signal (0, 0)) (0) == 1;
13209 if ac_fn_c_try_compile "$LINENO"; then :
13210 ac_cv_type_signal=int
13212 ac_cv_type_signal=void
13214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
13217 $as_echo "$ac_cv_type_signal" >&6; }
13219 cat >>confdefs.h <<_ACEOF
13220 #define RETSIGTYPE $ac_cv_type_signal
13226 # The cast to long int works around a bug in the HP C Compiler
13227 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13228 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13229 # This bug is HP SR number 8606223364.
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13231 $as_echo_n "checking size of short... " >&6; }
13232 if ${ac_cv_sizeof_short+:} false; then :
13233 $as_echo_n "(cached) " >&6
13235 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13238 if test "$ac_cv_type_short" = yes; then
13239 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13241 as_fn_error 77 "cannot compute sizeof (short)
13242 See \`config.log' for more details" "$LINENO" 5; }
13244 ac_cv_sizeof_short=0
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13250 $as_echo "$ac_cv_sizeof_short" >&6; }
13254 cat >>confdefs.h <<_ACEOF
13255 #define SIZEOF_SHORT $ac_cv_sizeof_short
13259 # The cast to long int works around a bug in the HP C Compiler
13260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13262 # This bug is HP SR number 8606223364.
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13264 $as_echo_n "checking size of int... " >&6; }
13265 if ${ac_cv_sizeof_int+:} false; then :
13266 $as_echo_n "(cached) " >&6
13268 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13271 if test "$ac_cv_type_int" = yes; then
13272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13274 as_fn_error 77 "cannot compute sizeof (int)
13275 See \`config.log' for more details" "$LINENO" 5; }
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13283 $as_echo "$ac_cv_sizeof_int" >&6; }
13287 cat >>confdefs.h <<_ACEOF
13288 #define SIZEOF_INT $ac_cv_sizeof_int
13292 # The cast to long int works around a bug in the HP C Compiler
13293 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13294 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13295 # This bug is HP SR number 8606223364.
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13297 $as_echo_n "checking size of long... " >&6; }
13298 if ${ac_cv_sizeof_long+:} false; then :
13299 $as_echo_n "(cached) " >&6
13301 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13304 if test "$ac_cv_type_long" = yes; then
13305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13307 as_fn_error 77 "cannot compute sizeof (long)
13308 See \`config.log' for more details" "$LINENO" 5; }
13310 ac_cv_sizeof_long=0
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13316 $as_echo "$ac_cv_sizeof_long" >&6; }
13320 cat >>confdefs.h <<_ACEOF
13321 #define SIZEOF_LONG $ac_cv_sizeof_long
13326 # The cast to long int works around a bug in the HP C Compiler
13327 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13328 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13329 # This bug is HP SR number 8606223364.
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
13331 $as_echo_n "checking size of long long... " >&6; }
13332 if ${ac_cv_sizeof_long_long+:} false; then :
13333 $as_echo_n "(cached) " >&6
13335 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
13338 if test "$ac_cv_type_long_long" = yes; then
13339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13341 as_fn_error 77 "cannot compute sizeof (long long)
13342 See \`config.log' for more details" "$LINENO" 5; }
13344 ac_cv_sizeof_long_long=0
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
13350 $as_echo "$ac_cv_sizeof_long_long" >&6; }
13354 cat >>confdefs.h <<_ACEOF
13355 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13359 # The cast to long int works around a bug in the HP C Compiler
13360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13362 # This bug is HP SR number 8606223364.
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int16" >&5
13364 $as_echo_n "checking size of __int16... " >&6; }
13365 if ${ac_cv_sizeof___int16+:} false; then :
13366 $as_echo_n "(cached) " >&6
13368 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int16))" "ac_cv_sizeof___int16" "$ac_includes_default"; then :
13371 if test "$ac_cv_type___int16" = yes; then
13372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13374 as_fn_error 77 "cannot compute sizeof (__int16)
13375 See \`config.log' for more details" "$LINENO" 5; }
13377 ac_cv_sizeof___int16=0
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int16" >&5
13383 $as_echo "$ac_cv_sizeof___int16" >&6; }
13387 cat >>confdefs.h <<_ACEOF
13388 #define SIZEOF___INT16 $ac_cv_sizeof___int16
13392 # The cast to long int works around a bug in the HP C Compiler
13393 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13394 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13395 # This bug is HP SR number 8606223364.
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
13397 $as_echo_n "checking size of __int32... " >&6; }
13398 if ${ac_cv_sizeof___int32+:} false; then :
13399 $as_echo_n "(cached) " >&6
13401 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
13404 if test "$ac_cv_type___int32" = yes; then
13405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13407 as_fn_error 77 "cannot compute sizeof (__int32)
13408 See \`config.log' for more details" "$LINENO" 5; }
13410 ac_cv_sizeof___int32=0
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
13416 $as_echo "$ac_cv_sizeof___int32" >&6; }
13420 cat >>confdefs.h <<_ACEOF
13421 #define SIZEOF___INT32 $ac_cv_sizeof___int32
13425 # The cast to long int works around a bug in the HP C Compiler
13426 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13427 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13428 # This bug is HP SR number 8606223364.
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
13430 $as_echo_n "checking size of __int64... " >&6; }
13431 if ${ac_cv_sizeof___int64+:} false; then :
13432 $as_echo_n "(cached) " >&6
13434 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64" "$ac_includes_default"; then :
13437 if test "$ac_cv_type___int64" = yes; then
13438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13440 as_fn_error 77 "cannot compute sizeof (__int64)
13441 See \`config.log' for more details" "$LINENO" 5; }
13443 ac_cv_sizeof___int64=0
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
13449 $as_echo "$ac_cv_sizeof___int64" >&6; }
13453 cat >>confdefs.h <<_ACEOF
13454 #define SIZEOF___INT64 $ac_cv_sizeof___int64
13459 # The cast to long int works around a bug in the HP C Compiler
13460 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13461 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13462 # This bug is HP SR number 8606223364.
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13464 $as_echo_n "checking size of void *... " >&6; }
13465 if ${ac_cv_sizeof_void_p+:} false; then :
13466 $as_echo_n "(cached) " >&6
13468 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13471 if test "$ac_cv_type_void_p" = yes; then
13472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13474 as_fn_error 77 "cannot compute sizeof (void *)
13475 See \`config.log' for more details" "$LINENO" 5; }
13477 ac_cv_sizeof_void_p=0
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13483 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13487 cat >>confdefs.h <<_ACEOF
13488 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13492 # The cast to long int works around a bug in the HP C Compiler
13493 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13494 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13495 # This bug is HP SR number 8606223364.
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
13497 $as_echo_n "checking size of size_t... " >&6; }
13498 if ${ac_cv_sizeof_size_t+:} false; then :
13499 $as_echo_n "(cached) " >&6
13501 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
13504 if test "$ac_cv_type_size_t" = yes; then
13505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13507 as_fn_error 77 "cannot compute sizeof (size_t)
13508 See \`config.log' for more details" "$LINENO" 5; }
13510 ac_cv_sizeof_size_t=0
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
13516 $as_echo "$ac_cv_sizeof_size_t" >&6; }
13520 cat >>confdefs.h <<_ACEOF
13521 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
13525 # The cast to long int works around a bug in the HP C Compiler
13526 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13527 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13528 # This bug is HP SR number 8606223364.
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
13530 $as_echo_n "checking size of ptrdiff_t... " >&6; }
13531 if ${ac_cv_sizeof_ptrdiff_t+:} false; then :
13532 $as_echo_n "(cached) " >&6
13534 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t" "$ac_includes_default"; then :
13537 if test "$ac_cv_type_ptrdiff_t" = yes; then
13538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13540 as_fn_error 77 "cannot compute sizeof (ptrdiff_t)
13541 See \`config.log' for more details" "$LINENO" 5; }
13543 ac_cv_sizeof_ptrdiff_t=0
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
13549 $as_echo "$ac_cv_sizeof_ptrdiff_t" >&6; }
13553 cat >>confdefs.h <<_ACEOF
13554 #define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
13560 # The cast to long int works around a bug in the HP C Compiler
13561 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13562 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13563 # This bug is HP SR number 8606223364.
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
13565 $as_echo_n "checking size of __int32... " >&6; }
13566 if ${ac_cv_sizeof___int32+:} false; then :
13567 $as_echo_n "(cached) " >&6
13569 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
13572 if test "$ac_cv_type___int32" = yes; then
13573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13575 as_fn_error 77 "cannot compute sizeof (__int32)
13576 See \`config.log' for more details" "$LINENO" 5; }
13578 ac_cv_sizeof___int32=0
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
13584 $as_echo "$ac_cv_sizeof___int32" >&6; }
13588 cat >>confdefs.h <<_ACEOF
13589 #define SIZEOF___INT32 $ac_cv_sizeof___int32
13593 # The cast to long int works around a bug in the HP C Compiler
13594 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13595 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13596 # This bug is HP SR number 8606223364.
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5
13598 $as_echo_n "checking size of intmax_t... " >&6; }
13599 if ${ac_cv_sizeof_intmax_t+:} false; then :
13600 $as_echo_n "(cached) " >&6
13602 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default"; then :
13605 if test "$ac_cv_type_intmax_t" = yes; then
13606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13608 as_fn_error 77 "cannot compute sizeof (intmax_t)
13609 See \`config.log' for more details" "$LINENO" 5; }
13611 ac_cv_sizeof_intmax_t=0
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5
13617 $as_echo "$ac_cv_sizeof_intmax_t" >&6; }
13621 cat >>confdefs.h <<_ACEOF
13622 #define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
13626 # The cast to long int works around a bug in the HP C Compiler
13627 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13628 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13629 # This bug is HP SR number 8606223364.
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintmax_t" >&5
13631 $as_echo_n "checking size of uintmax_t... " >&6; }
13632 if ${ac_cv_sizeof_uintmax_t+:} false; then :
13633 $as_echo_n "(cached) " >&6
13635 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintmax_t))" "ac_cv_sizeof_uintmax_t" "$ac_includes_default"; then :
13638 if test "$ac_cv_type_uintmax_t" = yes; then
13639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13641 as_fn_error 77 "cannot compute sizeof (uintmax_t)
13642 See \`config.log' for more details" "$LINENO" 5; }
13644 ac_cv_sizeof_uintmax_t=0
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintmax_t" >&5
13650 $as_echo "$ac_cv_sizeof_uintmax_t" >&6; }
13654 cat >>confdefs.h <<_ACEOF
13655 #define SIZEOF_UINTMAX_T $ac_cv_sizeof_uintmax_t
13659 # The cast to long int works around a bug in the HP C Compiler
13660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13662 # This bug is HP SR number 8606223364.
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intptr_t" >&5
13664 $as_echo_n "checking size of intptr_t... " >&6; }
13665 if ${ac_cv_sizeof_intptr_t+:} false; then :
13666 $as_echo_n "(cached) " >&6
13668 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intptr_t))" "ac_cv_sizeof_intptr_t" "$ac_includes_default"; then :
13671 if test "$ac_cv_type_intptr_t" = yes; then
13672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13674 as_fn_error 77 "cannot compute sizeof (intptr_t)
13675 See \`config.log' for more details" "$LINENO" 5; }
13677 ac_cv_sizeof_intptr_t=0
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intptr_t" >&5
13683 $as_echo "$ac_cv_sizeof_intptr_t" >&6; }
13687 cat >>confdefs.h <<_ACEOF
13688 #define SIZEOF_INTPTR_T $ac_cv_sizeof_intptr_t
13692 # The cast to long int works around a bug in the HP C Compiler
13693 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13694 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13695 # This bug is HP SR number 8606223364.
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
13697 $as_echo_n "checking size of uintptr_t... " >&6; }
13698 if ${ac_cv_sizeof_uintptr_t+:} false; then :
13699 $as_echo_n "(cached) " >&6
13701 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintptr_t))" "ac_cv_sizeof_uintptr_t" "$ac_includes_default"; then :
13704 if test "$ac_cv_type_uintptr_t" = yes; then
13705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13707 as_fn_error 77 "cannot compute sizeof (uintptr_t)
13708 See \`config.log' for more details" "$LINENO" 5; }
13710 ac_cv_sizeof_uintptr_t=0
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
13716 $as_echo "$ac_cv_sizeof_uintptr_t" >&6; }
13720 cat >>confdefs.h <<_ACEOF
13721 #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t
13726 # The cast to long int works around a bug in the HP C Compiler
13727 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13728 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13729 # This bug is HP SR number 8606223364.
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
13731 $as_echo_n "checking size of float... " >&6; }
13732 if ${ac_cv_sizeof_float+:} false; then :
13733 $as_echo_n "(cached) " >&6
13735 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
13738 if test "$ac_cv_type_float" = yes; then
13739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13741 as_fn_error 77 "cannot compute sizeof (float)
13742 See \`config.log' for more details" "$LINENO" 5; }
13744 ac_cv_sizeof_float=0
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
13750 $as_echo "$ac_cv_sizeof_float" >&6; }
13754 cat >>confdefs.h <<_ACEOF
13755 #define SIZEOF_FLOAT $ac_cv_sizeof_float
13759 # The cast to long int works around a bug in the HP C Compiler
13760 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13761 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13762 # This bug is HP SR number 8606223364.
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
13764 $as_echo_n "checking size of double... " >&6; }
13765 if ${ac_cv_sizeof_double+:} false; then :
13766 $as_echo_n "(cached) " >&6
13768 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
13771 if test "$ac_cv_type_double" = yes; then
13772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13774 as_fn_error 77 "cannot compute sizeof (double)
13775 See \`config.log' for more details" "$LINENO" 5; }
13777 ac_cv_sizeof_double=0
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
13783 $as_echo "$ac_cv_sizeof_double" >&6; }
13787 cat >>confdefs.h <<_ACEOF
13788 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
13792 # The cast to long int works around a bug in the HP C Compiler
13793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13795 # This bug is HP SR number 8606223364.
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
13797 $as_echo_n "checking size of long double... " >&6; }
13798 if ${ac_cv_sizeof_long_double+:} false; then :
13799 $as_echo_n "(cached) " >&6
13801 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
13804 if test "$ac_cv_type_long_double" = yes; then
13805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13807 as_fn_error 77 "cannot compute sizeof (long double)
13808 See \`config.log' for more details" "$LINENO" 5; }
13810 ac_cv_sizeof_long_double=0
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
13816 $as_echo "$ac_cv_sizeof_long_double" >&6; }
13820 cat >>confdefs.h <<_ACEOF
13821 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
13826 # The cast to long int works around a bug in the HP C Compiler
13827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13829 # This bug is HP SR number 8606223364.
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of dev_t" >&5
13831 $as_echo_n "checking size of dev_t... " >&6; }
13832 if ${ac_cv_sizeof_dev_t+:} false; then :
13833 $as_echo_n "(cached) " >&6
13835 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (dev_t))" "ac_cv_sizeof_dev_t" "$ac_includes_default"; then :
13838 if test "$ac_cv_type_dev_t" = yes; then
13839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13841 as_fn_error 77 "cannot compute sizeof (dev_t)
13842 See \`config.log' for more details" "$LINENO" 5; }
13844 ac_cv_sizeof_dev_t=0
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_dev_t" >&5
13850 $as_echo "$ac_cv_sizeof_dev_t" >&6; }
13854 cat >>confdefs.h <<_ACEOF
13855 #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t
13859 # The cast to long int works around a bug in the HP C Compiler
13860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13862 # This bug is HP SR number 8606223364.
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
13864 $as_echo_n "checking size of fpos_t... " >&6; }
13865 if ${ac_cv_sizeof_fpos_t+:} false; then :
13866 $as_echo_n "(cached) " >&6
13868 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (fpos_t))" "ac_cv_sizeof_fpos_t" "$ac_includes_default"; then :
13871 if test "$ac_cv_type_fpos_t" = yes; then
13872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13874 as_fn_error 77 "cannot compute sizeof (fpos_t)
13875 See \`config.log' for more details" "$LINENO" 5; }
13877 ac_cv_sizeof_fpos_t=0
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
13883 $as_echo "$ac_cv_sizeof_fpos_t" >&6; }
13887 cat >>confdefs.h <<_ACEOF
13888 #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
13892 # The cast to long int works around a bug in the HP C Compiler
13893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13894 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13895 # This bug is HP SR number 8606223364.
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of mode_t" >&5
13897 $as_echo_n "checking size of mode_t... " >&6; }
13898 if ${ac_cv_sizeof_mode_t+:} false; then :
13899 $as_echo_n "(cached) " >&6
13901 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (mode_t))" "ac_cv_sizeof_mode_t" "$ac_includes_default"; then :
13904 if test "$ac_cv_type_mode_t" = yes; then
13905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13907 as_fn_error 77 "cannot compute sizeof (mode_t)
13908 See \`config.log' for more details" "$LINENO" 5; }
13910 ac_cv_sizeof_mode_t=0
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_mode_t" >&5
13916 $as_echo "$ac_cv_sizeof_mode_t" >&6; }
13920 cat >>confdefs.h <<_ACEOF
13921 #define SIZEOF_MODE_T $ac_cv_sizeof_mode_t
13925 # The cast to long int works around a bug in the HP C Compiler
13926 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13927 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13928 # This bug is HP SR number 8606223364.
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
13930 $as_echo_n "checking size of off_t... " >&6; }
13931 if ${ac_cv_sizeof_off_t+:} false; then :
13932 $as_echo_n "(cached) " >&6
13934 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
13937 if test "$ac_cv_type_off_t" = yes; then
13938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13940 as_fn_error 77 "cannot compute sizeof (off_t)
13941 See \`config.log' for more details" "$LINENO" 5; }
13943 ac_cv_sizeof_off_t=0
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
13949 $as_echo "$ac_cv_sizeof_off_t" >&6; }
13953 cat >>confdefs.h <<_ACEOF
13954 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
13958 # The cast to long int works around a bug in the HP C Compiler
13959 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13960 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13961 # This bug is HP SR number 8606223364.
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5
13963 $as_echo_n "checking size of ssize_t... " >&6; }
13964 if ${ac_cv_sizeof_ssize_t+:} false; then :
13965 $as_echo_n "(cached) " >&6
13967 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ssize_t))" "ac_cv_sizeof_ssize_t" "$ac_includes_default"; then :
13970 if test "$ac_cv_type_ssize_t" = yes; then
13971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13973 as_fn_error 77 "cannot compute sizeof (ssize_t)
13974 See \`config.log' for more details" "$LINENO" 5; }
13976 ac_cv_sizeof_ssize_t=0
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ssize_t" >&5
13982 $as_echo "$ac_cv_sizeof_ssize_t" >&6; }
13986 cat >>confdefs.h <<_ACEOF
13987 #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
13991 # The cast to long int works around a bug in the HP C Compiler
13992 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13993 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13994 # This bug is HP SR number 8606223364.
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
13996 $as_echo_n "checking size of time_t... " >&6; }
13997 if ${ac_cv_sizeof_time_t+:} false; then :
13998 $as_echo_n "(cached) " >&6
14000 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
14003 if test "$ac_cv_type_time_t" = yes; then
14004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14006 as_fn_error 77 "cannot compute sizeof (time_t)
14007 See \`config.log' for more details" "$LINENO" 5; }
14009 ac_cv_sizeof_time_t=0
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
14015 $as_echo "$ac_cv_sizeof_time_t" >&6; }
14019 cat >>confdefs.h <<_ACEOF
14020 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
14027 # /***********************************************************************
14028 # // Checks for library functions
14029 # ************************************************************************/
14032 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
14034 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14035 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14036 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14037 cat >>confdefs.h <<_ACEOF
14038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14046 if test "X$GCC" = Xyes; then
14048 cygwin* | mingw* | pw32*)
14049 test "X$LIBS" != "X" && LIBS="$LIBS "
14050 LIBS="${LIBS}-lwinmm" ;;
14056 # /***********************************************************************
14057 # // Checks for assembler
14058 # ************************************************************************/
14060 # Check whether --enable-asm was given.
14061 if test "${enable_asm+set}" = set; then :
14062 enableval=$enable_asm;
14071 case "$host_cpu-$ac_cv_sizeof_void_p" in
14072 amd64-8 | x86_64-8) asm_arch="amd64"; asm_dir="asm/amd64/src_gas/elf64"; asm_mode="amd64_src_gas_elf64" ;;
14073 i?86-4) asm_arch="i386"; asm_dir="asm/i386/src_gas"; asm_mode="i386_src_gas" ;;
14074 *) enable_asm=no ;;
14076 LZO_USE_ASM_i386_src_gas=no
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build assembly versions" >&5
14079 $as_echo_n "checking whether to build assembly versions... " >&6; }
14080 if test "X$enable_asm" != Xno; then
14081 mfx_compile_S='${CCAS} ${CCASFLAGS} -c conftest.S 1>&5'
14082 cat > conftest.S <<EOF
14083 #if !defined(__i386__) && !defined(__i386)
14087 #include "$ac_abs_top_srcdir/$asm_dir/lzo1x_f1.S"
14090 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mfx_compile_S\""; } >&5
14091 (eval $mfx_compile_S) 2>&5
14093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14094 test $ac_status = 0; }; then
14095 if { ac_try='test -s conftest.$ac_objext'
14096 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14097 (eval $ac_try) 2>&5
14099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14100 test $ac_status = 0; }; }; then
14102 eval asm_msg_$asm_arch="'yes [$asm_dir]'"
14103 eval LZO_USE_ASM_$asm_mode=yes
14106 if test "X$enable_asm" = Xno; then
14107 echo "configure: failed program was:" >&5
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_asm" >&5
14113 $as_echo "$enable_asm" >&6; }
14115 if test "X$LZO_USE_ASM_i386_src_gas" != Xno; then
14116 LZO_USE_ASM_i386_src_gas_TRUE=
14117 LZO_USE_ASM_i386_src_gas_FALSE='#'
14119 LZO_USE_ASM_i386_src_gas_TRUE='#'
14120 LZO_USE_ASM_i386_src_gas_FALSE=
14124 LZO_USE_ASM_i386_obj_elf32_TRUE=
14125 LZO_USE_ASM_i386_obj_elf32_FALSE='#'
14127 LZO_USE_ASM_i386_obj_elf32_TRUE='#'
14128 LZO_USE_ASM_i386_obj_elf32_FALSE=
14133 # /***********************************************************************
14134 # // Write output files
14135 # ************************************************************************/
14138 mfx_tmp="-I$srcdir/include -I$srcdir"
14139 mfx_save_CPPFLAGS=$CPPFLAGS
14140 test "X$mfx_tmp" = "X" || CPPFLAGS="$mfx_tmp $CPPFLAGS"
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether your compiler passes the LZO conformance test" >&5
14143 $as_echo_n "checking whether your compiler passes the LZO conformance test... " >&6; }
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14147 #include <limits.h>
14148 #include <stddef.h>
14149 #define LZO_CFG_NO_CONFIG_HEADER 1
14150 #define LZO_WANT_ACC_INCD_H 1
14151 #include <lzo/lzoconf.h>
14152 #include <src/lzo_supp.h>
14154 #undef LZOCHK_ASSERT
14155 #define LZOCHK_ASSERT(expr) LZO_COMPILE_TIME_ASSERT_HEADER(expr)
14156 #define LZO_WANT_ACC_CHK_CH 1
14157 #include <src/lzo_supp.h>
14159 #undef LZOCHK_ASSERT
14160 #define LZOCHK_ASSERT(expr) LZO_COMPILE_TIME_ASSERT(expr)
14161 static void test_lzo_compile_time_assert(void) {
14162 #define LZO_WANT_ACC_CHK_CH 1
14163 #include <src/lzo_supp.h>
14167 #include <assert.h>
14168 #undef LZOCHK_ASSERT
14169 #define LZOCHK_ASSERT(expr) assert(expr);
14170 static int test_lzo_run_time_assert(int r) {
14171 #define LZO_WANT_ACC_CHK_CH 1
14172 #include <src/lzo_supp.h>
14180 test_lzo_compile_time_assert();
14181 if (test_lzo_run_time_assert(1) != 1) return 1;
14190 if ac_fn_c_try_compile "$LINENO"; then :
14193 rm -f core conftest.err conftest.$ac_objext
14194 rm -f conftest.$ac_ext conftest.$ac_objext
14196 CPPFLAGS=$mfx_save_CPPFLAGS
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
14199 $as_echo "$mfx_tmp" >&6; }
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14204 $as_echo "$as_me: " >&6;}
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: Your compiler failed the LZO conformance test - for details see " >&5
14206 $as_echo "$as_me: Your compiler failed the LZO conformance test - for details see " >&6;}
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: \`config.log'. Please check that log file and consider sending" >&5
14208 $as_echo "$as_me: \`config.log'. Please check that log file and consider sending" >&6;}
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&5
14210 $as_echo "$as_me: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&6;}
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: Thanks for your support." >&5
14212 $as_echo "$as_me: Thanks for your support." >&6;}
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14214 $as_echo "$as_me: " >&6;}
14215 as_fn_error $? "LZO conformance test failed. Stop." "$LINENO" 5
14220 if test -r .Conf.settings2; then
14221 . ./.Conf.settings2
14224 my_DEFS="-DLZO_HAVE_CONFIG_H=1"
14225 if test "X$enable_asm" != Xno; then
14226 my_DEFS="$my_DEFS -DLZO_USE_ASM=1"
14230 ac_config_files="$ac_config_files Makefile lzo2.pc"
14232 cat >confcache <<\_ACEOF
14233 # This file is a shell script that caches the results of configure
14234 # tests run on this system so they can be shared between configure
14235 # scripts and configure runs, see configure's option --config-cache.
14236 # It is not useful on other systems. If it contains results you don't
14237 # want to keep, you may remove or edit it.
14239 # config.status only pays attention to the cache file if you give it
14240 # the --recheck option to rerun configure.
14242 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14243 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14244 # following values.
14248 # The following way of writing the cache mishandles newlines in values,
14249 # but we know of no workaround that is simple, portable, and efficient.
14250 # So, we kill variables containing newlines.
14251 # Ultrix sh set writes to stderr and can't be redirected directly,
14252 # and sets the high bit in the cache file unless we assign to the vars.
14254 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14255 eval ac_val=\$$ac_var
14259 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14260 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14263 _ | IFS | as_nl) ;; #(
14264 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14265 *) { eval $ac_var=; unset $ac_var;} ;;
14271 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14272 *${as_nl}ac_space=\ *)
14273 # `set' does not quote correctly, so add quotes: double-quote
14274 # substitution turns \\\\ into \\, and sed turns \\ into \.
14277 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14280 # `set' quotes correctly as required by POSIX, so do not add quotes.
14281 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14290 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14292 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14294 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14295 if test -w "$cache_file"; then
14296 if test "x$cache_file" != "x/dev/null"; then
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14298 $as_echo "$as_me: updating cache $cache_file" >&6;}
14299 if test ! -f "$cache_file" || test -h "$cache_file"; then
14300 cat confcache >"$cache_file"
14302 case $cache_file in #(
14304 mv -f confcache "$cache_file"$$ &&
14305 mv -f "$cache_file"$$ "$cache_file" ;; #(
14307 mv -f confcache "$cache_file" ;;
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14313 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14318 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14319 # Let make expand exec_prefix.
14320 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14322 DEFS=-DHAVE_CONFIG_H
14327 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14328 # 1. Remove the extension, and $U if already installed.
14329 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14330 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14331 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14332 # will be set to the directory where LIBOBJS objects are built.
14333 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14334 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14336 LIBOBJS=$ac_libobjs
14338 LTLIBOBJS=$ac_ltlibobjs
14341 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14342 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14345 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14346 as_fn_error $? "conditional \"AMDEP\" was never defined.
14347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14349 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14350 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
14351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14355 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14356 if test -n "$am_sleep_pid"; then
14357 # Hide warnings about reused PIDs.
14358 wait $am_sleep_pid 2>/dev/null
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14361 $as_echo "done" >&6; }
14362 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14363 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14366 if test -n "$EXEEXT"; then
14368 am__EXEEXT_FALSE='#'
14370 am__EXEEXT_TRUE='#'
14374 if test -z "${LZO_USE_ASM_i386_src_gas_TRUE}" && test -z "${LZO_USE_ASM_i386_src_gas_FALSE}"; then
14375 as_fn_error $? "conditional \"LZO_USE_ASM_i386_src_gas\" was never defined.
14376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14378 if test -z "${LZO_USE_ASM_i386_obj_elf32_TRUE}" && test -z "${LZO_USE_ASM_i386_obj_elf32_FALSE}"; then
14379 as_fn_error $? "conditional \"LZO_USE_ASM_i386_obj_elf32\" was never defined.
14380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14383 test "X$DEFS" = "X-DHAVE_CONFIG_H" && DEFS=
14384 test "X$DEFS" != "X" && DEFS="$DEFS "
14385 DEFS="${DEFS}${my_DEFS}"
14388 : "${CONFIG_STATUS=./config.status}"
14390 ac_clean_files_save=$ac_clean_files
14391 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14393 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14395 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14397 # Generated by $as_me.
14398 # Run this file to recreate the current configuration.
14399 # Compiler output produced by configure, useful for debugging
14400 # configure, is in config.log if it exists.
14403 ac_cs_recheck=false
14406 SHELL=\${CONFIG_SHELL-$SHELL}
14409 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14410 ## -------------------- ##
14411 ## M4sh Initialization. ##
14412 ## -------------------- ##
14414 # Be more Bourne compatible
14415 DUALCASE=1; export DUALCASE # for MKS sh
14416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14419 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14420 # is contrary to our usage. Disable this feature.
14421 alias -g '${1+"$@"}'='"$@"'
14422 setopt NO_GLOB_SUBST
14424 case `(set -o) 2>/dev/null` in #(
14436 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14437 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14438 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14439 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14440 # Prefer a ksh shell builtin over an external printf program on Solaris,
14441 # but without wasting forks for bash or zsh.
14442 if test -z "$BASH_VERSION$ZSH_VERSION" \
14443 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14444 as_echo='print -r --'
14445 as_echo_n='print -rn --'
14446 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14447 as_echo='printf %s\n'
14448 as_echo_n='printf %s'
14450 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14451 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14452 as_echo_n='/usr/ucb/echo -n'
14454 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14455 as_echo_n_body='eval
14459 expr "X$arg" : "X\\(.*\\)$as_nl";
14460 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14462 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14464 export as_echo_n_body
14465 as_echo_n='sh -c $as_echo_n_body as_echo'
14467 export as_echo_body
14468 as_echo='sh -c $as_echo_body as_echo'
14471 # The user is always right.
14472 if test "${PATH_SEPARATOR+set}" != set; then
14474 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14475 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14482 # We need space, tab and new line, in precisely that order. Quoting is
14483 # there to prevent editors from complaining about space-tab.
14484 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14485 # splitting by setting IFS to empty value.)
14488 # Find who we are. Look in the path if we contain no directory separator.
14491 *[\\/]* ) as_myself=$0 ;;
14492 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14493 for as_dir in $PATH
14496 test -z "$as_dir" && as_dir=.
14497 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14503 # We did not find ourselves, most probably we were run as `sh COMMAND'
14504 # in which case we are not to be found in the path.
14505 if test "x$as_myself" = x; then
14508 if test ! -f "$as_myself"; then
14509 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14513 # Unset variables that we do not need and which cause bugs (e.g. in
14514 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14515 # suppresses any "Segmentation fault" message there. '((' could
14516 # trigger a bug in pdksh 5.2.14.
14517 for as_var in BASH_ENV ENV MAIL MAILPATH
14518 do eval test x\${$as_var+set} = xset \
14519 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14532 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14535 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14536 # ----------------------------------------
14537 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14538 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14539 # script with STATUS, using 1 if that was 0.
14542 as_status=$1; test $as_status -eq 0 && as_status=1
14544 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14545 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14547 $as_echo "$as_me: error: $2" >&2
14548 as_fn_exit $as_status
14552 # as_fn_set_status STATUS
14553 # -----------------------
14554 # Set $? to STATUS, without forking.
14555 as_fn_set_status ()
14558 } # as_fn_set_status
14560 # as_fn_exit STATUS
14561 # -----------------
14562 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14566 as_fn_set_status $1
14572 # Portably unset VAR.
14575 { eval $1=; unset $1;}
14577 as_unset=as_fn_unset
14578 # as_fn_append VAR VALUE
14579 # ----------------------
14580 # Append the text in VALUE to the end of the definition contained in VAR. Take
14581 # advantage of any shell optimizations that allow amortized linear growth over
14582 # repeated appends, instead of the typical quadratic growth present in naive
14584 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14585 eval 'as_fn_append ()
14596 # as_fn_arith ARG...
14597 # ------------------
14598 # Perform arithmetic evaluation on the ARGs, and store the result in the
14599 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14600 # must be portable across $(()) and expr.
14601 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14602 eval 'as_fn_arith ()
14609 as_val=`expr "$@" || test $? -eq 1`
14614 if expr a : '\(a\)' >/dev/null 2>&1 &&
14615 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14621 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14622 as_basename=basename
14627 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14633 as_me=`$as_basename -- "$0" ||
14634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14635 X"$0" : 'X\(//\)$' \| \
14636 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14638 sed '/^.*\/\([^/][^/]*\)\/*$/{
14652 # Avoid depending upon Character Ranges.
14653 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14654 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14655 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14656 as_cr_digits='0123456789'
14657 as_cr_alnum=$as_cr_Letters$as_cr_digits
14659 ECHO_C= ECHO_N= ECHO_T=
14660 case `echo -n x` in #(((((
14662 case `echo 'xy\c'` in
14663 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14665 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14672 rm -f conf$$ conf$$.exe conf$$.file
14673 if test -d conf$$.dir; then
14674 rm -f conf$$.dir/conf$$.file
14677 mkdir conf$$.dir 2>/dev/null
14679 if (echo >conf$$.file) 2>/dev/null; then
14680 if ln -s conf$$.file conf$$ 2>/dev/null; then
14682 # ... but there are two gotchas:
14683 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14684 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14685 # In both cases, we have to default to `cp -pR'.
14686 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14688 elif ln conf$$.file conf$$ 2>/dev/null; then
14696 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14697 rmdir conf$$.dir 2>/dev/null
14702 # Create "$as_dir" as a directory, including parents if necessary.
14707 -*) as_dir=./$as_dir;;
14709 test -d "$as_dir" || eval $as_mkdir_p || {
14713 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14714 *) as_qdir=$as_dir;;
14716 as_dirs="'$as_qdir' $as_dirs"
14717 as_dir=`$as_dirname -- "$as_dir" ||
14718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14719 X"$as_dir" : 'X\(//\)[^/]' \| \
14720 X"$as_dir" : 'X\(//\)$' \| \
14721 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14722 $as_echo X"$as_dir" |
14723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14727 /^X\(\/\/\)[^/].*/{
14740 test -d "$as_dir" && break
14742 test -z "$as_dirs" || eval "mkdir $as_dirs"
14743 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14747 if mkdir -p . 2>/dev/null; then
14748 as_mkdir_p='mkdir -p "$as_dir"'
14750 test -d ./-p && rmdir ./-p
14755 # as_fn_executable_p FILE
14756 # -----------------------
14757 # Test if FILE is an executable regular file.
14758 as_fn_executable_p ()
14760 test -f "$1" && test -x "$1"
14761 } # as_fn_executable_p
14762 as_test_x='test -x'
14763 as_executable_p=as_fn_executable_p
14765 # Sed expression to map a string onto a valid CPP name.
14766 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14768 # Sed expression to map a string onto a valid variable name.
14769 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14773 ## ----------------------------------- ##
14774 ## Main body of $CONFIG_STATUS script. ##
14775 ## ----------------------------------- ##
14777 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14780 # Save the log message, to keep $0 and so on meaningful, and to
14781 # report actual input values of CONFIG_FILES etc. instead of their
14782 # values after options handling.
14784 This file was extended by LZO $as_me 2.10, which was
14785 generated by GNU Autoconf 2.69. Invocation command line was
14787 CONFIG_FILES = $CONFIG_FILES
14788 CONFIG_HEADERS = $CONFIG_HEADERS
14789 CONFIG_LINKS = $CONFIG_LINKS
14790 CONFIG_COMMANDS = $CONFIG_COMMANDS
14793 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14798 case $ac_config_files in *"
14799 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14802 case $ac_config_headers in *"
14803 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14808 # Files that config.status was made for.
14809 config_files="$ac_config_files"
14810 config_headers="$ac_config_headers"
14811 config_commands="$ac_config_commands"
14815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14817 \`$as_me' instantiates files and other configuration actions
14818 from templates according to the current configuration. Unless the files
14819 and actions are specified as TAGs, all are instantiated by default.
14821 Usage: $0 [OPTION]... [TAG]...
14823 -h, --help print this help, then exit
14824 -V, --version print version number and configuration settings, then exit
14825 --config print configuration, then exit
14826 -q, --quiet, --silent
14827 do not print progress messages
14828 -d, --debug don't remove temporary files
14829 --recheck update $as_me by reconfiguring in the same conditions
14830 --file=FILE[:TEMPLATE]
14831 instantiate the configuration file FILE
14832 --header=FILE[:TEMPLATE]
14833 instantiate the configuration header FILE
14835 Configuration files:
14838 Configuration headers:
14841 Configuration commands:
14844 Report bugs to <markus@oberhumer.com>.
14845 LZO home page: <http://www.oberhumer.com/opensource/lzo/>."
14848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14849 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14851 LZO config.status 2.10
14852 configured by $0, generated by GNU Autoconf 2.69,
14853 with options \\"\$ac_cs_config\\"
14855 Copyright (C) 2012 Free Software Foundation, Inc.
14856 This config.status script is free software; the Free Software Foundation
14857 gives unlimited permission to copy, distribute and modify it."
14864 test -n "\$AWK" || AWK=awk
14867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14868 # The default lists apply if the user does not specify any file.
14874 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14875 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14879 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14891 # Handling of the options.
14892 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14894 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14895 $as_echo "$ac_cs_version"; exit ;;
14896 --config | --confi | --conf | --con | --co | --c )
14897 $as_echo "$ac_cs_config"; exit ;;
14898 --debug | --debu | --deb | --de | --d | -d )
14900 --file | --fil | --fi | --f )
14903 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14904 '') as_fn_error $? "missing file argument" ;;
14906 as_fn_append CONFIG_FILES " '$ac_optarg'"
14907 ac_need_defaults=false;;
14908 --header | --heade | --head | --hea )
14911 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14913 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14914 ac_need_defaults=false;;
14916 # Conflict between --help and --header
14917 as_fn_error $? "ambiguous option: \`$1'
14918 Try \`$0 --help' for more information.";;
14919 --help | --hel | -h )
14920 $as_echo "$ac_cs_usage"; exit ;;
14921 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14922 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14925 # This is an error.
14926 -*) as_fn_error $? "unrecognized option: \`$1'
14927 Try \`$0 --help' for more information." ;;
14929 *) as_fn_append ac_config_targets " $1"
14930 ac_need_defaults=false ;;
14936 ac_configure_extra_args=
14938 if $ac_cs_silent; then
14940 ac_configure_extra_args="$ac_configure_extra_args --silent"
14944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14945 if \$ac_cs_recheck; then
14946 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14948 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14949 CONFIG_SHELL='$SHELL'
14950 export CONFIG_SHELL
14955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14959 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14960 ## Running $as_me. ##
14966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14970 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14973 # The HP-UX ksh and POSIX shell print the target directory to stdout
14974 # if CDPATH is set.
14975 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14977 sed_quote_subst='$sed_quote_subst'
14978 double_quote_subst='$double_quote_subst'
14979 delay_variable_subst='$delay_variable_subst'
14980 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14981 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14982 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14983 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14984 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14985 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14986 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14987 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14988 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14989 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14990 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14991 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14992 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14993 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14994 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14995 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14996 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14997 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14998 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14999 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15000 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15001 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15002 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15003 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15004 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15005 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15006 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15007 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15008 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15009 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15010 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15011 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15012 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15013 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15014 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15015 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15016 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15017 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15018 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15019 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15020 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15021 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15022 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15023 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15024 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15025 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15026 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15027 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15028 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15029 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15030 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15031 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15032 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15033 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15034 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15035 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15036 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15037 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"`'
15038 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15039 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15040 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15041 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15042 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15043 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15044 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15045 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15046 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15047 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15048 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15049 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15050 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15051 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15052 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15053 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15054 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15055 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15056 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15057 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15058 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15059 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15060 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15061 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15062 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15063 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15064 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15065 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15066 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15067 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15068 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15069 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15070 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15071 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15072 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15073 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15074 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15075 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15076 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15077 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15078 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15079 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15080 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15081 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15082 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15083 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15084 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15085 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15086 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15087 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15088 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15089 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15090 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15091 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15092 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15093 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15094 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15095 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15096 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15097 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15098 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15099 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15100 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15101 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15102 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15103 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15104 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15105 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15106 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15107 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15108 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15109 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15110 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15111 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15114 LTCFLAGS='$LTCFLAGS'
15115 compiler='$compiler_DEFAULT'
15117 # A function that is used when there is no print builtin or printf.
15118 func_fallback_echo ()
15120 eval 'cat <<_LTECHO_EOF
15125 # Quote evaled strings.
15140 deplibs_check_method \
15145 sharedlib_from_linklib_cmd \
15148 archiver_list_spec \
15154 lt_cv_sys_global_symbol_pipe \
15155 lt_cv_sys_global_symbol_to_cdecl \
15156 lt_cv_sys_global_symbol_to_import \
15157 lt_cv_sys_global_symbol_to_c_name_address \
15158 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15159 lt_cv_nm_interface \
15160 nm_file_list_spec \
15161 lt_prog_compiler_no_builtin_flag \
15162 lt_prog_compiler_pic \
15163 lt_prog_compiler_wl \
15164 lt_prog_compiler_static \
15165 lt_cv_prog_compiler_c_o \
15174 export_dynamic_flag_spec \
15175 whole_archive_flag_spec \
15176 compiler_needs_object \
15178 allow_undefined_flag \
15179 no_undefined_flag \
15180 hardcode_libdir_flag_spec \
15181 hardcode_libdir_separator \
15185 variables_saved_for_relink \
15187 library_names_spec \
15189 install_override_mode \
15193 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15194 *[\\\\\\\`\\"\\\$]*)
15195 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15198 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15203 # Double-quote double-evaled strings.
15204 for var in reload_cmds \
15205 old_postinstall_cmds \
15206 old_postuninstall_cmds \
15208 extract_expsyms_cmds \
15209 old_archive_from_new_cmds \
15210 old_archive_from_expsyms_cmds \
15212 archive_expsym_cmds \
15214 module_expsym_cmds \
15215 export_symbols_cmds \
15219 postuninstall_cmds \
15221 sys_lib_search_path_spec \
15222 sys_lib_dlsearch_path_spec; do
15223 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15224 *[\\\\\\\`\\"\\\$]*)
15225 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15228 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15233 ac_aux_dir='$ac_aux_dir'
15235 # See if we are running on zsh, and set the options that allow our
15236 # commands through without removal of \ escapes INIT.
15237 if test -n "\${ZSH_VERSION+set}"; then
15238 setopt NO_GLOB_SUBST
15252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15254 # Handling of arguments.
15255 for ac_config_target in $ac_config_targets
15257 case $ac_config_target in
15258 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15259 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
15260 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15261 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15262 "lzo2.pc") CONFIG_FILES="$CONFIG_FILES lzo2.pc" ;;
15264 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15269 # If the user did not use the arguments to specify the items to instantiate,
15270 # then the envvar interface is used. Set only those that are not.
15271 # We use the long form for the default assignment because of an extremely
15272 # bizarre bug on SunOS 4.1.3.
15273 if $ac_need_defaults; then
15274 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15275 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15276 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15279 # Have a temporary directory for convenience. Make it in the build tree
15280 # simply because there is no reason against having it here, and in addition,
15281 # creating and moving files from /tmp can sometimes cause problems.
15282 # Hook for its removal unless debugging.
15283 # Note that there is a small window in which the directory will not be cleaned:
15284 # after its creation but before its name has been assigned to `$tmp'.
15288 trap 'exit_status=$?
15289 : "${ac_tmp:=$tmp}"
15290 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15292 trap 'as_fn_exit 1' 1 2 13 15
15294 # Create a (secure) tmp directory for tmp files.
15297 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15301 tmp=./conf$$-$RANDOM
15302 (umask 077 && mkdir "$tmp")
15303 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15306 # Set up the scripts for CONFIG_FILES section.
15307 # No need to generate them if there are no CONFIG_FILES.
15308 # This happens for instance with `./config.status config.h'.
15309 if test -n "$CONFIG_FILES"; then
15312 ac_cr=`echo X | tr X '\015'`
15313 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15314 # But we know of no other shell where ac_cr would be empty at this
15315 # point, so we can use a bashism as a fallback.
15316 if test "x$ac_cr" = x; then
15317 eval ac_cr=\$\'\\r\'
15319 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15320 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15323 ac_cs_awk_cr=$ac_cr
15326 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15331 echo "cat >conf$$subs.awk <<_ACEOF" &&
15332 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15334 } >conf$$subs.sh ||
15335 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15336 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15338 for ac_last_try in false false false false false :; do
15339 . ./conf$$subs.sh ||
15340 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15342 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15343 if test $ac_delim_n = $ac_delim_num; then
15345 elif $ac_last_try; then
15346 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15348 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15351 rm -f conf$$subs.sh
15353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15354 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15358 s/^/S["/; s/!.*/"]=/
15368 s/\(.\{148\}\)..*/\1/
15370 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15375 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15382 s/\(.\{148\}\)..*/\1/
15384 s/["\\]/\\&/g; s/^/"/; s/$/"/
15388 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15393 ' <conf$$subs.awk | sed '
15398 ' >>$CONFIG_STATUS || ac_write_fail=1
15399 rm -f conf$$subs.awk
15400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15402 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15403 for (key in S) S_is_set[key] = 1
15409 nfields = split(line, field, "@")
15411 len = length(field[1])
15412 for (i = 2; i < nfields; i++) {
15414 keylen = length(key)
15415 if (S_is_set[key]) {
15417 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15418 len += length(value) + length(field[++i])
15429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15430 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15431 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15434 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15435 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15438 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15439 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15440 # trailing colons and then remove the whole line if VPATH becomes empty
15441 # (actually we leave an empty line to preserve line numbers).
15442 if test "x$srcdir" = x.; then
15443 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15462 fi # test -n "$CONFIG_FILES"
15464 # Set up the scripts for CONFIG_HEADERS section.
15465 # No need to generate them if there are no CONFIG_HEADERS.
15466 # This happens for instance with `./config.status Makefile'.
15467 if test -n "$CONFIG_HEADERS"; then
15468 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15472 # Transform confdefs.h into an awk script `defines.awk', embedded as
15473 # here-document in config.status, that substitutes the proper values into
15474 # config.h.in to produce config.h.
15476 # Create a delimiter string that does not exist in confdefs.h, to ease
15477 # handling of long lines.
15479 for ac_last_try in false false :; do
15480 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15481 if test -z "$ac_tt"; then
15483 elif $ac_last_try; then
15484 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15486 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15490 # For the awk script, D is an array of macro values keyed by name,
15491 # likewise P contains macro parameters if any. Preserve backslash
15492 # newline sequences.
15494 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15496 s/.\{148\}/&'"$ac_delim"'/g
15499 s/^[ ]*#[ ]*define[ ][ ]*/ /
15506 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15508 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15512 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15513 D["\1"]=" \3\\\\\\n"\\/p
15515 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15520 s/.\{148\}/&'"$ac_delim"'/g
15525 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15528 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15530 ' <confdefs.h | sed '
15531 s/'"$ac_delim"'/"\\\
15532 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15535 for (key in D) D_is_set[key] = 1
15538 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15540 split(line, arg, " ")
15541 if (arg[1] == "#") {
15545 defundef = substr(arg[1], 2)
15548 split(mac1, mac2, "(") #)
15550 prefix = substr(line, 1, index(line, defundef) - 1)
15551 if (D_is_set[macro]) {
15552 # Preserve the white space surrounding the "#".
15553 print prefix "define", macro P[macro] D[macro]
15556 # Replace #undef with comments. This is necessary, for example,
15557 # in the case of _POSIX_SOURCE, which is predefined and required
15558 # on some systems where configure will not decide to define it.
15559 if (defundef == "undef") {
15560 print "/*", prefix defundef, macro, "*/"
15568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15569 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15570 fi # test -n "$CONFIG_HEADERS"
15573 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15578 :[FHLC]) ac_mode=$ac_tag; continue;;
15580 case $ac_mode$ac_tag in
15582 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15583 :[FH]-) ac_tag=-:-;;
15584 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15601 -) ac_f="$ac_tmp/stdin";;
15602 *) # Look for the file first in the build tree, then in the source tree
15603 # (if the path is not absolute). The absolute path cannot be DOS-style,
15604 # because $ac_f cannot contain `:'.
15608 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15610 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15612 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15613 as_fn_append ac_file_inputs " '$ac_f'"
15616 # Let's still pretend it is `configure' which instantiates (i.e., don't
15617 # use $as_me), people would be surprised to read:
15618 # /* config.h. Generated by config.status. */
15619 configure_input='Generated from '`
15620 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15622 if test x"$ac_file" != x-; then
15623 configure_input="$ac_file. $configure_input"
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15625 $as_echo "$as_me: creating $ac_file" >&6;}
15627 # Neutralize special characters interpreted by sed in replacement strings.
15628 case $configure_input in #(
15629 *\&* | *\|* | *\\* )
15630 ac_sed_conf_input=`$as_echo "$configure_input" |
15631 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15632 *) ac_sed_conf_input=$configure_input;;
15636 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15637 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15642 ac_dir=`$as_dirname -- "$ac_file" ||
15643 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15644 X"$ac_file" : 'X\(//\)[^/]' \| \
15645 X"$ac_file" : 'X\(//\)$' \| \
15646 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15647 $as_echo X"$ac_file" |
15648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15652 /^X\(\/\/\)[^/].*/{
15665 as_dir="$ac_dir"; as_fn_mkdir_p
15669 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15671 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15672 # A ".." for each directory in $ac_dir_suffix.
15673 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15674 case $ac_top_builddir_sub in
15675 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15676 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15679 ac_abs_top_builddir=$ac_pwd
15680 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15681 # for backward compatibility:
15682 ac_top_builddir=$ac_top_build_prefix
15685 .) # We are building in place.
15687 ac_top_srcdir=$ac_top_builddir_sub
15688 ac_abs_top_srcdir=$ac_pwd ;;
15689 [\\/]* | ?:[\\/]* ) # Absolute name.
15690 ac_srcdir=$srcdir$ac_dir_suffix;
15691 ac_top_srcdir=$srcdir
15692 ac_abs_top_srcdir=$srcdir ;;
15693 *) # Relative name.
15694 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15695 ac_top_srcdir=$ac_top_build_prefix$srcdir
15696 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15698 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15708 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15709 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15711 ac_MKDIR_P=$MKDIR_P
15713 [\\/$]* | ?:[\\/]* ) ;;
15714 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15719 # If the template does not know about datarootdir, expand it.
15720 # FIXME: This hack should be removed a few years after 2.60.
15721 ac_datarootdir_hack=; ac_datarootdir_seen=
15732 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15733 *datarootdir*) ac_datarootdir_seen=yes;;
15734 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15736 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15739 ac_datarootdir_hack='
15740 s&@datadir@&$datadir&g
15741 s&@docdir@&$docdir&g
15742 s&@infodir@&$infodir&g
15743 s&@localedir@&$localedir&g
15744 s&@mandir@&$mandir&g
15745 s&\\\${datarootdir}&$datarootdir&g' ;;
15749 # Neutralize VPATH when `$srcdir' = `.'.
15750 # Shell code in configure.ac might set extrasub.
15751 # FIXME: do we really want to maintain this feature?
15752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15753 ac_sed_extra="$ac_vpsub
15756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15758 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15759 s|@configure_input@|$ac_sed_conf_input|;t t
15760 s&@top_builddir@&$ac_top_builddir_sub&;t t
15761 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15762 s&@srcdir@&$ac_srcdir&;t t
15763 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15764 s&@top_srcdir@&$ac_top_srcdir&;t t
15765 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15766 s&@builddir@&$ac_builddir&;t t
15767 s&@abs_builddir@&$ac_abs_builddir&;t t
15768 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15769 s&@INSTALL@&$ac_INSTALL&;t t
15770 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15771 $ac_datarootdir_hack
15773 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15774 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15776 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15777 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15778 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15779 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15781 which seems to be undefined. Please make sure it is defined" >&5
15782 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15783 which seems to be undefined. Please make sure it is defined" >&2;}
15785 rm -f "$ac_tmp/stdin"
15787 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15788 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15790 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15796 if test x"$ac_file" != x-; then
15798 $as_echo "/* $configure_input */" \
15799 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15800 } >"$ac_tmp/config.h" \
15801 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15802 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15804 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15807 mv "$ac_tmp/config.h" "$ac_file" \
15808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15811 $as_echo "/* $configure_input */" \
15812 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15813 || as_fn_error $? "could not create -" "$LINENO" 5
15815 # Compute "$ac_file"'s index in $config_headers.
15818 for _am_header in $config_headers :; do
15819 case $_am_header in
15820 $_am_arg | $_am_arg:* )
15823 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15826 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15827 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15828 X"$_am_arg" : 'X\(//\)[^/]' \| \
15829 X"$_am_arg" : 'X\(//\)$' \| \
15830 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15831 $as_echo X"$_am_arg" |
15832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15836 /^X\(\/\/\)[^/].*/{
15848 s/.*/./; q'`/stamp-h$_am_stamp_count
15851 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15852 $as_echo "$as_me: executing $ac_file commands" >&6;}
15857 case $ac_file$ac_mode in
15858 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15859 # Older Autoconf quotes --file arguments for eval, but not when files
15860 # are listed without --file. Let's play safe and only enable the eval
15861 # if we detect the quoting.
15862 case $CONFIG_FILES in
15863 *\'*) eval set x "$CONFIG_FILES" ;;
15864 *) set x $CONFIG_FILES ;;
15869 # Strip MF so we end up with the name of the file.
15870 mf=`echo "$mf" | sed -e 's/:.*$//'`
15871 # Check whether this is an Automake generated Makefile or not.
15872 # We used to match only the files named 'Makefile.in', but
15873 # some people rename them; so instead we look at the file content.
15874 # Grep'ing the first line is not enough: some people post-process
15875 # each Makefile.in and add a new line on top of each file to say so.
15876 # Grep'ing the whole file is not good either: AIX grep has a line
15877 # limit of 2048, but all sed's we know have understand at least 4000.
15878 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15879 dirpart=`$as_dirname -- "$mf" ||
15880 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15881 X"$mf" : 'X\(//\)[^/]' \| \
15882 X"$mf" : 'X\(//\)$' \| \
15883 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15889 /^X\(\/\/\)[^/].*/{
15905 # Extract the definition of DEPDIR, am__include, and am__quote
15906 # from the Makefile without running 'make'.
15907 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15908 test -z "$DEPDIR" && continue
15909 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15910 test -z "$am__include" && continue
15911 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15912 # Find all dependency output files, they are included files with
15913 # $(DEPDIR) in their names. We invoke sed twice because it is the
15914 # simplest approach to changing $(DEPDIR) to its actual value in the
15916 for file in `sed -n "
15917 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15918 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15919 # Make sure the directory exists.
15920 test -f "$dirpart/$file" && continue
15921 fdir=`$as_dirname -- "$file" ||
15922 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15923 X"$file" : 'X\(//\)[^/]' \| \
15924 X"$file" : 'X\(//\)$' \| \
15925 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15926 $as_echo X"$file" |
15927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15931 /^X\(\/\/\)[^/].*/{
15944 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15945 # echo "creating $dirpart/$file"
15946 echo '# dummy' > "$dirpart/$file"
15953 # See if we are running on zsh, and set the options that allow our
15954 # commands through without removal of \ escapes.
15955 if test -n "${ZSH_VERSION+set}"; then
15956 setopt NO_GLOB_SUBST
15960 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15963 cat <<_LT_EOF >> "$cfgfile"
15966 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15967 # Generated automatically by $as_me ($PACKAGE) $VERSION
15968 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15969 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15971 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15972 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15974 # Written by Gordon Matzigkeit, 1996
15976 # This file is part of GNU Libtool.
15978 # GNU Libtool is free software; you can redistribute it and/or
15979 # modify it under the terms of the GNU General Public License as
15980 # published by the Free Software Foundation; either version 2 of
15981 # the License, or (at your option) any later version.
15983 # As a special exception to the GNU General Public License,
15984 # if you distribute this file as part of a program or library that
15985 # is built using GNU Libtool, you may include this file under the
15986 # same distribution terms that you use for the rest of that program.
15988 # GNU Libtool is distributed in the hope that it will be useful,
15989 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15990 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15991 # GNU General Public License for more details.
15993 # You should have received a copy of the GNU General Public License
15994 # along with GNU Libtool; see the file COPYING. If not, a copy
15995 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15996 # obtained by writing to the Free Software Foundation, Inc.,
15997 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16000 # The names of the tagged configurations supported by this script.
16003 # ### BEGIN LIBTOOL CONFIG
16005 # Whether or not to build static libraries.
16006 build_old_libs=$enable_static
16008 # Whether or not to build shared libraries.
16009 build_libtool_libs=$enable_shared
16011 # Which release of libtool.m4 was used?
16012 macro_version=$macro_version
16013 macro_revision=$macro_revision
16015 # What type of objects to build.
16018 # Whether or not to optimize for fast installation.
16019 fast_install=$enable_fast_install
16021 # Shell to use when invoking shell scripts.
16024 # An echo program that protects backslashes.
16027 # The PATH separator for the build system.
16028 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16031 host_alias=$host_alias
16035 # The build system.
16036 build_alias=$build_alias
16040 # A sed program that does not truncate output.
16043 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16044 Xsed="\$SED -e 1s/^X//"
16046 # A grep program that handles long lines.
16052 # A literal string matcher.
16055 # A BSD- or MS-compatible name lister.
16058 # Whether we need soft or hard links.
16061 # What is the maximum length of a command?
16062 max_cmd_len=$max_cmd_len
16064 # Object file suffix (normally "o").
16067 # Executable file suffix (normally "").
16070 # whether the shell understands "unset".
16073 # turn spaces into newlines.
16076 # turn newlines into spaces.
16079 # convert \$build file names to \$host format.
16080 to_host_file_cmd=$lt_cv_to_host_file_cmd
16082 # convert \$build files to toolchain format.
16083 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16085 # An object symbol dumper.
16086 OBJDUMP=$lt_OBJDUMP
16088 # Method to check whether dependent libraries are shared objects.
16089 deplibs_check_method=$lt_deplibs_check_method
16091 # Command to use when deplibs_check_method = "file_magic".
16092 file_magic_cmd=$lt_file_magic_cmd
16094 # How to find potential files when deplibs_check_method = "file_magic".
16095 file_magic_glob=$lt_file_magic_glob
16097 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16098 want_nocaseglob=$lt_want_nocaseglob
16100 # DLL creation program.
16101 DLLTOOL=$lt_DLLTOOL
16103 # Command to associate shared and link libraries.
16104 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16109 # Flags to create an archive.
16110 AR_FLAGS=$lt_AR_FLAGS
16112 # How to feed a file listing to the archiver.
16113 archiver_list_spec=$lt_archiver_list_spec
16115 # A symbol stripping program.
16118 # Commands used to install an old-style archive.
16120 old_postinstall_cmds=$lt_old_postinstall_cmds
16121 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16123 # Whether to use a lock for old archive extraction.
16124 lock_old_archive_extraction=$lock_old_archive_extraction
16129 # LTCC compiler flags.
16130 LTCFLAGS=$lt_CFLAGS
16132 # Take the output of nm and produce a listing of raw symbols and C names.
16133 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16135 # Transform the output of nm in a proper C declaration.
16136 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16138 # Transform the output of nm into a list of symbols to manually relocate.
16139 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16141 # Transform the output of nm in a C name address pair.
16142 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16144 # Transform the output of nm in a C name address pair when lib prefix is needed.
16145 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16147 # The name lister interface.
16148 nm_interface=$lt_lt_cv_nm_interface
16150 # Specify filename containing input files for \$NM.
16151 nm_file_list_spec=$lt_nm_file_list_spec
16153 # The root where to search for dependent libraries,and where our libraries should be installed.
16154 lt_sysroot=$lt_sysroot
16156 # The name of the directory that contains temporary libtool files.
16159 # Used to examine libraries when file_magic_cmd begins with "file".
16160 MAGIC_CMD=$MAGIC_CMD
16162 # Must we lock files when doing compilation?
16163 need_locks=$lt_need_locks
16166 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16168 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16169 DSYMUTIL=$lt_DSYMUTIL
16171 # Tool to change global to local symbols on Mac OS X.
16174 # Tool to manipulate fat objects and archives on Mac OS X.
16177 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16180 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16181 OTOOL64=$lt_OTOOL64
16183 # Old archive suffix (normally "a").
16186 # Shared library suffix (normally ".so").
16187 shrext_cmds=$lt_shrext_cmds
16189 # The commands to extract the exported symbol list from a shared archive.
16190 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16192 # Variables whose values should be saved in libtool wrapper scripts and
16193 # restored at link time.
16194 variables_saved_for_relink=$lt_variables_saved_for_relink
16196 # Do we need the "lib" prefix for modules?
16197 need_lib_prefix=$need_lib_prefix
16199 # Do we need a version for libraries?
16200 need_version=$need_version
16202 # Library versioning type.
16203 version_type=$version_type
16205 # Shared library runtime path variable.
16206 runpath_var=$runpath_var
16208 # Shared library path variable.
16209 shlibpath_var=$shlibpath_var
16211 # Is shlibpath searched before the hard-coded library search path?
16212 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16214 # Format of library name prefix.
16215 libname_spec=$lt_libname_spec
16217 # List of archive names. First name is the real one, the rest are links.
16218 # The last name is the one that the linker finds with -lNAME
16219 library_names_spec=$lt_library_names_spec
16221 # The coded name of the library, if different from the real name.
16222 soname_spec=$lt_soname_spec
16224 # Permission mode override for installation of shared libraries.
16225 install_override_mode=$lt_install_override_mode
16227 # Command to use after installation of a shared archive.
16228 postinstall_cmds=$lt_postinstall_cmds
16230 # Command to use after uninstallation of a shared archive.
16231 postuninstall_cmds=$lt_postuninstall_cmds
16233 # Commands used to finish a libtool library installation in a directory.
16234 finish_cmds=$lt_finish_cmds
16236 # As "finish_cmds", except a single script fragment to be evaled but
16238 finish_eval=$lt_finish_eval
16240 # Whether we should hardcode library paths into libraries.
16241 hardcode_into_libs=$hardcode_into_libs
16243 # Compile-time system search path for libraries.
16244 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16246 # Run-time system search path for libraries.
16247 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16249 # Whether dlopen is supported.
16250 dlopen_support=$enable_dlopen
16252 # Whether dlopen of programs is supported.
16253 dlopen_self=$enable_dlopen_self
16255 # Whether dlopen of statically linked programs is supported.
16256 dlopen_self_static=$enable_dlopen_self_static
16258 # Commands to strip libraries.
16259 old_striplib=$lt_old_striplib
16260 striplib=$lt_striplib
16263 # The linker used to build libraries.
16266 # How to create reloadable object files.
16267 reload_flag=$lt_reload_flag
16268 reload_cmds=$lt_reload_cmds
16270 # Commands used to build an old-style archive.
16271 old_archive_cmds=$lt_old_archive_cmds
16273 # A language specific compiler.
16276 # Is the compiler the GNU compiler?
16279 # Compiler flag to turn off builtin functions.
16280 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16282 # Additional compiler flags for building library objects.
16283 pic_flag=$lt_lt_prog_compiler_pic
16285 # How to pass a linker flag through the compiler.
16286 wl=$lt_lt_prog_compiler_wl
16288 # Compiler flag to prevent dynamic linking.
16289 link_static_flag=$lt_lt_prog_compiler_static
16291 # Does compiler simultaneously support -c and -o options?
16292 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16294 # Whether or not to add -lc for building shared libraries.
16295 build_libtool_need_lc=$archive_cmds_need_lc
16297 # Whether or not to disallow shared libs when runtime libs are static.
16298 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16300 # Compiler flag to allow reflexive dlopens.
16301 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16303 # Compiler flag to generate shared objects directly from archives.
16304 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16306 # Whether the compiler copes with passing no objects directly.
16307 compiler_needs_object=$lt_compiler_needs_object
16309 # Create an old-style archive from a shared archive.
16310 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16312 # Create a temporary old-style archive to link instead of a shared archive.
16313 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16315 # Commands used to build a shared archive.
16316 archive_cmds=$lt_archive_cmds
16317 archive_expsym_cmds=$lt_archive_expsym_cmds
16319 # Commands used to build a loadable module if different from building
16320 # a shared archive.
16321 module_cmds=$lt_module_cmds
16322 module_expsym_cmds=$lt_module_expsym_cmds
16324 # Whether we are building with GNU ld or not.
16325 with_gnu_ld=$lt_with_gnu_ld
16327 # Flag that allows shared libraries with undefined symbols to be built.
16328 allow_undefined_flag=$lt_allow_undefined_flag
16330 # Flag that enforces no undefined symbols.
16331 no_undefined_flag=$lt_no_undefined_flag
16333 # Flag to hardcode \$libdir into a binary during linking.
16334 # This must work even if \$libdir does not exist
16335 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16337 # Whether we need a single "-rpath" flag with a separated argument.
16338 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16340 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16341 # DIR into the resulting binary.
16342 hardcode_direct=$hardcode_direct
16344 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16345 # DIR into the resulting binary and the resulting library dependency is
16346 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16347 # library is relocated.
16348 hardcode_direct_absolute=$hardcode_direct_absolute
16350 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16351 # into the resulting binary.
16352 hardcode_minus_L=$hardcode_minus_L
16354 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16355 # into the resulting binary.
16356 hardcode_shlibpath_var=$hardcode_shlibpath_var
16358 # Set to "yes" if building a shared library automatically hardcodes DIR
16359 # into the library and all subsequent libraries and executables linked
16361 hardcode_automatic=$hardcode_automatic
16363 # Set to yes if linker adds runtime paths of dependent libraries
16364 # to runtime path list.
16365 inherit_rpath=$inherit_rpath
16367 # Whether libtool must link a program against all its dependency libraries.
16368 link_all_deplibs=$link_all_deplibs
16370 # Set to "yes" if exported symbols are required.
16371 always_export_symbols=$always_export_symbols
16373 # The commands to list exported symbols.
16374 export_symbols_cmds=$lt_export_symbols_cmds
16376 # Symbols that should not be listed in the preloaded symbols.
16377 exclude_expsyms=$lt_exclude_expsyms
16379 # Symbols that must always be exported.
16380 include_expsyms=$lt_include_expsyms
16382 # Commands necessary for linking programs (against libraries) with templates.
16383 prelink_cmds=$lt_prelink_cmds
16385 # Commands necessary for finishing linking programs.
16386 postlink_cmds=$lt_postlink_cmds
16388 # Specify filename containing input files.
16389 file_list_spec=$lt_file_list_spec
16391 # How to hardcode a shared library path into an executable.
16392 hardcode_action=$hardcode_action
16394 # ### END LIBTOOL CONFIG
16400 cat <<\_LT_EOF >> "$cfgfile"
16401 # AIX sometimes has problems with the GCC collect2 program. For some
16402 # reason, if we set the COLLECT_NAMES environment variable, the problems
16403 # vanish in a puff of smoke.
16404 if test set != "${COLLECT_NAMES+set}"; then
16406 export COLLECT_NAMES
16413 ltmain=$ac_aux_dir/ltmain.sh
16416 # We use sed instead of cat because bash on DJGPP gets confused if
16417 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16418 # text mode, it properly converts lines to CR/LF. This bash problem
16419 # is reportedly fixed, but why not run on old versions too?
16420 sed '$q' "$ltmain" >> "$cfgfile" \
16421 || (rm -f "$cfgfile"; exit 1)
16423 mv -f "$cfgfile" "$ofile" ||
16424 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16435 ac_clean_files=$ac_clean_files_save
16437 test $ac_write_fail = 0 ||
16438 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16441 # configure is writing to config.log, and then calls config.status.
16442 # config.status does its own redirection, appending to config.log.
16443 # Unfortunately, on DOS this fails, as config.log is still kept open
16444 # by configure, so config.status won't be able to write to it; its
16445 # output is simply discarded. So we exec the FD to /dev/null,
16446 # effectively closing config.log, so it can be properly (re)opened and
16447 # appended to by config.status. When coming back to configure, we
16448 # need to make the FD available again.
16449 if test "$no_create" != yes; then
16451 ac_config_status_args=
16452 test "$silent" = yes &&
16453 ac_config_status_args="$ac_config_status_args --quiet"
16455 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16457 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16458 # would make configure fail if this is the last instruction.
16459 $ac_cs_success || as_fn_exit 1
16461 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16463 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16468 ## enable AMD64 assembly code : ${asm_msg_amd64}
16471 LZO configuration summary
16472 -------------------------
16473 LZO version : ${PACKAGE_VERSION}
16474 configured for host : ${host_cpu}-${host_vendor}-${host_os}
16475 source code location : ${srcdir}
16477 preprocessor definitions : ${DEFS}
16478 preprocessor flags : ${CPPFLAGS}
16479 compiler flags : ${CFLAGS}
16480 build static library : ${enable_static}
16481 build shared library : ${enable_shared}
16482 enable i386 assembly code : ${asm_msg_i386}
16485 LZO ${PACKAGE_VERSION} configured.
16487 Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
16488 All Rights Reserved.
16490 The LZO library is free software; you can redistribute it and/or
16491 modify it under the terms of the GNU General Public License as
16492 published by the Free Software Foundation; either version 2 of
16493 the License, or (at your option) any later version.
16495 The LZO library is distributed in the hope that it will be useful,
16496 but WITHOUT ANY WARRANTY; without even the implied warranty of
16497 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16498 GNU General Public License for more details.
16500 Markus F.X.J. Oberhumer
16501 <markus@oberhumer.com>
16502 http://www.oberhumer.com/opensource/lzo/
16505 Type 'make' to build LZO.
16506 Type 'make check' and 'make test' to test LZO.
16507 Type 'make install' to install LZO.
16508 After installing LZO, please have a look at 'examples/simple.c'.
16512 # vim:set ts=4 sw=4 et: