2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for lzo 2.03.
5 # Report bugs to <markus@oberhumer.com>.
7 # Copyright (C) 1996-2008 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.
12 # Copyright (C) 2003 Free Software Foundation, Inc.
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## --------------------- ##
16 ## M4sh Initialization. ##
17 ## --------------------- ##
19 # Be Bourne compatible
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
29 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Support unset when possible.
32 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
39 # Work around bugs in pre-3.0 UWIN ksh.
40 $as_unset ENV MAIL MAILPATH
47 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52 eval $as_var=C
; export $as_var
58 # Required to use basename.
59 if expr a
: '\(a\)' >/dev
/null
2>&1; then
65 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
72 # Name of the executable.
73 as_me
=`$as_basename "$0" ||
74 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
75 X"$0" : 'X\(//\)$' \| \
76 X"$0" : 'X\(/\)$' \| \
77 . : '\(.\)' 2>/dev/null ||
79 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
80 /^X\/\(\/\/\)$/{ s//\1/; q; }
81 /^X\/\(\/\).*/{ s//\1/; q; }
85 # PATH needs CR, and LINENO needs CR and PATH.
86 # Avoid depending upon Character Ranges.
87 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
88 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
89 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
90 as_cr_digits
='0123456789'
91 as_cr_alnum
=$as_cr_Letters$as_cr_digits
93 # The user is always right.
94 if test "${PATH_SEPARATOR+set}" != set; then
95 echo "#! /bin/sh" >conf$$.sh
96 echo "exit 0" >>conf$$.sh
98 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
109 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
110 test "x$as_lineno_1" != "x$as_lineno_2" &&
111 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
112 # Find who we are. Look in the path if we contain no path at all
115 *[\\/]* ) as_myself
=$0 ;;
116 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
120 test -z "$as_dir" && as_dir
=.
121 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
126 # We did not find ourselves, most probably we were run as `sh COMMAND'
127 # in which case we are not to be found in the path.
128 if test "x$as_myself" = x
; then
131 if test ! -f "$as_myself"; then
132 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
133 { (exit 1); exit 1; }; }
135 case $CONFIG_SHELL in
137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
138 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
141 test -z "$as_dir" && as_dir
=.
142 for as_base
in sh bash ksh sh5
; do
145 if ("$as_dir/$as_base" -c '
148 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
149 test "x$as_lineno_1" != "x$as_lineno_2" &&
150 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
151 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
152 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
153 CONFIG_SHELL
=$as_dir/$as_base
155 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
163 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
164 # uniformly replaced by the line number. The first 'sed' inserts a
165 # line-number line before each line; the second 'sed' does the real
166 # work. The second script uses 'N' to pair each line-number line
167 # with the numbered line, and appends trailing '-' during
168 # substitution so that $LINENO is not a special case at line end.
169 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
170 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
171 sed '=' <$as_myself |
176 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
179 s,^['$as_cr_digits']*\n,,
181 chmod +x
$as_me.lineno ||
182 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
183 { (exit 1); exit 1; }; }
185 # Don't try to exec as it changes $[0], causing all sort of problems
186 # (the dirname of $[0] is not the place where we might find the
187 # original and so on. Autoconf is especially sensible to this).
189 # Exit status is that of the last command.
194 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
195 *c
*,-n*) ECHO_N
= ECHO_C
='
197 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
198 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
201 if expr a
: '\(a\)' >/dev
/null
2>&1; then
207 rm -f conf$$ conf$$.exe conf$$.
file
209 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
210 # We could just check for DJGPP; but this test a) works b) is more generic
211 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
212 if test -f conf$$.exe
; then
213 # Don't use ln at all; we don't have any links
218 elif ln conf$$.
file conf$$
2>/dev
/null
; then
223 rm -f conf$$ conf$$.exe conf$$.
file
225 if mkdir
-p .
2>/dev
/null
; then
228 test -d .
/-p && rmdir .
/-p
232 as_executable_p
="test -f"
234 # Sed expression to map a string onto a valid CPP name.
235 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
237 # Sed expression to map a string onto a valid variable name.
238 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
242 # We need space, tab and new line, in precisely that order.
252 # Check that we are running under the correct shell.
253 SHELL
=${CONFIG_SHELL-/bin/sh}
257 # Remove one level of quotation (which was required for Make).
258 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
263 if test "X$1" = X--no-reexec
; then
264 # Discard the --no-reexec flag, and continue.
266 elif test "X$1" = X--fallback-echo
; then
267 # Avoid inline document here, it may be left over
269 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
270 # Yippee, $echo works!
273 # Restart under the correct shell.
274 exec $SHELL "$0" --no-reexec ${1+"$@"}
277 if test "X$1" = X--fallback-echo
; then
278 # used as fallback echo
286 # The HP-UX ksh and POSIX shell print the target directory to stdout
288 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
290 if test -z "$ECHO"; then
291 if test "X${echo_test_string+set}" != Xset
; then
292 # find a string as large as possible, as long as the shell can cope with it
293 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
294 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
295 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
296 echo_test_string
=`eval $cmd` &&
297 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
304 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
305 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
306 test "X$echo_testing_string" = "X$echo_test_string"; then
309 # The Solaris, AIX, and Digital Unix default echo programs unquote
310 # backslashes. This makes it impossible to quote backslashes using
311 # echo "$something" | sed 's/\\/\\\\/g'
313 # So, first we look for a working echo in the user's PATH.
315 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
316 for dir
in $PATH /usr
/ucb
; do
318 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
319 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
320 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
321 test "X$echo_testing_string" = "X$echo_test_string"; then
328 if test "X$echo" = Xecho
; then
329 # We didn't find a better echo, so look for alternatives.
330 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
331 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
332 test "X$echo_testing_string" = "X$echo_test_string"; then
333 # This shell has a builtin print -r that does the trick.
335 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
336 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
337 # If we have ksh, try running configure again with it.
338 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
339 export ORIGINAL_CONFIG_SHELL
340 CONFIG_SHELL
=/bin
/ksh
342 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
346 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
347 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
351 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
352 test "X$echo_testing_string" = 'X\t' &&
353 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
354 test "X$echo_testing_string" = "X$echo_test_string"; then
355 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
357 SHELL
="$CONFIG_SHELL"
359 echo="$CONFIG_SHELL $0 --fallback-echo"
360 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
361 test "X$echo_testing_string" = 'X\t' &&
362 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
363 test "X$echo_testing_string" = "X$echo_test_string"; then
364 echo="$CONFIG_SHELL $0 --fallback-echo"
366 # maybe with a smaller string...
369 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
370 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
377 if test "$prev" != 'sed 50q "$0"'; then
378 echo_test_string
=`eval $prev`
379 export echo_test_string
380 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
382 # Oops. We lost completely, so just stick with echo.
391 # Copy echo and quote the copy suitably for passing to libtool from
392 # the Makefile, instead of quoting the original, which is used later.
394 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
395 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
401 tagnames
=${tagnames+${tagnames},}CXX
403 tagnames
=${tagnames+${tagnames},}F77
406 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
407 # so uname gets run too.
408 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
415 ac_default_prefix
=/usr
/local
416 ac_config_libobj_dir
=.
421 SHELL
=${CONFIG_SHELL-/bin/sh}
423 # Maximum number of lines to put in a shell here document.
424 # This variable seems obsolete. It should probably be removed, and
425 # only ac_max_sed_lines should be used.
426 : ${ac_max_here_lines=38}
428 # Identity of this package.
430 PACKAGE_TARNAME
='lzo'
431 PACKAGE_VERSION
='2.03'
432 PACKAGE_STRING
='lzo 2.03'
433 PACKAGE_BUGREPORT
='markus@oberhumer.com'
435 ac_unique_file
="src/lzo_init.c"
436 ac_default_prefix
=/usr
/local
437 # Factoring default headers for most tests.
438 ac_includes_default
="\
441 # include <sys/types.h>
444 # include <sys/stat.h>
455 # if !STDC_HEADERS && HAVE_MEMORY_H
461 # include <strings.h>
464 # include <inttypes.h>
474 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LZO_USE_ASM_TRUE LZO_USE_ASM_FALSE LZO_ASM_VPATH LZO_CPPFLAGS LZO_EXTRA_CPPFLAGS LZO_CFLAGS LZO_EXTRA_CFLAGS configure_CPPFLAGS configure_CFLAGS LIBOBJS LTLIBOBJS'
477 # Initialize some variables set by options.
479 ac_init_version
=false
480 # The variables have the same names as the options, with
481 # dashes changed to underlines.
489 program_transform_name
=s
,x
,x
,
497 # Installation directory options.
498 # These are left unexpanded so users can "make install exec_prefix=/foo"
499 # and all the variables that are supposed to be based on exec_prefix
500 # by default will actually change.
501 # Use braces instead of parens because sh, perl, etc. also accept them.
502 bindir
='${exec_prefix}/bin'
503 sbindir
='${exec_prefix}/sbin'
504 libexecdir
='${exec_prefix}/libexec'
505 datadir
='${prefix}/share'
506 sysconfdir
='${prefix}/etc'
507 sharedstatedir
='${prefix}/com'
508 localstatedir
='${prefix}/var'
509 libdir
='${exec_prefix}/lib'
510 includedir
='${prefix}/include'
511 oldincludedir
='/usr/include'
512 infodir
='${prefix}/info'
513 mandir
='${prefix}/man'
518 # If the previous option needs an argument, assign it.
519 if test -n "$ac_prev"; then
520 eval "$ac_prev=\$ac_option"
525 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
527 # Accept the important Cygnus configure options, so we can diagnose typos.
531 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
533 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
536 -build |
--build |
--buil |
--bui |
--bu)
537 ac_prev
=build_alias
;;
538 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
539 build_alias
=$ac_optarg ;;
541 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
542 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
543 ac_prev
=cache_file
;;
544 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
545 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
546 cache_file
=$ac_optarg ;;
549 cache_file
=config.cache
;;
551 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
553 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
555 datadir
=$ac_optarg ;;
557 -disable-* |
--disable-*)
558 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
559 # Reject names that are not valid shell variable names.
560 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
561 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
562 { (exit 1); exit 1; }; }
563 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
564 eval "enable_$ac_feature=no" ;;
566 -enable-* |
--enable-*)
567 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
568 # Reject names that are not valid shell variable names.
569 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
570 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
571 { (exit 1); exit 1; }; }
572 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
574 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
577 eval "enable_$ac_feature='$ac_optarg'" ;;
579 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
580 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
581 |
--exec |
--exe |
--ex)
582 ac_prev
=exec_prefix
;;
583 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
584 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
585 |
--exec=* |
--exe=* |
--ex=*)
586 exec_prefix
=$ac_optarg ;;
588 -gas |
--gas |
--ga |
--g)
589 # Obsolete; use --with-gas.
592 -help |
--help |
--hel |
--he |
-h)
594 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
595 ac_init_help
=recursive
;;
596 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
597 ac_init_help
=short
;;
599 -host |
--host |
--hos |
--ho)
600 ac_prev
=host_alias
;;
601 -host=* |
--host=* |
--hos=* |
--ho=*)
602 host_alias
=$ac_optarg ;;
604 -includedir |
--includedir |
--includedi |
--included |
--include \
605 |
--includ |
--inclu |
--incl |
--inc)
606 ac_prev
=includedir
;;
607 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
608 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
609 includedir
=$ac_optarg ;;
611 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
613 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
614 infodir
=$ac_optarg ;;
616 -libdir |
--libdir |
--libdi |
--libd)
618 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
621 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
622 |
--libexe |
--libex |
--libe)
623 ac_prev
=libexecdir
;;
624 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
625 |
--libexe=* |
--libex=* |
--libe=*)
626 libexecdir
=$ac_optarg ;;
628 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
629 |
--localstate |
--localstat |
--localsta |
--localst \
630 |
--locals |
--local |
--loca |
--loc |
--lo)
631 ac_prev
=localstatedir
;;
632 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
633 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
634 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
635 localstatedir
=$ac_optarg ;;
637 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
639 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
643 # Obsolete; use --without-fp.
646 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
647 |
--no-cr |
--no-c |
-n)
650 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
651 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
654 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
655 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
656 |
--oldin |
--oldi |
--old |
--ol |
--o)
657 ac_prev
=oldincludedir
;;
658 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
659 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
660 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
661 oldincludedir
=$ac_optarg ;;
663 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
665 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
668 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
669 |
--program-pre |
--program-pr |
--program-p)
670 ac_prev
=program_prefix
;;
671 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
672 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
673 program_prefix
=$ac_optarg ;;
675 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
676 |
--program-suf |
--program-su |
--program-s)
677 ac_prev
=program_suffix
;;
678 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
679 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
680 program_suffix
=$ac_optarg ;;
682 -program-transform-name |
--program-transform-name \
683 |
--program-transform-nam |
--program-transform-na \
684 |
--program-transform-n |
--program-transform- \
685 |
--program-transform |
--program-transfor \
686 |
--program-transfo |
--program-transf \
687 |
--program-trans |
--program-tran \
688 |
--progr-tra |
--program-tr |
--program-t)
689 ac_prev
=program_transform_name
;;
690 -program-transform-name=* |
--program-transform-name=* \
691 |
--program-transform-nam=* |
--program-transform-na=* \
692 |
--program-transform-n=* |
--program-transform-=* \
693 |
--program-transform=* |
--program-transfor=* \
694 |
--program-transfo=* |
--program-transf=* \
695 |
--program-trans=* |
--program-tran=* \
696 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
697 program_transform_name
=$ac_optarg ;;
699 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
700 |
-silent |
--silent |
--silen |
--sile |
--sil)
703 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
705 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
707 sbindir
=$ac_optarg ;;
709 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
710 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
711 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
713 ac_prev
=sharedstatedir
;;
714 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
715 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
716 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
718 sharedstatedir
=$ac_optarg ;;
720 -site |
--site |
--sit)
722 -site=* |
--site=* |
--sit=*)
725 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
727 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
730 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
731 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
732 ac_prev
=sysconfdir
;;
733 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
734 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
735 sysconfdir
=$ac_optarg ;;
737 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
738 ac_prev
=target_alias
;;
739 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
740 target_alias
=$ac_optarg ;;
742 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
745 -version |
--version |
--versio |
--versi |
--vers |
-V)
749 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package
=`echo $ac_package| sed 's/-/_/g'`
756 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
759 eval "with_$ac_package='$ac_optarg'" ;;
761 -without-* |
--without-*)
762 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
763 # Reject names that are not valid shell variable names.
764 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
765 { echo "$as_me: error: invalid package name: $ac_package" >&2
766 { (exit 1); exit 1; }; }
767 ac_package
=`echo $ac_package | sed 's/-/_/g'`
768 eval "with_$ac_package=no" ;;
771 # Obsolete; use --with-x.
774 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
775 |
--x-incl |
--x-inc |
--x-in |
--x-i)
776 ac_prev
=x_includes
;;
777 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
778 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
779 x_includes
=$ac_optarg ;;
781 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
782 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
783 ac_prev
=x_libraries
;;
784 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
785 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
786 x_libraries
=$ac_optarg ;;
788 -*) { echo "$as_me: error: unrecognized option: $ac_option
789 Try \`$0 --help' for more information." >&2
790 { (exit 1); exit 1; }; }
794 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
797 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
798 { (exit 1); exit 1; }; }
799 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
800 eval "$ac_envvar='$ac_optarg'"
804 # FIXME: should be removed in autoconf 3.0.
805 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
806 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
807 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
808 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
814 if test -n "$ac_prev"; then
815 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
816 { echo "$as_me: error: missing argument to $ac_option" >&2
817 { (exit 1); exit 1; }; }
820 # Be sure to have absolute paths.
821 for ac_var
in exec_prefix prefix
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # Be sure to have absolute paths.
832 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
833 localstatedir libdir includedir oldincludedir infodir mandir
835 eval ac_val
=$
`echo $ac_var`
837 [\\/$
]* | ?
:[\\/]* ) ;;
838 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
839 { (exit 1); exit 1; }; };;
843 # There might be people who depend on the old broken behavior: `$host'
844 # used to hold the argument of --host etc.
845 # FIXME: To remove some day.
850 # FIXME: To remove some day.
851 if test "x$host_alias" != x
; then
852 if test "x$build_alias" = x
; then
853 cross_compiling
=maybe
854 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
855 If a cross compiler is detected then cross compile mode will be used." >&2
856 elif test "x$build_alias" != "x$host_alias"; then
862 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
864 test "$silent" = yes && exec 6>/dev
/null
867 # Find the source files, if location was not specified.
868 if test -z "$srcdir"; then
869 ac_srcdir_defaulted
=yes
870 # Try the directory containing this script, then its parent.
871 ac_confdir
=`(dirname "$0") 2>/dev/null ||
872 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
873 X"$0" : 'X\(//\)[^/]' \| \
874 X"$0" : 'X\(//\)$' \| \
875 X"$0" : 'X\(/\)' \| \
876 . : '\(.\)' 2>/dev/null ||
878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
879 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
880 /^X\(\/\/\)$/{ s//\1/; q; }
881 /^X\(\/\).*/{ s//\1/; q; }
884 if test ! -r $srcdir/$ac_unique_file; then
888 ac_srcdir_defaulted
=no
890 if test ! -r $srcdir/$ac_unique_file; then
891 if test "$ac_srcdir_defaulted" = yes; then
892 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
893 { (exit 1); exit 1; }; }
895 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
896 { (exit 1); exit 1; }; }
899 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
900 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
901 { (exit 1); exit 1; }; }
902 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
903 ac_env_build_alias_set
=${build_alias+set}
904 ac_env_build_alias_value
=$build_alias
905 ac_cv_env_build_alias_set
=${build_alias+set}
906 ac_cv_env_build_alias_value
=$build_alias
907 ac_env_host_alias_set
=${host_alias+set}
908 ac_env_host_alias_value
=$host_alias
909 ac_cv_env_host_alias_set
=${host_alias+set}
910 ac_cv_env_host_alias_value
=$host_alias
911 ac_env_target_alias_set
=${target_alias+set}
912 ac_env_target_alias_value
=$target_alias
913 ac_cv_env_target_alias_set
=${target_alias+set}
914 ac_cv_env_target_alias_value
=$target_alias
915 ac_env_CC_set
=${CC+set}
917 ac_cv_env_CC_set
=${CC+set}
918 ac_cv_env_CC_value
=$CC
919 ac_env_CFLAGS_set
=${CFLAGS+set}
920 ac_env_CFLAGS_value
=$CFLAGS
921 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
922 ac_cv_env_CFLAGS_value
=$CFLAGS
923 ac_env_LDFLAGS_set
=${LDFLAGS+set}
924 ac_env_LDFLAGS_value
=$LDFLAGS
925 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
926 ac_cv_env_LDFLAGS_value
=$LDFLAGS
927 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
928 ac_env_CPPFLAGS_value
=$CPPFLAGS
929 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
930 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
931 ac_env_CPP_set
=${CPP+set}
932 ac_env_CPP_value
=$CPP
933 ac_cv_env_CPP_set
=${CPP+set}
934 ac_cv_env_CPP_value
=$CPP
935 ac_env_CXX_set
=${CXX+set}
936 ac_env_CXX_value
=$CXX
937 ac_cv_env_CXX_set
=${CXX+set}
938 ac_cv_env_CXX_value
=$CXX
939 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
940 ac_env_CXXFLAGS_value
=$CXXFLAGS
941 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
942 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
943 ac_env_CXXCPP_set
=${CXXCPP+set}
944 ac_env_CXXCPP_value
=$CXXCPP
945 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
946 ac_cv_env_CXXCPP_value
=$CXXCPP
947 ac_env_F77_set
=${F77+set}
948 ac_env_F77_value
=$F77
949 ac_cv_env_F77_set
=${F77+set}
950 ac_cv_env_F77_value
=$F77
951 ac_env_FFLAGS_set
=${FFLAGS+set}
952 ac_env_FFLAGS_value
=$FFLAGS
953 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
954 ac_cv_env_FFLAGS_value
=$FFLAGS
957 # Report the --help message.
959 if test "$ac_init_help" = "long"; then
960 # Omit some internal or obsolete options to make the list less imposing.
961 # This message is too long to be a string in the A/UX 3.1 sh.
963 \`configure' configures lzo 2.03 to adapt to many kinds of systems.
965 Usage: $0 [OPTION]... [VAR=VALUE]...
967 To assign environment variables (e.g., CC, CFLAGS...), specify them as
968 VAR=VALUE. See below for descriptions of some of the useful variables.
970 Defaults for the options are specified in brackets.
973 -h, --help display this help and exit
974 --help=short display options specific to this package
975 --help=recursive display the short help of all the included packages
976 -V, --version display version information and exit
977 -q, --quiet, --silent do not print \`checking...' messages
978 --cache-file=FILE cache test results in FILE [disabled]
979 -C, --config-cache alias for \`--cache-file=config.cache'
980 -n, --no-create do not create output files
981 --srcdir=DIR find the sources in DIR [configure dir or \`..']
986 Installation directories:
987 --prefix=PREFIX install architecture-independent files in PREFIX
989 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
992 By default, \`make install' will install all the files in
993 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
994 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
995 for instance \`--prefix=\$HOME'.
997 For better control, use the options below.
999 Fine tuning of the installation directories:
1000 --bindir=DIR user executables [EPREFIX/bin]
1001 --sbindir=DIR system admin executables [EPREFIX/sbin]
1002 --libexecdir=DIR program executables [EPREFIX/libexec]
1003 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1004 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1005 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1006 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1007 --libdir=DIR object code libraries [EPREFIX/lib]
1008 --includedir=DIR C header files [PREFIX/include]
1009 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1010 --infodir=DIR info documentation [PREFIX/info]
1011 --mandir=DIR man documentation [PREFIX/man]
1017 --program-prefix=PREFIX prepend PREFIX to installed program names
1018 --program-suffix=SUFFIX append SUFFIX to installed program names
1019 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1022 --build=BUILD configure
for building on BUILD
[guessed
]
1023 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1024 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1028 if test -n "$ac_init_help"; then
1029 case $ac_init_help in
1030 short | recursive
) echo "Configuration of lzo 2.03:";;
1035 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1036 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1037 --enable-maintainer-mode enable make rules and dependencies not useful
1038 (and sometimes confusing
) to the casual installer
1039 --disable-largefile omit support
for large files
1040 --disable-dependency-tracking speeds up one-time build
1041 --enable-dependency-tracking do not reject slow dependency extractors
1042 --enable-static[=PKGS
]
1043 build static libraries
[default
=yes]
1044 --enable-shared[=PKGS
]
1045 build shared libraries
[default
=no
]
1046 --enable-fast-install[=PKGS
]
1047 optimize
for fast installation
[default
=yes]
1048 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1049 --disable-asm disable assembly versions
1052 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1053 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1054 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1055 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1058 include additional configurations
[automatic
]
1060 Some influential environment variables
:
1061 CC C compiler
command
1062 CFLAGS C compiler flags
1063 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1064 nonstandard directory
<lib dir
>
1065 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1066 headers
in a nonstandard directory
<include dir
>
1068 CXX C
++ compiler
command
1069 CXXFLAGS C
++ compiler flags
1070 CXXCPP C
++ preprocessor
1071 F77 Fortran
77 compiler
command
1072 FFLAGS Fortran
77 compiler flags
1074 Use these variables to override the choices made by
`configure' or to help
1075 it to find libraries and programs with nonstandard names/locations.
1077 Report bugs to <markus@oberhumer.com>.
1081 if test "$ac_init_help" = "recursive"; then
1082 # If there are subdirs, report their specific --help.
1084 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1085 test -d $ac_dir || continue
1088 if test "$ac_dir" != .; then
1089 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1090 # A "../" for each directory in $ac_dir_suffix.
1091 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1093 ac_dir_suffix= ac_top_builddir=
1097 .) # No --srcdir option. We are building in place.
1099 if test -z "$ac_top_builddir"; then
1102 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1104 [\\/]* | ?:[\\/]* ) # Absolute path.
1105 ac_srcdir=$srcdir$ac_dir_suffix;
1106 ac_top_srcdir=$srcdir ;;
1108 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1109 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1112 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1113 # the directories may not exist.
1115 .) ac_abs_builddir="$ac_dir";;
1118 .) ac_abs_builddir=`pwd`;;
1119 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1120 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1123 case $ac_abs_builddir in
1124 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1126 case ${ac_top_builddir}. in
1127 .) ac_abs_top_builddir=$ac_abs_builddir;;
1128 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1129 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1132 case $ac_abs_builddir in
1133 .) ac_abs_srcdir=$ac_srcdir;;
1136 .) ac_abs_srcdir=$ac_abs_builddir;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1138 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1144 case $ac_top_srcdir in
1145 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1147 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1152 # Check for guested configure; otherwise get Cygnus style configure.
1153 if test -f $ac_srcdir/configure.gnu; then
1155 $SHELL $ac_srcdir/configure.gnu --help=recursive
1156 elif test -f $ac_srcdir/configure; then
1158 $SHELL $ac_srcdir/configure --help=recursive
1159 elif test -f $ac_srcdir/configure.ac ||
1160 test -f $ac_srcdir/configure.in; then
1162 $ac_configure --help
1164 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1170 test -n "$ac_init_help" && exit 0
1171 if $ac_init_version; then
1174 generated by GNU Autoconf 2.59
1176 Copyright (C) 2003 Free Software Foundation, Inc.
1177 This configure script is free software; the Free Software Foundation
1178 gives unlimited permission to copy, distribute and modify it.
1180 Copyright (C) 1996-2008 Markus Franz Xaver Johannes Oberhumer.
1181 All Rights Reserved.
1182 This configure script may be copied, distributed and modified under the
1183 terms of the GNU General Public License; see COPYING for more details.
1189 This file contains any messages produced by compilers while
1190 running configure, to aid debugging if configure makes a mistake.
1192 It was created by lzo $as_me 2.03, which was
1193 generated by GNU Autoconf 2.59. Invocation command line was
1204 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1205 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1206 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1207 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1208 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1210 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1211 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1213 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1214 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1215 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1216 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1217 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1218 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1219 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1227 test -z "$as_dir" && as_dir=.
1228 echo "PATH: $as_dir"
1243 # Keep a trace of the command line.
1244 # Strip out --no-create and --no-recursion so they do not pile up.
1245 # Strip out --silent because we don't want to record it for future runs.
1246 # Also quote any args containing shell meta-characters.
1247 # Make two passes to allow for proper duplicate-argument suppression.
1252 ac_must_keep_next=false
1258 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1260 | -silent | --silent | --silen | --sile | --sil)
1262 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1263 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1266 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1268 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1269 if test $ac_must_keep_next = true; then
1270 ac_must_keep_next=false # Got value, back to normal.
1273 *=* | --config-cache | -C | -disable-* | --disable-* \
1274 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1275 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1276 | -with-* | --with-* | -without-* | --without-* | --x)
1277 case "$ac_configure_args0 " in
1278 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1281 -* ) ac_must_keep_next=true ;;
1284 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1285 # Get rid of the leading space.
1291 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1292 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1294 # When interrupted or exit'd, cleanup temporary files, and complete
1295 # config.log. We remove comments because anyway the quotes in there
1296 # would cause problems or look ugly.
1297 # WARNING: Be sure not to use single quotes in there, as some shells,
1298 # such as our DU 5.0 friend, will then `close
' the trap.
1299 trap 'exit_status
=$?
1300 # Save into config.log some information that might help in debugging.
1305 ## ---------------- ##
1306 ## Cache variables. ##
1307 ## ---------------- ##
1310 # The following way of writing the cache mishandles newlines in values,
1313 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1316 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1317 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1321 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1328 ## ----------------- ##
1329 ## Output variables. ##
1330 ## ----------------- ##
1333 for ac_var
in $ac_subst_vars
1335 eval ac_val
=$
`echo $ac_var`
1336 echo "$ac_var='"'"'$ac_val'"'"'"
1340 if test -n "$ac_subst_files"; then
1347 for ac_var
in $ac_subst_files
1349 eval ac_val
=$
`echo $ac_var`
1350 echo "$ac_var='"'"'$ac_val'"'"'"
1355 if test -s confdefs.h
; then
1362 sed "/^$/d" confdefs.h |
sort
1365 test "$ac_signal" != 0 &&
1366 echo "$as_me: caught signal $ac_signal"
1367 echo "$as_me: exit $exit_status"
1369 rm -f core
*.core
&&
1370 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1373 for ac_signal in 1 2 13 15; do
1374 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1378 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1379 rm -rf conftest* confdefs.h
1380 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1383 # Predefined preprocessor variables.
1385 cat >>confdefs.h <<_ACEOF
1386 #define PACKAGE_NAME "$PACKAGE_NAME"
1390 cat >>confdefs.h <<_ACEOF
1391 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1395 cat >>confdefs.h <<_ACEOF
1396 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1400 cat >>confdefs.h <<_ACEOF
1401 #define PACKAGE_STRING "$PACKAGE_STRING"
1405 cat >>confdefs.h <<_ACEOF
1406 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1410 # Let the site file select an alternate cache file if it wants to.
1411 # Prefer explicitly selected file to automatically selected ones.
1412 if test -z "$CONFIG_SITE"; then
1413 if test "x$prefix" != xNONE; then
1414 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1416 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1419 for ac_site_file in $CONFIG_SITE; do
1420 if test -r "$ac_site_file"; then
1421 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1422 echo "$as_me: loading site script $ac_site_file" >&6;}
1423 sed 's
/^
/|
/' "$ac_site_file" >&5
1428 if test -r "$cache_file"; then
1429 # Some versions of bash will fail to source /dev/null (special
1430 # files actually), so we avoid doing that.
1431 if test -f "$cache_file"; then
1432 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1433 echo "$as_me: loading cache $cache_file" >&6;}
1435 [\\/]* | ?:[\\/]* ) . $cache_file;;
1436 *) . ./$cache_file;;
1440 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1441 echo "$as_me: creating cache $cache_file" >&6;}
1445 # Check that the precious variables saved in the cache have kept the same
1447 ac_cache_corrupted=false
1448 for ac_var in `(set) 2>&1 |
1449 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1450 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1451 eval ac_new_set=\$ac_env_${ac_var}_set
1452 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1453 eval ac_new_val="\$ac_env_${ac_var}_value"
1454 case $ac_old_set,$ac_new_set in
1456 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1457 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1458 ac_cache_corrupted=: ;;
1460 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1461 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1462 ac_cache_corrupted=: ;;
1465 if test "x$ac_old_val" != "x$ac_new_val"; then
1466 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1467 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1468 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1469 echo "$as_me: former value: $ac_old_val" >&2;}
1470 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1471 echo "$as_me: current value: $ac_new_val" >&2;}
1472 ac_cache_corrupted=:
1475 # Pass precious variables to config.status.
1476 if test "$ac_new_set" = set; then
1478 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1479 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1480 *) ac_arg=$ac_var=$ac_new_val ;;
1482 case " $ac_configure_args " in
1483 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1484 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1488 if $ac_cache_corrupted; then
1489 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1490 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1491 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1492 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1493 { (exit 1); exit 1; }; }
1497 ac_cpp='$CPP $CPPFLAGS'
1498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1499 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1528 { echo "$as_me:$LINENO: Configuring LZO $PACKAGE_VERSION" >&5
1529 echo "$as_me: Configuring LZO $PACKAGE_VERSION" >&6;}
1532 for ac_dir in autoconf $srcdir/autoconf; do
1533 if test -f $ac_dir/install-sh; then
1535 ac_install_sh="$ac_aux_dir/install-sh -c"
1537 elif test -f $ac_dir/install.sh; then
1539 ac_install_sh="$ac_aux_dir/install.sh -c"
1541 elif test -f $ac_dir/shtool; then
1543 ac_install_sh="$ac_aux_dir/shtool install -c"
1547 if test -z "$ac_aux_dir"; then
1548 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1549 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1550 { (exit 1); exit 1; }; }
1552 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1553 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1554 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1557 # Make sure we can run config.sub.
1558 $ac_config_sub sun4 >/dev/null 2>&1 ||
1559 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1560 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1561 { (exit 1); exit 1; }; }
1563 echo "$as_me:$LINENO: checking build system type" >&5
1564 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1565 if test "${ac_cv_build+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1568 ac_cv_build_alias=$build_alias
1569 test -z "$ac_cv_build_alias" &&
1570 ac_cv_build_alias=`$ac_config_guess`
1571 test -z "$ac_cv_build_alias" &&
1572 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1573 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1574 { (exit 1); exit 1; }; }
1575 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1577 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1581 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1582 echo "${ECHO_T}$ac_cv_build" >&6
1584 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1585 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1586 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1589 echo "$as_me:$LINENO: checking host system type" >&5
1590 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1591 if test "${ac_cv_host+set}" = set; then
1592 echo $ECHO_N "(cached) $ECHO_C" >&6
1594 ac_cv_host_alias=$host_alias
1595 test -z "$ac_cv_host_alias" &&
1596 ac_cv_host_alias=$ac_cv_build_alias
1597 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1603 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1604 echo "${ECHO_T}$ac_cv_host" >&6
1606 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1607 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1608 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1611 echo "$as_me:$LINENO: checking target system type" >&5
1612 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1613 if test "${ac_cv_target+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 ac_cv_target_alias=$target_alias
1617 test "x$ac_cv_target_alias" = "x" &&
1618 ac_cv_target_alias=$ac_cv_host_alias
1619 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1625 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1626 echo "${ECHO_T}$ac_cv_target" >&6
1627 target=$ac_cv_target
1628 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1629 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1630 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1633 # The aliases save the names the user supplied, while $host etc.
1634 # will get canonicalized.
1635 test -n "$target_alias" &&
1636 test "$program_prefix$program_suffix$program_transform_name" = \
1638 program_prefix=${target_alias}-
1639 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1640 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1641 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1642 if test "${enable_maintainer_mode+set}" = set; then
1643 enableval="$enable_maintainer_mode"
1644 USE_MAINTAINER_MODE=$enableval
1646 USE_MAINTAINER_MODE=no
1648 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1649 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1652 if test $USE_MAINTAINER_MODE = yes; then
1653 MAINTAINER_MODE_TRUE=
1654 MAINTAINER_MODE_FALSE='#'
1656 MAINTAINER_MODE_TRUE
='#'
1657 MAINTAINER_MODE_FALSE
=
1660 MAINT
=$MAINTAINER_MODE_TRUE
1664 if test -z "$ac_abs_top_srcdir"; then
1667 if test .
!= .
; then
1668 ac_dir_suffix
=/`echo . | sed 's,^\.[\\/],,'`
1669 # A "../" for each directory in $ac_dir_suffix.
1670 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1672 ac_dir_suffix
= ac_top_builddir
=
1676 .
) # No --srcdir option. We are building in place.
1678 if test -z "$ac_top_builddir"; then
1681 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1683 [\\/]* | ?
:[\\/]* ) # Absolute path.
1684 ac_srcdir
=$srcdir$ac_dir_suffix;
1685 ac_top_srcdir
=$srcdir ;;
1687 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1688 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1691 # Do not use `cd foo && pwd` to compute absolute paths, because
1692 # the directories may not exist.
1694 .
) ac_abs_builddir
=.
;;
1697 .
) ac_abs_builddir
=`pwd`;;
1698 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
=.
;;
1699 *) ac_abs_builddir
=`pwd`/.
;;
1702 case $ac_abs_builddir in
1703 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1705 case ${ac_top_builddir}.
in
1706 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1707 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1708 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1711 case $ac_abs_builddir in
1712 .
) ac_abs_srcdir
=$ac_srcdir;;
1715 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1716 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1717 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1720 case $ac_abs_builddir in
1721 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1723 case $ac_top_srcdir in
1724 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1725 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1726 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1731 if test -r .Conf.settings1
; then
1736 ac_cpp
='$CPP $CPPFLAGS'
1737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1740 if test -n "$ac_tool_prefix"; then
1741 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1742 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1743 echo "$as_me:$LINENO: checking for $ac_word" >&5
1744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1745 if test "${ac_cv_prog_CC+set}" = set; then
1746 echo $ECHO_N "(cached) $ECHO_C" >&6
1748 if test -n "$CC"; then
1749 ac_cv_prog_CC
="$CC" # Let the user override the test.
1751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1755 test -z "$as_dir" && as_dir
=.
1756 for ac_exec_ext
in '' $ac_executable_extensions; do
1757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1758 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1768 if test -n "$CC"; then
1769 echo "$as_me:$LINENO: result: $CC" >&5
1770 echo "${ECHO_T}$CC" >&6
1772 echo "$as_me:$LINENO: result: no" >&5
1773 echo "${ECHO_T}no" >&6
1777 if test -z "$ac_cv_prog_CC"; then
1779 # Extract the first word of "gcc", so it can be a program name with args.
1780 set dummy gcc
; ac_word
=$2
1781 echo "$as_me:$LINENO: checking for $ac_word" >&5
1782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1783 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1784 echo $ECHO_N "(cached) $ECHO_C" >&6
1786 if test -n "$ac_ct_CC"; then
1787 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1793 test -z "$as_dir" && as_dir
=.
1794 for ac_exec_ext
in '' $ac_executable_extensions; do
1795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1796 ac_cv_prog_ac_ct_CC
="gcc"
1797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1805 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1806 if test -n "$ac_ct_CC"; then
1807 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1808 echo "${ECHO_T}$ac_ct_CC" >&6
1810 echo "$as_me:$LINENO: result: no" >&5
1811 echo "${ECHO_T}no" >&6
1819 if test -z "$CC"; then
1820 if test -n "$ac_tool_prefix"; then
1821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1822 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1823 echo "$as_me:$LINENO: checking for $ac_word" >&5
1824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1825 if test "${ac_cv_prog_CC+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6
1828 if test -n "$CC"; then
1829 ac_cv_prog_CC
="$CC" # Let the user override the test.
1831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1835 test -z "$as_dir" && as_dir
=.
1836 for ac_exec_ext
in '' $ac_executable_extensions; do
1837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 if test -n "$CC"; then
1849 echo "$as_me:$LINENO: result: $CC" >&5
1850 echo "${ECHO_T}$CC" >&6
1852 echo "$as_me:$LINENO: result: no" >&5
1853 echo "${ECHO_T}no" >&6
1857 if test -z "$ac_cv_prog_CC"; then
1859 # Extract the first word of "cc", so it can be a program name with args.
1860 set dummy cc
; ac_word
=$2
1861 echo "$as_me:$LINENO: checking for $ac_word" >&5
1862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1863 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1864 echo $ECHO_N "(cached) $ECHO_C" >&6
1866 if test -n "$ac_ct_CC"; then
1867 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1873 test -z "$as_dir" && as_dir
=.
1874 for ac_exec_ext
in '' $ac_executable_extensions; do
1875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1876 ac_cv_prog_ac_ct_CC
="cc"
1877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1885 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1886 if test -n "$ac_ct_CC"; then
1887 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1888 echo "${ECHO_T}$ac_ct_CC" >&6
1890 echo "$as_me:$LINENO: result: no" >&5
1891 echo "${ECHO_T}no" >&6
1900 if test -z "$CC"; then
1901 # Extract the first word of "cc", so it can be a program name with args.
1902 set dummy cc
; ac_word
=$2
1903 echo "$as_me:$LINENO: checking for $ac_word" >&5
1904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1905 if test "${ac_cv_prog_CC+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 if test -n "$CC"; then
1909 ac_cv_prog_CC
="$CC" # Let the user override the test.
1912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1916 test -z "$as_dir" && as_dir
=.
1917 for ac_exec_ext
in '' $ac_executable_extensions; do
1918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1919 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1920 ac_prog_rejected
=yes
1924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1930 if test $ac_prog_rejected = yes; then
1931 # We found a bogon in the path, so make sure we never use it.
1932 set dummy
$ac_cv_prog_CC
1934 if test $# != 0; then
1935 # We chose a different compiler from the bogus one.
1936 # However, it has the same basename, so the bogon will be chosen
1937 # first if we set CC to just the basename; use the full file name.
1939 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1945 if test -n "$CC"; then
1946 echo "$as_me:$LINENO: result: $CC" >&5
1947 echo "${ECHO_T}$CC" >&6
1949 echo "$as_me:$LINENO: result: no" >&5
1950 echo "${ECHO_T}no" >&6
1954 if test -z "$CC"; then
1955 if test -n "$ac_tool_prefix"; then
1958 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1959 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1960 echo "$as_me:$LINENO: checking for $ac_word" >&5
1961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1962 if test "${ac_cv_prog_CC+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
1965 if test -n "$CC"; then
1966 ac_cv_prog_CC
="$CC" # Let the user override the test.
1968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1972 test -z "$as_dir" && as_dir
=.
1973 for ac_exec_ext
in '' $ac_executable_extensions; do
1974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1975 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1985 if test -n "$CC"; then
1986 echo "$as_me:$LINENO: result: $CC" >&5
1987 echo "${ECHO_T}$CC" >&6
1989 echo "$as_me:$LINENO: result: no" >&5
1990 echo "${ECHO_T}no" >&6
1993 test -n "$CC" && break
1996 if test -z "$CC"; then
2000 # Extract the first word of "$ac_prog", so it can be a program name with args.
2001 set dummy
$ac_prog; ac_word
=$2
2002 echo "$as_me:$LINENO: checking for $ac_word" >&5
2003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2004 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2007 if test -n "$ac_ct_CC"; then
2008 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2014 test -z "$as_dir" && as_dir
=.
2015 for ac_exec_ext
in '' $ac_executable_extensions; do
2016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2017 ac_cv_prog_ac_ct_CC
="$ac_prog"
2018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2027 if test -n "$ac_ct_CC"; then
2028 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2029 echo "${ECHO_T}$ac_ct_CC" >&6
2031 echo "$as_me:$LINENO: result: no" >&5
2032 echo "${ECHO_T}no" >&6
2035 test -n "$ac_ct_CC" && break
2044 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2045 See \`config.log' for more details." >&5
2046 echo "$as_me: error: no acceptable C compiler found in \$PATH
2047 See \`config.log' for more details." >&2;}
2048 { (exit 1); exit 1; }; }
2050 # Provide some information about the compiler.
2051 echo "$as_me:$LINENO:" \
2052 "checking for C compiler version" >&5
2053 ac_compiler
=`set X $ac_compile; echo $2`
2054 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2055 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); }
2059 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2060 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2063 (exit $ac_status); }
2064 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2065 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068 (exit $ac_status); }
2070 cat >conftest.
$ac_ext <<_ACEOF
2073 cat confdefs.h
>>conftest.
$ac_ext
2074 cat >>conftest.
$ac_ext <<_ACEOF
2075 /* end confdefs.h. */
2085 ac_clean_files_save
=$ac_clean_files
2086 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2087 # Try to create an executable without -o first, disregard a.out.
2088 # It will help us diagnose broken compilers, and finding out an intuition
2090 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2091 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2092 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2093 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2094 (eval $ac_link_default) 2>&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; then
2098 # Find the output, starting from the most likely. This scheme is
2099 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2102 # Be careful to initialize this variable, since it used to be cached.
2103 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2105 # b.out is created by i960 compilers.
2106 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2108 test -f "$ac_file" ||
continue
2110 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2113 # This is the source file.
2116 # We found the default executable, but exeext='' is most
2120 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2121 # FIXME: I believe we export ac_cv_exeext for Libtool,
2122 # but it would be cool to find out if it's true. Does anybody
2123 # maintain Libtool? --akim.
2131 echo "$as_me: failed program was:" >&5
2132 sed 's/^/| /' conftest.
$ac_ext >&5
2134 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2135 See \`config.log' for more details." >&5
2136 echo "$as_me: error: C compiler cannot create executables
2137 See \`config.log' for more details." >&2;}
2138 { (exit 77); exit 77; }; }
2141 ac_exeext
=$ac_cv_exeext
2142 echo "$as_me:$LINENO: result: $ac_file" >&5
2143 echo "${ECHO_T}$ac_file" >&6
2145 # Check the compiler produces executables we can run. If not, either
2146 # the compiler is broken, or we cross compile.
2147 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2148 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2149 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2150 # If not cross compiling, check that we can run a simple program.
2151 if test "$cross_compiling" != yes; then
2152 if { ac_try
='./$ac_file'
2153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; }; then
2160 if test "$cross_compiling" = maybe
; then
2163 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2164 If you meant to cross compile, use \`--host'.
2165 See \`config.log' for more details." >&5
2166 echo "$as_me: error: cannot run C compiled programs.
2167 If you meant to cross compile, use \`--host'.
2168 See \`config.log' for more details." >&2;}
2169 { (exit 1); exit 1; }; }
2173 echo "$as_me:$LINENO: result: yes" >&5
2174 echo "${ECHO_T}yes" >&6
2176 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2177 ac_clean_files
=$ac_clean_files_save
2178 # Check the compiler produces executables we can run. If not, either
2179 # the compiler is broken, or we cross compile.
2180 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2181 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2182 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2183 echo "${ECHO_T}$cross_compiling" >&6
2185 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2186 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2188 (eval $ac_link) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; then
2192 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2193 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2194 # work properly (i.e., refer to `conftest.exe'), while it won't with
2196 for ac_file
in conftest.exe conftest conftest.
*; do
2197 test -f "$ac_file" ||
continue
2199 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2200 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2207 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2208 See \`config.log' for more details." >&5
2209 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2210 See \`config.log' for more details." >&2;}
2211 { (exit 1); exit 1; }; }
2214 rm -f conftest
$ac_cv_exeext
2215 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2216 echo "${ECHO_T}$ac_cv_exeext" >&6
2218 rm -f conftest.
$ac_ext
2219 EXEEXT
=$ac_cv_exeext
2221 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2222 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2223 if test "${ac_cv_objext+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 cat >conftest.
$ac_ext <<_ACEOF
2229 cat confdefs.h
>>conftest.
$ac_ext
2230 cat >>conftest.
$ac_ext <<_ACEOF
2231 /* end confdefs.h. */
2241 rm -f conftest.o conftest.obj
2242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2243 (eval $ac_compile) 2>&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; then
2247 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2249 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2250 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2255 echo "$as_me: failed program was:" >&5
2256 sed 's/^/| /' conftest.
$ac_ext >&5
2258 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2259 See \`config.log' for more details." >&5
2260 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2261 See \`config.log' for more details." >&2;}
2262 { (exit 1); exit 1; }; }
2265 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2267 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2268 echo "${ECHO_T}$ac_cv_objext" >&6
2269 OBJEXT
=$ac_cv_objext
2271 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2272 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2273 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 cat >conftest.
$ac_ext <<_ACEOF
2279 cat confdefs.h
>>conftest.
$ac_ext
2280 cat >>conftest.
$ac_ext <<_ACEOF
2281 /* end confdefs.h. */
2294 rm -f conftest.
$ac_objext
2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2296 (eval $ac_compile) 2>conftest.er1
2298 grep -v '^ *+' conftest.er1
>conftest.err
2300 cat conftest.err
>&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); } &&
2303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }; } &&
2309 { ac_try
='test -s conftest.$ac_objext'
2310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }; }; then
2317 echo "$as_me: failed program was:" >&5
2318 sed 's/^/| /' conftest.
$ac_ext >&5
2322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2323 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2326 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2327 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2328 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2329 ac_test_CFLAGS
=${CFLAGS+set}
2330 ac_save_CFLAGS
=$CFLAGS
2332 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2333 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2334 if test "${ac_cv_prog_cc_g+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2337 cat >conftest.
$ac_ext <<_ACEOF
2340 cat confdefs.h
>>conftest.
$ac_ext
2341 cat >>conftest.
$ac_ext <<_ACEOF
2342 /* end confdefs.h. */
2352 rm -f conftest.
$ac_objext
2353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2354 (eval $ac_compile) 2>conftest.er1
2356 grep -v '^ *+' conftest.er1
>conftest.err
2358 cat conftest.err
>&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); } &&
2361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }; } &&
2367 { ac_try
='test -s conftest.$ac_objext'
2368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; }; then
2375 echo "$as_me: failed program was:" >&5
2376 sed 's/^/| /' conftest.
$ac_ext >&5
2380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2382 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2383 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2384 if test "$ac_test_CFLAGS" = set; then
2385 CFLAGS
=$ac_save_CFLAGS
2386 elif test $ac_cv_prog_cc_g = yes; then
2387 if test "$GCC" = yes; then
2393 if test "$GCC" = yes; then
2399 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2400 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2401 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2404 ac_cv_prog_cc_stdc
=no
2406 cat >conftest.
$ac_ext <<_ACEOF
2409 cat confdefs.h
>>conftest.
$ac_ext
2410 cat >>conftest.
$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2414 #include <sys/types.h>
2415 #include <sys/stat.h>
2416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2417 struct buf { int x; };
2418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2419 static char *e (p, i)
2425 static char *f (char * (*g) (char **, int), char **p, ...)
2430 s = g (p, va_arg (v,int));
2435 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2436 function prototypes and stuff, but not '\xHH' hex character constants.
2437 These don't provoke an error unfortunately, instead are silently treated
2438 as 'x'. The following induces an error, until -std1 is added to get
2439 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2440 array size at least. It's necessary to write '\x00'==0 to get something
2441 that's true only with -std1. */
2442 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2444 int test (int i, double x);
2445 struct s1 {int (*f) (int a);};
2446 struct s2 {int (*f) (double a);};
2447 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2453 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2458 # Don't try gcc -ansi; that turns off useful extensions and
2459 # breaks some systems' header files.
2460 # AIX -qlanglvl=ansi
2461 # Ultrix and OSF/1 -std1
2462 # HP-UX 10.20 and later -Ae
2463 # HP-UX older versions -Aa -D_HPUX_SOURCE
2464 # SVR4 -Xc -D__EXTENSIONS__
2465 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2467 CC
="$ac_save_CC $ac_arg"
2468 rm -f conftest.
$ac_objext
2469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2470 (eval $ac_compile) 2>conftest.er1
2472 grep -v '^ *+' conftest.er1
>conftest.err
2474 cat conftest.err
>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); } &&
2477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; } &&
2483 { ac_try
='test -s conftest.$ac_objext'
2484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; }; then
2489 ac_cv_prog_cc_stdc
=$ac_arg
2492 echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.
$ac_ext >&5
2496 rm -f conftest.err conftest.
$ac_objext
2498 rm -f conftest.
$ac_ext conftest.
$ac_objext
2503 case "x$ac_cv_prog_cc_stdc" in
2505 echo "$as_me:$LINENO: result: none needed" >&5
2506 echo "${ECHO_T}none needed" >&6 ;;
2508 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2509 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2510 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2513 # Some people use a C++ compiler to compile C. Since we use `exit',
2514 # in C++ we need to declare it. In case someone uses the same compiler
2515 # for both compiling C and C++ we need to have the C++ compiler decide
2516 # the declaration of exit, since it's the most demanding environment.
2517 cat >conftest.
$ac_ext <<_ACEOF
2522 rm -f conftest.
$ac_objext
2523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2524 (eval $ac_compile) 2>conftest.er1
2526 grep -v '^ *+' conftest.er1
>conftest.err
2528 cat conftest.err
>&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); } &&
2531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; } &&
2537 { ac_try
='test -s conftest.$ac_objext'
2538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; }; then
2543 for ac_declaration
in \
2545 'extern "C" void std::exit (int) throw (); using std::exit;' \
2546 'extern "C" void std::exit (int); using std::exit;' \
2547 'extern "C" void exit (int) throw ();' \
2548 'extern "C" void exit (int);' \
2551 cat >conftest.
$ac_ext <<_ACEOF
2554 cat confdefs.h
>>conftest.
$ac_ext
2555 cat >>conftest.
$ac_ext <<_ACEOF
2556 /* end confdefs.h. */
2567 rm -f conftest.
$ac_objext
2568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2569 (eval $ac_compile) 2>conftest.er1
2571 grep -v '^ *+' conftest.er1
>conftest.err
2573 cat conftest.err
>&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); } &&
2576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; } &&
2582 { ac_try
='test -s conftest.$ac_objext'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; }; then
2590 echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.
$ac_ext >&5
2595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2596 cat >conftest.
$ac_ext <<_ACEOF
2599 cat confdefs.h
>>conftest.
$ac_ext
2600 cat >>conftest.
$ac_ext <<_ACEOF
2601 /* end confdefs.h. */
2611 rm -f conftest.
$ac_objext
2612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2613 (eval $ac_compile) 2>conftest.er1
2615 grep -v '^ *+' conftest.er1
>conftest.err
2617 cat conftest.err
>&5
2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619 (exit $ac_status); } &&
2620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; } &&
2626 { ac_try
='test -s conftest.$ac_objext'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.
$ac_ext >&5
2638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2641 if test -n "$ac_declaration"; then
2642 echo '#ifdef __cplusplus' >>confdefs.h
2643 echo $ac_declaration >>confdefs.h
2644 echo '#endif' >>confdefs.h
2648 echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.
$ac_ext >&5
2652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2654 ac_cpp
='$CPP $CPPFLAGS'
2655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2660 ac_cpp
='$CPP $CPPFLAGS'
2661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2664 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2665 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2666 # On Suns, sometimes $CPP names a directory.
2667 if test -n "$CPP" && test -d "$CPP"; then
2670 if test -z "$CPP"; then
2671 if test "${ac_cv_prog_CPP+set}" = set; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2674 # Double quotes because CPP needs to be expanded
2675 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2678 for ac_c_preproc_warn_flag
in '' yes
2680 # Use a header file that comes with gcc, so configuring glibc
2681 # with a fresh cross-compiler works.
2682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2683 # <limits.h> exists even on freestanding compilers.
2684 # On the NeXT, cc -E runs the code through the compiler's parser,
2685 # not just through cpp. "Syntax error" is here to catch this case.
2686 cat >conftest.
$ac_ext <<_ACEOF
2689 cat confdefs.h
>>conftest.
$ac_ext
2690 cat >>conftest.
$ac_ext <<_ACEOF
2691 /* end confdefs.h. */
2693 # include <limits.h>
2695 # include <assert.h>
2699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2700 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2702 grep -v '^ *+' conftest.er1
>conftest.err
2704 cat conftest.err
>&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); } >/dev
/null
; then
2707 if test -s conftest.err
; then
2708 ac_cpp_err
=$ac_c_preproc_warn_flag
2709 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2716 if test -z "$ac_cpp_err"; then
2719 echo "$as_me: failed program was:" >&5
2720 sed 's/^/| /' conftest.
$ac_ext >&5
2722 # Broken: fails on valid input.
2725 rm -f conftest.err conftest.
$ac_ext
2727 # OK, works on sane cases. Now check whether non-existent headers
2728 # can be detected and how.
2729 cat >conftest.
$ac_ext <<_ACEOF
2732 cat confdefs.h
>>conftest.
$ac_ext
2733 cat >>conftest.
$ac_ext <<_ACEOF
2734 /* end confdefs.h. */
2735 #include <ac_nonexistent.h>
2737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2738 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2740 grep -v '^ *+' conftest.er1
>conftest.err
2742 cat conftest.err
>&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); } >/dev
/null
; then
2745 if test -s conftest.err
; then
2746 ac_cpp_err
=$ac_c_preproc_warn_flag
2747 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2754 if test -z "$ac_cpp_err"; then
2755 # Broken: success on invalid input.
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.
$ac_ext >&5
2761 # Passes both tests.
2765 rm -f conftest.err conftest.
$ac_ext
2768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2769 rm -f conftest.err conftest.
$ac_ext
2770 if $ac_preproc_ok; then
2782 echo "$as_me:$LINENO: result: $CPP" >&5
2783 echo "${ECHO_T}$CPP" >&6
2785 for ac_c_preproc_warn_flag
in '' yes
2787 # Use a header file that comes with gcc, so configuring glibc
2788 # with a fresh cross-compiler works.
2789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2790 # <limits.h> exists even on freestanding compilers.
2791 # On the NeXT, cc -E runs the code through the compiler's parser,
2792 # not just through cpp. "Syntax error" is here to catch this case.
2793 cat >conftest.
$ac_ext <<_ACEOF
2796 cat confdefs.h
>>conftest.
$ac_ext
2797 cat >>conftest.
$ac_ext <<_ACEOF
2798 /* end confdefs.h. */
2800 # include <limits.h>
2802 # include <assert.h>
2806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2807 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2809 grep -v '^ *+' conftest.er1
>conftest.err
2811 cat conftest.err
>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); } >/dev
/null
; then
2814 if test -s conftest.err
; then
2815 ac_cpp_err
=$ac_c_preproc_warn_flag
2816 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2823 if test -z "$ac_cpp_err"; then
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.
$ac_ext >&5
2829 # Broken: fails on valid input.
2832 rm -f conftest.err conftest.
$ac_ext
2834 # OK, works on sane cases. Now check whether non-existent headers
2835 # can be detected and how.
2836 cat >conftest.
$ac_ext <<_ACEOF
2839 cat confdefs.h
>>conftest.
$ac_ext
2840 cat >>conftest.
$ac_ext <<_ACEOF
2841 /* end confdefs.h. */
2842 #include <ac_nonexistent.h>
2844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2847 grep -v '^ *+' conftest.er1
>conftest.err
2849 cat conftest.err
>&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); } >/dev
/null
; then
2852 if test -s conftest.err
; then
2853 ac_cpp_err
=$ac_c_preproc_warn_flag
2854 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2861 if test -z "$ac_cpp_err"; then
2862 # Broken: success on invalid input.
2865 echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.
$ac_ext >&5
2868 # Passes both tests.
2872 rm -f conftest.err conftest.
$ac_ext
2875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2876 rm -f conftest.err conftest.
$ac_ext
2877 if $ac_preproc_ok; then
2880 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2881 See \`config.log' for more details." >&5
2882 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2883 See \`config.log' for more details." >&2;}
2884 { (exit 1); exit 1; }; }
2888 ac_cpp
='$CPP $CPPFLAGS'
2889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2894 echo "$as_me:$LINENO: checking whether the C preprocessor needs special flags" >&5
2895 echo $ECHO_N "checking whether the C preprocessor needs special flags... $ECHO_C" >&6
2897 cat >conftest.
$ac_ext <<_ACEOF
2900 cat confdefs.h
>>conftest.
$ac_ext
2901 cat >>conftest.
$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2904 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
2905 # include "your C preprocessor is broken 1"
2906 #elif (0xffffu == 0xfffffffful)
2907 # include "your C preprocessor is broken 2"
2908 #elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX)
2909 # include "your C preprocessor is broken 3"
2922 mfx_save_CPPFLAGS
=$CPPFLAGS
2924 for mfx_arg
in "" -no-cpp-precomp
2926 CPPFLAGS
="$mfx_arg $mfx_save_CPPFLAGS"
2927 rm -f conftest.
$ac_objext
2928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2929 (eval $ac_compile) 2>conftest.er1
2931 grep -v '^ *+' conftest.er1
>conftest.err
2933 cat conftest.err
>&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); } &&
2936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }; } &&
2942 { ac_try
='test -s conftest.$ac_objext'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; }; then
2951 echo "$as_me: failed program was:" >&5
2952 sed 's/^/| /' conftest.
$ac_ext >&5
2955 rm -f conftest.err conftest.
$ac_objext
2957 CPPFLAGS
=$mfx_save_CPPFLAGS
2958 rm -f conftest.
$ac_ext conftest.
$ac_objext
2961 echo "$as_me:$LINENO: result: none needed" >&5
2962 echo "${ECHO_T}none needed" >&6 ;;
2964 echo "$as_me:$LINENO: result: ERROR" >&5
2965 echo "${ECHO_T}ERROR" >&6
2966 { { echo "$as_me:$LINENO: error: your C preprocessor is broken - for details see config.log" >&5
2967 echo "$as_me: error: your C preprocessor is broken - for details see config.log" >&2;}
2968 { (exit 1); exit 1; }; }
2971 echo "$as_me:$LINENO: result: $mfx_tmp" >&5
2972 echo "${ECHO_T}$mfx_tmp" >&6
2973 CPPFLAGS
="$mfx_tmp $CPPFLAGS"
2978 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2979 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2980 if test "${ac_cv_c_const+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 cat >conftest.
$ac_ext <<_ACEOF
2986 cat confdefs.h
>>conftest.
$ac_ext
2987 cat >>conftest.
$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
2993 /* FIXME: Include the comments suggested by Paul. */
2995 /* Ultrix mips cc rejects this. */
2996 typedef int charset[2];
2998 /* SunOS 4.1.1 cc rejects this. */
2999 char const *const *ccp;
3001 /* NEC SVR4.0.2 mips cc rejects this. */
3002 struct point {int x, y;};
3003 static struct point const zero = {0,0};
3004 /* AIX XL C 1.02.0.0 rejects this.
3005 It does not let you subtract one const X* pointer from another in
3006 an arm of an if-expression whose if-part is not a constant
3008 const char *g = "string";
3009 ccp = &g + (g ? g-g : 0);
3010 /* HPUX 7.0 cc rejects these. */
3013 ccp = (char const *const *) p;
3014 { /* SCO 3.2v4 cc rejects this. */
3016 char const *s = 0 ? (char *) 0 : (char const *) 0;
3020 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3022 const int *foo = &x[0];
3025 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3026 typedef const int *iptr;
3030 { /* AIX XL C 1.02.0.0 rejects this saying
3031 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3032 struct s { int j; const int *ap[3]; };
3033 struct s *b; b->j = 5;
3035 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3044 rm -f conftest.
$ac_objext
3045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3046 (eval $ac_compile) 2>conftest.er1
3048 grep -v '^ *+' conftest.er1
>conftest.err
3050 cat conftest.err
>&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); } &&
3053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); }; } &&
3059 { ac_try
='test -s conftest.$ac_objext'
3060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); }; }; then
3067 echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.
$ac_ext >&5
3072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3074 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3075 echo "${ECHO_T}$ac_cv_c_const" >&6
3076 if test $ac_cv_c_const = no
; then
3078 cat >>confdefs.h
<<\_ACEOF
3085 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3086 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
3087 if test "${ac_cv_c_bigendian+set}" = set; then
3088 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 # See if sys/param.h defines the BYTE_ORDER macro.
3091 cat >conftest.
$ac_ext <<_ACEOF
3094 cat confdefs.h
>>conftest.
$ac_ext
3095 cat >>conftest.
$ac_ext <<_ACEOF
3096 /* end confdefs.h. */
3097 #include <sys/types.h>
3098 #include <sys/param.h>
3103 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3111 rm -f conftest.
$ac_objext
3112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113 (eval $ac_compile) 2>conftest.er1
3115 grep -v '^ *+' conftest.er1
>conftest.err
3117 cat conftest.err
>&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }; } &&
3126 { ac_try
='test -s conftest.$ac_objext'
3127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; }; then
3132 # It does; now see whether it defined to BIG_ENDIAN or not.
3133 cat >conftest.
$ac_ext <<_ACEOF
3136 cat confdefs.h
>>conftest.
$ac_ext
3137 cat >>conftest.
$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3139 #include <sys/types.h>
3140 #include <sys/param.h>
3145 #if BYTE_ORDER != BIG_ENDIAN
3153 rm -f conftest.
$ac_objext
3154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3155 (eval $ac_compile) 2>conftest.er1
3157 grep -v '^ *+' conftest.er1
>conftest.err
3159 cat conftest.err
>&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } &&
3162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); }; } &&
3168 { ac_try
='test -s conftest.$ac_objext'
3169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }; }; then
3174 ac_cv_c_bigendian
=yes
3176 echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.
$ac_ext >&5
3179 ac_cv_c_bigendian
=no
3181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3183 echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.
$ac_ext >&5
3186 # It does not; compile a test program.
3187 if test "$cross_compiling" = yes; then
3188 # try to guess the endianness by grepping values into an object file
3189 ac_cv_c_bigendian
=unknown
3190 cat >conftest.
$ac_ext <<_ACEOF
3193 cat confdefs.h
>>conftest.
$ac_ext
3194 cat >>conftest.
$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3196 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3197 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3198 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3199 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3200 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3201 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3205 _ascii (); _ebcdic ();
3210 rm -f conftest.
$ac_objext
3211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3212 (eval $ac_compile) 2>conftest.er1
3214 grep -v '^ *+' conftest.er1
>conftest.err
3216 cat conftest.err
>&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); } &&
3219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; } &&
3225 { ac_try
='test -s conftest.$ac_objext'
3226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); }; }; then
3231 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
3232 ac_cv_c_bigendian
=yes
3234 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
3235 if test "$ac_cv_c_bigendian" = unknown
; then
3236 ac_cv_c_bigendian
=no
3238 # finding both strings is unlikely to happen, but who knows?
3239 ac_cv_c_bigendian
=unknown
3243 echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.
$ac_ext >&5
3247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3249 cat >conftest.
$ac_ext <<_ACEOF
3252 cat confdefs.h
>>conftest.
$ac_ext
3253 cat >>conftest.
$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3258 /* Are we little or big endian? From Harbison&Steele. */
3262 char c[sizeof (long)];
3265 exit (u.c[sizeof (long) - 1] == 1);
3268 rm -f conftest
$ac_exeext
3269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3270 (eval $ac_link) 2>&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; }; then
3279 ac_cv_c_bigendian
=no
3281 echo "$as_me: program exited with status $ac_status" >&5
3282 echo "$as_me: failed program was:" >&5
3283 sed 's/^/| /' conftest.
$ac_ext >&5
3286 ac_cv_c_bigendian
=yes
3288 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3293 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
3294 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
3295 case $ac_cv_c_bigendian in
3298 cat >>confdefs.h
<<\_ACEOF
3299 #define LZO_ABI_BIG_ENDIAN 1
3304 cat >>confdefs.h
<<\_ACEOF
3305 #define LZO_ABI_LITTLE_ENDIAN 1
3309 { { echo "$as_me:$LINENO: error: unknown endianness
3310 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
3311 echo "$as_me: error: unknown endianness
3312 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
3313 { (exit 1); exit 1; }; } ;;
3317 # Check whether --enable-largefile or --disable-largefile was given.
3318 if test "${enable_largefile+set}" = set; then
3319 enableval
="$enable_largefile"
3322 if test "$enable_largefile" != no
; then
3324 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3325 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3326 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 ac_cv_sys_largefile_CC
=no
3330 if test "$GCC" != yes; then
3333 # IRIX 6.2 and later do not support large files by default,
3334 # so use the C compiler's -n32 option if that helps.
3335 cat >conftest.
$ac_ext <<_ACEOF
3338 cat confdefs.h
>>conftest.
$ac_ext
3339 cat >>conftest.
$ac_ext <<_ACEOF
3340 /* end confdefs.h. */
3341 #include <sys/types.h>
3342 /* Check that off_t can represent 2**63 - 1 correctly.
3343 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3344 since some C++ compilers masquerading as C compilers
3345 incorrectly reject 9223372036854775807. */
3346 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3347 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3348 && LARGE_OFF_T % 2147483647 == 1)
3358 rm -f conftest.
$ac_objext
3359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3360 (eval $ac_compile) 2>conftest.er1
3362 grep -v '^ *+' conftest.er1
>conftest.err
3364 cat conftest.err
>&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); } &&
3367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); }; } &&
3373 { ac_try
='test -s conftest.$ac_objext'
3374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }; }; then
3381 echo "$as_me: failed program was:" >&5
3382 sed 's/^/| /' conftest.
$ac_ext >&5
3385 rm -f conftest.err conftest.
$ac_objext
3387 rm -f conftest.
$ac_objext
3388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3389 (eval $ac_compile) 2>conftest.er1
3391 grep -v '^ *+' conftest.er1
>conftest.err
3393 cat conftest.err
>&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); } &&
3396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); }; } &&
3402 { ac_try
='test -s conftest.$ac_objext'
3403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); }; }; then
3408 ac_cv_sys_largefile_CC
=' -n32'; break
3410 echo "$as_me: failed program was:" >&5
3411 sed 's/^/| /' conftest.
$ac_ext >&5
3414 rm -f conftest.err conftest.
$ac_objext
3418 rm -f conftest.
$ac_ext
3421 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3422 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3423 if test "$ac_cv_sys_largefile_CC" != no
; then
3424 CC
=$CC$ac_cv_sys_largefile_CC
3427 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3428 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3429 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3430 echo $ECHO_N "(cached) $ECHO_C" >&6
3433 ac_cv_sys_file_offset_bits
=no
3434 cat >conftest.
$ac_ext <<_ACEOF
3437 cat confdefs.h
>>conftest.
$ac_ext
3438 cat >>conftest.
$ac_ext <<_ACEOF
3439 /* end confdefs.h. */
3440 #include <sys/types.h>
3441 /* Check that off_t can represent 2**63 - 1 correctly.
3442 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3443 since some C++ compilers masquerading as C compilers
3444 incorrectly reject 9223372036854775807. */
3445 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3446 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3447 && LARGE_OFF_T % 2147483647 == 1)
3457 rm -f conftest.
$ac_objext
3458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3459 (eval $ac_compile) 2>conftest.er1
3461 grep -v '^ *+' conftest.er1
>conftest.err
3463 cat conftest.err
>&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } &&
3466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }; } &&
3472 { ac_try
='test -s conftest.$ac_objext'
3473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); }; }; then
3480 echo "$as_me: failed program was:" >&5
3481 sed 's/^/| /' conftest.
$ac_ext >&5
3484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3485 cat >conftest.
$ac_ext <<_ACEOF
3488 cat confdefs.h
>>conftest.
$ac_ext
3489 cat >>conftest.
$ac_ext <<_ACEOF
3490 /* end confdefs.h. */
3491 #define _FILE_OFFSET_BITS 64
3492 #include <sys/types.h>
3493 /* Check that off_t can represent 2**63 - 1 correctly.
3494 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3495 since some C++ compilers masquerading as C compilers
3496 incorrectly reject 9223372036854775807. */
3497 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3498 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3499 && LARGE_OFF_T % 2147483647 == 1)
3509 rm -f conftest.
$ac_objext
3510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3511 (eval $ac_compile) 2>conftest.er1
3513 grep -v '^ *+' conftest.er1
>conftest.err
3515 cat conftest.err
>&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } &&
3518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; } &&
3524 { ac_try
='test -s conftest.$ac_objext'
3525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); }; }; then
3530 ac_cv_sys_file_offset_bits
=64; break
3532 echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.
$ac_ext >&5
3536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3540 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3541 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3542 if test "$ac_cv_sys_file_offset_bits" != no
; then
3544 cat >>confdefs.h
<<_ACEOF
3545 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3550 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3551 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3552 if test "${ac_cv_sys_large_files+set}" = set; then
3553 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 ac_cv_sys_large_files
=no
3557 cat >conftest.
$ac_ext <<_ACEOF
3560 cat confdefs.h
>>conftest.
$ac_ext
3561 cat >>conftest.
$ac_ext <<_ACEOF
3562 /* end confdefs.h. */
3563 #include <sys/types.h>
3564 /* Check that off_t can represent 2**63 - 1 correctly.
3565 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3566 since some C++ compilers masquerading as C compilers
3567 incorrectly reject 9223372036854775807. */
3568 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3569 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3570 && LARGE_OFF_T % 2147483647 == 1)
3580 rm -f conftest.
$ac_objext
3581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3582 (eval $ac_compile) 2>conftest.er1
3584 grep -v '^ *+' conftest.er1
>conftest.err
3586 cat conftest.err
>&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); } &&
3589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); }; } &&
3595 { ac_try
='test -s conftest.$ac_objext'
3596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); }; }; then
3603 echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.
$ac_ext >&5
3607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3608 cat >conftest.
$ac_ext <<_ACEOF
3611 cat confdefs.h
>>conftest.
$ac_ext
3612 cat >>conftest.
$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3614 #define _LARGE_FILES 1
3615 #include <sys/types.h>
3616 /* Check that off_t can represent 2**63 - 1 correctly.
3617 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3618 since some C++ compilers masquerading as C compilers
3619 incorrectly reject 9223372036854775807. */
3620 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3621 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3622 && LARGE_OFF_T % 2147483647 == 1)
3632 rm -f conftest.
$ac_objext
3633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3634 (eval $ac_compile) 2>conftest.er1
3636 grep -v '^ *+' conftest.er1
>conftest.err
3638 cat conftest.err
>&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } &&
3641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); }; } &&
3647 { ac_try
='test -s conftest.$ac_objext'
3648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); }; }; then
3653 ac_cv_sys_large_files
=1; break
3655 echo "$as_me: failed program was:" >&5
3656 sed 's/^/| /' conftest.
$ac_ext >&5
3659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3663 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3664 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3665 if test "$ac_cv_sys_large_files" != no
; then
3667 cat >>confdefs.h
<<_ACEOF
3668 #define _LARGE_FILES $ac_cv_sys_large_files
3676 am__api_version
="1.9"
3677 # Find a good install program. We prefer a C program (faster),
3678 # so one script is as good as another. But avoid the broken or
3679 # incompatible versions:
3680 # SysV /etc/install, /usr/sbin/install
3681 # SunOS /usr/etc/install
3682 # IRIX /sbin/install
3684 # AmigaOS /C/install, which installs bootblocks on floppy discs
3685 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3686 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3687 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3688 # OS/2's system install, which has a completely different semantic
3689 # ./install, which can be erroneously created by make from ./install.sh.
3690 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3691 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3692 if test -z "$INSTALL"; then
3693 if test "${ac_cv_path_install+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3700 test -z "$as_dir" && as_dir
=.
3701 # Account for people who put trailing slashes in PATH elements.
3703 .
/ | .
// |
/cC
/* | \
3704 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3705 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3708 # OSF1 and SCO ODT 3.0 have their own names for install.
3709 # Don't use installbsd from OSF since it installs stuff as root
3711 for ac_prog
in ginstall scoinst
install; do
3712 for ac_exec_ext
in '' $ac_executable_extensions; do
3713 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3714 if test $ac_prog = install &&
3715 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3716 # AIX install. It has an incompatible calling convention.
3718 elif test $ac_prog = install &&
3719 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3720 # program-specific install script used by HP pwplus--don't use.
3723 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3735 if test "${ac_cv_path_install+set}" = set; then
3736 INSTALL
=$ac_cv_path_install
3738 # As a last resort, use the slow shell script. We don't cache a
3739 # path for INSTALL within a source directory, because that will
3740 # break other packages using the cache if that directory is
3741 # removed, or if the path is relative.
3742 INSTALL
=$ac_install_sh
3745 echo "$as_me:$LINENO: result: $INSTALL" >&5
3746 echo "${ECHO_T}$INSTALL" >&6
3748 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3749 # It thinks the first close brace ends the variable substitution.
3750 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3752 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3754 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3756 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3757 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3760 echo timestamp
> conftest.
file
3761 # Do `set' in a subshell so we don't clobber the current shell's
3762 # arguments. Must try -L first in case configure is actually a
3763 # symlink; some systems play weird games with the mod time of symlinks
3764 # (eg FreeBSD returns the mod time of the symlink's containing
3767 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3768 if test "$*" = "X"; then
3770 set X
`ls -t $srcdir/configure conftest.file`
3773 if test "$*" != "X $srcdir/configure conftest.file" \
3774 && test "$*" != "X conftest.file $srcdir/configure"; then
3776 # If neither matched, then we have a broken ls. This can happen
3777 # if, for instance, CONFIG_SHELL is bash and it inherits a
3778 # broken ls alias from the environment. This has actually
3779 # happened. Such a system could not be considered "sane".
3780 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3781 alias in your environment" >&5
3782 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3783 alias in your environment" >&2;}
3784 { (exit 1); exit 1; }; }
3787 test "$2" = conftest.
file
3793 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3794 Check your system clock" >&5
3795 echo "$as_me: error: newly created file is older than distributed files!
3796 Check your system clock" >&2;}
3797 { (exit 1); exit 1; }; }
3799 echo "$as_me:$LINENO: result: yes" >&5
3800 echo "${ECHO_T}yes" >&6
3801 test "$program_prefix" != NONE
&&
3802 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3803 # Use a double $ so make ignores it.
3804 test "$program_suffix" != NONE
&&
3805 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3806 # Double any \ or $. echo might interpret backslashes.
3807 # By default was `s,x,x', remove it if useless.
3808 cat <<\_ACEOF
>conftest.
sed
3809 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3811 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3814 # expand $ac_aux_dir to an absolute path
3815 am_aux_dir
=`cd $ac_aux_dir && pwd`
3817 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3818 # Use eval to expand $SHELL
3819 if eval "$MISSING --run true"; then
3820 am_missing_run
="$MISSING --run "
3823 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3824 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3827 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3828 # We used to keeping the `.' as first argument, in order to
3829 # allow $(mkdir_p) to be used without argument. As in
3830 # $(mkdir_p) $(somedir)
3831 # where $(somedir) is conditionally defined. However this is wrong
3833 # 1. if the package is installed by a user who cannot write `.'
3834 # make install will fail,
3835 # 2. the above comment should most certainly read
3836 # $(mkdir_p) $(DESTDIR)$(somedir)
3837 # so it does not work when $(somedir) is undefined and
3838 # $(DESTDIR) is not.
3839 # To support the latter case, we have to write
3840 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3841 # so the `.' trick is pointless.
3842 mkdir_p
='mkdir -p --'
3844 # On NextStep and OpenStep, the `mkdir' command does not
3845 # recognize any option. It will interpret all options as
3846 # directories to create, and then abort because `.' already
3848 for d
in .
/-p .
/--version;
3850 test -d $d && rmdir $d
3852 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3853 if test -f "$ac_aux_dir/mkinstalldirs"; then
3854 mkdir_p
='$(mkinstalldirs)'
3856 mkdir_p
='$(install_sh) -d'
3860 for ac_prog
in gawk mawk nawk
awk
3862 # Extract the first word of "$ac_prog", so it can be a program name with args.
3863 set dummy
$ac_prog; ac_word
=$2
3864 echo "$as_me:$LINENO: checking for $ac_word" >&5
3865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3866 if test "${ac_cv_prog_AWK+set}" = set; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 if test -n "$AWK"; then
3870 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3876 test -z "$as_dir" && as_dir
=.
3877 for ac_exec_ext
in '' $ac_executable_extensions; do
3878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3879 ac_cv_prog_AWK
="$ac_prog"
3880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 if test -n "$AWK"; then
3890 echo "$as_me:$LINENO: result: $AWK" >&5
3891 echo "${ECHO_T}$AWK" >&6
3893 echo "$as_me:$LINENO: result: no" >&5
3894 echo "${ECHO_T}no" >&6
3897 test -n "$AWK" && break
3900 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3901 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3902 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3903 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3906 cat >conftest.
make <<\_ACEOF
3908 @
echo 'ac_maketemp="$(MAKE)"'
3910 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3911 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3912 if test -n "$ac_maketemp"; then
3913 eval ac_cv_prog_make_
${ac_make}_set
=yes
3915 eval ac_cv_prog_make_
${ac_make}_set
=no
3919 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3920 echo "$as_me:$LINENO: result: yes" >&5
3921 echo "${ECHO_T}yes" >&6
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3926 SET_MAKE
="MAKE=${MAKE-make}"
3929 rm -rf .tst
2>/dev
/null
3930 mkdir .tst
2>/dev
/null
3931 if test -d .tst
; then
3936 rmdir .tst
2>/dev
/null
3938 DEPDIR
="${am__leading_dot}deps"
3940 ac_config_commands
="$ac_config_commands depfiles"
3943 am_make
=${MAKE-make}
3944 cat > confinc
<< 'END'
3949 # If we don't find an include directive, just comment out the code.
3950 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3951 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3955 # First try GNU make style include.
3956 echo "include confinc" > confmf
3957 # We grep out `Entering directory' and `Leaving directory'
3958 # messages which can occur if `w' ends up in MAKEFLAGS.
3959 # In particular we don't look at `^make:' because GNU make might
3960 # be invoked under some other name (usually "gmake"), in which
3961 # case it prints its new name instead of `make'.
3962 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3967 # Now try BSD make style include.
3968 if test "$am__include" = "#"; then
3969 echo '.include "confinc"' > confmf
3970 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3971 am__include
=.include
3978 echo "$as_me:$LINENO: result: $_am_result" >&5
3979 echo "${ECHO_T}$_am_result" >&6
3980 rm -f confinc confmf
3982 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3983 if test "${enable_dependency_tracking+set}" = set; then
3984 enableval
="$enable_dependency_tracking"
3987 if test "x$enable_dependency_tracking" != xno
; then
3988 am_depcomp
="$ac_aux_dir/depcomp"
3993 if test "x$enable_dependency_tracking" != xno; then
4003 # test to see if srcdir already configured
4004 if test "`cd $srcdir && pwd`" != "`pwd`" &&
4005 test -f $srcdir/config.status
; then
4006 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
4007 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
4008 { (exit 1); exit 1; }; }
4011 # test whether we have cygpath
4012 if test -z "$CYGPATH_W"; then
4013 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4014 CYGPATH_W
='cygpath -w'
4021 # Define the identity of the package.
4026 cat >>confdefs.h
<<_ACEOF
4027 #define PACKAGE "$PACKAGE"
4031 cat >>confdefs.h
<<_ACEOF
4032 #define VERSION "$VERSION"
4035 # Some tools Automake needs.
4037 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4040 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4043 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4046 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4049 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4051 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
4053 # Installed binaries are usually stripped using `strip' when the user
4054 # run `make install-strip'. However `strip' might not be the right
4055 # tool to use in cross-compilation environments, therefore Automake
4056 # will honor the `STRIP' environment variable to overrule this program.
4057 if test "$cross_compiling" != no
; then
4058 if test -n "$ac_tool_prefix"; then
4059 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4060 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4061 echo "$as_me:$LINENO: checking for $ac_word" >&5
4062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4063 if test "${ac_cv_prog_STRIP+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 if test -n "$STRIP"; then
4067 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4073 test -z "$as_dir" && as_dir
=.
4074 for ac_exec_ext
in '' $ac_executable_extensions; do
4075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4076 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 STRIP
=$ac_cv_prog_STRIP
4086 if test -n "$STRIP"; then
4087 echo "$as_me:$LINENO: result: $STRIP" >&5
4088 echo "${ECHO_T}$STRIP" >&6
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4095 if test -z "$ac_cv_prog_STRIP"; then
4097 # Extract the first word of "strip", so it can be a program name with args.
4098 set dummy strip
; ac_word
=$2
4099 echo "$as_me:$LINENO: checking for $ac_word" >&5
4100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4101 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 if test -n "$ac_ct_STRIP"; then
4105 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4111 test -z "$as_dir" && as_dir
=.
4112 for ac_exec_ext
in '' $ac_executable_extensions; do
4113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4114 ac_cv_prog_ac_ct_STRIP
="strip"
4115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4121 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4124 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4125 if test -n "$ac_ct_STRIP"; then
4126 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4127 echo "${ECHO_T}$ac_ct_STRIP" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4135 STRIP
="$ac_cv_prog_STRIP"
4139 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
4141 # We need awk for the "check" target. The system "awk" is bad on
4143 # Always define AMTAR for backward compatibility.
4145 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4147 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4152 depcc
="$CC" am_compiler_list
=
4154 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4155 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4156 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4157 echo $ECHO_N "(cached) $ECHO_C" >&6
4159 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4160 # We make a subdir and do the tests there. Otherwise we can end up
4161 # making bogus files that we don't know about and never remove. For
4162 # instance it was reported that on HP-UX the gcc test will end up
4163 # making a dummy file named `D' -- because `-MD' means `put the output
4166 # Copy depcomp to subdir because otherwise we won't find it if we're
4167 # using a relative directory.
4168 cp "$am_depcomp" conftest.dir
4170 # We will build objects and dependencies in a subdirectory because
4171 # it helps to detect inapplicable dependency modes. For instance
4172 # both Tru64's cc and ICC support -MD to output dependencies as a
4173 # side effect of compilation, but ICC will put the dependencies in
4174 # the current directory while Tru64 will put them in the object
4178 am_cv_CC_dependencies_compiler_type
=none
4179 if test "$am_compiler_list" = ""; then
4180 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4182 for depmode
in $am_compiler_list; do
4183 # Setup a source with many dependencies, because some compilers
4184 # like to wrap large dependency lists on column 80 (with \), and
4185 # we should not choose a depcomp mode which is confused by this.
4187 # We need to recreate these files for each test, as the compiler may
4188 # overwrite some of them when testing with obscure command lines.
4189 # This happens at least with the AIX C compiler.
4191 for i
in 1 2 3 4 5 6; do
4192 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4193 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4194 # Solaris 8's {/usr,}/bin/sh.
4195 touch sub
/conftst
$i.h
4197 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4201 # after this tag, mechanisms are not by side-effect, so they'll
4202 # only be used when explicitly requested
4203 if test "x$enable_dependency_tracking" = xyes
; then
4211 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4212 # mode. It turns out that the SunPro C++ compiler does not properly
4213 # handle `-M -o', and we need to detect this.
4214 if depmode
=$depmode \
4215 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4216 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4217 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4218 >/dev
/null
2>conftest.err
&&
4219 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4220 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4221 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4222 # icc doesn't choke on unknown options, it will just issue warnings
4223 # or remarks (even with -Werror). So we grep stderr for any message
4224 # that says an option was ignored or not supported.
4225 # When given -MP, icc 7.0 and 7.1 complain thusly:
4226 # icc: Command line warning: ignoring option '-M'; no argument required
4227 # The diagnosis changed in icc 8.0:
4228 # icc: Command line remark: option '-MP' not supported
4229 if (grep 'ignoring option' conftest.err ||
4230 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4231 am_cv_CC_dependencies_compiler_type
=$depmode
4240 am_cv_CC_dependencies_compiler_type
=none
4244 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4245 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4246 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4251 test "x$enable_dependency_tracking" != xno \
4252 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4254 am__fastdepCC_FALSE
='#'
4256 am__fastdepCC_TRUE
='#'
4257 am__fastdepCC_FALSE
=
4262 ac_config_headers
="$ac_config_headers config.h:config.hin"
4265 # Check whether --enable-static or --disable-static was given.
4266 if test "${enable_static+set}" = set; then
4267 enableval
="$enable_static"
4268 p
=${PACKAGE-default}
4270 yes) enable_static
=yes ;;
4271 no
) enable_static
=no
;;
4274 # Look at the argument we got. We use all the common list separators.
4275 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4276 for pkg
in $enableval; do
4278 if test "X$pkg" = "X$p"; then
4289 # Check whether --enable-shared or --disable-shared was given.
4290 if test "${enable_shared+set}" = set; then
4291 enableval
="$enable_shared"
4292 p
=${PACKAGE-default}
4294 yes) enable_shared
=yes ;;
4295 no
) enable_shared
=no
;;
4298 # Look at the argument we got. We use all the common list separators.
4299 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4300 for pkg
in $enableval; do
4302 if test "X$pkg" = "X$p"; then
4314 # Check whether --enable-fast-install or --disable-fast-install was given.
4315 if test "${enable_fast_install+set}" = set; then
4316 enableval
="$enable_fast_install"
4317 p
=${PACKAGE-default}
4319 yes) enable_fast_install
=yes ;;
4320 no
) enable_fast_install
=no
;;
4322 enable_fast_install
=no
4323 # Look at the argument we got. We use all the common list separators.
4324 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4325 for pkg
in $enableval; do
4327 if test "X$pkg" = "X$p"; then
4328 enable_fast_install
=yes
4335 enable_fast_install
=yes
4338 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4339 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4340 if test "${lt_cv_path_SED+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4343 # Loop through the user's path and test for sed and gsed.
4344 # Then use that list of sed's as ones to test for truncation.
4345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4349 test -z "$as_dir" && as_dir
=.
4350 for lt_ac_prog
in sed gsed
; do
4351 for ac_exec_ext
in '' $ac_executable_extensions; do
4352 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4353 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4360 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4361 # along with /bin/sed that truncates output.
4362 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4363 test ! -f $lt_ac_sed && continue
4364 cat /dev
/null
> conftest.
in
4366 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4367 # Check for GNU sed and select it if it is found.
4368 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4369 lt_cv_path_SED
=$lt_ac_sed
4373 cat conftest.
in conftest.
in >conftest.tmp
4374 mv conftest.tmp conftest.
in
4375 cp conftest.
in conftest.
nl
4377 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4378 cmp -s conftest.out conftest.
nl ||
break
4379 # 10000 chars as input seems more than enough
4380 test $lt_ac_count -gt 10 && break
4381 lt_ac_count
=`expr $lt_ac_count + 1`
4382 if test $lt_ac_count -gt $lt_ac_max; then
4383 lt_ac_max
=$lt_ac_count
4384 lt_cv_path_SED
=$lt_ac_sed
4392 echo "$as_me:$LINENO: result: $SED" >&5
4393 echo "${ECHO_T}$SED" >&6
4395 echo "$as_me:$LINENO: checking for egrep" >&5
4396 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4397 if test "${ac_cv_prog_egrep+set}" = set; then
4398 echo $ECHO_N "(cached) $ECHO_C" >&6
4400 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4401 then ac_cv_prog_egrep
='grep -E'
4402 else ac_cv_prog_egrep
='egrep'
4405 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4406 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4407 EGREP
=$ac_cv_prog_egrep
4411 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4412 if test "${with_gnu_ld+set}" = set; then
4413 withval
="$with_gnu_ld"
4414 test "$withval" = no || with_gnu_ld
=yes
4419 if test "$GCC" = yes; then
4420 # Check if gcc -print-prog-name=ld gives a path.
4421 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4422 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4425 # gcc leaves a trailing carriage return which upsets mingw
4426 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4428 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4431 # Accept absolute paths.
4433 re_direlt
='/[^/][^/]*/\.\./'
4434 # Canonicalize the pathname of ld
4435 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4436 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4437 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4439 test -z "$LD" && LD
="$ac_prog"
4442 # If it fails, then pretend we aren't using GCC.
4446 # If it is relative, then search for the first ld in PATH.
4450 elif test "$with_gnu_ld" = yes; then
4451 echo "$as_me:$LINENO: checking for GNU ld" >&5
4452 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4454 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4455 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4457 if test "${lt_cv_path_LD+set}" = set; then
4458 echo $ECHO_N "(cached) $ECHO_C" >&6
4460 if test -z "$LD"; then
4461 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4462 for ac_dir
in $PATH; do
4464 test -z "$ac_dir" && ac_dir
=.
4465 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4466 lt_cv_path_LD
="$ac_dir/$ac_prog"
4467 # Check to see if the program is GNU ld. I'd rather use --version,
4468 # but apparently some variants of GNU ld only accept -v.
4469 # Break only if it was the GNU/non-GNU ld that we prefer.
4470 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4471 *GNU
* |
*'with BFD'*)
4472 test "$with_gnu_ld" != no
&& break
4475 test "$with_gnu_ld" != yes && break
4482 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4487 if test -n "$LD"; then
4488 echo "$as_me:$LINENO: result: $LD" >&5
4489 echo "${ECHO_T}$LD" >&6
4491 echo "$as_me:$LINENO: result: no" >&5
4492 echo "${ECHO_T}no" >&6
4494 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4495 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4496 { (exit 1); exit 1; }; }
4497 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4498 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4499 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4500 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4503 case `$LD -v 2>&1 </dev/null` in
4504 *GNU
* |
*'with BFD'*)
4505 lt_cv_prog_gnu_ld
=yes
4508 lt_cv_prog_gnu_ld
=no
4512 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4513 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4514 with_gnu_ld
=$lt_cv_prog_gnu_ld
4517 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4518 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4519 if test "${lt_cv_ld_reload_flag+set}" = set; then
4520 echo $ECHO_N "(cached) $ECHO_C" >&6
4522 lt_cv_ld_reload_flag
='-r'
4524 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4525 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4526 reload_flag
=$lt_cv_ld_reload_flag
4527 case $reload_flag in
4529 *) reload_flag
=" $reload_flag" ;;
4531 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4534 if test "$GCC" = yes; then
4535 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4537 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4542 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4543 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4544 if test "${lt_cv_path_NM+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 if test -n "$NM"; then
4548 # Let the user override the test.
4551 lt_nm_to_check
="${ac_tool_prefix}nm"
4552 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4553 lt_nm_to_check
="$lt_nm_to_check nm"
4555 for lt_tmp_nm
in $lt_nm_to_check; do
4556 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4557 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4559 test -z "$ac_dir" && ac_dir
=.
4560 tmp_nm
="$ac_dir/$lt_tmp_nm"
4561 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4562 # Check to see if the nm accepts a BSD-compat flag.
4563 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4564 # nm: unknown option "B" ignored
4565 # Tru64's nm complains that /dev/null is an invalid object file
4566 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4567 */dev
/null
* |
*'Invalid file or object type'*)
4568 lt_cv_path_NM
="$tmp_nm -B"
4572 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4574 lt_cv_path_NM
="$tmp_nm -p"
4578 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4579 continue # so that we can try to find one that supports BSD flags
4588 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4591 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4592 echo "${ECHO_T}$lt_cv_path_NM" >&6
4595 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4596 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4598 if test "$LN_S" = "ln -s"; then
4599 echo "$as_me:$LINENO: result: yes" >&5
4600 echo "${ECHO_T}yes" >&6
4602 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4603 echo "${ECHO_T}no, using $LN_S" >&6
4606 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4607 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4608 if test "${lt_cv_deplibs_check_method+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4612 lt_cv_file_magic_test_file
=
4613 lt_cv_deplibs_check_method
='unknown'
4614 # Need to set the preceding variable on all platforms that support
4615 # interlibrary dependencies.
4616 # 'none' -- dependencies not supported.
4617 # `unknown' -- same as none, but documents that we really don't know.
4618 # 'pass_all' -- all dependencies passed with no checks.
4619 # 'test_compile' -- check by making test program.
4620 # 'file_magic [[regex]]' -- check by looking for files in library path
4621 # which responds to the $file_magic_cmd with a given extended regex.
4622 # If you have `file' or equivalent on your system and you're not sure
4623 # whether `pass_all' will *always* work, you probably want this one.
4627 lt_cv_deplibs_check_method
=pass_all
4631 lt_cv_deplibs_check_method
=pass_all
4635 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4636 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4637 lt_cv_file_magic_test_file
=/shlib
/libc.so
4641 # func_win32_libid is a shell function defined in ltmain.sh
4642 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4643 lt_cv_file_magic_cmd
='func_win32_libid'
4647 # Base MSYS/MinGW do not provide the 'file' command needed by
4648 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4649 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4650 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4653 darwin
* | rhapsody
*)
4654 lt_cv_deplibs_check_method
=pass_all
4657 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4658 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4661 # Not sure whether the presence of OpenBSD here was a mistake.
4662 # Let's accept both of them until this is cleared up.
4663 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4664 lt_cv_file_magic_cmd
=/usr
/bin
/file
4665 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4669 lt_cv_deplibs_check_method
=pass_all
4674 lt_cv_deplibs_check_method
=pass_all
4677 hpux10.20
* | hpux11
*)
4678 lt_cv_file_magic_cmd
=/usr
/bin
/file
4681 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4682 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4685 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4686 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4689 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4690 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4696 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4697 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4700 irix5
* | irix6
* | nonstopux
*)
4702 *-32|
*"-32 ") libmagic
=32-bit;;
4703 *-n32|
*"-n32 ") libmagic
=N32
;;
4704 *-64|
*"-64 ") libmagic
=64-bit;;
4705 *) libmagic
=never-match
;;
4707 lt_cv_deplibs_check_method
=pass_all
4710 # This must be Linux ELF.
4712 lt_cv_deplibs_check_method
=pass_all
4716 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4717 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4719 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4724 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4725 lt_cv_file_magic_cmd
=/usr
/bin
/file
4726 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4730 lt_cv_deplibs_check_method
=unknown
4734 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4735 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4737 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4741 osf3
* | osf4
* | osf5
*)
4742 lt_cv_deplibs_check_method
=pass_all
4746 lt_cv_deplibs_check_method
=pass_all
4750 case $host_vendor in
4752 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]'
4753 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4756 lt_cv_deplibs_check_method
=pass_all
4759 lt_cv_file_magic_cmd
='/bin/file'
4760 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4763 lt_cv_file_magic_cmd
='/bin/file'
4764 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4765 lt_cv_file_magic_test_file
=/lib
/libc.so
4768 lt_cv_deplibs_check_method
=pass_all
4771 lt_cv_deplibs_check_method
=pass_all
4776 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4777 lt_cv_deplibs_check_method
=pass_all
4782 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4783 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4784 file_magic_cmd
=$lt_cv_file_magic_cmd
4785 deplibs_check_method
=$lt_cv_deplibs_check_method
4786 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4791 # If no C compiler was specified, use CC.
4794 # If no C compiler flags were specified, use CFLAGS.
4795 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4797 # Allow CC to be a program name with arguments.
4800 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4801 if test "${enable_libtool_lock+set}" = set; then
4802 enableval
="$enable_libtool_lock"
4805 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4807 # Some flags need to be propagated to the compiler or linker for good
4811 # Find out which ABI we are using.
4812 echo 'int i;' > conftest.
$ac_ext
4813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4814 (eval $ac_compile) 2>&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }; then
4818 case `/usr/bin/file conftest.$ac_objext` in
4830 # Find out which ABI we are using.
4831 echo '#line 4831 "configure"' > conftest.
$ac_ext
4832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4833 (eval $ac_compile) 2>&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); }; then
4837 if test "$lt_cv_prog_gnu_ld" = yes; then
4838 case `/usr/bin/file conftest.$ac_objext` in
4840 LD
="${LD-ld} -melf32bsmip"
4843 LD
="${LD-ld} -melf32bmipn32"
4846 LD
="${LD-ld} -melf64bmip"
4850 case `/usr/bin/file conftest.$ac_objext` in
4866 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4867 # Find out which ABI we are using.
4868 echo 'int i;' > conftest.
$ac_ext
4869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4870 (eval $ac_compile) 2>&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); }; then
4874 case `/usr/bin/file conftest.o` in
4878 LD
="${LD-ld} -m elf_i386"
4880 ppc64-
*linux
*|powerpc64-
*linux
*)
4881 LD
="${LD-ld} -m elf32ppclinux"
4884 LD
="${LD-ld} -m elf_s390"
4887 LD
="${LD-ld} -m elf32_sparc"
4894 LD
="${LD-ld} -m elf_x86_64"
4896 ppc
*-*linux
*|powerpc
*-*linux
*)
4897 LD
="${LD-ld} -m elf64ppc"
4900 LD
="${LD-ld} -m elf64_s390"
4903 LD
="${LD-ld} -m elf64_sparc"
4913 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4914 SAVE_CFLAGS
="$CFLAGS"
4915 CFLAGS
="$CFLAGS -belf"
4916 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4917 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4918 if test "${lt_cv_cc_needs_belf+set}" = set; then
4919 echo $ECHO_N "(cached) $ECHO_C" >&6
4922 ac_cpp
='$CPP $CPPFLAGS'
4923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4927 cat >conftest.
$ac_ext <<_ACEOF
4930 cat confdefs.h
>>conftest.
$ac_ext
4931 cat >>conftest.
$ac_ext <<_ACEOF
4932 /* end confdefs.h. */
4942 rm -f conftest.
$ac_objext conftest
$ac_exeext
4943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4944 (eval $ac_link) 2>conftest.er1
4946 grep -v '^ *+' conftest.er1
>conftest.err
4948 cat conftest.err
>&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); } &&
4951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); }; } &&
4957 { ac_try
='test -s conftest$ac_exeext'
4958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); }; }; then
4963 lt_cv_cc_needs_belf
=yes
4965 echo "$as_me: failed program was:" >&5
4966 sed 's/^/| /' conftest.
$ac_ext >&5
4968 lt_cv_cc_needs_belf
=no
4970 rm -f conftest.err conftest.
$ac_objext \
4971 conftest
$ac_exeext conftest.
$ac_ext
4973 ac_cpp
='$CPP $CPPFLAGS'
4974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4979 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4980 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4981 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4982 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4983 CFLAGS
="$SAVE_CFLAGS"
4987 # Find out which ABI we are using.
4988 echo 'int i;' > conftest.
$ac_ext
4989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4990 (eval $ac_compile) 2>&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); }; then
4994 case `/usr/bin/file conftest.o` in
4996 case $lt_cv_prog_gnu_ld in
4997 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
4998 *) LD
="${LD-ld} -64" ;;
5009 need_locks
="$enable_libtool_lock"
5013 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5014 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5015 if test "${ac_cv_header_stdc+set}" = set; then
5016 echo $ECHO_N "(cached) $ECHO_C" >&6
5018 cat >conftest.
$ac_ext <<_ACEOF
5021 cat confdefs.h
>>conftest.
$ac_ext
5022 cat >>conftest.
$ac_ext <<_ACEOF
5023 /* end confdefs.h. */
5037 rm -f conftest.
$ac_objext
5038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5039 (eval $ac_compile) 2>conftest.er1
5041 grep -v '^ *+' conftest.er1
>conftest.err
5043 cat conftest.err
>&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); } &&
5046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); }; } &&
5052 { ac_try
='test -s conftest.$ac_objext'
5053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); }; }; then
5058 ac_cv_header_stdc
=yes
5060 echo "$as_me: failed program was:" >&5
5061 sed 's/^/| /' conftest.
$ac_ext >&5
5063 ac_cv_header_stdc
=no
5065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5067 if test $ac_cv_header_stdc = yes; then
5068 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5069 cat >conftest.
$ac_ext <<_ACEOF
5072 cat confdefs.h
>>conftest.
$ac_ext
5073 cat >>conftest.
$ac_ext <<_ACEOF
5074 /* end confdefs.h. */
5078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5079 $EGREP "memchr" >/dev
/null
2>&1; then
5082 ac_cv_header_stdc
=no
5088 if test $ac_cv_header_stdc = yes; then
5089 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5090 cat >conftest.
$ac_ext <<_ACEOF
5093 cat confdefs.h
>>conftest.
$ac_ext
5094 cat >>conftest.
$ac_ext <<_ACEOF
5095 /* end confdefs.h. */
5099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5100 $EGREP "free" >/dev
/null
2>&1; then
5103 ac_cv_header_stdc
=no
5109 if test $ac_cv_header_stdc = yes; then
5110 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5111 if test "$cross_compiling" = yes; then
5114 cat >conftest.
$ac_ext <<_ACEOF
5117 cat confdefs.h
>>conftest.
$ac_ext
5118 cat >>conftest.
$ac_ext <<_ACEOF
5119 /* end confdefs.h. */
5121 #if ((' ' & 0x0FF) == 0x020)
5122 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5123 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5125 # define ISLOWER(c) \
5126 (('a' <= (c) && (c) <= 'i') \
5127 || ('j' <= (c) && (c) <= 'r') \
5128 || ('s' <= (c) && (c) <= 'z'))
5129 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5132 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5137 for (i = 0; i < 256; i++)
5138 if (XOR (islower (i), ISLOWER (i))
5139 || toupper (i) != TOUPPER (i))
5144 rm -f conftest
$ac_exeext
5145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5146 (eval $ac_link) 2>&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); }; }; then
5157 echo "$as_me: program exited with status $ac_status" >&5
5158 echo "$as_me: failed program was:" >&5
5159 sed 's/^/| /' conftest.
$ac_ext >&5
5162 ac_cv_header_stdc
=no
5164 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5168 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5169 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5170 if test $ac_cv_header_stdc = yes; then
5172 cat >>confdefs.h
<<\_ACEOF
5173 #define STDC_HEADERS 1
5178 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5188 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5189 inttypes.h stdint.h unistd.h
5191 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5192 echo "$as_me:$LINENO: checking for $ac_header" >&5
5193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5195 echo $ECHO_N "(cached) $ECHO_C" >&6
5197 cat >conftest.
$ac_ext <<_ACEOF
5200 cat confdefs.h
>>conftest.
$ac_ext
5201 cat >>conftest.
$ac_ext <<_ACEOF
5202 /* end confdefs.h. */
5203 $ac_includes_default
5205 #include <$ac_header>
5207 rm -f conftest.
$ac_objext
5208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5209 (eval $ac_compile) 2>conftest.er1
5211 grep -v '^ *+' conftest.er1
>conftest.err
5213 cat conftest.err
>&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); } &&
5216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); }; } &&
5222 { ac_try
='test -s conftest.$ac_objext'
5223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }; }; then
5228 eval "$as_ac_Header=yes"
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.
$ac_ext >&5
5233 eval "$as_ac_Header=no"
5235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5240 cat >>confdefs.h
<<_ACEOF
5241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5250 for ac_header
in dlfcn.h
5252 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5254 echo "$as_me:$LINENO: checking for $ac_header" >&5
5255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5262 # Is the header compilable?
5263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5265 cat >conftest.
$ac_ext <<_ACEOF
5268 cat confdefs.h
>>conftest.
$ac_ext
5269 cat >>conftest.
$ac_ext <<_ACEOF
5270 /* end confdefs.h. */
5271 $ac_includes_default
5272 #include <$ac_header>
5274 rm -f conftest.
$ac_objext
5275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5276 (eval $ac_compile) 2>conftest.er1
5278 grep -v '^ *+' conftest.er1
>conftest.err
5280 cat conftest.err
>&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } &&
5283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; } &&
5289 { ac_try
='test -s conftest.$ac_objext'
5290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); }; }; then
5295 ac_header_compiler
=yes
5297 echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.
$ac_ext >&5
5300 ac_header_compiler
=no
5302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5303 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5304 echo "${ECHO_T}$ac_header_compiler" >&6
5306 # Is the header present?
5307 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5308 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5309 cat >conftest.
$ac_ext <<_ACEOF
5312 cat confdefs.h
>>conftest.
$ac_ext
5313 cat >>conftest.
$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5315 #include <$ac_header>
5317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5318 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5320 grep -v '^ *+' conftest.er1
>conftest.err
5322 cat conftest.err
>&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); } >/dev
/null
; then
5325 if test -s conftest.err
; then
5326 ac_cpp_err
=$ac_c_preproc_warn_flag
5327 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5334 if test -z "$ac_cpp_err"; then
5335 ac_header_preproc
=yes
5337 echo "$as_me: failed program was:" >&5
5338 sed 's/^/| /' conftest.
$ac_ext >&5
5340 ac_header_preproc
=no
5342 rm -f conftest.err conftest.
$ac_ext
5343 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5344 echo "${ECHO_T}$ac_header_preproc" >&6
5346 # So? What about this header?
5347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5349 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5350 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5352 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5353 ac_header_preproc
=yes
5356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5360 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5361 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5362 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5363 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5365 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5366 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5367 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5370 ## ----------------------------------- ##
5371 ## Report this to markus@oberhumer.com ##
5372 ## ----------------------------------- ##
5375 sed "s/^/$as_me: WARNING: /" >&2
5378 echo "$as_me:$LINENO: checking for $ac_header" >&5
5379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5383 eval "$as_ac_Header=\$ac_header_preproc"
5385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5390 cat >>confdefs.h
<<_ACEOF
5391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5399 ac_cpp
='$CXXCPP $CPPFLAGS'
5400 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5401 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5402 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5403 if test -n "$ac_tool_prefix"; then
5404 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5406 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5407 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5408 echo "$as_me:$LINENO: checking for $ac_word" >&5
5409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5410 if test "${ac_cv_prog_CXX+set}" = set; then
5411 echo $ECHO_N "(cached) $ECHO_C" >&6
5413 if test -n "$CXX"; then
5414 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5420 test -z "$as_dir" && as_dir
=.
5421 for ac_exec_ext
in '' $ac_executable_extensions; do
5422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 if test -n "$CXX"; then
5434 echo "$as_me:$LINENO: result: $CXX" >&5
5435 echo "${ECHO_T}$CXX" >&6
5437 echo "$as_me:$LINENO: result: no" >&5
5438 echo "${ECHO_T}no" >&6
5441 test -n "$CXX" && break
5444 if test -z "$CXX"; then
5446 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5448 # Extract the first word of "$ac_prog", so it can be a program name with args.
5449 set dummy
$ac_prog; ac_word
=$2
5450 echo "$as_me:$LINENO: checking for $ac_word" >&5
5451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5452 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5453 echo $ECHO_N "(cached) $ECHO_C" >&6
5455 if test -n "$ac_ct_CXX"; then
5456 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5462 test -z "$as_dir" && as_dir
=.
5463 for ac_exec_ext
in '' $ac_executable_extensions; do
5464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5465 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5475 if test -n "$ac_ct_CXX"; then
5476 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5477 echo "${ECHO_T}$ac_ct_CXX" >&6
5479 echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6
5483 test -n "$ac_ct_CXX" && break
5485 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
5491 # Provide some information about the compiler.
5492 echo "$as_me:$LINENO:" \
5493 "checking for C++ compiler version" >&5
5494 ac_compiler
=`set X $ac_compile; echo $2`
5495 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5496 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); }
5500 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5501 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }
5505 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5506 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509 (exit $ac_status); }
5511 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5512 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5513 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 cat >conftest.
$ac_ext <<_ACEOF
5519 cat confdefs.h
>>conftest.
$ac_ext
5520 cat >>conftest.
$ac_ext <<_ACEOF
5521 /* end confdefs.h. */
5534 rm -f conftest.
$ac_objext
5535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5536 (eval $ac_compile) 2>conftest.er1
5538 grep -v '^ *+' conftest.er1
>conftest.err
5540 cat conftest.err
>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } &&
5543 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); }; } &&
5549 { ac_try
='test -s conftest.$ac_objext'
5550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; }; then
5557 echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.
$ac_ext >&5
5562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5563 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5566 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5567 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5568 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5569 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5570 ac_save_CXXFLAGS
=$CXXFLAGS
5572 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5573 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5574 if test "${ac_cv_prog_cxx_g+set}" = set; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 cat >conftest.
$ac_ext <<_ACEOF
5580 cat confdefs.h
>>conftest.
$ac_ext
5581 cat >>conftest.
$ac_ext <<_ACEOF
5582 /* end confdefs.h. */
5592 rm -f conftest.
$ac_objext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5594 (eval $ac_compile) 2>conftest.er1
5596 grep -v '^ *+' conftest.er1
>conftest.err
5598 cat conftest.err
>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } &&
5601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }; } &&
5607 { ac_try
='test -s conftest.$ac_objext'
5608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); }; }; then
5613 ac_cv_prog_cxx_g
=yes
5615 echo "$as_me: failed program was:" >&5
5616 sed 's/^/| /' conftest.
$ac_ext >&5
5620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5622 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5623 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5624 if test "$ac_test_CXXFLAGS" = set; then
5625 CXXFLAGS
=$ac_save_CXXFLAGS
5626 elif test $ac_cv_prog_cxx_g = yes; then
5627 if test "$GXX" = yes; then
5633 if test "$GXX" = yes; then
5639 for ac_declaration
in \
5641 'extern "C" void std::exit (int) throw (); using std::exit;' \
5642 'extern "C" void std::exit (int); using std::exit;' \
5643 'extern "C" void exit (int) throw ();' \
5644 'extern "C" void exit (int);' \
5647 cat >conftest.
$ac_ext <<_ACEOF
5650 cat confdefs.h
>>conftest.
$ac_ext
5651 cat >>conftest.
$ac_ext <<_ACEOF
5652 /* end confdefs.h. */
5663 rm -f conftest.
$ac_objext
5664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5665 (eval $ac_compile) 2>conftest.er1
5667 grep -v '^ *+' conftest.er1
>conftest.err
5669 cat conftest.err
>&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); } &&
5672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); }; } &&
5678 { ac_try
='test -s conftest.$ac_objext'
5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); }; }; then
5686 echo "$as_me: failed program was:" >&5
5687 sed 's/^/| /' conftest.
$ac_ext >&5
5691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5692 cat >conftest.
$ac_ext <<_ACEOF
5695 cat confdefs.h
>>conftest.
$ac_ext
5696 cat >>conftest.
$ac_ext <<_ACEOF
5697 /* end confdefs.h. */
5707 rm -f conftest.
$ac_objext
5708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5709 (eval $ac_compile) 2>conftest.er1
5711 grep -v '^ *+' conftest.er1
>conftest.err
5713 cat conftest.err
>&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); } &&
5716 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721 (exit $ac_status); }; } &&
5722 { ac_try
='test -s conftest.$ac_objext'
5723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); }; }; then
5730 echo "$as_me: failed program was:" >&5
5731 sed 's/^/| /' conftest.
$ac_ext >&5
5734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5737 if test -n "$ac_declaration"; then
5738 echo '#ifdef __cplusplus' >>confdefs.h
5739 echo $ac_declaration >>confdefs.h
5740 echo '#endif' >>confdefs.h
5744 ac_cpp
='$CXXCPP $CPPFLAGS'
5745 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5746 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5747 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5749 depcc
="$CXX" am_compiler_list
=
5751 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5752 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5753 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5754 echo $ECHO_N "(cached) $ECHO_C" >&6
5756 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5757 # We make a subdir and do the tests there. Otherwise we can end up
5758 # making bogus files that we don't know about and never remove. For
5759 # instance it was reported that on HP-UX the gcc test will end up
5760 # making a dummy file named `D' -- because `-MD' means `put the output
5763 # Copy depcomp to subdir because otherwise we won't find it if we're
5764 # using a relative directory.
5765 cp "$am_depcomp" conftest.dir
5767 # We will build objects and dependencies in a subdirectory because
5768 # it helps to detect inapplicable dependency modes. For instance
5769 # both Tru64's cc and ICC support -MD to output dependencies as a
5770 # side effect of compilation, but ICC will put the dependencies in
5771 # the current directory while Tru64 will put them in the object
5775 am_cv_CXX_dependencies_compiler_type
=none
5776 if test "$am_compiler_list" = ""; then
5777 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5779 for depmode
in $am_compiler_list; do
5780 # Setup a source with many dependencies, because some compilers
5781 # like to wrap large dependency lists on column 80 (with \), and
5782 # we should not choose a depcomp mode which is confused by this.
5784 # We need to recreate these files for each test, as the compiler may
5785 # overwrite some of them when testing with obscure command lines.
5786 # This happens at least with the AIX C compiler.
5788 for i
in 1 2 3 4 5 6; do
5789 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5790 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5791 # Solaris 8's {/usr,}/bin/sh.
5792 touch sub
/conftst
$i.h
5794 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5798 # after this tag, mechanisms are not by side-effect, so they'll
5799 # only be used when explicitly requested
5800 if test "x$enable_dependency_tracking" = xyes
; then
5808 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5809 # mode. It turns out that the SunPro C++ compiler does not properly
5810 # handle `-M -o', and we need to detect this.
5811 if depmode
=$depmode \
5812 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5813 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5814 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5815 >/dev
/null
2>conftest.err
&&
5816 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5817 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5818 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5819 # icc doesn't choke on unknown options, it will just issue warnings
5820 # or remarks (even with -Werror). So we grep stderr for any message
5821 # that says an option was ignored or not supported.
5822 # When given -MP, icc 7.0 and 7.1 complain thusly:
5823 # icc: Command line warning: ignoring option '-M'; no argument required
5824 # The diagnosis changed in icc 8.0:
5825 # icc: Command line remark: option '-MP' not supported
5826 if (grep 'ignoring option' conftest.err ||
5827 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5828 am_cv_CXX_dependencies_compiler_type
=$depmode
5837 am_cv_CXX_dependencies_compiler_type
=none
5841 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5842 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5843 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5848 test "x$enable_dependency_tracking" != xno \
5849 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5850 am__fastdepCXX_TRUE
=
5851 am__fastdepCXX_FALSE
='#'
5853 am__fastdepCXX_TRUE
='#'
5854 am__fastdepCXX_FALSE
=
5860 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5861 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5862 (test "X$CXX" != "Xg++"))) ; then
5864 ac_cpp
='$CXXCPP $CPPFLAGS'
5865 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5866 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5867 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5868 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5869 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5870 if test -z "$CXXCPP"; then
5871 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5874 # Double quotes because CXXCPP needs to be expanded
5875 for CXXCPP
in "$CXX -E" "/lib/cpp"
5878 for ac_cxx_preproc_warn_flag
in '' yes
5880 # Use a header file that comes with gcc, so configuring glibc
5881 # with a fresh cross-compiler works.
5882 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5883 # <limits.h> exists even on freestanding compilers.
5884 # On the NeXT, cc -E runs the code through the compiler's parser,
5885 # not just through cpp. "Syntax error" is here to catch this case.
5886 cat >conftest.
$ac_ext <<_ACEOF
5889 cat confdefs.h
>>conftest.
$ac_ext
5890 cat >>conftest.
$ac_ext <<_ACEOF
5891 /* end confdefs.h. */
5893 # include <limits.h>
5895 # include <assert.h>
5899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5900 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5902 grep -v '^ *+' conftest.er1
>conftest.err
5904 cat conftest.err
>&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); } >/dev
/null
; then
5907 if test -s conftest.err
; then
5908 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5909 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5916 if test -z "$ac_cpp_err"; then
5919 echo "$as_me: failed program was:" >&5
5920 sed 's/^/| /' conftest.
$ac_ext >&5
5922 # Broken: fails on valid input.
5925 rm -f conftest.err conftest.
$ac_ext
5927 # OK, works on sane cases. Now check whether non-existent headers
5928 # can be detected and how.
5929 cat >conftest.
$ac_ext <<_ACEOF
5932 cat confdefs.h
>>conftest.
$ac_ext
5933 cat >>conftest.
$ac_ext <<_ACEOF
5934 /* end confdefs.h. */
5935 #include <ac_nonexistent.h>
5937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5940 grep -v '^ *+' conftest.er1
>conftest.err
5942 cat conftest.err
>&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); } >/dev
/null
; then
5945 if test -s conftest.err
; then
5946 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5947 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5954 if test -z "$ac_cpp_err"; then
5955 # Broken: success on invalid input.
5958 echo "$as_me: failed program was:" >&5
5959 sed 's/^/| /' conftest.
$ac_ext >&5
5961 # Passes both tests.
5965 rm -f conftest.err conftest.
$ac_ext
5968 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5969 rm -f conftest.err conftest.
$ac_ext
5970 if $ac_preproc_ok; then
5975 ac_cv_prog_CXXCPP
=$CXXCPP
5978 CXXCPP
=$ac_cv_prog_CXXCPP
5980 ac_cv_prog_CXXCPP
=$CXXCPP
5982 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5983 echo "${ECHO_T}$CXXCPP" >&6
5985 for ac_cxx_preproc_warn_flag
in '' yes
5987 # Use a header file that comes with gcc, so configuring glibc
5988 # with a fresh cross-compiler works.
5989 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5990 # <limits.h> exists even on freestanding compilers.
5991 # On the NeXT, cc -E runs the code through the compiler's parser,
5992 # not just through cpp. "Syntax error" is here to catch this case.
5993 cat >conftest.
$ac_ext <<_ACEOF
5996 cat confdefs.h
>>conftest.
$ac_ext
5997 cat >>conftest.
$ac_ext <<_ACEOF
5998 /* end confdefs.h. */
6000 # include <limits.h>
6002 # include <assert.h>
6006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6009 grep -v '^ *+' conftest.er1
>conftest.err
6011 cat conftest.err
>&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); } >/dev
/null
; then
6014 if test -s conftest.err
; then
6015 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6016 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6023 if test -z "$ac_cpp_err"; then
6026 echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.
$ac_ext >&5
6029 # Broken: fails on valid input.
6032 rm -f conftest.err conftest.
$ac_ext
6034 # OK, works on sane cases. Now check whether non-existent headers
6035 # can be detected and how.
6036 cat >conftest.
$ac_ext <<_ACEOF
6039 cat confdefs.h
>>conftest.
$ac_ext
6040 cat >>conftest.
$ac_ext <<_ACEOF
6041 /* end confdefs.h. */
6042 #include <ac_nonexistent.h>
6044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6047 grep -v '^ *+' conftest.er1
>conftest.err
6049 cat conftest.err
>&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); } >/dev
/null
; then
6052 if test -s conftest.err
; then
6053 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6054 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6061 if test -z "$ac_cpp_err"; then
6062 # Broken: success on invalid input.
6065 echo "$as_me: failed program was:" >&5
6066 sed 's/^/| /' conftest.
$ac_ext >&5
6068 # Passes both tests.
6072 rm -f conftest.err conftest.
$ac_ext
6075 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6076 rm -f conftest.err conftest.
$ac_ext
6077 if $ac_preproc_ok; then
6080 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6081 See \`config.log' for more details." >&5
6082 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6083 See \`config.log' for more details." >&2;}
6084 { (exit 1); exit 1; }; }
6088 ac_cpp
='$CXXCPP $CPPFLAGS'
6089 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6090 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6091 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6097 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6098 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6099 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6100 if test -n "$ac_tool_prefix"; then
6101 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6103 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6104 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6105 echo "$as_me:$LINENO: checking for $ac_word" >&5
6106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6107 if test "${ac_cv_prog_F77+set}" = set; then
6108 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 if test -n "$F77"; then
6111 ac_cv_prog_F77
="$F77" # Let the user override the test.
6113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir
=.
6118 for ac_exec_ext
in '' $ac_executable_extensions; do
6119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 if test -n "$F77"; then
6131 echo "$as_me:$LINENO: result: $F77" >&5
6132 echo "${ECHO_T}$F77" >&6
6134 echo "$as_me:$LINENO: result: no" >&5
6135 echo "${ECHO_T}no" >&6
6138 test -n "$F77" && break
6141 if test -z "$F77"; then
6143 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6145 # Extract the first word of "$ac_prog", so it can be a program name with args.
6146 set dummy
$ac_prog; ac_word
=$2
6147 echo "$as_me:$LINENO: checking for $ac_word" >&5
6148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6149 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6150 echo $ECHO_N "(cached) $ECHO_C" >&6
6152 if test -n "$ac_ct_F77"; then
6153 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6159 test -z "$as_dir" && as_dir
=.
6160 for ac_exec_ext
in '' $ac_executable_extensions; do
6161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6162 ac_cv_prog_ac_ct_F77
="$ac_prog"
6163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6172 if test -n "$ac_ct_F77"; then
6173 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6174 echo "${ECHO_T}$ac_ct_F77" >&6
6176 echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6
6180 test -n "$ac_ct_F77" && break
6187 # Provide some information about the compiler.
6188 echo "$as_me:6188:" \
6189 "checking for Fortran 77 compiler version" >&5
6190 ac_compiler
=`set X $ac_compile; echo $2`
6191 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6192 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }
6196 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6197 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); }
6201 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6202 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); }
6208 # If we don't use `.F' as extension, the preprocessor is not run on the
6209 # input file. (Note that this only needs to work for GNU compilers.)
6212 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6213 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
6214 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 cat >conftest.
$ac_ext <<_ACEOF
6225 rm -f conftest.
$ac_objext
6226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6227 (eval $ac_compile) 2>conftest.er1
6229 grep -v '^ *+' conftest.er1
>conftest.err
6231 cat conftest.err
>&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); } &&
6234 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); }; } &&
6240 { ac_try
='test -s conftest.$ac_objext'
6241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); }; }; then
6248 echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.
$ac_ext >&5
6253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6254 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
6257 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6258 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6260 ac_test_FFLAGS
=${FFLAGS+set}
6261 ac_save_FFLAGS
=$FFLAGS
6263 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6264 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
6265 if test "${ac_cv_prog_f77_g+set}" = set; then
6266 echo $ECHO_N "(cached) $ECHO_C" >&6
6269 cat >conftest.
$ac_ext <<_ACEOF
6274 rm -f conftest.
$ac_objext
6275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6276 (eval $ac_compile) 2>conftest.er1
6278 grep -v '^ *+' conftest.er1
>conftest.err
6280 cat conftest.err
>&5
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); } &&
6283 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 (exit $ac_status); }; } &&
6289 { ac_try
='test -s conftest.$ac_objext'
6290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }; }; then
6295 ac_cv_prog_f77_g
=yes
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.
$ac_ext >&5
6302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6305 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6306 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
6307 if test "$ac_test_FFLAGS" = set; then
6308 FFLAGS
=$ac_save_FFLAGS
6309 elif test $ac_cv_prog_f77_g = yes; then
6310 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
6316 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
6323 G77
=`test $ac_compiler_gnu = yes && echo yes`
6325 ac_cpp
='$CPP $CPPFLAGS'
6326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6332 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6334 # find the maximum length of command line arguments
6335 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6336 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6337 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6338 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 # On DJGPP, this test can blow up pretty badly due to problems in libc
6346 # (any single argument exceeding 2000 bytes causes a buffer overrun
6347 # during glob expansion). Even if it were fixed, the result of this
6348 # check would be larger than it should be.
6349 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6353 # Under GNU Hurd, this test is not required because there is
6354 # no limit to the length of command line arguments.
6355 # Libtool will interpret -1 as no limit whatsoever
6356 lt_cv_sys_max_cmd_len
=-1;
6360 # On Win9x/ME, this test blows up -- it succeeds, but takes
6361 # about 5 minutes as the teststring grows exponentially.
6362 # Worse, since 9x/ME are not pre-emptively multitasking,
6363 # you end up with a "frozen" computer, even though with patience
6364 # the test eventually succeeds (with a max line length of 256k).
6365 # Instead, let's just punt: use the minimum linelength reported by
6366 # all of the supported platforms: 8192 (on NT/2K/XP).
6367 lt_cv_sys_max_cmd_len
=8192;
6371 # On AmigaOS with pdksh, this test takes hours, literally.
6372 # So we just punt and use a minimum line length of 8192.
6373 lt_cv_sys_max_cmd_len
=8192;
6376 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6377 # This has been around since 386BSD, at least. Likely further.
6378 if test -x /sbin
/sysctl
; then
6379 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6380 elif test -x /usr
/sbin
/sysctl
; then
6381 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6383 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6385 # And add a safety zone
6386 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6387 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6391 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6392 lt_cv_sys_max_cmd_len
=196608
6396 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6397 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6398 # nice to cause kernel panics so lets avoid the loop below.
6399 # First set a reasonable default.
6400 lt_cv_sys_max_cmd_len
=16384
6402 if test -x /sbin
/sysconfig
; then
6403 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6404 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6409 lt_cv_sys_max_cmd_len
=102400
6411 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6412 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6413 if test -n "$kargmax"; then
6414 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6416 lt_cv_sys_max_cmd_len
=32768
6420 # If test is not a shell built-in, we'll probably end up computing a
6421 # maximum length that is only half of the actual maximum length, but
6423 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6424 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6425 = "XX$teststring") >/dev
/null
2>&1 &&
6426 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6427 lt_cv_sys_max_cmd_len
=$new_result &&
6428 test $i != 17 # 1/2 MB should be enough
6431 teststring
=$teststring$teststring
6434 # Add a significant safety factor because C++ compilers can tack on massive
6435 # amounts of additional arguments before passing them to the linker.
6436 # It appears as though 1/2 is a usable value.
6437 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6443 if test -n $lt_cv_sys_max_cmd_len ; then
6444 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6445 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6447 echo "$as_me:$LINENO: result: none" >&5
6448 echo "${ECHO_T}none" >&6
6454 # Check for command to grab the raw symbol name followed by C symbol from nm.
6455 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6456 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6457 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6458 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 # These are sane defaults that work on at least a few old systems.
6462 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6464 # Character class describing NM global symbol codes.
6465 symcode
='[BCDEGRST]'
6467 # Regexp to match symbols that can be accessed directly from C.
6468 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6470 # Transform an extracted symbol line into a proper C declaration
6471 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6473 # Transform an extracted symbol line into symbol name and symbol address
6474 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6476 # Define system-specific variables.
6481 cygwin
* | mingw
* | pw32
*)
6482 symcode
='[ABCDGISTW]'
6484 hpux
*) # Its linker distinguishes data from code symbols
6485 if test "$host_cpu" = ia64
; then
6486 symcode
='[ABCDEGRST]'
6488 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6489 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6492 if test "$host_cpu" = ia64
; then
6493 symcode
='[ABCDGIRSTW]'
6494 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6495 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6499 symcode
='[BCDEGRST]'
6502 symcode
='[BCDEGQRST]'
6513 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6521 # Handle CRLF in mingw tool chain
6525 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6529 # If we're using GNU nm, then use its standard symbol codes.
6530 case `$NM -V 2>&1` in
6531 *GNU
* |
*'with BFD'*)
6532 symcode
='[ABCDGIRSTW]' ;;
6535 # Try without a prefix undercore, then with it.
6536 for ac_symprfx
in "" "_"; do
6538 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6539 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6541 # Write the raw and C identifiers.
6542 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6544 # Check to see that the pipe works correctly.
6548 cat > conftest.
$ac_ext <<EOF
6553 void nm_test_func(){}
6557 int main(){nm_test_var='a';nm_test_func();return(0);}
6560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6561 (eval $ac_compile) 2>&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); }; then
6565 # Now try to grab the symbols.
6567 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6568 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571 (exit $ac_status); } && test -s "$nlist"; then
6572 # Try sorting and uniquifying the output.
6573 if sort "$nlist" |
uniq > "$nlist"T
; then
6574 mv -f "$nlist"T
"$nlist"
6579 # Make sure that we snagged all the symbols we need.
6580 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6581 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6582 cat <<EOF > conftest.$ac_ext
6588 # Now generate the symbol file.
6589 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6591 cat <<EOF >> conftest.$ac_ext
6592 #if defined (__STDC__) && __STDC__
6593 # define lt_ptr_t void *
6595 # define lt_ptr_t char *
6599 /* The mapping between symbol names and symbols. */
6604 lt_preloaded_symbols[] =
6607 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6608 cat <<\EOF
>> conftest.
$ac_ext
6616 # Now try linking the two files.
6617 mv conftest.
$ac_objext conftstm.
$ac_objext
6618 lt_save_LIBS
="$LIBS"
6619 lt_save_CFLAGS
="$CFLAGS"
6620 LIBS
="conftstm.$ac_objext"
6621 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6623 (eval $ac_link) 2>&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6629 LIBS
="$lt_save_LIBS"
6630 CFLAGS
="$lt_save_CFLAGS"
6632 echo "cannot find nm_test_func in $nlist" >&5
6635 echo "cannot find nm_test_var in $nlist" >&5
6638 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6641 echo "$progname: failed program was:" >&5
6642 cat conftest.
$ac_ext >&5
6644 rm -f conftest
* conftst
*
6646 # Do not use the global_symbol_pipe unless it works.
6647 if test "$pipe_works" = yes; then
6650 lt_cv_sys_global_symbol_pipe
=
6656 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6657 lt_cv_sys_global_symbol_to_cdecl
=
6659 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6660 echo "$as_me:$LINENO: result: failed" >&5
6661 echo "${ECHO_T}failed" >&6
6663 echo "$as_me:$LINENO: result: ok" >&5
6664 echo "${ECHO_T}ok" >&6
6667 echo "$as_me:$LINENO: checking for objdir" >&5
6668 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6669 if test "${lt_cv_objdir+set}" = set; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6
6672 rm -f .libs
2>/dev
/null
6673 mkdir .libs
2>/dev
/null
6674 if test -d .libs
; then
6677 # MS-DOS does not allow filenames that begin with a dot.
6680 rmdir .libs
2>/dev
/null
6682 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6683 echo "${ECHO_T}$lt_cv_objdir" >&6
6684 objdir
=$lt_cv_objdir
6692 # AIX sometimes has problems with the GCC collect2 program. For some
6693 # reason, if we set the COLLECT_NAMES environment variable, the problems
6694 # vanish in a puff of smoke.
6695 if test "X${COLLECT_NAMES+set}" != Xset
; then
6697 export COLLECT_NAMES
6702 # Sed substitution that helps us do robust quoting. It backslashifies
6703 # metacharacters that are still active within double-quoted strings.
6704 Xsed
='sed -e 1s/^X//'
6705 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6707 # Same as above, but do not quote variable references.
6708 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6710 # Sed substitution to delay expansion of an escaped shell variable in a
6711 # double_quote_subst'ed string.
6712 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6714 # Sed substitution to avoid accidental globbing in evaled expressions
6715 no_glob_subst
='s/\*/\\\*/g'
6721 default_ofile
=libtool
6722 can_build_shared
=yes
6724 # All known linkers require a `.a' archive for static linking (except MSVC,
6725 # which needs '.lib').
6727 ltmain
="$ac_aux_dir/ltmain.sh"
6728 ofile
="$default_ofile"
6729 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6731 if test -n "$ac_tool_prefix"; then
6732 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6733 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6734 echo "$as_me:$LINENO: checking for $ac_word" >&5
6735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6736 if test "${ac_cv_prog_AR+set}" = set; then
6737 echo $ECHO_N "(cached) $ECHO_C" >&6
6739 if test -n "$AR"; then
6740 ac_cv_prog_AR
="$AR" # Let the user override the test.
6742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6746 test -z "$as_dir" && as_dir
=.
6747 for ac_exec_ext
in '' $ac_executable_extensions; do
6748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 if test -n "$AR"; then
6760 echo "$as_me:$LINENO: result: $AR" >&5
6761 echo "${ECHO_T}$AR" >&6
6763 echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6
6768 if test -z "$ac_cv_prog_AR"; then
6770 # Extract the first word of "ar", so it can be a program name with args.
6771 set dummy
ar; ac_word
=$2
6772 echo "$as_me:$LINENO: checking for $ac_word" >&5
6773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6774 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6775 echo $ECHO_N "(cached) $ECHO_C" >&6
6777 if test -n "$ac_ct_AR"; then
6778 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6784 test -z "$as_dir" && as_dir
=.
6785 for ac_exec_ext
in '' $ac_executable_extensions; do
6786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6787 ac_cv_prog_ac_ct_AR
="ar"
6788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6794 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6797 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6798 if test -n "$ac_ct_AR"; then
6799 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6800 echo "${ECHO_T}$ac_ct_AR" >&6
6802 echo "$as_me:$LINENO: result: no" >&5
6803 echo "${ECHO_T}no" >&6
6811 if test -n "$ac_tool_prefix"; then
6812 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6813 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6814 echo "$as_me:$LINENO: checking for $ac_word" >&5
6815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6816 if test "${ac_cv_prog_RANLIB+set}" = set; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6819 if test -n "$RANLIB"; then
6820 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6826 test -z "$as_dir" && as_dir
=.
6827 for ac_exec_ext
in '' $ac_executable_extensions; do
6828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6829 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6838 RANLIB
=$ac_cv_prog_RANLIB
6839 if test -n "$RANLIB"; then
6840 echo "$as_me:$LINENO: result: $RANLIB" >&5
6841 echo "${ECHO_T}$RANLIB" >&6
6843 echo "$as_me:$LINENO: result: no" >&5
6844 echo "${ECHO_T}no" >&6
6848 if test -z "$ac_cv_prog_RANLIB"; then
6849 ac_ct_RANLIB
=$RANLIB
6850 # Extract the first word of "ranlib", so it can be a program name with args.
6851 set dummy ranlib
; ac_word
=$2
6852 echo "$as_me:$LINENO: checking for $ac_word" >&5
6853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6854 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6855 echo $ECHO_N "(cached) $ECHO_C" >&6
6857 if test -n "$ac_ct_RANLIB"; then
6858 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6864 test -z "$as_dir" && as_dir
=.
6865 for ac_exec_ext
in '' $ac_executable_extensions; do
6866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6867 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6877 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6878 if test -n "$ac_ct_RANLIB"; then
6879 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6880 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6882 echo "$as_me:$LINENO: result: no" >&5
6883 echo "${ECHO_T}no" >&6
6886 RANLIB
=$ac_ct_RANLIB
6888 RANLIB
="$ac_cv_prog_RANLIB"
6891 if test -n "$ac_tool_prefix"; then
6892 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6893 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6894 echo "$as_me:$LINENO: checking for $ac_word" >&5
6895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6896 if test "${ac_cv_prog_STRIP+set}" = set; then
6897 echo $ECHO_N "(cached) $ECHO_C" >&6
6899 if test -n "$STRIP"; then
6900 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir
=.
6907 for ac_exec_ext
in '' $ac_executable_extensions; do
6908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 STRIP
=$ac_cv_prog_STRIP
6919 if test -n "$STRIP"; then
6920 echo "$as_me:$LINENO: result: $STRIP" >&5
6921 echo "${ECHO_T}$STRIP" >&6
6923 echo "$as_me:$LINENO: result: no" >&5
6924 echo "${ECHO_T}no" >&6
6928 if test -z "$ac_cv_prog_STRIP"; then
6930 # Extract the first word of "strip", so it can be a program name with args.
6931 set dummy strip
; ac_word
=$2
6932 echo "$as_me:$LINENO: checking for $ac_word" >&5
6933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6934 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6935 echo $ECHO_N "(cached) $ECHO_C" >&6
6937 if test -n "$ac_ct_STRIP"; then
6938 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir
=.
6945 for ac_exec_ext
in '' $ac_executable_extensions; do
6946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6947 ac_cv_prog_ac_ct_STRIP
="strip"
6948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6954 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6957 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6958 if test -n "$ac_ct_STRIP"; then
6959 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6960 echo "${ECHO_T}$ac_ct_STRIP" >&6
6962 echo "$as_me:$LINENO: result: no" >&5
6963 echo "${ECHO_T}no" >&6
6968 STRIP
="$ac_cv_prog_STRIP"
6973 old_CFLAGS
="$CFLAGS"
6975 # Set sane defaults for various variables
6976 test -z "$AR" && AR
=ar
6977 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6978 test -z "$AS" && AS
=as
6979 test -z "$CC" && CC
=cc
6980 test -z "$LTCC" && LTCC
=$CC
6981 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6982 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6983 test -z "$LD" && LD
=ld
6984 test -z "$LN_S" && LN_S
="ln -s"
6985 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6986 test -z "$NM" && NM
=nm
6987 test -z "$SED" && SED
=sed
6988 test -z "$OBJDUMP" && OBJDUMP
=objdump
6989 test -z "$RANLIB" && RANLIB
=:
6990 test -z "$STRIP" && STRIP
=:
6991 test -z "$ac_objext" && ac_objext
=o
6993 # Determine commands to create old-style static archives.
6994 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6995 old_postinstall_cmds
='chmod 644 $oldlib'
6996 old_postuninstall_cmds
=
6998 if test -n "$RANLIB"; then
7001 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7004 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7007 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7010 for cc_temp
in $compiler""; do
7012 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7013 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7018 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7021 # Only perform the check for file, if the check method requires it
7022 case $deplibs_check_method in
7024 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7025 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7026 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7027 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7028 echo $ECHO_N "(cached) $ECHO_C" >&6
7032 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7035 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7036 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7037 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7038 for ac_dir
in $ac_dummy; do
7040 test -z "$ac_dir" && ac_dir
=.
7041 if test -f $ac_dir/${ac_tool_prefix}file; then
7042 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7043 if test -n "$file_magic_test_file"; then
7044 case $deplibs_check_method in
7046 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7047 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7048 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7049 $EGREP "$file_magic_regex" > /dev
/null
; then
7054 *** Warning: the command libtool uses to detect shared libraries,
7055 *** $file_magic_cmd, produces output that libtool cannot recognize.
7056 *** The result is that libtool may fail to recognize shared libraries
7057 *** as such. This will affect the creation of libtool libraries that
7058 *** depend on shared libraries, but programs linked with such libtool
7059 *** libraries will work regardless of this problem. Nevertheless, you
7060 *** may want to report the problem to your system manager and/or to
7061 *** bug-libtool@gnu.org
7071 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7076 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7077 if test -n "$MAGIC_CMD"; then
7078 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7079 echo "${ECHO_T}$MAGIC_CMD" >&6
7081 echo "$as_me:$LINENO: result: no" >&5
7082 echo "${ECHO_T}no" >&6
7085 if test -z "$lt_cv_path_MAGIC_CMD"; then
7086 if test -n "$ac_tool_prefix"; then
7087 echo "$as_me:$LINENO: checking for file" >&5
7088 echo $ECHO_N "checking for file... $ECHO_C" >&6
7089 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7094 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7097 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7098 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7099 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7100 for ac_dir
in $ac_dummy; do
7102 test -z "$ac_dir" && ac_dir
=.
7103 if test -f $ac_dir/file; then
7104 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7105 if test -n "$file_magic_test_file"; then
7106 case $deplibs_check_method in
7108 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7109 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7110 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7111 $EGREP "$file_magic_regex" > /dev
/null
; then
7116 *** Warning: the command libtool uses to detect shared libraries,
7117 *** $file_magic_cmd, produces output that libtool cannot recognize.
7118 *** The result is that libtool may fail to recognize shared libraries
7119 *** as such. This will affect the creation of libtool libraries that
7120 *** depend on shared libraries, but programs linked with such libtool
7121 *** libraries will work regardless of this problem. Nevertheless, you
7122 *** may want to report the problem to your system manager and/or to
7123 *** bug-libtool@gnu.org
7133 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7138 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7139 if test -n "$MAGIC_CMD"; then
7140 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7141 echo "${ECHO_T}$MAGIC_CMD" >&6
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7159 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7160 if test "${enable_libtool_lock+set}" = set; then
7161 enableval
="$enable_libtool_lock"
7164 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7167 # Check whether --with-pic or --without-pic was given.
7168 if test "${with_pic+set}" = set; then
7174 test -z "$pic_mode" && pic_mode
=default
7176 # Use C for the default configuration in the libtool script
7180 ac_cpp
='$CPP $CPPFLAGS'
7181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7186 # Source file extension for C test sources.
7189 # Object file extension for compiled C test sources.
7193 # Code to be used in simple compile tests
7194 lt_simple_compile_test_code
="int some_variable = 0;\n"
7196 # Code to be used in simple link tests
7197 lt_simple_link_test_code
='int main(){return(0);}\n'
7200 # If no C compiler was specified, use CC.
7203 # If no C compiler flags were specified, use CFLAGS.
7204 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7206 # Allow CC to be a program name with arguments.
7210 # save warnings/boilerplate of simple test code
7211 ac_outfile
=conftest.
$ac_objext
7212 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7213 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7214 _lt_compiler_boilerplate
=`cat conftest.err`
7217 ac_outfile
=conftest.
$ac_objext
7218 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7219 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7220 _lt_linker_boilerplate
=`cat conftest.err`
7225 lt_prog_compiler_no_builtin_flag
=
7227 if test "$GCC" = yes; then
7228 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7231 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7232 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7233 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7234 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 lt_cv_prog_compiler_rtti_exceptions
=no
7237 ac_outfile
=conftest.
$ac_objext
7238 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7239 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7240 # Insert the option either (1) after the last *FLAGS variable, or
7241 # (2) before a word containing "conftest.", or (3) at the end.
7242 # Note that $ac_compile itself does not contain backslashes and begins
7243 # with a dollar sign (not a hyphen), so the echo should work correctly.
7244 # The option is referenced via a variable to avoid confusing sed.
7245 lt_compile
=`echo "$ac_compile" | $SED \
7246 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7247 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7248 -e 's:$: $lt_compiler_flag:'`
7249 (eval echo "\"\$as_me:7249: $lt_compile\"" >&5)
7250 (eval "$lt_compile" 2>conftest.err
)
7252 cat conftest.err
>&5
7253 echo "$as_me:7253: \$? = $ac_status" >&5
7254 if (exit $ac_status) && test -s "$ac_outfile"; then
7255 # The compiler can only warn and ignore the option if not recognized
7256 # So say no if there are warnings other than the usual output.
7257 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7258 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7259 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7260 lt_cv_prog_compiler_rtti_exceptions
=yes
7266 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7267 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7269 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7270 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7277 lt_prog_compiler_wl
=
7278 lt_prog_compiler_pic
=
7279 lt_prog_compiler_static
=
7281 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7282 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7284 if test "$GCC" = yes; then
7285 lt_prog_compiler_wl
='-Wl,'
7286 lt_prog_compiler_static
='-static'
7290 # All AIX code is PIC.
7291 if test "$host_cpu" = ia64
; then
7292 # AIX 5 now supports IA64 processor
7293 lt_prog_compiler_static
='-Bstatic'
7298 # FIXME: we need at least 68020 code to build shared libraries, but
7299 # adding the `-m68020' flag to GCC prevents building anything better,
7301 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7304 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7305 # PIC is the default for these OSes.
7308 mingw
* | pw32
* | os2
*)
7309 # This hack is so that the source file can tell whether it is being
7310 # built for inclusion in a dll (and should export symbols for example).
7311 lt_prog_compiler_pic
='-DDLL_EXPORT'
7314 darwin
* | rhapsody
*)
7315 # PIC is the default on this platform
7316 # Common symbols not allowed in MH_DYLIB files
7317 lt_prog_compiler_pic
='-fno-common'
7321 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7322 # Instead, we relocate shared libraries at runtime.
7326 # Just because we use GCC doesn't mean we suddenly get shared libraries
7327 # on systems that don't support them.
7328 lt_prog_compiler_can_build_shared
=no
7333 if test -d /usr
/nec
; then
7334 lt_prog_compiler_pic
=-Kconform_pic
7339 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7346 lt_prog_compiler_pic
='-fPIC'
7352 lt_prog_compiler_pic
='-fPIC'
7356 # PORTME Check for flag to pass linker flags through the system compiler.
7359 lt_prog_compiler_wl
='-Wl,'
7360 if test "$host_cpu" = ia64
; then
7361 # AIX 5 now supports IA64 processor
7362 lt_prog_compiler_static
='-Bstatic'
7364 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7368 # PIC is the default on this platform
7369 # Common symbols not allowed in MH_DYLIB files
7370 case $cc_basename in
7372 lt_prog_compiler_pic
='-qnocommon'
7373 lt_prog_compiler_wl
='-Wl,'
7378 mingw
* | pw32
* | os2
*)
7379 # This hack is so that the source file can tell whether it is being
7380 # built for inclusion in a dll (and should export symbols for example).
7381 lt_prog_compiler_pic
='-DDLL_EXPORT'
7384 hpux9
* | hpux10
* | hpux11
*)
7385 lt_prog_compiler_wl
='-Wl,'
7386 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7393 lt_prog_compiler_pic
='+Z'
7396 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7397 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7400 irix5
* | irix6
* | nonstopux
*)
7401 lt_prog_compiler_wl
='-Wl,'
7402 # PIC (with -KPIC) is the default.
7403 lt_prog_compiler_static
='-non_shared'
7407 lt_prog_compiler_pic
='-KPIC'
7408 lt_prog_compiler_static
='-Bstatic'
7412 case $cc_basename in
7414 lt_prog_compiler_wl
='-Wl,'
7415 lt_prog_compiler_pic
='-KPIC'
7416 lt_prog_compiler_static
='-static'
7418 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7419 # Portland Group compilers (*not* the Pentium gcc compiler,
7420 # which looks to be a dead project)
7421 lt_prog_compiler_wl
='-Wl,'
7422 lt_prog_compiler_pic
='-fpic'
7423 lt_prog_compiler_static
='-Bstatic'
7426 lt_prog_compiler_wl
='-Wl,'
7427 # All Alpha code is PIC.
7428 lt_prog_compiler_static
='-non_shared'
7433 osf3
* | osf4
* | osf5
*)
7434 lt_prog_compiler_wl
='-Wl,'
7435 # All OSF/1 code is PIC.
7436 lt_prog_compiler_static
='-non_shared'
7440 lt_prog_compiler_pic
='-KPIC'
7441 lt_prog_compiler_static
='-Bstatic'
7442 case $cc_basename in
7444 lt_prog_compiler_wl
='-Qoption ld ';;
7446 lt_prog_compiler_wl
='-Wl,';;
7451 lt_prog_compiler_wl
='-Qoption ld '
7452 lt_prog_compiler_pic
='-PIC'
7453 lt_prog_compiler_static
='-Bstatic'
7456 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7457 lt_prog_compiler_wl
='-Wl,'
7458 lt_prog_compiler_pic
='-KPIC'
7459 lt_prog_compiler_static
='-Bstatic'
7463 if test -d /usr
/nec
;then
7464 lt_prog_compiler_pic
='-Kconform_pic'
7465 lt_prog_compiler_static
='-Bstatic'
7469 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7470 lt_prog_compiler_wl
='-Wl,'
7471 lt_prog_compiler_pic
='-KPIC'
7472 lt_prog_compiler_static
='-Bstatic'
7476 lt_prog_compiler_wl
='-Wl,'
7477 lt_prog_compiler_can_build_shared
=no
7481 lt_prog_compiler_pic
='-pic'
7482 lt_prog_compiler_static
='-Bstatic'
7486 lt_prog_compiler_can_build_shared
=no
7491 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7492 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7495 # Check to make sure the PIC flag actually works.
7497 if test -n "$lt_prog_compiler_pic"; then
7499 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7500 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7501 if test "${lt_prog_compiler_pic_works+set}" = set; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 lt_prog_compiler_pic_works
=no
7505 ac_outfile
=conftest.
$ac_objext
7506 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7507 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7508 # Insert the option either (1) after the last *FLAGS variable, or
7509 # (2) before a word containing "conftest.", or (3) at the end.
7510 # Note that $ac_compile itself does not contain backslashes and begins
7511 # with a dollar sign (not a hyphen), so the echo should work correctly.
7512 # The option is referenced via a variable to avoid confusing sed.
7513 lt_compile
=`echo "$ac_compile" | $SED \
7514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7516 -e 's:$: $lt_compiler_flag:'`
7517 (eval echo "\"\$as_me:7517: $lt_compile\"" >&5)
7518 (eval "$lt_compile" 2>conftest.err
)
7520 cat conftest.err
>&5
7521 echo "$as_me:7521: \$? = $ac_status" >&5
7522 if (exit $ac_status) && test -s "$ac_outfile"; then
7523 # The compiler can only warn and ignore the option if not recognized
7524 # So say no if there are warnings other than the usual output.
7525 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7526 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7527 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7528 lt_prog_compiler_pic_works
=yes
7534 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7535 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7537 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7538 case $lt_prog_compiler_pic in
7540 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7543 lt_prog_compiler_pic
=
7544 lt_prog_compiler_can_build_shared
=no
7549 # For platforms which do not support PIC, -DPIC is meaningless:
7551 lt_prog_compiler_pic
=
7554 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7559 # Check to make sure the static flag actually works.
7561 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7562 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7563 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7564 if test "${lt_prog_compiler_static_works+set}" = set; then
7565 echo $ECHO_N "(cached) $ECHO_C" >&6
7567 lt_prog_compiler_static_works
=no
7568 save_LDFLAGS
="$LDFLAGS"
7569 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7570 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7571 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7572 # The linker can only warn and ignore the option if not recognized
7573 # So say no if there are warnings
7574 if test -s conftest.err
; then
7575 # Append any errors to the config.log.
7576 cat conftest.err
1>&5
7577 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7578 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7579 if diff conftest.exp conftest.er2
>/dev
/null
; then
7580 lt_prog_compiler_static_works
=yes
7583 lt_prog_compiler_static_works
=yes
7587 LDFLAGS
="$save_LDFLAGS"
7590 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7591 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7593 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7596 lt_prog_compiler_static
=
7600 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7601 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7602 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7605 lt_cv_prog_compiler_c_o
=no
7606 $rm -r conftest
2>/dev
/null
7610 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7612 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7613 # Insert the option either (1) after the last *FLAGS variable, or
7614 # (2) before a word containing "conftest.", or (3) at the end.
7615 # Note that $ac_compile itself does not contain backslashes and begins
7616 # with a dollar sign (not a hyphen), so the echo should work correctly.
7617 lt_compile
=`echo "$ac_compile" | $SED \
7618 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7619 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7620 -e 's:$: $lt_compiler_flag:'`
7621 (eval echo "\"\$as_me:7621: $lt_compile\"" >&5)
7622 (eval "$lt_compile" 2>out
/conftest.err
)
7624 cat out
/conftest.err
>&5
7625 echo "$as_me:7625: \$? = $ac_status" >&5
7626 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7628 # The compiler can only warn and ignore the option if not recognized
7629 # So say no if there are warnings
7630 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7631 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7632 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7633 lt_cv_prog_compiler_c_o
=yes
7638 # SGI C++ compiler will create directory out/ii_files/ for
7639 # template instantiation
7640 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7641 $rm out
/* && rmdir out
7647 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7648 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7651 hard_links
="nottested"
7652 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7653 # do not overwrite the value of need_locks provided by the user
7654 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7655 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7658 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7660 ln conftest.a conftest.b
2>&5 || hard_links
=no
7661 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7662 echo "$as_me:$LINENO: result: $hard_links" >&5
7663 echo "${ECHO_T}$hard_links" >&6
7664 if test "$hard_links" = no
; then
7665 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7666 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7673 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7674 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7677 allow_undefined_flag
=
7678 enable_shared_with_static_runtimes
=no
7680 archive_expsym_cmds
=
7681 old_archive_From_new_cmds
=
7682 old_archive_from_expsyms_cmds
=
7683 export_dynamic_flag_spec
=
7684 whole_archive_flag_spec
=
7685 thread_safe_flag_spec
=
7686 hardcode_libdir_flag_spec
=
7687 hardcode_libdir_flag_spec_ld
=
7688 hardcode_libdir_separator
=
7691 hardcode_shlibpath_var
=unsupported
7692 link_all_deplibs
=unknown
7693 hardcode_automatic
=no
7696 always_export_symbols
=no
7697 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7698 # include_expsyms should be a list of space-separated symbols to be *always*
7699 # included in the symbol list
7701 # exclude_expsyms can be an extended regexp of symbols to exclude
7702 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7703 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7704 # as well as any symbol that contains `d'.
7705 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7706 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7707 # platforms (ab)use it in PIC code, but their linkers get confused if
7708 # the symbol is explicitly referenced. Since portable code cannot
7709 # rely on this symbol name, it's probably fine to never include it in
7710 # preloaded symbol tables.
7711 extract_expsyms_cmds
=
7712 # Just being paranoid about ensuring that cc_basename is set.
7713 for cc_temp
in $compiler""; do
7715 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7716 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7721 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7724 cygwin
* | mingw
* | pw32
*)
7725 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7726 # When not using gcc, we currently assume that we are using
7727 # Microsoft Visual C++.
7728 if test "$GCC" != yes; then
7733 # we just hope/assume this is gcc and not c89 (= MSVC++)
7742 if test "$with_gnu_ld" = yes; then
7743 # If archive_cmds runs LD, not CC, wlarc should be empty
7746 # Set some defaults for GNU ld with shared library support. These
7747 # are reset later if shared libraries are not supported. Putting them
7748 # here allows them to be overridden if necessary.
7749 runpath_var
=LD_RUN_PATH
7750 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7751 export_dynamic_flag_spec
='${wl}--export-dynamic'
7752 # ancient GNU ld didn't support --whole-archive et. al.
7753 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7754 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7756 whole_archive_flag_spec
=
7758 supports_anon_versioning
=no
7759 case `$LD -v 2>/dev/null` in
7760 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7761 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7762 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7763 *\
2.11.
*) ;; # other 2.11 versions
7764 *) supports_anon_versioning
=yes ;;
7767 # See if GNU ld supports shared libraries.
7769 aix3
* | aix4
* | aix5
*)
7770 # On AIX/PPC, the GNU linker is very broken
7771 if test "$host_cpu" != ia64
; then
7775 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7776 *** to be unable to reliably create shared libraries on AIX.
7777 *** Therefore, libtool is disabling shared libraries support. If you
7778 *** really care for shared libraries, you may want to modify your PATH
7779 *** so that a non-GNU linker is found, and then restart.
7786 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)'
7787 hardcode_libdir_flag_spec
='-L$libdir'
7788 hardcode_minus_L
=yes
7790 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7791 # that the semantics of dynamic libraries on AmigaOS, at least up
7792 # to version 4, is to share data among multiple programs linked
7793 # with the same dynamic library. Since this doesn't match the
7794 # behavior of shared libraries on other platforms, we can't use
7800 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7801 allow_undefined_flag
=unsupported
7802 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7803 # support --undefined. This deserves some investigation. FIXME
7804 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7810 cygwin
* | mingw
* | pw32
*)
7811 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7812 # as there is no search path for DLLs.
7813 hardcode_libdir_flag_spec
='-L$libdir'
7814 allow_undefined_flag
=unsupported
7815 always_export_symbols
=no
7816 enable_shared_with_static_runtimes
=yes
7817 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7819 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7820 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7821 # If the export-symbols file already is a .def file (1st line
7822 # is EXPORTS), use it as is; otherwise, prepend...
7823 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7824 cp $export_symbols $output_objdir/$soname.def;
7826 echo EXPORTS > $output_objdir/$soname.def;
7827 cat $export_symbols >> $output_objdir/$soname.def;
7829 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7837 hardcode_shlibpath_var
=no
7838 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7839 export_dynamic_flag_spec
='${wl}-E'
7840 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7841 # Instead, shared libraries are loaded at an image base (0x10000000 by
7842 # default) and relocated if they conflict, which is a slow very memory
7843 # consuming and fragmenting process. To avoid this, we pick a random,
7844 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7845 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7846 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7847 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'
7851 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7853 case $cc_basename,$host_cpu in
7854 pgcc
*) # Portland Group C compiler
7855 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7856 tmp_addflag
=' $pic_flag'
7858 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7859 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7860 tmp_addflag
=' $pic_flag -Mnomain' ;;
7861 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7862 tmp_addflag
=' -i_dynamic' ;;
7863 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7864 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7865 ifc
* | ifort
*) # Intel Fortran compiler
7866 tmp_addflag
=' -nofor_main' ;;
7868 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7870 if test $supports_anon_versioning = yes; then
7871 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7872 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7873 $echo "local: *; };" >> $output_objdir/$libname.ver~
7874 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7882 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7883 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7886 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7887 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7892 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7896 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7897 *** create shared libraries on Solaris systems. Therefore, libtool
7898 *** is disabling shared libraries support. We urge you to upgrade GNU
7899 *** binutils to release 2.9.1 or newer. Another option is to modify
7900 *** your PATH or compiler configuration so that the native linker is
7901 *** used, and then restart.
7904 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7905 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7906 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7912 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7913 case `$LD -v 2>&1` in
7914 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7918 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7919 *** reliably create shared libraries on SCO systems. Therefore, libtool
7920 *** is disabling shared libraries support. We urge you to upgrade GNU
7921 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7922 *** your PATH or compiler configuration so that the native linker is
7923 *** used, and then restart.
7928 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7929 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7930 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7931 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7940 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7943 hardcode_shlibpath_var
=no
7947 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7948 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7949 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7956 if test "$ld_shlibs" = no
; then
7958 hardcode_libdir_flag_spec
=
7959 export_dynamic_flag_spec
=
7960 whole_archive_flag_spec
=
7963 # PORTME fill in a description of your system's linker (not GNU ld)
7966 allow_undefined_flag
=unsupported
7967 always_export_symbols
=yes
7968 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'
7969 # Note: this linker hardcodes the directories in LIBPATH if there
7970 # are no directories specified by -L.
7971 hardcode_minus_L
=yes
7972 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7973 # Neither direct hardcoding nor static linking is supported with a
7975 hardcode_direct
=unsupported
7980 if test "$host_cpu" = ia64
; then
7981 # On IA64, the linker does run time linking by default, so we don't
7982 # have to do anything special.
7983 aix_use_runtimelinking
=no
7984 exp_sym_flag
='-Bexport'
7987 # If we're using GNU nm, then we don't want the "-C" option.
7988 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7989 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7990 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
7992 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'
7994 aix_use_runtimelinking
=no
7996 # Test if we are trying to use run time linking or normal
7997 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7998 # need to do runtime linking.
7999 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8000 for ld_flag
in $LDFLAGS; do
8001 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8002 aix_use_runtimelinking
=yes
8009 exp_sym_flag
='-bexport'
8010 no_entry_flag
='-bnoentry'
8013 # When large executables or shared objects are built, AIX ld can
8014 # have problems creating the table of contents. If linking a library
8015 # or program results in "error TOC overflow" add -mminimal-toc to
8016 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8017 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8021 hardcode_libdir_separator
=':'
8022 link_all_deplibs
=yes
8024 if test "$GCC" = yes; then
8025 case $host_os in aix4.
[012]|aix4.
[012].
*)
8026 # We only want to do this on AIX 4.2 and lower, the check
8027 # below for broken collect2 doesn't work under 4.3+
8028 collect2name
=`${CC} -print-prog-name=collect2`
8029 if test -f "$collect2name" && \
8030 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8032 # We have reworked collect2
8035 # We have old collect2
8036 hardcode_direct
=unsupported
8037 # It fails to find uninstalled libraries when the uninstalled
8038 # path is not listed in the libpath. Setting hardcode_minus_L
8039 # to unsupported forces relinking
8040 hardcode_minus_L
=yes
8041 hardcode_libdir_flag_spec
='-L$libdir'
8042 hardcode_libdir_separator
=
8046 shared_flag
='-shared'
8047 if test "$aix_use_runtimelinking" = yes; then
8048 shared_flag
="$shared_flag "'${wl}-G'
8052 if test "$host_cpu" = ia64
; then
8053 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8054 # chokes on -Wl,-G. The following line is correct:
8057 if test "$aix_use_runtimelinking" = yes; then
8058 shared_flag
='${wl}-G'
8060 shared_flag
='${wl}-bM:SRE'
8065 # It seems that -bexpall does not export symbols beginning with
8066 # underscore (_), so it is better to generate a list of symbols to export.
8067 always_export_symbols
=yes
8068 if test "$aix_use_runtimelinking" = yes; then
8069 # Warning - without using the other runtime loading flags (-brtl),
8070 # -berok will link without error, but may produce a broken library.
8071 allow_undefined_flag
='-berok'
8072 # Determine the default libpath from the value encoded in an empty executable.
8073 cat >conftest.
$ac_ext <<_ACEOF
8076 cat confdefs.h
>>conftest.
$ac_ext
8077 cat >>conftest.
$ac_ext <<_ACEOF
8078 /* end confdefs.h. */
8088 rm -f conftest.
$ac_objext conftest
$ac_exeext
8089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8090 (eval $ac_link) 2>conftest.er1
8092 grep -v '^ *+' conftest.er1
>conftest.err
8094 cat conftest.err
>&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } &&
8097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8102 (exit $ac_status); }; } &&
8103 { ac_try
='test -s conftest$ac_exeext'
8104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); }; }; then
8110 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8112 # Check for a 64-bit object if we didn't find anything.
8113 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8116 echo "$as_me: failed program was:" >&5
8117 sed 's/^/| /' conftest.
$ac_ext >&5
8120 rm -f conftest.err conftest.
$ac_objext \
8121 conftest
$ac_exeext conftest.
$ac_ext
8122 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8124 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8125 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8127 if test "$host_cpu" = ia64
; then
8128 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8129 allow_undefined_flag
="-z nodefs"
8130 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"
8132 # Determine the default libpath from the value encoded in an empty executable.
8133 cat >conftest.
$ac_ext <<_ACEOF
8136 cat confdefs.h
>>conftest.
$ac_ext
8137 cat >>conftest.
$ac_ext <<_ACEOF
8138 /* end confdefs.h. */
8148 rm -f conftest.
$ac_objext conftest
$ac_exeext
8149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8150 (eval $ac_link) 2>conftest.er1
8152 grep -v '^ *+' conftest.er1
>conftest.err
8154 cat conftest.err
>&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } &&
8157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); }; } &&
8163 { ac_try
='test -s conftest$ac_exeext'
8164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168 (exit $ac_status); }; }; then
8170 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8172 # Check for a 64-bit object if we didn't find anything.
8173 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8176 echo "$as_me: failed program was:" >&5
8177 sed 's/^/| /' conftest.
$ac_ext >&5
8180 rm -f conftest.err conftest.
$ac_objext \
8181 conftest
$ac_exeext conftest.
$ac_ext
8182 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8184 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8185 # Warning - without using the other run time loading flags,
8186 # -berok will link without error, but may produce a broken library.
8187 no_undefined_flag
=' ${wl}-bernotok'
8188 allow_undefined_flag
=' ${wl}-berok'
8189 # Exported symbols can be pulled into shared objects from archives
8190 whole_archive_flag_spec
='$convenience'
8191 archive_cmds_need_lc
=yes
8192 # This is similar to how AIX traditionally builds its shared libraries.
8193 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'
8199 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)'
8200 hardcode_libdir_flag_spec
='-L$libdir'
8201 hardcode_minus_L
=yes
8202 # see comment about different semantics on the GNU ld section
8207 export_dynamic_flag_spec
=-rdynamic
8210 cygwin
* | mingw
* | pw32
*)
8211 # When not using gcc, we currently assume that we are using
8212 # Microsoft Visual C++.
8213 # hardcode_libdir_flag_spec is actually meaningless, as there is
8214 # no search path for DLLs.
8215 hardcode_libdir_flag_spec
=' '
8216 allow_undefined_flag
=unsupported
8217 # Tell ltmain to make .lib files, not .a files.
8219 # Tell ltmain to make .dll files, not .so files.
8221 # FIXME: Setting linknames here is a bad hack.
8222 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8223 # The linker will automatically build a .lib file if we build a DLL.
8224 old_archive_From_new_cmds
='true'
8225 # FIXME: Should let the user specify the lib program.
8226 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8227 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8228 enable_shared_with_static_runtimes
=yes
8231 darwin
* | rhapsody
*)
8233 rhapsody
* | darwin1.
[012])
8234 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8237 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8238 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8240 case ${MACOSX_DEPLOYMENT_TARGET} in
8242 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8245 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8251 archive_cmds_need_lc
=no
8253 hardcode_automatic
=yes
8254 hardcode_shlibpath_var
=unsupported
8255 whole_archive_flag_spec
=''
8256 link_all_deplibs
=yes
8257 if test "$GCC" = yes ; then
8258 output_verbose_link_cmd
='echo'
8259 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8260 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8261 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8262 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8263 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8265 case $cc_basename in
8267 output_verbose_link_cmd
='echo'
8268 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8269 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8270 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8271 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8272 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8282 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8283 hardcode_libdir_flag_spec
='-L$libdir'
8284 hardcode_shlibpath_var
=no
8291 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8292 # support. Future versions do this automatically, but an explicit c++rt0.o
8293 # does not break anything, and helps significantly (at the cost of a little
8296 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8297 hardcode_libdir_flag_spec
='-R$libdir'
8299 hardcode_shlibpath_var
=no
8302 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8304 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8306 hardcode_minus_L
=yes
8307 hardcode_shlibpath_var
=no
8310 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8311 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8312 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8313 hardcode_libdir_flag_spec
='-R$libdir'
8315 hardcode_shlibpath_var
=no
8319 if test "$GCC" = yes; then
8320 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8322 archive_cmds
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8324 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8325 hardcode_libdir_separator
=:
8328 # hardcode_minus_L: Not really in the search PATH,
8329 # but as the default location of the library.
8330 hardcode_minus_L
=yes
8331 export_dynamic_flag_spec
='${wl}-E'
8335 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8336 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8338 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8340 if test "$with_gnu_ld" = no
; then
8341 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8342 hardcode_libdir_separator
=:
8345 export_dynamic_flag_spec
='${wl}-E'
8347 # hardcode_minus_L: Not really in the search PATH,
8348 # but as the default location of the library.
8349 hardcode_minus_L
=yes
8354 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8357 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8360 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8363 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8369 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8372 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8375 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8379 if test "$with_gnu_ld" = no
; then
8380 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8381 hardcode_libdir_separator
=:
8385 hardcode_libdir_flag_spec_ld
='+b $libdir'
8387 hardcode_shlibpath_var
=no
8391 export_dynamic_flag_spec
='${wl}-E'
8393 # hardcode_minus_L: Not really in the search PATH,
8394 # but as the default location of the library.
8395 hardcode_minus_L
=yes
8401 irix5
* | irix6
* | nonstopux
*)
8402 if test "$GCC" = yes; then
8403 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8405 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8406 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8408 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8409 hardcode_libdir_separator
=:
8410 link_all_deplibs
=yes
8414 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8415 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8417 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8419 hardcode_libdir_flag_spec
='-R$libdir'
8421 hardcode_shlibpath_var
=no
8425 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8427 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8428 hardcode_libdir_separator
=:
8429 hardcode_shlibpath_var
=no
8434 hardcode_shlibpath_var
=no
8435 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8436 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8437 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8438 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8439 export_dynamic_flag_spec
='${wl}-E'
8442 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8443 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8444 hardcode_libdir_flag_spec
='-R$libdir'
8447 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8448 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8455 hardcode_libdir_flag_spec
='-L$libdir'
8456 hardcode_minus_L
=yes
8457 allow_undefined_flag
=unsupported
8458 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'
8459 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8463 if test "$GCC" = yes; then
8464 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8465 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8467 allow_undefined_flag
=' -expect_unresolved \*'
8468 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8470 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8471 hardcode_libdir_separator
=:
8474 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8475 if test "$GCC" = yes; then
8476 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8477 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8478 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8480 allow_undefined_flag
=' -expect_unresolved \*'
8481 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8482 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8483 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8485 # Both c and cxx compiler support -rpath directly
8486 hardcode_libdir_flag_spec
='-rpath $libdir'
8488 hardcode_libdir_separator
=:
8492 no_undefined_flag
=' -z text'
8493 if test "$GCC" = yes; then
8495 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8496 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8497 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8500 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8501 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8502 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8504 hardcode_libdir_flag_spec
='-R$libdir'
8505 hardcode_shlibpath_var
=no
8507 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8509 # The compiler driver will combine linker options so we
8510 # cannot just pass the convience library names through
8511 # without $wl, iff we do not link with $LD.
8512 # Luckily, gcc supports the same syntax we need for Sun Studio.
8513 # Supported since Solaris 2.6 (maybe 2.5.1?)
8516 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8518 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8521 link_all_deplibs
=yes
8525 if test "x$host_vendor" = xsequent
; then
8526 # Use $CC to link under sequent, because it throws in some extra .o
8527 # files that make .init and .fini sections work.
8528 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8530 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8532 hardcode_libdir_flag_spec
='-L$libdir'
8534 hardcode_minus_L
=yes
8535 hardcode_shlibpath_var
=no
8539 case $host_vendor in
8541 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8542 hardcode_direct
=yes # is this really true???
8545 ## LD is ld it makes a PLAMLIB
8546 ## CC just makes a GrossModule.
8547 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8548 reload_cmds
='$CC -r -o $output$reload_objs'
8552 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8553 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8556 runpath_var
='LD_RUN_PATH'
8557 hardcode_shlibpath_var
=no
8561 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8562 hardcode_shlibpath_var
=no
8563 export_dynamic_flag_spec
='-Bexport'
8567 if test -d /usr
/nec
; then
8568 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8569 hardcode_shlibpath_var
=no
8570 runpath_var
=LD_RUN_PATH
8571 hardcode_runpath_var
=yes
8576 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8577 no_undefined_flag
='${wl}-z,text'
8578 archive_cmds_need_lc
=no
8579 hardcode_shlibpath_var
=no
8580 runpath_var
='LD_RUN_PATH'
8582 if test "$GCC" = yes; then
8583 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8584 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8586 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8587 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8591 sysv5
* | sco3.2v5
* | sco5v6
*)
8592 # Note: We can NOT use -z defs as we might desire, because we do not
8593 # link with -lc, and that would cause any symbols used from libc to
8594 # always be unresolved, which means just about no library would
8595 # ever link correctly. If we're not using GNU ld we use -z text
8596 # though, which does catch some bad symbols but isn't as heavy-handed
8598 no_undefined_flag
='${wl}-z,text'
8599 allow_undefined_flag
='${wl}-z,nodefs'
8600 archive_cmds_need_lc
=no
8601 hardcode_shlibpath_var
=no
8602 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8603 hardcode_libdir_separator
=':'
8604 link_all_deplibs
=yes
8605 export_dynamic_flag_spec
='${wl}-Bexport'
8606 runpath_var
='LD_RUN_PATH'
8608 if test "$GCC" = yes; then
8609 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8610 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8612 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8613 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8618 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8619 hardcode_libdir_flag_spec
='-L$libdir'
8620 hardcode_shlibpath_var
=no
8629 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8630 echo "${ECHO_T}$ld_shlibs" >&6
8631 test "$ld_shlibs" = no
&& can_build_shared
=no
8634 # Do we need to explicitly link libc?
8636 case "x$archive_cmds_need_lc" in
8638 # Assume -lc should be added
8639 archive_cmds_need_lc
=yes
8641 if test "$enable_shared" = yes && test "$GCC" = yes; then
8642 case $archive_cmds in
8644 # FIXME: we may have to deal with multi-command sequences.
8647 # Test whether the compiler implicitly links with -lc since on some
8648 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8649 # to ld, don't add -lc before -lgcc.
8650 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8651 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8653 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8656 (eval $ac_compile) 2>&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); } 2>conftest.err
; then
8662 libobjs
=conftest.
$ac_objext
8664 wl
=$lt_prog_compiler_wl
8665 pic_flag
=$lt_prog_compiler_pic
8671 lt_save_allow_undefined_flag
=$allow_undefined_flag
8672 allow_undefined_flag
=
8673 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8674 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677 (exit $ac_status); }
8679 archive_cmds_need_lc
=no
8681 archive_cmds_need_lc
=yes
8683 allow_undefined_flag
=$lt_save_allow_undefined_flag
8685 cat conftest.err
1>&5
8688 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8689 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8696 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8697 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8699 libname_spec
='lib$name'
8707 shlibpath_overrides_runpath
=unknown
8709 dynamic_linker
="$host_os ld.so"
8710 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8711 if test "$GCC" = yes; then
8712 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8713 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8714 # if the path contains ";" then we assume it to be the separator
8715 # otherwise default to the standard path separator (i.e. ":") - it is
8716 # assumed that no part of a normal pathname contains ";" but that should
8717 # okay in the real world where ";" in dirpaths is itself problematic.
8718 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8720 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8723 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8725 need_lib_prefix
=unknown
8726 hardcode_into_libs
=no
8728 # when you set need_version to no, make sure it does not cause -set_version
8729 # flags to be left without arguments
8730 need_version
=unknown
8735 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8736 shlibpath_var
=LIBPATH
8738 # AIX 3 has no versioning support, so we append a major version to the name.
8739 soname_spec
='${libname}${release}${shared_ext}$major'
8746 hardcode_into_libs
=yes
8747 if test "$host_cpu" = ia64
; then
8748 # AIX 5 supports IA64
8749 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8750 shlibpath_var
=LD_LIBRARY_PATH
8752 # With GCC up to 2.95.x, collect2 would create an import file
8753 # for dependence libraries. The import file would start with
8754 # the line `#! .'. This would cause the generated library to
8755 # depend on `.', always an invalid library. This was fixed in
8756 # development snapshots of GCC prior to 3.0.
8758 aix4 | aix4.
[01] | aix4.
[01].
*)
8759 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8761 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8768 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8769 # soname into executable. Probably we can add versioning support to
8770 # collect2, so additional links can be useful in future.
8771 if test "$aix_use_runtimelinking" = yes; then
8772 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8773 # instead of lib<name>.a to let people know that these are not
8774 # typical AIX shared libraries.
8775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8777 # We preserve .a as extension for shared libraries through AIX4.2
8778 # and later when we are not doing run time linking.
8779 library_names_spec
='${libname}${release}.a $libname.a'
8780 soname_spec
='${libname}${release}${shared_ext}$major'
8782 shlibpath_var
=LIBPATH
8787 library_names_spec
='$libname.ixlibrary $libname.a'
8788 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8789 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8793 library_names_spec
='${libname}${shared_ext}'
8794 dynamic_linker
="$host_os ld.so"
8795 shlibpath_var
=LIBRARY_PATH
8801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8802 soname_spec
='${libname}${release}${shared_ext}$major'
8803 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8804 shlibpath_var
=LD_LIBRARY_PATH
8805 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8806 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8807 # the default ld.so.conf also contains /usr/contrib/lib and
8808 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8809 # libtool to hard-code these into programs
8812 cygwin
* | mingw
* | pw32
*)
8813 version_type
=windows
8818 case $GCC,$host_os in
8819 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8820 library_names_spec
='$libname.dll.a'
8821 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8822 postinstall_cmds
='base_file=`basename \${file}`~
8823 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8824 dldir=$destdir/`dirname \$dlpath`~
8825 test -d \$dldir || mkdir -p \$dldir~
8826 $install_prog $dir/$dlname \$dldir/$dlname~
8827 chmod a+x \$dldir/$dlname'
8828 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8829 dlpath=$dir/\$dldll~
8831 shlibpath_overrides_runpath
=yes
8835 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8836 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8837 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8840 # MinGW DLLs use traditional 'lib' prefix
8841 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8842 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8843 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8844 # It is most probably a Windows format PATH printed by
8845 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8846 # path with ; separators, and with drive letters. We can handle the
8847 # drive letters (cygwin fileutils understands them), so leave them,
8848 # especially as we might pass files found there to a mingw objdump,
8849 # which wouldn't understand a cygwinified path. Ahh.
8850 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8852 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8856 # pw32 DLLs use 'pw' prefix rather than 'lib'
8857 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8863 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8866 dynamic_linker
='Win32 ld.exe'
8867 # FIXME: first we should search . and the directory the executable is in
8871 darwin
* | rhapsody
*)
8872 dynamic_linker
="$host_os dyld"
8876 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8877 soname_spec
='${libname}${release}${major}$shared_ext'
8878 shlibpath_overrides_runpath
=yes
8879 shlibpath_var
=DYLD_LIBRARY_PATH
8880 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8881 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8882 if test "$GCC" = yes; then
8883 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8885 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8887 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8895 soname_spec
='${libname}${release}${shared_ext}$major'
8896 shlibpath_var
=LD_LIBRARY_PATH
8907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8908 soname_spec
='${libname}${release}${shared_ext}$major'
8909 shlibpath_var
=LD_LIBRARY_PATH
8910 shlibpath_overrides_runpath
=no
8911 hardcode_into_libs
=yes
8912 dynamic_linker
='GNU ld.so'
8915 freebsd
* | dragonfly
*)
8916 # DragonFly does not have aout. When/if they implement a new
8917 # versioning mechanism, adjust this.
8918 if test -x /usr
/bin
/objformat
; then
8919 objformat
=`/usr/bin/objformat`
8922 freebsd
[123]*) objformat
=aout
;;
8926 version_type
=freebsd-
$objformat
8927 case $version_type in
8929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8934 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8938 shlibpath_var
=LD_LIBRARY_PATH
8941 shlibpath_overrides_runpath
=yes
8943 freebsd3.
[01]* | freebsdelf3.
[01]*)
8944 shlibpath_overrides_runpath
=yes
8945 hardcode_into_libs
=yes
8947 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8948 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8949 shlibpath_overrides_runpath
=no
8950 hardcode_into_libs
=yes
8952 freebsd
*) # from 4.6 on
8953 shlibpath_overrides_runpath
=yes
8954 hardcode_into_libs
=yes
8963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8964 soname_spec
='${libname}${release}${shared_ext}$major'
8965 shlibpath_var
=LD_LIBRARY_PATH
8966 hardcode_into_libs
=yes
8969 hpux9
* | hpux10
* | hpux11
*)
8970 # Give a soname corresponding to the major version so that dld.sl refuses to
8971 # link against other versions.
8978 hardcode_into_libs
=yes
8979 dynamic_linker
="$host_os dld.so"
8980 shlibpath_var
=LD_LIBRARY_PATH
8981 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8983 soname_spec
='${libname}${release}${shared_ext}$major'
8984 if test "X$HPUX_IA64_MODE" = X32
; then
8985 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8987 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8989 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8993 hardcode_into_libs
=yes
8994 dynamic_linker
="$host_os dld.sl"
8995 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8996 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8998 soname_spec
='${libname}${release}${shared_ext}$major'
8999 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9000 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9004 dynamic_linker
="$host_os dld.sl"
9005 shlibpath_var
=SHLIB_PATH
9006 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9008 soname_spec
='${libname}${release}${shared_ext}$major'
9011 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9012 postinstall_cmds
='chmod 555 $lib'
9019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9020 soname_spec
='${libname}${release}${shared_ext}$major'
9021 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9022 shlibpath_var
=LD_LIBRARY_PATH
9023 shlibpath_overrides_runpath
=no
9024 hardcode_into_libs
=yes
9027 irix5
* | irix6
* | nonstopux
*)
9029 nonstopux
*) version_type
=nonstopux
;;
9031 if test "$lt_cv_prog_gnu_ld" = yes; then
9039 soname_spec
='${libname}${release}${shared_ext}$major'
9040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9042 irix5
* | nonstopux
*)
9046 case $LD in # libtool.m4 will add one of these switches to LD
9047 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9048 libsuff
= shlibsuff
= libmagic
=32-bit;;
9049 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9050 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9051 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9052 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9053 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9057 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9058 shlibpath_overrides_runpath
=no
9059 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9060 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9061 hardcode_into_libs
=yes
9064 # No shared lib support for Linux oldld, aout, or coff.
9065 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9069 # This must be Linux ELF.
9074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9075 soname_spec
='${libname}${release}${shared_ext}$major'
9076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9077 shlibpath_var
=LD_LIBRARY_PATH
9078 shlibpath_overrides_runpath
=no
9079 # This implies no fast_install, which is unacceptable.
9080 # Some rework will be needed to allow for fast_install
9081 # before this can be enabled.
9082 hardcode_into_libs
=yes
9084 # find out which ABI we are using
9087 x86_64
*|s390x
*|powerpc64
*)
9088 echo '#line 9088 "configure"' > conftest.
$ac_ext
9089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9090 (eval $ac_compile) 2>&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); }; then
9094 case `/usr/bin/file conftest.$ac_objext` in
9097 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9105 # Append ld.so.conf contents to the search path
9106 if test -f /etc
/ld.so.conf
; then
9107 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9108 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9111 # We used to test for /lib/ld.so.1 and disable shared libraries on
9112 # powerpc, because MkLinux only supported shared libraries with the
9113 # GNU dynamic linker. Since this was broken with cross compilers,
9114 # most powerpc-linux boxes support dynamic linking these days and
9115 # people can always --disable-shared, the test was removed, and we
9116 # assume the GNU/Linux dynamic linker is in use.
9117 dynamic_linker
='GNU/Linux ld.so'
9124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9125 soname_spec
='${libname}${release}${shared_ext}$major'
9126 shlibpath_var
=LD_LIBRARY_PATH
9127 shlibpath_overrides_runpath
=no
9128 hardcode_into_libs
=yes
9129 dynamic_linker
='GNU ld.so'
9136 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9138 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9139 dynamic_linker
='NetBSD (a.out) ld.so'
9141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9142 soname_spec
='${libname}${release}${shared_ext}$major'
9143 dynamic_linker
='NetBSD ld.elf_so'
9145 shlibpath_var
=LD_LIBRARY_PATH
9146 shlibpath_overrides_runpath
=yes
9147 hardcode_into_libs
=yes
9152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9153 shlibpath_var
=LD_LIBRARY_PATH
9154 shlibpath_overrides_runpath
=yes
9161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9162 soname_spec
='${libname}${release}${shared_ext}$major'
9163 shlibpath_var
=LD_LIBRARY_PATH
9164 shlibpath_overrides_runpath
=yes
9169 sys_lib_dlsearch_path_spec
="/usr/lib"
9171 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9173 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9174 *) need_version
=no
;;
9176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9177 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9178 shlibpath_var
=LD_LIBRARY_PATH
9179 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9181 openbsd2.
[89] | openbsd2.
[89].
*)
9182 shlibpath_overrides_runpath
=no
9185 shlibpath_overrides_runpath
=yes
9189 shlibpath_overrides_runpath
=yes
9194 libname_spec
='$name'
9197 library_names_spec
='$libname${shared_ext} $libname.a'
9198 dynamic_linker
='OS/2 ld.exe'
9199 shlibpath_var
=LIBPATH
9202 osf3
* | osf4
* | osf5
*)
9206 soname_spec
='${libname}${release}${shared_ext}$major'
9207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9208 shlibpath_var
=LD_LIBRARY_PATH
9209 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9210 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9218 soname_spec
='${libname}${release}${shared_ext}$major'
9219 shlibpath_var
=LD_LIBRARY_PATH
9220 shlibpath_overrides_runpath
=yes
9221 hardcode_into_libs
=yes
9222 # ldd complains unless libraries are executable
9223 postinstall_cmds
='chmod +x $lib'
9228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9229 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9230 shlibpath_var
=LD_LIBRARY_PATH
9231 shlibpath_overrides_runpath
=yes
9232 if test "$with_gnu_ld" = yes; then
9240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9241 soname_spec
='${libname}${release}${shared_ext}$major'
9242 shlibpath_var
=LD_LIBRARY_PATH
9243 case $host_vendor in
9245 shlibpath_overrides_runpath
=no
9247 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9248 runpath_var
=LD_RUN_PATH
9256 shlibpath_overrides_runpath
=no
9257 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9263 if test -d /usr
/nec
;then
9265 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9266 soname_spec
='$libname${shared_ext}.$major'
9267 shlibpath_var
=LD_LIBRARY_PATH
9271 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9272 version_type
=freebsd-elf
9275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9276 soname_spec
='${libname}${release}${shared_ext}$major'
9277 shlibpath_var
=LD_LIBRARY_PATH
9278 hardcode_into_libs
=yes
9279 if test "$with_gnu_ld" = yes; then
9280 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9281 shlibpath_overrides_runpath
=no
9283 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9284 shlibpath_overrides_runpath
=yes
9287 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9291 sys_lib_dlsearch_path_spec
='/usr/lib'
9296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9297 soname_spec
='${libname}${release}${shared_ext}$major'
9298 shlibpath_var
=LD_LIBRARY_PATH
9305 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9306 echo "${ECHO_T}$dynamic_linker" >&6
9307 test "$dynamic_linker" = no
&& can_build_shared
=no
9309 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9310 if test "$GCC" = yes; then
9311 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9314 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9315 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9317 if test -n "$hardcode_libdir_flag_spec" || \
9318 test -n "$runpath_var" || \
9319 test "X$hardcode_automatic" = "Xyes" ; then
9321 # We can hardcode non-existant directories.
9322 if test "$hardcode_direct" != no
&&
9323 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9324 # have to relink, otherwise we might link with an installed library
9325 # when we should be linking with a yet-to-be-installed one
9326 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9327 test "$hardcode_minus_L" != no
; then
9328 # Linking always hardcodes the temporary library directory.
9329 hardcode_action
=relink
9331 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9332 hardcode_action
=immediate
9335 # We cannot hardcode anything, or else we can only hardcode existing
9337 hardcode_action
=unsupported
9339 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9340 echo "${ECHO_T}$hardcode_action" >&6
9342 if test "$hardcode_action" = relink
; then
9343 # Fast installation is not supported
9344 enable_fast_install
=no
9345 elif test "$shlibpath_overrides_runpath" = yes ||
9346 test "$enable_shared" = no
; then
9347 # Fast installation is not necessary
9348 enable_fast_install
=needless
9353 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9354 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9355 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9356 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9357 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9358 echo "$as_me:$LINENO: result: yes" >&5
9359 echo "${ECHO_T}yes" >&6
9361 # FIXME - insert some real tests, host_os isn't really good enough
9364 if test -n "$STRIP" ; then
9365 striplib
="$STRIP -x"
9366 echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6
9369 echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6
9374 echo "$as_me:$LINENO: result: no" >&5
9375 echo "${ECHO_T}no" >&6
9380 if test "x$enable_dlopen" != xyes
; then
9381 enable_dlopen
=unknown
9382 enable_dlopen_self
=unknown
9383 enable_dlopen_self_static
=unknown
9390 lt_cv_dlopen
="load_add_on"
9392 lt_cv_dlopen_self
=yes
9396 lt_cv_dlopen
="LoadLibrary"
9401 lt_cv_dlopen
="dlopen"
9406 # if libdl is installed we need to link against it
9407 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9408 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9409 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9410 echo $ECHO_N "(cached) $ECHO_C" >&6
9412 ac_check_lib_save_LIBS
=$LIBS
9414 cat >conftest.
$ac_ext <<_ACEOF
9417 cat confdefs.h
>>conftest.
$ac_ext
9418 cat >>conftest.
$ac_ext <<_ACEOF
9419 /* end confdefs.h. */
9421 /* Override any gcc2 internal prototype to avoid an error. */
9425 /* We use char because int might match the return type of a gcc2
9426 builtin and then its argument prototype would still apply. */
9436 rm -f conftest.
$ac_objext conftest
$ac_exeext
9437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9438 (eval $ac_link) 2>conftest.er1
9440 grep -v '^ *+' conftest.er1
>conftest.err
9442 cat conftest.err
>&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); } &&
9445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); }; } &&
9451 { ac_try
='test -s conftest$ac_exeext'
9452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9456 (exit $ac_status); }; }; then
9457 ac_cv_lib_dl_dlopen
=yes
9459 echo "$as_me: failed program was:" >&5
9460 sed 's/^/| /' conftest.
$ac_ext >&5
9462 ac_cv_lib_dl_dlopen
=no
9464 rm -f conftest.err conftest.
$ac_objext \
9465 conftest
$ac_exeext conftest.
$ac_ext
9466 LIBS
=$ac_check_lib_save_LIBS
9468 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9469 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9470 if test $ac_cv_lib_dl_dlopen = yes; then
9471 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9476 lt_cv_dlopen_self
=yes
9483 echo "$as_me:$LINENO: checking for shl_load" >&5
9484 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9485 if test "${ac_cv_func_shl_load+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 cat >conftest.
$ac_ext <<_ACEOF
9491 cat confdefs.h
>>conftest.
$ac_ext
9492 cat >>conftest.
$ac_ext <<_ACEOF
9493 /* end confdefs.h. */
9494 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9496 #define shl_load innocuous_shl_load
9498 /* System header to define __stub macros and hopefully few prototypes,
9499 which can conflict with char shl_load (); below.
9500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9501 <limits.h> exists even on freestanding compilers. */
9504 # include <limits.h>
9506 # include <assert.h>
9511 /* Override any gcc2 internal prototype to avoid an error. */
9516 /* We use char because int might match the return type of a gcc2
9517 builtin and then its argument prototype would still apply. */
9519 /* The GNU C library defines this for functions which it implements
9520 to always fail with ENOSYS. Some functions are actually named
9521 something starting with __ and the normal name is an alias. */
9522 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9525 char (*f) () = shl_load;
9534 return f != shl_load;
9539 rm -f conftest.
$ac_objext conftest
$ac_exeext
9540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9541 (eval $ac_link) 2>conftest.er1
9543 grep -v '^ *+' conftest.er1
>conftest.err
9545 cat conftest.err
>&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); } &&
9548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }; } &&
9554 { ac_try
='test -s conftest$ac_exeext'
9555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); }; }; then
9560 ac_cv_func_shl_load
=yes
9562 echo "$as_me: failed program was:" >&5
9563 sed 's/^/| /' conftest.
$ac_ext >&5
9565 ac_cv_func_shl_load
=no
9567 rm -f conftest.err conftest.
$ac_objext \
9568 conftest
$ac_exeext conftest.
$ac_ext
9570 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9571 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9572 if test $ac_cv_func_shl_load = yes; then
9573 lt_cv_dlopen
="shl_load"
9575 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9576 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9577 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9578 echo $ECHO_N "(cached) $ECHO_C" >&6
9580 ac_check_lib_save_LIBS
=$LIBS
9582 cat >conftest.
$ac_ext <<_ACEOF
9585 cat confdefs.h
>>conftest.
$ac_ext
9586 cat >>conftest.
$ac_ext <<_ACEOF
9587 /* end confdefs.h. */
9589 /* Override any gcc2 internal prototype to avoid an error. */
9593 /* We use char because int might match the return type of a gcc2
9594 builtin and then its argument prototype would still apply. */
9604 rm -f conftest.
$ac_objext conftest
$ac_exeext
9605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9606 (eval $ac_link) 2>conftest.er1
9608 grep -v '^ *+' conftest.er1
>conftest.err
9610 cat conftest.err
>&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); } &&
9613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618 (exit $ac_status); }; } &&
9619 { ac_try
='test -s conftest$ac_exeext'
9620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 (exit $ac_status); }; }; then
9625 ac_cv_lib_dld_shl_load
=yes
9627 echo "$as_me: failed program was:" >&5
9628 sed 's/^/| /' conftest.
$ac_ext >&5
9630 ac_cv_lib_dld_shl_load
=no
9632 rm -f conftest.err conftest.
$ac_objext \
9633 conftest
$ac_exeext conftest.
$ac_ext
9634 LIBS
=$ac_check_lib_save_LIBS
9636 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9637 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9638 if test $ac_cv_lib_dld_shl_load = yes; then
9639 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9641 echo "$as_me:$LINENO: checking for dlopen" >&5
9642 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9643 if test "${ac_cv_func_dlopen+set}" = set; then
9644 echo $ECHO_N "(cached) $ECHO_C" >&6
9646 cat >conftest.
$ac_ext <<_ACEOF
9649 cat confdefs.h
>>conftest.
$ac_ext
9650 cat >>conftest.
$ac_ext <<_ACEOF
9651 /* end confdefs.h. */
9652 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9654 #define dlopen innocuous_dlopen
9656 /* System header to define __stub macros and hopefully few prototypes,
9657 which can conflict with char dlopen (); below.
9658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9659 <limits.h> exists even on freestanding compilers. */
9662 # include <limits.h>
9664 # include <assert.h>
9669 /* Override any gcc2 internal prototype to avoid an error. */
9674 /* We use char because int might match the return type of a gcc2
9675 builtin and then its argument prototype would still apply. */
9677 /* The GNU C library defines this for functions which it implements
9678 to always fail with ENOSYS. Some functions are actually named
9679 something starting with __ and the normal name is an alias. */
9680 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9683 char (*f) () = dlopen;
9697 rm -f conftest.
$ac_objext conftest
$ac_exeext
9698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9699 (eval $ac_link) 2>conftest.er1
9701 grep -v '^ *+' conftest.er1
>conftest.err
9703 cat conftest.err
>&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); } &&
9706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); }; } &&
9712 { ac_try
='test -s conftest$ac_exeext'
9713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717 (exit $ac_status); }; }; then
9718 ac_cv_func_dlopen
=yes
9720 echo "$as_me: failed program was:" >&5
9721 sed 's/^/| /' conftest.
$ac_ext >&5
9723 ac_cv_func_dlopen
=no
9725 rm -f conftest.err conftest.
$ac_objext \
9726 conftest
$ac_exeext conftest.
$ac_ext
9728 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9729 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9730 if test $ac_cv_func_dlopen = yes; then
9731 lt_cv_dlopen
="dlopen"
9733 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9734 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9735 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9738 ac_check_lib_save_LIBS
=$LIBS
9740 cat >conftest.
$ac_ext <<_ACEOF
9743 cat confdefs.h
>>conftest.
$ac_ext
9744 cat >>conftest.
$ac_ext <<_ACEOF
9745 /* end confdefs.h. */
9747 /* Override any gcc2 internal prototype to avoid an error. */
9751 /* We use char because int might match the return type of a gcc2
9752 builtin and then its argument prototype would still apply. */
9762 rm -f conftest.
$ac_objext conftest
$ac_exeext
9763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9764 (eval $ac_link) 2>conftest.er1
9766 grep -v '^ *+' conftest.er1
>conftest.err
9768 cat conftest.err
>&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); } &&
9771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 (exit $ac_status); }; } &&
9777 { ac_try
='test -s conftest$ac_exeext'
9778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); }; }; then
9783 ac_cv_lib_dl_dlopen
=yes
9785 echo "$as_me: failed program was:" >&5
9786 sed 's/^/| /' conftest.
$ac_ext >&5
9788 ac_cv_lib_dl_dlopen
=no
9790 rm -f conftest.err conftest.
$ac_objext \
9791 conftest
$ac_exeext conftest.
$ac_ext
9792 LIBS
=$ac_check_lib_save_LIBS
9794 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9795 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9796 if test $ac_cv_lib_dl_dlopen = yes; then
9797 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9799 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9800 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9801 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6
9804 ac_check_lib_save_LIBS
=$LIBS
9806 cat >conftest.
$ac_ext <<_ACEOF
9809 cat confdefs.h
>>conftest.
$ac_ext
9810 cat >>conftest.
$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9813 /* Override any gcc2 internal prototype to avoid an error. */
9817 /* We use char because int might match the return type of a gcc2
9818 builtin and then its argument prototype would still apply. */
9828 rm -f conftest.
$ac_objext conftest
$ac_exeext
9829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9830 (eval $ac_link) 2>conftest.er1
9832 grep -v '^ *+' conftest.er1
>conftest.err
9834 cat conftest.err
>&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); } &&
9837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 (exit $ac_status); }; } &&
9843 { ac_try
='test -s conftest$ac_exeext'
9844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9848 (exit $ac_status); }; }; then
9849 ac_cv_lib_svld_dlopen
=yes
9851 echo "$as_me: failed program was:" >&5
9852 sed 's/^/| /' conftest.
$ac_ext >&5
9854 ac_cv_lib_svld_dlopen
=no
9856 rm -f conftest.err conftest.
$ac_objext \
9857 conftest
$ac_exeext conftest.
$ac_ext
9858 LIBS
=$ac_check_lib_save_LIBS
9860 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9861 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9862 if test $ac_cv_lib_svld_dlopen = yes; then
9863 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9865 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9866 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9867 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9868 echo $ECHO_N "(cached) $ECHO_C" >&6
9870 ac_check_lib_save_LIBS
=$LIBS
9872 cat >conftest.
$ac_ext <<_ACEOF
9875 cat confdefs.h
>>conftest.
$ac_ext
9876 cat >>conftest.
$ac_ext <<_ACEOF
9877 /* end confdefs.h. */
9879 /* Override any gcc2 internal prototype to avoid an error. */
9883 /* We use char because int might match the return type of a gcc2
9884 builtin and then its argument prototype would still apply. */
9894 rm -f conftest.
$ac_objext conftest
$ac_exeext
9895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9896 (eval $ac_link) 2>conftest.er1
9898 grep -v '^ *+' conftest.er1
>conftest.err
9900 cat conftest.err
>&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); } &&
9903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); }; } &&
9909 { ac_try
='test -s conftest$ac_exeext'
9910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); }; }; then
9915 ac_cv_lib_dld_dld_link
=yes
9917 echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.
$ac_ext >&5
9920 ac_cv_lib_dld_dld_link
=no
9922 rm -f conftest.err conftest.
$ac_objext \
9923 conftest
$ac_exeext conftest.
$ac_ext
9924 LIBS
=$ac_check_lib_save_LIBS
9926 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9927 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9928 if test $ac_cv_lib_dld_dld_link = yes; then
9929 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9950 if test "x$lt_cv_dlopen" != xno
; then
9956 case $lt_cv_dlopen in
9958 save_CPPFLAGS
="$CPPFLAGS"
9959 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9961 save_LDFLAGS
="$LDFLAGS"
9962 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9965 LIBS
="$lt_cv_dlopen_libs $LIBS"
9967 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9968 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9969 if test "${lt_cv_dlopen_self+set}" = set; then
9970 echo $ECHO_N "(cached) $ECHO_C" >&6
9972 if test "$cross_compiling" = yes; then :
9973 lt_cv_dlopen_self
=cross
9975 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9976 lt_status
=$lt_dlunknown
9977 cat > conftest.
$ac_ext <<EOF
9978 #line 9978 "configure"
9979 #include "confdefs.h"
9988 # define LT_DLGLOBAL RTLD_GLOBAL
9991 # define LT_DLGLOBAL DL_GLOBAL
9993 # define LT_DLGLOBAL 0
9997 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9998 find out it does not work in some platform. */
9999 #ifndef LT_DLLAZY_OR_NOW
10001 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10004 # define LT_DLLAZY_OR_NOW DL_LAZY
10007 # define LT_DLLAZY_OR_NOW RTLD_NOW
10010 # define LT_DLLAZY_OR_NOW DL_NOW
10012 # define LT_DLLAZY_OR_NOW 0
10020 extern "C" void exit (int);
10023 void fnord() { int i=42;}
10026 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10027 int status = $lt_dlunknown;
10031 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10032 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10033 /* dlclose (self); */
10041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10042 (eval $ac_link) 2>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10046 (.
/conftest
; exit; ) >&5 2>/dev
/null
10048 case x
$lt_status in
10049 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10050 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10051 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10054 # compilation failed
10055 lt_cv_dlopen_self
=no
10062 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10063 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10065 if test "x$lt_cv_dlopen_self" = xyes
; then
10066 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10067 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10068 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10069 if test "${lt_cv_dlopen_self_static+set}" = set; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10072 if test "$cross_compiling" = yes; then :
10073 lt_cv_dlopen_self_static
=cross
10075 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10076 lt_status
=$lt_dlunknown
10077 cat > conftest.
$ac_ext <<EOF
10078 #line 10078 "configure"
10079 #include "confdefs.h"
10088 # define LT_DLGLOBAL RTLD_GLOBAL
10091 # define LT_DLGLOBAL DL_GLOBAL
10093 # define LT_DLGLOBAL 0
10097 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10098 find out it does not work in some platform. */
10099 #ifndef LT_DLLAZY_OR_NOW
10101 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10104 # define LT_DLLAZY_OR_NOW DL_LAZY
10107 # define LT_DLLAZY_OR_NOW RTLD_NOW
10110 # define LT_DLLAZY_OR_NOW DL_NOW
10112 # define LT_DLLAZY_OR_NOW 0
10120 extern "C" void exit (int);
10123 void fnord() { int i=42;}
10126 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10127 int status = $lt_dlunknown;
10131 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10132 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10133 /* dlclose (self); */
10141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10142 (eval $ac_link) 2>&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10146 (.
/conftest
; exit; ) >&5 2>/dev
/null
10148 case x
$lt_status in
10149 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10150 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10151 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10154 # compilation failed
10155 lt_cv_dlopen_self_static
=no
10162 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10163 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10166 CPPFLAGS
="$save_CPPFLAGS"
10167 LDFLAGS
="$save_LDFLAGS"
10172 case $lt_cv_dlopen_self in
10173 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10174 *) enable_dlopen_self
=unknown
;;
10177 case $lt_cv_dlopen_self_static in
10178 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10179 *) enable_dlopen_self_static
=unknown
;;
10184 # Report which library types will actually be built
10185 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10186 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10187 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10188 echo "${ECHO_T}$can_build_shared" >&6
10190 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10191 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10192 test "$can_build_shared" = "no" && enable_shared
=no
10194 # On AIX, shared libraries and static libraries use the same namespace, and
10195 # are all built from PIC.
10198 test "$enable_shared" = yes && enable_static
=no
10199 if test -n "$RANLIB"; then
10200 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10201 postinstall_cmds
='$RANLIB $lib'
10206 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10207 test "$enable_shared" = yes && enable_static
=no
10211 echo "$as_me:$LINENO: result: $enable_shared" >&5
10212 echo "${ECHO_T}$enable_shared" >&6
10214 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10215 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10216 # Make sure either enable_shared or enable_static is yes.
10217 test "$enable_shared" = yes || enable_static
=yes
10218 echo "$as_me:$LINENO: result: $enable_static" >&5
10219 echo "${ECHO_T}$enable_static" >&6
10221 # The else clause should only fire when bootstrapping the
10222 # libtool distribution, otherwise you forgot to ship ltmain.sh
10223 # with your package, and you will get complaints that there are
10224 # no rules to generate ltmain.sh.
10225 if test -f "$ltmain"; then
10226 # See if we are running on zsh, and set the options which allow our commands through
10227 # without removal of \ escapes.
10228 if test -n "${ZSH_VERSION+set}" ; then
10229 setopt NO_GLOB_SUBST
10231 # Now quote all the things that may contain metacharacters while being
10232 # careful not to overquote the AC_SUBSTed values. We take copies of the
10233 # variables and quote the copies for generation of the libtool script.
10234 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10236 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10237 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10238 deplibs_check_method reload_flag reload_cmds need_locks \
10239 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10240 lt_cv_sys_global_symbol_to_c_name_address \
10241 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10242 old_postinstall_cmds old_postuninstall_cmds \
10246 lt_prog_compiler_wl \
10247 lt_prog_compiler_pic \
10248 lt_prog_compiler_static \
10249 lt_prog_compiler_no_builtin_flag \
10250 export_dynamic_flag_spec \
10251 thread_safe_flag_spec \
10252 whole_archive_flag_spec \
10253 enable_shared_with_static_runtimes \
10255 old_archive_from_new_cmds \
10260 compiler_lib_search_path \
10262 archive_expsym_cmds \
10264 postuninstall_cmds \
10265 old_archive_from_expsyms_cmds \
10266 allow_undefined_flag \
10267 no_undefined_flag \
10268 export_symbols_cmds \
10269 hardcode_libdir_flag_spec \
10270 hardcode_libdir_flag_spec_ld \
10271 hardcode_libdir_separator \
10272 hardcode_automatic \
10274 module_expsym_cmds \
10275 lt_cv_prog_compiler_c_o \
10277 include_expsyms
; do
10280 old_archive_cmds | \
10281 old_archive_from_new_cmds | \
10283 archive_expsym_cmds | \
10285 module_expsym_cmds | \
10286 old_archive_from_expsyms_cmds | \
10287 export_symbols_cmds | \
10288 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10289 postinstall_cmds | postuninstall_cmds | \
10290 old_postinstall_cmds | old_postuninstall_cmds | \
10291 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
10292 # Double-quote double-evaled strings.
10293 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10296 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10302 *'\$0 --fallback-echo"')
10303 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10307 cfgfile
="${ofile}T"
10308 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10310 { echo "$as_me:$LINENO: creating $ofile" >&5
10311 echo "$as_me: creating $ofile" >&6;}
10313 cat <<__EOF__ >> "$cfgfile"
10316 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10317 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10318 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10320 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10321 # Free Software Foundation, Inc.
10323 # This file is part of GNU Libtool:
10324 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10326 # This program is free software; you can redistribute it and/or modify
10327 # it under the terms of the GNU General Public License as published by
10328 # the Free Software Foundation; either version 2 of the License, or
10329 # (at your option) any later version.
10331 # This program is distributed in the hope that it will be useful, but
10332 # WITHOUT ANY WARRANTY; without even the implied warranty of
10333 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10334 # General Public License for more details.
10336 # You should have received a copy of the GNU General Public License
10337 # along with this program; if not, write to the Free Software
10338 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10340 # As a special exception to the GNU General Public License, if you
10341 # distribute this file as part of a program that contains a
10342 # configuration script generated by Autoconf, you may include it under
10343 # the same distribution terms that you use for the rest of that program.
10345 # A sed program that does not truncate output.
10348 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10349 Xsed="$SED -e 1s/^X//"
10351 # The HP-UX ksh and POSIX shell print the target directory to stdout
10352 # if CDPATH is set.
10353 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10355 # The names of the tagged configurations supported by this script.
10358 # ### BEGIN LIBTOOL CONFIG
10360 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10362 # Shell to use when invoking shell scripts.
10365 # Whether or not to build shared libraries.
10366 build_libtool_libs=$enable_shared
10368 # Whether or not to build static libraries.
10369 build_old_libs=$enable_static
10371 # Whether or not to add -lc for building shared libraries.
10372 build_libtool_need_lc=$archive_cmds_need_lc
10374 # Whether or not to disallow shared libs when runtime libs are static
10375 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10377 # Whether or not to optimize for fast installation.
10378 fast_install=$enable_fast_install
10381 host_alias=$host_alias
10385 # The build system.
10386 build_alias=$build_alias
10390 # An echo program that does not interpret backslashes.
10395 AR_FLAGS=$lt_AR_FLAGS
10400 # LTCC compiler flags.
10401 LTCFLAGS=$lt_LTCFLAGS
10403 # A language-specific compiler.
10406 # Is the compiler the GNU C compiler?
10412 # The linker used to build libraries.
10415 # Whether we need hard or soft links.
10418 # A BSD-compatible nm program.
10421 # A symbol stripping program
10424 # Used to examine libraries when file_magic_cmd begins "file"
10425 MAGIC_CMD=$MAGIC_CMD
10427 # Used on cygwin: DLL creation program.
10430 # Used on cygwin: object dumper.
10433 # Used on cygwin: assembler.
10436 # The name of the directory that contains temporary libtool files.
10439 # How to create reloadable object files.
10440 reload_flag=$lt_reload_flag
10441 reload_cmds=$lt_reload_cmds
10443 # How to pass a linker flag through the compiler.
10444 wl=$lt_lt_prog_compiler_wl
10446 # Object file suffix (normally "o").
10447 objext="$ac_objext"
10449 # Old archive suffix (normally "a").
10452 # Shared library suffix (normally ".so").
10453 shrext_cmds='$shrext_cmds'
10455 # Executable file suffix (normally "").
10458 # Additional compiler flags for building library objects.
10459 pic_flag=$lt_lt_prog_compiler_pic
10462 # What is the maximum length of a command?
10463 max_cmd_len=$lt_cv_sys_max_cmd_len
10465 # Does compiler simultaneously support -c and -o options?
10466 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10468 # Must we lock files when doing compilation?
10469 need_locks=$lt_need_locks
10471 # Do we need the lib prefix for modules?
10472 need_lib_prefix=$need_lib_prefix
10474 # Do we need a version for libraries?
10475 need_version=$need_version
10477 # Whether dlopen is supported.
10478 dlopen_support=$enable_dlopen
10480 # Whether dlopen of programs is supported.
10481 dlopen_self=$enable_dlopen_self
10483 # Whether dlopen of statically linked programs is supported.
10484 dlopen_self_static=$enable_dlopen_self_static
10486 # Compiler flag to prevent dynamic linking.
10487 link_static_flag=$lt_lt_prog_compiler_static
10489 # Compiler flag to turn off builtin functions.
10490 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10492 # Compiler flag to allow reflexive dlopens.
10493 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10495 # Compiler flag to generate shared objects directly from archives.
10496 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10498 # Compiler flag to generate thread-safe objects.
10499 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10501 # Library versioning type.
10502 version_type=$version_type
10504 # Format of library name prefix.
10505 libname_spec=$lt_libname_spec
10507 # List of archive names. First name is the real one, the rest are links.
10508 # The last name is the one that the linker finds with -lNAME.
10509 library_names_spec=$lt_library_names_spec
10511 # The coded name of the library, if different from the real name.
10512 soname_spec=$lt_soname_spec
10514 # Commands used to build and install an old-style archive.
10516 old_archive_cmds=$lt_old_archive_cmds
10517 old_postinstall_cmds=$lt_old_postinstall_cmds
10518 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10520 # Create an old-style archive from a shared archive.
10521 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10523 # Create a temporary old-style archive to link instead of a shared archive.
10524 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10526 # Commands used to build and install a shared archive.
10527 archive_cmds=$lt_archive_cmds
10528 archive_expsym_cmds=$lt_archive_expsym_cmds
10529 postinstall_cmds=$lt_postinstall_cmds
10530 postuninstall_cmds=$lt_postuninstall_cmds
10532 # Commands used to build a loadable module (assumed same as above if empty)
10533 module_cmds=$lt_module_cmds
10534 module_expsym_cmds=$lt_module_expsym_cmds
10536 # Commands to strip libraries.
10537 old_striplib=$lt_old_striplib
10538 striplib=$lt_striplib
10540 # Dependencies to place before the objects being linked to create a
10542 predep_objects=$lt_predep_objects
10544 # Dependencies to place after the objects being linked to create a
10546 postdep_objects=$lt_postdep_objects
10548 # Dependencies to place before the objects being linked to create a
10550 predeps=$lt_predeps
10552 # Dependencies to place after the objects being linked to create a
10554 postdeps=$lt_postdeps
10556 # The library search path used internally by the compiler when linking
10557 # a shared library.
10558 compiler_lib_search_path=$lt_compiler_lib_search_path
10560 # Method to check whether dependent libraries are shared objects.
10561 deplibs_check_method=$lt_deplibs_check_method
10563 # Command to use when deplibs_check_method == file_magic.
10564 file_magic_cmd=$lt_file_magic_cmd
10566 # Flag that allows shared libraries with undefined symbols to be built.
10567 allow_undefined_flag=$lt_allow_undefined_flag
10569 # Flag that forces no undefined symbols.
10570 no_undefined_flag=$lt_no_undefined_flag
10572 # Commands used to finish a libtool library installation in a directory.
10573 finish_cmds=$lt_finish_cmds
10575 # Same as above, but a single script fragment to be evaled but not shown.
10576 finish_eval=$lt_finish_eval
10578 # Take the output of nm and produce a listing of raw symbols and C names.
10579 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10581 # Transform the output of nm in a proper C declaration
10582 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10584 # Transform the output of nm in a C name address pair
10585 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10587 # This is the shared library runtime path variable.
10588 runpath_var=$runpath_var
10590 # This is the shared library path variable.
10591 shlibpath_var=$shlibpath_var
10593 # Is shlibpath searched before the hard-coded library search path?
10594 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10596 # How to hardcode a shared library path into an executable.
10597 hardcode_action=$hardcode_action
10599 # Whether we should hardcode library paths into libraries.
10600 hardcode_into_libs=$hardcode_into_libs
10602 # Flag to hardcode \$libdir into a binary during linking.
10603 # This must work even if \$libdir does not exist.
10604 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10606 # If ld is used when linking, flag to hardcode \$libdir into
10607 # a binary during linking. This must work even if \$libdir does
10609 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10611 # Whether we need a single -rpath flag with a separated argument.
10612 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10614 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10615 # resulting binary.
10616 hardcode_direct=$hardcode_direct
10618 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10619 # resulting binary.
10620 hardcode_minus_L=$hardcode_minus_L
10622 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10623 # the resulting binary.
10624 hardcode_shlibpath_var=$hardcode_shlibpath_var
10626 # Set to yes if building a shared library automatically hardcodes DIR into the library
10627 # and all subsequent libraries and executables linked against it.
10628 hardcode_automatic=$hardcode_automatic
10630 # Variables whose values should be saved in libtool wrapper scripts and
10631 # restored at relink time.
10632 variables_saved_for_relink="$variables_saved_for_relink"
10634 # Whether libtool must link a program against all its dependency libraries.
10635 link_all_deplibs=$link_all_deplibs
10637 # Compile-time system search path for libraries
10638 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10640 # Run-time system search path for libraries
10641 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10643 # Fix the shell variable \$srcfile for the compiler.
10644 fix_srcfile_path="$fix_srcfile_path"
10646 # Set to yes if exported symbols are required.
10647 always_export_symbols=$always_export_symbols
10649 # The commands to list exported symbols.
10650 export_symbols_cmds=$lt_export_symbols_cmds
10652 # The commands to extract the exported symbol list from a shared archive.
10653 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10655 # Symbols that should not be listed in the preloaded symbols.
10656 exclude_expsyms=$lt_exclude_expsyms
10658 # Symbols that must always be exported.
10659 include_expsyms=$lt_include_expsyms
10661 # ### END LIBTOOL CONFIG
10668 cat <<\EOF
>> "$cfgfile"
10670 # AIX sometimes has problems with the GCC collect2 program. For some
10671 # reason, if we set the COLLECT_NAMES environment variable, the problems
10672 # vanish in a puff of smoke.
10673 if test "X${COLLECT_NAMES+set}" != Xset
; then
10675 export COLLECT_NAMES
10681 # We use sed instead of cat because bash on DJGPP gets confused if
10682 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10683 # text mode, it properly converts lines to CR/LF. This bash problem
10684 # is reportedly fixed, but why not run on old versions too?
10685 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
10687 mv -f "$cfgfile" "$ofile" || \
10688 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10692 # If there is no Makefile yet, we rely on a make rule to execute
10693 # `config.status --recheck' to rerun these tests and create the
10694 # libtool script then.
10695 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10696 if test -f "$ltmain_in"; then
10697 test -f Makefile
&& make "$ltmain"
10703 ac_cpp
='$CPP $CPPFLAGS'
10704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10711 # Check whether --with-tags or --without-tags was given.
10712 if test "${with_tags+set}" = set; then
10713 withval
="$with_tags"
10714 tagnames
="$withval"
10717 if test -f "$ltmain" && test -n "$tagnames"; then
10718 if test ! -f "${ofile}"; then
10719 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10720 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10723 if test -z "$LTCC"; then
10724 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10725 if test -z "$LTCC"; then
10726 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10727 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10729 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10730 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10733 if test -z "$LTCFLAGS"; then
10734 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10737 # Extract list of available tagged configurations in $ofile.
10738 # Note that this assumes the entire list is on one line.
10739 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10741 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10742 for tagname
in $tagnames; do
10744 # Check whether tagname contains only valid characters
10745 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10747 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10748 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10749 { (exit 1); exit 1; }; }
10753 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
10755 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10756 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10757 { (exit 1); exit 1; }; }
10760 # Update the list of available tags.
10761 if test -n "$tagname"; then
10762 echo appending configuration tag
\"$tagname\" to
$ofile
10766 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10767 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10768 (test "X$CXX" != "Xg++"))) ; then
10770 ac_cpp
='$CXXCPP $CPPFLAGS'
10771 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10772 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10773 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10778 archive_cmds_need_lc_CXX
=no
10779 allow_undefined_flag_CXX
=
10780 always_export_symbols_CXX
=no
10781 archive_expsym_cmds_CXX
=
10782 export_dynamic_flag_spec_CXX
=
10783 hardcode_direct_CXX
=no
10784 hardcode_libdir_flag_spec_CXX
=
10785 hardcode_libdir_flag_spec_ld_CXX
=
10786 hardcode_libdir_separator_CXX
=
10787 hardcode_minus_L_CXX
=no
10788 hardcode_shlibpath_var_CXX
=unsupported
10789 hardcode_automatic_CXX
=no
10791 module_expsym_cmds_CXX
=
10792 link_all_deplibs_CXX
=unknown
10793 old_archive_cmds_CXX
=$old_archive_cmds
10794 no_undefined_flag_CXX
=
10795 whole_archive_flag_spec_CXX
=
10796 enable_shared_with_static_runtimes_CXX
=no
10798 # Dependencies to place before and after the object being linked:
10799 predep_objects_CXX
=
10800 postdep_objects_CXX
=
10803 compiler_lib_search_path_CXX
=
10805 # Source file extension for C++ test sources.
10808 # Object file extension for compiled C++ test sources.
10812 # Code to be used in simple compile tests
10813 lt_simple_compile_test_code
="int some_variable = 0;\n"
10815 # Code to be used in simple link tests
10816 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
10818 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10820 # If no C compiler was specified, use CC.
10823 # If no C compiler flags were specified, use CFLAGS.
10824 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10826 # Allow CC to be a program name with arguments.
10830 # save warnings/boilerplate of simple test code
10831 ac_outfile
=conftest.
$ac_objext
10832 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10833 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10834 _lt_compiler_boilerplate
=`cat conftest.err`
10837 ac_outfile
=conftest.
$ac_objext
10838 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10839 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10840 _lt_linker_boilerplate
=`cat conftest.err`
10844 # Allow CC to be a program name with arguments.
10849 lt_save_with_gnu_ld
=$with_gnu_ld
10850 lt_save_path_LD
=$lt_cv_path_LD
10851 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10852 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10854 $as_unset lt_cv_prog_gnu_ld
10856 if test -n "${lt_cv_path_LDCXX+set}"; then
10857 lt_cv_path_LD
=$lt_cv_path_LDCXX
10859 $as_unset lt_cv_path_LD
10861 test -z "${LDCXX+set}" || LD
=$LDCXX
10865 for cc_temp
in $compiler""; do
10867 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10868 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10873 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10876 # We don't want -fno-exception wen compiling C++ code, so set the
10877 # no_builtin_flag separately
10878 if test "$GXX" = yes; then
10879 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10881 lt_prog_compiler_no_builtin_flag_CXX
=
10884 if test "$GXX" = yes; then
10885 # Set up default GNU C++ configuration
10888 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10889 if test "${with_gnu_ld+set}" = set; then
10890 withval
="$with_gnu_ld"
10891 test "$withval" = no || with_gnu_ld
=yes
10896 if test "$GCC" = yes; then
10897 # Check if gcc -print-prog-name=ld gives a path.
10898 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10899 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10902 # gcc leaves a trailing carriage return which upsets mingw
10903 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10905 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10908 # Accept absolute paths.
10910 re_direlt
='/[^/][^/]*/\.\./'
10911 # Canonicalize the pathname of ld
10912 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10913 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10914 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10916 test -z "$LD" && LD
="$ac_prog"
10919 # If it fails, then pretend we aren't using GCC.
10923 # If it is relative, then search for the first ld in PATH.
10924 with_gnu_ld
=unknown
10927 elif test "$with_gnu_ld" = yes; then
10928 echo "$as_me:$LINENO: checking for GNU ld" >&5
10929 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10931 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10932 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10934 if test "${lt_cv_path_LD+set}" = set; then
10935 echo $ECHO_N "(cached) $ECHO_C" >&6
10937 if test -z "$LD"; then
10938 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10939 for ac_dir
in $PATH; do
10941 test -z "$ac_dir" && ac_dir
=.
10942 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10943 lt_cv_path_LD
="$ac_dir/$ac_prog"
10944 # Check to see if the program is GNU ld. I'd rather use --version,
10945 # but apparently some variants of GNU ld only accept -v.
10946 # Break only if it was the GNU/non-GNU ld that we prefer.
10947 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10948 *GNU
* |
*'with BFD'*)
10949 test "$with_gnu_ld" != no
&& break
10952 test "$with_gnu_ld" != yes && break
10959 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10963 LD
="$lt_cv_path_LD"
10964 if test -n "$LD"; then
10965 echo "$as_me:$LINENO: result: $LD" >&5
10966 echo "${ECHO_T}$LD" >&6
10968 echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6
10971 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10972 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10973 { (exit 1); exit 1; }; }
10974 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10975 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10976 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10977 echo $ECHO_N "(cached) $ECHO_C" >&6
10979 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10980 case `$LD -v 2>&1 </dev/null` in
10981 *GNU
* |
*'with BFD'*)
10982 lt_cv_prog_gnu_ld
=yes
10985 lt_cv_prog_gnu_ld
=no
10989 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10990 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10991 with_gnu_ld
=$lt_cv_prog_gnu_ld
10995 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10996 # archiving commands below assume that GNU ld is being used.
10997 if test "$with_gnu_ld" = yes; then
10998 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10999 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11001 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11002 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11004 # If archive_cmds runs LD, not CC, wlarc should be empty
11005 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11006 # investigate it a little bit more. (MM)
11009 # ancient GNU ld didn't support --whole-archive et. al.
11010 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11011 grep 'no-whole-archive' > /dev
/null
; then
11012 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11014 whole_archive_flag_spec_CXX
=
11020 # A generic and very simple default shared library creation
11021 # command for GNU C++ for the case where it uses the native
11022 # linker, instead of GNU ld. If possible, this setting should
11023 # overridden to take advantage of the native linker features on
11024 # the platform it is being used on.
11025 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11028 # Commands to make compiler produce verbose output that lists
11029 # what "hidden" libraries, object files and flags are used when
11030 # linking a shared library.
11031 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11039 # PORTME: fill in a description of your system's C++ link characteristics
11040 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11041 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11045 # FIXME: insert proper C++ library support
11049 if test "$host_cpu" = ia64
; then
11050 # On IA64, the linker does run time linking by default, so we don't
11051 # have to do anything special.
11052 aix_use_runtimelinking
=no
11053 exp_sym_flag
='-Bexport'
11056 aix_use_runtimelinking
=no
11058 # Test if we are trying to use run time linking or normal
11059 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11060 # need to do runtime linking.
11061 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
11062 for ld_flag
in $LDFLAGS; do
11065 aix_use_runtimelinking
=yes
11073 exp_sym_flag
='-bexport'
11074 no_entry_flag
='-bnoentry'
11077 # When large executables or shared objects are built, AIX ld can
11078 # have problems creating the table of contents. If linking a library
11079 # or program results in "error TOC overflow" add -mminimal-toc to
11080 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11081 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11083 archive_cmds_CXX
=''
11084 hardcode_direct_CXX
=yes
11085 hardcode_libdir_separator_CXX
=':'
11086 link_all_deplibs_CXX
=yes
11088 if test "$GXX" = yes; then
11089 case $host_os in aix4.
[012]|aix4.
[012].
*)
11090 # We only want to do this on AIX 4.2 and lower, the check
11091 # below for broken collect2 doesn't work under 4.3+
11092 collect2name
=`${CC} -print-prog-name=collect2`
11093 if test -f "$collect2name" && \
11094 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
11096 # We have reworked collect2
11097 hardcode_direct_CXX
=yes
11099 # We have old collect2
11100 hardcode_direct_CXX
=unsupported
11101 # It fails to find uninstalled libraries when the uninstalled
11102 # path is not listed in the libpath. Setting hardcode_minus_L
11103 # to unsupported forces relinking
11104 hardcode_minus_L_CXX
=yes
11105 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11106 hardcode_libdir_separator_CXX
=
11110 shared_flag
='-shared'
11111 if test "$aix_use_runtimelinking" = yes; then
11112 shared_flag
="$shared_flag "'${wl}-G'
11116 if test "$host_cpu" = ia64
; then
11117 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11118 # chokes on -Wl,-G. The following line is correct:
11121 if test "$aix_use_runtimelinking" = yes; then
11122 shared_flag
='${wl}-G'
11124 shared_flag
='${wl}-bM:SRE'
11129 # It seems that -bexpall does not export symbols beginning with
11130 # underscore (_), so it is better to generate a list of symbols to export.
11131 always_export_symbols_CXX
=yes
11132 if test "$aix_use_runtimelinking" = yes; then
11133 # Warning - without using the other runtime loading flags (-brtl),
11134 # -berok will link without error, but may produce a broken library.
11135 allow_undefined_flag_CXX
='-berok'
11136 # Determine the default libpath from the value encoded in an empty executable.
11137 cat >conftest.
$ac_ext <<_ACEOF
11140 cat confdefs.h
>>conftest.
$ac_ext
11141 cat >>conftest.
$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11152 rm -f conftest.
$ac_objext conftest
$ac_exeext
11153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11154 (eval $ac_link) 2>conftest.er1
11156 grep -v '^ *+' conftest.er1
>conftest.err
11158 cat conftest.err
>&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); } &&
11161 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; } &&
11167 { ac_try
='test -s conftest$ac_exeext'
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169 (eval $ac_try) 2>&5
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; }; then
11174 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11176 # Check for a 64-bit object if we didn't find anything.
11177 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11180 echo "$as_me: failed program was:" >&5
11181 sed 's/^/| /' conftest.
$ac_ext >&5
11184 rm -f conftest.err conftest.
$ac_objext \
11185 conftest
$ac_exeext conftest.
$ac_ext
11186 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11188 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11190 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11192 if test "$host_cpu" = ia64
; then
11193 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11194 allow_undefined_flag_CXX
="-z nodefs"
11195 archive_expsym_cmds_CXX
="\$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"
11197 # Determine the default libpath from the value encoded in an empty executable.
11198 cat >conftest.
$ac_ext <<_ACEOF
11201 cat confdefs.h
>>conftest.
$ac_ext
11202 cat >>conftest.
$ac_ext <<_ACEOF
11203 /* end confdefs.h. */
11213 rm -f conftest.
$ac_objext conftest
$ac_exeext
11214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11215 (eval $ac_link) 2>conftest.er1
11217 grep -v '^ *+' conftest.er1
>conftest.err
11219 cat conftest.err
>&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); } &&
11222 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11224 (eval $ac_try) 2>&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); }; } &&
11228 { ac_try
='test -s conftest$ac_exeext'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; }; then
11235 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11237 # Check for a 64-bit object if we didn't find anything.
11238 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11241 echo "$as_me: failed program was:" >&5
11242 sed 's/^/| /' conftest.
$ac_ext >&5
11245 rm -f conftest.err conftest.
$ac_objext \
11246 conftest
$ac_exeext conftest.
$ac_ext
11247 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11249 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11250 # Warning - without using the other run time loading flags,
11251 # -berok will link without error, but may produce a broken library.
11252 no_undefined_flag_CXX
=' ${wl}-bernotok'
11253 allow_undefined_flag_CXX
=' ${wl}-berok'
11254 # Exported symbols can be pulled into shared objects from archives
11255 whole_archive_flag_spec_CXX
='$convenience'
11256 archive_cmds_need_lc_CXX
=yes
11257 # This is similar to how AIX traditionally builds its shared libraries.
11258 archive_expsym_cmds_CXX
="\$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'
11264 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11265 allow_undefined_flag_CXX
=unsupported
11266 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11267 # support --undefined. This deserves some investigation. FIXME
11268 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11275 case $cc_basename in
11277 # FIXME: insert proper C++ library support
11283 cygwin
* | mingw
* | pw32
*)
11284 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11285 # as there is no search path for DLLs.
11286 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11287 allow_undefined_flag_CXX
=unsupported
11288 always_export_symbols_CXX
=no
11289 enable_shared_with_static_runtimes_CXX
=yes
11291 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
11292 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11293 # If the export-symbols file already is a .def file (1st line
11294 # is EXPORTS), use it as is; otherwise, prepend...
11295 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11296 cp $export_symbols $output_objdir/$soname.def;
11298 echo EXPORTS > $output_objdir/$soname.def;
11299 cat $export_symbols >> $output_objdir/$soname.def;
11301 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11306 darwin
* | rhapsody
*)
11308 rhapsody
* | darwin1.
[012])
11309 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
11312 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11313 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11315 case ${MACOSX_DEPLOYMENT_TARGET} in
11317 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11320 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
11326 archive_cmds_need_lc_CXX
=no
11327 hardcode_direct_CXX
=no
11328 hardcode_automatic_CXX
=yes
11329 hardcode_shlibpath_var_CXX
=unsupported
11330 whole_archive_flag_spec_CXX
=''
11331 link_all_deplibs_CXX
=yes
11333 if test "$GXX" = yes ; then
11334 lt_int_apple_cc_single_mod
=no
11335 output_verbose_link_cmd
='echo'
11336 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
11337 lt_int_apple_cc_single_mod
=yes
11339 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
11340 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11342 archive_cmds_CXX
='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11344 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11345 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11346 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
11347 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11349 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11351 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11353 case $cc_basename in
11355 output_verbose_link_cmd
='echo'
11356 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11357 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11358 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11359 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11360 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11370 case $cc_basename in
11372 # FIXME: insert proper C++ library support
11376 # Green Hills C++ Compiler
11377 # FIXME: insert proper C++ library support
11381 # FIXME: insert proper C++ library support
11387 # C++ shared libraries reported to be fairly broken before switch to ELF
11391 archive_cmds_need_lc_CXX
=no
11393 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11394 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11401 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11402 hardcode_libdir_separator_CXX
=:
11403 export_dynamic_flag_spec_CXX
='${wl}-E'
11404 hardcode_direct_CXX
=yes
11405 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11406 # but as the default
11407 # location of the library.
11409 case $cc_basename in
11411 # FIXME: insert proper C++ library support
11415 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11416 # Commands to make compiler produce verbose output that lists
11417 # what "hidden" libraries, object files and flags are used when
11418 # linking a shared library.
11420 # There doesn't appear to be a way to prevent this compiler from
11421 # explicitly linking system object files so we need to strip them
11422 # from the output so that they don't get included in the library
11424 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11427 if test "$GXX" = yes; then
11428 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11430 # FIXME: insert proper C++ library support
11437 if test $with_gnu_ld = no
; then
11438 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11439 hardcode_libdir_separator_CXX
=:
11443 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
11446 export_dynamic_flag_spec_CXX
='${wl}-E'
11452 hardcode_direct_CXX
=no
11453 hardcode_shlibpath_var_CXX
=no
11456 hardcode_direct_CXX
=yes
11457 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11458 # but as the default
11459 # location of the library.
11463 case $cc_basename in
11465 # FIXME: insert proper C++ library support
11471 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11474 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11477 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11480 # Commands to make compiler produce verbose output that lists
11481 # what "hidden" libraries, object files and flags are used when
11482 # linking a shared library.
11484 # There doesn't appear to be a way to prevent this compiler from
11485 # explicitly linking system object files so we need to strip them
11486 # from the output so that they don't get included in the library
11488 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11491 if test "$GXX" = yes; then
11492 if test $with_gnu_ld = no
; then
11495 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11498 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11501 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11506 # FIXME: insert proper C++ library support
11513 hardcode_direct_CXX
=no
11514 hardcode_shlibpath_var_CXX
=no
11515 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11516 export_dynamic_flag_spec_CXX
='${wl}-E'
11517 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11518 # Instead, shared libraries are loaded at an image base (0x10000000 by
11519 # default) and relocated if they conflict, which is a slow very memory
11520 # consuming and fragmenting process. To avoid this, we pick a random,
11521 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11522 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11523 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11524 archive_expsym_cmds_CXX
='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'
11527 case $cc_basename in
11530 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11532 # Archives containing C++ object files must be created using
11533 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11534 # necessary to make sure instantiated templates are included
11536 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11539 if test "$GXX" = yes; then
11540 if test "$with_gnu_ld" = no
; then
11541 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11543 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11546 link_all_deplibs_CXX
=yes
11549 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11550 hardcode_libdir_separator_CXX
=:
11553 case $cc_basename in
11555 # Kuck and Associates, Inc. (KAI) C++ Compiler
11557 # KCC will only create a shared library if the output file
11558 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11559 # to its proper name (with version) after linking.
11560 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11561 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11562 # Commands to make compiler produce verbose output that lists
11563 # what "hidden" libraries, object files and flags are used when
11564 # linking a shared library.
11566 # There doesn't appear to be a way to prevent this compiler from
11567 # explicitly linking system object files so we need to strip them
11568 # from the output so that they don't get included in the library
11570 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11572 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11573 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11575 # Archives containing C++ object files must be created using
11576 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11577 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11582 # version 8.0 and above of icpc choke on multiply defined symbols
11583 # if we add $predep_objects and $postdep_objects, however 7.1 and
11584 # earlier do not add the objects themselves.
11585 case `$CC -V 2>&1` in
11587 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11588 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11590 *) # Version 8.0 or newer
11593 ia64
*) tmp_idyn
=' -i_dynamic';;
11595 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11596 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11599 archive_cmds_need_lc_CXX
=no
11600 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11601 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11602 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11605 # Portland Group C++ compiler
11606 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11607 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11609 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11610 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11611 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11615 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11616 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11618 runpath_var
=LD_RUN_PATH
11619 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11620 hardcode_libdir_separator_CXX
=:
11622 # Commands to make compiler produce verbose output that lists
11623 # what "hidden" libraries, object files and flags are used when
11624 # linking a shared library.
11626 # There doesn't appear to be a way to prevent this compiler from
11627 # explicitly linking system object files so we need to strip them
11628 # from the output so that they don't get included in the library
11630 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11635 # FIXME: insert proper C++ library support
11639 # FIXME: insert proper C++ library support
11643 case $cc_basename in
11645 # FIXME: insert proper C++ library support
11649 # FIXME: insert proper C++ library support
11655 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11656 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11658 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11659 hardcode_direct_CXX
=yes
11660 hardcode_shlibpath_var_CXX
=no
11662 # Workaround some broken pre-1.5 toolchains
11663 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11666 # C++ shared libraries are fairly broken
11670 hardcode_direct_CXX
=yes
11671 hardcode_shlibpath_var_CXX
=no
11672 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11673 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11674 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11675 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11676 export_dynamic_flag_spec_CXX
='${wl}-E'
11677 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11679 output_verbose_link_cmd
='echo'
11682 case $cc_basename in
11684 # Kuck and Associates, Inc. (KAI) C++ Compiler
11686 # KCC will only create a shared library if the output file
11687 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11688 # to its proper name (with version) after linking.
11689 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11691 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11692 hardcode_libdir_separator_CXX
=:
11694 # Archives containing C++ object files must be created using
11695 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11696 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11700 # Rational C++ 2.4.1
11701 # FIXME: insert proper C++ library support
11705 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11706 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11708 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11709 hardcode_libdir_separator_CXX
=:
11711 # Commands to make compiler produce verbose output that lists
11712 # what "hidden" libraries, object files and flags are used when
11713 # linking a shared library.
11715 # There doesn't appear to be a way to prevent this compiler from
11716 # explicitly linking system object files so we need to strip them
11717 # from the output so that they don't get included in the library
11719 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11722 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11723 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11724 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11726 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11727 hardcode_libdir_separator_CXX
=:
11729 # Commands to make compiler produce verbose output that lists
11730 # what "hidden" libraries, object files and flags are used when
11731 # linking a shared library.
11732 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11735 # FIXME: insert proper C++ library support
11742 case $cc_basename in
11744 # Kuck and Associates, Inc. (KAI) C++ Compiler
11746 # KCC will only create a shared library if the output file
11747 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11748 # to its proper name (with version) after linking.
11749 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11751 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11752 hardcode_libdir_separator_CXX
=:
11754 # Archives containing C++ object files must be created using
11755 # the KAI C++ compiler.
11756 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11759 # Rational C++ 2.4.1
11760 # FIXME: insert proper C++ library support
11764 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11765 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11766 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11767 echo "-hidden">> $lib.exp~
11768 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11771 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11772 hardcode_libdir_separator_CXX
=:
11774 # Commands to make compiler produce verbose output that lists
11775 # what "hidden" libraries, object files and flags are used when
11776 # linking a shared library.
11778 # There doesn't appear to be a way to prevent this compiler from
11779 # explicitly linking system object files so we need to strip them
11780 # from the output so that they don't get included in the library
11782 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11785 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11786 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11787 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11789 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11790 hardcode_libdir_separator_CXX
=:
11792 # Commands to make compiler produce verbose output that lists
11793 # what "hidden" libraries, object files and flags are used when
11794 # linking a shared library.
11795 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11798 # FIXME: insert proper C++ library support
11805 # FIXME: insert proper C++ library support
11809 case $cc_basename in
11812 # FIXME: insert proper C++ library support
11817 # FIXME: insert proper C++ library support
11821 # FIXME: insert proper C++ library support
11827 case $cc_basename in
11829 # Sun C++ 4.2, 5.x and Centerline C++
11830 archive_cmds_need_lc_CXX
=yes
11831 no_undefined_flag_CXX
=' -zdefs'
11832 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11833 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11834 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11836 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11837 hardcode_shlibpath_var_CXX
=no
11839 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11841 # The C++ compiler is used as linker so we must use $wl
11842 # flag to pass the commands to the underlying system
11843 # linker. We must also pass each convience library through
11844 # to the system linker between allextract/defaultextract.
11845 # The C++ compiler will combine linker options so we
11846 # cannot just pass the convience library names through
11848 # Supported since Solaris 2.6 (maybe 2.5.1?)
11849 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11852 link_all_deplibs_CXX
=yes
11854 output_verbose_link_cmd
='echo'
11856 # Archives containing C++ object files must be created using
11857 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11858 # necessary to make sure instantiated templates are included
11860 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11863 # Green Hills C++ Compiler
11864 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11866 # The C++ compiler must be used to create the archive.
11867 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11870 # GNU C++ compiler with Solaris linker
11871 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11872 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11873 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11874 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11875 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11876 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11878 # Commands to make compiler produce verbose output that lists
11879 # what "hidden" libraries, object files and flags are used when
11880 # linking a shared library.
11881 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11883 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11885 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11886 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11887 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11889 # Commands to make compiler produce verbose output that lists
11890 # what "hidden" libraries, object files and flags are used when
11891 # linking a shared library.
11892 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11895 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11900 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11901 no_undefined_flag_CXX
='${wl}-z,text'
11902 archive_cmds_need_lc_CXX
=no
11903 hardcode_shlibpath_var_CXX
=no
11904 runpath_var
='LD_RUN_PATH'
11906 case $cc_basename in
11908 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11909 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11912 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11913 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11917 sysv5
* | sco3.2v5
* | sco5v6
*)
11918 # Note: We can NOT use -z defs as we might desire, because we do not
11919 # link with -lc, and that would cause any symbols used from libc to
11920 # always be unresolved, which means just about no library would
11921 # ever link correctly. If we're not using GNU ld we use -z text
11922 # though, which does catch some bad symbols but isn't as heavy-handed
11924 # For security reasons, it is highly recommended that you always
11925 # use absolute paths for naming shared libraries, and exclude the
11926 # DT_RUNPATH tag from executables and libraries. But doing so
11927 # requires that you compile everything twice, which is a pain.
11928 # So that behaviour is only enabled if SCOABSPATH is set to a
11929 # non-empty value in the environment. Most likely only useful for
11930 # creating official distributions of packages.
11931 # This is a hack until libtool officially supports absolute path
11932 # names for shared libraries.
11933 no_undefined_flag_CXX
='${wl}-z,text'
11934 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11935 archive_cmds_need_lc_CXX
=no
11936 hardcode_shlibpath_var_CXX
=no
11937 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11938 hardcode_libdir_separator_CXX
=':'
11939 link_all_deplibs_CXX
=yes
11940 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11941 runpath_var
='LD_RUN_PATH'
11943 case $cc_basename in
11945 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11946 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11949 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11950 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11955 case $cc_basename in
11957 # NonStop-UX NCC 3.20
11958 # FIXME: insert proper C++ library support
11962 # FIXME: insert proper C++ library support
11968 # FIXME: insert proper C++ library support
11972 # FIXME: insert proper C++ library support
11976 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11977 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11978 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11984 cat > conftest.
$ac_ext <<EOF
11988 Foo (void) { a = 0; }
11994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11995 (eval $ac_compile) 2>&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); }; then
11999 # Parse the compiler output and extract the necessary
12000 # objects, libraries and library flags.
12002 # Sentinel used to keep track of whether or not we are before
12003 # the conftest object file.
12004 pre_test_object_deps_done
=no
12006 # The `*' in the case matches for architectures that use `case' in
12007 # $output_verbose_cmd can trigger glob expansion during the loop
12008 # eval without this substitution.
12009 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12011 for p
in `eval $output_verbose_link_cmd`; do
12015 # Some compilers place space between "-{L,R}" and the path.
12016 # Remove the space.
12017 if test $p = "-L" \
12018 ||
test $p = "-R"; then
12025 if test "$pre_test_object_deps_done" = no
; then
12028 # Internal compiler library paths should come after those
12029 # provided the user. The postdeps already come after the
12030 # user supplied libs so there is no need to process them.
12031 if test -z "$compiler_lib_search_path_CXX"; then
12032 compiler_lib_search_path_CXX
="${prev}${p}"
12034 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12037 # The "-l" case would never come before the object being
12038 # linked, so don't bother handling this case.
12041 if test -z "$postdeps_CXX"; then
12042 postdeps_CXX
="${prev}${p}"
12044 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12050 # This assumes that the test object file only shows up
12051 # once in the compiler output.
12052 if test "$p" = "conftest.$objext"; then
12053 pre_test_object_deps_done
=yes
12057 if test "$pre_test_object_deps_done" = no
; then
12058 if test -z "$predep_objects_CXX"; then
12059 predep_objects_CXX
="$p"
12061 predep_objects_CXX
="$predep_objects_CXX $p"
12064 if test -z "$postdep_objects_CXX"; then
12065 postdep_objects_CXX
="$p"
12067 postdep_objects_CXX
="$postdep_objects_CXX $p"
12072 *) ;; # Ignore the rest.
12080 echo "libtool.m4: error: problem compiling CXX test program"
12083 $rm -f confest.
$objext
12085 # PORTME: override above test on systems where it is broken
12088 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12089 # hack all around it, let's just trust "g++" to DTRT.
12090 predep_objects_CXX
=
12091 postdep_objects_CXX
=
12096 case $cc_basename in
12098 # Adding this requires a known-good setup of shared libraries for
12099 # Sun compiler versions before 5.6, else PIC objects from an old
12100 # archive will be linked into the output, leading to subtle bugs.
12101 postdeps_CXX
='-lCstd -lCrun'
12108 case " $postdeps_CXX " in
12109 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12112 lt_prog_compiler_wl_CXX
=
12113 lt_prog_compiler_pic_CXX
=
12114 lt_prog_compiler_static_CXX
=
12116 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12117 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12119 # C++ specific cases for pic, static, wl, etc.
12120 if test "$GXX" = yes; then
12121 lt_prog_compiler_wl_CXX
='-Wl,'
12122 lt_prog_compiler_static_CXX
='-static'
12126 # All AIX code is PIC.
12127 if test "$host_cpu" = ia64
; then
12128 # AIX 5 now supports IA64 processor
12129 lt_prog_compiler_static_CXX
='-Bstatic'
12133 # FIXME: we need at least 68020 code to build shared libraries, but
12134 # adding the `-m68020' flag to GCC prevents building anything better,
12136 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12138 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12139 # PIC is the default for these OSes.
12141 mingw
* | os2
* | pw32
*)
12142 # This hack is so that the source file can tell whether it is being
12143 # built for inclusion in a dll (and should export symbols for example).
12144 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12146 darwin
* | rhapsody
*)
12147 # PIC is the default on this platform
12148 # Common symbols not allowed in MH_DYLIB files
12149 lt_prog_compiler_pic_CXX
='-fno-common'
12152 # DJGPP does not support shared libraries at all
12153 lt_prog_compiler_pic_CXX
=
12156 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12157 # Instead, we relocate shared libraries at runtime.
12160 if test -d /usr
/nec
; then
12161 lt_prog_compiler_pic_CXX
=-Kconform_pic
12165 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12166 # not for PA HP-UX.
12171 lt_prog_compiler_pic_CXX
='-fPIC'
12176 lt_prog_compiler_pic_CXX
='-fPIC'
12182 # All AIX code is PIC.
12183 if test "$host_cpu" = ia64
; then
12184 # AIX 5 now supports IA64 processor
12185 lt_prog_compiler_static_CXX
='-Bstatic'
12187 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12191 case $cc_basename in
12193 # Green Hills C++ Compiler
12194 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12199 # PIC is the default on this platform
12200 # Common symbols not allowed in MH_DYLIB files
12201 case $cc_basename in
12203 lt_prog_compiler_pic_CXX
='-qnocommon'
12204 lt_prog_compiler_wl_CXX
='-Wl,'
12209 case $cc_basename in
12211 lt_prog_compiler_pic_CXX
='-KPIC'
12214 # Green Hills C++ Compiler
12215 lt_prog_compiler_pic_CXX
='-pic'
12221 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12222 # FreeBSD uses GNU C++
12224 hpux9
* | hpux10
* | hpux11
*)
12225 case $cc_basename in
12227 lt_prog_compiler_wl_CXX
='-Wl,'
12228 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12229 if test "$host_cpu" != ia64
; then
12230 lt_prog_compiler_pic_CXX
='+Z'
12234 lt_prog_compiler_wl_CXX
='-Wl,'
12235 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12241 lt_prog_compiler_pic_CXX
='+Z'
12250 # This is c89, which is MS Visual C++ (no shared libs)
12251 # Anyone wants to do a port?
12253 irix5
* | irix6
* | nonstopux
*)
12254 case $cc_basename in
12256 lt_prog_compiler_wl_CXX
='-Wl,'
12257 lt_prog_compiler_static_CXX
='-non_shared'
12258 # CC pic flag -KPIC is the default.
12265 case $cc_basename in
12268 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12269 lt_prog_compiler_pic_CXX
='-fPIC'
12273 lt_prog_compiler_wl_CXX
='-Wl,'
12274 lt_prog_compiler_pic_CXX
='-KPIC'
12275 lt_prog_compiler_static_CXX
='-static'
12278 # Portland Group C++ compiler.
12279 lt_prog_compiler_wl_CXX
='-Wl,'
12280 lt_prog_compiler_pic_CXX
='-fpic'
12281 lt_prog_compiler_static_CXX
='-Bstatic'
12285 # Make sure the PIC flag is empty. It appears that all Alpha
12286 # Linux and Compaq Tru64 Unix objects are PIC.
12287 lt_prog_compiler_pic_CXX
=
12288 lt_prog_compiler_static_CXX
='-non_shared'
12299 case $cc_basename in
12301 lt_prog_compiler_pic_CXX
='-W c,exportall'
12309 osf3
* | osf4
* | osf5
*)
12310 case $cc_basename in
12312 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12315 # Rational C++ 2.4.1
12316 lt_prog_compiler_pic_CXX
='-pic'
12319 # Digital/Compaq C++
12320 lt_prog_compiler_wl_CXX
='-Wl,'
12321 # Make sure the PIC flag is empty. It appears that all Alpha
12322 # Linux and Compaq Tru64 Unix objects are PIC.
12323 lt_prog_compiler_pic_CXX
=
12324 lt_prog_compiler_static_CXX
='-non_shared'
12333 case $cc_basename in
12335 # Sun C++ 4.2, 5.x and Centerline C++
12336 lt_prog_compiler_pic_CXX
='-KPIC'
12337 lt_prog_compiler_static_CXX
='-Bstatic'
12338 lt_prog_compiler_wl_CXX
='-Qoption ld '
12341 # Green Hills C++ Compiler
12342 lt_prog_compiler_pic_CXX
='-PIC'
12349 case $cc_basename in
12352 lt_prog_compiler_pic_CXX
='-pic'
12353 lt_prog_compiler_static_CXX
='-Bstatic'
12357 lt_prog_compiler_pic_CXX
='-pic'
12364 case $cc_basename in
12366 # NonStop-UX NCC 3.20
12367 lt_prog_compiler_pic_CXX
='-KPIC'
12373 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12374 case $cc_basename in
12376 lt_prog_compiler_wl_CXX
='-Wl,'
12377 lt_prog_compiler_pic_CXX
='-KPIC'
12378 lt_prog_compiler_static_CXX
='-Bstatic'
12385 lt_prog_compiler_can_build_shared_CXX
=no
12390 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12391 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12394 # Check to make sure the PIC flag actually works.
12396 if test -n "$lt_prog_compiler_pic_CXX"; then
12398 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12399 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12400 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12401 echo $ECHO_N "(cached) $ECHO_C" >&6
12403 lt_prog_compiler_pic_works_CXX
=no
12404 ac_outfile
=conftest.
$ac_objext
12405 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12406 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12407 # Insert the option either (1) after the last *FLAGS variable, or
12408 # (2) before a word containing "conftest.", or (3) at the end.
12409 # Note that $ac_compile itself does not contain backslashes and begins
12410 # with a dollar sign (not a hyphen), so the echo should work correctly.
12411 # The option is referenced via a variable to avoid confusing sed.
12412 lt_compile
=`echo "$ac_compile" | $SED \
12413 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12414 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12415 -e 's:$: $lt_compiler_flag:'`
12416 (eval echo "\"\$as_me:12416: $lt_compile\"" >&5)
12417 (eval "$lt_compile" 2>conftest.err
)
12419 cat conftest.err
>&5
12420 echo "$as_me:12420: \$? = $ac_status" >&5
12421 if (exit $ac_status) && test -s "$ac_outfile"; then
12422 # The compiler can only warn and ignore the option if not recognized
12423 # So say no if there are warnings other than the usual output.
12424 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12425 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12426 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12427 lt_prog_compiler_pic_works_CXX
=yes
12433 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12434 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12436 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12437 case $lt_prog_compiler_pic_CXX in
12439 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12442 lt_prog_compiler_pic_CXX
=
12443 lt_prog_compiler_can_build_shared_CXX
=no
12448 # For platforms which do not support PIC, -DPIC is meaningless:
12450 lt_prog_compiler_pic_CXX
=
12453 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12458 # Check to make sure the static flag actually works.
12460 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12461 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12462 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12463 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12464 echo $ECHO_N "(cached) $ECHO_C" >&6
12466 lt_prog_compiler_static_works_CXX
=no
12467 save_LDFLAGS
="$LDFLAGS"
12468 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12469 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12470 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12471 # The linker can only warn and ignore the option if not recognized
12472 # So say no if there are warnings
12473 if test -s conftest.err
; then
12474 # Append any errors to the config.log.
12475 cat conftest.err
1>&5
12476 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12477 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12478 if diff conftest.exp conftest.er2
>/dev
/null
; then
12479 lt_prog_compiler_static_works_CXX
=yes
12482 lt_prog_compiler_static_works_CXX
=yes
12486 LDFLAGS
="$save_LDFLAGS"
12489 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12490 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12492 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12495 lt_prog_compiler_static_CXX
=
12499 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12500 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12501 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 lt_cv_prog_compiler_c_o_CXX
=no
12505 $rm -r conftest
2>/dev
/null
12509 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12511 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12512 # Insert the option either (1) after the last *FLAGS variable, or
12513 # (2) before a word containing "conftest.", or (3) at the end.
12514 # Note that $ac_compile itself does not contain backslashes and begins
12515 # with a dollar sign (not a hyphen), so the echo should work correctly.
12516 lt_compile
=`echo "$ac_compile" | $SED \
12517 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12518 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12519 -e 's:$: $lt_compiler_flag:'`
12520 (eval echo "\"\$as_me:12520: $lt_compile\"" >&5)
12521 (eval "$lt_compile" 2>out
/conftest.err
)
12523 cat out
/conftest.err
>&5
12524 echo "$as_me:12524: \$? = $ac_status" >&5
12525 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12527 # The compiler can only warn and ignore the option if not recognized
12528 # So say no if there are warnings
12529 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12530 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12531 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12532 lt_cv_prog_compiler_c_o_CXX
=yes
12537 # SGI C++ compiler will create directory out/ii_files/ for
12538 # template instantiation
12539 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12540 $rm out
/* && rmdir out
12546 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12547 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12550 hard_links
="nottested"
12551 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12552 # do not overwrite the value of need_locks provided by the user
12553 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12554 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12557 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12559 ln conftest.a conftest.b
2>&5 || hard_links
=no
12560 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12561 echo "$as_me:$LINENO: result: $hard_links" >&5
12562 echo "${ECHO_T}$hard_links" >&6
12563 if test "$hard_links" = no
; then
12564 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12565 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12572 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12573 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12575 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12578 # If we're using GNU nm, then we don't want the "-C" option.
12579 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12580 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12581 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12583 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12587 export_symbols_cmds_CXX
="$ltdll_cmds"
12590 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12593 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12597 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12598 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12599 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12602 # Do we need to explicitly link libc?
12604 case "x$archive_cmds_need_lc_CXX" in
12606 # Assume -lc should be added
12607 archive_cmds_need_lc_CXX
=yes
12609 if test "$enable_shared" = yes && test "$GCC" = yes; then
12610 case $archive_cmds_CXX in
12612 # FIXME: we may have to deal with multi-command sequences.
12615 # Test whether the compiler implicitly links with -lc since on some
12616 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12617 # to ld, don't add -lc before -lgcc.
12618 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12619 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12621 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12624 (eval $ac_compile) 2>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); } 2>conftest.err
; then
12630 libobjs
=conftest.
$ac_objext
12632 wl
=$lt_prog_compiler_wl_CXX
12633 pic_flag
=$lt_prog_compiler_pic_CXX
12639 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12640 allow_undefined_flag_CXX
=
12641 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12642 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }
12647 archive_cmds_need_lc_CXX
=no
12649 archive_cmds_need_lc_CXX
=yes
12651 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12653 cat conftest.err
1>&5
12656 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12657 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12664 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12665 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12666 library_names_spec
=
12667 libname_spec
='lib$name'
12671 postuninstall_cmds
=
12675 shlibpath_overrides_runpath
=unknown
12677 dynamic_linker
="$host_os ld.so"
12678 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12679 if test "$GCC" = yes; then
12680 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12681 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12682 # if the path contains ";" then we assume it to be the separator
12683 # otherwise default to the standard path separator (i.e. ":") - it is
12684 # assumed that no part of a normal pathname contains ";" but that should
12685 # okay in the real world where ";" in dirpaths is itself problematic.
12686 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12688 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12691 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12693 need_lib_prefix
=unknown
12694 hardcode_into_libs
=no
12696 # when you set need_version to no, make sure it does not cause -set_version
12697 # flags to be left without arguments
12698 need_version
=unknown
12703 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12704 shlibpath_var
=LIBPATH
12706 # AIX 3 has no versioning support, so we append a major version to the name.
12707 soname_spec
='${libname}${release}${shared_ext}$major'
12714 hardcode_into_libs
=yes
12715 if test "$host_cpu" = ia64
; then
12716 # AIX 5 supports IA64
12717 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12718 shlibpath_var
=LD_LIBRARY_PATH
12720 # With GCC up to 2.95.x, collect2 would create an import file
12721 # for dependence libraries. The import file would start with
12722 # the line `#! .'. This would cause the generated library to
12723 # depend on `.', always an invalid library. This was fixed in
12724 # development snapshots of GCC prior to 3.0.
12726 aix4 | aix4.
[01] | aix4.
[01].
*)
12727 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12729 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12732 can_build_shared
=no
12736 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12737 # soname into executable. Probably we can add versioning support to
12738 # collect2, so additional links can be useful in future.
12739 if test "$aix_use_runtimelinking" = yes; then
12740 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12741 # instead of lib<name>.a to let people know that these are not
12742 # typical AIX shared libraries.
12743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12745 # We preserve .a as extension for shared libraries through AIX4.2
12746 # and later when we are not doing run time linking.
12747 library_names_spec
='${libname}${release}.a $libname.a'
12748 soname_spec
='${libname}${release}${shared_ext}$major'
12750 shlibpath_var
=LIBPATH
12755 library_names_spec
='$libname.ixlibrary $libname.a'
12756 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12757 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12761 library_names_spec
='${libname}${shared_ext}'
12762 dynamic_linker
="$host_os ld.so"
12763 shlibpath_var
=LIBRARY_PATH
12769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12770 soname_spec
='${libname}${release}${shared_ext}$major'
12771 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12772 shlibpath_var
=LD_LIBRARY_PATH
12773 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12774 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12775 # the default ld.so.conf also contains /usr/contrib/lib and
12776 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12777 # libtool to hard-code these into programs
12780 cygwin
* | mingw
* | pw32
*)
12781 version_type
=windows
12786 case $GCC,$host_os in
12787 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12788 library_names_spec
='$libname.dll.a'
12789 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12790 postinstall_cmds
='base_file=`basename \${file}`~
12791 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12792 dldir=$destdir/`dirname \$dlpath`~
12793 test -d \$dldir || mkdir -p \$dldir~
12794 $install_prog $dir/$dlname \$dldir/$dlname~
12795 chmod a+x \$dldir/$dlname'
12796 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12797 dlpath=$dir/\$dldll~
12799 shlibpath_overrides_runpath
=yes
12803 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12804 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12805 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12808 # MinGW DLLs use traditional 'lib' prefix
12809 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12810 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12811 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12812 # It is most probably a Windows format PATH printed by
12813 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12814 # path with ; separators, and with drive letters. We can handle the
12815 # drive letters (cygwin fileutils understands them), so leave them,
12816 # especially as we might pass files found there to a mingw objdump,
12817 # which wouldn't understand a cygwinified path. Ahh.
12818 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12820 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12824 # pw32 DLLs use 'pw' prefix rather than 'lib'
12825 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12831 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12834 dynamic_linker
='Win32 ld.exe'
12835 # FIXME: first we should search . and the directory the executable is in
12839 darwin
* | rhapsody
*)
12840 dynamic_linker
="$host_os dyld"
12841 version_type
=darwin
12844 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12845 soname_spec
='${libname}${release}${major}$shared_ext'
12846 shlibpath_overrides_runpath
=yes
12847 shlibpath_var
=DYLD_LIBRARY_PATH
12848 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12849 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12850 if test "$GCC" = yes; then
12851 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12853 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12855 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12863 soname_spec
='${libname}${release}${shared_ext}$major'
12864 shlibpath_var
=LD_LIBRARY_PATH
12875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12876 soname_spec
='${libname}${release}${shared_ext}$major'
12877 shlibpath_var
=LD_LIBRARY_PATH
12878 shlibpath_overrides_runpath
=no
12879 hardcode_into_libs
=yes
12880 dynamic_linker
='GNU ld.so'
12883 freebsd
* | dragonfly
*)
12884 # DragonFly does not have aout. When/if they implement a new
12885 # versioning mechanism, adjust this.
12886 if test -x /usr
/bin
/objformat
; then
12887 objformat
=`/usr/bin/objformat`
12890 freebsd
[123]*) objformat
=aout
;;
12891 *) objformat
=elf
;;
12894 version_type
=freebsd-
$objformat
12895 case $version_type in
12897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12902 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12906 shlibpath_var
=LD_LIBRARY_PATH
12909 shlibpath_overrides_runpath
=yes
12911 freebsd3.
[01]* | freebsdelf3.
[01]*)
12912 shlibpath_overrides_runpath
=yes
12913 hardcode_into_libs
=yes
12915 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12916 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12917 shlibpath_overrides_runpath
=no
12918 hardcode_into_libs
=yes
12920 freebsd
*) # from 4.6 on
12921 shlibpath_overrides_runpath
=yes
12922 hardcode_into_libs
=yes
12931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12932 soname_spec
='${libname}${release}${shared_ext}$major'
12933 shlibpath_var
=LD_LIBRARY_PATH
12934 hardcode_into_libs
=yes
12937 hpux9
* | hpux10
* | hpux11
*)
12938 # Give a soname corresponding to the major version so that dld.sl refuses to
12939 # link against other versions.
12946 hardcode_into_libs
=yes
12947 dynamic_linker
="$host_os dld.so"
12948 shlibpath_var
=LD_LIBRARY_PATH
12949 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12951 soname_spec
='${libname}${release}${shared_ext}$major'
12952 if test "X$HPUX_IA64_MODE" = X32
; then
12953 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12955 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12957 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12961 hardcode_into_libs
=yes
12962 dynamic_linker
="$host_os dld.sl"
12963 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12964 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12966 soname_spec
='${libname}${release}${shared_ext}$major'
12967 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12968 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12972 dynamic_linker
="$host_os dld.sl"
12973 shlibpath_var
=SHLIB_PATH
12974 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12976 soname_spec
='${libname}${release}${shared_ext}$major'
12979 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12980 postinstall_cmds
='chmod 555 $lib'
12987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12988 soname_spec
='${libname}${release}${shared_ext}$major'
12989 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12990 shlibpath_var
=LD_LIBRARY_PATH
12991 shlibpath_overrides_runpath
=no
12992 hardcode_into_libs
=yes
12995 irix5
* | irix6
* | nonstopux
*)
12997 nonstopux
*) version_type
=nonstopux
;;
12999 if test "$lt_cv_prog_gnu_ld" = yes; then
13007 soname_spec
='${libname}${release}${shared_ext}$major'
13008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13010 irix5
* | nonstopux
*)
13011 libsuff
= shlibsuff
=
13014 case $LD in # libtool.m4 will add one of these switches to LD
13015 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13016 libsuff
= shlibsuff
= libmagic
=32-bit;;
13017 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13018 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13019 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13020 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13021 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13025 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13026 shlibpath_overrides_runpath
=no
13027 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13028 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13029 hardcode_into_libs
=yes
13032 # No shared lib support for Linux oldld, aout, or coff.
13033 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13037 # This must be Linux ELF.
13042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13043 soname_spec
='${libname}${release}${shared_ext}$major'
13044 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13045 shlibpath_var
=LD_LIBRARY_PATH
13046 shlibpath_overrides_runpath
=no
13047 # This implies no fast_install, which is unacceptable.
13048 # Some rework will be needed to allow for fast_install
13049 # before this can be enabled.
13050 hardcode_into_libs
=yes
13052 # find out which ABI we are using
13054 case "$host_cpu" in
13055 x86_64
*|s390x
*|powerpc64
*)
13056 echo '#line 13056 "configure"' > conftest.
$ac_ext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); }; then
13062 case `/usr/bin/file conftest.$ac_objext` in
13065 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13073 # Append ld.so.conf contents to the search path
13074 if test -f /etc
/ld.so.conf
; then
13075 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13076 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13079 # We used to test for /lib/ld.so.1 and disable shared libraries on
13080 # powerpc, because MkLinux only supported shared libraries with the
13081 # GNU dynamic linker. Since this was broken with cross compilers,
13082 # most powerpc-linux boxes support dynamic linking these days and
13083 # people can always --disable-shared, the test was removed, and we
13084 # assume the GNU/Linux dynamic linker is in use.
13085 dynamic_linker
='GNU/Linux ld.so'
13092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13093 soname_spec
='${libname}${release}${shared_ext}$major'
13094 shlibpath_var
=LD_LIBRARY_PATH
13095 shlibpath_overrides_runpath
=no
13096 hardcode_into_libs
=yes
13097 dynamic_linker
='GNU ld.so'
13104 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13106 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13107 dynamic_linker
='NetBSD (a.out) ld.so'
13109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13110 soname_spec
='${libname}${release}${shared_ext}$major'
13111 dynamic_linker
='NetBSD ld.elf_so'
13113 shlibpath_var
=LD_LIBRARY_PATH
13114 shlibpath_overrides_runpath
=yes
13115 hardcode_into_libs
=yes
13120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13121 shlibpath_var
=LD_LIBRARY_PATH
13122 shlibpath_overrides_runpath
=yes
13129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13130 soname_spec
='${libname}${release}${shared_ext}$major'
13131 shlibpath_var
=LD_LIBRARY_PATH
13132 shlibpath_overrides_runpath
=yes
13137 sys_lib_dlsearch_path_spec
="/usr/lib"
13139 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13141 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13142 *) need_version
=no
;;
13144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13145 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13146 shlibpath_var
=LD_LIBRARY_PATH
13147 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13149 openbsd2.
[89] | openbsd2.
[89].
*)
13150 shlibpath_overrides_runpath
=no
13153 shlibpath_overrides_runpath
=yes
13157 shlibpath_overrides_runpath
=yes
13162 libname_spec
='$name'
13165 library_names_spec
='$libname${shared_ext} $libname.a'
13166 dynamic_linker
='OS/2 ld.exe'
13167 shlibpath_var
=LIBPATH
13170 osf3
* | osf4
* | osf5
*)
13174 soname_spec
='${libname}${release}${shared_ext}$major'
13175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13176 shlibpath_var
=LD_LIBRARY_PATH
13177 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13178 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13186 soname_spec
='${libname}${release}${shared_ext}$major'
13187 shlibpath_var
=LD_LIBRARY_PATH
13188 shlibpath_overrides_runpath
=yes
13189 hardcode_into_libs
=yes
13190 # ldd complains unless libraries are executable
13191 postinstall_cmds
='chmod +x $lib'
13196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13197 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13198 shlibpath_var
=LD_LIBRARY_PATH
13199 shlibpath_overrides_runpath
=yes
13200 if test "$with_gnu_ld" = yes; then
13208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13209 soname_spec
='${libname}${release}${shared_ext}$major'
13210 shlibpath_var
=LD_LIBRARY_PATH
13211 case $host_vendor in
13213 shlibpath_overrides_runpath
=no
13215 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13216 runpath_var
=LD_RUN_PATH
13224 shlibpath_overrides_runpath
=no
13225 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13231 if test -d /usr
/nec
;then
13233 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13234 soname_spec
='$libname${shared_ext}.$major'
13235 shlibpath_var
=LD_LIBRARY_PATH
13239 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13240 version_type
=freebsd-elf
13243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13244 soname_spec
='${libname}${release}${shared_ext}$major'
13245 shlibpath_var
=LD_LIBRARY_PATH
13246 hardcode_into_libs
=yes
13247 if test "$with_gnu_ld" = yes; then
13248 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13249 shlibpath_overrides_runpath
=no
13251 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13252 shlibpath_overrides_runpath
=yes
13255 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13259 sys_lib_dlsearch_path_spec
='/usr/lib'
13264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13265 soname_spec
='${libname}${release}${shared_ext}$major'
13266 shlibpath_var
=LD_LIBRARY_PATH
13273 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13274 echo "${ECHO_T}$dynamic_linker" >&6
13275 test "$dynamic_linker" = no
&& can_build_shared
=no
13277 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13278 if test "$GCC" = yes; then
13279 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13282 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13283 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13284 hardcode_action_CXX
=
13285 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13286 test -n "$runpath_var_CXX" || \
13287 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13289 # We can hardcode non-existant directories.
13290 if test "$hardcode_direct_CXX" != no
&&
13291 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13292 # have to relink, otherwise we might link with an installed library
13293 # when we should be linking with a yet-to-be-installed one
13294 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13295 test "$hardcode_minus_L_CXX" != no
; then
13296 # Linking always hardcodes the temporary library directory.
13297 hardcode_action_CXX
=relink
13299 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13300 hardcode_action_CXX
=immediate
13303 # We cannot hardcode anything, or else we can only hardcode existing
13305 hardcode_action_CXX
=unsupported
13307 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13308 echo "${ECHO_T}$hardcode_action_CXX" >&6
13310 if test "$hardcode_action_CXX" = relink
; then
13311 # Fast installation is not supported
13312 enable_fast_install
=no
13313 elif test "$shlibpath_overrides_runpath" = yes ||
13314 test "$enable_shared" = no
; then
13315 # Fast installation is not necessary
13316 enable_fast_install
=needless
13320 # The else clause should only fire when bootstrapping the
13321 # libtool distribution, otherwise you forgot to ship ltmain.sh
13322 # with your package, and you will get complaints that there are
13323 # no rules to generate ltmain.sh.
13324 if test -f "$ltmain"; then
13325 # See if we are running on zsh, and set the options which allow our commands through
13326 # without removal of \ escapes.
13327 if test -n "${ZSH_VERSION+set}" ; then
13328 setopt NO_GLOB_SUBST
13330 # Now quote all the things that may contain metacharacters while being
13331 # careful not to overquote the AC_SUBSTed values. We take copies of the
13332 # variables and quote the copies for generation of the libtool script.
13333 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13335 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13336 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13337 deplibs_check_method reload_flag reload_cmds need_locks \
13338 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13339 lt_cv_sys_global_symbol_to_c_name_address \
13340 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13341 old_postinstall_cmds old_postuninstall_cmds \
13345 lt_prog_compiler_wl_CXX \
13346 lt_prog_compiler_pic_CXX \
13347 lt_prog_compiler_static_CXX \
13348 lt_prog_compiler_no_builtin_flag_CXX \
13349 export_dynamic_flag_spec_CXX \
13350 thread_safe_flag_spec_CXX \
13351 whole_archive_flag_spec_CXX \
13352 enable_shared_with_static_runtimes_CXX \
13353 old_archive_cmds_CXX \
13354 old_archive_from_new_cmds_CXX \
13355 predep_objects_CXX \
13356 postdep_objects_CXX \
13359 compiler_lib_search_path_CXX \
13361 archive_expsym_cmds_CXX \
13362 postinstall_cmds_CXX \
13363 postuninstall_cmds_CXX \
13364 old_archive_from_expsyms_cmds_CXX \
13365 allow_undefined_flag_CXX \
13366 no_undefined_flag_CXX \
13367 export_symbols_cmds_CXX \
13368 hardcode_libdir_flag_spec_CXX \
13369 hardcode_libdir_flag_spec_ld_CXX \
13370 hardcode_libdir_separator_CXX \
13371 hardcode_automatic_CXX \
13373 module_expsym_cmds_CXX \
13374 lt_cv_prog_compiler_c_o_CXX \
13375 exclude_expsyms_CXX \
13376 include_expsyms_CXX
; do
13379 old_archive_cmds_CXX | \
13380 old_archive_from_new_cmds_CXX | \
13381 archive_cmds_CXX | \
13382 archive_expsym_cmds_CXX | \
13383 module_cmds_CXX | \
13384 module_expsym_cmds_CXX | \
13385 old_archive_from_expsyms_cmds_CXX | \
13386 export_symbols_cmds_CXX | \
13387 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13388 postinstall_cmds | postuninstall_cmds | \
13389 old_postinstall_cmds | old_postuninstall_cmds | \
13390 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13391 # Double-quote double-evaled strings.
13392 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13395 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13401 *'\$0 --fallback-echo"')
13402 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13408 cat <<__EOF__ >> "$cfgfile"
13409 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13411 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13413 # Shell to use when invoking shell scripts.
13416 # Whether or not to build shared libraries.
13417 build_libtool_libs=$enable_shared
13419 # Whether or not to build static libraries.
13420 build_old_libs=$enable_static
13422 # Whether or not to add -lc for building shared libraries.
13423 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13425 # Whether or not to disallow shared libs when runtime libs are static
13426 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13428 # Whether or not to optimize for fast installation.
13429 fast_install=$enable_fast_install
13432 host_alias=$host_alias
13436 # The build system.
13437 build_alias=$build_alias
13441 # An echo program that does not interpret backslashes.
13446 AR_FLAGS=$lt_AR_FLAGS
13451 # LTCC compiler flags.
13452 LTCFLAGS=$lt_LTCFLAGS
13454 # A language-specific compiler.
13455 CC=$lt_compiler_CXX
13457 # Is the compiler the GNU C compiler?
13463 # The linker used to build libraries.
13466 # Whether we need hard or soft links.
13469 # A BSD-compatible nm program.
13472 # A symbol stripping program
13475 # Used to examine libraries when file_magic_cmd begins "file"
13476 MAGIC_CMD=$MAGIC_CMD
13478 # Used on cygwin: DLL creation program.
13481 # Used on cygwin: object dumper.
13484 # Used on cygwin: assembler.
13487 # The name of the directory that contains temporary libtool files.
13490 # How to create reloadable object files.
13491 reload_flag=$lt_reload_flag
13492 reload_cmds=$lt_reload_cmds
13494 # How to pass a linker flag through the compiler.
13495 wl=$lt_lt_prog_compiler_wl_CXX
13497 # Object file suffix (normally "o").
13498 objext="$ac_objext"
13500 # Old archive suffix (normally "a").
13503 # Shared library suffix (normally ".so").
13504 shrext_cmds='$shrext_cmds'
13506 # Executable file suffix (normally "").
13509 # Additional compiler flags for building library objects.
13510 pic_flag=$lt_lt_prog_compiler_pic_CXX
13513 # What is the maximum length of a command?
13514 max_cmd_len=$lt_cv_sys_max_cmd_len
13516 # Does compiler simultaneously support -c and -o options?
13517 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13519 # Must we lock files when doing compilation?
13520 need_locks=$lt_need_locks
13522 # Do we need the lib prefix for modules?
13523 need_lib_prefix=$need_lib_prefix
13525 # Do we need a version for libraries?
13526 need_version=$need_version
13528 # Whether dlopen is supported.
13529 dlopen_support=$enable_dlopen
13531 # Whether dlopen of programs is supported.
13532 dlopen_self=$enable_dlopen_self
13534 # Whether dlopen of statically linked programs is supported.
13535 dlopen_self_static=$enable_dlopen_self_static
13537 # Compiler flag to prevent dynamic linking.
13538 link_static_flag=$lt_lt_prog_compiler_static_CXX
13540 # Compiler flag to turn off builtin functions.
13541 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13543 # Compiler flag to allow reflexive dlopens.
13544 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13546 # Compiler flag to generate shared objects directly from archives.
13547 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13549 # Compiler flag to generate thread-safe objects.
13550 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13552 # Library versioning type.
13553 version_type=$version_type
13555 # Format of library name prefix.
13556 libname_spec=$lt_libname_spec
13558 # List of archive names. First name is the real one, the rest are links.
13559 # The last name is the one that the linker finds with -lNAME.
13560 library_names_spec=$lt_library_names_spec
13562 # The coded name of the library, if different from the real name.
13563 soname_spec=$lt_soname_spec
13565 # Commands used to build and install an old-style archive.
13567 old_archive_cmds=$lt_old_archive_cmds_CXX
13568 old_postinstall_cmds=$lt_old_postinstall_cmds
13569 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13571 # Create an old-style archive from a shared archive.
13572 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13574 # Create a temporary old-style archive to link instead of a shared archive.
13575 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13577 # Commands used to build and install a shared archive.
13578 archive_cmds=$lt_archive_cmds_CXX
13579 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13580 postinstall_cmds=$lt_postinstall_cmds
13581 postuninstall_cmds=$lt_postuninstall_cmds
13583 # Commands used to build a loadable module (assumed same as above if empty)
13584 module_cmds=$lt_module_cmds_CXX
13585 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13587 # Commands to strip libraries.
13588 old_striplib=$lt_old_striplib
13589 striplib=$lt_striplib
13591 # Dependencies to place before the objects being linked to create a
13593 predep_objects=$lt_predep_objects_CXX
13595 # Dependencies to place after the objects being linked to create a
13597 postdep_objects=$lt_postdep_objects_CXX
13599 # Dependencies to place before the objects being linked to create a
13601 predeps=$lt_predeps_CXX
13603 # Dependencies to place after the objects being linked to create a
13605 postdeps=$lt_postdeps_CXX
13607 # The library search path used internally by the compiler when linking
13608 # a shared library.
13609 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13611 # Method to check whether dependent libraries are shared objects.
13612 deplibs_check_method=$lt_deplibs_check_method
13614 # Command to use when deplibs_check_method == file_magic.
13615 file_magic_cmd=$lt_file_magic_cmd
13617 # Flag that allows shared libraries with undefined symbols to be built.
13618 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13620 # Flag that forces no undefined symbols.
13621 no_undefined_flag=$lt_no_undefined_flag_CXX
13623 # Commands used to finish a libtool library installation in a directory.
13624 finish_cmds=$lt_finish_cmds
13626 # Same as above, but a single script fragment to be evaled but not shown.
13627 finish_eval=$lt_finish_eval
13629 # Take the output of nm and produce a listing of raw symbols and C names.
13630 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13632 # Transform the output of nm in a proper C declaration
13633 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13635 # Transform the output of nm in a C name address pair
13636 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13638 # This is the shared library runtime path variable.
13639 runpath_var=$runpath_var
13641 # This is the shared library path variable.
13642 shlibpath_var=$shlibpath_var
13644 # Is shlibpath searched before the hard-coded library search path?
13645 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13647 # How to hardcode a shared library path into an executable.
13648 hardcode_action=$hardcode_action_CXX
13650 # Whether we should hardcode library paths into libraries.
13651 hardcode_into_libs=$hardcode_into_libs
13653 # Flag to hardcode \$libdir into a binary during linking.
13654 # This must work even if \$libdir does not exist.
13655 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13657 # If ld is used when linking, flag to hardcode \$libdir into
13658 # a binary during linking. This must work even if \$libdir does
13660 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13662 # Whether we need a single -rpath flag with a separated argument.
13663 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13665 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13666 # resulting binary.
13667 hardcode_direct=$hardcode_direct_CXX
13669 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13670 # resulting binary.
13671 hardcode_minus_L=$hardcode_minus_L_CXX
13673 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13674 # the resulting binary.
13675 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13677 # Set to yes if building a shared library automatically hardcodes DIR into the library
13678 # and all subsequent libraries and executables linked against it.
13679 hardcode_automatic=$hardcode_automatic_CXX
13681 # Variables whose values should be saved in libtool wrapper scripts and
13682 # restored at relink time.
13683 variables_saved_for_relink="$variables_saved_for_relink"
13685 # Whether libtool must link a program against all its dependency libraries.
13686 link_all_deplibs=$link_all_deplibs_CXX
13688 # Compile-time system search path for libraries
13689 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13691 # Run-time system search path for libraries
13692 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13694 # Fix the shell variable \$srcfile for the compiler.
13695 fix_srcfile_path="$fix_srcfile_path_CXX"
13697 # Set to yes if exported symbols are required.
13698 always_export_symbols=$always_export_symbols_CXX
13700 # The commands to list exported symbols.
13701 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13703 # The commands to extract the exported symbol list from a shared archive.
13704 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13706 # Symbols that should not be listed in the preloaded symbols.
13707 exclude_expsyms=$lt_exclude_expsyms_CXX
13709 # Symbols that must always be exported.
13710 include_expsyms=$lt_include_expsyms_CXX
13712 # ### END LIBTOOL TAG CONFIG: $tagname
13718 # If there is no Makefile yet, we rely on a make rule to execute
13719 # `config.status --recheck' to rerun these tests and create the
13720 # libtool script then.
13721 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13722 if test -f "$ltmain_in"; then
13723 test -f Makefile
&& make "$ltmain"
13729 ac_cpp
='$CPP $CPPFLAGS'
13730 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13731 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13732 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13738 with_gnu_ldcxx
=$with_gnu_ld
13739 with_gnu_ld
=$lt_save_with_gnu_ld
13740 lt_cv_path_LDCXX
=$lt_cv_path_LD
13741 lt_cv_path_LD
=$lt_save_path_LD
13742 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13743 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13751 if test -n "$F77" && test "X$F77" != "Xno"; then
13754 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13755 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13756 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13759 archive_cmds_need_lc_F77
=no
13760 allow_undefined_flag_F77
=
13761 always_export_symbols_F77
=no
13762 archive_expsym_cmds_F77
=
13763 export_dynamic_flag_spec_F77
=
13764 hardcode_direct_F77
=no
13765 hardcode_libdir_flag_spec_F77
=
13766 hardcode_libdir_flag_spec_ld_F77
=
13767 hardcode_libdir_separator_F77
=
13768 hardcode_minus_L_F77
=no
13769 hardcode_automatic_F77
=no
13771 module_expsym_cmds_F77
=
13772 link_all_deplibs_F77
=unknown
13773 old_archive_cmds_F77
=$old_archive_cmds
13774 no_undefined_flag_F77
=
13775 whole_archive_flag_spec_F77
=
13776 enable_shared_with_static_runtimes_F77
=no
13778 # Source file extension for f77 test sources.
13781 # Object file extension for compiled f77 test sources.
13785 # Code to be used in simple compile tests
13786 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13788 # Code to be used in simple link tests
13789 lt_simple_link_test_code
=" program t\n end\n"
13791 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13793 # If no C compiler was specified, use CC.
13796 # If no C compiler flags were specified, use CFLAGS.
13797 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13799 # Allow CC to be a program name with arguments.
13803 # save warnings/boilerplate of simple test code
13804 ac_outfile
=conftest.
$ac_objext
13805 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13806 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13807 _lt_compiler_boilerplate
=`cat conftest.err`
13810 ac_outfile
=conftest.
$ac_objext
13811 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13812 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13813 _lt_linker_boilerplate
=`cat conftest.err`
13817 # Allow CC to be a program name with arguments.
13822 for cc_temp
in $compiler""; do
13824 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13825 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13830 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13833 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13834 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13835 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13836 echo "${ECHO_T}$can_build_shared" >&6
13838 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13839 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13840 test "$can_build_shared" = "no" && enable_shared
=no
13842 # On AIX, shared libraries and static libraries use the same namespace, and
13843 # are all built from PIC.
13846 test "$enable_shared" = yes && enable_static
=no
13847 if test -n "$RANLIB"; then
13848 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13849 postinstall_cmds
='$RANLIB $lib'
13853 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13854 test "$enable_shared" = yes && enable_static
=no
13858 echo "$as_me:$LINENO: result: $enable_shared" >&5
13859 echo "${ECHO_T}$enable_shared" >&6
13861 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13862 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13863 # Make sure either enable_shared or enable_static is yes.
13864 test "$enable_shared" = yes || enable_static
=yes
13865 echo "$as_me:$LINENO: result: $enable_static" >&5
13866 echo "${ECHO_T}$enable_static" >&6
13871 lt_prog_compiler_wl_F77
=
13872 lt_prog_compiler_pic_F77
=
13873 lt_prog_compiler_static_F77
=
13875 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13876 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13878 if test "$GCC" = yes; then
13879 lt_prog_compiler_wl_F77
='-Wl,'
13880 lt_prog_compiler_static_F77
='-static'
13884 # All AIX code is PIC.
13885 if test "$host_cpu" = ia64
; then
13886 # AIX 5 now supports IA64 processor
13887 lt_prog_compiler_static_F77
='-Bstatic'
13892 # FIXME: we need at least 68020 code to build shared libraries, but
13893 # adding the `-m68020' flag to GCC prevents building anything better,
13895 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13898 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13899 # PIC is the default for these OSes.
13902 mingw
* | pw32
* | os2
*)
13903 # This hack is so that the source file can tell whether it is being
13904 # built for inclusion in a dll (and should export symbols for example).
13905 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13908 darwin
* | rhapsody
*)
13909 # PIC is the default on this platform
13910 # Common symbols not allowed in MH_DYLIB files
13911 lt_prog_compiler_pic_F77
='-fno-common'
13915 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13916 # Instead, we relocate shared libraries at runtime.
13920 # Just because we use GCC doesn't mean we suddenly get shared libraries
13921 # on systems that don't support them.
13922 lt_prog_compiler_can_build_shared_F77
=no
13927 if test -d /usr
/nec
; then
13928 lt_prog_compiler_pic_F77
=-Kconform_pic
13933 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13934 # not for PA HP-UX.
13940 lt_prog_compiler_pic_F77
='-fPIC'
13946 lt_prog_compiler_pic_F77
='-fPIC'
13950 # PORTME Check for flag to pass linker flags through the system compiler.
13953 lt_prog_compiler_wl_F77
='-Wl,'
13954 if test "$host_cpu" = ia64
; then
13955 # AIX 5 now supports IA64 processor
13956 lt_prog_compiler_static_F77
='-Bstatic'
13958 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13962 # PIC is the default on this platform
13963 # Common symbols not allowed in MH_DYLIB files
13964 case $cc_basename in
13966 lt_prog_compiler_pic_F77
='-qnocommon'
13967 lt_prog_compiler_wl_F77
='-Wl,'
13972 mingw
* | pw32
* | os2
*)
13973 # This hack is so that the source file can tell whether it is being
13974 # built for inclusion in a dll (and should export symbols for example).
13975 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13978 hpux9
* | hpux10
* | hpux11
*)
13979 lt_prog_compiler_wl_F77
='-Wl,'
13980 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13981 # not for PA HP-UX.
13987 lt_prog_compiler_pic_F77
='+Z'
13990 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13991 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13994 irix5
* | irix6
* | nonstopux
*)
13995 lt_prog_compiler_wl_F77
='-Wl,'
13996 # PIC (with -KPIC) is the default.
13997 lt_prog_compiler_static_F77
='-non_shared'
14001 lt_prog_compiler_pic_F77
='-KPIC'
14002 lt_prog_compiler_static_F77
='-Bstatic'
14006 case $cc_basename in
14008 lt_prog_compiler_wl_F77
='-Wl,'
14009 lt_prog_compiler_pic_F77
='-KPIC'
14010 lt_prog_compiler_static_F77
='-static'
14012 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14013 # Portland Group compilers (*not* the Pentium gcc compiler,
14014 # which looks to be a dead project)
14015 lt_prog_compiler_wl_F77
='-Wl,'
14016 lt_prog_compiler_pic_F77
='-fpic'
14017 lt_prog_compiler_static_F77
='-Bstatic'
14020 lt_prog_compiler_wl_F77
='-Wl,'
14021 # All Alpha code is PIC.
14022 lt_prog_compiler_static_F77
='-non_shared'
14027 osf3
* | osf4
* | osf5
*)
14028 lt_prog_compiler_wl_F77
='-Wl,'
14029 # All OSF/1 code is PIC.
14030 lt_prog_compiler_static_F77
='-non_shared'
14034 lt_prog_compiler_pic_F77
='-KPIC'
14035 lt_prog_compiler_static_F77
='-Bstatic'
14036 case $cc_basename in
14037 f77
* | f90
* | f95
*)
14038 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14040 lt_prog_compiler_wl_F77
='-Wl,';;
14045 lt_prog_compiler_wl_F77
='-Qoption ld '
14046 lt_prog_compiler_pic_F77
='-PIC'
14047 lt_prog_compiler_static_F77
='-Bstatic'
14050 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14051 lt_prog_compiler_wl_F77
='-Wl,'
14052 lt_prog_compiler_pic_F77
='-KPIC'
14053 lt_prog_compiler_static_F77
='-Bstatic'
14057 if test -d /usr
/nec
;then
14058 lt_prog_compiler_pic_F77
='-Kconform_pic'
14059 lt_prog_compiler_static_F77
='-Bstatic'
14063 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14064 lt_prog_compiler_wl_F77
='-Wl,'
14065 lt_prog_compiler_pic_F77
='-KPIC'
14066 lt_prog_compiler_static_F77
='-Bstatic'
14070 lt_prog_compiler_wl_F77
='-Wl,'
14071 lt_prog_compiler_can_build_shared_F77
=no
14075 lt_prog_compiler_pic_F77
='-pic'
14076 lt_prog_compiler_static_F77
='-Bstatic'
14080 lt_prog_compiler_can_build_shared_F77
=no
14085 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14086 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
14089 # Check to make sure the PIC flag actually works.
14091 if test -n "$lt_prog_compiler_pic_F77"; then
14093 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14094 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
14095 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 lt_prog_compiler_pic_works_F77
=no
14099 ac_outfile
=conftest.
$ac_objext
14100 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14101 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14102 # Insert the option either (1) after the last *FLAGS variable, or
14103 # (2) before a word containing "conftest.", or (3) at the end.
14104 # Note that $ac_compile itself does not contain backslashes and begins
14105 # with a dollar sign (not a hyphen), so the echo should work correctly.
14106 # The option is referenced via a variable to avoid confusing sed.
14107 lt_compile
=`echo "$ac_compile" | $SED \
14108 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14109 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14110 -e 's:$: $lt_compiler_flag:'`
14111 (eval echo "\"\$as_me:14111: $lt_compile\"" >&5)
14112 (eval "$lt_compile" 2>conftest.err
)
14114 cat conftest.err
>&5
14115 echo "$as_me:14115: \$? = $ac_status" >&5
14116 if (exit $ac_status) && test -s "$ac_outfile"; then
14117 # The compiler can only warn and ignore the option if not recognized
14118 # So say no if there are warnings other than the usual output.
14119 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14120 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14121 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14122 lt_prog_compiler_pic_works_F77
=yes
14128 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14129 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
14131 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14132 case $lt_prog_compiler_pic_F77 in
14134 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14137 lt_prog_compiler_pic_F77
=
14138 lt_prog_compiler_can_build_shared_F77
=no
14143 # For platforms which do not support PIC, -DPIC is meaningless:
14145 lt_prog_compiler_pic_F77
=
14148 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14153 # Check to make sure the static flag actually works.
14155 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14156 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14157 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14158 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14159 echo $ECHO_N "(cached) $ECHO_C" >&6
14161 lt_prog_compiler_static_works_F77
=no
14162 save_LDFLAGS
="$LDFLAGS"
14163 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14164 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14165 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14166 # The linker can only warn and ignore the option if not recognized
14167 # So say no if there are warnings
14168 if test -s conftest.err
; then
14169 # Append any errors to the config.log.
14170 cat conftest.err
1>&5
14171 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14172 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14173 if diff conftest.exp conftest.er2
>/dev
/null
; then
14174 lt_prog_compiler_static_works_F77
=yes
14177 lt_prog_compiler_static_works_F77
=yes
14181 LDFLAGS
="$save_LDFLAGS"
14184 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14185 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
14187 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14190 lt_prog_compiler_static_F77
=
14194 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14195 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14196 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14199 lt_cv_prog_compiler_c_o_F77
=no
14200 $rm -r conftest
2>/dev
/null
14204 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14206 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14207 # Insert the option either (1) after the last *FLAGS variable, or
14208 # (2) before a word containing "conftest.", or (3) at the end.
14209 # Note that $ac_compile itself does not contain backslashes and begins
14210 # with a dollar sign (not a hyphen), so the echo should work correctly.
14211 lt_compile
=`echo "$ac_compile" | $SED \
14212 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14213 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14214 -e 's:$: $lt_compiler_flag:'`
14215 (eval echo "\"\$as_me:14215: $lt_compile\"" >&5)
14216 (eval "$lt_compile" 2>out
/conftest.err
)
14218 cat out
/conftest.err
>&5
14219 echo "$as_me:14219: \$? = $ac_status" >&5
14220 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14222 # The compiler can only warn and ignore the option if not recognized
14223 # So say no if there are warnings
14224 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14225 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14226 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14227 lt_cv_prog_compiler_c_o_F77
=yes
14232 # SGI C++ compiler will create directory out/ii_files/ for
14233 # template instantiation
14234 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14235 $rm out
/* && rmdir out
14241 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14242 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
14245 hard_links
="nottested"
14246 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14247 # do not overwrite the value of need_locks provided by the user
14248 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14249 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14252 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14254 ln conftest.a conftest.b
2>&5 || hard_links
=no
14255 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14256 echo "$as_me:$LINENO: result: $hard_links" >&5
14257 echo "${ECHO_T}$hard_links" >&6
14258 if test "$hard_links" = no
; then
14259 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14260 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14267 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14268 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14271 allow_undefined_flag_F77
=
14272 enable_shared_with_static_runtimes_F77
=no
14274 archive_expsym_cmds_F77
=
14275 old_archive_From_new_cmds_F77
=
14276 old_archive_from_expsyms_cmds_F77
=
14277 export_dynamic_flag_spec_F77
=
14278 whole_archive_flag_spec_F77
=
14279 thread_safe_flag_spec_F77
=
14280 hardcode_libdir_flag_spec_F77
=
14281 hardcode_libdir_flag_spec_ld_F77
=
14282 hardcode_libdir_separator_F77
=
14283 hardcode_direct_F77
=no
14284 hardcode_minus_L_F77
=no
14285 hardcode_shlibpath_var_F77
=unsupported
14286 link_all_deplibs_F77
=unknown
14287 hardcode_automatic_F77
=no
14289 module_expsym_cmds_F77
=
14290 always_export_symbols_F77
=no
14291 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14292 # include_expsyms should be a list of space-separated symbols to be *always*
14293 # included in the symbol list
14294 include_expsyms_F77
=
14295 # exclude_expsyms can be an extended regexp of symbols to exclude
14296 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14297 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14298 # as well as any symbol that contains `d'.
14299 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14300 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14301 # platforms (ab)use it in PIC code, but their linkers get confused if
14302 # the symbol is explicitly referenced. Since portable code cannot
14303 # rely on this symbol name, it's probably fine to never include it in
14304 # preloaded symbol tables.
14305 extract_expsyms_cmds
=
14306 # Just being paranoid about ensuring that cc_basename is set.
14307 for cc_temp
in $compiler""; do
14309 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14310 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14315 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14318 cygwin
* | mingw
* | pw32
*)
14319 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14320 # When not using gcc, we currently assume that we are using
14321 # Microsoft Visual C++.
14322 if test "$GCC" != yes; then
14327 # we just hope/assume this is gcc and not c89 (= MSVC++)
14336 if test "$with_gnu_ld" = yes; then
14337 # If archive_cmds runs LD, not CC, wlarc should be empty
14340 # Set some defaults for GNU ld with shared library support. These
14341 # are reset later if shared libraries are not supported. Putting them
14342 # here allows them to be overridden if necessary.
14343 runpath_var
=LD_RUN_PATH
14344 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14345 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14346 # ancient GNU ld didn't support --whole-archive et. al.
14347 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14348 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14350 whole_archive_flag_spec_F77
=
14352 supports_anon_versioning
=no
14353 case `$LD -v 2>/dev/null` in
14354 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14355 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14356 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14357 *\
2.11.
*) ;; # other 2.11 versions
14358 *) supports_anon_versioning
=yes ;;
14361 # See if GNU ld supports shared libraries.
14363 aix3
* | aix4
* | aix5
*)
14364 # On AIX/PPC, the GNU linker is very broken
14365 if test "$host_cpu" != ia64
; then
14369 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14370 *** to be unable to reliably create shared libraries on AIX.
14371 *** Therefore, libtool is disabling shared libraries support. If you
14372 *** really care for shared libraries, you may want to modify your PATH
14373 *** so that a non-GNU linker is found, and then restart.
14380 archive_cmds_F77
='$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)'
14381 hardcode_libdir_flag_spec_F77
='-L$libdir'
14382 hardcode_minus_L_F77
=yes
14384 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14385 # that the semantics of dynamic libraries on AmigaOS, at least up
14386 # to version 4, is to share data among multiple programs linked
14387 # with the same dynamic library. Since this doesn't match the
14388 # behavior of shared libraries on other platforms, we can't use
14394 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14395 allow_undefined_flag_F77
=unsupported
14396 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14397 # support --undefined. This deserves some investigation. FIXME
14398 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14404 cygwin
* | mingw
* | pw32
*)
14405 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14406 # as there is no search path for DLLs.
14407 hardcode_libdir_flag_spec_F77
='-L$libdir'
14408 allow_undefined_flag_F77
=unsupported
14409 always_export_symbols_F77
=no
14410 enable_shared_with_static_runtimes_F77
=yes
14411 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14413 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14414 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14415 # If the export-symbols file already is a .def file (1st line
14416 # is EXPORTS), use it as is; otherwise, prepend...
14417 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14418 cp $export_symbols $output_objdir/$soname.def;
14420 echo EXPORTS > $output_objdir/$soname.def;
14421 cat $export_symbols >> $output_objdir/$soname.def;
14423 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14430 hardcode_direct_F77
=no
14431 hardcode_shlibpath_var_F77
=no
14432 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14433 export_dynamic_flag_spec_F77
='${wl}-E'
14434 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14435 # Instead, shared libraries are loaded at an image base (0x10000000 by
14436 # default) and relocated if they conflict, which is a slow very memory
14437 # consuming and fragmenting process. To avoid this, we pick a random,
14438 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14439 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14440 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14441 archive_expsym_cmds_F77
='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'
14445 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14447 case $cc_basename,$host_cpu in
14448 pgcc
*) # Portland Group C compiler
14449 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14450 tmp_addflag
=' $pic_flag'
14452 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14453 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14454 tmp_addflag
=' $pic_flag -Mnomain' ;;
14455 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14456 tmp_addflag
=' -i_dynamic' ;;
14457 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14458 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14459 ifc
* | ifort
*) # Intel Fortran compiler
14460 tmp_addflag
=' -nofor_main' ;;
14462 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14464 if test $supports_anon_versioning = yes; then
14465 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14466 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14467 $echo "local: *; };" >> $output_objdir/$libname.ver~
14468 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14476 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14477 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14480 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14481 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14486 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14490 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14491 *** create shared libraries on Solaris systems. Therefore, libtool
14492 *** is disabling shared libraries support. We urge you to upgrade GNU
14493 *** binutils to release 2.9.1 or newer. Another option is to modify
14494 *** your PATH or compiler configuration so that the native linker is
14495 *** used, and then restart.
14498 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14499 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14500 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14506 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14507 case `$LD -v 2>&1` in
14508 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14512 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14513 *** reliably create shared libraries on SCO systems. Therefore, libtool
14514 *** is disabling shared libraries support. We urge you to upgrade GNU
14515 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14516 *** your PATH or compiler configuration so that the native linker is
14517 *** used, and then restart.
14522 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14523 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14524 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14525 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14534 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14536 hardcode_direct_F77
=yes
14537 hardcode_shlibpath_var_F77
=no
14541 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14542 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14543 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14550 if test "$ld_shlibs_F77" = no
; then
14552 hardcode_libdir_flag_spec_F77
=
14553 export_dynamic_flag_spec_F77
=
14554 whole_archive_flag_spec_F77
=
14557 # PORTME fill in a description of your system's linker (not GNU ld)
14560 allow_undefined_flag_F77
=unsupported
14561 always_export_symbols_F77
=yes
14562 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14563 # Note: this linker hardcodes the directories in LIBPATH if there
14564 # are no directories specified by -L.
14565 hardcode_minus_L_F77
=yes
14566 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14567 # Neither direct hardcoding nor static linking is supported with a
14569 hardcode_direct_F77
=unsupported
14574 if test "$host_cpu" = ia64
; then
14575 # On IA64, the linker does run time linking by default, so we don't
14576 # have to do anything special.
14577 aix_use_runtimelinking
=no
14578 exp_sym_flag
='-Bexport'
14581 # If we're using GNU nm, then we don't want the "-C" option.
14582 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14583 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14584 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14586 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14588 aix_use_runtimelinking
=no
14590 # Test if we are trying to use run time linking or normal
14591 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14592 # need to do runtime linking.
14593 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14594 for ld_flag
in $LDFLAGS; do
14595 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14596 aix_use_runtimelinking
=yes
14603 exp_sym_flag
='-bexport'
14604 no_entry_flag
='-bnoentry'
14607 # When large executables or shared objects are built, AIX ld can
14608 # have problems creating the table of contents. If linking a library
14609 # or program results in "error TOC overflow" add -mminimal-toc to
14610 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14611 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14613 archive_cmds_F77
=''
14614 hardcode_direct_F77
=yes
14615 hardcode_libdir_separator_F77
=':'
14616 link_all_deplibs_F77
=yes
14618 if test "$GCC" = yes; then
14619 case $host_os in aix4.
[012]|aix4.
[012].
*)
14620 # We only want to do this on AIX 4.2 and lower, the check
14621 # below for broken collect2 doesn't work under 4.3+
14622 collect2name
=`${CC} -print-prog-name=collect2`
14623 if test -f "$collect2name" && \
14624 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14626 # We have reworked collect2
14627 hardcode_direct_F77
=yes
14629 # We have old collect2
14630 hardcode_direct_F77
=unsupported
14631 # It fails to find uninstalled libraries when the uninstalled
14632 # path is not listed in the libpath. Setting hardcode_minus_L
14633 # to unsupported forces relinking
14634 hardcode_minus_L_F77
=yes
14635 hardcode_libdir_flag_spec_F77
='-L$libdir'
14636 hardcode_libdir_separator_F77
=
14640 shared_flag
='-shared'
14641 if test "$aix_use_runtimelinking" = yes; then
14642 shared_flag
="$shared_flag "'${wl}-G'
14646 if test "$host_cpu" = ia64
; then
14647 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14648 # chokes on -Wl,-G. The following line is correct:
14651 if test "$aix_use_runtimelinking" = yes; then
14652 shared_flag
='${wl}-G'
14654 shared_flag
='${wl}-bM:SRE'
14659 # It seems that -bexpall does not export symbols beginning with
14660 # underscore (_), so it is better to generate a list of symbols to export.
14661 always_export_symbols_F77
=yes
14662 if test "$aix_use_runtimelinking" = yes; then
14663 # Warning - without using the other runtime loading flags (-brtl),
14664 # -berok will link without error, but may produce a broken library.
14665 allow_undefined_flag_F77
='-berok'
14666 # Determine the default libpath from the value encoded in an empty executable.
14667 cat >conftest.
$ac_ext <<_ACEOF
14672 rm -f conftest.
$ac_objext conftest
$ac_exeext
14673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14674 (eval $ac_link) 2>conftest.er1
14676 grep -v '^ *+' conftest.er1
>conftest.err
14678 cat conftest.err
>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); } &&
14681 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); }; } &&
14687 { ac_try
='test -s conftest$ac_exeext'
14688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14689 (eval $ac_try) 2>&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); }; }; then
14694 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14696 # Check for a 64-bit object if we didn't find anything.
14697 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14700 echo "$as_me: failed program was:" >&5
14701 sed 's/^/| /' conftest.
$ac_ext >&5
14704 rm -f conftest.err conftest.
$ac_objext \
14705 conftest
$ac_exeext conftest.
$ac_ext
14706 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14708 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14709 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14711 if test "$host_cpu" = ia64
; then
14712 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
14713 allow_undefined_flag_F77
="-z nodefs"
14714 archive_expsym_cmds_F77
="\$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"
14716 # Determine the default libpath from the value encoded in an empty executable.
14717 cat >conftest.
$ac_ext <<_ACEOF
14722 rm -f conftest.
$ac_objext conftest
$ac_exeext
14723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14724 (eval $ac_link) 2>conftest.er1
14726 grep -v '^ *+' conftest.er1
>conftest.err
14728 cat conftest.err
>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); } &&
14731 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; } &&
14737 { ac_try
='test -s conftest$ac_exeext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14744 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14746 # Check for a 64-bit object if we didn't find anything.
14747 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14750 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.
$ac_ext >&5
14754 rm -f conftest.err conftest.
$ac_objext \
14755 conftest
$ac_exeext conftest.
$ac_ext
14756 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14758 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14759 # Warning - without using the other run time loading flags,
14760 # -berok will link without error, but may produce a broken library.
14761 no_undefined_flag_F77
=' ${wl}-bernotok'
14762 allow_undefined_flag_F77
=' ${wl}-berok'
14763 # Exported symbols can be pulled into shared objects from archives
14764 whole_archive_flag_spec_F77
='$convenience'
14765 archive_cmds_need_lc_F77
=yes
14766 # This is similar to how AIX traditionally builds its shared libraries.
14767 archive_expsym_cmds_F77
="\$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'
14773 archive_cmds_F77
='$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)'
14774 hardcode_libdir_flag_spec_F77
='-L$libdir'
14775 hardcode_minus_L_F77
=yes
14776 # see comment about different semantics on the GNU ld section
14781 export_dynamic_flag_spec_F77
=-rdynamic
14784 cygwin
* | mingw
* | pw32
*)
14785 # When not using gcc, we currently assume that we are using
14786 # Microsoft Visual C++.
14787 # hardcode_libdir_flag_spec is actually meaningless, as there is
14788 # no search path for DLLs.
14789 hardcode_libdir_flag_spec_F77
=' '
14790 allow_undefined_flag_F77
=unsupported
14791 # Tell ltmain to make .lib files, not .a files.
14793 # Tell ltmain to make .dll files, not .so files.
14795 # FIXME: Setting linknames here is a bad hack.
14796 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14797 # The linker will automatically build a .lib file if we build a DLL.
14798 old_archive_From_new_cmds_F77
='true'
14799 # FIXME: Should let the user specify the lib program.
14800 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14801 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14802 enable_shared_with_static_runtimes_F77
=yes
14805 darwin
* | rhapsody
*)
14807 rhapsody
* | darwin1.
[012])
14808 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14811 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14812 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14814 case ${MACOSX_DEPLOYMENT_TARGET} in
14816 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14819 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14825 archive_cmds_need_lc_F77
=no
14826 hardcode_direct_F77
=no
14827 hardcode_automatic_F77
=yes
14828 hardcode_shlibpath_var_F77
=unsupported
14829 whole_archive_flag_spec_F77
=''
14830 link_all_deplibs_F77
=yes
14831 if test "$GCC" = yes ; then
14832 output_verbose_link_cmd
='echo'
14833 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14834 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14835 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14836 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14837 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14839 case $cc_basename in
14841 output_verbose_link_cmd
='echo'
14842 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14843 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14844 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14845 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14846 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14856 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14857 hardcode_libdir_flag_spec_F77
='-L$libdir'
14858 hardcode_shlibpath_var_F77
=no
14865 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14866 # support. Future versions do this automatically, but an explicit c++rt0.o
14867 # does not break anything, and helps significantly (at the cost of a little
14870 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14871 hardcode_libdir_flag_spec_F77
='-R$libdir'
14872 hardcode_direct_F77
=yes
14873 hardcode_shlibpath_var_F77
=no
14876 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14878 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14879 hardcode_direct_F77
=yes
14880 hardcode_minus_L_F77
=yes
14881 hardcode_shlibpath_var_F77
=no
14884 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14885 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14886 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14887 hardcode_libdir_flag_spec_F77
='-R$libdir'
14888 hardcode_direct_F77
=yes
14889 hardcode_shlibpath_var_F77
=no
14893 if test "$GCC" = yes; then
14894 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14896 archive_cmds_F77
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14898 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14899 hardcode_libdir_separator_F77
=:
14900 hardcode_direct_F77
=yes
14902 # hardcode_minus_L: Not really in the search PATH,
14903 # but as the default location of the library.
14904 hardcode_minus_L_F77
=yes
14905 export_dynamic_flag_spec_F77
='${wl}-E'
14909 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14910 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14912 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14914 if test "$with_gnu_ld" = no
; then
14915 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14916 hardcode_libdir_separator_F77
=:
14918 hardcode_direct_F77
=yes
14919 export_dynamic_flag_spec_F77
='${wl}-E'
14921 # hardcode_minus_L: Not really in the search PATH,
14922 # but as the default location of the library.
14923 hardcode_minus_L_F77
=yes
14928 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14931 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14934 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14937 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14943 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14946 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14949 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14953 if test "$with_gnu_ld" = no
; then
14954 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14955 hardcode_libdir_separator_F77
=:
14959 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14960 hardcode_direct_F77
=no
14961 hardcode_shlibpath_var_F77
=no
14964 hardcode_direct_F77
=yes
14965 export_dynamic_flag_spec_F77
='${wl}-E'
14967 # hardcode_minus_L: Not really in the search PATH,
14968 # but as the default location of the library.
14969 hardcode_minus_L_F77
=yes
14975 irix5
* | irix6
* | nonstopux
*)
14976 if test "$GCC" = yes; then
14977 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14979 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14980 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14982 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14983 hardcode_libdir_separator_F77
=:
14984 link_all_deplibs_F77
=yes
14988 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14989 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14991 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14993 hardcode_libdir_flag_spec_F77
='-R$libdir'
14994 hardcode_direct_F77
=yes
14995 hardcode_shlibpath_var_F77
=no
14999 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15000 hardcode_direct_F77
=yes
15001 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15002 hardcode_libdir_separator_F77
=:
15003 hardcode_shlibpath_var_F77
=no
15007 hardcode_direct_F77
=yes
15008 hardcode_shlibpath_var_F77
=no
15009 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15010 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15011 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15012 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15013 export_dynamic_flag_spec_F77
='${wl}-E'
15016 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15017 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15018 hardcode_libdir_flag_spec_F77
='-R$libdir'
15021 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15022 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15029 hardcode_libdir_flag_spec_F77
='-L$libdir'
15030 hardcode_minus_L_F77
=yes
15031 allow_undefined_flag_F77
=unsupported
15032 archive_cmds_F77
='$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'
15033 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15037 if test "$GCC" = yes; then
15038 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15039 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15041 allow_undefined_flag_F77
=' -expect_unresolved \*'
15042 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15044 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15045 hardcode_libdir_separator_F77
=:
15048 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15049 if test "$GCC" = yes; then
15050 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15051 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15052 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15054 allow_undefined_flag_F77
=' -expect_unresolved \*'
15055 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15056 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15057 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15059 # Both c and cxx compiler support -rpath directly
15060 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15062 hardcode_libdir_separator_F77
=:
15066 no_undefined_flag_F77
=' -z text'
15067 if test "$GCC" = yes; then
15069 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15070 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15071 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15074 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15075 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15076 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15078 hardcode_libdir_flag_spec_F77
='-R$libdir'
15079 hardcode_shlibpath_var_F77
=no
15081 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15083 # The compiler driver will combine linker options so we
15084 # cannot just pass the convience library names through
15085 # without $wl, iff we do not link with $LD.
15086 # Luckily, gcc supports the same syntax we need for Sun Studio.
15087 # Supported since Solaris 2.6 (maybe 2.5.1?)
15090 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15092 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15095 link_all_deplibs_F77
=yes
15099 if test "x$host_vendor" = xsequent
; then
15100 # Use $CC to link under sequent, because it throws in some extra .o
15101 # files that make .init and .fini sections work.
15102 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15104 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15106 hardcode_libdir_flag_spec_F77
='-L$libdir'
15107 hardcode_direct_F77
=yes
15108 hardcode_minus_L_F77
=yes
15109 hardcode_shlibpath_var_F77
=no
15113 case $host_vendor in
15115 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15116 hardcode_direct_F77
=yes # is this really true???
15119 ## LD is ld it makes a PLAMLIB
15120 ## CC just makes a GrossModule.
15121 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15122 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15123 hardcode_direct_F77
=no
15126 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15127 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15130 runpath_var
='LD_RUN_PATH'
15131 hardcode_shlibpath_var_F77
=no
15135 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15136 hardcode_shlibpath_var_F77
=no
15137 export_dynamic_flag_spec_F77
='-Bexport'
15141 if test -d /usr
/nec
; then
15142 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15143 hardcode_shlibpath_var_F77
=no
15144 runpath_var
=LD_RUN_PATH
15145 hardcode_runpath_var
=yes
15150 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15151 no_undefined_flag_F77
='${wl}-z,text'
15152 archive_cmds_need_lc_F77
=no
15153 hardcode_shlibpath_var_F77
=no
15154 runpath_var
='LD_RUN_PATH'
15156 if test "$GCC" = yes; then
15157 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15158 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15160 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15161 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15165 sysv5
* | sco3.2v5
* | sco5v6
*)
15166 # Note: We can NOT use -z defs as we might desire, because we do not
15167 # link with -lc, and that would cause any symbols used from libc to
15168 # always be unresolved, which means just about no library would
15169 # ever link correctly. If we're not using GNU ld we use -z text
15170 # though, which does catch some bad symbols but isn't as heavy-handed
15172 no_undefined_flag_F77
='${wl}-z,text'
15173 allow_undefined_flag_F77
='${wl}-z,nodefs'
15174 archive_cmds_need_lc_F77
=no
15175 hardcode_shlibpath_var_F77
=no
15176 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15177 hardcode_libdir_separator_F77
=':'
15178 link_all_deplibs_F77
=yes
15179 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15180 runpath_var
='LD_RUN_PATH'
15182 if test "$GCC" = yes; then
15183 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15184 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15186 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15187 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15192 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15193 hardcode_libdir_flag_spec_F77
='-L$libdir'
15194 hardcode_shlibpath_var_F77
=no
15203 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15204 echo "${ECHO_T}$ld_shlibs_F77" >&6
15205 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15208 # Do we need to explicitly link libc?
15210 case "x$archive_cmds_need_lc_F77" in
15212 # Assume -lc should be added
15213 archive_cmds_need_lc_F77
=yes
15215 if test "$enable_shared" = yes && test "$GCC" = yes; then
15216 case $archive_cmds_F77 in
15218 # FIXME: we may have to deal with multi-command sequences.
15221 # Test whether the compiler implicitly links with -lc since on some
15222 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15223 # to ld, don't add -lc before -lgcc.
15224 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15225 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15227 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15230 (eval $ac_compile) 2>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } 2>conftest.err
; then
15236 libobjs
=conftest.
$ac_objext
15238 wl
=$lt_prog_compiler_wl_F77
15239 pic_flag
=$lt_prog_compiler_pic_F77
15245 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15246 allow_undefined_flag_F77
=
15247 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15248 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }
15253 archive_cmds_need_lc_F77
=no
15255 archive_cmds_need_lc_F77
=yes
15257 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15259 cat conftest.err
1>&5
15262 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15263 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
15270 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15271 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15272 library_names_spec
=
15273 libname_spec
='lib$name'
15277 postuninstall_cmds
=
15281 shlibpath_overrides_runpath
=unknown
15283 dynamic_linker
="$host_os ld.so"
15284 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15285 if test "$GCC" = yes; then
15286 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15287 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15288 # if the path contains ";" then we assume it to be the separator
15289 # otherwise default to the standard path separator (i.e. ":") - it is
15290 # assumed that no part of a normal pathname contains ";" but that should
15291 # okay in the real world where ";" in dirpaths is itself problematic.
15292 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15294 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15297 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15299 need_lib_prefix
=unknown
15300 hardcode_into_libs
=no
15302 # when you set need_version to no, make sure it does not cause -set_version
15303 # flags to be left without arguments
15304 need_version
=unknown
15309 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15310 shlibpath_var
=LIBPATH
15312 # AIX 3 has no versioning support, so we append a major version to the name.
15313 soname_spec
='${libname}${release}${shared_ext}$major'
15320 hardcode_into_libs
=yes
15321 if test "$host_cpu" = ia64
; then
15322 # AIX 5 supports IA64
15323 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15324 shlibpath_var
=LD_LIBRARY_PATH
15326 # With GCC up to 2.95.x, collect2 would create an import file
15327 # for dependence libraries. The import file would start with
15328 # the line `#! .'. This would cause the generated library to
15329 # depend on `.', always an invalid library. This was fixed in
15330 # development snapshots of GCC prior to 3.0.
15332 aix4 | aix4.
[01] | aix4.
[01].
*)
15333 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15335 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15338 can_build_shared
=no
15342 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15343 # soname into executable. Probably we can add versioning support to
15344 # collect2, so additional links can be useful in future.
15345 if test "$aix_use_runtimelinking" = yes; then
15346 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15347 # instead of lib<name>.a to let people know that these are not
15348 # typical AIX shared libraries.
15349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15351 # We preserve .a as extension for shared libraries through AIX4.2
15352 # and later when we are not doing run time linking.
15353 library_names_spec
='${libname}${release}.a $libname.a'
15354 soname_spec
='${libname}${release}${shared_ext}$major'
15356 shlibpath_var
=LIBPATH
15361 library_names_spec
='$libname.ixlibrary $libname.a'
15362 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15363 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15367 library_names_spec
='${libname}${shared_ext}'
15368 dynamic_linker
="$host_os ld.so"
15369 shlibpath_var
=LIBRARY_PATH
15375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15376 soname_spec
='${libname}${release}${shared_ext}$major'
15377 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15378 shlibpath_var
=LD_LIBRARY_PATH
15379 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15380 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15381 # the default ld.so.conf also contains /usr/contrib/lib and
15382 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15383 # libtool to hard-code these into programs
15386 cygwin
* | mingw
* | pw32
*)
15387 version_type
=windows
15392 case $GCC,$host_os in
15393 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15394 library_names_spec
='$libname.dll.a'
15395 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15396 postinstall_cmds
='base_file=`basename \${file}`~
15397 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15398 dldir=$destdir/`dirname \$dlpath`~
15399 test -d \$dldir || mkdir -p \$dldir~
15400 $install_prog $dir/$dlname \$dldir/$dlname~
15401 chmod a+x \$dldir/$dlname'
15402 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15403 dlpath=$dir/\$dldll~
15405 shlibpath_overrides_runpath
=yes
15409 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15410 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15411 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15414 # MinGW DLLs use traditional 'lib' prefix
15415 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15416 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15417 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15418 # It is most probably a Windows format PATH printed by
15419 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15420 # path with ; separators, and with drive letters. We can handle the
15421 # drive letters (cygwin fileutils understands them), so leave them,
15422 # especially as we might pass files found there to a mingw objdump,
15423 # which wouldn't understand a cygwinified path. Ahh.
15424 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15426 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15430 # pw32 DLLs use 'pw' prefix rather than 'lib'
15431 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15437 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15440 dynamic_linker
='Win32 ld.exe'
15441 # FIXME: first we should search . and the directory the executable is in
15445 darwin
* | rhapsody
*)
15446 dynamic_linker
="$host_os dyld"
15447 version_type
=darwin
15450 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15451 soname_spec
='${libname}${release}${major}$shared_ext'
15452 shlibpath_overrides_runpath
=yes
15453 shlibpath_var
=DYLD_LIBRARY_PATH
15454 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15455 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15456 if test "$GCC" = yes; then
15457 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15459 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15461 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15469 soname_spec
='${libname}${release}${shared_ext}$major'
15470 shlibpath_var
=LD_LIBRARY_PATH
15481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15482 soname_spec
='${libname}${release}${shared_ext}$major'
15483 shlibpath_var
=LD_LIBRARY_PATH
15484 shlibpath_overrides_runpath
=no
15485 hardcode_into_libs
=yes
15486 dynamic_linker
='GNU ld.so'
15489 freebsd
* | dragonfly
*)
15490 # DragonFly does not have aout. When/if they implement a new
15491 # versioning mechanism, adjust this.
15492 if test -x /usr
/bin
/objformat
; then
15493 objformat
=`/usr/bin/objformat`
15496 freebsd
[123]*) objformat
=aout
;;
15497 *) objformat
=elf
;;
15500 version_type
=freebsd-
$objformat
15501 case $version_type in
15503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15508 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15512 shlibpath_var
=LD_LIBRARY_PATH
15515 shlibpath_overrides_runpath
=yes
15517 freebsd3.
[01]* | freebsdelf3.
[01]*)
15518 shlibpath_overrides_runpath
=yes
15519 hardcode_into_libs
=yes
15521 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15522 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15523 shlibpath_overrides_runpath
=no
15524 hardcode_into_libs
=yes
15526 freebsd
*) # from 4.6 on
15527 shlibpath_overrides_runpath
=yes
15528 hardcode_into_libs
=yes
15537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15538 soname_spec
='${libname}${release}${shared_ext}$major'
15539 shlibpath_var
=LD_LIBRARY_PATH
15540 hardcode_into_libs
=yes
15543 hpux9
* | hpux10
* | hpux11
*)
15544 # Give a soname corresponding to the major version so that dld.sl refuses to
15545 # link against other versions.
15552 hardcode_into_libs
=yes
15553 dynamic_linker
="$host_os dld.so"
15554 shlibpath_var
=LD_LIBRARY_PATH
15555 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15557 soname_spec
='${libname}${release}${shared_ext}$major'
15558 if test "X$HPUX_IA64_MODE" = X32
; then
15559 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15561 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15563 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15567 hardcode_into_libs
=yes
15568 dynamic_linker
="$host_os dld.sl"
15569 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15570 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15572 soname_spec
='${libname}${release}${shared_ext}$major'
15573 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15574 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15578 dynamic_linker
="$host_os dld.sl"
15579 shlibpath_var
=SHLIB_PATH
15580 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15582 soname_spec
='${libname}${release}${shared_ext}$major'
15585 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15586 postinstall_cmds
='chmod 555 $lib'
15593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15594 soname_spec
='${libname}${release}${shared_ext}$major'
15595 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15596 shlibpath_var
=LD_LIBRARY_PATH
15597 shlibpath_overrides_runpath
=no
15598 hardcode_into_libs
=yes
15601 irix5
* | irix6
* | nonstopux
*)
15603 nonstopux
*) version_type
=nonstopux
;;
15605 if test "$lt_cv_prog_gnu_ld" = yes; then
15613 soname_spec
='${libname}${release}${shared_ext}$major'
15614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15616 irix5
* | nonstopux
*)
15617 libsuff
= shlibsuff
=
15620 case $LD in # libtool.m4 will add one of these switches to LD
15621 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15622 libsuff
= shlibsuff
= libmagic
=32-bit;;
15623 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15624 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15625 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15626 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15627 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15631 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15632 shlibpath_overrides_runpath
=no
15633 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15634 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15635 hardcode_into_libs
=yes
15638 # No shared lib support for Linux oldld, aout, or coff.
15639 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15643 # This must be Linux ELF.
15648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15649 soname_spec
='${libname}${release}${shared_ext}$major'
15650 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15651 shlibpath_var
=LD_LIBRARY_PATH
15652 shlibpath_overrides_runpath
=no
15653 # This implies no fast_install, which is unacceptable.
15654 # Some rework will be needed to allow for fast_install
15655 # before this can be enabled.
15656 hardcode_into_libs
=yes
15658 # find out which ABI we are using
15660 case "$host_cpu" in
15661 x86_64
*|s390x
*|powerpc64
*)
15662 echo '#line 15662 "configure"' > conftest.
$ac_ext
15663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15664 (eval $ac_compile) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; then
15668 case `/usr/bin/file conftest.$ac_objext` in
15671 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15679 # Append ld.so.conf contents to the search path
15680 if test -f /etc
/ld.so.conf
; then
15681 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15682 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15685 # We used to test for /lib/ld.so.1 and disable shared libraries on
15686 # powerpc, because MkLinux only supported shared libraries with the
15687 # GNU dynamic linker. Since this was broken with cross compilers,
15688 # most powerpc-linux boxes support dynamic linking these days and
15689 # people can always --disable-shared, the test was removed, and we
15690 # assume the GNU/Linux dynamic linker is in use.
15691 dynamic_linker
='GNU/Linux ld.so'
15698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15699 soname_spec
='${libname}${release}${shared_ext}$major'
15700 shlibpath_var
=LD_LIBRARY_PATH
15701 shlibpath_overrides_runpath
=no
15702 hardcode_into_libs
=yes
15703 dynamic_linker
='GNU ld.so'
15710 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15712 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15713 dynamic_linker
='NetBSD (a.out) ld.so'
15715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15716 soname_spec
='${libname}${release}${shared_ext}$major'
15717 dynamic_linker
='NetBSD ld.elf_so'
15719 shlibpath_var
=LD_LIBRARY_PATH
15720 shlibpath_overrides_runpath
=yes
15721 hardcode_into_libs
=yes
15726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15727 shlibpath_var
=LD_LIBRARY_PATH
15728 shlibpath_overrides_runpath
=yes
15735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15736 soname_spec
='${libname}${release}${shared_ext}$major'
15737 shlibpath_var
=LD_LIBRARY_PATH
15738 shlibpath_overrides_runpath
=yes
15743 sys_lib_dlsearch_path_spec
="/usr/lib"
15745 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15747 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15748 *) need_version
=no
;;
15750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15751 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15752 shlibpath_var
=LD_LIBRARY_PATH
15753 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15755 openbsd2.
[89] | openbsd2.
[89].
*)
15756 shlibpath_overrides_runpath
=no
15759 shlibpath_overrides_runpath
=yes
15763 shlibpath_overrides_runpath
=yes
15768 libname_spec
='$name'
15771 library_names_spec
='$libname${shared_ext} $libname.a'
15772 dynamic_linker
='OS/2 ld.exe'
15773 shlibpath_var
=LIBPATH
15776 osf3
* | osf4
* | osf5
*)
15780 soname_spec
='${libname}${release}${shared_ext}$major'
15781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15782 shlibpath_var
=LD_LIBRARY_PATH
15783 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15784 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15792 soname_spec
='${libname}${release}${shared_ext}$major'
15793 shlibpath_var
=LD_LIBRARY_PATH
15794 shlibpath_overrides_runpath
=yes
15795 hardcode_into_libs
=yes
15796 # ldd complains unless libraries are executable
15797 postinstall_cmds
='chmod +x $lib'
15802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15803 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15804 shlibpath_var
=LD_LIBRARY_PATH
15805 shlibpath_overrides_runpath
=yes
15806 if test "$with_gnu_ld" = yes; then
15814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15815 soname_spec
='${libname}${release}${shared_ext}$major'
15816 shlibpath_var
=LD_LIBRARY_PATH
15817 case $host_vendor in
15819 shlibpath_overrides_runpath
=no
15821 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15822 runpath_var
=LD_RUN_PATH
15830 shlibpath_overrides_runpath
=no
15831 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15837 if test -d /usr
/nec
;then
15839 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15840 soname_spec
='$libname${shared_ext}.$major'
15841 shlibpath_var
=LD_LIBRARY_PATH
15845 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15846 version_type
=freebsd-elf
15849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15850 soname_spec
='${libname}${release}${shared_ext}$major'
15851 shlibpath_var
=LD_LIBRARY_PATH
15852 hardcode_into_libs
=yes
15853 if test "$with_gnu_ld" = yes; then
15854 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15855 shlibpath_overrides_runpath
=no
15857 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15858 shlibpath_overrides_runpath
=yes
15861 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15865 sys_lib_dlsearch_path_spec
='/usr/lib'
15870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15871 soname_spec
='${libname}${release}${shared_ext}$major'
15872 shlibpath_var
=LD_LIBRARY_PATH
15879 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15880 echo "${ECHO_T}$dynamic_linker" >&6
15881 test "$dynamic_linker" = no
&& can_build_shared
=no
15883 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15884 if test "$GCC" = yes; then
15885 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15888 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15889 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15890 hardcode_action_F77
=
15891 if test -n "$hardcode_libdir_flag_spec_F77" || \
15892 test -n "$runpath_var_F77" || \
15893 test "X$hardcode_automatic_F77" = "Xyes" ; then
15895 # We can hardcode non-existant directories.
15896 if test "$hardcode_direct_F77" != no
&&
15897 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15898 # have to relink, otherwise we might link with an installed library
15899 # when we should be linking with a yet-to-be-installed one
15900 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15901 test "$hardcode_minus_L_F77" != no
; then
15902 # Linking always hardcodes the temporary library directory.
15903 hardcode_action_F77
=relink
15905 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15906 hardcode_action_F77
=immediate
15909 # We cannot hardcode anything, or else we can only hardcode existing
15911 hardcode_action_F77
=unsupported
15913 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15914 echo "${ECHO_T}$hardcode_action_F77" >&6
15916 if test "$hardcode_action_F77" = relink
; then
15917 # Fast installation is not supported
15918 enable_fast_install
=no
15919 elif test "$shlibpath_overrides_runpath" = yes ||
15920 test "$enable_shared" = no
; then
15921 # Fast installation is not necessary
15922 enable_fast_install
=needless
15926 # The else clause should only fire when bootstrapping the
15927 # libtool distribution, otherwise you forgot to ship ltmain.sh
15928 # with your package, and you will get complaints that there are
15929 # no rules to generate ltmain.sh.
15930 if test -f "$ltmain"; then
15931 # See if we are running on zsh, and set the options which allow our commands through
15932 # without removal of \ escapes.
15933 if test -n "${ZSH_VERSION+set}" ; then
15934 setopt NO_GLOB_SUBST
15936 # Now quote all the things that may contain metacharacters while being
15937 # careful not to overquote the AC_SUBSTed values. We take copies of the
15938 # variables and quote the copies for generation of the libtool script.
15939 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15941 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15942 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15943 deplibs_check_method reload_flag reload_cmds need_locks \
15944 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15945 lt_cv_sys_global_symbol_to_c_name_address \
15946 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15947 old_postinstall_cmds old_postuninstall_cmds \
15951 lt_prog_compiler_wl_F77 \
15952 lt_prog_compiler_pic_F77 \
15953 lt_prog_compiler_static_F77 \
15954 lt_prog_compiler_no_builtin_flag_F77 \
15955 export_dynamic_flag_spec_F77 \
15956 thread_safe_flag_spec_F77 \
15957 whole_archive_flag_spec_F77 \
15958 enable_shared_with_static_runtimes_F77 \
15959 old_archive_cmds_F77 \
15960 old_archive_from_new_cmds_F77 \
15961 predep_objects_F77 \
15962 postdep_objects_F77 \
15965 compiler_lib_search_path_F77 \
15967 archive_expsym_cmds_F77 \
15968 postinstall_cmds_F77 \
15969 postuninstall_cmds_F77 \
15970 old_archive_from_expsyms_cmds_F77 \
15971 allow_undefined_flag_F77 \
15972 no_undefined_flag_F77 \
15973 export_symbols_cmds_F77 \
15974 hardcode_libdir_flag_spec_F77 \
15975 hardcode_libdir_flag_spec_ld_F77 \
15976 hardcode_libdir_separator_F77 \
15977 hardcode_automatic_F77 \
15979 module_expsym_cmds_F77 \
15980 lt_cv_prog_compiler_c_o_F77 \
15981 exclude_expsyms_F77 \
15982 include_expsyms_F77
; do
15985 old_archive_cmds_F77 | \
15986 old_archive_from_new_cmds_F77 | \
15987 archive_cmds_F77 | \
15988 archive_expsym_cmds_F77 | \
15989 module_cmds_F77 | \
15990 module_expsym_cmds_F77 | \
15991 old_archive_from_expsyms_cmds_F77 | \
15992 export_symbols_cmds_F77 | \
15993 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15994 postinstall_cmds | postuninstall_cmds | \
15995 old_postinstall_cmds | old_postuninstall_cmds | \
15996 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15997 # Double-quote double-evaled strings.
15998 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16001 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16007 *'\$0 --fallback-echo"')
16008 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16014 cat <<__EOF__ >> "$cfgfile"
16015 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16017 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16019 # Shell to use when invoking shell scripts.
16022 # Whether or not to build shared libraries.
16023 build_libtool_libs=$enable_shared
16025 # Whether or not to build static libraries.
16026 build_old_libs=$enable_static
16028 # Whether or not to add -lc for building shared libraries.
16029 build_libtool_need_lc=$archive_cmds_need_lc_F77
16031 # Whether or not to disallow shared libs when runtime libs are static
16032 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16034 # Whether or not to optimize for fast installation.
16035 fast_install=$enable_fast_install
16038 host_alias=$host_alias
16042 # The build system.
16043 build_alias=$build_alias
16047 # An echo program that does not interpret backslashes.
16052 AR_FLAGS=$lt_AR_FLAGS
16057 # LTCC compiler flags.
16058 LTCFLAGS=$lt_LTCFLAGS
16060 # A language-specific compiler.
16061 CC=$lt_compiler_F77
16063 # Is the compiler the GNU C compiler?
16069 # The linker used to build libraries.
16072 # Whether we need hard or soft links.
16075 # A BSD-compatible nm program.
16078 # A symbol stripping program
16081 # Used to examine libraries when file_magic_cmd begins "file"
16082 MAGIC_CMD=$MAGIC_CMD
16084 # Used on cygwin: DLL creation program.
16087 # Used on cygwin: object dumper.
16090 # Used on cygwin: assembler.
16093 # The name of the directory that contains temporary libtool files.
16096 # How to create reloadable object files.
16097 reload_flag=$lt_reload_flag
16098 reload_cmds=$lt_reload_cmds
16100 # How to pass a linker flag through the compiler.
16101 wl=$lt_lt_prog_compiler_wl_F77
16103 # Object file suffix (normally "o").
16104 objext="$ac_objext"
16106 # Old archive suffix (normally "a").
16109 # Shared library suffix (normally ".so").
16110 shrext_cmds='$shrext_cmds'
16112 # Executable file suffix (normally "").
16115 # Additional compiler flags for building library objects.
16116 pic_flag=$lt_lt_prog_compiler_pic_F77
16119 # What is the maximum length of a command?
16120 max_cmd_len=$lt_cv_sys_max_cmd_len
16122 # Does compiler simultaneously support -c and -o options?
16123 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16125 # Must we lock files when doing compilation?
16126 need_locks=$lt_need_locks
16128 # Do we need the lib prefix for modules?
16129 need_lib_prefix=$need_lib_prefix
16131 # Do we need a version for libraries?
16132 need_version=$need_version
16134 # Whether dlopen is supported.
16135 dlopen_support=$enable_dlopen
16137 # Whether dlopen of programs is supported.
16138 dlopen_self=$enable_dlopen_self
16140 # Whether dlopen of statically linked programs is supported.
16141 dlopen_self_static=$enable_dlopen_self_static
16143 # Compiler flag to prevent dynamic linking.
16144 link_static_flag=$lt_lt_prog_compiler_static_F77
16146 # Compiler flag to turn off builtin functions.
16147 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16149 # Compiler flag to allow reflexive dlopens.
16150 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16152 # Compiler flag to generate shared objects directly from archives.
16153 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16155 # Compiler flag to generate thread-safe objects.
16156 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16158 # Library versioning type.
16159 version_type=$version_type
16161 # Format of library name prefix.
16162 libname_spec=$lt_libname_spec
16164 # List of archive names. First name is the real one, the rest are links.
16165 # The last name is the one that the linker finds with -lNAME.
16166 library_names_spec=$lt_library_names_spec
16168 # The coded name of the library, if different from the real name.
16169 soname_spec=$lt_soname_spec
16171 # Commands used to build and install an old-style archive.
16173 old_archive_cmds=$lt_old_archive_cmds_F77
16174 old_postinstall_cmds=$lt_old_postinstall_cmds
16175 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16177 # Create an old-style archive from a shared archive.
16178 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16180 # Create a temporary old-style archive to link instead of a shared archive.
16181 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16183 # Commands used to build and install a shared archive.
16184 archive_cmds=$lt_archive_cmds_F77
16185 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16186 postinstall_cmds=$lt_postinstall_cmds
16187 postuninstall_cmds=$lt_postuninstall_cmds
16189 # Commands used to build a loadable module (assumed same as above if empty)
16190 module_cmds=$lt_module_cmds_F77
16191 module_expsym_cmds=$lt_module_expsym_cmds_F77
16193 # Commands to strip libraries.
16194 old_striplib=$lt_old_striplib
16195 striplib=$lt_striplib
16197 # Dependencies to place before the objects being linked to create a
16199 predep_objects=$lt_predep_objects_F77
16201 # Dependencies to place after the objects being linked to create a
16203 postdep_objects=$lt_postdep_objects_F77
16205 # Dependencies to place before the objects being linked to create a
16207 predeps=$lt_predeps_F77
16209 # Dependencies to place after the objects being linked to create a
16211 postdeps=$lt_postdeps_F77
16213 # The library search path used internally by the compiler when linking
16214 # a shared library.
16215 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16217 # Method to check whether dependent libraries are shared objects.
16218 deplibs_check_method=$lt_deplibs_check_method
16220 # Command to use when deplibs_check_method == file_magic.
16221 file_magic_cmd=$lt_file_magic_cmd
16223 # Flag that allows shared libraries with undefined symbols to be built.
16224 allow_undefined_flag=$lt_allow_undefined_flag_F77
16226 # Flag that forces no undefined symbols.
16227 no_undefined_flag=$lt_no_undefined_flag_F77
16229 # Commands used to finish a libtool library installation in a directory.
16230 finish_cmds=$lt_finish_cmds
16232 # Same as above, but a single script fragment to be evaled but not shown.
16233 finish_eval=$lt_finish_eval
16235 # Take the output of nm and produce a listing of raw symbols and C names.
16236 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16238 # Transform the output of nm in a proper C declaration
16239 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16241 # Transform the output of nm in a C name address pair
16242 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16244 # This is the shared library runtime path variable.
16245 runpath_var=$runpath_var
16247 # This is the shared library path variable.
16248 shlibpath_var=$shlibpath_var
16250 # Is shlibpath searched before the hard-coded library search path?
16251 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16253 # How to hardcode a shared library path into an executable.
16254 hardcode_action=$hardcode_action_F77
16256 # Whether we should hardcode library paths into libraries.
16257 hardcode_into_libs=$hardcode_into_libs
16259 # Flag to hardcode \$libdir into a binary during linking.
16260 # This must work even if \$libdir does not exist.
16261 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16263 # If ld is used when linking, flag to hardcode \$libdir into
16264 # a binary during linking. This must work even if \$libdir does
16266 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16268 # Whether we need a single -rpath flag with a separated argument.
16269 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16271 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16272 # resulting binary.
16273 hardcode_direct=$hardcode_direct_F77
16275 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16276 # resulting binary.
16277 hardcode_minus_L=$hardcode_minus_L_F77
16279 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16280 # the resulting binary.
16281 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16283 # Set to yes if building a shared library automatically hardcodes DIR into the library
16284 # and all subsequent libraries and executables linked against it.
16285 hardcode_automatic=$hardcode_automatic_F77
16287 # Variables whose values should be saved in libtool wrapper scripts and
16288 # restored at relink time.
16289 variables_saved_for_relink="$variables_saved_for_relink"
16291 # Whether libtool must link a program against all its dependency libraries.
16292 link_all_deplibs=$link_all_deplibs_F77
16294 # Compile-time system search path for libraries
16295 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16297 # Run-time system search path for libraries
16298 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16300 # Fix the shell variable \$srcfile for the compiler.
16301 fix_srcfile_path="$fix_srcfile_path_F77"
16303 # Set to yes if exported symbols are required.
16304 always_export_symbols=$always_export_symbols_F77
16306 # The commands to list exported symbols.
16307 export_symbols_cmds=$lt_export_symbols_cmds_F77
16309 # The commands to extract the exported symbol list from a shared archive.
16310 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16312 # Symbols that should not be listed in the preloaded symbols.
16313 exclude_expsyms=$lt_exclude_expsyms_F77
16315 # Symbols that must always be exported.
16316 include_expsyms=$lt_include_expsyms_F77
16318 # ### END LIBTOOL TAG CONFIG: $tagname
16324 # If there is no Makefile yet, we rely on a make rule to execute
16325 # `config.status --recheck' to rerun these tests and create the
16326 # libtool script then.
16327 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16328 if test -f "$ltmain_in"; then
16329 test -f Makefile
&& make "$ltmain"
16335 ac_cpp
='$CPP $CPPFLAGS'
16336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16348 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16352 # Source file extension for Java test sources.
16355 # Object file extension for compiled Java test sources.
16359 # Code to be used in simple compile tests
16360 lt_simple_compile_test_code
="class foo {}\n"
16362 # Code to be used in simple link tests
16363 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16365 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16367 # If no C compiler was specified, use CC.
16370 # If no C compiler flags were specified, use CFLAGS.
16371 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16373 # Allow CC to be a program name with arguments.
16377 # save warnings/boilerplate of simple test code
16378 ac_outfile
=conftest.
$ac_objext
16379 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16380 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16381 _lt_compiler_boilerplate
=`cat conftest.err`
16384 ac_outfile
=conftest.
$ac_objext
16385 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16386 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16387 _lt_linker_boilerplate
=`cat conftest.err`
16391 # Allow CC to be a program name with arguments.
16396 for cc_temp
in $compiler""; do
16398 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16399 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16404 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16407 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16408 archive_cmds_need_lc_GCJ
=no
16410 old_archive_cmds_GCJ
=$old_archive_cmds
16413 lt_prog_compiler_no_builtin_flag_GCJ
=
16415 if test "$GCC" = yes; then
16416 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16419 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16420 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
16421 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16422 echo $ECHO_N "(cached) $ECHO_C" >&6
16424 lt_cv_prog_compiler_rtti_exceptions
=no
16425 ac_outfile
=conftest.
$ac_objext
16426 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16427 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16428 # Insert the option either (1) after the last *FLAGS variable, or
16429 # (2) before a word containing "conftest.", or (3) at the end.
16430 # Note that $ac_compile itself does not contain backslashes and begins
16431 # with a dollar sign (not a hyphen), so the echo should work correctly.
16432 # The option is referenced via a variable to avoid confusing sed.
16433 lt_compile
=`echo "$ac_compile" | $SED \
16434 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16435 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16436 -e 's:$: $lt_compiler_flag:'`
16437 (eval echo "\"\$as_me:16437: $lt_compile\"" >&5)
16438 (eval "$lt_compile" 2>conftest.err
)
16440 cat conftest.err
>&5
16441 echo "$as_me:16441: \$? = $ac_status" >&5
16442 if (exit $ac_status) && test -s "$ac_outfile"; then
16443 # The compiler can only warn and ignore the option if not recognized
16444 # So say no if there are warnings other than the usual output.
16445 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16446 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16447 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16448 lt_cv_prog_compiler_rtti_exceptions
=yes
16454 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16455 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
16457 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16458 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16465 lt_prog_compiler_wl_GCJ
=
16466 lt_prog_compiler_pic_GCJ
=
16467 lt_prog_compiler_static_GCJ
=
16469 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16470 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16472 if test "$GCC" = yes; then
16473 lt_prog_compiler_wl_GCJ
='-Wl,'
16474 lt_prog_compiler_static_GCJ
='-static'
16478 # All AIX code is PIC.
16479 if test "$host_cpu" = ia64
; then
16480 # AIX 5 now supports IA64 processor
16481 lt_prog_compiler_static_GCJ
='-Bstatic'
16486 # FIXME: we need at least 68020 code to build shared libraries, but
16487 # adding the `-m68020' flag to GCC prevents building anything better,
16489 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16492 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16493 # PIC is the default for these OSes.
16496 mingw
* | pw32
* | os2
*)
16497 # This hack is so that the source file can tell whether it is being
16498 # built for inclusion in a dll (and should export symbols for example).
16499 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16502 darwin
* | rhapsody
*)
16503 # PIC is the default on this platform
16504 # Common symbols not allowed in MH_DYLIB files
16505 lt_prog_compiler_pic_GCJ
='-fno-common'
16509 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16510 # Instead, we relocate shared libraries at runtime.
16514 # Just because we use GCC doesn't mean we suddenly get shared libraries
16515 # on systems that don't support them.
16516 lt_prog_compiler_can_build_shared_GCJ
=no
16521 if test -d /usr
/nec
; then
16522 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16527 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16528 # not for PA HP-UX.
16534 lt_prog_compiler_pic_GCJ
='-fPIC'
16540 lt_prog_compiler_pic_GCJ
='-fPIC'
16544 # PORTME Check for flag to pass linker flags through the system compiler.
16547 lt_prog_compiler_wl_GCJ
='-Wl,'
16548 if test "$host_cpu" = ia64
; then
16549 # AIX 5 now supports IA64 processor
16550 lt_prog_compiler_static_GCJ
='-Bstatic'
16552 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16556 # PIC is the default on this platform
16557 # Common symbols not allowed in MH_DYLIB files
16558 case $cc_basename in
16560 lt_prog_compiler_pic_GCJ
='-qnocommon'
16561 lt_prog_compiler_wl_GCJ
='-Wl,'
16566 mingw
* | pw32
* | os2
*)
16567 # This hack is so that the source file can tell whether it is being
16568 # built for inclusion in a dll (and should export symbols for example).
16569 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16572 hpux9
* | hpux10
* | hpux11
*)
16573 lt_prog_compiler_wl_GCJ
='-Wl,'
16574 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16575 # not for PA HP-UX.
16581 lt_prog_compiler_pic_GCJ
='+Z'
16584 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16585 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16588 irix5
* | irix6
* | nonstopux
*)
16589 lt_prog_compiler_wl_GCJ
='-Wl,'
16590 # PIC (with -KPIC) is the default.
16591 lt_prog_compiler_static_GCJ
='-non_shared'
16595 lt_prog_compiler_pic_GCJ
='-KPIC'
16596 lt_prog_compiler_static_GCJ
='-Bstatic'
16600 case $cc_basename in
16602 lt_prog_compiler_wl_GCJ
='-Wl,'
16603 lt_prog_compiler_pic_GCJ
='-KPIC'
16604 lt_prog_compiler_static_GCJ
='-static'
16606 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16607 # Portland Group compilers (*not* the Pentium gcc compiler,
16608 # which looks to be a dead project)
16609 lt_prog_compiler_wl_GCJ
='-Wl,'
16610 lt_prog_compiler_pic_GCJ
='-fpic'
16611 lt_prog_compiler_static_GCJ
='-Bstatic'
16614 lt_prog_compiler_wl_GCJ
='-Wl,'
16615 # All Alpha code is PIC.
16616 lt_prog_compiler_static_GCJ
='-non_shared'
16621 osf3
* | osf4
* | osf5
*)
16622 lt_prog_compiler_wl_GCJ
='-Wl,'
16623 # All OSF/1 code is PIC.
16624 lt_prog_compiler_static_GCJ
='-non_shared'
16628 lt_prog_compiler_pic_GCJ
='-KPIC'
16629 lt_prog_compiler_static_GCJ
='-Bstatic'
16630 case $cc_basename in
16631 f77
* | f90
* | f95
*)
16632 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16634 lt_prog_compiler_wl_GCJ
='-Wl,';;
16639 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16640 lt_prog_compiler_pic_GCJ
='-PIC'
16641 lt_prog_compiler_static_GCJ
='-Bstatic'
16644 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16645 lt_prog_compiler_wl_GCJ
='-Wl,'
16646 lt_prog_compiler_pic_GCJ
='-KPIC'
16647 lt_prog_compiler_static_GCJ
='-Bstatic'
16651 if test -d /usr
/nec
;then
16652 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16653 lt_prog_compiler_static_GCJ
='-Bstatic'
16657 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16658 lt_prog_compiler_wl_GCJ
='-Wl,'
16659 lt_prog_compiler_pic_GCJ
='-KPIC'
16660 lt_prog_compiler_static_GCJ
='-Bstatic'
16664 lt_prog_compiler_wl_GCJ
='-Wl,'
16665 lt_prog_compiler_can_build_shared_GCJ
=no
16669 lt_prog_compiler_pic_GCJ
='-pic'
16670 lt_prog_compiler_static_GCJ
='-Bstatic'
16674 lt_prog_compiler_can_build_shared_GCJ
=no
16679 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16680 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16683 # Check to make sure the PIC flag actually works.
16685 if test -n "$lt_prog_compiler_pic_GCJ"; then
16687 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16688 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16689 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 lt_prog_compiler_pic_works_GCJ
=no
16693 ac_outfile
=conftest.
$ac_objext
16694 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16695 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16696 # Insert the option either (1) after the last *FLAGS variable, or
16697 # (2) before a word containing "conftest.", or (3) at the end.
16698 # Note that $ac_compile itself does not contain backslashes and begins
16699 # with a dollar sign (not a hyphen), so the echo should work correctly.
16700 # The option is referenced via a variable to avoid confusing sed.
16701 lt_compile
=`echo "$ac_compile" | $SED \
16702 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16704 -e 's:$: $lt_compiler_flag:'`
16705 (eval echo "\"\$as_me:16705: $lt_compile\"" >&5)
16706 (eval "$lt_compile" 2>conftest.err
)
16708 cat conftest.err
>&5
16709 echo "$as_me:16709: \$? = $ac_status" >&5
16710 if (exit $ac_status) && test -s "$ac_outfile"; then
16711 # The compiler can only warn and ignore the option if not recognized
16712 # So say no if there are warnings other than the usual output.
16713 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16714 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16715 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16716 lt_prog_compiler_pic_works_GCJ
=yes
16722 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16723 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16725 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16726 case $lt_prog_compiler_pic_GCJ in
16728 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16731 lt_prog_compiler_pic_GCJ
=
16732 lt_prog_compiler_can_build_shared_GCJ
=no
16737 # For platforms which do not support PIC, -DPIC is meaningless:
16739 lt_prog_compiler_pic_GCJ
=
16742 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16747 # Check to make sure the static flag actually works.
16749 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16750 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16751 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16752 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 lt_prog_compiler_static_works_GCJ
=no
16756 save_LDFLAGS
="$LDFLAGS"
16757 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16758 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16759 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16760 # The linker can only warn and ignore the option if not recognized
16761 # So say no if there are warnings
16762 if test -s conftest.err
; then
16763 # Append any errors to the config.log.
16764 cat conftest.err
1>&5
16765 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16766 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16767 if diff conftest.exp conftest.er2
>/dev
/null
; then
16768 lt_prog_compiler_static_works_GCJ
=yes
16771 lt_prog_compiler_static_works_GCJ
=yes
16775 LDFLAGS
="$save_LDFLAGS"
16778 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16779 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16781 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16784 lt_prog_compiler_static_GCJ
=
16788 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16789 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16790 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 lt_cv_prog_compiler_c_o_GCJ
=no
16794 $rm -r conftest
2>/dev
/null
16798 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16800 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16801 # Insert the option either (1) after the last *FLAGS variable, or
16802 # (2) before a word containing "conftest.", or (3) at the end.
16803 # Note that $ac_compile itself does not contain backslashes and begins
16804 # with a dollar sign (not a hyphen), so the echo should work correctly.
16805 lt_compile
=`echo "$ac_compile" | $SED \
16806 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16807 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16808 -e 's:$: $lt_compiler_flag:'`
16809 (eval echo "\"\$as_me:16809: $lt_compile\"" >&5)
16810 (eval "$lt_compile" 2>out
/conftest.err
)
16812 cat out
/conftest.err
>&5
16813 echo "$as_me:16813: \$? = $ac_status" >&5
16814 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16816 # The compiler can only warn and ignore the option if not recognized
16817 # So say no if there are warnings
16818 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16819 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16820 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16821 lt_cv_prog_compiler_c_o_GCJ
=yes
16826 # SGI C++ compiler will create directory out/ii_files/ for
16827 # template instantiation
16828 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16829 $rm out
/* && rmdir out
16835 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16836 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16839 hard_links
="nottested"
16840 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16841 # do not overwrite the value of need_locks provided by the user
16842 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16843 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16846 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16848 ln conftest.a conftest.b
2>&5 || hard_links
=no
16849 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16850 echo "$as_me:$LINENO: result: $hard_links" >&5
16851 echo "${ECHO_T}$hard_links" >&6
16852 if test "$hard_links" = no
; then
16853 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16854 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16861 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16862 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16865 allow_undefined_flag_GCJ
=
16866 enable_shared_with_static_runtimes_GCJ
=no
16868 archive_expsym_cmds_GCJ
=
16869 old_archive_From_new_cmds_GCJ
=
16870 old_archive_from_expsyms_cmds_GCJ
=
16871 export_dynamic_flag_spec_GCJ
=
16872 whole_archive_flag_spec_GCJ
=
16873 thread_safe_flag_spec_GCJ
=
16874 hardcode_libdir_flag_spec_GCJ
=
16875 hardcode_libdir_flag_spec_ld_GCJ
=
16876 hardcode_libdir_separator_GCJ
=
16877 hardcode_direct_GCJ
=no
16878 hardcode_minus_L_GCJ
=no
16879 hardcode_shlibpath_var_GCJ
=unsupported
16880 link_all_deplibs_GCJ
=unknown
16881 hardcode_automatic_GCJ
=no
16883 module_expsym_cmds_GCJ
=
16884 always_export_symbols_GCJ
=no
16885 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16886 # include_expsyms should be a list of space-separated symbols to be *always*
16887 # included in the symbol list
16888 include_expsyms_GCJ
=
16889 # exclude_expsyms can be an extended regexp of symbols to exclude
16890 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16891 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16892 # as well as any symbol that contains `d'.
16893 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16894 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16895 # platforms (ab)use it in PIC code, but their linkers get confused if
16896 # the symbol is explicitly referenced. Since portable code cannot
16897 # rely on this symbol name, it's probably fine to never include it in
16898 # preloaded symbol tables.
16899 extract_expsyms_cmds
=
16900 # Just being paranoid about ensuring that cc_basename is set.
16901 for cc_temp
in $compiler""; do
16903 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16904 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16909 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16912 cygwin
* | mingw
* | pw32
*)
16913 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16914 # When not using gcc, we currently assume that we are using
16915 # Microsoft Visual C++.
16916 if test "$GCC" != yes; then
16921 # we just hope/assume this is gcc and not c89 (= MSVC++)
16930 if test "$with_gnu_ld" = yes; then
16931 # If archive_cmds runs LD, not CC, wlarc should be empty
16934 # Set some defaults for GNU ld with shared library support. These
16935 # are reset later if shared libraries are not supported. Putting them
16936 # here allows them to be overridden if necessary.
16937 runpath_var
=LD_RUN_PATH
16938 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16939 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16940 # ancient GNU ld didn't support --whole-archive et. al.
16941 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16942 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16944 whole_archive_flag_spec_GCJ
=
16946 supports_anon_versioning
=no
16947 case `$LD -v 2>/dev/null` in
16948 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16949 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16950 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16951 *\
2.11.
*) ;; # other 2.11 versions
16952 *) supports_anon_versioning
=yes ;;
16955 # See if GNU ld supports shared libraries.
16957 aix3
* | aix4
* | aix5
*)
16958 # On AIX/PPC, the GNU linker is very broken
16959 if test "$host_cpu" != ia64
; then
16963 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16964 *** to be unable to reliably create shared libraries on AIX.
16965 *** Therefore, libtool is disabling shared libraries support. If you
16966 *** really care for shared libraries, you may want to modify your PATH
16967 *** so that a non-GNU linker is found, and then restart.
16974 archive_cmds_GCJ
='$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)'
16975 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16976 hardcode_minus_L_GCJ
=yes
16978 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16979 # that the semantics of dynamic libraries on AmigaOS, at least up
16980 # to version 4, is to share data among multiple programs linked
16981 # with the same dynamic library. Since this doesn't match the
16982 # behavior of shared libraries on other platforms, we can't use
16988 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16989 allow_undefined_flag_GCJ
=unsupported
16990 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16991 # support --undefined. This deserves some investigation. FIXME
16992 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16998 cygwin
* | mingw
* | pw32
*)
16999 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17000 # as there is no search path for DLLs.
17001 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17002 allow_undefined_flag_GCJ
=unsupported
17003 always_export_symbols_GCJ
=no
17004 enable_shared_with_static_runtimes_GCJ
=yes
17005 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17007 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17008 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17009 # If the export-symbols file already is a .def file (1st line
17010 # is EXPORTS), use it as is; otherwise, prepend...
17011 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17012 cp $export_symbols $output_objdir/$soname.def;
17014 echo EXPORTS > $output_objdir/$soname.def;
17015 cat $export_symbols >> $output_objdir/$soname.def;
17017 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17024 hardcode_direct_GCJ
=no
17025 hardcode_shlibpath_var_GCJ
=no
17026 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17027 export_dynamic_flag_spec_GCJ
='${wl}-E'
17028 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17029 # Instead, shared libraries are loaded at an image base (0x10000000 by
17030 # default) and relocated if they conflict, which is a slow very memory
17031 # consuming and fragmenting process. To avoid this, we pick a random,
17032 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17033 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17034 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17035 archive_expsym_cmds_GCJ
='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'
17039 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17041 case $cc_basename,$host_cpu in
17042 pgcc
*) # Portland Group C compiler
17043 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17044 tmp_addflag
=' $pic_flag'
17046 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17047 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17048 tmp_addflag
=' $pic_flag -Mnomain' ;;
17049 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17050 tmp_addflag
=' -i_dynamic' ;;
17051 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17052 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17053 ifc
* | ifort
*) # Intel Fortran compiler
17054 tmp_addflag
=' -nofor_main' ;;
17056 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17058 if test $supports_anon_versioning = yes; then
17059 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17060 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17061 $echo "local: *; };" >> $output_objdir/$libname.ver~
17062 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17070 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17071 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17074 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17075 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17080 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17084 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17085 *** create shared libraries on Solaris systems. Therefore, libtool
17086 *** is disabling shared libraries support. We urge you to upgrade GNU
17087 *** binutils to release 2.9.1 or newer. Another option is to modify
17088 *** your PATH or compiler configuration so that the native linker is
17089 *** used, and then restart.
17092 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17093 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17094 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17100 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17101 case `$LD -v 2>&1` in
17102 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17106 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17107 *** reliably create shared libraries on SCO systems. Therefore, libtool
17108 *** is disabling shared libraries support. We urge you to upgrade GNU
17109 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17110 *** your PATH or compiler configuration so that the native linker is
17111 *** used, and then restart.
17116 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17117 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17118 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17119 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17128 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17130 hardcode_direct_GCJ
=yes
17131 hardcode_shlibpath_var_GCJ
=no
17135 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17136 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17137 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17144 if test "$ld_shlibs_GCJ" = no
; then
17146 hardcode_libdir_flag_spec_GCJ
=
17147 export_dynamic_flag_spec_GCJ
=
17148 whole_archive_flag_spec_GCJ
=
17151 # PORTME fill in a description of your system's linker (not GNU ld)
17154 allow_undefined_flag_GCJ
=unsupported
17155 always_export_symbols_GCJ
=yes
17156 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17157 # Note: this linker hardcodes the directories in LIBPATH if there
17158 # are no directories specified by -L.
17159 hardcode_minus_L_GCJ
=yes
17160 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17161 # Neither direct hardcoding nor static linking is supported with a
17163 hardcode_direct_GCJ
=unsupported
17168 if test "$host_cpu" = ia64
; then
17169 # On IA64, the linker does run time linking by default, so we don't
17170 # have to do anything special.
17171 aix_use_runtimelinking
=no
17172 exp_sym_flag
='-Bexport'
17175 # If we're using GNU nm, then we don't want the "-C" option.
17176 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17177 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17178 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17180 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17182 aix_use_runtimelinking
=no
17184 # Test if we are trying to use run time linking or normal
17185 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17186 # need to do runtime linking.
17187 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17188 for ld_flag
in $LDFLAGS; do
17189 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17190 aix_use_runtimelinking
=yes
17197 exp_sym_flag
='-bexport'
17198 no_entry_flag
='-bnoentry'
17201 # When large executables or shared objects are built, AIX ld can
17202 # have problems creating the table of contents. If linking a library
17203 # or program results in "error TOC overflow" add -mminimal-toc to
17204 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17205 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17207 archive_cmds_GCJ
=''
17208 hardcode_direct_GCJ
=yes
17209 hardcode_libdir_separator_GCJ
=':'
17210 link_all_deplibs_GCJ
=yes
17212 if test "$GCC" = yes; then
17213 case $host_os in aix4.
[012]|aix4.
[012].
*)
17214 # We only want to do this on AIX 4.2 and lower, the check
17215 # below for broken collect2 doesn't work under 4.3+
17216 collect2name
=`${CC} -print-prog-name=collect2`
17217 if test -f "$collect2name" && \
17218 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17220 # We have reworked collect2
17221 hardcode_direct_GCJ
=yes
17223 # We have old collect2
17224 hardcode_direct_GCJ
=unsupported
17225 # It fails to find uninstalled libraries when the uninstalled
17226 # path is not listed in the libpath. Setting hardcode_minus_L
17227 # to unsupported forces relinking
17228 hardcode_minus_L_GCJ
=yes
17229 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17230 hardcode_libdir_separator_GCJ
=
17234 shared_flag
='-shared'
17235 if test "$aix_use_runtimelinking" = yes; then
17236 shared_flag
="$shared_flag "'${wl}-G'
17240 if test "$host_cpu" = ia64
; then
17241 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17242 # chokes on -Wl,-G. The following line is correct:
17245 if test "$aix_use_runtimelinking" = yes; then
17246 shared_flag
='${wl}-G'
17248 shared_flag
='${wl}-bM:SRE'
17253 # It seems that -bexpall does not export symbols beginning with
17254 # underscore (_), so it is better to generate a list of symbols to export.
17255 always_export_symbols_GCJ
=yes
17256 if test "$aix_use_runtimelinking" = yes; then
17257 # Warning - without using the other runtime loading flags (-brtl),
17258 # -berok will link without error, but may produce a broken library.
17259 allow_undefined_flag_GCJ
='-berok'
17260 # Determine the default libpath from the value encoded in an empty executable.
17261 cat >conftest.
$ac_ext <<_ACEOF
17264 cat confdefs.h
>>conftest.
$ac_ext
17265 cat >>conftest.
$ac_ext <<_ACEOF
17266 /* end confdefs.h. */
17276 rm -f conftest.
$ac_objext conftest
$ac_exeext
17277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17278 (eval $ac_link) 2>conftest.er1
17280 grep -v '^ *+' conftest.er1
>conftest.err
17282 cat conftest.err
>&5
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); } &&
17285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; } &&
17291 { ac_try
='test -s conftest$ac_exeext'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; }; then
17298 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17300 # Check for a 64-bit object if we didn't find anything.
17301 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.
$ac_ext >&5
17308 rm -f conftest.err conftest.
$ac_objext \
17309 conftest
$ac_exeext conftest.
$ac_ext
17310 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17312 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17313 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17315 if test "$host_cpu" = ia64
; then
17316 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
17317 allow_undefined_flag_GCJ
="-z nodefs"
17318 archive_expsym_cmds_GCJ
="\$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"
17320 # Determine the default libpath from the value encoded in an empty executable.
17321 cat >conftest.
$ac_ext <<_ACEOF
17324 cat confdefs.h
>>conftest.
$ac_ext
17325 cat >>conftest.
$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17336 rm -f conftest.
$ac_objext conftest
$ac_exeext
17337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17338 (eval $ac_link) 2>conftest.er1
17340 grep -v '^ *+' conftest.er1
>conftest.err
17342 cat conftest.err
>&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } &&
17345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17347 (eval $ac_try) 2>&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); }; } &&
17351 { ac_try
='test -s conftest$ac_exeext'
17352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17353 (eval $ac_try) 2>&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); }; }; then
17358 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17360 # Check for a 64-bit object if we didn't find anything.
17361 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.
$ac_ext >&5
17368 rm -f conftest.err conftest.
$ac_objext \
17369 conftest
$ac_exeext conftest.
$ac_ext
17370 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17372 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17373 # Warning - without using the other run time loading flags,
17374 # -berok will link without error, but may produce a broken library.
17375 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17376 allow_undefined_flag_GCJ
=' ${wl}-berok'
17377 # Exported symbols can be pulled into shared objects from archives
17378 whole_archive_flag_spec_GCJ
='$convenience'
17379 archive_cmds_need_lc_GCJ
=yes
17380 # This is similar to how AIX traditionally builds its shared libraries.
17381 archive_expsym_cmds_GCJ
="\$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'
17387 archive_cmds_GCJ
='$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)'
17388 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17389 hardcode_minus_L_GCJ
=yes
17390 # see comment about different semantics on the GNU ld section
17395 export_dynamic_flag_spec_GCJ
=-rdynamic
17398 cygwin
* | mingw
* | pw32
*)
17399 # When not using gcc, we currently assume that we are using
17400 # Microsoft Visual C++.
17401 # hardcode_libdir_flag_spec is actually meaningless, as there is
17402 # no search path for DLLs.
17403 hardcode_libdir_flag_spec_GCJ
=' '
17404 allow_undefined_flag_GCJ
=unsupported
17405 # Tell ltmain to make .lib files, not .a files.
17407 # Tell ltmain to make .dll files, not .so files.
17409 # FIXME: Setting linknames here is a bad hack.
17410 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17411 # The linker will automatically build a .lib file if we build a DLL.
17412 old_archive_From_new_cmds_GCJ
='true'
17413 # FIXME: Should let the user specify the lib program.
17414 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17415 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17416 enable_shared_with_static_runtimes_GCJ
=yes
17419 darwin
* | rhapsody
*)
17421 rhapsody
* | darwin1.
[012])
17422 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17425 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17426 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17428 case ${MACOSX_DEPLOYMENT_TARGET} in
17430 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17433 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17439 archive_cmds_need_lc_GCJ
=no
17440 hardcode_direct_GCJ
=no
17441 hardcode_automatic_GCJ
=yes
17442 hardcode_shlibpath_var_GCJ
=unsupported
17443 whole_archive_flag_spec_GCJ
=''
17444 link_all_deplibs_GCJ
=yes
17445 if test "$GCC" = yes ; then
17446 output_verbose_link_cmd
='echo'
17447 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17448 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17449 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17450 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17451 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17453 case $cc_basename in
17455 output_verbose_link_cmd
='echo'
17456 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17457 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17458 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17459 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17460 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17470 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17471 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17472 hardcode_shlibpath_var_GCJ
=no
17479 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17480 # support. Future versions do this automatically, but an explicit c++rt0.o
17481 # does not break anything, and helps significantly (at the cost of a little
17484 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17485 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17486 hardcode_direct_GCJ
=yes
17487 hardcode_shlibpath_var_GCJ
=no
17490 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17492 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17493 hardcode_direct_GCJ
=yes
17494 hardcode_minus_L_GCJ
=yes
17495 hardcode_shlibpath_var_GCJ
=no
17498 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17499 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17500 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17501 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17502 hardcode_direct_GCJ
=yes
17503 hardcode_shlibpath_var_GCJ
=no
17507 if test "$GCC" = yes; then
17508 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17510 archive_cmds_GCJ
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17512 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17513 hardcode_libdir_separator_GCJ
=:
17514 hardcode_direct_GCJ
=yes
17516 # hardcode_minus_L: Not really in the search PATH,
17517 # but as the default location of the library.
17518 hardcode_minus_L_GCJ
=yes
17519 export_dynamic_flag_spec_GCJ
='${wl}-E'
17523 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17524 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17526 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17528 if test "$with_gnu_ld" = no
; then
17529 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17530 hardcode_libdir_separator_GCJ
=:
17532 hardcode_direct_GCJ
=yes
17533 export_dynamic_flag_spec_GCJ
='${wl}-E'
17535 # hardcode_minus_L: Not really in the search PATH,
17536 # but as the default location of the library.
17537 hardcode_minus_L_GCJ
=yes
17542 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17545 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17548 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17551 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17557 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17560 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17563 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17567 if test "$with_gnu_ld" = no
; then
17568 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17569 hardcode_libdir_separator_GCJ
=:
17573 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17574 hardcode_direct_GCJ
=no
17575 hardcode_shlibpath_var_GCJ
=no
17578 hardcode_direct_GCJ
=yes
17579 export_dynamic_flag_spec_GCJ
='${wl}-E'
17581 # hardcode_minus_L: Not really in the search PATH,
17582 # but as the default location of the library.
17583 hardcode_minus_L_GCJ
=yes
17589 irix5
* | irix6
* | nonstopux
*)
17590 if test "$GCC" = yes; then
17591 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17593 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17594 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17596 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17597 hardcode_libdir_separator_GCJ
=:
17598 link_all_deplibs_GCJ
=yes
17602 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17603 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17605 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17607 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17608 hardcode_direct_GCJ
=yes
17609 hardcode_shlibpath_var_GCJ
=no
17613 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17614 hardcode_direct_GCJ
=yes
17615 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17616 hardcode_libdir_separator_GCJ
=:
17617 hardcode_shlibpath_var_GCJ
=no
17621 hardcode_direct_GCJ
=yes
17622 hardcode_shlibpath_var_GCJ
=no
17623 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17624 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17625 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17626 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17627 export_dynamic_flag_spec_GCJ
='${wl}-E'
17630 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17631 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17632 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17635 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17636 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17643 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17644 hardcode_minus_L_GCJ
=yes
17645 allow_undefined_flag_GCJ
=unsupported
17646 archive_cmds_GCJ
='$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'
17647 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17651 if test "$GCC" = yes; then
17652 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17653 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17655 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17656 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17658 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17659 hardcode_libdir_separator_GCJ
=:
17662 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17663 if test "$GCC" = yes; then
17664 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17665 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17666 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17668 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17669 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17670 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17671 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17673 # Both c and cxx compiler support -rpath directly
17674 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17676 hardcode_libdir_separator_GCJ
=:
17680 no_undefined_flag_GCJ
=' -z text'
17681 if test "$GCC" = yes; then
17683 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17684 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17685 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17688 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17689 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17690 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17692 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17693 hardcode_shlibpath_var_GCJ
=no
17695 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17697 # The compiler driver will combine linker options so we
17698 # cannot just pass the convience library names through
17699 # without $wl, iff we do not link with $LD.
17700 # Luckily, gcc supports the same syntax we need for Sun Studio.
17701 # Supported since Solaris 2.6 (maybe 2.5.1?)
17704 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17706 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17709 link_all_deplibs_GCJ
=yes
17713 if test "x$host_vendor" = xsequent
; then
17714 # Use $CC to link under sequent, because it throws in some extra .o
17715 # files that make .init and .fini sections work.
17716 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17718 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17720 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17721 hardcode_direct_GCJ
=yes
17722 hardcode_minus_L_GCJ
=yes
17723 hardcode_shlibpath_var_GCJ
=no
17727 case $host_vendor in
17729 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17730 hardcode_direct_GCJ
=yes # is this really true???
17733 ## LD is ld it makes a PLAMLIB
17734 ## CC just makes a GrossModule.
17735 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17736 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17737 hardcode_direct_GCJ
=no
17740 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17741 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17744 runpath_var
='LD_RUN_PATH'
17745 hardcode_shlibpath_var_GCJ
=no
17749 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17750 hardcode_shlibpath_var_GCJ
=no
17751 export_dynamic_flag_spec_GCJ
='-Bexport'
17755 if test -d /usr
/nec
; then
17756 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17757 hardcode_shlibpath_var_GCJ
=no
17758 runpath_var
=LD_RUN_PATH
17759 hardcode_runpath_var
=yes
17764 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17765 no_undefined_flag_GCJ
='${wl}-z,text'
17766 archive_cmds_need_lc_GCJ
=no
17767 hardcode_shlibpath_var_GCJ
=no
17768 runpath_var
='LD_RUN_PATH'
17770 if test "$GCC" = yes; then
17771 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17772 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17774 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17775 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17779 sysv5
* | sco3.2v5
* | sco5v6
*)
17780 # Note: We can NOT use -z defs as we might desire, because we do not
17781 # link with -lc, and that would cause any symbols used from libc to
17782 # always be unresolved, which means just about no library would
17783 # ever link correctly. If we're not using GNU ld we use -z text
17784 # though, which does catch some bad symbols but isn't as heavy-handed
17786 no_undefined_flag_GCJ
='${wl}-z,text'
17787 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17788 archive_cmds_need_lc_GCJ
=no
17789 hardcode_shlibpath_var_GCJ
=no
17790 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17791 hardcode_libdir_separator_GCJ
=':'
17792 link_all_deplibs_GCJ
=yes
17793 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17794 runpath_var
='LD_RUN_PATH'
17796 if test "$GCC" = yes; then
17797 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17798 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17800 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17801 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17806 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17807 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17808 hardcode_shlibpath_var_GCJ
=no
17817 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17818 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17819 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17822 # Do we need to explicitly link libc?
17824 case "x$archive_cmds_need_lc_GCJ" in
17826 # Assume -lc should be added
17827 archive_cmds_need_lc_GCJ
=yes
17829 if test "$enable_shared" = yes && test "$GCC" = yes; then
17830 case $archive_cmds_GCJ in
17832 # FIXME: we may have to deal with multi-command sequences.
17835 # Test whether the compiler implicitly links with -lc since on some
17836 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17837 # to ld, don't add -lc before -lgcc.
17838 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17839 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17841 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17844 (eval $ac_compile) 2>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); } 2>conftest.err
; then
17850 libobjs
=conftest.
$ac_objext
17852 wl
=$lt_prog_compiler_wl_GCJ
17853 pic_flag
=$lt_prog_compiler_pic_GCJ
17859 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17860 allow_undefined_flag_GCJ
=
17861 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17862 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }
17867 archive_cmds_need_lc_GCJ
=no
17869 archive_cmds_need_lc_GCJ
=yes
17871 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17873 cat conftest.err
1>&5
17876 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17877 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17884 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17885 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17886 library_names_spec
=
17887 libname_spec
='lib$name'
17891 postuninstall_cmds
=
17895 shlibpath_overrides_runpath
=unknown
17897 dynamic_linker
="$host_os ld.so"
17898 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17899 if test "$GCC" = yes; then
17900 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17901 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17902 # if the path contains ";" then we assume it to be the separator
17903 # otherwise default to the standard path separator (i.e. ":") - it is
17904 # assumed that no part of a normal pathname contains ";" but that should
17905 # okay in the real world where ";" in dirpaths is itself problematic.
17906 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17908 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17911 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17913 need_lib_prefix
=unknown
17914 hardcode_into_libs
=no
17916 # when you set need_version to no, make sure it does not cause -set_version
17917 # flags to be left without arguments
17918 need_version
=unknown
17923 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17924 shlibpath_var
=LIBPATH
17926 # AIX 3 has no versioning support, so we append a major version to the name.
17927 soname_spec
='${libname}${release}${shared_ext}$major'
17934 hardcode_into_libs
=yes
17935 if test "$host_cpu" = ia64
; then
17936 # AIX 5 supports IA64
17937 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17938 shlibpath_var
=LD_LIBRARY_PATH
17940 # With GCC up to 2.95.x, collect2 would create an import file
17941 # for dependence libraries. The import file would start with
17942 # the line `#! .'. This would cause the generated library to
17943 # depend on `.', always an invalid library. This was fixed in
17944 # development snapshots of GCC prior to 3.0.
17946 aix4 | aix4.
[01] | aix4.
[01].
*)
17947 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17949 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17952 can_build_shared
=no
17956 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17957 # soname into executable. Probably we can add versioning support to
17958 # collect2, so additional links can be useful in future.
17959 if test "$aix_use_runtimelinking" = yes; then
17960 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17961 # instead of lib<name>.a to let people know that these are not
17962 # typical AIX shared libraries.
17963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17965 # We preserve .a as extension for shared libraries through AIX4.2
17966 # and later when we are not doing run time linking.
17967 library_names_spec
='${libname}${release}.a $libname.a'
17968 soname_spec
='${libname}${release}${shared_ext}$major'
17970 shlibpath_var
=LIBPATH
17975 library_names_spec
='$libname.ixlibrary $libname.a'
17976 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17977 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17981 library_names_spec
='${libname}${shared_ext}'
17982 dynamic_linker
="$host_os ld.so"
17983 shlibpath_var
=LIBRARY_PATH
17989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17990 soname_spec
='${libname}${release}${shared_ext}$major'
17991 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17992 shlibpath_var
=LD_LIBRARY_PATH
17993 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17994 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17995 # the default ld.so.conf also contains /usr/contrib/lib and
17996 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17997 # libtool to hard-code these into programs
18000 cygwin
* | mingw
* | pw32
*)
18001 version_type
=windows
18006 case $GCC,$host_os in
18007 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18008 library_names_spec
='$libname.dll.a'
18009 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18010 postinstall_cmds
='base_file=`basename \${file}`~
18011 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18012 dldir=$destdir/`dirname \$dlpath`~
18013 test -d \$dldir || mkdir -p \$dldir~
18014 $install_prog $dir/$dlname \$dldir/$dlname~
18015 chmod a+x \$dldir/$dlname'
18016 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18017 dlpath=$dir/\$dldll~
18019 shlibpath_overrides_runpath
=yes
18023 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18024 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18025 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18028 # MinGW DLLs use traditional 'lib' prefix
18029 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18030 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18031 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18032 # It is most probably a Windows format PATH printed by
18033 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18034 # path with ; separators, and with drive letters. We can handle the
18035 # drive letters (cygwin fileutils understands them), so leave them,
18036 # especially as we might pass files found there to a mingw objdump,
18037 # which wouldn't understand a cygwinified path. Ahh.
18038 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18040 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18044 # pw32 DLLs use 'pw' prefix rather than 'lib'
18045 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18051 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18054 dynamic_linker
='Win32 ld.exe'
18055 # FIXME: first we should search . and the directory the executable is in
18059 darwin
* | rhapsody
*)
18060 dynamic_linker
="$host_os dyld"
18061 version_type
=darwin
18064 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18065 soname_spec
='${libname}${release}${major}$shared_ext'
18066 shlibpath_overrides_runpath
=yes
18067 shlibpath_var
=DYLD_LIBRARY_PATH
18068 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18069 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18070 if test "$GCC" = yes; then
18071 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18073 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18075 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18083 soname_spec
='${libname}${release}${shared_ext}$major'
18084 shlibpath_var
=LD_LIBRARY_PATH
18095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18096 soname_spec
='${libname}${release}${shared_ext}$major'
18097 shlibpath_var
=LD_LIBRARY_PATH
18098 shlibpath_overrides_runpath
=no
18099 hardcode_into_libs
=yes
18100 dynamic_linker
='GNU ld.so'
18103 freebsd
* | dragonfly
*)
18104 # DragonFly does not have aout. When/if they implement a new
18105 # versioning mechanism, adjust this.
18106 if test -x /usr
/bin
/objformat
; then
18107 objformat
=`/usr/bin/objformat`
18110 freebsd
[123]*) objformat
=aout
;;
18111 *) objformat
=elf
;;
18114 version_type
=freebsd-
$objformat
18115 case $version_type in
18117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18122 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18126 shlibpath_var
=LD_LIBRARY_PATH
18129 shlibpath_overrides_runpath
=yes
18131 freebsd3.
[01]* | freebsdelf3.
[01]*)
18132 shlibpath_overrides_runpath
=yes
18133 hardcode_into_libs
=yes
18135 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18136 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18137 shlibpath_overrides_runpath
=no
18138 hardcode_into_libs
=yes
18140 freebsd
*) # from 4.6 on
18141 shlibpath_overrides_runpath
=yes
18142 hardcode_into_libs
=yes
18151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18152 soname_spec
='${libname}${release}${shared_ext}$major'
18153 shlibpath_var
=LD_LIBRARY_PATH
18154 hardcode_into_libs
=yes
18157 hpux9
* | hpux10
* | hpux11
*)
18158 # Give a soname corresponding to the major version so that dld.sl refuses to
18159 # link against other versions.
18166 hardcode_into_libs
=yes
18167 dynamic_linker
="$host_os dld.so"
18168 shlibpath_var
=LD_LIBRARY_PATH
18169 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18171 soname_spec
='${libname}${release}${shared_ext}$major'
18172 if test "X$HPUX_IA64_MODE" = X32
; then
18173 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18175 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18177 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18181 hardcode_into_libs
=yes
18182 dynamic_linker
="$host_os dld.sl"
18183 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18184 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18186 soname_spec
='${libname}${release}${shared_ext}$major'
18187 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18188 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18192 dynamic_linker
="$host_os dld.sl"
18193 shlibpath_var
=SHLIB_PATH
18194 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18196 soname_spec
='${libname}${release}${shared_ext}$major'
18199 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18200 postinstall_cmds
='chmod 555 $lib'
18207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18208 soname_spec
='${libname}${release}${shared_ext}$major'
18209 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18210 shlibpath_var
=LD_LIBRARY_PATH
18211 shlibpath_overrides_runpath
=no
18212 hardcode_into_libs
=yes
18215 irix5
* | irix6
* | nonstopux
*)
18217 nonstopux
*) version_type
=nonstopux
;;
18219 if test "$lt_cv_prog_gnu_ld" = yes; then
18227 soname_spec
='${libname}${release}${shared_ext}$major'
18228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18230 irix5
* | nonstopux
*)
18231 libsuff
= shlibsuff
=
18234 case $LD in # libtool.m4 will add one of these switches to LD
18235 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18236 libsuff
= shlibsuff
= libmagic
=32-bit;;
18237 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18238 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18239 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18240 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18241 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18245 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18246 shlibpath_overrides_runpath
=no
18247 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18248 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18249 hardcode_into_libs
=yes
18252 # No shared lib support for Linux oldld, aout, or coff.
18253 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18257 # This must be Linux ELF.
18262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18263 soname_spec
='${libname}${release}${shared_ext}$major'
18264 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18265 shlibpath_var
=LD_LIBRARY_PATH
18266 shlibpath_overrides_runpath
=no
18267 # This implies no fast_install, which is unacceptable.
18268 # Some rework will be needed to allow for fast_install
18269 # before this can be enabled.
18270 hardcode_into_libs
=yes
18272 # find out which ABI we are using
18274 case "$host_cpu" in
18275 x86_64
*|s390x
*|powerpc64
*)
18276 echo '#line 18276 "configure"' > conftest.
$ac_ext
18277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18278 (eval $ac_compile) 2>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; then
18282 case `/usr/bin/file conftest.$ac_objext` in
18285 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18293 # Append ld.so.conf contents to the search path
18294 if test -f /etc
/ld.so.conf
; then
18295 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18296 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18299 # We used to test for /lib/ld.so.1 and disable shared libraries on
18300 # powerpc, because MkLinux only supported shared libraries with the
18301 # GNU dynamic linker. Since this was broken with cross compilers,
18302 # most powerpc-linux boxes support dynamic linking these days and
18303 # people can always --disable-shared, the test was removed, and we
18304 # assume the GNU/Linux dynamic linker is in use.
18305 dynamic_linker
='GNU/Linux ld.so'
18312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18313 soname_spec
='${libname}${release}${shared_ext}$major'
18314 shlibpath_var
=LD_LIBRARY_PATH
18315 shlibpath_overrides_runpath
=no
18316 hardcode_into_libs
=yes
18317 dynamic_linker
='GNU ld.so'
18324 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18326 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18327 dynamic_linker
='NetBSD (a.out) ld.so'
18329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18330 soname_spec
='${libname}${release}${shared_ext}$major'
18331 dynamic_linker
='NetBSD ld.elf_so'
18333 shlibpath_var
=LD_LIBRARY_PATH
18334 shlibpath_overrides_runpath
=yes
18335 hardcode_into_libs
=yes
18340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18341 shlibpath_var
=LD_LIBRARY_PATH
18342 shlibpath_overrides_runpath
=yes
18349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18350 soname_spec
='${libname}${release}${shared_ext}$major'
18351 shlibpath_var
=LD_LIBRARY_PATH
18352 shlibpath_overrides_runpath
=yes
18357 sys_lib_dlsearch_path_spec
="/usr/lib"
18359 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18361 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18362 *) need_version
=no
;;
18364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18365 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18366 shlibpath_var
=LD_LIBRARY_PATH
18367 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18369 openbsd2.
[89] | openbsd2.
[89].
*)
18370 shlibpath_overrides_runpath
=no
18373 shlibpath_overrides_runpath
=yes
18377 shlibpath_overrides_runpath
=yes
18382 libname_spec
='$name'
18385 library_names_spec
='$libname${shared_ext} $libname.a'
18386 dynamic_linker
='OS/2 ld.exe'
18387 shlibpath_var
=LIBPATH
18390 osf3
* | osf4
* | osf5
*)
18394 soname_spec
='${libname}${release}${shared_ext}$major'
18395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18396 shlibpath_var
=LD_LIBRARY_PATH
18397 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18398 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18406 soname_spec
='${libname}${release}${shared_ext}$major'
18407 shlibpath_var
=LD_LIBRARY_PATH
18408 shlibpath_overrides_runpath
=yes
18409 hardcode_into_libs
=yes
18410 # ldd complains unless libraries are executable
18411 postinstall_cmds
='chmod +x $lib'
18416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18417 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18418 shlibpath_var
=LD_LIBRARY_PATH
18419 shlibpath_overrides_runpath
=yes
18420 if test "$with_gnu_ld" = yes; then
18428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18429 soname_spec
='${libname}${release}${shared_ext}$major'
18430 shlibpath_var
=LD_LIBRARY_PATH
18431 case $host_vendor in
18433 shlibpath_overrides_runpath
=no
18435 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18436 runpath_var
=LD_RUN_PATH
18444 shlibpath_overrides_runpath
=no
18445 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18451 if test -d /usr
/nec
;then
18453 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18454 soname_spec
='$libname${shared_ext}.$major'
18455 shlibpath_var
=LD_LIBRARY_PATH
18459 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18460 version_type
=freebsd-elf
18463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18464 soname_spec
='${libname}${release}${shared_ext}$major'
18465 shlibpath_var
=LD_LIBRARY_PATH
18466 hardcode_into_libs
=yes
18467 if test "$with_gnu_ld" = yes; then
18468 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18469 shlibpath_overrides_runpath
=no
18471 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18472 shlibpath_overrides_runpath
=yes
18475 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18479 sys_lib_dlsearch_path_spec
='/usr/lib'
18484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18485 soname_spec
='${libname}${release}${shared_ext}$major'
18486 shlibpath_var
=LD_LIBRARY_PATH
18493 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18494 echo "${ECHO_T}$dynamic_linker" >&6
18495 test "$dynamic_linker" = no
&& can_build_shared
=no
18497 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18498 if test "$GCC" = yes; then
18499 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18502 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18503 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18504 hardcode_action_GCJ
=
18505 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18506 test -n "$runpath_var_GCJ" || \
18507 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18509 # We can hardcode non-existant directories.
18510 if test "$hardcode_direct_GCJ" != no
&&
18511 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18512 # have to relink, otherwise we might link with an installed library
18513 # when we should be linking with a yet-to-be-installed one
18514 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18515 test "$hardcode_minus_L_GCJ" != no
; then
18516 # Linking always hardcodes the temporary library directory.
18517 hardcode_action_GCJ
=relink
18519 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18520 hardcode_action_GCJ
=immediate
18523 # We cannot hardcode anything, or else we can only hardcode existing
18525 hardcode_action_GCJ
=unsupported
18527 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18528 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18530 if test "$hardcode_action_GCJ" = relink
; then
18531 # Fast installation is not supported
18532 enable_fast_install
=no
18533 elif test "$shlibpath_overrides_runpath" = yes ||
18534 test "$enable_shared" = no
; then
18535 # Fast installation is not necessary
18536 enable_fast_install
=needless
18540 # The else clause should only fire when bootstrapping the
18541 # libtool distribution, otherwise you forgot to ship ltmain.sh
18542 # with your package, and you will get complaints that there are
18543 # no rules to generate ltmain.sh.
18544 if test -f "$ltmain"; then
18545 # See if we are running on zsh, and set the options which allow our commands through
18546 # without removal of \ escapes.
18547 if test -n "${ZSH_VERSION+set}" ; then
18548 setopt NO_GLOB_SUBST
18550 # Now quote all the things that may contain metacharacters while being
18551 # careful not to overquote the AC_SUBSTed values. We take copies of the
18552 # variables and quote the copies for generation of the libtool script.
18553 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18555 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18556 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18557 deplibs_check_method reload_flag reload_cmds need_locks \
18558 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18559 lt_cv_sys_global_symbol_to_c_name_address \
18560 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18561 old_postinstall_cmds old_postuninstall_cmds \
18565 lt_prog_compiler_wl_GCJ \
18566 lt_prog_compiler_pic_GCJ \
18567 lt_prog_compiler_static_GCJ \
18568 lt_prog_compiler_no_builtin_flag_GCJ \
18569 export_dynamic_flag_spec_GCJ \
18570 thread_safe_flag_spec_GCJ \
18571 whole_archive_flag_spec_GCJ \
18572 enable_shared_with_static_runtimes_GCJ \
18573 old_archive_cmds_GCJ \
18574 old_archive_from_new_cmds_GCJ \
18575 predep_objects_GCJ \
18576 postdep_objects_GCJ \
18579 compiler_lib_search_path_GCJ \
18581 archive_expsym_cmds_GCJ \
18582 postinstall_cmds_GCJ \
18583 postuninstall_cmds_GCJ \
18584 old_archive_from_expsyms_cmds_GCJ \
18585 allow_undefined_flag_GCJ \
18586 no_undefined_flag_GCJ \
18587 export_symbols_cmds_GCJ \
18588 hardcode_libdir_flag_spec_GCJ \
18589 hardcode_libdir_flag_spec_ld_GCJ \
18590 hardcode_libdir_separator_GCJ \
18591 hardcode_automatic_GCJ \
18593 module_expsym_cmds_GCJ \
18594 lt_cv_prog_compiler_c_o_GCJ \
18595 exclude_expsyms_GCJ \
18596 include_expsyms_GCJ
; do
18599 old_archive_cmds_GCJ | \
18600 old_archive_from_new_cmds_GCJ | \
18601 archive_cmds_GCJ | \
18602 archive_expsym_cmds_GCJ | \
18603 module_cmds_GCJ | \
18604 module_expsym_cmds_GCJ | \
18605 old_archive_from_expsyms_cmds_GCJ | \
18606 export_symbols_cmds_GCJ | \
18607 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18608 postinstall_cmds | postuninstall_cmds | \
18609 old_postinstall_cmds | old_postuninstall_cmds | \
18610 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18611 # Double-quote double-evaled strings.
18612 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18615 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18621 *'\$0 --fallback-echo"')
18622 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18628 cat <<__EOF__ >> "$cfgfile"
18629 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18631 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18633 # Shell to use when invoking shell scripts.
18636 # Whether or not to build shared libraries.
18637 build_libtool_libs=$enable_shared
18639 # Whether or not to build static libraries.
18640 build_old_libs=$enable_static
18642 # Whether or not to add -lc for building shared libraries.
18643 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18645 # Whether or not to disallow shared libs when runtime libs are static
18646 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18648 # Whether or not to optimize for fast installation.
18649 fast_install=$enable_fast_install
18652 host_alias=$host_alias
18656 # The build system.
18657 build_alias=$build_alias
18661 # An echo program that does not interpret backslashes.
18666 AR_FLAGS=$lt_AR_FLAGS
18671 # LTCC compiler flags.
18672 LTCFLAGS=$lt_LTCFLAGS
18674 # A language-specific compiler.
18675 CC=$lt_compiler_GCJ
18677 # Is the compiler the GNU C compiler?
18683 # The linker used to build libraries.
18686 # Whether we need hard or soft links.
18689 # A BSD-compatible nm program.
18692 # A symbol stripping program
18695 # Used to examine libraries when file_magic_cmd begins "file"
18696 MAGIC_CMD=$MAGIC_CMD
18698 # Used on cygwin: DLL creation program.
18701 # Used on cygwin: object dumper.
18704 # Used on cygwin: assembler.
18707 # The name of the directory that contains temporary libtool files.
18710 # How to create reloadable object files.
18711 reload_flag=$lt_reload_flag
18712 reload_cmds=$lt_reload_cmds
18714 # How to pass a linker flag through the compiler.
18715 wl=$lt_lt_prog_compiler_wl_GCJ
18717 # Object file suffix (normally "o").
18718 objext="$ac_objext"
18720 # Old archive suffix (normally "a").
18723 # Shared library suffix (normally ".so").
18724 shrext_cmds='$shrext_cmds'
18726 # Executable file suffix (normally "").
18729 # Additional compiler flags for building library objects.
18730 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18733 # What is the maximum length of a command?
18734 max_cmd_len=$lt_cv_sys_max_cmd_len
18736 # Does compiler simultaneously support -c and -o options?
18737 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18739 # Must we lock files when doing compilation?
18740 need_locks=$lt_need_locks
18742 # Do we need the lib prefix for modules?
18743 need_lib_prefix=$need_lib_prefix
18745 # Do we need a version for libraries?
18746 need_version=$need_version
18748 # Whether dlopen is supported.
18749 dlopen_support=$enable_dlopen
18751 # Whether dlopen of programs is supported.
18752 dlopen_self=$enable_dlopen_self
18754 # Whether dlopen of statically linked programs is supported.
18755 dlopen_self_static=$enable_dlopen_self_static
18757 # Compiler flag to prevent dynamic linking.
18758 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18760 # Compiler flag to turn off builtin functions.
18761 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18763 # Compiler flag to allow reflexive dlopens.
18764 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18766 # Compiler flag to generate shared objects directly from archives.
18767 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18769 # Compiler flag to generate thread-safe objects.
18770 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18772 # Library versioning type.
18773 version_type=$version_type
18775 # Format of library name prefix.
18776 libname_spec=$lt_libname_spec
18778 # List of archive names. First name is the real one, the rest are links.
18779 # The last name is the one that the linker finds with -lNAME.
18780 library_names_spec=$lt_library_names_spec
18782 # The coded name of the library, if different from the real name.
18783 soname_spec=$lt_soname_spec
18785 # Commands used to build and install an old-style archive.
18787 old_archive_cmds=$lt_old_archive_cmds_GCJ
18788 old_postinstall_cmds=$lt_old_postinstall_cmds
18789 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18791 # Create an old-style archive from a shared archive.
18792 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18794 # Create a temporary old-style archive to link instead of a shared archive.
18795 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18797 # Commands used to build and install a shared archive.
18798 archive_cmds=$lt_archive_cmds_GCJ
18799 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18800 postinstall_cmds=$lt_postinstall_cmds
18801 postuninstall_cmds=$lt_postuninstall_cmds
18803 # Commands used to build a loadable module (assumed same as above if empty)
18804 module_cmds=$lt_module_cmds_GCJ
18805 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18807 # Commands to strip libraries.
18808 old_striplib=$lt_old_striplib
18809 striplib=$lt_striplib
18811 # Dependencies to place before the objects being linked to create a
18813 predep_objects=$lt_predep_objects_GCJ
18815 # Dependencies to place after the objects being linked to create a
18817 postdep_objects=$lt_postdep_objects_GCJ
18819 # Dependencies to place before the objects being linked to create a
18821 predeps=$lt_predeps_GCJ
18823 # Dependencies to place after the objects being linked to create a
18825 postdeps=$lt_postdeps_GCJ
18827 # The library search path used internally by the compiler when linking
18828 # a shared library.
18829 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18831 # Method to check whether dependent libraries are shared objects.
18832 deplibs_check_method=$lt_deplibs_check_method
18834 # Command to use when deplibs_check_method == file_magic.
18835 file_magic_cmd=$lt_file_magic_cmd
18837 # Flag that allows shared libraries with undefined symbols to be built.
18838 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18840 # Flag that forces no undefined symbols.
18841 no_undefined_flag=$lt_no_undefined_flag_GCJ
18843 # Commands used to finish a libtool library installation in a directory.
18844 finish_cmds=$lt_finish_cmds
18846 # Same as above, but a single script fragment to be evaled but not shown.
18847 finish_eval=$lt_finish_eval
18849 # Take the output of nm and produce a listing of raw symbols and C names.
18850 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18852 # Transform the output of nm in a proper C declaration
18853 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18855 # Transform the output of nm in a C name address pair
18856 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18858 # This is the shared library runtime path variable.
18859 runpath_var=$runpath_var
18861 # This is the shared library path variable.
18862 shlibpath_var=$shlibpath_var
18864 # Is shlibpath searched before the hard-coded library search path?
18865 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18867 # How to hardcode a shared library path into an executable.
18868 hardcode_action=$hardcode_action_GCJ
18870 # Whether we should hardcode library paths into libraries.
18871 hardcode_into_libs=$hardcode_into_libs
18873 # Flag to hardcode \$libdir into a binary during linking.
18874 # This must work even if \$libdir does not exist.
18875 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18877 # If ld is used when linking, flag to hardcode \$libdir into
18878 # a binary during linking. This must work even if \$libdir does
18880 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18882 # Whether we need a single -rpath flag with a separated argument.
18883 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18885 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18886 # resulting binary.
18887 hardcode_direct=$hardcode_direct_GCJ
18889 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18890 # resulting binary.
18891 hardcode_minus_L=$hardcode_minus_L_GCJ
18893 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18894 # the resulting binary.
18895 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18897 # Set to yes if building a shared library automatically hardcodes DIR into the library
18898 # and all subsequent libraries and executables linked against it.
18899 hardcode_automatic=$hardcode_automatic_GCJ
18901 # Variables whose values should be saved in libtool wrapper scripts and
18902 # restored at relink time.
18903 variables_saved_for_relink="$variables_saved_for_relink"
18905 # Whether libtool must link a program against all its dependency libraries.
18906 link_all_deplibs=$link_all_deplibs_GCJ
18908 # Compile-time system search path for libraries
18909 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18911 # Run-time system search path for libraries
18912 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18914 # Fix the shell variable \$srcfile for the compiler.
18915 fix_srcfile_path="$fix_srcfile_path_GCJ"
18917 # Set to yes if exported symbols are required.
18918 always_export_symbols=$always_export_symbols_GCJ
18920 # The commands to list exported symbols.
18921 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18923 # The commands to extract the exported symbol list from a shared archive.
18924 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18926 # Symbols that should not be listed in the preloaded symbols.
18927 exclude_expsyms=$lt_exclude_expsyms_GCJ
18929 # Symbols that must always be exported.
18930 include_expsyms=$lt_include_expsyms_GCJ
18932 # ### END LIBTOOL TAG CONFIG: $tagname
18938 # If there is no Makefile yet, we rely on a make rule to execute
18939 # `config.status --recheck' to rerun these tests and create the
18940 # libtool script then.
18941 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18942 if test -f "$ltmain_in"; then
18943 test -f Makefile
&& make "$ltmain"
18949 ac_cpp
='$CPP $CPPFLAGS'
18950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18965 # Source file extension for RC test sources.
18968 # Object file extension for compiled RC test sources.
18972 # Code to be used in simple compile tests
18973 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18975 # Code to be used in simple link tests
18976 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18978 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18980 # If no C compiler was specified, use CC.
18983 # If no C compiler flags were specified, use CFLAGS.
18984 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18986 # Allow CC to be a program name with arguments.
18990 # save warnings/boilerplate of simple test code
18991 ac_outfile
=conftest.
$ac_objext
18992 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18993 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18994 _lt_compiler_boilerplate
=`cat conftest.err`
18997 ac_outfile
=conftest.
$ac_objext
18998 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18999 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19000 _lt_linker_boilerplate
=`cat conftest.err`
19004 # Allow CC to be a program name with arguments.
19009 for cc_temp
in $compiler""; do
19011 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19012 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19017 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19019 lt_cv_prog_compiler_c_o_RC
=yes
19021 # The else clause should only fire when bootstrapping the
19022 # libtool distribution, otherwise you forgot to ship ltmain.sh
19023 # with your package, and you will get complaints that there are
19024 # no rules to generate ltmain.sh.
19025 if test -f "$ltmain"; then
19026 # See if we are running on zsh, and set the options which allow our commands through
19027 # without removal of \ escapes.
19028 if test -n "${ZSH_VERSION+set}" ; then
19029 setopt NO_GLOB_SUBST
19031 # Now quote all the things that may contain metacharacters while being
19032 # careful not to overquote the AC_SUBSTed values. We take copies of the
19033 # variables and quote the copies for generation of the libtool script.
19034 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19036 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19037 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19038 deplibs_check_method reload_flag reload_cmds need_locks \
19039 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19040 lt_cv_sys_global_symbol_to_c_name_address \
19041 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19042 old_postinstall_cmds old_postuninstall_cmds \
19046 lt_prog_compiler_wl_RC \
19047 lt_prog_compiler_pic_RC \
19048 lt_prog_compiler_static_RC \
19049 lt_prog_compiler_no_builtin_flag_RC \
19050 export_dynamic_flag_spec_RC \
19051 thread_safe_flag_spec_RC \
19052 whole_archive_flag_spec_RC \
19053 enable_shared_with_static_runtimes_RC \
19054 old_archive_cmds_RC \
19055 old_archive_from_new_cmds_RC \
19056 predep_objects_RC \
19057 postdep_objects_RC \
19060 compiler_lib_search_path_RC \
19062 archive_expsym_cmds_RC \
19063 postinstall_cmds_RC \
19064 postuninstall_cmds_RC \
19065 old_archive_from_expsyms_cmds_RC \
19066 allow_undefined_flag_RC \
19067 no_undefined_flag_RC \
19068 export_symbols_cmds_RC \
19069 hardcode_libdir_flag_spec_RC \
19070 hardcode_libdir_flag_spec_ld_RC \
19071 hardcode_libdir_separator_RC \
19072 hardcode_automatic_RC \
19074 module_expsym_cmds_RC \
19075 lt_cv_prog_compiler_c_o_RC \
19076 exclude_expsyms_RC \
19077 include_expsyms_RC
; do
19080 old_archive_cmds_RC | \
19081 old_archive_from_new_cmds_RC | \
19082 archive_cmds_RC | \
19083 archive_expsym_cmds_RC | \
19085 module_expsym_cmds_RC | \
19086 old_archive_from_expsyms_cmds_RC | \
19087 export_symbols_cmds_RC | \
19088 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19089 postinstall_cmds | postuninstall_cmds | \
19090 old_postinstall_cmds | old_postuninstall_cmds | \
19091 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19092 # Double-quote double-evaled strings.
19093 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19096 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19102 *'\$0 --fallback-echo"')
19103 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19109 cat <<__EOF__ >> "$cfgfile"
19110 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19112 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19114 # Shell to use when invoking shell scripts.
19117 # Whether or not to build shared libraries.
19118 build_libtool_libs=$enable_shared
19120 # Whether or not to build static libraries.
19121 build_old_libs=$enable_static
19123 # Whether or not to add -lc for building shared libraries.
19124 build_libtool_need_lc=$archive_cmds_need_lc_RC
19126 # Whether or not to disallow shared libs when runtime libs are static
19127 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19129 # Whether or not to optimize for fast installation.
19130 fast_install=$enable_fast_install
19133 host_alias=$host_alias
19137 # The build system.
19138 build_alias=$build_alias
19142 # An echo program that does not interpret backslashes.
19147 AR_FLAGS=$lt_AR_FLAGS
19152 # LTCC compiler flags.
19153 LTCFLAGS=$lt_LTCFLAGS
19155 # A language-specific compiler.
19158 # Is the compiler the GNU C compiler?
19164 # The linker used to build libraries.
19167 # Whether we need hard or soft links.
19170 # A BSD-compatible nm program.
19173 # A symbol stripping program
19176 # Used to examine libraries when file_magic_cmd begins "file"
19177 MAGIC_CMD=$MAGIC_CMD
19179 # Used on cygwin: DLL creation program.
19182 # Used on cygwin: object dumper.
19185 # Used on cygwin: assembler.
19188 # The name of the directory that contains temporary libtool files.
19191 # How to create reloadable object files.
19192 reload_flag=$lt_reload_flag
19193 reload_cmds=$lt_reload_cmds
19195 # How to pass a linker flag through the compiler.
19196 wl=$lt_lt_prog_compiler_wl_RC
19198 # Object file suffix (normally "o").
19199 objext="$ac_objext"
19201 # Old archive suffix (normally "a").
19204 # Shared library suffix (normally ".so").
19205 shrext_cmds='$shrext_cmds'
19207 # Executable file suffix (normally "").
19210 # Additional compiler flags for building library objects.
19211 pic_flag=$lt_lt_prog_compiler_pic_RC
19214 # What is the maximum length of a command?
19215 max_cmd_len=$lt_cv_sys_max_cmd_len
19217 # Does compiler simultaneously support -c and -o options?
19218 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19220 # Must we lock files when doing compilation?
19221 need_locks=$lt_need_locks
19223 # Do we need the lib prefix for modules?
19224 need_lib_prefix=$need_lib_prefix
19226 # Do we need a version for libraries?
19227 need_version=$need_version
19229 # Whether dlopen is supported.
19230 dlopen_support=$enable_dlopen
19232 # Whether dlopen of programs is supported.
19233 dlopen_self=$enable_dlopen_self
19235 # Whether dlopen of statically linked programs is supported.
19236 dlopen_self_static=$enable_dlopen_self_static
19238 # Compiler flag to prevent dynamic linking.
19239 link_static_flag=$lt_lt_prog_compiler_static_RC
19241 # Compiler flag to turn off builtin functions.
19242 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19244 # Compiler flag to allow reflexive dlopens.
19245 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19247 # Compiler flag to generate shared objects directly from archives.
19248 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19250 # Compiler flag to generate thread-safe objects.
19251 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19253 # Library versioning type.
19254 version_type=$version_type
19256 # Format of library name prefix.
19257 libname_spec=$lt_libname_spec
19259 # List of archive names. First name is the real one, the rest are links.
19260 # The last name is the one that the linker finds with -lNAME.
19261 library_names_spec=$lt_library_names_spec
19263 # The coded name of the library, if different from the real name.
19264 soname_spec=$lt_soname_spec
19266 # Commands used to build and install an old-style archive.
19268 old_archive_cmds=$lt_old_archive_cmds_RC
19269 old_postinstall_cmds=$lt_old_postinstall_cmds
19270 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19272 # Create an old-style archive from a shared archive.
19273 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19275 # Create a temporary old-style archive to link instead of a shared archive.
19276 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19278 # Commands used to build and install a shared archive.
19279 archive_cmds=$lt_archive_cmds_RC
19280 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19281 postinstall_cmds=$lt_postinstall_cmds
19282 postuninstall_cmds=$lt_postuninstall_cmds
19284 # Commands used to build a loadable module (assumed same as above if empty)
19285 module_cmds=$lt_module_cmds_RC
19286 module_expsym_cmds=$lt_module_expsym_cmds_RC
19288 # Commands to strip libraries.
19289 old_striplib=$lt_old_striplib
19290 striplib=$lt_striplib
19292 # Dependencies to place before the objects being linked to create a
19294 predep_objects=$lt_predep_objects_RC
19296 # Dependencies to place after the objects being linked to create a
19298 postdep_objects=$lt_postdep_objects_RC
19300 # Dependencies to place before the objects being linked to create a
19302 predeps=$lt_predeps_RC
19304 # Dependencies to place after the objects being linked to create a
19306 postdeps=$lt_postdeps_RC
19308 # The library search path used internally by the compiler when linking
19309 # a shared library.
19310 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19312 # Method to check whether dependent libraries are shared objects.
19313 deplibs_check_method=$lt_deplibs_check_method
19315 # Command to use when deplibs_check_method == file_magic.
19316 file_magic_cmd=$lt_file_magic_cmd
19318 # Flag that allows shared libraries with undefined symbols to be built.
19319 allow_undefined_flag=$lt_allow_undefined_flag_RC
19321 # Flag that forces no undefined symbols.
19322 no_undefined_flag=$lt_no_undefined_flag_RC
19324 # Commands used to finish a libtool library installation in a directory.
19325 finish_cmds=$lt_finish_cmds
19327 # Same as above, but a single script fragment to be evaled but not shown.
19328 finish_eval=$lt_finish_eval
19330 # Take the output of nm and produce a listing of raw symbols and C names.
19331 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19333 # Transform the output of nm in a proper C declaration
19334 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19336 # Transform the output of nm in a C name address pair
19337 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19339 # This is the shared library runtime path variable.
19340 runpath_var=$runpath_var
19342 # This is the shared library path variable.
19343 shlibpath_var=$shlibpath_var
19345 # Is shlibpath searched before the hard-coded library search path?
19346 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19348 # How to hardcode a shared library path into an executable.
19349 hardcode_action=$hardcode_action_RC
19351 # Whether we should hardcode library paths into libraries.
19352 hardcode_into_libs=$hardcode_into_libs
19354 # Flag to hardcode \$libdir into a binary during linking.
19355 # This must work even if \$libdir does not exist.
19356 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19358 # If ld is used when linking, flag to hardcode \$libdir into
19359 # a binary during linking. This must work even if \$libdir does
19361 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19363 # Whether we need a single -rpath flag with a separated argument.
19364 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19366 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19367 # resulting binary.
19368 hardcode_direct=$hardcode_direct_RC
19370 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19371 # resulting binary.
19372 hardcode_minus_L=$hardcode_minus_L_RC
19374 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19375 # the resulting binary.
19376 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19378 # Set to yes if building a shared library automatically hardcodes DIR into the library
19379 # and all subsequent libraries and executables linked against it.
19380 hardcode_automatic=$hardcode_automatic_RC
19382 # Variables whose values should be saved in libtool wrapper scripts and
19383 # restored at relink time.
19384 variables_saved_for_relink="$variables_saved_for_relink"
19386 # Whether libtool must link a program against all its dependency libraries.
19387 link_all_deplibs=$link_all_deplibs_RC
19389 # Compile-time system search path for libraries
19390 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19392 # Run-time system search path for libraries
19393 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19395 # Fix the shell variable \$srcfile for the compiler.
19396 fix_srcfile_path="$fix_srcfile_path_RC"
19398 # Set to yes if exported symbols are required.
19399 always_export_symbols=$always_export_symbols_RC
19401 # The commands to list exported symbols.
19402 export_symbols_cmds=$lt_export_symbols_cmds_RC
19404 # The commands to extract the exported symbol list from a shared archive.
19405 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19407 # Symbols that should not be listed in the preloaded symbols.
19408 exclude_expsyms=$lt_exclude_expsyms_RC
19410 # Symbols that must always be exported.
19411 include_expsyms=$lt_include_expsyms_RC
19413 # ### END LIBTOOL TAG CONFIG: $tagname
19419 # If there is no Makefile yet, we rely on a make rule to execute
19420 # `config.status --recheck' to rerun these tests and create the
19421 # libtool script then.
19422 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19423 if test -f "$ltmain_in"; then
19424 test -f Makefile
&& make "$ltmain"
19430 ac_cpp
='$CPP $CPPFLAGS'
19431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19440 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19441 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19442 { (exit 1); exit 1; }; }
19446 # Append the new tag name to the list of available tags.
19447 if test -n "$tagname" ; then
19448 available_tags
="$available_tags $tagname"
19454 # Now substitute the updated list of available tags.
19455 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19456 mv "${ofile}T" "$ofile"
19460 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19461 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19462 { (exit 1); exit 1; }; }
19468 # This can be used to rebuild libtool when needed
19469 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19471 # Always use our own libtool.
19472 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19474 # Prevent multiple expansion
19497 # /***********************************************************************
19498 # // Checks for assembler
19499 # ************************************************************************/
19501 # Check whether --enable-asm or --disable-asm was given.
19502 if test "${enable_asm+set}" = set; then
19503 enableval
="$enable_asm"
19513 amd64 | x86_64
) asm_arch
="amd64"; asm_dir
="asm/amd64/src_gas/elf64" ;;
19514 i?
86) asm_arch
="i386"; asm_dir
="asm/i386/src_gas" ;;
19515 *) enable_asm
=no
;;
19519 echo "$as_me:$LINENO: checking whether to build assembly versions" >&5
19520 echo $ECHO_N "checking whether to build assembly versions... $ECHO_C" >&6
19521 if test "X$enable_asm" != Xno
; then
19522 mfx_compile_S
='${CC-cc} -c conftest.S 1>&5'
19523 cat > conftest.S
<<EOF
19524 #include "$ac_abs_top_srcdir/$asm_dir/lzo1x_f1.S"
19527 if { (eval echo "$as_me:$LINENO: \"$mfx_compile_S\"") >&5
19528 (eval $mfx_compile_S) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; then
19532 if { ac_try
='test -s conftest.$ac_objext'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19539 eval asm_msg_
$asm_arch="'yes [$asm_dir]'"
19540 LZO_ASM_VPATH
=":$ac_abs_top_srcdir/$asm_dir"
19543 if test "X$enable_asm" = Xno
; then
19544 echo "configure: failed program was:" >&5
19549 echo "$as_me:$LINENO: result: $enable_asm" >&5
19550 echo "${ECHO_T}$enable_asm" >&6
19554 if test "X$enable_asm" != Xno
; then
19556 LZO_USE_ASM_FALSE
='#'
19558 LZO_USE_ASM_TRUE
='#'
19565 # /***********************************************************************
19566 # // Checks for header files
19567 # ************************************************************************/
19570 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
19571 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
19572 if test "${ac_cv_header_time+set}" = set; then
19573 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 cat >conftest.
$ac_ext <<_ACEOF
19578 cat confdefs.h
>>conftest.
$ac_ext
19579 cat >>conftest.
$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 #include <sys/types.h>
19582 #include <sys/time.h>
19588 if ((struct tm *) 0)
19594 rm -f conftest.
$ac_objext
19595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19596 (eval $ac_compile) 2>conftest.er1
19598 grep -v '^ *+' conftest.er1
>conftest.err
19600 cat conftest.err
>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } &&
19603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19605 (eval $ac_try) 2>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); }; } &&
19609 { ac_try
='test -s conftest.$ac_objext'
19610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611 (eval $ac_try) 2>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); }; }; then
19615 ac_cv_header_time
=yes
19617 echo "$as_me: failed program was:" >&5
19618 sed 's/^/| /' conftest.
$ac_ext >&5
19620 ac_cv_header_time
=no
19622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19624 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
19625 echo "${ECHO_T}$ac_cv_header_time" >&6
19626 if test $ac_cv_header_time = yes; then
19628 cat >>confdefs.h
<<\_ACEOF
19629 #define TIME_WITH_SYS_TIME 1
19661 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
19663 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19665 echo "$as_me:$LINENO: checking for $ac_header" >&5
19666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19673 # Is the header compilable?
19674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19676 cat >conftest.
$ac_ext <<_ACEOF
19679 cat confdefs.h
>>conftest.
$ac_ext
19680 cat >>conftest.
$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 #include <$ac_header>
19685 rm -f conftest.
$ac_objext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19687 (eval $ac_compile) 2>conftest.er1
19689 grep -v '^ *+' conftest.er1
>conftest.err
19691 cat conftest.err
>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } &&
19694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; } &&
19700 { ac_try
='test -s conftest.$ac_objext'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; }; then
19706 ac_header_compiler
=yes
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.
$ac_ext >&5
19711 ac_header_compiler
=no
19713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19715 echo "${ECHO_T}$ac_header_compiler" >&6
19717 # Is the header present?
19718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19720 cat >conftest.
$ac_ext <<_ACEOF
19723 cat confdefs.h
>>conftest.
$ac_ext
19724 cat >>conftest.
$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19726 #include <$ac_header>
19728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19729 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19731 grep -v '^ *+' conftest.er1
>conftest.err
19733 cat conftest.err
>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); } >/dev
/null
; then
19736 if test -s conftest.err
; then
19737 ac_cpp_err
=$ac_c_preproc_warn_flag
19738 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19745 if test -z "$ac_cpp_err"; then
19746 ac_header_preproc
=yes
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.
$ac_ext >&5
19751 ac_header_preproc
=no
19753 rm -f conftest.err conftest.
$ac_ext
19754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19755 echo "${ECHO_T}$ac_header_preproc" >&6
19757 # So? What about this header?
19758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19764 ac_header_preproc
=yes
19767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19781 ## ----------------------------------- ##
19782 ## Report this to markus@oberhumer.com ##
19783 ## ----------------------------------- ##
19786 sed "s/^/$as_me: WARNING: /" >&2
19789 echo "$as_me:$LINENO: checking for $ac_header" >&5
19790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19792 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 eval "$as_ac_Header=\$ac_header_preproc"
19796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19801 cat >>confdefs.h
<<_ACEOF
19802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19810 if test "X$ac_cv_header_limits_h" != Xyes
; then
19811 { { echo "$as_me:$LINENO: error: <limits.h> header not found" >&5
19812 echo "$as_me: error: <limits.h> header not found" >&2;}
19813 { (exit 1); exit 1; }; }
19816 echo "$as_me:$LINENO: checking whether limits.h is sane" >&5
19817 echo $ECHO_N "checking whether limits.h is sane... $ECHO_C" >&6
19818 if test "${mfx_cv_header_sane_limits_h+set}" = set; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 cat >conftest.
$ac_ext <<_ACEOF
19824 cat confdefs.h
>>conftest.
$ac_ext
19825 cat >>conftest.
$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19827 #include <limits.h>
19828 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
19829 # if defined(__APPLE__) && defined(__GNUC__)
19830 # error "your preprocessor is broken - use compiler option -no-cpp-precomp"
19832 # include "your preprocessor is broken"
19835 #define MFX_0xffff 0xffff
19836 #define MFX_0xffffffffL 4294967295ul
19837 #if !defined(CHAR_BIT) || (CHAR_BIT != 8)
19838 # include "error CHAR_BIT"
19840 #if !defined(UCHAR_MAX)
19841 # include "error UCHAR_MAX 1"
19843 #if !defined(USHRT_MAX)
19844 # include "error USHRT_MAX 1"
19846 #if !defined(UINT_MAX)
19847 # include "error UINT_MAX 1"
19849 #if !defined(ULONG_MAX)
19850 # include "error ULONG_MAX 1"
19852 #if !defined(SHRT_MAX)
19853 # include "error SHRT_MAX 1"
19855 #if !defined(INT_MAX)
19856 # include "error INT_MAX 1"
19858 #if !defined(LONG_MAX)
19859 # include "error LONG_MAX 1"
19861 #if (UCHAR_MAX < 1)
19862 # include "error UCHAR_MAX 2"
19864 #if (USHRT_MAX < 1)
19865 # include "error USHRT_MAX 2"
19868 # include "error UINT_MAX 2"
19870 #if (ULONG_MAX < 1)
19871 # include "error ULONG_MAX 2"
19873 #if (UCHAR_MAX < 0xff)
19874 # include "error UCHAR_MAX 3"
19876 #if (USHRT_MAX < MFX_0xffff)
19877 # include "error USHRT_MAX 3"
19879 #if (UINT_MAX < MFX_0xffff)
19880 # include "error UINT_MAX 3"
19882 #if (ULONG_MAX < MFX_0xffffffffL)
19883 # include "error ULONG_MAX 3"
19885 #if (USHRT_MAX > UINT_MAX)
19886 # include "error USHRT_MAX vs UINT_MAX"
19888 #if (UINT_MAX > ULONG_MAX)
19889 # include "error UINT_MAX vs ULONG_MAX"
19896 #if (USHRT_MAX == MFX_0xffff)
19897 { typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; }
19898 #elif (USHRT_MAX >= MFX_0xffff)
19899 { typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; }
19901 #if (UINT_MAX == MFX_0xffff)
19902 { typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; }
19903 #elif (UINT_MAX >= MFX_0xffff)
19904 { typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; }
19906 #if (ULONG_MAX == MFX_0xffff)
19907 { typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; }
19908 #elif (ULONG_MAX >= MFX_0xffff)
19909 { typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; }
19911 #if !defined(_CRAY1) /* CRAY PVP systems */
19912 #if (USHRT_MAX == MFX_0xffffffffL)
19913 { typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; }
19914 #elif (USHRT_MAX >= MFX_0xffffffffL)
19915 { typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; }
19917 #endif /* _CRAY1 */
19918 #if (UINT_MAX == MFX_0xffffffffL)
19919 { typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; }
19920 #elif (UINT_MAX >= MFX_0xffffffffL)
19921 { typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; }
19923 #if (ULONG_MAX == MFX_0xffffffffL)
19924 { typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; }
19925 #elif (ULONG_MAX >= MFX_0xffffffffL)
19926 { typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; }
19933 rm -f conftest.
$ac_objext
19934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19935 (eval $ac_compile) 2>conftest.er1
19937 grep -v '^ *+' conftest.er1
>conftest.err
19939 cat conftest.err
>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } &&
19942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19944 (eval $ac_try) 2>&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); }; } &&
19948 { ac_try
='test -s conftest.$ac_objext'
19949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19950 (eval $ac_try) 2>&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); }; }; then
19954 mfx_cv_header_sane_limits_h
=yes
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.
$ac_ext >&5
19959 mfx_cv_header_sane_limits_h
=no
19961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19963 echo "$as_me:$LINENO: result: $mfx_cv_header_sane_limits_h" >&5
19964 echo "${ECHO_T}$mfx_cv_header_sane_limits_h" >&6
19966 if test "X$mfx_cv_header_sane_limits_h" != Xyes
; then
19967 { { echo "$as_me:$LINENO: error: your <limits.h> header is broken - for details see config.log" >&5
19968 echo "$as_me: error: your <limits.h> header is broken - for details see config.log" >&2;}
19969 { (exit 1); exit 1; }; }
19973 # /***********************************************************************
19974 # // Checks for typedefs and structures
19975 # ************************************************************************/
19977 echo "$as_me:$LINENO: checking for off_t" >&5
19978 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
19979 if test "${ac_cv_type_off_t+set}" = set; then
19980 echo $ECHO_N "(cached) $ECHO_C" >&6
19982 cat >conftest.
$ac_ext <<_ACEOF
19985 cat confdefs.h
>>conftest.
$ac_ext
19986 cat >>conftest.
$ac_ext <<_ACEOF
19987 /* end confdefs.h. */
19988 $ac_includes_default
19994 if (sizeof (off_t))
20000 rm -f conftest.
$ac_objext
20001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20002 (eval $ac_compile) 2>conftest.er1
20004 grep -v '^ *+' conftest.er1
>conftest.err
20006 cat conftest.err
>&5
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); } &&
20009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20011 (eval $ac_try) 2>&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; } &&
20015 { ac_try
='test -s conftest.$ac_objext'
20016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20017 (eval $ac_try) 2>&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); }; }; then
20021 ac_cv_type_off_t
=yes
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.
$ac_ext >&5
20026 ac_cv_type_off_t
=no
20028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20030 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
20031 echo "${ECHO_T}$ac_cv_type_off_t" >&6
20032 if test $ac_cv_type_off_t = yes; then
20036 cat >>confdefs.h
<<_ACEOF
20042 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
20043 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
20044 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
20045 echo $ECHO_N "(cached) $ECHO_C" >&6
20047 cat >conftest.
$ac_ext <<_ACEOF
20050 cat confdefs.h
>>conftest.
$ac_ext
20051 cat >>conftest.
$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20053 $ac_includes_default
20057 if ((ptrdiff_t *) 0)
20059 if (sizeof (ptrdiff_t))
20065 rm -f conftest.
$ac_objext
20066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20067 (eval $ac_compile) 2>conftest.er1
20069 grep -v '^ *+' conftest.er1
>conftest.err
20071 cat conftest.err
>&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); } &&
20074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20076 (eval $ac_try) 2>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); }; } &&
20080 { ac_try
='test -s conftest.$ac_objext'
20081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20082 (eval $ac_try) 2>&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); }; }; then
20086 ac_cv_type_ptrdiff_t
=yes
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.
$ac_ext >&5
20091 ac_cv_type_ptrdiff_t
=no
20093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20095 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
20096 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
20097 if test $ac_cv_type_ptrdiff_t = yes; then
20101 cat >>confdefs.h
<<_ACEOF
20102 #define ptrdiff_t long
20107 echo "$as_me:$LINENO: checking for size_t" >&5
20108 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20109 if test "${ac_cv_type_size_t+set}" = set; then
20110 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 cat >conftest.
$ac_ext <<_ACEOF
20115 cat confdefs.h
>>conftest.
$ac_ext
20116 cat >>conftest.
$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20118 $ac_includes_default
20124 if (sizeof (size_t))
20130 rm -f conftest.
$ac_objext
20131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20132 (eval $ac_compile) 2>conftest.er1
20134 grep -v '^ *+' conftest.er1
>conftest.err
20136 cat conftest.err
>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); } &&
20139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20141 (eval $ac_try) 2>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); }; } &&
20145 { ac_try
='test -s conftest.$ac_objext'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; }; then
20151 ac_cv_type_size_t
=yes
20153 echo "$as_me: failed program was:" >&5
20154 sed 's/^/| /' conftest.
$ac_ext >&5
20156 ac_cv_type_size_t
=no
20158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20160 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20161 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20162 if test $ac_cv_type_size_t = yes; then
20166 cat >>confdefs.h
<<_ACEOF
20167 #define size_t unsigned
20172 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
20173 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
20174 if test "${ac_cv_type_signal+set}" = set; then
20175 echo $ECHO_N "(cached) $ECHO_C" >&6
20177 cat >conftest.
$ac_ext <<_ACEOF
20180 cat confdefs.h
>>conftest.
$ac_ext
20181 cat >>conftest.
$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20183 #include <sys/types.h>
20184 #include <signal.h>
20189 extern "C" void (*signal (int, void (*)(int)))(int);
20191 void (*signal ()) ();
20202 rm -f conftest.
$ac_objext
20203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20204 (eval $ac_compile) 2>conftest.er1
20206 grep -v '^ *+' conftest.er1
>conftest.err
20208 cat conftest.err
>&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); } &&
20211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20213 (eval $ac_try) 2>&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); }; } &&
20217 { ac_try
='test -s conftest.$ac_objext'
20218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20219 (eval $ac_try) 2>&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); }; }; then
20223 ac_cv_type_signal
=void
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.
$ac_ext >&5
20228 ac_cv_type_signal
=int
20230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20232 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
20233 echo "${ECHO_T}$ac_cv_type_signal" >&6
20235 cat >>confdefs.h
<<_ACEOF
20236 #define RETSIGTYPE $ac_cv_type_signal
20242 echo "$as_me:$LINENO: checking for short" >&5
20243 echo $ECHO_N "checking for short... $ECHO_C" >&6
20244 if test "${ac_cv_type_short+set}" = set; then
20245 echo $ECHO_N "(cached) $ECHO_C" >&6
20247 cat >conftest.
$ac_ext <<_ACEOF
20250 cat confdefs.h
>>conftest.
$ac_ext
20251 cat >>conftest.
$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 $ac_includes_default
20259 if (sizeof (short))
20265 rm -f conftest.
$ac_objext
20266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20267 (eval $ac_compile) 2>conftest.er1
20269 grep -v '^ *+' conftest.er1
>conftest.err
20271 cat conftest.err
>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
20274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20276 (eval $ac_try) 2>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }; } &&
20280 { ac_try
='test -s conftest.$ac_objext'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 ac_cv_type_short
=yes
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.
$ac_ext >&5
20291 ac_cv_type_short
=no
20293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20295 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20296 echo "${ECHO_T}$ac_cv_type_short" >&6
20298 echo "$as_me:$LINENO: checking size of short" >&5
20299 echo $ECHO_N "checking size of short... $ECHO_C" >&6
20300 if test "${ac_cv_sizeof_short+set}" = set; then
20301 echo $ECHO_N "(cached) $ECHO_C" >&6
20303 if test "$ac_cv_type_short" = yes; then
20304 # The cast to unsigned long works around a bug in the HP C Compiler
20305 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20306 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20307 # This bug is HP SR number 8606223364.
20308 if test "$cross_compiling" = yes; then
20309 # Depending upon the size, compute the lo and hi bounds.
20310 cat >conftest.
$ac_ext <<_ACEOF
20313 cat confdefs.h
>>conftest.
$ac_ext
20314 cat >>conftest.
$ac_ext <<_ACEOF
20315 /* end confdefs.h. */
20316 $ac_includes_default
20320 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
20327 rm -f conftest.
$ac_objext
20328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20329 (eval $ac_compile) 2>conftest.er1
20331 grep -v '^ *+' conftest.er1
>conftest.err
20333 cat conftest.err
>&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); } &&
20336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; } &&
20342 { ac_try
='test -s conftest.$ac_objext'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; }; then
20350 cat >conftest.
$ac_ext <<_ACEOF
20353 cat confdefs.h
>>conftest.
$ac_ext
20354 cat >>conftest.
$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20356 $ac_includes_default
20360 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20367 rm -f conftest.
$ac_objext
20368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20369 (eval $ac_compile) 2>conftest.er1
20371 grep -v '^ *+' conftest.er1
>conftest.err
20373 cat conftest.err
>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); } &&
20376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378 (eval $ac_try) 2>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); }; } &&
20382 { ac_try
='test -s conftest.$ac_objext'
20383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20384 (eval $ac_try) 2>&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); }; }; then
20388 ac_hi
=$ac_mid; break
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.
$ac_ext >&5
20393 ac_lo
=`expr $ac_mid + 1`
20394 if test $ac_lo -le $ac_mid; then
20398 ac_mid
=`expr 2 '*' $ac_mid + 1`
20400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.
$ac_ext >&5
20406 cat >conftest.
$ac_ext <<_ACEOF
20409 cat confdefs.h
>>conftest.
$ac_ext
20410 cat >>conftest.
$ac_ext <<_ACEOF
20411 /* end confdefs.h. */
20412 $ac_includes_default
20416 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
20423 rm -f conftest.
$ac_objext
20424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20425 (eval $ac_compile) 2>conftest.er1
20427 grep -v '^ *+' conftest.er1
>conftest.err
20429 cat conftest.err
>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); } &&
20432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; } &&
20438 { ac_try
='test -s conftest.$ac_objext'
20439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440 (eval $ac_try) 2>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20446 cat >conftest.
$ac_ext <<_ACEOF
20449 cat confdefs.h
>>conftest.
$ac_ext
20450 cat >>conftest.
$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20452 $ac_includes_default
20456 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
20463 rm -f conftest.
$ac_objext
20464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20465 (eval $ac_compile) 2>conftest.er1
20467 grep -v '^ *+' conftest.er1
>conftest.err
20469 cat conftest.err
>&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); } &&
20472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; } &&
20478 { ac_try
='test -s conftest.$ac_objext'
20479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20480 (eval $ac_try) 2>&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); }; }; then
20484 ac_lo
=$ac_mid; break
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.
$ac_ext >&5
20489 ac_hi
=`expr '(' $ac_mid ')' - 1`
20490 if test $ac_mid -le $ac_hi; then
20494 ac_mid
=`expr 2 '*' $ac_mid`
20496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.
$ac_ext >&5
20504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20507 # Binary search between lo and hi bounds.
20508 while test "x$ac_lo" != "x$ac_hi"; do
20509 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20510 cat >conftest.
$ac_ext <<_ACEOF
20513 cat confdefs.h
>>conftest.
$ac_ext
20514 cat >>conftest.
$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 $ac_includes_default
20520 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20527 rm -f conftest.
$ac_objext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20529 (eval $ac_compile) 2>conftest.er1
20531 grep -v '^ *+' conftest.er1
>conftest.err
20533 cat conftest.err
>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } &&
20536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; } &&
20542 { ac_try
='test -s conftest.$ac_objext'
20543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544 (eval $ac_try) 2>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; }; then
20550 echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.
$ac_ext >&5
20553 ac_lo
=`expr '(' $ac_mid ')' + 1`
20555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20558 ?
*) ac_cv_sizeof_short
=$ac_lo;;
20559 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
20560 See \`config.log' for more details." >&5
20561 echo "$as_me: error: cannot compute sizeof (short), 77
20562 See \`config.log' for more details." >&2;}
20563 { (exit 1); exit 1; }; } ;;
20566 if test "$cross_compiling" = yes; then
20567 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20568 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20569 { (exit 1); exit 1; }; }
20571 cat >conftest.
$ac_ext <<_ACEOF
20574 cat confdefs.h
>>conftest.
$ac_ext
20575 cat >>conftest.
$ac_ext <<_ACEOF
20576 /* end confdefs.h. */
20577 $ac_includes_default
20578 long longval () { return (long) (sizeof (short)); }
20579 unsigned long ulongval () { return (long) (sizeof (short)); }
20581 #include <stdlib.h>
20586 FILE *f = fopen ("conftest.val", "w");
20589 if (((long) (sizeof (short))) < 0)
20591 long i = longval ();
20592 if (i != ((long) (sizeof (short))))
20594 fprintf (f, "%ld\n", i);
20598 unsigned long i = ulongval ();
20599 if (i != ((long) (sizeof (short))))
20601 fprintf (f, "%lu\n", i);
20603 exit (ferror (f) || fclose (f) != 0);
20609 rm -f conftest
$ac_exeext
20610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20611 (eval $ac_link) 2>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20616 (eval $ac_try) 2>&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); }; }; then
20620 ac_cv_sizeof_short
=`cat conftest.val`
20622 echo "$as_me: program exited with status $ac_status" >&5
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.
$ac_ext >&5
20626 ( exit $ac_status )
20627 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
20628 See \`config.log' for more details." >&5
20629 echo "$as_me: error: cannot compute sizeof (short), 77
20630 See \`config.log' for more details." >&2;}
20631 { (exit 1); exit 1; }; }
20633 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20638 ac_cv_sizeof_short
=0
20641 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20642 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
20643 cat >>confdefs.h
<<_ACEOF
20644 #define SIZEOF_SHORT $ac_cv_sizeof_short
20648 echo "$as_me:$LINENO: checking for int" >&5
20649 echo $ECHO_N "checking for int... $ECHO_C" >&6
20650 if test "${ac_cv_type_int+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 cat >conftest.
$ac_ext <<_ACEOF
20656 cat confdefs.h
>>conftest.
$ac_ext
20657 cat >>conftest.
$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 $ac_includes_default
20671 rm -f conftest.
$ac_objext
20672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20673 (eval $ac_compile) 2>conftest.er1
20675 grep -v '^ *+' conftest.er1
>conftest.err
20677 cat conftest.err
>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); } &&
20680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; } &&
20686 { ac_try
='test -s conftest.$ac_objext'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; }; then
20694 echo "$as_me: failed program was:" >&5
20695 sed 's/^/| /' conftest.
$ac_ext >&5
20699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20701 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20702 echo "${ECHO_T}$ac_cv_type_int" >&6
20704 echo "$as_me:$LINENO: checking size of int" >&5
20705 echo $ECHO_N "checking size of int... $ECHO_C" >&6
20706 if test "${ac_cv_sizeof_int+set}" = set; then
20707 echo $ECHO_N "(cached) $ECHO_C" >&6
20709 if test "$ac_cv_type_int" = yes; then
20710 # The cast to unsigned long works around a bug in the HP C Compiler
20711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20713 # This bug is HP SR number 8606223364.
20714 if test "$cross_compiling" = yes; then
20715 # Depending upon the size, compute the lo and hi bounds.
20716 cat >conftest.
$ac_ext <<_ACEOF
20719 cat confdefs.h
>>conftest.
$ac_ext
20720 cat >>conftest.
$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 $ac_includes_default
20726 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
20733 rm -f conftest.
$ac_objext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20735 (eval $ac_compile) 2>conftest.er1
20737 grep -v '^ *+' conftest.er1
>conftest.err
20739 cat conftest.err
>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } &&
20742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; } &&
20748 { ac_try
='test -s conftest.$ac_objext'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20756 cat >conftest.
$ac_ext <<_ACEOF
20759 cat confdefs.h
>>conftest.
$ac_ext
20760 cat >>conftest.
$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20766 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
20773 rm -f conftest.
$ac_objext
20774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20775 (eval $ac_compile) 2>conftest.er1
20777 grep -v '^ *+' conftest.er1
>conftest.err
20779 cat conftest.err
>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } &&
20782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; } &&
20788 { ac_try
='test -s conftest.$ac_objext'
20789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790 (eval $ac_try) 2>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); }; }; then
20794 ac_hi
=$ac_mid; break
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.
$ac_ext >&5
20799 ac_lo
=`expr $ac_mid + 1`
20800 if test $ac_lo -le $ac_mid; then
20804 ac_mid
=`expr 2 '*' $ac_mid + 1`
20806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.
$ac_ext >&5
20812 cat >conftest.
$ac_ext <<_ACEOF
20815 cat confdefs.h
>>conftest.
$ac_ext
20816 cat >>conftest.
$ac_ext <<_ACEOF
20817 /* end confdefs.h. */
20818 $ac_includes_default
20822 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
20829 rm -f conftest.
$ac_objext
20830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20831 (eval $ac_compile) 2>conftest.er1
20833 grep -v '^ *+' conftest.er1
>conftest.err
20835 cat conftest.err
>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } &&
20838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20840 (eval $ac_try) 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); }; } &&
20844 { ac_try
='test -s conftest.$ac_objext'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; }; then
20852 cat >conftest.
$ac_ext <<_ACEOF
20855 cat confdefs.h
>>conftest.
$ac_ext
20856 cat >>conftest.
$ac_ext <<_ACEOF
20857 /* end confdefs.h. */
20858 $ac_includes_default
20862 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
20869 rm -f conftest.
$ac_objext
20870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20871 (eval $ac_compile) 2>conftest.er1
20873 grep -v '^ *+' conftest.er1
>conftest.err
20875 cat conftest.err
>&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } &&
20878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; } &&
20884 { ac_try
='test -s conftest.$ac_objext'
20885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20886 (eval $ac_try) 2>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); }; }; then
20890 ac_lo
=$ac_mid; break
20892 echo "$as_me: failed program was:" >&5
20893 sed 's/^/| /' conftest.
$ac_ext >&5
20895 ac_hi
=`expr '(' $ac_mid ')' - 1`
20896 if test $ac_mid -le $ac_hi; then
20900 ac_mid
=`expr 2 '*' $ac_mid`
20902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20905 echo "$as_me: failed program was:" >&5
20906 sed 's/^/| /' conftest.
$ac_ext >&5
20910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20913 # Binary search between lo and hi bounds.
20914 while test "x$ac_lo" != "x$ac_hi"; do
20915 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20916 cat >conftest.
$ac_ext <<_ACEOF
20919 cat confdefs.h
>>conftest.
$ac_ext
20920 cat >>conftest.
$ac_ext <<_ACEOF
20921 /* end confdefs.h. */
20922 $ac_includes_default
20926 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
20933 rm -f conftest.
$ac_objext
20934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20935 (eval $ac_compile) 2>conftest.er1
20937 grep -v '^ *+' conftest.er1
>conftest.err
20939 cat conftest.err
>&5
20940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941 (exit $ac_status); } &&
20942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20944 (eval $ac_try) 2>&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); }; } &&
20948 { ac_try
='test -s conftest.$ac_objext'
20949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950 (eval $ac_try) 2>&5
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); }; }; then
20956 echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.
$ac_ext >&5
20959 ac_lo
=`expr '(' $ac_mid ')' + 1`
20961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20964 ?
*) ac_cv_sizeof_int
=$ac_lo;;
20965 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
20966 See \`config.log' for more details." >&5
20967 echo "$as_me: error: cannot compute sizeof (int), 77
20968 See \`config.log' for more details." >&2;}
20969 { (exit 1); exit 1; }; } ;;
20972 if test "$cross_compiling" = yes; then
20973 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20974 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20975 { (exit 1); exit 1; }; }
20977 cat >conftest.
$ac_ext <<_ACEOF
20980 cat confdefs.h
>>conftest.
$ac_ext
20981 cat >>conftest.
$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 $ac_includes_default
20984 long longval () { return (long) (sizeof (int)); }
20985 unsigned long ulongval () { return (long) (sizeof (int)); }
20987 #include <stdlib.h>
20992 FILE *f = fopen ("conftest.val", "w");
20995 if (((long) (sizeof (int))) < 0)
20997 long i = longval ();
20998 if (i != ((long) (sizeof (int))))
21000 fprintf (f, "%ld\n", i);
21004 unsigned long i = ulongval ();
21005 if (i != ((long) (sizeof (int))))
21007 fprintf (f, "%lu\n", i);
21009 exit (ferror (f) || fclose (f) != 0);
21015 rm -f conftest
$ac_exeext
21016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21017 (eval $ac_link) 2>&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022 (eval $ac_try) 2>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; }; then
21026 ac_cv_sizeof_int
=`cat conftest.val`
21028 echo "$as_me: program exited with status $ac_status" >&5
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.
$ac_ext >&5
21032 ( exit $ac_status )
21033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
21034 See \`config.log' for more details." >&5
21035 echo "$as_me: error: cannot compute sizeof (int), 77
21036 See \`config.log' for more details." >&2;}
21037 { (exit 1); exit 1; }; }
21039 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21047 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21048 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
21049 cat >>confdefs.h
<<_ACEOF
21050 #define SIZEOF_INT $ac_cv_sizeof_int
21054 echo "$as_me:$LINENO: checking for long" >&5
21055 echo $ECHO_N "checking for long... $ECHO_C" >&6
21056 if test "${ac_cv_type_long+set}" = set; then
21057 echo $ECHO_N "(cached) $ECHO_C" >&6
21059 cat >conftest.
$ac_ext <<_ACEOF
21062 cat confdefs.h
>>conftest.
$ac_ext
21063 cat >>conftest.
$ac_ext <<_ACEOF
21064 /* end confdefs.h. */
21065 $ac_includes_default
21077 rm -f conftest.
$ac_objext
21078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21079 (eval $ac_compile) 2>conftest.er1
21081 grep -v '^ *+' conftest.er1
>conftest.err
21083 cat conftest.err
>&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } &&
21086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21088 (eval $ac_try) 2>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); }; } &&
21092 { ac_try
='test -s conftest.$ac_objext'
21093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21094 (eval $ac_try) 2>&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); }; }; then
21098 ac_cv_type_long
=yes
21100 echo "$as_me: failed program was:" >&5
21101 sed 's/^/| /' conftest.
$ac_ext >&5
21105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21107 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21108 echo "${ECHO_T}$ac_cv_type_long" >&6
21110 echo "$as_me:$LINENO: checking size of long" >&5
21111 echo $ECHO_N "checking size of long... $ECHO_C" >&6
21112 if test "${ac_cv_sizeof_long+set}" = set; then
21113 echo $ECHO_N "(cached) $ECHO_C" >&6
21115 if test "$ac_cv_type_long" = yes; then
21116 # The cast to unsigned long works around a bug in the HP C Compiler
21117 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21118 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21119 # This bug is HP SR number 8606223364.
21120 if test "$cross_compiling" = yes; then
21121 # Depending upon the size, compute the lo and hi bounds.
21122 cat >conftest.
$ac_ext <<_ACEOF
21125 cat confdefs.h
>>conftest.
$ac_ext
21126 cat >>conftest.
$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21128 $ac_includes_default
21132 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
21139 rm -f conftest.
$ac_objext
21140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21141 (eval $ac_compile) 2>conftest.er1
21143 grep -v '^ *+' conftest.er1
>conftest.err
21145 cat conftest.err
>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); } &&
21148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; } &&
21154 { ac_try
='test -s conftest.$ac_objext'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; }; then
21162 cat >conftest.
$ac_ext <<_ACEOF
21165 cat confdefs.h
>>conftest.
$ac_ext
21166 cat >>conftest.
$ac_ext <<_ACEOF
21167 /* end confdefs.h. */
21168 $ac_includes_default
21172 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21179 rm -f conftest.
$ac_objext
21180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21181 (eval $ac_compile) 2>conftest.er1
21183 grep -v '^ *+' conftest.er1
>conftest.err
21185 cat conftest.err
>&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); } &&
21188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; } &&
21194 { ac_try
='test -s conftest.$ac_objext'
21195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21196 (eval $ac_try) 2>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; }; then
21200 ac_hi
=$ac_mid; break
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.
$ac_ext >&5
21205 ac_lo
=`expr $ac_mid + 1`
21206 if test $ac_lo -le $ac_mid; then
21210 ac_mid
=`expr 2 '*' $ac_mid + 1`
21212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21215 echo "$as_me: failed program was:" >&5
21216 sed 's/^/| /' conftest.
$ac_ext >&5
21218 cat >conftest.
$ac_ext <<_ACEOF
21221 cat confdefs.h
>>conftest.
$ac_ext
21222 cat >>conftest.
$ac_ext <<_ACEOF
21223 /* end confdefs.h. */
21224 $ac_includes_default
21228 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
21235 rm -f conftest.
$ac_objext
21236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21237 (eval $ac_compile) 2>conftest.er1
21239 grep -v '^ *+' conftest.er1
>conftest.err
21241 cat conftest.err
>&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); } &&
21244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246 (eval $ac_try) 2>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; } &&
21250 { ac_try
='test -s conftest.$ac_objext'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; }; then
21258 cat >conftest.
$ac_ext <<_ACEOF
21261 cat confdefs.h
>>conftest.
$ac_ext
21262 cat >>conftest.
$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264 $ac_includes_default
21268 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
21275 rm -f conftest.
$ac_objext
21276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21277 (eval $ac_compile) 2>conftest.er1
21279 grep -v '^ *+' conftest.er1
>conftest.err
21281 cat conftest.err
>&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); } &&
21284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286 (eval $ac_try) 2>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; } &&
21290 { ac_try
='test -s conftest.$ac_objext'
21291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21292 (eval $ac_try) 2>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; }; then
21296 ac_lo
=$ac_mid; break
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.
$ac_ext >&5
21301 ac_hi
=`expr '(' $ac_mid ')' - 1`
21302 if test $ac_mid -le $ac_hi; then
21306 ac_mid
=`expr 2 '*' $ac_mid`
21308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.
$ac_ext >&5
21316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21319 # Binary search between lo and hi bounds.
21320 while test "x$ac_lo" != "x$ac_hi"; do
21321 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21322 cat >conftest.
$ac_ext <<_ACEOF
21325 cat confdefs.h
>>conftest.
$ac_ext
21326 cat >>conftest.
$ac_ext <<_ACEOF
21327 /* end confdefs.h. */
21328 $ac_includes_default
21332 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21339 rm -f conftest.
$ac_objext
21340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21341 (eval $ac_compile) 2>conftest.er1
21343 grep -v '^ *+' conftest.er1
>conftest.err
21345 cat conftest.err
>&5
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); } &&
21348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21350 (eval $ac_try) 2>&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); }; } &&
21354 { ac_try
='test -s conftest.$ac_objext'
21355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21356 (eval $ac_try) 2>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; }; then
21362 echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.
$ac_ext >&5
21365 ac_lo
=`expr '(' $ac_mid ')' + 1`
21367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21370 ?
*) ac_cv_sizeof_long
=$ac_lo;;
21371 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21372 See \`config.log' for more details." >&5
21373 echo "$as_me: error: cannot compute sizeof (long), 77
21374 See \`config.log' for more details." >&2;}
21375 { (exit 1); exit 1; }; } ;;
21378 if test "$cross_compiling" = yes; then
21379 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21380 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21381 { (exit 1); exit 1; }; }
21383 cat >conftest.
$ac_ext <<_ACEOF
21386 cat confdefs.h
>>conftest.
$ac_ext
21387 cat >>conftest.
$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21389 $ac_includes_default
21390 long longval () { return (long) (sizeof (long)); }
21391 unsigned long ulongval () { return (long) (sizeof (long)); }
21393 #include <stdlib.h>
21398 FILE *f = fopen ("conftest.val", "w");
21401 if (((long) (sizeof (long))) < 0)
21403 long i = longval ();
21404 if (i != ((long) (sizeof (long))))
21406 fprintf (f, "%ld\n", i);
21410 unsigned long i = ulongval ();
21411 if (i != ((long) (sizeof (long))))
21413 fprintf (f, "%lu\n", i);
21415 exit (ferror (f) || fclose (f) != 0);
21421 rm -f conftest
$ac_exeext
21422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21423 (eval $ac_link) 2>&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21428 (eval $ac_try) 2>&5
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); }; }; then
21432 ac_cv_sizeof_long
=`cat conftest.val`
21434 echo "$as_me: program exited with status $ac_status" >&5
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.
$ac_ext >&5
21438 ( exit $ac_status )
21439 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21440 See \`config.log' for more details." >&5
21441 echo "$as_me: error: cannot compute sizeof (long), 77
21442 See \`config.log' for more details." >&2;}
21443 { (exit 1); exit 1; }; }
21445 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21450 ac_cv_sizeof_long
=0
21453 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21454 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
21455 cat >>confdefs.h
<<_ACEOF
21456 #define SIZEOF_LONG $ac_cv_sizeof_long
21461 echo "$as_me:$LINENO: checking for long long" >&5
21462 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21463 if test "${ac_cv_type_long_long+set}" = set; then
21464 echo $ECHO_N "(cached) $ECHO_C" >&6
21466 cat >conftest.
$ac_ext <<_ACEOF
21469 cat confdefs.h
>>conftest.
$ac_ext
21470 cat >>conftest.
$ac_ext <<_ACEOF
21471 /* end confdefs.h. */
21472 $ac_includes_default
21476 if ((long long *) 0)
21478 if (sizeof (long long))
21484 rm -f conftest.
$ac_objext
21485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21486 (eval $ac_compile) 2>conftest.er1
21488 grep -v '^ *+' conftest.er1
>conftest.err
21490 cat conftest.err
>&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } &&
21493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; } &&
21499 { ac_try
='test -s conftest.$ac_objext'
21500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21501 (eval $ac_try) 2>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); }; }; then
21505 ac_cv_type_long_long
=yes
21507 echo "$as_me: failed program was:" >&5
21508 sed 's/^/| /' conftest.
$ac_ext >&5
21510 ac_cv_type_long_long
=no
21512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21514 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21515 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21517 echo "$as_me:$LINENO: checking size of long long" >&5
21518 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21519 if test "${ac_cv_sizeof_long_long+set}" = set; then
21520 echo $ECHO_N "(cached) $ECHO_C" >&6
21522 if test "$ac_cv_type_long_long" = yes; then
21523 # The cast to unsigned long works around a bug in the HP C Compiler
21524 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21525 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21526 # This bug is HP SR number 8606223364.
21527 if test "$cross_compiling" = yes; then
21528 # Depending upon the size, compute the lo and hi bounds.
21529 cat >conftest.
$ac_ext <<_ACEOF
21532 cat confdefs.h
>>conftest.
$ac_ext
21533 cat >>conftest.
$ac_ext <<_ACEOF
21534 /* end confdefs.h. */
21535 $ac_includes_default
21539 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21546 rm -f conftest.
$ac_objext
21547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21548 (eval $ac_compile) 2>conftest.er1
21550 grep -v '^ *+' conftest.er1
>conftest.err
21552 cat conftest.err
>&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); } &&
21555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21557 (eval $ac_try) 2>&5
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); }; } &&
21561 { ac_try
='test -s conftest.$ac_objext'
21562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563 (eval $ac_try) 2>&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); }; }; then
21569 cat >conftest.
$ac_ext <<_ACEOF
21572 cat confdefs.h
>>conftest.
$ac_ext
21573 cat >>conftest.
$ac_ext <<_ACEOF
21574 /* end confdefs.h. */
21575 $ac_includes_default
21579 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21586 rm -f conftest.
$ac_objext
21587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21588 (eval $ac_compile) 2>conftest.er1
21590 grep -v '^ *+' conftest.er1
>conftest.err
21592 cat conftest.err
>&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } &&
21595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21597 (eval $ac_try) 2>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); }; } &&
21601 { ac_try
='test -s conftest.$ac_objext'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; }; then
21607 ac_hi
=$ac_mid; break
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.
$ac_ext >&5
21612 ac_lo
=`expr $ac_mid + 1`
21613 if test $ac_lo -le $ac_mid; then
21617 ac_mid
=`expr 2 '*' $ac_mid + 1`
21619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21622 echo "$as_me: failed program was:" >&5
21623 sed 's/^/| /' conftest.
$ac_ext >&5
21625 cat >conftest.
$ac_ext <<_ACEOF
21628 cat confdefs.h
>>conftest.
$ac_ext
21629 cat >>conftest.
$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 $ac_includes_default
21635 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21642 rm -f conftest.
$ac_objext
21643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21644 (eval $ac_compile) 2>conftest.er1
21646 grep -v '^ *+' conftest.er1
>conftest.err
21648 cat conftest.err
>&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); } &&
21651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21653 (eval $ac_try) 2>&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); }; } &&
21657 { ac_try
='test -s conftest.$ac_objext'
21658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21659 (eval $ac_try) 2>&5
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; }; then
21665 cat >conftest.
$ac_ext <<_ACEOF
21668 cat confdefs.h
>>conftest.
$ac_ext
21669 cat >>conftest.
$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671 $ac_includes_default
21675 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21682 rm -f conftest.
$ac_objext
21683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21684 (eval $ac_compile) 2>conftest.er1
21686 grep -v '^ *+' conftest.er1
>conftest.err
21688 cat conftest.err
>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); } &&
21691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693 (eval $ac_try) 2>&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; } &&
21697 { ac_try
='test -s conftest.$ac_objext'
21698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21699 (eval $ac_try) 2>&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); }; }; then
21703 ac_lo
=$ac_mid; break
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.
$ac_ext >&5
21708 ac_hi
=`expr '(' $ac_mid ')' - 1`
21709 if test $ac_mid -le $ac_hi; then
21713 ac_mid
=`expr 2 '*' $ac_mid`
21715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21718 echo "$as_me: failed program was:" >&5
21719 sed 's/^/| /' conftest.
$ac_ext >&5
21723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21726 # Binary search between lo and hi bounds.
21727 while test "x$ac_lo" != "x$ac_hi"; do
21728 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21729 cat >conftest.
$ac_ext <<_ACEOF
21732 cat confdefs.h
>>conftest.
$ac_ext
21733 cat >>conftest.
$ac_ext <<_ACEOF
21734 /* end confdefs.h. */
21735 $ac_includes_default
21739 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21746 rm -f conftest.
$ac_objext
21747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21748 (eval $ac_compile) 2>conftest.er1
21750 grep -v '^ *+' conftest.er1
>conftest.err
21752 cat conftest.err
>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); } &&
21755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; } &&
21761 { ac_try
='test -s conftest.$ac_objext'
21762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21763 (eval $ac_try) 2>&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); }; }; then
21769 echo "$as_me: failed program was:" >&5
21770 sed 's/^/| /' conftest.
$ac_ext >&5
21772 ac_lo
=`expr '(' $ac_mid ')' + 1`
21774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21777 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21778 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21779 See \`config.log' for more details." >&5
21780 echo "$as_me: error: cannot compute sizeof (long long), 77
21781 See \`config.log' for more details." >&2;}
21782 { (exit 1); exit 1; }; } ;;
21785 if test "$cross_compiling" = yes; then
21786 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21787 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21788 { (exit 1); exit 1; }; }
21790 cat >conftest.
$ac_ext <<_ACEOF
21793 cat confdefs.h
>>conftest.
$ac_ext
21794 cat >>conftest.
$ac_ext <<_ACEOF
21795 /* end confdefs.h. */
21796 $ac_includes_default
21797 long longval () { return (long) (sizeof (long long)); }
21798 unsigned long ulongval () { return (long) (sizeof (long long)); }
21800 #include <stdlib.h>
21805 FILE *f = fopen ("conftest.val", "w");
21808 if (((long) (sizeof (long long))) < 0)
21810 long i = longval ();
21811 if (i != ((long) (sizeof (long long))))
21813 fprintf (f, "%ld\n", i);
21817 unsigned long i = ulongval ();
21818 if (i != ((long) (sizeof (long long))))
21820 fprintf (f, "%lu\n", i);
21822 exit (ferror (f) || fclose (f) != 0);
21828 rm -f conftest
$ac_exeext
21829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21830 (eval $ac_link) 2>&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; }; then
21839 ac_cv_sizeof_long_long
=`cat conftest.val`
21841 echo "$as_me: program exited with status $ac_status" >&5
21842 echo "$as_me: failed program was:" >&5
21843 sed 's/^/| /' conftest.
$ac_ext >&5
21845 ( exit $ac_status )
21846 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21847 See \`config.log' for more details." >&5
21848 echo "$as_me: error: cannot compute sizeof (long long), 77
21849 See \`config.log' for more details." >&2;}
21850 { (exit 1); exit 1; }; }
21852 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21857 ac_cv_sizeof_long_long
=0
21860 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21861 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21862 cat >>confdefs.h
<<_ACEOF
21863 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21867 echo "$as_me:$LINENO: checking for __int16" >&5
21868 echo $ECHO_N "checking for __int16... $ECHO_C" >&6
21869 if test "${ac_cv_type___int16+set}" = set; then
21870 echo $ECHO_N "(cached) $ECHO_C" >&6
21872 cat >conftest.
$ac_ext <<_ACEOF
21875 cat confdefs.h
>>conftest.
$ac_ext
21876 cat >>conftest.
$ac_ext <<_ACEOF
21877 /* end confdefs.h. */
21878 $ac_includes_default
21884 if (sizeof (__int16))
21890 rm -f conftest.
$ac_objext
21891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21892 (eval $ac_compile) 2>conftest.er1
21894 grep -v '^ *+' conftest.er1
>conftest.err
21896 cat conftest.err
>&5
21897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21898 (exit $ac_status); } &&
21899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21901 (eval $ac_try) 2>&5
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); }; } &&
21905 { ac_try
='test -s conftest.$ac_objext'
21906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21907 (eval $ac_try) 2>&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); }; }; then
21911 ac_cv_type___int16
=yes
21913 echo "$as_me: failed program was:" >&5
21914 sed 's/^/| /' conftest.
$ac_ext >&5
21916 ac_cv_type___int16
=no
21918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21920 echo "$as_me:$LINENO: result: $ac_cv_type___int16" >&5
21921 echo "${ECHO_T}$ac_cv_type___int16" >&6
21923 echo "$as_me:$LINENO: checking size of __int16" >&5
21924 echo $ECHO_N "checking size of __int16... $ECHO_C" >&6
21925 if test "${ac_cv_sizeof___int16+set}" = set; then
21926 echo $ECHO_N "(cached) $ECHO_C" >&6
21928 if test "$ac_cv_type___int16" = yes; then
21929 # The cast to unsigned long works around a bug in the HP C Compiler
21930 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21931 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21932 # This bug is HP SR number 8606223364.
21933 if test "$cross_compiling" = yes; then
21934 # Depending upon the size, compute the lo and hi bounds.
21935 cat >conftest.
$ac_ext <<_ACEOF
21938 cat confdefs.h
>>conftest.
$ac_ext
21939 cat >>conftest.
$ac_ext <<_ACEOF
21940 /* end confdefs.h. */
21941 $ac_includes_default
21945 static int test_array [1 - 2 * !(((long) (sizeof (__int16))) >= 0)];
21952 rm -f conftest.
$ac_objext
21953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21954 (eval $ac_compile) 2>conftest.er1
21956 grep -v '^ *+' conftest.er1
>conftest.err
21958 cat conftest.err
>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); } &&
21961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; } &&
21967 { ac_try
='test -s conftest.$ac_objext'
21968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969 (eval $ac_try) 2>&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; }; then
21975 cat >conftest.
$ac_ext <<_ACEOF
21978 cat confdefs.h
>>conftest.
$ac_ext
21979 cat >>conftest.
$ac_ext <<_ACEOF
21980 /* end confdefs.h. */
21981 $ac_includes_default
21985 static int test_array [1 - 2 * !(((long) (sizeof (__int16))) <= $ac_mid)];
21992 rm -f conftest.
$ac_objext
21993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21994 (eval $ac_compile) 2>conftest.er1
21996 grep -v '^ *+' conftest.er1
>conftest.err
21998 cat conftest.err
>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); } &&
22001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003 (eval $ac_try) 2>&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); }; } &&
22007 { ac_try
='test -s conftest.$ac_objext'
22008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22009 (eval $ac_try) 2>&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); }; }; then
22013 ac_hi
=$ac_mid; break
22015 echo "$as_me: failed program was:" >&5
22016 sed 's/^/| /' conftest.
$ac_ext >&5
22018 ac_lo
=`expr $ac_mid + 1`
22019 if test $ac_lo -le $ac_mid; then
22023 ac_mid
=`expr 2 '*' $ac_mid + 1`
22025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22028 echo "$as_me: failed program was:" >&5
22029 sed 's/^/| /' conftest.
$ac_ext >&5
22031 cat >conftest.
$ac_ext <<_ACEOF
22034 cat confdefs.h
>>conftest.
$ac_ext
22035 cat >>conftest.
$ac_ext <<_ACEOF
22036 /* end confdefs.h. */
22037 $ac_includes_default
22041 static int test_array [1 - 2 * !(((long) (sizeof (__int16))) < 0)];
22048 rm -f conftest.
$ac_objext
22049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22050 (eval $ac_compile) 2>conftest.er1
22052 grep -v '^ *+' conftest.er1
>conftest.err
22054 cat conftest.err
>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } &&
22057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22059 (eval $ac_try) 2>&5
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); }; } &&
22063 { ac_try
='test -s conftest.$ac_objext'
22064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22065 (eval $ac_try) 2>&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); }; }; then
22071 cat >conftest.
$ac_ext <<_ACEOF
22074 cat confdefs.h
>>conftest.
$ac_ext
22075 cat >>conftest.
$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 $ac_includes_default
22081 static int test_array [1 - 2 * !(((long) (sizeof (__int16))) >= $ac_mid)];
22088 rm -f conftest.
$ac_objext
22089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22090 (eval $ac_compile) 2>conftest.er1
22092 grep -v '^ *+' conftest.er1
>conftest.err
22094 cat conftest.err
>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } &&
22097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; } &&
22103 { ac_try
='test -s conftest.$ac_objext'
22104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105 (eval $ac_try) 2>&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 ac_lo
=$ac_mid; break
22111 echo "$as_me: failed program was:" >&5
22112 sed 's/^/| /' conftest.
$ac_ext >&5
22114 ac_hi
=`expr '(' $ac_mid ')' - 1`
22115 if test $ac_mid -le $ac_hi; then
22119 ac_mid
=`expr 2 '*' $ac_mid`
22121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22124 echo "$as_me: failed program was:" >&5
22125 sed 's/^/| /' conftest.
$ac_ext >&5
22129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22132 # Binary search between lo and hi bounds.
22133 while test "x$ac_lo" != "x$ac_hi"; do
22134 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22135 cat >conftest.
$ac_ext <<_ACEOF
22138 cat confdefs.h
>>conftest.
$ac_ext
22139 cat >>conftest.
$ac_ext <<_ACEOF
22140 /* end confdefs.h. */
22141 $ac_includes_default
22145 static int test_array [1 - 2 * !(((long) (sizeof (__int16))) <= $ac_mid)];
22152 rm -f conftest.
$ac_objext
22153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22154 (eval $ac_compile) 2>conftest.er1
22156 grep -v '^ *+' conftest.er1
>conftest.err
22158 cat conftest.err
>&5
22159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160 (exit $ac_status); } &&
22161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22163 (eval $ac_try) 2>&5
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); }; } &&
22167 { ac_try
='test -s conftest.$ac_objext'
22168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22169 (eval $ac_try) 2>&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); }; }; then
22175 echo "$as_me: failed program was:" >&5
22176 sed 's/^/| /' conftest.
$ac_ext >&5
22178 ac_lo
=`expr '(' $ac_mid ')' + 1`
22180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22183 ?
*) ac_cv_sizeof___int16
=$ac_lo;;
22184 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int16), 77
22185 See \`config.log' for more details." >&5
22186 echo "$as_me: error: cannot compute sizeof (__int16), 77
22187 See \`config.log' for more details." >&2;}
22188 { (exit 1); exit 1; }; } ;;
22191 if test "$cross_compiling" = yes; then
22192 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22193 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22194 { (exit 1); exit 1; }; }
22196 cat >conftest.
$ac_ext <<_ACEOF
22199 cat confdefs.h
>>conftest.
$ac_ext
22200 cat >>conftest.
$ac_ext <<_ACEOF
22201 /* end confdefs.h. */
22202 $ac_includes_default
22203 long longval () { return (long) (sizeof (__int16)); }
22204 unsigned long ulongval () { return (long) (sizeof (__int16)); }
22206 #include <stdlib.h>
22211 FILE *f = fopen ("conftest.val", "w");
22214 if (((long) (sizeof (__int16))) < 0)
22216 long i = longval ();
22217 if (i != ((long) (sizeof (__int16))))
22219 fprintf (f, "%ld\n", i);
22223 unsigned long i = ulongval ();
22224 if (i != ((long) (sizeof (__int16))))
22226 fprintf (f, "%lu\n", i);
22228 exit (ferror (f) || fclose (f) != 0);
22234 rm -f conftest
$ac_exeext
22235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22236 (eval $ac_link) 2>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22241 (eval $ac_try) 2>&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); }; }; then
22245 ac_cv_sizeof___int16
=`cat conftest.val`
22247 echo "$as_me: program exited with status $ac_status" >&5
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.
$ac_ext >&5
22251 ( exit $ac_status )
22252 { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int16), 77
22253 See \`config.log' for more details." >&5
22254 echo "$as_me: error: cannot compute sizeof (__int16), 77
22255 See \`config.log' for more details." >&2;}
22256 { (exit 1); exit 1; }; }
22258 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22263 ac_cv_sizeof___int16
=0
22266 echo "$as_me:$LINENO: result: $ac_cv_sizeof___int16" >&5
22267 echo "${ECHO_T}$ac_cv_sizeof___int16" >&6
22268 cat >>confdefs.h
<<_ACEOF
22269 #define SIZEOF___INT16 $ac_cv_sizeof___int16
22273 echo "$as_me:$LINENO: checking for __int32" >&5
22274 echo $ECHO_N "checking for __int32... $ECHO_C" >&6
22275 if test "${ac_cv_type___int32+set}" = set; then
22276 echo $ECHO_N "(cached) $ECHO_C" >&6
22278 cat >conftest.
$ac_ext <<_ACEOF
22281 cat confdefs.h
>>conftest.
$ac_ext
22282 cat >>conftest.
$ac_ext <<_ACEOF
22283 /* end confdefs.h. */
22284 $ac_includes_default
22290 if (sizeof (__int32))
22296 rm -f conftest.
$ac_objext
22297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22298 (eval $ac_compile) 2>conftest.er1
22300 grep -v '^ *+' conftest.er1
>conftest.err
22302 cat conftest.err
>&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); } &&
22305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22307 (eval $ac_try) 2>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); }; } &&
22311 { ac_try
='test -s conftest.$ac_objext'
22312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22313 (eval $ac_try) 2>&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); }; }; then
22317 ac_cv_type___int32
=yes
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.
$ac_ext >&5
22322 ac_cv_type___int32
=no
22324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22326 echo "$as_me:$LINENO: result: $ac_cv_type___int32" >&5
22327 echo "${ECHO_T}$ac_cv_type___int32" >&6
22329 echo "$as_me:$LINENO: checking size of __int32" >&5
22330 echo $ECHO_N "checking size of __int32... $ECHO_C" >&6
22331 if test "${ac_cv_sizeof___int32+set}" = set; then
22332 echo $ECHO_N "(cached) $ECHO_C" >&6
22334 if test "$ac_cv_type___int32" = yes; then
22335 # The cast to unsigned long works around a bug in the HP C Compiler
22336 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22337 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22338 # This bug is HP SR number 8606223364.
22339 if test "$cross_compiling" = yes; then
22340 # Depending upon the size, compute the lo and hi bounds.
22341 cat >conftest.
$ac_ext <<_ACEOF
22344 cat confdefs.h
>>conftest.
$ac_ext
22345 cat >>conftest.
$ac_ext <<_ACEOF
22346 /* end confdefs.h. */
22347 $ac_includes_default
22351 static int test_array [1 - 2 * !(((long) (sizeof (__int32))) >= 0)];
22358 rm -f conftest.
$ac_objext
22359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22360 (eval $ac_compile) 2>conftest.er1
22362 grep -v '^ *+' conftest.er1
>conftest.err
22364 cat conftest.err
>&5
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); } &&
22367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22369 (eval $ac_try) 2>&5
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); }; } &&
22373 { ac_try
='test -s conftest.$ac_objext'
22374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22375 (eval $ac_try) 2>&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); }; }; then
22381 cat >conftest.
$ac_ext <<_ACEOF
22384 cat confdefs.h
>>conftest.
$ac_ext
22385 cat >>conftest.
$ac_ext <<_ACEOF
22386 /* end confdefs.h. */
22387 $ac_includes_default
22391 static int test_array [1 - 2 * !(((long) (sizeof (__int32))) <= $ac_mid)];
22398 rm -f conftest.
$ac_objext
22399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22400 (eval $ac_compile) 2>conftest.er1
22402 grep -v '^ *+' conftest.er1
>conftest.err
22404 cat conftest.err
>&5
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); } &&
22407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22409 (eval $ac_try) 2>&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); }; } &&
22413 { ac_try
='test -s conftest.$ac_objext'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; }; then
22419 ac_hi
=$ac_mid; break
22421 echo "$as_me: failed program was:" >&5
22422 sed 's/^/| /' conftest.
$ac_ext >&5
22424 ac_lo
=`expr $ac_mid + 1`
22425 if test $ac_lo -le $ac_mid; then
22429 ac_mid
=`expr 2 '*' $ac_mid + 1`
22431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.
$ac_ext >&5
22437 cat >conftest.
$ac_ext <<_ACEOF
22440 cat confdefs.h
>>conftest.
$ac_ext
22441 cat >>conftest.
$ac_ext <<_ACEOF
22442 /* end confdefs.h. */
22443 $ac_includes_default
22447 static int test_array [1 - 2 * !(((long) (sizeof (__int32))) < 0)];
22454 rm -f conftest.
$ac_objext
22455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22456 (eval $ac_compile) 2>conftest.er1
22458 grep -v '^ *+' conftest.er1
>conftest.err
22460 cat conftest.err
>&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } &&
22463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22465 (eval $ac_try) 2>&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); }; } &&
22469 { ac_try
='test -s conftest.$ac_objext'
22470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22471 (eval $ac_try) 2>&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); }; }; then
22477 cat >conftest.
$ac_ext <<_ACEOF
22480 cat confdefs.h
>>conftest.
$ac_ext
22481 cat >>conftest.
$ac_ext <<_ACEOF
22482 /* end confdefs.h. */
22483 $ac_includes_default
22487 static int test_array [1 - 2 * !(((long) (sizeof (__int32))) >= $ac_mid)];
22494 rm -f conftest.
$ac_objext
22495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22496 (eval $ac_compile) 2>conftest.er1
22498 grep -v '^ *+' conftest.er1
>conftest.err
22500 cat conftest.err
>&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); } &&
22503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505 (eval $ac_try) 2>&5
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); }; } &&
22509 { ac_try
='test -s conftest.$ac_objext'
22510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511 (eval $ac_try) 2>&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); }; }; then
22515 ac_lo
=$ac_mid; break
22517 echo "$as_me: failed program was:" >&5
22518 sed 's/^/| /' conftest.
$ac_ext >&5
22520 ac_hi
=`expr '(' $ac_mid ')' - 1`
22521 if test $ac_mid -le $ac_hi; then
22525 ac_mid
=`expr 2 '*' $ac_mid`
22527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22530 echo "$as_me: failed program was:" >&5
22531 sed 's/^/| /' conftest.
$ac_ext >&5
22535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22538 # Binary search between lo and hi bounds.
22539 while test "x$ac_lo" != "x$ac_hi"; do
22540 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22541 cat >conftest.
$ac_ext <<_ACEOF
22544 cat confdefs.h
>>conftest.
$ac_ext
22545 cat >>conftest.
$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22547 $ac_includes_default
22551 static int test_array [1 - 2 * !(((long) (sizeof (__int32))) <= $ac_mid)];
22558 rm -f conftest.
$ac_objext
22559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22560 (eval $ac_compile) 2>conftest.er1
22562 grep -v '^ *+' conftest.er1
>conftest.err
22564 cat conftest.err
>&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); } &&
22567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22569 (eval $ac_try) 2>&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); }; } &&
22573 { ac_try
='test -s conftest.$ac_objext'
22574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22575 (eval $ac_try) 2>&5
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); }; }; then
22581 echo "$as_me: failed program was:" >&5
22582 sed 's/^/| /' conftest.
$ac_ext >&5
22584 ac_lo
=`expr '(' $ac_mid ')' + 1`
22586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22589 ?
*) ac_cv_sizeof___int32
=$ac_lo;;
22590 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int32), 77
22591 See \`config.log' for more details." >&5
22592 echo "$as_me: error: cannot compute sizeof (__int32), 77
22593 See \`config.log' for more details." >&2;}
22594 { (exit 1); exit 1; }; } ;;
22597 if test "$cross_compiling" = yes; then
22598 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22599 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22600 { (exit 1); exit 1; }; }
22602 cat >conftest.
$ac_ext <<_ACEOF
22605 cat confdefs.h
>>conftest.
$ac_ext
22606 cat >>conftest.
$ac_ext <<_ACEOF
22607 /* end confdefs.h. */
22608 $ac_includes_default
22609 long longval () { return (long) (sizeof (__int32)); }
22610 unsigned long ulongval () { return (long) (sizeof (__int32)); }
22612 #include <stdlib.h>
22617 FILE *f = fopen ("conftest.val", "w");
22620 if (((long) (sizeof (__int32))) < 0)
22622 long i = longval ();
22623 if (i != ((long) (sizeof (__int32))))
22625 fprintf (f, "%ld\n", i);
22629 unsigned long i = ulongval ();
22630 if (i != ((long) (sizeof (__int32))))
22632 fprintf (f, "%lu\n", i);
22634 exit (ferror (f) || fclose (f) != 0);
22640 rm -f conftest
$ac_exeext
22641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22642 (eval $ac_link) 2>&5
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22647 (eval $ac_try) 2>&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); }; }; then
22651 ac_cv_sizeof___int32
=`cat conftest.val`
22653 echo "$as_me: program exited with status $ac_status" >&5
22654 echo "$as_me: failed program was:" >&5
22655 sed 's/^/| /' conftest.
$ac_ext >&5
22657 ( exit $ac_status )
22658 { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int32), 77
22659 See \`config.log' for more details." >&5
22660 echo "$as_me: error: cannot compute sizeof (__int32), 77
22661 See \`config.log' for more details." >&2;}
22662 { (exit 1); exit 1; }; }
22664 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22669 ac_cv_sizeof___int32
=0
22672 echo "$as_me:$LINENO: result: $ac_cv_sizeof___int32" >&5
22673 echo "${ECHO_T}$ac_cv_sizeof___int32" >&6
22674 cat >>confdefs.h
<<_ACEOF
22675 #define SIZEOF___INT32 $ac_cv_sizeof___int32
22679 echo "$as_me:$LINENO: checking for __int64" >&5
22680 echo $ECHO_N "checking for __int64... $ECHO_C" >&6
22681 if test "${ac_cv_type___int64+set}" = set; then
22682 echo $ECHO_N "(cached) $ECHO_C" >&6
22684 cat >conftest.
$ac_ext <<_ACEOF
22687 cat confdefs.h
>>conftest.
$ac_ext
22688 cat >>conftest.
$ac_ext <<_ACEOF
22689 /* end confdefs.h. */
22690 $ac_includes_default
22696 if (sizeof (__int64))
22702 rm -f conftest.
$ac_objext
22703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22704 (eval $ac_compile) 2>conftest.er1
22706 grep -v '^ *+' conftest.er1
>conftest.err
22708 cat conftest.err
>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } &&
22711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713 (eval $ac_try) 2>&5
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); }; } &&
22717 { ac_try
='test -s conftest.$ac_objext'
22718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22719 (eval $ac_try) 2>&5
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; }; then
22723 ac_cv_type___int64
=yes
22725 echo "$as_me: failed program was:" >&5
22726 sed 's/^/| /' conftest.
$ac_ext >&5
22728 ac_cv_type___int64
=no
22730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22732 echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
22733 echo "${ECHO_T}$ac_cv_type___int64" >&6
22735 echo "$as_me:$LINENO: checking size of __int64" >&5
22736 echo $ECHO_N "checking size of __int64... $ECHO_C" >&6
22737 if test "${ac_cv_sizeof___int64+set}" = set; then
22738 echo $ECHO_N "(cached) $ECHO_C" >&6
22740 if test "$ac_cv_type___int64" = yes; then
22741 # The cast to unsigned long works around a bug in the HP C Compiler
22742 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22743 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22744 # This bug is HP SR number 8606223364.
22745 if test "$cross_compiling" = yes; then
22746 # Depending upon the size, compute the lo and hi bounds.
22747 cat >conftest.
$ac_ext <<_ACEOF
22750 cat confdefs.h
>>conftest.
$ac_ext
22751 cat >>conftest.
$ac_ext <<_ACEOF
22752 /* end confdefs.h. */
22753 $ac_includes_default
22757 static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= 0)];
22764 rm -f conftest.
$ac_objext
22765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22766 (eval $ac_compile) 2>conftest.er1
22768 grep -v '^ *+' conftest.er1
>conftest.err
22770 cat conftest.err
>&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); } &&
22773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22775 (eval $ac_try) 2>&5
22777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22778 (exit $ac_status); }; } &&
22779 { ac_try
='test -s conftest.$ac_objext'
22780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22781 (eval $ac_try) 2>&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); }; }; then
22787 cat >conftest.
$ac_ext <<_ACEOF
22790 cat confdefs.h
>>conftest.
$ac_ext
22791 cat >>conftest.
$ac_ext <<_ACEOF
22792 /* end confdefs.h. */
22793 $ac_includes_default
22797 static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];
22804 rm -f conftest.
$ac_objext
22805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22806 (eval $ac_compile) 2>conftest.er1
22808 grep -v '^ *+' conftest.er1
>conftest.err
22810 cat conftest.err
>&5
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); } &&
22813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22815 (eval $ac_try) 2>&5
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); }; } &&
22819 { ac_try
='test -s conftest.$ac_objext'
22820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821 (eval $ac_try) 2>&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); }; }; then
22825 ac_hi
=$ac_mid; break
22827 echo "$as_me: failed program was:" >&5
22828 sed 's/^/| /' conftest.
$ac_ext >&5
22830 ac_lo
=`expr $ac_mid + 1`
22831 if test $ac_lo -le $ac_mid; then
22835 ac_mid
=`expr 2 '*' $ac_mid + 1`
22837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22840 echo "$as_me: failed program was:" >&5
22841 sed 's/^/| /' conftest.
$ac_ext >&5
22843 cat >conftest.
$ac_ext <<_ACEOF
22846 cat confdefs.h
>>conftest.
$ac_ext
22847 cat >>conftest.
$ac_ext <<_ACEOF
22848 /* end confdefs.h. */
22849 $ac_includes_default
22853 static int test_array [1 - 2 * !(((long) (sizeof (__int64))) < 0)];
22860 rm -f conftest.
$ac_objext
22861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22862 (eval $ac_compile) 2>conftest.er1
22864 grep -v '^ *+' conftest.er1
>conftest.err
22866 cat conftest.err
>&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } &&
22869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22871 (eval $ac_try) 2>&5
22873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874 (exit $ac_status); }; } &&
22875 { ac_try
='test -s conftest.$ac_objext'
22876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22877 (eval $ac_try) 2>&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); }; }; then
22883 cat >conftest.
$ac_ext <<_ACEOF
22886 cat confdefs.h
>>conftest.
$ac_ext
22887 cat >>conftest.
$ac_ext <<_ACEOF
22888 /* end confdefs.h. */
22889 $ac_includes_default
22893 static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= $ac_mid)];
22900 rm -f conftest.
$ac_objext
22901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22902 (eval $ac_compile) 2>conftest.er1
22904 grep -v '^ *+' conftest.er1
>conftest.err
22906 cat conftest.err
>&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); } &&
22909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22911 (eval $ac_try) 2>&5
22913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22914 (exit $ac_status); }; } &&
22915 { ac_try
='test -s conftest.$ac_objext'
22916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22917 (eval $ac_try) 2>&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); }; }; then
22921 ac_lo
=$ac_mid; break
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.
$ac_ext >&5
22926 ac_hi
=`expr '(' $ac_mid ')' - 1`
22927 if test $ac_mid -le $ac_hi; then
22931 ac_mid
=`expr 2 '*' $ac_mid`
22933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22936 echo "$as_me: failed program was:" >&5
22937 sed 's/^/| /' conftest.
$ac_ext >&5
22941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22944 # Binary search between lo and hi bounds.
22945 while test "x$ac_lo" != "x$ac_hi"; do
22946 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22947 cat >conftest.
$ac_ext <<_ACEOF
22950 cat confdefs.h
>>conftest.
$ac_ext
22951 cat >>conftest.
$ac_ext <<_ACEOF
22952 /* end confdefs.h. */
22953 $ac_includes_default
22957 static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];
22964 rm -f conftest.
$ac_objext
22965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22966 (eval $ac_compile) 2>conftest.er1
22968 grep -v '^ *+' conftest.er1
>conftest.err
22970 cat conftest.err
>&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); } &&
22973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22975 (eval $ac_try) 2>&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); }; } &&
22979 { ac_try
='test -s conftest.$ac_objext'
22980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22981 (eval $ac_try) 2>&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); }; }; then
22987 echo "$as_me: failed program was:" >&5
22988 sed 's/^/| /' conftest.
$ac_ext >&5
22990 ac_lo
=`expr '(' $ac_mid ')' + 1`
22992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22995 ?
*) ac_cv_sizeof___int64
=$ac_lo;;
22996 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77
22997 See \`config.log' for more details." >&5
22998 echo "$as_me: error: cannot compute sizeof (__int64), 77
22999 See \`config.log' for more details." >&2;}
23000 { (exit 1); exit 1; }; } ;;
23003 if test "$cross_compiling" = yes; then
23004 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23005 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23006 { (exit 1); exit 1; }; }
23008 cat >conftest.
$ac_ext <<_ACEOF
23011 cat confdefs.h
>>conftest.
$ac_ext
23012 cat >>conftest.
$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 $ac_includes_default
23015 long longval () { return (long) (sizeof (__int64)); }
23016 unsigned long ulongval () { return (long) (sizeof (__int64)); }
23018 #include <stdlib.h>
23023 FILE *f = fopen ("conftest.val", "w");
23026 if (((long) (sizeof (__int64))) < 0)
23028 long i = longval ();
23029 if (i != ((long) (sizeof (__int64))))
23031 fprintf (f, "%ld\n", i);
23035 unsigned long i = ulongval ();
23036 if (i != ((long) (sizeof (__int64))))
23038 fprintf (f, "%lu\n", i);
23040 exit (ferror (f) || fclose (f) != 0);
23046 rm -f conftest
$ac_exeext
23047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23048 (eval $ac_link) 2>&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23053 (eval $ac_try) 2>&5
23055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23056 (exit $ac_status); }; }; then
23057 ac_cv_sizeof___int64
=`cat conftest.val`
23059 echo "$as_me: program exited with status $ac_status" >&5
23060 echo "$as_me: failed program was:" >&5
23061 sed 's/^/| /' conftest.
$ac_ext >&5
23063 ( exit $ac_status )
23064 { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77
23065 See \`config.log' for more details." >&5
23066 echo "$as_me: error: cannot compute sizeof (__int64), 77
23067 See \`config.log' for more details." >&2;}
23068 { (exit 1); exit 1; }; }
23070 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23075 ac_cv_sizeof___int64
=0
23078 echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
23079 echo "${ECHO_T}$ac_cv_sizeof___int64" >&6
23080 cat >>confdefs.h
<<_ACEOF
23081 #define SIZEOF___INT64 $ac_cv_sizeof___int64
23086 echo "$as_me:$LINENO: checking for void *" >&5
23087 echo $ECHO_N "checking for void *... $ECHO_C" >&6
23088 if test "${ac_cv_type_void_p+set}" = set; then
23089 echo $ECHO_N "(cached) $ECHO_C" >&6
23091 cat >conftest.
$ac_ext <<_ACEOF
23094 cat confdefs.h
>>conftest.
$ac_ext
23095 cat >>conftest.
$ac_ext <<_ACEOF
23096 /* end confdefs.h. */
23097 $ac_includes_default
23103 if (sizeof (void *))
23109 rm -f conftest.
$ac_objext
23110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23111 (eval $ac_compile) 2>conftest.er1
23113 grep -v '^ *+' conftest.er1
>conftest.err
23115 cat conftest.err
>&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); } &&
23118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23120 (eval $ac_try) 2>&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); }; } &&
23124 { ac_try
='test -s conftest.$ac_objext'
23125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23126 (eval $ac_try) 2>&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; }; then
23130 ac_cv_type_void_p
=yes
23132 echo "$as_me: failed program was:" >&5
23133 sed 's/^/| /' conftest.
$ac_ext >&5
23135 ac_cv_type_void_p
=no
23137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23139 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
23140 echo "${ECHO_T}$ac_cv_type_void_p" >&6
23142 echo "$as_me:$LINENO: checking size of void *" >&5
23143 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
23144 if test "${ac_cv_sizeof_void_p+set}" = set; then
23145 echo $ECHO_N "(cached) $ECHO_C" >&6
23147 if test "$ac_cv_type_void_p" = yes; then
23148 # The cast to unsigned long works around a bug in the HP C Compiler
23149 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23150 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23151 # This bug is HP SR number 8606223364.
23152 if test "$cross_compiling" = yes; then
23153 # Depending upon the size, compute the lo and hi bounds.
23154 cat >conftest.
$ac_ext <<_ACEOF
23157 cat confdefs.h
>>conftest.
$ac_ext
23158 cat >>conftest.
$ac_ext <<_ACEOF
23159 /* end confdefs.h. */
23160 $ac_includes_default
23164 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
23171 rm -f conftest.
$ac_objext
23172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23173 (eval $ac_compile) 2>conftest.er1
23175 grep -v '^ *+' conftest.er1
>conftest.err
23177 cat conftest.err
>&5
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); } &&
23180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23182 (eval $ac_try) 2>&5
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); }; } &&
23186 { ac_try
='test -s conftest.$ac_objext'
23187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23188 (eval $ac_try) 2>&5
23190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191 (exit $ac_status); }; }; then
23194 cat >conftest.
$ac_ext <<_ACEOF
23197 cat confdefs.h
>>conftest.
$ac_ext
23198 cat >>conftest.
$ac_ext <<_ACEOF
23199 /* end confdefs.h. */
23200 $ac_includes_default
23204 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
23211 rm -f conftest.
$ac_objext
23212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23213 (eval $ac_compile) 2>conftest.er1
23215 grep -v '^ *+' conftest.er1
>conftest.err
23217 cat conftest.err
>&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } &&
23220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 (eval $ac_try) 2>&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; } &&
23226 { ac_try
='test -s conftest.$ac_objext'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; }; then
23232 ac_hi
=$ac_mid; break
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.
$ac_ext >&5
23237 ac_lo
=`expr $ac_mid + 1`
23238 if test $ac_lo -le $ac_mid; then
23242 ac_mid
=`expr 2 '*' $ac_mid + 1`
23244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23247 echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.
$ac_ext >&5
23250 cat >conftest.
$ac_ext <<_ACEOF
23253 cat confdefs.h
>>conftest.
$ac_ext
23254 cat >>conftest.
$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256 $ac_includes_default
23260 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
23267 rm -f conftest.
$ac_objext
23268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23269 (eval $ac_compile) 2>conftest.er1
23271 grep -v '^ *+' conftest.er1
>conftest.err
23273 cat conftest.err
>&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } &&
23276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; } &&
23282 { ac_try
='test -s conftest.$ac_objext'
23283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23284 (eval $ac_try) 2>&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); }; }; then
23290 cat >conftest.
$ac_ext <<_ACEOF
23293 cat confdefs.h
>>conftest.
$ac_ext
23294 cat >>conftest.
$ac_ext <<_ACEOF
23295 /* end confdefs.h. */
23296 $ac_includes_default
23300 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
23307 rm -f conftest.
$ac_objext
23308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23309 (eval $ac_compile) 2>conftest.er1
23311 grep -v '^ *+' conftest.er1
>conftest.err
23313 cat conftest.err
>&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); } &&
23316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23318 (eval $ac_try) 2>&5
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); }; } &&
23322 { ac_try
='test -s conftest.$ac_objext'
23323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23324 (eval $ac_try) 2>&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); }; }; then
23328 ac_lo
=$ac_mid; break
23330 echo "$as_me: failed program was:" >&5
23331 sed 's/^/| /' conftest.
$ac_ext >&5
23333 ac_hi
=`expr '(' $ac_mid ')' - 1`
23334 if test $ac_mid -le $ac_hi; then
23338 ac_mid
=`expr 2 '*' $ac_mid`
23340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.
$ac_ext >&5
23348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23351 # Binary search between lo and hi bounds.
23352 while test "x$ac_lo" != "x$ac_hi"; do
23353 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23354 cat >conftest.
$ac_ext <<_ACEOF
23357 cat confdefs.h
>>conftest.
$ac_ext
23358 cat >>conftest.
$ac_ext <<_ACEOF
23359 /* end confdefs.h. */
23360 $ac_includes_default
23364 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
23371 rm -f conftest.
$ac_objext
23372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23373 (eval $ac_compile) 2>conftest.er1
23375 grep -v '^ *+' conftest.er1
>conftest.err
23377 cat conftest.err
>&5
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); } &&
23380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23382 (eval $ac_try) 2>&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); }; } &&
23386 { ac_try
='test -s conftest.$ac_objext'
23387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23388 (eval $ac_try) 2>&5
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); }; }; then
23394 echo "$as_me: failed program was:" >&5
23395 sed 's/^/| /' conftest.
$ac_ext >&5
23397 ac_lo
=`expr '(' $ac_mid ')' + 1`
23399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23402 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
23403 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
23404 See \`config.log' for more details." >&5
23405 echo "$as_me: error: cannot compute sizeof (void *), 77
23406 See \`config.log' for more details." >&2;}
23407 { (exit 1); exit 1; }; } ;;
23410 if test "$cross_compiling" = yes; then
23411 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23412 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23413 { (exit 1); exit 1; }; }
23415 cat >conftest.
$ac_ext <<_ACEOF
23418 cat confdefs.h
>>conftest.
$ac_ext
23419 cat >>conftest.
$ac_ext <<_ACEOF
23420 /* end confdefs.h. */
23421 $ac_includes_default
23422 long longval () { return (long) (sizeof (void *)); }
23423 unsigned long ulongval () { return (long) (sizeof (void *)); }
23425 #include <stdlib.h>
23430 FILE *f = fopen ("conftest.val", "w");
23433 if (((long) (sizeof (void *))) < 0)
23435 long i = longval ();
23436 if (i != ((long) (sizeof (void *))))
23438 fprintf (f, "%ld\n", i);
23442 unsigned long i = ulongval ();
23443 if (i != ((long) (sizeof (void *))))
23445 fprintf (f, "%lu\n", i);
23447 exit (ferror (f) || fclose (f) != 0);
23453 rm -f conftest
$ac_exeext
23454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23455 (eval $ac_link) 2>&5
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23460 (eval $ac_try) 2>&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); }; }; then
23464 ac_cv_sizeof_void_p
=`cat conftest.val`
23466 echo "$as_me: program exited with status $ac_status" >&5
23467 echo "$as_me: failed program was:" >&5
23468 sed 's/^/| /' conftest.
$ac_ext >&5
23470 ( exit $ac_status )
23471 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
23472 See \`config.log' for more details." >&5
23473 echo "$as_me: error: cannot compute sizeof (void *), 77
23474 See \`config.log' for more details." >&2;}
23475 { (exit 1); exit 1; }; }
23477 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23482 ac_cv_sizeof_void_p
=0
23485 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
23486 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
23487 cat >>confdefs.h
<<_ACEOF
23488 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
23492 echo "$as_me:$LINENO: checking for size_t" >&5
23493 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
23494 if test "${ac_cv_type_size_t+set}" = set; then
23495 echo $ECHO_N "(cached) $ECHO_C" >&6
23497 cat >conftest.
$ac_ext <<_ACEOF
23500 cat confdefs.h
>>conftest.
$ac_ext
23501 cat >>conftest.
$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503 $ac_includes_default
23509 if (sizeof (size_t))
23515 rm -f conftest.
$ac_objext
23516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23517 (eval $ac_compile) 2>conftest.er1
23519 grep -v '^ *+' conftest.er1
>conftest.err
23521 cat conftest.err
>&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); } &&
23524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23526 (eval $ac_try) 2>&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); }; } &&
23530 { ac_try
='test -s conftest.$ac_objext'
23531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23532 (eval $ac_try) 2>&5
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); }; }; then
23536 ac_cv_type_size_t
=yes
23538 echo "$as_me: failed program was:" >&5
23539 sed 's/^/| /' conftest.
$ac_ext >&5
23541 ac_cv_type_size_t
=no
23543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23545 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23546 echo "${ECHO_T}$ac_cv_type_size_t" >&6
23548 echo "$as_me:$LINENO: checking size of size_t" >&5
23549 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
23550 if test "${ac_cv_sizeof_size_t+set}" = set; then
23551 echo $ECHO_N "(cached) $ECHO_C" >&6
23553 if test "$ac_cv_type_size_t" = yes; then
23554 # The cast to unsigned long works around a bug in the HP C Compiler
23555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23557 # This bug is HP SR number 8606223364.
23558 if test "$cross_compiling" = yes; then
23559 # Depending upon the size, compute the lo and hi bounds.
23560 cat >conftest.
$ac_ext <<_ACEOF
23563 cat confdefs.h
>>conftest.
$ac_ext
23564 cat >>conftest.
$ac_ext <<_ACEOF
23565 /* end confdefs.h. */
23566 $ac_includes_default
23570 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
23577 rm -f conftest.
$ac_objext
23578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23579 (eval $ac_compile) 2>conftest.er1
23581 grep -v '^ *+' conftest.er1
>conftest.err
23583 cat conftest.err
>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } &&
23586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23588 (eval $ac_try) 2>&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; } &&
23592 { ac_try
='test -s conftest.$ac_objext'
23593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23594 (eval $ac_try) 2>&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); }; }; then
23600 cat >conftest.
$ac_ext <<_ACEOF
23603 cat confdefs.h
>>conftest.
$ac_ext
23604 cat >>conftest.
$ac_ext <<_ACEOF
23605 /* end confdefs.h. */
23606 $ac_includes_default
23610 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
23617 rm -f conftest.
$ac_objext
23618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23619 (eval $ac_compile) 2>conftest.er1
23621 grep -v '^ *+' conftest.er1
>conftest.err
23623 cat conftest.err
>&5
23624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23625 (exit $ac_status); } &&
23626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23628 (eval $ac_try) 2>&5
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); }; } &&
23632 { ac_try
='test -s conftest.$ac_objext'
23633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634 (eval $ac_try) 2>&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); }; }; then
23638 ac_hi
=$ac_mid; break
23640 echo "$as_me: failed program was:" >&5
23641 sed 's/^/| /' conftest.
$ac_ext >&5
23643 ac_lo
=`expr $ac_mid + 1`
23644 if test $ac_lo -le $ac_mid; then
23648 ac_mid
=`expr 2 '*' $ac_mid + 1`
23650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23653 echo "$as_me: failed program was:" >&5
23654 sed 's/^/| /' conftest.
$ac_ext >&5
23656 cat >conftest.
$ac_ext <<_ACEOF
23659 cat confdefs.h
>>conftest.
$ac_ext
23660 cat >>conftest.
$ac_ext <<_ACEOF
23661 /* end confdefs.h. */
23662 $ac_includes_default
23666 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
23673 rm -f conftest.
$ac_objext
23674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23675 (eval $ac_compile) 2>conftest.er1
23677 grep -v '^ *+' conftest.er1
>conftest.err
23679 cat conftest.err
>&5
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); } &&
23682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23684 (eval $ac_try) 2>&5
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); }; } &&
23688 { ac_try
='test -s conftest.$ac_objext'
23689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23690 (eval $ac_try) 2>&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; }; then
23696 cat >conftest.
$ac_ext <<_ACEOF
23699 cat confdefs.h
>>conftest.
$ac_ext
23700 cat >>conftest.
$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 $ac_includes_default
23706 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
23713 rm -f conftest.
$ac_objext
23714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23715 (eval $ac_compile) 2>conftest.er1
23717 grep -v '^ *+' conftest.er1
>conftest.err
23719 cat conftest.err
>&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } &&
23722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; } &&
23728 { ac_try
='test -s conftest.$ac_objext'
23729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23730 (eval $ac_try) 2>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); }; }; then
23734 ac_lo
=$ac_mid; break
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.
$ac_ext >&5
23739 ac_hi
=`expr '(' $ac_mid ')' - 1`
23740 if test $ac_mid -le $ac_hi; then
23744 ac_mid
=`expr 2 '*' $ac_mid`
23746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23749 echo "$as_me: failed program was:" >&5
23750 sed 's/^/| /' conftest.
$ac_ext >&5
23754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23757 # Binary search between lo and hi bounds.
23758 while test "x$ac_lo" != "x$ac_hi"; do
23759 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23760 cat >conftest.
$ac_ext <<_ACEOF
23763 cat confdefs.h
>>conftest.
$ac_ext
23764 cat >>conftest.
$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23766 $ac_includes_default
23770 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
23777 rm -f conftest.
$ac_objext
23778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23779 (eval $ac_compile) 2>conftest.er1
23781 grep -v '^ *+' conftest.er1
>conftest.err
23783 cat conftest.err
>&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); } &&
23786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23788 (eval $ac_try) 2>&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); }; } &&
23792 { ac_try
='test -s conftest.$ac_objext'
23793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23794 (eval $ac_try) 2>&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); }; }; then
23800 echo "$as_me: failed program was:" >&5
23801 sed 's/^/| /' conftest.
$ac_ext >&5
23803 ac_lo
=`expr '(' $ac_mid ')' + 1`
23805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23808 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
23809 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
23810 See \`config.log' for more details." >&5
23811 echo "$as_me: error: cannot compute sizeof (size_t), 77
23812 See \`config.log' for more details." >&2;}
23813 { (exit 1); exit 1; }; } ;;
23816 if test "$cross_compiling" = yes; then
23817 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23818 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23819 { (exit 1); exit 1; }; }
23821 cat >conftest.
$ac_ext <<_ACEOF
23824 cat confdefs.h
>>conftest.
$ac_ext
23825 cat >>conftest.
$ac_ext <<_ACEOF
23826 /* end confdefs.h. */
23827 $ac_includes_default
23828 long longval () { return (long) (sizeof (size_t)); }
23829 unsigned long ulongval () { return (long) (sizeof (size_t)); }
23831 #include <stdlib.h>
23836 FILE *f = fopen ("conftest.val", "w");
23839 if (((long) (sizeof (size_t))) < 0)
23841 long i = longval ();
23842 if (i != ((long) (sizeof (size_t))))
23844 fprintf (f, "%ld\n", i);
23848 unsigned long i = ulongval ();
23849 if (i != ((long) (sizeof (size_t))))
23851 fprintf (f, "%lu\n", i);
23853 exit (ferror (f) || fclose (f) != 0);
23859 rm -f conftest
$ac_exeext
23860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23861 (eval $ac_link) 2>&5
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23866 (eval $ac_try) 2>&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); }; }; then
23870 ac_cv_sizeof_size_t
=`cat conftest.val`
23872 echo "$as_me: program exited with status $ac_status" >&5
23873 echo "$as_me: failed program was:" >&5
23874 sed 's/^/| /' conftest.
$ac_ext >&5
23876 ( exit $ac_status )
23877 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
23878 See \`config.log' for more details." >&5
23879 echo "$as_me: error: cannot compute sizeof (size_t), 77
23880 See \`config.log' for more details." >&2;}
23881 { (exit 1); exit 1; }; }
23883 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23888 ac_cv_sizeof_size_t
=0
23891 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23892 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
23893 cat >>confdefs.h
<<_ACEOF
23894 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23898 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
23899 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
23900 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
23901 echo $ECHO_N "(cached) $ECHO_C" >&6
23903 cat >conftest.
$ac_ext <<_ACEOF
23906 cat confdefs.h
>>conftest.
$ac_ext
23907 cat >>conftest.
$ac_ext <<_ACEOF
23908 /* end confdefs.h. */
23909 $ac_includes_default
23913 if ((ptrdiff_t *) 0)
23915 if (sizeof (ptrdiff_t))
23921 rm -f conftest.
$ac_objext
23922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23923 (eval $ac_compile) 2>conftest.er1
23925 grep -v '^ *+' conftest.er1
>conftest.err
23927 cat conftest.err
>&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); } &&
23930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23932 (eval $ac_try) 2>&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); }; } &&
23936 { ac_try
='test -s conftest.$ac_objext'
23937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23938 (eval $ac_try) 2>&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); }; }; then
23942 ac_cv_type_ptrdiff_t
=yes
23944 echo "$as_me: failed program was:" >&5
23945 sed 's/^/| /' conftest.
$ac_ext >&5
23947 ac_cv_type_ptrdiff_t
=no
23949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23951 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
23952 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
23954 echo "$as_me:$LINENO: checking size of ptrdiff_t" >&5
23955 echo $ECHO_N "checking size of ptrdiff_t... $ECHO_C" >&6
23956 if test "${ac_cv_sizeof_ptrdiff_t+set}" = set; then
23957 echo $ECHO_N "(cached) $ECHO_C" >&6
23959 if test "$ac_cv_type_ptrdiff_t" = yes; then
23960 # The cast to unsigned long works around a bug in the HP C Compiler
23961 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23962 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23963 # This bug is HP SR number 8606223364.
23964 if test "$cross_compiling" = yes; then
23965 # Depending upon the size, compute the lo and hi bounds.
23966 cat >conftest.
$ac_ext <<_ACEOF
23969 cat confdefs.h
>>conftest.
$ac_ext
23970 cat >>conftest.
$ac_ext <<_ACEOF
23971 /* end confdefs.h. */
23972 $ac_includes_default
23976 static int test_array [1 - 2 * !(((long) (sizeof (ptrdiff_t))) >= 0)];
23983 rm -f conftest.
$ac_objext
23984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23985 (eval $ac_compile) 2>conftest.er1
23987 grep -v '^ *+' conftest.er1
>conftest.err
23989 cat conftest.err
>&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); } &&
23992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23994 (eval $ac_try) 2>&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); }; } &&
23998 { ac_try
='test -s conftest.$ac_objext'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; }; then
24006 cat >conftest.
$ac_ext <<_ACEOF
24009 cat confdefs.h
>>conftest.
$ac_ext
24010 cat >>conftest.
$ac_ext <<_ACEOF
24011 /* end confdefs.h. */
24012 $ac_includes_default
24016 static int test_array [1 - 2 * !(((long) (sizeof (ptrdiff_t))) <= $ac_mid)];
24023 rm -f conftest.
$ac_objext
24024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24025 (eval $ac_compile) 2>conftest.er1
24027 grep -v '^ *+' conftest.er1
>conftest.err
24029 cat conftest.err
>&5
24030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031 (exit $ac_status); } &&
24032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24034 (eval $ac_try) 2>&5
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); }; } &&
24038 { ac_try
='test -s conftest.$ac_objext'
24039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24040 (eval $ac_try) 2>&5
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); }; }; then
24044 ac_hi
=$ac_mid; break
24046 echo "$as_me: failed program was:" >&5
24047 sed 's/^/| /' conftest.
$ac_ext >&5
24049 ac_lo
=`expr $ac_mid + 1`
24050 if test $ac_lo -le $ac_mid; then
24054 ac_mid
=`expr 2 '*' $ac_mid + 1`
24056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24059 echo "$as_me: failed program was:" >&5
24060 sed 's/^/| /' conftest.
$ac_ext >&5
24062 cat >conftest.
$ac_ext <<_ACEOF
24065 cat confdefs.h
>>conftest.
$ac_ext
24066 cat >>conftest.
$ac_ext <<_ACEOF
24067 /* end confdefs.h. */
24068 $ac_includes_default
24072 static int test_array [1 - 2 * !(((long) (sizeof (ptrdiff_t))) < 0)];
24079 rm -f conftest.
$ac_objext
24080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24081 (eval $ac_compile) 2>conftest.er1
24083 grep -v '^ *+' conftest.er1
>conftest.err
24085 cat conftest.err
>&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); } &&
24088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24090 (eval $ac_try) 2>&5
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); }; } &&
24094 { ac_try
='test -s conftest.$ac_objext'
24095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24096 (eval $ac_try) 2>&5
24098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24099 (exit $ac_status); }; }; then
24102 cat >conftest.
$ac_ext <<_ACEOF
24105 cat confdefs.h
>>conftest.
$ac_ext
24106 cat >>conftest.
$ac_ext <<_ACEOF
24107 /* end confdefs.h. */
24108 $ac_includes_default
24112 static int test_array [1 - 2 * !(((long) (sizeof (ptrdiff_t))) >= $ac_mid)];
24119 rm -f conftest.
$ac_objext
24120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24121 (eval $ac_compile) 2>conftest.er1
24123 grep -v '^ *+' conftest.er1
>conftest.err
24125 cat conftest.err
>&5
24126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127 (exit $ac_status); } &&
24128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24130 (eval $ac_try) 2>&5
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); }; } &&
24134 { ac_try
='test -s conftest.$ac_objext'
24135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24136 (eval $ac_try) 2>&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); }; }; then
24140 ac_lo
=$ac_mid; break
24142 echo "$as_me: failed program was:" >&5
24143 sed 's/^/| /' conftest.
$ac_ext >&5
24145 ac_hi
=`expr '(' $ac_mid ')' - 1`
24146 if test $ac_mid -le $ac_hi; then
24150 ac_mid
=`expr 2 '*' $ac_mid`
24152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24155 echo "$as_me: failed program was:" >&5
24156 sed 's/^/| /' conftest.
$ac_ext >&5
24160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24163 # Binary search between lo and hi bounds.
24164 while test "x$ac_lo" != "x$ac_hi"; do
24165 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24166 cat >conftest.
$ac_ext <<_ACEOF
24169 cat confdefs.h
>>conftest.
$ac_ext
24170 cat >>conftest.
$ac_ext <<_ACEOF
24171 /* end confdefs.h. */
24172 $ac_includes_default
24176 static int test_array [1 - 2 * !(((long) (sizeof (ptrdiff_t))) <= $ac_mid)];
24183 rm -f conftest.
$ac_objext
24184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24185 (eval $ac_compile) 2>conftest.er1
24187 grep -v '^ *+' conftest.er1
>conftest.err
24189 cat conftest.err
>&5
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); } &&
24192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24194 (eval $ac_try) 2>&5
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); }; } &&
24198 { ac_try
='test -s conftest.$ac_objext'
24199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24200 (eval $ac_try) 2>&5
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); }; }; then
24206 echo "$as_me: failed program was:" >&5
24207 sed 's/^/| /' conftest.
$ac_ext >&5
24209 ac_lo
=`expr '(' $ac_mid ')' + 1`
24211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24214 ?
*) ac_cv_sizeof_ptrdiff_t
=$ac_lo;;
24215 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (ptrdiff_t), 77
24216 See \`config.log' for more details." >&5
24217 echo "$as_me: error: cannot compute sizeof (ptrdiff_t), 77
24218 See \`config.log' for more details." >&2;}
24219 { (exit 1); exit 1; }; } ;;
24222 if test "$cross_compiling" = yes; then
24223 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
24224 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
24225 { (exit 1); exit 1; }; }
24227 cat >conftest.
$ac_ext <<_ACEOF
24230 cat confdefs.h
>>conftest.
$ac_ext
24231 cat >>conftest.
$ac_ext <<_ACEOF
24232 /* end confdefs.h. */
24233 $ac_includes_default
24234 long longval () { return (long) (sizeof (ptrdiff_t)); }
24235 unsigned long ulongval () { return (long) (sizeof (ptrdiff_t)); }
24237 #include <stdlib.h>
24242 FILE *f = fopen ("conftest.val", "w");
24245 if (((long) (sizeof (ptrdiff_t))) < 0)
24247 long i = longval ();
24248 if (i != ((long) (sizeof (ptrdiff_t))))
24250 fprintf (f, "%ld\n", i);
24254 unsigned long i = ulongval ();
24255 if (i != ((long) (sizeof (ptrdiff_t))))
24257 fprintf (f, "%lu\n", i);
24259 exit (ferror (f) || fclose (f) != 0);
24265 rm -f conftest
$ac_exeext
24266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24267 (eval $ac_link) 2>&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24272 (eval $ac_try) 2>&5
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); }; }; then
24276 ac_cv_sizeof_ptrdiff_t
=`cat conftest.val`
24278 echo "$as_me: program exited with status $ac_status" >&5
24279 echo "$as_me: failed program was:" >&5
24280 sed 's/^/| /' conftest.
$ac_ext >&5
24282 ( exit $ac_status )
24283 { { echo "$as_me:$LINENO: error: cannot compute sizeof (ptrdiff_t), 77
24284 See \`config.log' for more details." >&5
24285 echo "$as_me: error: cannot compute sizeof (ptrdiff_t), 77
24286 See \`config.log' for more details." >&2;}
24287 { (exit 1); exit 1; }; }
24289 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24294 ac_cv_sizeof_ptrdiff_t
=0
24297 echo "$as_me:$LINENO: result: $ac_cv_sizeof_ptrdiff_t" >&5
24298 echo "${ECHO_T}$ac_cv_sizeof_ptrdiff_t" >&6
24299 cat >>confdefs.h
<<_ACEOF
24300 #define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
24306 echo "$as_me:$LINENO: checking for __int32" >&5
24307 echo $ECHO_N "checking for __int32... $ECHO_C" >&6
24308 if test "${ac_cv_type___int32+set}" = set; then
24309 echo $ECHO_N "(cached) $ECHO_C" >&6
24311 cat >conftest.
$ac_ext <<_ACEOF
24314 cat confdefs.h
>>conftest.
$ac_ext
24315 cat >>conftest.
$ac_ext <<_ACEOF
24316 /* end confdefs.h. */
24317 $ac_includes_default
24323 if (sizeof (__int32))
24329 rm -f conftest.
$ac_objext
24330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24331 (eval $ac_compile) 2>conftest.er1
24333 grep -v '^ *+' conftest.er1
>conftest.err
24335 cat conftest.err
>&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } &&
24338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24340 (eval $ac_try) 2>&5
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); }; } &&
24344 { ac_try
='test -s conftest.$ac_objext'
24345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24346 (eval $ac_try) 2>&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); }; }; then
24350 ac_cv_type___int32
=yes
24352 echo "$as_me: failed program was:" >&5
24353 sed 's/^/| /' conftest.
$ac_ext >&5
24355 ac_cv_type___int32
=no
24357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24359 echo "$as_me:$LINENO: result: $ac_cv_type___int32" >&5
24360 echo "${ECHO_T}$ac_cv_type___int32" >&6
24362 echo "$as_me:$LINENO: checking size of __int32" >&5
24363 echo $ECHO_N "checking size of __int32... $ECHO_C" >&6
24364 if test "${ac_cv_sizeof___int32+set}" = set; then
24365 echo $ECHO_N "(cached) $ECHO_C" >&6
24367 if test "$ac_cv_type___int32" = yes; then
24368 # The cast to unsigned long works around a bug in the HP C Compiler
24369 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24370 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24371 # This bug is HP SR number 8606223364.
24372 if test "$cross_compiling" = yes; then
24373 # Depending upon the size, compute the lo and hi bounds.
24374 cat >conftest.
$ac_ext <<_ACEOF
24377 cat confdefs.h
>>conftest.
$ac_ext
24378 cat >>conftest.
$ac_ext <<_ACEOF
24379 /* end confdefs.h. */
24380 $ac_includes_default
24384 static int test_array [1 - 2 * !(((long) (sizeof (__int32))) >= 0)];
24391 rm -f conftest.
$ac_objext
24392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24393 (eval $ac_compile) 2>conftest.er1
24395 grep -v '^ *+' conftest.er1
>conftest.err
24397 cat conftest.err
>&5
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); } &&
24400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24402 (eval $ac_try) 2>&5
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); }; } &&
24406 { ac_try
='test -s conftest.$ac_objext'
24407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24408 (eval $ac_try) 2>&5
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); }; }; then
24414 cat >conftest.
$ac_ext <<_ACEOF
24417 cat confdefs.h
>>conftest.
$ac_ext
24418 cat >>conftest.
$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24420 $ac_includes_default
24424 static int test_array [1 - 2 * !(((long) (sizeof (__int32))) <= $ac_mid)];
24431 rm -f conftest.
$ac_objext
24432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24433 (eval $ac_compile) 2>conftest.er1
24435 grep -v '^ *+' conftest.er1
>conftest.err
24437 cat conftest.err
>&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } &&
24440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24442 (eval $ac_try) 2>&5
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); }; } &&
24446 { ac_try
='test -s conftest.$ac_objext'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; }; then
24452 ac_hi
=$ac_mid; break
24454 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.
$ac_ext >&5
24457 ac_lo
=`expr $ac_mid + 1`
24458 if test $ac_lo -le $ac_mid; then
24462 ac_mid
=`expr 2 '*' $ac_mid + 1`
24464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24467 echo "$as_me: failed program was:" >&5
24468 sed 's/^/| /' conftest.
$ac_ext >&5
24470 cat >conftest.
$ac_ext <<_ACEOF
24473 cat confdefs.h
>>conftest.
$ac_ext
24474 cat >>conftest.
$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24476 $ac_includes_default
24480 static int test_array [1 - 2 * !(((long) (sizeof (__int32))) < 0)];
24487 rm -f conftest.
$ac_objext
24488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24489 (eval $ac_compile) 2>conftest.er1
24491 grep -v '^ *+' conftest.er1
>conftest.err
24493 cat conftest.err
>&5
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); } &&
24496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24498 (eval $ac_try) 2>&5
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); }; } &&
24502 { ac_try
='test -s conftest.$ac_objext'
24503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24504 (eval $ac_try) 2>&5
24506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507 (exit $ac_status); }; }; then
24510 cat >conftest.
$ac_ext <<_ACEOF
24513 cat confdefs.h
>>conftest.
$ac_ext
24514 cat >>conftest.
$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24516 $ac_includes_default
24520 static int test_array [1 - 2 * !(((long) (sizeof (__int32))) >= $ac_mid)];
24527 rm -f conftest.
$ac_objext
24528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24529 (eval $ac_compile) 2>conftest.er1
24531 grep -v '^ *+' conftest.er1
>conftest.err
24533 cat conftest.err
>&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } &&
24536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538 (eval $ac_try) 2>&5
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); }; } &&
24542 { ac_try
='test -s conftest.$ac_objext'
24543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24544 (eval $ac_try) 2>&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); }; }; then
24548 ac_lo
=$ac_mid; break
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.
$ac_ext >&5
24553 ac_hi
=`expr '(' $ac_mid ')' - 1`
24554 if test $ac_mid -le $ac_hi; then
24558 ac_mid
=`expr 2 '*' $ac_mid`
24560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24563 echo "$as_me: failed program was:" >&5
24564 sed 's/^/| /' conftest.
$ac_ext >&5
24568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24571 # Binary search between lo and hi bounds.
24572 while test "x$ac_lo" != "x$ac_hi"; do
24573 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24574 cat >conftest.
$ac_ext <<_ACEOF
24577 cat confdefs.h
>>conftest.
$ac_ext
24578 cat >>conftest.
$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580 $ac_includes_default
24584 static int test_array [1 - 2 * !(((long) (sizeof (__int32))) <= $ac_mid)];
24591 rm -f conftest.
$ac_objext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24593 (eval $ac_compile) 2>conftest.er1
24595 grep -v '^ *+' conftest.er1
>conftest.err
24597 cat conftest.err
>&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } &&
24600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24602 (eval $ac_try) 2>&5
24604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24605 (exit $ac_status); }; } &&
24606 { ac_try
='test -s conftest.$ac_objext'
24607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24608 (eval $ac_try) 2>&5
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); }; }; then
24614 echo "$as_me: failed program was:" >&5
24615 sed 's/^/| /' conftest.
$ac_ext >&5
24617 ac_lo
=`expr '(' $ac_mid ')' + 1`
24619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24622 ?
*) ac_cv_sizeof___int32
=$ac_lo;;
24623 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int32), 77
24624 See \`config.log' for more details." >&5
24625 echo "$as_me: error: cannot compute sizeof (__int32), 77
24626 See \`config.log' for more details." >&2;}
24627 { (exit 1); exit 1; }; } ;;
24630 if test "$cross_compiling" = yes; then
24631 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
24632 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
24633 { (exit 1); exit 1; }; }
24635 cat >conftest.
$ac_ext <<_ACEOF
24638 cat confdefs.h
>>conftest.
$ac_ext
24639 cat >>conftest.
$ac_ext <<_ACEOF
24640 /* end confdefs.h. */
24641 $ac_includes_default
24642 long longval () { return (long) (sizeof (__int32)); }
24643 unsigned long ulongval () { return (long) (sizeof (__int32)); }
24645 #include <stdlib.h>
24650 FILE *f = fopen ("conftest.val", "w");
24653 if (((long) (sizeof (__int32))) < 0)
24655 long i = longval ();
24656 if (i != ((long) (sizeof (__int32))))
24658 fprintf (f, "%ld\n", i);
24662 unsigned long i = ulongval ();
24663 if (i != ((long) (sizeof (__int32))))
24665 fprintf (f, "%lu\n", i);
24667 exit (ferror (f) || fclose (f) != 0);
24673 rm -f conftest
$ac_exeext
24674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24675 (eval $ac_link) 2>&5
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24680 (eval $ac_try) 2>&5
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); }; }; then
24684 ac_cv_sizeof___int32
=`cat conftest.val`
24686 echo "$as_me: program exited with status $ac_status" >&5
24687 echo "$as_me: failed program was:" >&5
24688 sed 's/^/| /' conftest.
$ac_ext >&5
24690 ( exit $ac_status )
24691 { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int32), 77
24692 See \`config.log' for more details." >&5
24693 echo "$as_me: error: cannot compute sizeof (__int32), 77
24694 See \`config.log' for more details." >&2;}
24695 { (exit 1); exit 1; }; }
24697 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24702 ac_cv_sizeof___int32
=0
24705 echo "$as_me:$LINENO: result: $ac_cv_sizeof___int32" >&5
24706 echo "${ECHO_T}$ac_cv_sizeof___int32" >&6
24707 cat >>confdefs.h
<<_ACEOF
24708 #define SIZEOF___INT32 $ac_cv_sizeof___int32
24712 echo "$as_me:$LINENO: checking for intmax_t" >&5
24713 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
24714 if test "${ac_cv_type_intmax_t+set}" = set; then
24715 echo $ECHO_N "(cached) $ECHO_C" >&6
24717 cat >conftest.
$ac_ext <<_ACEOF
24720 cat confdefs.h
>>conftest.
$ac_ext
24721 cat >>conftest.
$ac_ext <<_ACEOF
24722 /* end confdefs.h. */
24723 $ac_includes_default
24727 if ((intmax_t *) 0)
24729 if (sizeof (intmax_t))
24735 rm -f conftest.
$ac_objext
24736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24737 (eval $ac_compile) 2>conftest.er1
24739 grep -v '^ *+' conftest.er1
>conftest.err
24741 cat conftest.err
>&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } &&
24744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24746 (eval $ac_try) 2>&5
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); }; } &&
24750 { ac_try
='test -s conftest.$ac_objext'
24751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24752 (eval $ac_try) 2>&5
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); }; }; then
24756 ac_cv_type_intmax_t
=yes
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.
$ac_ext >&5
24761 ac_cv_type_intmax_t
=no
24763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24765 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
24766 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
24768 echo "$as_me:$LINENO: checking size of intmax_t" >&5
24769 echo $ECHO_N "checking size of intmax_t... $ECHO_C" >&6
24770 if test "${ac_cv_sizeof_intmax_t+set}" = set; then
24771 echo $ECHO_N "(cached) $ECHO_C" >&6
24773 if test "$ac_cv_type_intmax_t" = yes; then
24774 # The cast to unsigned long works around a bug in the HP C Compiler
24775 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24776 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24777 # This bug is HP SR number 8606223364.
24778 if test "$cross_compiling" = yes; then
24779 # Depending upon the size, compute the lo and hi bounds.
24780 cat >conftest.
$ac_ext <<_ACEOF
24783 cat confdefs.h
>>conftest.
$ac_ext
24784 cat >>conftest.
$ac_ext <<_ACEOF
24785 /* end confdefs.h. */
24786 $ac_includes_default
24790 static int test_array [1 - 2 * !(((long) (sizeof (intmax_t))) >= 0)];
24797 rm -f conftest.
$ac_objext
24798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24799 (eval $ac_compile) 2>conftest.er1
24801 grep -v '^ *+' conftest.er1
>conftest.err
24803 cat conftest.err
>&5
24804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24805 (exit $ac_status); } &&
24806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24808 (eval $ac_try) 2>&5
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); }; } &&
24812 { ac_try
='test -s conftest.$ac_objext'
24813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24814 (eval $ac_try) 2>&5
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); }; }; then
24820 cat >conftest.
$ac_ext <<_ACEOF
24823 cat confdefs.h
>>conftest.
$ac_ext
24824 cat >>conftest.
$ac_ext <<_ACEOF
24825 /* end confdefs.h. */
24826 $ac_includes_default
24830 static int test_array [1 - 2 * !(((long) (sizeof (intmax_t))) <= $ac_mid)];
24837 rm -f conftest.
$ac_objext
24838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24839 (eval $ac_compile) 2>conftest.er1
24841 grep -v '^ *+' conftest.er1
>conftest.err
24843 cat conftest.err
>&5
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); } &&
24846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24848 (eval $ac_try) 2>&5
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); }; } &&
24852 { ac_try
='test -s conftest.$ac_objext'
24853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24854 (eval $ac_try) 2>&5
24856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24857 (exit $ac_status); }; }; then
24858 ac_hi
=$ac_mid; break
24860 echo "$as_me: failed program was:" >&5
24861 sed 's/^/| /' conftest.
$ac_ext >&5
24863 ac_lo
=`expr $ac_mid + 1`
24864 if test $ac_lo -le $ac_mid; then
24868 ac_mid
=`expr 2 '*' $ac_mid + 1`
24870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24873 echo "$as_me: failed program was:" >&5
24874 sed 's/^/| /' conftest.
$ac_ext >&5
24876 cat >conftest.
$ac_ext <<_ACEOF
24879 cat confdefs.h
>>conftest.
$ac_ext
24880 cat >>conftest.
$ac_ext <<_ACEOF
24881 /* end confdefs.h. */
24882 $ac_includes_default
24886 static int test_array [1 - 2 * !(((long) (sizeof (intmax_t))) < 0)];
24893 rm -f conftest.
$ac_objext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895 (eval $ac_compile) 2>conftest.er1
24897 grep -v '^ *+' conftest.er1
>conftest.err
24899 cat conftest.err
>&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; } &&
24908 { ac_try
='test -s conftest.$ac_objext'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; }; then
24916 cat >conftest.
$ac_ext <<_ACEOF
24919 cat confdefs.h
>>conftest.
$ac_ext
24920 cat >>conftest.
$ac_ext <<_ACEOF
24921 /* end confdefs.h. */
24922 $ac_includes_default
24926 static int test_array [1 - 2 * !(((long) (sizeof (intmax_t))) >= $ac_mid)];
24933 rm -f conftest.
$ac_objext
24934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24935 (eval $ac_compile) 2>conftest.er1
24937 grep -v '^ *+' conftest.er1
>conftest.err
24939 cat conftest.err
>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } &&
24942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944 (eval $ac_try) 2>&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); }; } &&
24948 { ac_try
='test -s conftest.$ac_objext'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; }; then
24954 ac_lo
=$ac_mid; break
24956 echo "$as_me: failed program was:" >&5
24957 sed 's/^/| /' conftest.
$ac_ext >&5
24959 ac_hi
=`expr '(' $ac_mid ')' - 1`
24960 if test $ac_mid -le $ac_hi; then
24964 ac_mid
=`expr 2 '*' $ac_mid`
24966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24969 echo "$as_me: failed program was:" >&5
24970 sed 's/^/| /' conftest.
$ac_ext >&5
24974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24977 # Binary search between lo and hi bounds.
24978 while test "x$ac_lo" != "x$ac_hi"; do
24979 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24980 cat >conftest.
$ac_ext <<_ACEOF
24983 cat confdefs.h
>>conftest.
$ac_ext
24984 cat >>conftest.
$ac_ext <<_ACEOF
24985 /* end confdefs.h. */
24986 $ac_includes_default
24990 static int test_array [1 - 2 * !(((long) (sizeof (intmax_t))) <= $ac_mid)];
24997 rm -f conftest.
$ac_objext
24998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24999 (eval $ac_compile) 2>conftest.er1
25001 grep -v '^ *+' conftest.er1
>conftest.err
25003 cat conftest.err
>&5
25004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); } &&
25006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25008 (eval $ac_try) 2>&5
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); }; } &&
25012 { ac_try
='test -s conftest.$ac_objext'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; }; then
25020 echo "$as_me: failed program was:" >&5
25021 sed 's/^/| /' conftest.
$ac_ext >&5
25023 ac_lo
=`expr '(' $ac_mid ')' + 1`
25025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25028 ?
*) ac_cv_sizeof_intmax_t
=$ac_lo;;
25029 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (intmax_t), 77
25030 See \`config.log' for more details." >&5
25031 echo "$as_me: error: cannot compute sizeof (intmax_t), 77
25032 See \`config.log' for more details." >&2;}
25033 { (exit 1); exit 1; }; } ;;
25036 if test "$cross_compiling" = yes; then
25037 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
25038 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
25039 { (exit 1); exit 1; }; }
25041 cat >conftest.
$ac_ext <<_ACEOF
25044 cat confdefs.h
>>conftest.
$ac_ext
25045 cat >>conftest.
$ac_ext <<_ACEOF
25046 /* end confdefs.h. */
25047 $ac_includes_default
25048 long longval () { return (long) (sizeof (intmax_t)); }
25049 unsigned long ulongval () { return (long) (sizeof (intmax_t)); }
25051 #include <stdlib.h>
25056 FILE *f = fopen ("conftest.val", "w");
25059 if (((long) (sizeof (intmax_t))) < 0)
25061 long i = longval ();
25062 if (i != ((long) (sizeof (intmax_t))))
25064 fprintf (f, "%ld\n", i);
25068 unsigned long i = ulongval ();
25069 if (i != ((long) (sizeof (intmax_t))))
25071 fprintf (f, "%lu\n", i);
25073 exit (ferror (f) || fclose (f) != 0);
25079 rm -f conftest
$ac_exeext
25080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25081 (eval $ac_link) 2>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25086 (eval $ac_try) 2>&5
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); }; }; then
25090 ac_cv_sizeof_intmax_t
=`cat conftest.val`
25092 echo "$as_me: program exited with status $ac_status" >&5
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.
$ac_ext >&5
25096 ( exit $ac_status )
25097 { { echo "$as_me:$LINENO: error: cannot compute sizeof (intmax_t), 77
25098 See \`config.log' for more details." >&5
25099 echo "$as_me: error: cannot compute sizeof (intmax_t), 77
25100 See \`config.log' for more details." >&2;}
25101 { (exit 1); exit 1; }; }
25103 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25108 ac_cv_sizeof_intmax_t
=0
25111 echo "$as_me:$LINENO: result: $ac_cv_sizeof_intmax_t" >&5
25112 echo "${ECHO_T}$ac_cv_sizeof_intmax_t" >&6
25113 cat >>confdefs.h
<<_ACEOF
25114 #define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
25118 echo "$as_me:$LINENO: checking for uintmax_t" >&5
25119 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
25120 if test "${ac_cv_type_uintmax_t+set}" = set; then
25121 echo $ECHO_N "(cached) $ECHO_C" >&6
25123 cat >conftest.
$ac_ext <<_ACEOF
25126 cat confdefs.h
>>conftest.
$ac_ext
25127 cat >>conftest.
$ac_ext <<_ACEOF
25128 /* end confdefs.h. */
25129 $ac_includes_default
25133 if ((uintmax_t *) 0)
25135 if (sizeof (uintmax_t))
25141 rm -f conftest.
$ac_objext
25142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25143 (eval $ac_compile) 2>conftest.er1
25145 grep -v '^ *+' conftest.er1
>conftest.err
25147 cat conftest.err
>&5
25148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25149 (exit $ac_status); } &&
25150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25152 (eval $ac_try) 2>&5
25154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25155 (exit $ac_status); }; } &&
25156 { ac_try
='test -s conftest.$ac_objext'
25157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25158 (eval $ac_try) 2>&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); }; }; then
25162 ac_cv_type_uintmax_t
=yes
25164 echo "$as_me: failed program was:" >&5
25165 sed 's/^/| /' conftest.
$ac_ext >&5
25167 ac_cv_type_uintmax_t
=no
25169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25171 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
25172 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
25174 echo "$as_me:$LINENO: checking size of uintmax_t" >&5
25175 echo $ECHO_N "checking size of uintmax_t... $ECHO_C" >&6
25176 if test "${ac_cv_sizeof_uintmax_t+set}" = set; then
25177 echo $ECHO_N "(cached) $ECHO_C" >&6
25179 if test "$ac_cv_type_uintmax_t" = yes; then
25180 # The cast to unsigned long works around a bug in the HP C Compiler
25181 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25182 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25183 # This bug is HP SR number 8606223364.
25184 if test "$cross_compiling" = yes; then
25185 # Depending upon the size, compute the lo and hi bounds.
25186 cat >conftest.
$ac_ext <<_ACEOF
25189 cat confdefs.h
>>conftest.
$ac_ext
25190 cat >>conftest.
$ac_ext <<_ACEOF
25191 /* end confdefs.h. */
25192 $ac_includes_default
25196 static int test_array [1 - 2 * !(((long) (sizeof (uintmax_t))) >= 0)];
25203 rm -f conftest.
$ac_objext
25204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25205 (eval $ac_compile) 2>conftest.er1
25207 grep -v '^ *+' conftest.er1
>conftest.err
25209 cat conftest.err
>&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } &&
25212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25214 (eval $ac_try) 2>&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); }; } &&
25218 { ac_try
='test -s conftest.$ac_objext'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; }; then
25226 cat >conftest.
$ac_ext <<_ACEOF
25229 cat confdefs.h
>>conftest.
$ac_ext
25230 cat >>conftest.
$ac_ext <<_ACEOF
25231 /* end confdefs.h. */
25232 $ac_includes_default
25236 static int test_array [1 - 2 * !(((long) (sizeof (uintmax_t))) <= $ac_mid)];
25243 rm -f conftest.
$ac_objext
25244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25245 (eval $ac_compile) 2>conftest.er1
25247 grep -v '^ *+' conftest.er1
>conftest.err
25249 cat conftest.err
>&5
25250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25251 (exit $ac_status); } &&
25252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25254 (eval $ac_try) 2>&5
25256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25257 (exit $ac_status); }; } &&
25258 { ac_try
='test -s conftest.$ac_objext'
25259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25260 (eval $ac_try) 2>&5
25262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25263 (exit $ac_status); }; }; then
25264 ac_hi
=$ac_mid; break
25266 echo "$as_me: failed program was:" >&5
25267 sed 's/^/| /' conftest.
$ac_ext >&5
25269 ac_lo
=`expr $ac_mid + 1`
25270 if test $ac_lo -le $ac_mid; then
25274 ac_mid
=`expr 2 '*' $ac_mid + 1`
25276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25279 echo "$as_me: failed program was:" >&5
25280 sed 's/^/| /' conftest.
$ac_ext >&5
25282 cat >conftest.
$ac_ext <<_ACEOF
25285 cat confdefs.h
>>conftest.
$ac_ext
25286 cat >>conftest.
$ac_ext <<_ACEOF
25287 /* end confdefs.h. */
25288 $ac_includes_default
25292 static int test_array [1 - 2 * !(((long) (sizeof (uintmax_t))) < 0)];
25299 rm -f conftest.
$ac_objext
25300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25301 (eval $ac_compile) 2>conftest.er1
25303 grep -v '^ *+' conftest.er1
>conftest.err
25305 cat conftest.err
>&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } &&
25308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25310 (eval $ac_try) 2>&5
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); }; } &&
25314 { ac_try
='test -s conftest.$ac_objext'
25315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25316 (eval $ac_try) 2>&5
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); }; }; then
25322 cat >conftest.
$ac_ext <<_ACEOF
25325 cat confdefs.h
>>conftest.
$ac_ext
25326 cat >>conftest.
$ac_ext <<_ACEOF
25327 /* end confdefs.h. */
25328 $ac_includes_default
25332 static int test_array [1 - 2 * !(((long) (sizeof (uintmax_t))) >= $ac_mid)];
25339 rm -f conftest.
$ac_objext
25340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25341 (eval $ac_compile) 2>conftest.er1
25343 grep -v '^ *+' conftest.er1
>conftest.err
25345 cat conftest.err
>&5
25346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347 (exit $ac_status); } &&
25348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25350 (eval $ac_try) 2>&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); }; } &&
25354 { ac_try
='test -s conftest.$ac_objext'
25355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25356 (eval $ac_try) 2>&5
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); }; }; then
25360 ac_lo
=$ac_mid; break
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.
$ac_ext >&5
25365 ac_hi
=`expr '(' $ac_mid ')' - 1`
25366 if test $ac_mid -le $ac_hi; then
25370 ac_mid
=`expr 2 '*' $ac_mid`
25372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25375 echo "$as_me: failed program was:" >&5
25376 sed 's/^/| /' conftest.
$ac_ext >&5
25380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25383 # Binary search between lo and hi bounds.
25384 while test "x$ac_lo" != "x$ac_hi"; do
25385 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25386 cat >conftest.
$ac_ext <<_ACEOF
25389 cat confdefs.h
>>conftest.
$ac_ext
25390 cat >>conftest.
$ac_ext <<_ACEOF
25391 /* end confdefs.h. */
25392 $ac_includes_default
25396 static int test_array [1 - 2 * !(((long) (sizeof (uintmax_t))) <= $ac_mid)];
25403 rm -f conftest.
$ac_objext
25404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25405 (eval $ac_compile) 2>conftest.er1
25407 grep -v '^ *+' conftest.er1
>conftest.err
25409 cat conftest.err
>&5
25410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411 (exit $ac_status); } &&
25412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25414 (eval $ac_try) 2>&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); }; } &&
25418 { ac_try
='test -s conftest.$ac_objext'
25419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25420 (eval $ac_try) 2>&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); }; }; then
25426 echo "$as_me: failed program was:" >&5
25427 sed 's/^/| /' conftest.
$ac_ext >&5
25429 ac_lo
=`expr '(' $ac_mid ')' + 1`
25431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25434 ?
*) ac_cv_sizeof_uintmax_t
=$ac_lo;;
25435 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (uintmax_t), 77
25436 See \`config.log' for more details." >&5
25437 echo "$as_me: error: cannot compute sizeof (uintmax_t), 77
25438 See \`config.log' for more details." >&2;}
25439 { (exit 1); exit 1; }; } ;;
25442 if test "$cross_compiling" = yes; then
25443 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
25444 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
25445 { (exit 1); exit 1; }; }
25447 cat >conftest.
$ac_ext <<_ACEOF
25450 cat confdefs.h
>>conftest.
$ac_ext
25451 cat >>conftest.
$ac_ext <<_ACEOF
25452 /* end confdefs.h. */
25453 $ac_includes_default
25454 long longval () { return (long) (sizeof (uintmax_t)); }
25455 unsigned long ulongval () { return (long) (sizeof (uintmax_t)); }
25457 #include <stdlib.h>
25462 FILE *f = fopen ("conftest.val", "w");
25465 if (((long) (sizeof (uintmax_t))) < 0)
25467 long i = longval ();
25468 if (i != ((long) (sizeof (uintmax_t))))
25470 fprintf (f, "%ld\n", i);
25474 unsigned long i = ulongval ();
25475 if (i != ((long) (sizeof (uintmax_t))))
25477 fprintf (f, "%lu\n", i);
25479 exit (ferror (f) || fclose (f) != 0);
25485 rm -f conftest
$ac_exeext
25486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25487 (eval $ac_link) 2>&5
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25492 (eval $ac_try) 2>&5
25494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495 (exit $ac_status); }; }; then
25496 ac_cv_sizeof_uintmax_t
=`cat conftest.val`
25498 echo "$as_me: program exited with status $ac_status" >&5
25499 echo "$as_me: failed program was:" >&5
25500 sed 's/^/| /' conftest.
$ac_ext >&5
25502 ( exit $ac_status )
25503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (uintmax_t), 77
25504 See \`config.log' for more details." >&5
25505 echo "$as_me: error: cannot compute sizeof (uintmax_t), 77
25506 See \`config.log' for more details." >&2;}
25507 { (exit 1); exit 1; }; }
25509 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25514 ac_cv_sizeof_uintmax_t
=0
25517 echo "$as_me:$LINENO: result: $ac_cv_sizeof_uintmax_t" >&5
25518 echo "${ECHO_T}$ac_cv_sizeof_uintmax_t" >&6
25519 cat >>confdefs.h
<<_ACEOF
25520 #define SIZEOF_UINTMAX_T $ac_cv_sizeof_uintmax_t
25524 echo "$as_me:$LINENO: checking for intptr_t" >&5
25525 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
25526 if test "${ac_cv_type_intptr_t+set}" = set; then
25527 echo $ECHO_N "(cached) $ECHO_C" >&6
25529 cat >conftest.
$ac_ext <<_ACEOF
25532 cat confdefs.h
>>conftest.
$ac_ext
25533 cat >>conftest.
$ac_ext <<_ACEOF
25534 /* end confdefs.h. */
25535 $ac_includes_default
25539 if ((intptr_t *) 0)
25541 if (sizeof (intptr_t))
25547 rm -f conftest.
$ac_objext
25548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25549 (eval $ac_compile) 2>conftest.er1
25551 grep -v '^ *+' conftest.er1
>conftest.err
25553 cat conftest.err
>&5
25554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555 (exit $ac_status); } &&
25556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25558 (eval $ac_try) 2>&5
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); }; } &&
25562 { ac_try
='test -s conftest.$ac_objext'
25563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25564 (eval $ac_try) 2>&5
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); }; }; then
25568 ac_cv_type_intptr_t
=yes
25570 echo "$as_me: failed program was:" >&5
25571 sed 's/^/| /' conftest.
$ac_ext >&5
25573 ac_cv_type_intptr_t
=no
25575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25577 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
25578 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
25580 echo "$as_me:$LINENO: checking size of intptr_t" >&5
25581 echo $ECHO_N "checking size of intptr_t... $ECHO_C" >&6
25582 if test "${ac_cv_sizeof_intptr_t+set}" = set; then
25583 echo $ECHO_N "(cached) $ECHO_C" >&6
25585 if test "$ac_cv_type_intptr_t" = yes; then
25586 # The cast to unsigned long works around a bug in the HP C Compiler
25587 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25588 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25589 # This bug is HP SR number 8606223364.
25590 if test "$cross_compiling" = yes; then
25591 # Depending upon the size, compute the lo and hi bounds.
25592 cat >conftest.
$ac_ext <<_ACEOF
25595 cat confdefs.h
>>conftest.
$ac_ext
25596 cat >>conftest.
$ac_ext <<_ACEOF
25597 /* end confdefs.h. */
25598 $ac_includes_default
25602 static int test_array [1 - 2 * !(((long) (sizeof (intptr_t))) >= 0)];
25609 rm -f conftest.
$ac_objext
25610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25611 (eval $ac_compile) 2>conftest.er1
25613 grep -v '^ *+' conftest.er1
>conftest.err
25615 cat conftest.err
>&5
25616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25617 (exit $ac_status); } &&
25618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25620 (eval $ac_try) 2>&5
25622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623 (exit $ac_status); }; } &&
25624 { ac_try
='test -s conftest.$ac_objext'
25625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25626 (eval $ac_try) 2>&5
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); }; }; then
25632 cat >conftest.
$ac_ext <<_ACEOF
25635 cat confdefs.h
>>conftest.
$ac_ext
25636 cat >>conftest.
$ac_ext <<_ACEOF
25637 /* end confdefs.h. */
25638 $ac_includes_default
25642 static int test_array [1 - 2 * !(((long) (sizeof (intptr_t))) <= $ac_mid)];
25649 rm -f conftest.
$ac_objext
25650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25651 (eval $ac_compile) 2>conftest.er1
25653 grep -v '^ *+' conftest.er1
>conftest.err
25655 cat conftest.err
>&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); } &&
25658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660 (eval $ac_try) 2>&5
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); }; } &&
25664 { ac_try
='test -s conftest.$ac_objext'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; }; then
25670 ac_hi
=$ac_mid; break
25672 echo "$as_me: failed program was:" >&5
25673 sed 's/^/| /' conftest.
$ac_ext >&5
25675 ac_lo
=`expr $ac_mid + 1`
25676 if test $ac_lo -le $ac_mid; then
25680 ac_mid
=`expr 2 '*' $ac_mid + 1`
25682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25685 echo "$as_me: failed program was:" >&5
25686 sed 's/^/| /' conftest.
$ac_ext >&5
25688 cat >conftest.
$ac_ext <<_ACEOF
25691 cat confdefs.h
>>conftest.
$ac_ext
25692 cat >>conftest.
$ac_ext <<_ACEOF
25693 /* end confdefs.h. */
25694 $ac_includes_default
25698 static int test_array [1 - 2 * !(((long) (sizeof (intptr_t))) < 0)];
25705 rm -f conftest.
$ac_objext
25706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25707 (eval $ac_compile) 2>conftest.er1
25709 grep -v '^ *+' conftest.er1
>conftest.err
25711 cat conftest.err
>&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); } &&
25714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25716 (eval $ac_try) 2>&5
25718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719 (exit $ac_status); }; } &&
25720 { ac_try
='test -s conftest.$ac_objext'
25721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25722 (eval $ac_try) 2>&5
25724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725 (exit $ac_status); }; }; then
25728 cat >conftest.
$ac_ext <<_ACEOF
25731 cat confdefs.h
>>conftest.
$ac_ext
25732 cat >>conftest.
$ac_ext <<_ACEOF
25733 /* end confdefs.h. */
25734 $ac_includes_default
25738 static int test_array [1 - 2 * !(((long) (sizeof (intptr_t))) >= $ac_mid)];
25745 rm -f conftest.
$ac_objext
25746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25747 (eval $ac_compile) 2>conftest.er1
25749 grep -v '^ *+' conftest.er1
>conftest.err
25751 cat conftest.err
>&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); } &&
25754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25756 (eval $ac_try) 2>&5
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); }; } &&
25760 { ac_try
='test -s conftest.$ac_objext'
25761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762 (eval $ac_try) 2>&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); }; }; then
25766 ac_lo
=$ac_mid; break
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.
$ac_ext >&5
25771 ac_hi
=`expr '(' $ac_mid ')' - 1`
25772 if test $ac_mid -le $ac_hi; then
25776 ac_mid
=`expr 2 '*' $ac_mid`
25778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25781 echo "$as_me: failed program was:" >&5
25782 sed 's/^/| /' conftest.
$ac_ext >&5
25786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25789 # Binary search between lo and hi bounds.
25790 while test "x$ac_lo" != "x$ac_hi"; do
25791 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25792 cat >conftest.
$ac_ext <<_ACEOF
25795 cat confdefs.h
>>conftest.
$ac_ext
25796 cat >>conftest.
$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25798 $ac_includes_default
25802 static int test_array [1 - 2 * !(((long) (sizeof (intptr_t))) <= $ac_mid)];
25809 rm -f conftest.
$ac_objext
25810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25811 (eval $ac_compile) 2>conftest.er1
25813 grep -v '^ *+' conftest.er1
>conftest.err
25815 cat conftest.err
>&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); } &&
25818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25820 (eval $ac_try) 2>&5
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); }; } &&
25824 { ac_try
='test -s conftest.$ac_objext'
25825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25826 (eval $ac_try) 2>&5
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); }; }; then
25832 echo "$as_me: failed program was:" >&5
25833 sed 's/^/| /' conftest.
$ac_ext >&5
25835 ac_lo
=`expr '(' $ac_mid ')' + 1`
25837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25840 ?
*) ac_cv_sizeof_intptr_t
=$ac_lo;;
25841 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (intptr_t), 77
25842 See \`config.log' for more details." >&5
25843 echo "$as_me: error: cannot compute sizeof (intptr_t), 77
25844 See \`config.log' for more details." >&2;}
25845 { (exit 1); exit 1; }; } ;;
25848 if test "$cross_compiling" = yes; then
25849 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
25850 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
25851 { (exit 1); exit 1; }; }
25853 cat >conftest.
$ac_ext <<_ACEOF
25856 cat confdefs.h
>>conftest.
$ac_ext
25857 cat >>conftest.
$ac_ext <<_ACEOF
25858 /* end confdefs.h. */
25859 $ac_includes_default
25860 long longval () { return (long) (sizeof (intptr_t)); }
25861 unsigned long ulongval () { return (long) (sizeof (intptr_t)); }
25863 #include <stdlib.h>
25868 FILE *f = fopen ("conftest.val", "w");
25871 if (((long) (sizeof (intptr_t))) < 0)
25873 long i = longval ();
25874 if (i != ((long) (sizeof (intptr_t))))
25876 fprintf (f, "%ld\n", i);
25880 unsigned long i = ulongval ();
25881 if (i != ((long) (sizeof (intptr_t))))
25883 fprintf (f, "%lu\n", i);
25885 exit (ferror (f) || fclose (f) != 0);
25891 rm -f conftest
$ac_exeext
25892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25893 (eval $ac_link) 2>&5
25895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25898 (eval $ac_try) 2>&5
25900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25901 (exit $ac_status); }; }; then
25902 ac_cv_sizeof_intptr_t
=`cat conftest.val`
25904 echo "$as_me: program exited with status $ac_status" >&5
25905 echo "$as_me: failed program was:" >&5
25906 sed 's/^/| /' conftest.
$ac_ext >&5
25908 ( exit $ac_status )
25909 { { echo "$as_me:$LINENO: error: cannot compute sizeof (intptr_t), 77
25910 See \`config.log' for more details." >&5
25911 echo "$as_me: error: cannot compute sizeof (intptr_t), 77
25912 See \`config.log' for more details." >&2;}
25913 { (exit 1); exit 1; }; }
25915 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25920 ac_cv_sizeof_intptr_t
=0
25923 echo "$as_me:$LINENO: result: $ac_cv_sizeof_intptr_t" >&5
25924 echo "${ECHO_T}$ac_cv_sizeof_intptr_t" >&6
25925 cat >>confdefs.h
<<_ACEOF
25926 #define SIZEOF_INTPTR_T $ac_cv_sizeof_intptr_t
25930 echo "$as_me:$LINENO: checking for uintptr_t" >&5
25931 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
25932 if test "${ac_cv_type_uintptr_t+set}" = set; then
25933 echo $ECHO_N "(cached) $ECHO_C" >&6
25935 cat >conftest.
$ac_ext <<_ACEOF
25938 cat confdefs.h
>>conftest.
$ac_ext
25939 cat >>conftest.
$ac_ext <<_ACEOF
25940 /* end confdefs.h. */
25941 $ac_includes_default
25945 if ((uintptr_t *) 0)
25947 if (sizeof (uintptr_t))
25953 rm -f conftest.
$ac_objext
25954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25955 (eval $ac_compile) 2>conftest.er1
25957 grep -v '^ *+' conftest.er1
>conftest.err
25959 cat conftest.err
>&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); } &&
25962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; } &&
25968 { ac_try
='test -s conftest.$ac_objext'
25969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25970 (eval $ac_try) 2>&5
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); }; }; then
25974 ac_cv_type_uintptr_t
=yes
25976 echo "$as_me: failed program was:" >&5
25977 sed 's/^/| /' conftest.
$ac_ext >&5
25979 ac_cv_type_uintptr_t
=no
25981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25983 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
25984 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
25986 echo "$as_me:$LINENO: checking size of uintptr_t" >&5
25987 echo $ECHO_N "checking size of uintptr_t... $ECHO_C" >&6
25988 if test "${ac_cv_sizeof_uintptr_t+set}" = set; then
25989 echo $ECHO_N "(cached) $ECHO_C" >&6
25991 if test "$ac_cv_type_uintptr_t" = yes; then
25992 # The cast to unsigned long works around a bug in the HP C Compiler
25993 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25994 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25995 # This bug is HP SR number 8606223364.
25996 if test "$cross_compiling" = yes; then
25997 # Depending upon the size, compute the lo and hi bounds.
25998 cat >conftest.
$ac_ext <<_ACEOF
26001 cat confdefs.h
>>conftest.
$ac_ext
26002 cat >>conftest.
$ac_ext <<_ACEOF
26003 /* end confdefs.h. */
26004 $ac_includes_default
26008 static int test_array [1 - 2 * !(((long) (sizeof (uintptr_t))) >= 0)];
26015 rm -f conftest.
$ac_objext
26016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26017 (eval $ac_compile) 2>conftest.er1
26019 grep -v '^ *+' conftest.er1
>conftest.err
26021 cat conftest.err
>&5
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); } &&
26024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26026 (eval $ac_try) 2>&5
26028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26029 (exit $ac_status); }; } &&
26030 { ac_try
='test -s conftest.$ac_objext'
26031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26032 (eval $ac_try) 2>&5
26034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035 (exit $ac_status); }; }; then
26038 cat >conftest.
$ac_ext <<_ACEOF
26041 cat confdefs.h
>>conftest.
$ac_ext
26042 cat >>conftest.
$ac_ext <<_ACEOF
26043 /* end confdefs.h. */
26044 $ac_includes_default
26048 static int test_array [1 - 2 * !(((long) (sizeof (uintptr_t))) <= $ac_mid)];
26055 rm -f conftest.
$ac_objext
26056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26057 (eval $ac_compile) 2>conftest.er1
26059 grep -v '^ *+' conftest.er1
>conftest.err
26061 cat conftest.err
>&5
26062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063 (exit $ac_status); } &&
26064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066 (eval $ac_try) 2>&5
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); }; } &&
26070 { ac_try
='test -s conftest.$ac_objext'
26071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26072 (eval $ac_try) 2>&5
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); }; }; then
26076 ac_hi
=$ac_mid; break
26078 echo "$as_me: failed program was:" >&5
26079 sed 's/^/| /' conftest.
$ac_ext >&5
26081 ac_lo
=`expr $ac_mid + 1`
26082 if test $ac_lo -le $ac_mid; then
26086 ac_mid
=`expr 2 '*' $ac_mid + 1`
26088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26091 echo "$as_me: failed program was:" >&5
26092 sed 's/^/| /' conftest.
$ac_ext >&5
26094 cat >conftest.
$ac_ext <<_ACEOF
26097 cat confdefs.h
>>conftest.
$ac_ext
26098 cat >>conftest.
$ac_ext <<_ACEOF
26099 /* end confdefs.h. */
26100 $ac_includes_default
26104 static int test_array [1 - 2 * !(((long) (sizeof (uintptr_t))) < 0)];
26111 rm -f conftest.
$ac_objext
26112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26113 (eval $ac_compile) 2>conftest.er1
26115 grep -v '^ *+' conftest.er1
>conftest.err
26117 cat conftest.err
>&5
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); } &&
26120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26122 (eval $ac_try) 2>&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); }; } &&
26126 { ac_try
='test -s conftest.$ac_objext'
26127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26128 (eval $ac_try) 2>&5
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); }; }; then
26134 cat >conftest.
$ac_ext <<_ACEOF
26137 cat confdefs.h
>>conftest.
$ac_ext
26138 cat >>conftest.
$ac_ext <<_ACEOF
26139 /* end confdefs.h. */
26140 $ac_includes_default
26144 static int test_array [1 - 2 * !(((long) (sizeof (uintptr_t))) >= $ac_mid)];
26151 rm -f conftest.
$ac_objext
26152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26153 (eval $ac_compile) 2>conftest.er1
26155 grep -v '^ *+' conftest.er1
>conftest.err
26157 cat conftest.err
>&5
26158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159 (exit $ac_status); } &&
26160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26162 (eval $ac_try) 2>&5
26164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165 (exit $ac_status); }; } &&
26166 { ac_try
='test -s conftest.$ac_objext'
26167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26168 (eval $ac_try) 2>&5
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); }; }; then
26172 ac_lo
=$ac_mid; break
26174 echo "$as_me: failed program was:" >&5
26175 sed 's/^/| /' conftest.
$ac_ext >&5
26177 ac_hi
=`expr '(' $ac_mid ')' - 1`
26178 if test $ac_mid -le $ac_hi; then
26182 ac_mid
=`expr 2 '*' $ac_mid`
26184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.
$ac_ext >&5
26192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26195 # Binary search between lo and hi bounds.
26196 while test "x$ac_lo" != "x$ac_hi"; do
26197 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26198 cat >conftest.
$ac_ext <<_ACEOF
26201 cat confdefs.h
>>conftest.
$ac_ext
26202 cat >>conftest.
$ac_ext <<_ACEOF
26203 /* end confdefs.h. */
26204 $ac_includes_default
26208 static int test_array [1 - 2 * !(((long) (sizeof (uintptr_t))) <= $ac_mid)];
26215 rm -f conftest.
$ac_objext
26216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26217 (eval $ac_compile) 2>conftest.er1
26219 grep -v '^ *+' conftest.er1
>conftest.err
26221 cat conftest.err
>&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); } &&
26224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26226 (eval $ac_try) 2>&5
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); }; } &&
26230 { ac_try
='test -s conftest.$ac_objext'
26231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26232 (eval $ac_try) 2>&5
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); }; }; then
26238 echo "$as_me: failed program was:" >&5
26239 sed 's/^/| /' conftest.
$ac_ext >&5
26241 ac_lo
=`expr '(' $ac_mid ')' + 1`
26243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26246 ?
*) ac_cv_sizeof_uintptr_t
=$ac_lo;;
26247 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (uintptr_t), 77
26248 See \`config.log' for more details." >&5
26249 echo "$as_me: error: cannot compute sizeof (uintptr_t), 77
26250 See \`config.log' for more details." >&2;}
26251 { (exit 1); exit 1; }; } ;;
26254 if test "$cross_compiling" = yes; then
26255 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
26256 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
26257 { (exit 1); exit 1; }; }
26259 cat >conftest.
$ac_ext <<_ACEOF
26262 cat confdefs.h
>>conftest.
$ac_ext
26263 cat >>conftest.
$ac_ext <<_ACEOF
26264 /* end confdefs.h. */
26265 $ac_includes_default
26266 long longval () { return (long) (sizeof (uintptr_t)); }
26267 unsigned long ulongval () { return (long) (sizeof (uintptr_t)); }
26269 #include <stdlib.h>
26274 FILE *f = fopen ("conftest.val", "w");
26277 if (((long) (sizeof (uintptr_t))) < 0)
26279 long i = longval ();
26280 if (i != ((long) (sizeof (uintptr_t))))
26282 fprintf (f, "%ld\n", i);
26286 unsigned long i = ulongval ();
26287 if (i != ((long) (sizeof (uintptr_t))))
26289 fprintf (f, "%lu\n", i);
26291 exit (ferror (f) || fclose (f) != 0);
26297 rm -f conftest
$ac_exeext
26298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26299 (eval $ac_link) 2>&5
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26304 (eval $ac_try) 2>&5
26306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307 (exit $ac_status); }; }; then
26308 ac_cv_sizeof_uintptr_t
=`cat conftest.val`
26310 echo "$as_me: program exited with status $ac_status" >&5
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.
$ac_ext >&5
26314 ( exit $ac_status )
26315 { { echo "$as_me:$LINENO: error: cannot compute sizeof (uintptr_t), 77
26316 See \`config.log' for more details." >&5
26317 echo "$as_me: error: cannot compute sizeof (uintptr_t), 77
26318 See \`config.log' for more details." >&2;}
26319 { (exit 1); exit 1; }; }
26321 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26326 ac_cv_sizeof_uintptr_t
=0
26329 echo "$as_me:$LINENO: result: $ac_cv_sizeof_uintptr_t" >&5
26330 echo "${ECHO_T}$ac_cv_sizeof_uintptr_t" >&6
26331 cat >>confdefs.h
<<_ACEOF
26332 #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t
26337 echo "$as_me:$LINENO: checking for float" >&5
26338 echo $ECHO_N "checking for float... $ECHO_C" >&6
26339 if test "${ac_cv_type_float+set}" = set; then
26340 echo $ECHO_N "(cached) $ECHO_C" >&6
26342 cat >conftest.
$ac_ext <<_ACEOF
26345 cat confdefs.h
>>conftest.
$ac_ext
26346 cat >>conftest.
$ac_ext <<_ACEOF
26347 /* end confdefs.h. */
26348 $ac_includes_default
26354 if (sizeof (float))
26360 rm -f conftest.
$ac_objext
26361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26362 (eval $ac_compile) 2>conftest.er1
26364 grep -v '^ *+' conftest.er1
>conftest.err
26366 cat conftest.err
>&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); } &&
26369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26371 (eval $ac_try) 2>&5
26373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374 (exit $ac_status); }; } &&
26375 { ac_try
='test -s conftest.$ac_objext'
26376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26377 (eval $ac_try) 2>&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); }; }; then
26381 ac_cv_type_float
=yes
26383 echo "$as_me: failed program was:" >&5
26384 sed 's/^/| /' conftest.
$ac_ext >&5
26386 ac_cv_type_float
=no
26388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26390 echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
26391 echo "${ECHO_T}$ac_cv_type_float" >&6
26393 echo "$as_me:$LINENO: checking size of float" >&5
26394 echo $ECHO_N "checking size of float... $ECHO_C" >&6
26395 if test "${ac_cv_sizeof_float+set}" = set; then
26396 echo $ECHO_N "(cached) $ECHO_C" >&6
26398 if test "$ac_cv_type_float" = yes; then
26399 # The cast to unsigned long works around a bug in the HP C Compiler
26400 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26401 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26402 # This bug is HP SR number 8606223364.
26403 if test "$cross_compiling" = yes; then
26404 # Depending upon the size, compute the lo and hi bounds.
26405 cat >conftest.
$ac_ext <<_ACEOF
26408 cat confdefs.h
>>conftest.
$ac_ext
26409 cat >>conftest.
$ac_ext <<_ACEOF
26410 /* end confdefs.h. */
26411 $ac_includes_default
26415 static int test_array [1 - 2 * !(((long) (sizeof (float))) >= 0)];
26422 rm -f conftest.
$ac_objext
26423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26424 (eval $ac_compile) 2>conftest.er1
26426 grep -v '^ *+' conftest.er1
>conftest.err
26428 cat conftest.err
>&5
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); } &&
26431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26433 (eval $ac_try) 2>&5
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); }; } &&
26437 { ac_try
='test -s conftest.$ac_objext'
26438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26439 (eval $ac_try) 2>&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); }; }; then
26445 cat >conftest.
$ac_ext <<_ACEOF
26448 cat confdefs.h
>>conftest.
$ac_ext
26449 cat >>conftest.
$ac_ext <<_ACEOF
26450 /* end confdefs.h. */
26451 $ac_includes_default
26455 static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)];
26462 rm -f conftest.
$ac_objext
26463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26464 (eval $ac_compile) 2>conftest.er1
26466 grep -v '^ *+' conftest.er1
>conftest.err
26468 cat conftest.err
>&5
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); } &&
26471 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26473 (eval $ac_try) 2>&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); }; } &&
26477 { ac_try
='test -s conftest.$ac_objext'
26478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26479 (eval $ac_try) 2>&5
26481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26482 (exit $ac_status); }; }; then
26483 ac_hi
=$ac_mid; break
26485 echo "$as_me: failed program was:" >&5
26486 sed 's/^/| /' conftest.
$ac_ext >&5
26488 ac_lo
=`expr $ac_mid + 1`
26489 if test $ac_lo -le $ac_mid; then
26493 ac_mid
=`expr 2 '*' $ac_mid + 1`
26495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26498 echo "$as_me: failed program was:" >&5
26499 sed 's/^/| /' conftest.
$ac_ext >&5
26501 cat >conftest.
$ac_ext <<_ACEOF
26504 cat confdefs.h
>>conftest.
$ac_ext
26505 cat >>conftest.
$ac_ext <<_ACEOF
26506 /* end confdefs.h. */
26507 $ac_includes_default
26511 static int test_array [1 - 2 * !(((long) (sizeof (float))) < 0)];
26518 rm -f conftest.
$ac_objext
26519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26520 (eval $ac_compile) 2>conftest.er1
26522 grep -v '^ *+' conftest.er1
>conftest.err
26524 cat conftest.err
>&5
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); } &&
26527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26529 (eval $ac_try) 2>&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); }; } &&
26533 { ac_try
='test -s conftest.$ac_objext'
26534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535 (eval $ac_try) 2>&5
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); }; }; then
26541 cat >conftest.
$ac_ext <<_ACEOF
26544 cat confdefs.h
>>conftest.
$ac_ext
26545 cat >>conftest.
$ac_ext <<_ACEOF
26546 /* end confdefs.h. */
26547 $ac_includes_default
26551 static int test_array [1 - 2 * !(((long) (sizeof (float))) >= $ac_mid)];
26558 rm -f conftest.
$ac_objext
26559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26560 (eval $ac_compile) 2>conftest.er1
26562 grep -v '^ *+' conftest.er1
>conftest.err
26564 cat conftest.err
>&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); } &&
26567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26569 (eval $ac_try) 2>&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); }; } &&
26573 { ac_try
='test -s conftest.$ac_objext'
26574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26575 (eval $ac_try) 2>&5
26577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26578 (exit $ac_status); }; }; then
26579 ac_lo
=$ac_mid; break
26581 echo "$as_me: failed program was:" >&5
26582 sed 's/^/| /' conftest.
$ac_ext >&5
26584 ac_hi
=`expr '(' $ac_mid ')' - 1`
26585 if test $ac_mid -le $ac_hi; then
26589 ac_mid
=`expr 2 '*' $ac_mid`
26591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26594 echo "$as_me: failed program was:" >&5
26595 sed 's/^/| /' conftest.
$ac_ext >&5
26599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26602 # Binary search between lo and hi bounds.
26603 while test "x$ac_lo" != "x$ac_hi"; do
26604 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26605 cat >conftest.
$ac_ext <<_ACEOF
26608 cat confdefs.h
>>conftest.
$ac_ext
26609 cat >>conftest.
$ac_ext <<_ACEOF
26610 /* end confdefs.h. */
26611 $ac_includes_default
26615 static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)];
26622 rm -f conftest.
$ac_objext
26623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26624 (eval $ac_compile) 2>conftest.er1
26626 grep -v '^ *+' conftest.er1
>conftest.err
26628 cat conftest.err
>&5
26629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26630 (exit $ac_status); } &&
26631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26633 (eval $ac_try) 2>&5
26635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26636 (exit $ac_status); }; } &&
26637 { ac_try
='test -s conftest.$ac_objext'
26638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26639 (eval $ac_try) 2>&5
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); }; }; then
26645 echo "$as_me: failed program was:" >&5
26646 sed 's/^/| /' conftest.
$ac_ext >&5
26648 ac_lo
=`expr '(' $ac_mid ')' + 1`
26650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26653 ?
*) ac_cv_sizeof_float
=$ac_lo;;
26654 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77
26655 See \`config.log' for more details." >&5
26656 echo "$as_me: error: cannot compute sizeof (float), 77
26657 See \`config.log' for more details." >&2;}
26658 { (exit 1); exit 1; }; } ;;
26661 if test "$cross_compiling" = yes; then
26662 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
26663 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
26664 { (exit 1); exit 1; }; }
26666 cat >conftest.
$ac_ext <<_ACEOF
26669 cat confdefs.h
>>conftest.
$ac_ext
26670 cat >>conftest.
$ac_ext <<_ACEOF
26671 /* end confdefs.h. */
26672 $ac_includes_default
26673 long longval () { return (long) (sizeof (float)); }
26674 unsigned long ulongval () { return (long) (sizeof (float)); }
26676 #include <stdlib.h>
26681 FILE *f = fopen ("conftest.val", "w");
26684 if (((long) (sizeof (float))) < 0)
26686 long i = longval ();
26687 if (i != ((long) (sizeof (float))))
26689 fprintf (f, "%ld\n", i);
26693 unsigned long i = ulongval ();
26694 if (i != ((long) (sizeof (float))))
26696 fprintf (f, "%lu\n", i);
26698 exit (ferror (f) || fclose (f) != 0);
26704 rm -f conftest
$ac_exeext
26705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26706 (eval $ac_link) 2>&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26711 (eval $ac_try) 2>&5
26713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26714 (exit $ac_status); }; }; then
26715 ac_cv_sizeof_float
=`cat conftest.val`
26717 echo "$as_me: program exited with status $ac_status" >&5
26718 echo "$as_me: failed program was:" >&5
26719 sed 's/^/| /' conftest.
$ac_ext >&5
26721 ( exit $ac_status )
26722 { { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77
26723 See \`config.log' for more details." >&5
26724 echo "$as_me: error: cannot compute sizeof (float), 77
26725 See \`config.log' for more details." >&2;}
26726 { (exit 1); exit 1; }; }
26728 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26733 ac_cv_sizeof_float
=0
26736 echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
26737 echo "${ECHO_T}$ac_cv_sizeof_float" >&6
26738 cat >>confdefs.h
<<_ACEOF
26739 #define SIZEOF_FLOAT $ac_cv_sizeof_float
26743 echo "$as_me:$LINENO: checking for double" >&5
26744 echo $ECHO_N "checking for double... $ECHO_C" >&6
26745 if test "${ac_cv_type_double+set}" = set; then
26746 echo $ECHO_N "(cached) $ECHO_C" >&6
26748 cat >conftest.
$ac_ext <<_ACEOF
26751 cat confdefs.h
>>conftest.
$ac_ext
26752 cat >>conftest.
$ac_ext <<_ACEOF
26753 /* end confdefs.h. */
26754 $ac_includes_default
26760 if (sizeof (double))
26766 rm -f conftest.
$ac_objext
26767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26768 (eval $ac_compile) 2>conftest.er1
26770 grep -v '^ *+' conftest.er1
>conftest.err
26772 cat conftest.err
>&5
26773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774 (exit $ac_status); } &&
26775 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26777 (eval $ac_try) 2>&5
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); }; } &&
26781 { ac_try
='test -s conftest.$ac_objext'
26782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26783 (eval $ac_try) 2>&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); }; }; then
26787 ac_cv_type_double
=yes
26789 echo "$as_me: failed program was:" >&5
26790 sed 's/^/| /' conftest.
$ac_ext >&5
26792 ac_cv_type_double
=no
26794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26796 echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
26797 echo "${ECHO_T}$ac_cv_type_double" >&6
26799 echo "$as_me:$LINENO: checking size of double" >&5
26800 echo $ECHO_N "checking size of double... $ECHO_C" >&6
26801 if test "${ac_cv_sizeof_double+set}" = set; then
26802 echo $ECHO_N "(cached) $ECHO_C" >&6
26804 if test "$ac_cv_type_double" = yes; then
26805 # The cast to unsigned long works around a bug in the HP C Compiler
26806 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26807 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26808 # This bug is HP SR number 8606223364.
26809 if test "$cross_compiling" = yes; then
26810 # Depending upon the size, compute the lo and hi bounds.
26811 cat >conftest.
$ac_ext <<_ACEOF
26814 cat confdefs.h
>>conftest.
$ac_ext
26815 cat >>conftest.
$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26817 $ac_includes_default
26821 static int test_array [1 - 2 * !(((long) (sizeof (double))) >= 0)];
26828 rm -f conftest.
$ac_objext
26829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26830 (eval $ac_compile) 2>conftest.er1
26832 grep -v '^ *+' conftest.er1
>conftest.err
26834 cat conftest.err
>&5
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); } &&
26837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26839 (eval $ac_try) 2>&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); }; } &&
26843 { ac_try
='test -s conftest.$ac_objext'
26844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845 (eval $ac_try) 2>&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); }; }; then
26851 cat >conftest.
$ac_ext <<_ACEOF
26854 cat confdefs.h
>>conftest.
$ac_ext
26855 cat >>conftest.
$ac_ext <<_ACEOF
26856 /* end confdefs.h. */
26857 $ac_includes_default
26861 static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)];
26868 rm -f conftest.
$ac_objext
26869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26870 (eval $ac_compile) 2>conftest.er1
26872 grep -v '^ *+' conftest.er1
>conftest.err
26874 cat conftest.err
>&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); } &&
26877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26879 (eval $ac_try) 2>&5
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); }; } &&
26883 { ac_try
='test -s conftest.$ac_objext'
26884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885 (eval $ac_try) 2>&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); }; }; then
26889 ac_hi
=$ac_mid; break
26891 echo "$as_me: failed program was:" >&5
26892 sed 's/^/| /' conftest.
$ac_ext >&5
26894 ac_lo
=`expr $ac_mid + 1`
26895 if test $ac_lo -le $ac_mid; then
26899 ac_mid
=`expr 2 '*' $ac_mid + 1`
26901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26904 echo "$as_me: failed program was:" >&5
26905 sed 's/^/| /' conftest.
$ac_ext >&5
26907 cat >conftest.
$ac_ext <<_ACEOF
26910 cat confdefs.h
>>conftest.
$ac_ext
26911 cat >>conftest.
$ac_ext <<_ACEOF
26912 /* end confdefs.h. */
26913 $ac_includes_default
26917 static int test_array [1 - 2 * !(((long) (sizeof (double))) < 0)];
26924 rm -f conftest.
$ac_objext
26925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26926 (eval $ac_compile) 2>conftest.er1
26928 grep -v '^ *+' conftest.er1
>conftest.err
26930 cat conftest.err
>&5
26931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932 (exit $ac_status); } &&
26933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26935 (eval $ac_try) 2>&5
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); }; } &&
26939 { ac_try
='test -s conftest.$ac_objext'
26940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26941 (eval $ac_try) 2>&5
26943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26944 (exit $ac_status); }; }; then
26947 cat >conftest.
$ac_ext <<_ACEOF
26950 cat confdefs.h
>>conftest.
$ac_ext
26951 cat >>conftest.
$ac_ext <<_ACEOF
26952 /* end confdefs.h. */
26953 $ac_includes_default
26957 static int test_array [1 - 2 * !(((long) (sizeof (double))) >= $ac_mid)];
26964 rm -f conftest.
$ac_objext
26965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26966 (eval $ac_compile) 2>conftest.er1
26968 grep -v '^ *+' conftest.er1
>conftest.err
26970 cat conftest.err
>&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); } &&
26973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26975 (eval $ac_try) 2>&5
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); }; } &&
26979 { ac_try
='test -s conftest.$ac_objext'
26980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26981 (eval $ac_try) 2>&5
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); }; }; then
26985 ac_lo
=$ac_mid; break
26987 echo "$as_me: failed program was:" >&5
26988 sed 's/^/| /' conftest.
$ac_ext >&5
26990 ac_hi
=`expr '(' $ac_mid ')' - 1`
26991 if test $ac_mid -le $ac_hi; then
26995 ac_mid
=`expr 2 '*' $ac_mid`
26997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27000 echo "$as_me: failed program was:" >&5
27001 sed 's/^/| /' conftest.
$ac_ext >&5
27005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27008 # Binary search between lo and hi bounds.
27009 while test "x$ac_lo" != "x$ac_hi"; do
27010 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27011 cat >conftest.
$ac_ext <<_ACEOF
27014 cat confdefs.h
>>conftest.
$ac_ext
27015 cat >>conftest.
$ac_ext <<_ACEOF
27016 /* end confdefs.h. */
27017 $ac_includes_default
27021 static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)];
27028 rm -f conftest.
$ac_objext
27029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27030 (eval $ac_compile) 2>conftest.er1
27032 grep -v '^ *+' conftest.er1
>conftest.err
27034 cat conftest.err
>&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); } &&
27037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27039 (eval $ac_try) 2>&5
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); }; } &&
27043 { ac_try
='test -s conftest.$ac_objext'
27044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27045 (eval $ac_try) 2>&5
27047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048 (exit $ac_status); }; }; then
27051 echo "$as_me: failed program was:" >&5
27052 sed 's/^/| /' conftest.
$ac_ext >&5
27054 ac_lo
=`expr '(' $ac_mid ')' + 1`
27056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27059 ?
*) ac_cv_sizeof_double
=$ac_lo;;
27060 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
27061 See \`config.log' for more details." >&5
27062 echo "$as_me: error: cannot compute sizeof (double), 77
27063 See \`config.log' for more details." >&2;}
27064 { (exit 1); exit 1; }; } ;;
27067 if test "$cross_compiling" = yes; then
27068 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
27069 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
27070 { (exit 1); exit 1; }; }
27072 cat >conftest.
$ac_ext <<_ACEOF
27075 cat confdefs.h
>>conftest.
$ac_ext
27076 cat >>conftest.
$ac_ext <<_ACEOF
27077 /* end confdefs.h. */
27078 $ac_includes_default
27079 long longval () { return (long) (sizeof (double)); }
27080 unsigned long ulongval () { return (long) (sizeof (double)); }
27082 #include <stdlib.h>
27087 FILE *f = fopen ("conftest.val", "w");
27090 if (((long) (sizeof (double))) < 0)
27092 long i = longval ();
27093 if (i != ((long) (sizeof (double))))
27095 fprintf (f, "%ld\n", i);
27099 unsigned long i = ulongval ();
27100 if (i != ((long) (sizeof (double))))
27102 fprintf (f, "%lu\n", i);
27104 exit (ferror (f) || fclose (f) != 0);
27110 rm -f conftest
$ac_exeext
27111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27112 (eval $ac_link) 2>&5
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27117 (eval $ac_try) 2>&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); }; }; then
27121 ac_cv_sizeof_double
=`cat conftest.val`
27123 echo "$as_me: program exited with status $ac_status" >&5
27124 echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.
$ac_ext >&5
27127 ( exit $ac_status )
27128 { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
27129 See \`config.log' for more details." >&5
27130 echo "$as_me: error: cannot compute sizeof (double), 77
27131 See \`config.log' for more details." >&2;}
27132 { (exit 1); exit 1; }; }
27134 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27139 ac_cv_sizeof_double
=0
27142 echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
27143 echo "${ECHO_T}$ac_cv_sizeof_double" >&6
27144 cat >>confdefs.h
<<_ACEOF
27145 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
27149 echo "$as_me:$LINENO: checking for long double" >&5
27150 echo $ECHO_N "checking for long double... $ECHO_C" >&6
27151 if test "${ac_cv_type_long_double+set}" = set; then
27152 echo $ECHO_N "(cached) $ECHO_C" >&6
27154 cat >conftest.
$ac_ext <<_ACEOF
27157 cat confdefs.h
>>conftest.
$ac_ext
27158 cat >>conftest.
$ac_ext <<_ACEOF
27159 /* end confdefs.h. */
27160 $ac_includes_default
27164 if ((long double *) 0)
27166 if (sizeof (long double))
27172 rm -f conftest.
$ac_objext
27173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27174 (eval $ac_compile) 2>conftest.er1
27176 grep -v '^ *+' conftest.er1
>conftest.err
27178 cat conftest.err
>&5
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); } &&
27181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27183 (eval $ac_try) 2>&5
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); }; } &&
27187 { ac_try
='test -s conftest.$ac_objext'
27188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27189 (eval $ac_try) 2>&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); }; }; then
27193 ac_cv_type_long_double
=yes
27195 echo "$as_me: failed program was:" >&5
27196 sed 's/^/| /' conftest.
$ac_ext >&5
27198 ac_cv_type_long_double
=no
27200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27202 echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
27203 echo "${ECHO_T}$ac_cv_type_long_double" >&6
27205 echo "$as_me:$LINENO: checking size of long double" >&5
27206 echo $ECHO_N "checking size of long double... $ECHO_C" >&6
27207 if test "${ac_cv_sizeof_long_double+set}" = set; then
27208 echo $ECHO_N "(cached) $ECHO_C" >&6
27210 if test "$ac_cv_type_long_double" = yes; then
27211 # The cast to unsigned long works around a bug in the HP C Compiler
27212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27214 # This bug is HP SR number 8606223364.
27215 if test "$cross_compiling" = yes; then
27216 # Depending upon the size, compute the lo and hi bounds.
27217 cat >conftest.
$ac_ext <<_ACEOF
27220 cat confdefs.h
>>conftest.
$ac_ext
27221 cat >>conftest.
$ac_ext <<_ACEOF
27222 /* end confdefs.h. */
27223 $ac_includes_default
27227 static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= 0)];
27234 rm -f conftest.
$ac_objext
27235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27236 (eval $ac_compile) 2>conftest.er1
27238 grep -v '^ *+' conftest.er1
>conftest.err
27240 cat conftest.err
>&5
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); } &&
27243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27245 (eval $ac_try) 2>&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); }; } &&
27249 { ac_try
='test -s conftest.$ac_objext'
27250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27251 (eval $ac_try) 2>&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); }; }; then
27257 cat >conftest.
$ac_ext <<_ACEOF
27260 cat confdefs.h
>>conftest.
$ac_ext
27261 cat >>conftest.
$ac_ext <<_ACEOF
27262 /* end confdefs.h. */
27263 $ac_includes_default
27267 static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
27274 rm -f conftest.
$ac_objext
27275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27276 (eval $ac_compile) 2>conftest.er1
27278 grep -v '^ *+' conftest.er1
>conftest.err
27280 cat conftest.err
>&5
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); } &&
27283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27285 (eval $ac_try) 2>&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); }; } &&
27289 { ac_try
='test -s conftest.$ac_objext'
27290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27291 (eval $ac_try) 2>&5
27293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27294 (exit $ac_status); }; }; then
27295 ac_hi
=$ac_mid; break
27297 echo "$as_me: failed program was:" >&5
27298 sed 's/^/| /' conftest.
$ac_ext >&5
27300 ac_lo
=`expr $ac_mid + 1`
27301 if test $ac_lo -le $ac_mid; then
27305 ac_mid
=`expr 2 '*' $ac_mid + 1`
27307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27310 echo "$as_me: failed program was:" >&5
27311 sed 's/^/| /' conftest.
$ac_ext >&5
27313 cat >conftest.
$ac_ext <<_ACEOF
27316 cat confdefs.h
>>conftest.
$ac_ext
27317 cat >>conftest.
$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27319 $ac_includes_default
27323 static int test_array [1 - 2 * !(((long) (sizeof (long double))) < 0)];
27330 rm -f conftest.
$ac_objext
27331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27332 (eval $ac_compile) 2>conftest.er1
27334 grep -v '^ *+' conftest.er1
>conftest.err
27336 cat conftest.err
>&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); } &&
27339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27341 (eval $ac_try) 2>&5
27343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344 (exit $ac_status); }; } &&
27345 { ac_try
='test -s conftest.$ac_objext'
27346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27347 (eval $ac_try) 2>&5
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); }; }; then
27353 cat >conftest.
$ac_ext <<_ACEOF
27356 cat confdefs.h
>>conftest.
$ac_ext
27357 cat >>conftest.
$ac_ext <<_ACEOF
27358 /* end confdefs.h. */
27359 $ac_includes_default
27363 static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= $ac_mid)];
27370 rm -f conftest.
$ac_objext
27371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27372 (eval $ac_compile) 2>conftest.er1
27374 grep -v '^ *+' conftest.er1
>conftest.err
27376 cat conftest.err
>&5
27377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27378 (exit $ac_status); } &&
27379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27381 (eval $ac_try) 2>&5
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); }; } &&
27385 { ac_try
='test -s conftest.$ac_objext'
27386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27387 (eval $ac_try) 2>&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); }; }; then
27391 ac_lo
=$ac_mid; break
27393 echo "$as_me: failed program was:" >&5
27394 sed 's/^/| /' conftest.
$ac_ext >&5
27396 ac_hi
=`expr '(' $ac_mid ')' - 1`
27397 if test $ac_mid -le $ac_hi; then
27401 ac_mid
=`expr 2 '*' $ac_mid`
27403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27406 echo "$as_me: failed program was:" >&5
27407 sed 's/^/| /' conftest.
$ac_ext >&5
27411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27414 # Binary search between lo and hi bounds.
27415 while test "x$ac_lo" != "x$ac_hi"; do
27416 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27417 cat >conftest.
$ac_ext <<_ACEOF
27420 cat confdefs.h
>>conftest.
$ac_ext
27421 cat >>conftest.
$ac_ext <<_ACEOF
27422 /* end confdefs.h. */
27423 $ac_includes_default
27427 static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
27434 rm -f conftest.
$ac_objext
27435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27436 (eval $ac_compile) 2>conftest.er1
27438 grep -v '^ *+' conftest.er1
>conftest.err
27440 cat conftest.err
>&5
27441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27442 (exit $ac_status); } &&
27443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27445 (eval $ac_try) 2>&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); }; } &&
27449 { ac_try
='test -s conftest.$ac_objext'
27450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27451 (eval $ac_try) 2>&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); }; }; then
27457 echo "$as_me: failed program was:" >&5
27458 sed 's/^/| /' conftest.
$ac_ext >&5
27460 ac_lo
=`expr '(' $ac_mid ')' + 1`
27462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27465 ?
*) ac_cv_sizeof_long_double
=$ac_lo;;
27466 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77
27467 See \`config.log' for more details." >&5
27468 echo "$as_me: error: cannot compute sizeof (long double), 77
27469 See \`config.log' for more details." >&2;}
27470 { (exit 1); exit 1; }; } ;;
27473 if test "$cross_compiling" = yes; then
27474 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
27475 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
27476 { (exit 1); exit 1; }; }
27478 cat >conftest.
$ac_ext <<_ACEOF
27481 cat confdefs.h
>>conftest.
$ac_ext
27482 cat >>conftest.
$ac_ext <<_ACEOF
27483 /* end confdefs.h. */
27484 $ac_includes_default
27485 long longval () { return (long) (sizeof (long double)); }
27486 unsigned long ulongval () { return (long) (sizeof (long double)); }
27488 #include <stdlib.h>
27493 FILE *f = fopen ("conftest.val", "w");
27496 if (((long) (sizeof (long double))) < 0)
27498 long i = longval ();
27499 if (i != ((long) (sizeof (long double))))
27501 fprintf (f, "%ld\n", i);
27505 unsigned long i = ulongval ();
27506 if (i != ((long) (sizeof (long double))))
27508 fprintf (f, "%lu\n", i);
27510 exit (ferror (f) || fclose (f) != 0);
27516 rm -f conftest
$ac_exeext
27517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27518 (eval $ac_link) 2>&5
27520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27523 (eval $ac_try) 2>&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); }; }; then
27527 ac_cv_sizeof_long_double
=`cat conftest.val`
27529 echo "$as_me: program exited with status $ac_status" >&5
27530 echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.
$ac_ext >&5
27533 ( exit $ac_status )
27534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77
27535 See \`config.log' for more details." >&5
27536 echo "$as_me: error: cannot compute sizeof (long double), 77
27537 See \`config.log' for more details." >&2;}
27538 { (exit 1); exit 1; }; }
27540 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27545 ac_cv_sizeof_long_double
=0
27548 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
27549 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6
27550 cat >>confdefs.h
<<_ACEOF
27551 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
27556 echo "$as_me:$LINENO: checking for dev_t" >&5
27557 echo $ECHO_N "checking for dev_t... $ECHO_C" >&6
27558 if test "${ac_cv_type_dev_t+set}" = set; then
27559 echo $ECHO_N "(cached) $ECHO_C" >&6
27561 cat >conftest.
$ac_ext <<_ACEOF
27564 cat confdefs.h
>>conftest.
$ac_ext
27565 cat >>conftest.
$ac_ext <<_ACEOF
27566 /* end confdefs.h. */
27567 $ac_includes_default
27573 if (sizeof (dev_t))
27579 rm -f conftest.
$ac_objext
27580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27581 (eval $ac_compile) 2>conftest.er1
27583 grep -v '^ *+' conftest.er1
>conftest.err
27585 cat conftest.err
>&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); } &&
27588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27590 (eval $ac_try) 2>&5
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); }; } &&
27594 { ac_try
='test -s conftest.$ac_objext'
27595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27596 (eval $ac_try) 2>&5
27598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27599 (exit $ac_status); }; }; then
27600 ac_cv_type_dev_t
=yes
27602 echo "$as_me: failed program was:" >&5
27603 sed 's/^/| /' conftest.
$ac_ext >&5
27605 ac_cv_type_dev_t
=no
27607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27609 echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
27610 echo "${ECHO_T}$ac_cv_type_dev_t" >&6
27612 echo "$as_me:$LINENO: checking size of dev_t" >&5
27613 echo $ECHO_N "checking size of dev_t... $ECHO_C" >&6
27614 if test "${ac_cv_sizeof_dev_t+set}" = set; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27617 if test "$ac_cv_type_dev_t" = yes; then
27618 # The cast to unsigned long works around a bug in the HP C Compiler
27619 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27620 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27621 # This bug is HP SR number 8606223364.
27622 if test "$cross_compiling" = yes; then
27623 # Depending upon the size, compute the lo and hi bounds.
27624 cat >conftest.
$ac_ext <<_ACEOF
27627 cat confdefs.h
>>conftest.
$ac_ext
27628 cat >>conftest.
$ac_ext <<_ACEOF
27629 /* end confdefs.h. */
27630 $ac_includes_default
27634 static int test_array [1 - 2 * !(((long) (sizeof (dev_t))) >= 0)];
27641 rm -f conftest.
$ac_objext
27642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27643 (eval $ac_compile) 2>conftest.er1
27645 grep -v '^ *+' conftest.er1
>conftest.err
27647 cat conftest.err
>&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } &&
27650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27652 (eval $ac_try) 2>&5
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); }; } &&
27656 { ac_try
='test -s conftest.$ac_objext'
27657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27658 (eval $ac_try) 2>&5
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); }; }; then
27664 cat >conftest.
$ac_ext <<_ACEOF
27667 cat confdefs.h
>>conftest.
$ac_ext
27668 cat >>conftest.
$ac_ext <<_ACEOF
27669 /* end confdefs.h. */
27670 $ac_includes_default
27674 static int test_array [1 - 2 * !(((long) (sizeof (dev_t))) <= $ac_mid)];
27681 rm -f conftest.
$ac_objext
27682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27683 (eval $ac_compile) 2>conftest.er1
27685 grep -v '^ *+' conftest.er1
>conftest.err
27687 cat conftest.err
>&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } &&
27690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27692 (eval $ac_try) 2>&5
27694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27695 (exit $ac_status); }; } &&
27696 { ac_try
='test -s conftest.$ac_objext'
27697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27698 (eval $ac_try) 2>&5
27700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27701 (exit $ac_status); }; }; then
27702 ac_hi
=$ac_mid; break
27704 echo "$as_me: failed program was:" >&5
27705 sed 's/^/| /' conftest.
$ac_ext >&5
27707 ac_lo
=`expr $ac_mid + 1`
27708 if test $ac_lo -le $ac_mid; then
27712 ac_mid
=`expr 2 '*' $ac_mid + 1`
27714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27717 echo "$as_me: failed program was:" >&5
27718 sed 's/^/| /' conftest.
$ac_ext >&5
27720 cat >conftest.
$ac_ext <<_ACEOF
27723 cat confdefs.h
>>conftest.
$ac_ext
27724 cat >>conftest.
$ac_ext <<_ACEOF
27725 /* end confdefs.h. */
27726 $ac_includes_default
27730 static int test_array [1 - 2 * !(((long) (sizeof (dev_t))) < 0)];
27737 rm -f conftest.
$ac_objext
27738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27739 (eval $ac_compile) 2>conftest.er1
27741 grep -v '^ *+' conftest.er1
>conftest.err
27743 cat conftest.err
>&5
27744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745 (exit $ac_status); } &&
27746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27748 (eval $ac_try) 2>&5
27750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27751 (exit $ac_status); }; } &&
27752 { ac_try
='test -s conftest.$ac_objext'
27753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27754 (eval $ac_try) 2>&5
27756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757 (exit $ac_status); }; }; then
27760 cat >conftest.
$ac_ext <<_ACEOF
27763 cat confdefs.h
>>conftest.
$ac_ext
27764 cat >>conftest.
$ac_ext <<_ACEOF
27765 /* end confdefs.h. */
27766 $ac_includes_default
27770 static int test_array [1 - 2 * !(((long) (sizeof (dev_t))) >= $ac_mid)];
27777 rm -f conftest.
$ac_objext
27778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27779 (eval $ac_compile) 2>conftest.er1
27781 grep -v '^ *+' conftest.er1
>conftest.err
27783 cat conftest.err
>&5
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); } &&
27786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27788 (eval $ac_try) 2>&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); }; } &&
27792 { ac_try
='test -s conftest.$ac_objext'
27793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27794 (eval $ac_try) 2>&5
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); }; }; then
27798 ac_lo
=$ac_mid; break
27800 echo "$as_me: failed program was:" >&5
27801 sed 's/^/| /' conftest.
$ac_ext >&5
27803 ac_hi
=`expr '(' $ac_mid ')' - 1`
27804 if test $ac_mid -le $ac_hi; then
27808 ac_mid
=`expr 2 '*' $ac_mid`
27810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27813 echo "$as_me: failed program was:" >&5
27814 sed 's/^/| /' conftest.
$ac_ext >&5
27818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27821 # Binary search between lo and hi bounds.
27822 while test "x$ac_lo" != "x$ac_hi"; do
27823 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27824 cat >conftest.
$ac_ext <<_ACEOF
27827 cat confdefs.h
>>conftest.
$ac_ext
27828 cat >>conftest.
$ac_ext <<_ACEOF
27829 /* end confdefs.h. */
27830 $ac_includes_default
27834 static int test_array [1 - 2 * !(((long) (sizeof (dev_t))) <= $ac_mid)];
27841 rm -f conftest.
$ac_objext
27842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27843 (eval $ac_compile) 2>conftest.er1
27845 grep -v '^ *+' conftest.er1
>conftest.err
27847 cat conftest.err
>&5
27848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27849 (exit $ac_status); } &&
27850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27852 (eval $ac_try) 2>&5
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); }; } &&
27856 { ac_try
='test -s conftest.$ac_objext'
27857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27858 (eval $ac_try) 2>&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); }; }; then
27864 echo "$as_me: failed program was:" >&5
27865 sed 's/^/| /' conftest.
$ac_ext >&5
27867 ac_lo
=`expr '(' $ac_mid ')' + 1`
27869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27872 ?
*) ac_cv_sizeof_dev_t
=$ac_lo;;
27873 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (dev_t), 77
27874 See \`config.log' for more details." >&5
27875 echo "$as_me: error: cannot compute sizeof (dev_t), 77
27876 See \`config.log' for more details." >&2;}
27877 { (exit 1); exit 1; }; } ;;
27880 if test "$cross_compiling" = yes; then
27881 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
27882 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
27883 { (exit 1); exit 1; }; }
27885 cat >conftest.
$ac_ext <<_ACEOF
27888 cat confdefs.h
>>conftest.
$ac_ext
27889 cat >>conftest.
$ac_ext <<_ACEOF
27890 /* end confdefs.h. */
27891 $ac_includes_default
27892 long longval () { return (long) (sizeof (dev_t)); }
27893 unsigned long ulongval () { return (long) (sizeof (dev_t)); }
27895 #include <stdlib.h>
27900 FILE *f = fopen ("conftest.val", "w");
27903 if (((long) (sizeof (dev_t))) < 0)
27905 long i = longval ();
27906 if (i != ((long) (sizeof (dev_t))))
27908 fprintf (f, "%ld\n", i);
27912 unsigned long i = ulongval ();
27913 if (i != ((long) (sizeof (dev_t))))
27915 fprintf (f, "%lu\n", i);
27917 exit (ferror (f) || fclose (f) != 0);
27923 rm -f conftest
$ac_exeext
27924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27925 (eval $ac_link) 2>&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27930 (eval $ac_try) 2>&5
27932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933 (exit $ac_status); }; }; then
27934 ac_cv_sizeof_dev_t
=`cat conftest.val`
27936 echo "$as_me: program exited with status $ac_status" >&5
27937 echo "$as_me: failed program was:" >&5
27938 sed 's/^/| /' conftest.
$ac_ext >&5
27940 ( exit $ac_status )
27941 { { echo "$as_me:$LINENO: error: cannot compute sizeof (dev_t), 77
27942 See \`config.log' for more details." >&5
27943 echo "$as_me: error: cannot compute sizeof (dev_t), 77
27944 See \`config.log' for more details." >&2;}
27945 { (exit 1); exit 1; }; }
27947 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27952 ac_cv_sizeof_dev_t
=0
27955 echo "$as_me:$LINENO: result: $ac_cv_sizeof_dev_t" >&5
27956 echo "${ECHO_T}$ac_cv_sizeof_dev_t" >&6
27957 cat >>confdefs.h
<<_ACEOF
27958 #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t
27962 echo "$as_me:$LINENO: checking for fpos_t" >&5
27963 echo $ECHO_N "checking for fpos_t... $ECHO_C" >&6
27964 if test "${ac_cv_type_fpos_t+set}" = set; then
27965 echo $ECHO_N "(cached) $ECHO_C" >&6
27967 cat >conftest.
$ac_ext <<_ACEOF
27970 cat confdefs.h
>>conftest.
$ac_ext
27971 cat >>conftest.
$ac_ext <<_ACEOF
27972 /* end confdefs.h. */
27973 $ac_includes_default
27979 if (sizeof (fpos_t))
27985 rm -f conftest.
$ac_objext
27986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27987 (eval $ac_compile) 2>conftest.er1
27989 grep -v '^ *+' conftest.er1
>conftest.err
27991 cat conftest.err
>&5
27992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27993 (exit $ac_status); } &&
27994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27996 (eval $ac_try) 2>&5
27998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27999 (exit $ac_status); }; } &&
28000 { ac_try
='test -s conftest.$ac_objext'
28001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28002 (eval $ac_try) 2>&5
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); }; }; then
28006 ac_cv_type_fpos_t
=yes
28008 echo "$as_me: failed program was:" >&5
28009 sed 's/^/| /' conftest.
$ac_ext >&5
28011 ac_cv_type_fpos_t
=no
28013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28015 echo "$as_me:$LINENO: result: $ac_cv_type_fpos_t" >&5
28016 echo "${ECHO_T}$ac_cv_type_fpos_t" >&6
28018 echo "$as_me:$LINENO: checking size of fpos_t" >&5
28019 echo $ECHO_N "checking size of fpos_t... $ECHO_C" >&6
28020 if test "${ac_cv_sizeof_fpos_t+set}" = set; then
28021 echo $ECHO_N "(cached) $ECHO_C" >&6
28023 if test "$ac_cv_type_fpos_t" = yes; then
28024 # The cast to unsigned long works around a bug in the HP C Compiler
28025 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28026 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28027 # This bug is HP SR number 8606223364.
28028 if test "$cross_compiling" = yes; then
28029 # Depending upon the size, compute the lo and hi bounds.
28030 cat >conftest.
$ac_ext <<_ACEOF
28033 cat confdefs.h
>>conftest.
$ac_ext
28034 cat >>conftest.
$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28036 $ac_includes_default
28040 static int test_array [1 - 2 * !(((long) (sizeof (fpos_t))) >= 0)];
28047 rm -f conftest.
$ac_objext
28048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28049 (eval $ac_compile) 2>conftest.er1
28051 grep -v '^ *+' conftest.er1
>conftest.err
28053 cat conftest.err
>&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); } &&
28056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28058 (eval $ac_try) 2>&5
28060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28061 (exit $ac_status); }; } &&
28062 { ac_try
='test -s conftest.$ac_objext'
28063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28064 (eval $ac_try) 2>&5
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); }; }; then
28070 cat >conftest.
$ac_ext <<_ACEOF
28073 cat confdefs.h
>>conftest.
$ac_ext
28074 cat >>conftest.
$ac_ext <<_ACEOF
28075 /* end confdefs.h. */
28076 $ac_includes_default
28080 static int test_array [1 - 2 * !(((long) (sizeof (fpos_t))) <= $ac_mid)];
28087 rm -f conftest.
$ac_objext
28088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28089 (eval $ac_compile) 2>conftest.er1
28091 grep -v '^ *+' conftest.er1
>conftest.err
28093 cat conftest.err
>&5
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); } &&
28096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28098 (eval $ac_try) 2>&5
28100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28101 (exit $ac_status); }; } &&
28102 { ac_try
='test -s conftest.$ac_objext'
28103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28104 (eval $ac_try) 2>&5
28106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28107 (exit $ac_status); }; }; then
28108 ac_hi
=$ac_mid; break
28110 echo "$as_me: failed program was:" >&5
28111 sed 's/^/| /' conftest.
$ac_ext >&5
28113 ac_lo
=`expr $ac_mid + 1`
28114 if test $ac_lo -le $ac_mid; then
28118 ac_mid
=`expr 2 '*' $ac_mid + 1`
28120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28123 echo "$as_me: failed program was:" >&5
28124 sed 's/^/| /' conftest.
$ac_ext >&5
28126 cat >conftest.
$ac_ext <<_ACEOF
28129 cat confdefs.h
>>conftest.
$ac_ext
28130 cat >>conftest.
$ac_ext <<_ACEOF
28131 /* end confdefs.h. */
28132 $ac_includes_default
28136 static int test_array [1 - 2 * !(((long) (sizeof (fpos_t))) < 0)];
28143 rm -f conftest.
$ac_objext
28144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28145 (eval $ac_compile) 2>conftest.er1
28147 grep -v '^ *+' conftest.er1
>conftest.err
28149 cat conftest.err
>&5
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); } &&
28152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28154 (eval $ac_try) 2>&5
28156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157 (exit $ac_status); }; } &&
28158 { ac_try
='test -s conftest.$ac_objext'
28159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28160 (eval $ac_try) 2>&5
28162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28163 (exit $ac_status); }; }; then
28166 cat >conftest.
$ac_ext <<_ACEOF
28169 cat confdefs.h
>>conftest.
$ac_ext
28170 cat >>conftest.
$ac_ext <<_ACEOF
28171 /* end confdefs.h. */
28172 $ac_includes_default
28176 static int test_array [1 - 2 * !(((long) (sizeof (fpos_t))) >= $ac_mid)];
28183 rm -f conftest.
$ac_objext
28184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28185 (eval $ac_compile) 2>conftest.er1
28187 grep -v '^ *+' conftest.er1
>conftest.err
28189 cat conftest.err
>&5
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); } &&
28192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28194 (eval $ac_try) 2>&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); }; } &&
28198 { ac_try
='test -s conftest.$ac_objext'
28199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28200 (eval $ac_try) 2>&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); }; }; then
28204 ac_lo
=$ac_mid; break
28206 echo "$as_me: failed program was:" >&5
28207 sed 's/^/| /' conftest.
$ac_ext >&5
28209 ac_hi
=`expr '(' $ac_mid ')' - 1`
28210 if test $ac_mid -le $ac_hi; then
28214 ac_mid
=`expr 2 '*' $ac_mid`
28216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28219 echo "$as_me: failed program was:" >&5
28220 sed 's/^/| /' conftest.
$ac_ext >&5
28224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28227 # Binary search between lo and hi bounds.
28228 while test "x$ac_lo" != "x$ac_hi"; do
28229 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28230 cat >conftest.
$ac_ext <<_ACEOF
28233 cat confdefs.h
>>conftest.
$ac_ext
28234 cat >>conftest.
$ac_ext <<_ACEOF
28235 /* end confdefs.h. */
28236 $ac_includes_default
28240 static int test_array [1 - 2 * !(((long) (sizeof (fpos_t))) <= $ac_mid)];
28247 rm -f conftest.
$ac_objext
28248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28249 (eval $ac_compile) 2>conftest.er1
28251 grep -v '^ *+' conftest.er1
>conftest.err
28253 cat conftest.err
>&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); } &&
28256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28258 (eval $ac_try) 2>&5
28260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28261 (exit $ac_status); }; } &&
28262 { ac_try
='test -s conftest.$ac_objext'
28263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28264 (eval $ac_try) 2>&5
28266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267 (exit $ac_status); }; }; then
28270 echo "$as_me: failed program was:" >&5
28271 sed 's/^/| /' conftest.
$ac_ext >&5
28273 ac_lo
=`expr '(' $ac_mid ')' + 1`
28275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28278 ?
*) ac_cv_sizeof_fpos_t
=$ac_lo;;
28279 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (fpos_t), 77
28280 See \`config.log' for more details." >&5
28281 echo "$as_me: error: cannot compute sizeof (fpos_t), 77
28282 See \`config.log' for more details." >&2;}
28283 { (exit 1); exit 1; }; } ;;
28286 if test "$cross_compiling" = yes; then
28287 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
28288 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
28289 { (exit 1); exit 1; }; }
28291 cat >conftest.
$ac_ext <<_ACEOF
28294 cat confdefs.h
>>conftest.
$ac_ext
28295 cat >>conftest.
$ac_ext <<_ACEOF
28296 /* end confdefs.h. */
28297 $ac_includes_default
28298 long longval () { return (long) (sizeof (fpos_t)); }
28299 unsigned long ulongval () { return (long) (sizeof (fpos_t)); }
28301 #include <stdlib.h>
28306 FILE *f = fopen ("conftest.val", "w");
28309 if (((long) (sizeof (fpos_t))) < 0)
28311 long i = longval ();
28312 if (i != ((long) (sizeof (fpos_t))))
28314 fprintf (f, "%ld\n", i);
28318 unsigned long i = ulongval ();
28319 if (i != ((long) (sizeof (fpos_t))))
28321 fprintf (f, "%lu\n", i);
28323 exit (ferror (f) || fclose (f) != 0);
28329 rm -f conftest
$ac_exeext
28330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28331 (eval $ac_link) 2>&5
28333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28334 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28336 (eval $ac_try) 2>&5
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); }; }; then
28340 ac_cv_sizeof_fpos_t
=`cat conftest.val`
28342 echo "$as_me: program exited with status $ac_status" >&5
28343 echo "$as_me: failed program was:" >&5
28344 sed 's/^/| /' conftest.
$ac_ext >&5
28346 ( exit $ac_status )
28347 { { echo "$as_me:$LINENO: error: cannot compute sizeof (fpos_t), 77
28348 See \`config.log' for more details." >&5
28349 echo "$as_me: error: cannot compute sizeof (fpos_t), 77
28350 See \`config.log' for more details." >&2;}
28351 { (exit 1); exit 1; }; }
28353 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28358 ac_cv_sizeof_fpos_t
=0
28361 echo "$as_me:$LINENO: result: $ac_cv_sizeof_fpos_t" >&5
28362 echo "${ECHO_T}$ac_cv_sizeof_fpos_t" >&6
28363 cat >>confdefs.h
<<_ACEOF
28364 #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
28368 echo "$as_me:$LINENO: checking for mode_t" >&5
28369 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28370 if test "${ac_cv_type_mode_t+set}" = set; then
28371 echo $ECHO_N "(cached) $ECHO_C" >&6
28373 cat >conftest.
$ac_ext <<_ACEOF
28376 cat confdefs.h
>>conftest.
$ac_ext
28377 cat >>conftest.
$ac_ext <<_ACEOF
28378 /* end confdefs.h. */
28379 $ac_includes_default
28385 if (sizeof (mode_t))
28391 rm -f conftest.
$ac_objext
28392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28393 (eval $ac_compile) 2>conftest.er1
28395 grep -v '^ *+' conftest.er1
>conftest.err
28397 cat conftest.err
>&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); } &&
28400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402 (eval $ac_try) 2>&5
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); }; } &&
28406 { ac_try
='test -s conftest.$ac_objext'
28407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408 (eval $ac_try) 2>&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; }; then
28412 ac_cv_type_mode_t
=yes
28414 echo "$as_me: failed program was:" >&5
28415 sed 's/^/| /' conftest.
$ac_ext >&5
28417 ac_cv_type_mode_t
=no
28419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28421 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28422 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28424 echo "$as_me:$LINENO: checking size of mode_t" >&5
28425 echo $ECHO_N "checking size of mode_t... $ECHO_C" >&6
28426 if test "${ac_cv_sizeof_mode_t+set}" = set; then
28427 echo $ECHO_N "(cached) $ECHO_C" >&6
28429 if test "$ac_cv_type_mode_t" = yes; then
28430 # The cast to unsigned long works around a bug in the HP C Compiler
28431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28433 # This bug is HP SR number 8606223364.
28434 if test "$cross_compiling" = yes; then
28435 # Depending upon the size, compute the lo and hi bounds.
28436 cat >conftest.
$ac_ext <<_ACEOF
28439 cat confdefs.h
>>conftest.
$ac_ext
28440 cat >>conftest.
$ac_ext <<_ACEOF
28441 /* end confdefs.h. */
28442 $ac_includes_default
28446 static int test_array [1 - 2 * !(((long) (sizeof (mode_t))) >= 0)];
28453 rm -f conftest.
$ac_objext
28454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28455 (eval $ac_compile) 2>conftest.er1
28457 grep -v '^ *+' conftest.er1
>conftest.err
28459 cat conftest.err
>&5
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); } &&
28462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28464 (eval $ac_try) 2>&5
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); }; } &&
28468 { ac_try
='test -s conftest.$ac_objext'
28469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28470 (eval $ac_try) 2>&5
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); }; }; then
28476 cat >conftest.
$ac_ext <<_ACEOF
28479 cat confdefs.h
>>conftest.
$ac_ext
28480 cat >>conftest.
$ac_ext <<_ACEOF
28481 /* end confdefs.h. */
28482 $ac_includes_default
28486 static int test_array [1 - 2 * !(((long) (sizeof (mode_t))) <= $ac_mid)];
28493 rm -f conftest.
$ac_objext
28494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28495 (eval $ac_compile) 2>conftest.er1
28497 grep -v '^ *+' conftest.er1
>conftest.err
28499 cat conftest.err
>&5
28500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501 (exit $ac_status); } &&
28502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28504 (eval $ac_try) 2>&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); }; } &&
28508 { ac_try
='test -s conftest.$ac_objext'
28509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28510 (eval $ac_try) 2>&5
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); }; }; then
28514 ac_hi
=$ac_mid; break
28516 echo "$as_me: failed program was:" >&5
28517 sed 's/^/| /' conftest.
$ac_ext >&5
28519 ac_lo
=`expr $ac_mid + 1`
28520 if test $ac_lo -le $ac_mid; then
28524 ac_mid
=`expr 2 '*' $ac_mid + 1`
28526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28529 echo "$as_me: failed program was:" >&5
28530 sed 's/^/| /' conftest.
$ac_ext >&5
28532 cat >conftest.
$ac_ext <<_ACEOF
28535 cat confdefs.h
>>conftest.
$ac_ext
28536 cat >>conftest.
$ac_ext <<_ACEOF
28537 /* end confdefs.h. */
28538 $ac_includes_default
28542 static int test_array [1 - 2 * !(((long) (sizeof (mode_t))) < 0)];
28549 rm -f conftest.
$ac_objext
28550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28551 (eval $ac_compile) 2>conftest.er1
28553 grep -v '^ *+' conftest.er1
>conftest.err
28555 cat conftest.err
>&5
28556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28557 (exit $ac_status); } &&
28558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28560 (eval $ac_try) 2>&5
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); }; } &&
28564 { ac_try
='test -s conftest.$ac_objext'
28565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28566 (eval $ac_try) 2>&5
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); }; }; then
28572 cat >conftest.
$ac_ext <<_ACEOF
28575 cat confdefs.h
>>conftest.
$ac_ext
28576 cat >>conftest.
$ac_ext <<_ACEOF
28577 /* end confdefs.h. */
28578 $ac_includes_default
28582 static int test_array [1 - 2 * !(((long) (sizeof (mode_t))) >= $ac_mid)];
28589 rm -f conftest.
$ac_objext
28590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28591 (eval $ac_compile) 2>conftest.er1
28593 grep -v '^ *+' conftest.er1
>conftest.err
28595 cat conftest.err
>&5
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); } &&
28598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28600 (eval $ac_try) 2>&5
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); }; } &&
28604 { ac_try
='test -s conftest.$ac_objext'
28605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28606 (eval $ac_try) 2>&5
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); }; }; then
28610 ac_lo
=$ac_mid; break
28612 echo "$as_me: failed program was:" >&5
28613 sed 's/^/| /' conftest.
$ac_ext >&5
28615 ac_hi
=`expr '(' $ac_mid ')' - 1`
28616 if test $ac_mid -le $ac_hi; then
28620 ac_mid
=`expr 2 '*' $ac_mid`
28622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28625 echo "$as_me: failed program was:" >&5
28626 sed 's/^/| /' conftest.
$ac_ext >&5
28630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28633 # Binary search between lo and hi bounds.
28634 while test "x$ac_lo" != "x$ac_hi"; do
28635 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28636 cat >conftest.
$ac_ext <<_ACEOF
28639 cat confdefs.h
>>conftest.
$ac_ext
28640 cat >>conftest.
$ac_ext <<_ACEOF
28641 /* end confdefs.h. */
28642 $ac_includes_default
28646 static int test_array [1 - 2 * !(((long) (sizeof (mode_t))) <= $ac_mid)];
28653 rm -f conftest.
$ac_objext
28654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28655 (eval $ac_compile) 2>conftest.er1
28657 grep -v '^ *+' conftest.er1
>conftest.err
28659 cat conftest.err
>&5
28660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661 (exit $ac_status); } &&
28662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28664 (eval $ac_try) 2>&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); }; } &&
28668 { ac_try
='test -s conftest.$ac_objext'
28669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28670 (eval $ac_try) 2>&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); }; }; then
28676 echo "$as_me: failed program was:" >&5
28677 sed 's/^/| /' conftest.
$ac_ext >&5
28679 ac_lo
=`expr '(' $ac_mid ')' + 1`
28681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28684 ?
*) ac_cv_sizeof_mode_t
=$ac_lo;;
28685 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (mode_t), 77
28686 See \`config.log' for more details." >&5
28687 echo "$as_me: error: cannot compute sizeof (mode_t), 77
28688 See \`config.log' for more details." >&2;}
28689 { (exit 1); exit 1; }; } ;;
28692 if test "$cross_compiling" = yes; then
28693 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
28694 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
28695 { (exit 1); exit 1; }; }
28697 cat >conftest.
$ac_ext <<_ACEOF
28700 cat confdefs.h
>>conftest.
$ac_ext
28701 cat >>conftest.
$ac_ext <<_ACEOF
28702 /* end confdefs.h. */
28703 $ac_includes_default
28704 long longval () { return (long) (sizeof (mode_t)); }
28705 unsigned long ulongval () { return (long) (sizeof (mode_t)); }
28707 #include <stdlib.h>
28712 FILE *f = fopen ("conftest.val", "w");
28715 if (((long) (sizeof (mode_t))) < 0)
28717 long i = longval ();
28718 if (i != ((long) (sizeof (mode_t))))
28720 fprintf (f, "%ld\n", i);
28724 unsigned long i = ulongval ();
28725 if (i != ((long) (sizeof (mode_t))))
28727 fprintf (f, "%lu\n", i);
28729 exit (ferror (f) || fclose (f) != 0);
28735 rm -f conftest
$ac_exeext
28736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28737 (eval $ac_link) 2>&5
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28742 (eval $ac_try) 2>&5
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); }; }; then
28746 ac_cv_sizeof_mode_t
=`cat conftest.val`
28748 echo "$as_me: program exited with status $ac_status" >&5
28749 echo "$as_me: failed program was:" >&5
28750 sed 's/^/| /' conftest.
$ac_ext >&5
28752 ( exit $ac_status )
28753 { { echo "$as_me:$LINENO: error: cannot compute sizeof (mode_t), 77
28754 See \`config.log' for more details." >&5
28755 echo "$as_me: error: cannot compute sizeof (mode_t), 77
28756 See \`config.log' for more details." >&2;}
28757 { (exit 1); exit 1; }; }
28759 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28764 ac_cv_sizeof_mode_t
=0
28767 echo "$as_me:$LINENO: result: $ac_cv_sizeof_mode_t" >&5
28768 echo "${ECHO_T}$ac_cv_sizeof_mode_t" >&6
28769 cat >>confdefs.h
<<_ACEOF
28770 #define SIZEOF_MODE_T $ac_cv_sizeof_mode_t
28774 echo "$as_me:$LINENO: checking for off_t" >&5
28775 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28776 if test "${ac_cv_type_off_t+set}" = set; then
28777 echo $ECHO_N "(cached) $ECHO_C" >&6
28779 cat >conftest.
$ac_ext <<_ACEOF
28782 cat confdefs.h
>>conftest.
$ac_ext
28783 cat >>conftest.
$ac_ext <<_ACEOF
28784 /* end confdefs.h. */
28785 $ac_includes_default
28791 if (sizeof (off_t))
28797 rm -f conftest.
$ac_objext
28798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28799 (eval $ac_compile) 2>conftest.er1
28801 grep -v '^ *+' conftest.er1
>conftest.err
28803 cat conftest.err
>&5
28804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28805 (exit $ac_status); } &&
28806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28808 (eval $ac_try) 2>&5
28810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28811 (exit $ac_status); }; } &&
28812 { ac_try
='test -s conftest.$ac_objext'
28813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28814 (eval $ac_try) 2>&5
28816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28817 (exit $ac_status); }; }; then
28818 ac_cv_type_off_t
=yes
28820 echo "$as_me: failed program was:" >&5
28821 sed 's/^/| /' conftest.
$ac_ext >&5
28823 ac_cv_type_off_t
=no
28825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28827 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28828 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28830 echo "$as_me:$LINENO: checking size of off_t" >&5
28831 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
28832 if test "${ac_cv_sizeof_off_t+set}" = set; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28835 if test "$ac_cv_type_off_t" = yes; then
28836 # The cast to unsigned long works around a bug in the HP C Compiler
28837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28839 # This bug is HP SR number 8606223364.
28840 if test "$cross_compiling" = yes; then
28841 # Depending upon the size, compute the lo and hi bounds.
28842 cat >conftest.
$ac_ext <<_ACEOF
28845 cat confdefs.h
>>conftest.
$ac_ext
28846 cat >>conftest.
$ac_ext <<_ACEOF
28847 /* end confdefs.h. */
28848 $ac_includes_default
28852 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
28859 rm -f conftest.
$ac_objext
28860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28861 (eval $ac_compile) 2>conftest.er1
28863 grep -v '^ *+' conftest.er1
>conftest.err
28865 cat conftest.err
>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); } &&
28868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28870 (eval $ac_try) 2>&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); }; } &&
28874 { ac_try
='test -s conftest.$ac_objext'
28875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28876 (eval $ac_try) 2>&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; }; then
28882 cat >conftest.
$ac_ext <<_ACEOF
28885 cat confdefs.h
>>conftest.
$ac_ext
28886 cat >>conftest.
$ac_ext <<_ACEOF
28887 /* end confdefs.h. */
28888 $ac_includes_default
28892 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
28899 rm -f conftest.
$ac_objext
28900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28901 (eval $ac_compile) 2>conftest.er1
28903 grep -v '^ *+' conftest.er1
>conftest.err
28905 cat conftest.err
>&5
28906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28907 (exit $ac_status); } &&
28908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28910 (eval $ac_try) 2>&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); }; } &&
28914 { ac_try
='test -s conftest.$ac_objext'
28915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28916 (eval $ac_try) 2>&5
28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919 (exit $ac_status); }; }; then
28920 ac_hi
=$ac_mid; break
28922 echo "$as_me: failed program was:" >&5
28923 sed 's/^/| /' conftest.
$ac_ext >&5
28925 ac_lo
=`expr $ac_mid + 1`
28926 if test $ac_lo -le $ac_mid; then
28930 ac_mid
=`expr 2 '*' $ac_mid + 1`
28932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28935 echo "$as_me: failed program was:" >&5
28936 sed 's/^/| /' conftest.
$ac_ext >&5
28938 cat >conftest.
$ac_ext <<_ACEOF
28941 cat confdefs.h
>>conftest.
$ac_ext
28942 cat >>conftest.
$ac_ext <<_ACEOF
28943 /* end confdefs.h. */
28944 $ac_includes_default
28948 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
28955 rm -f conftest.
$ac_objext
28956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28957 (eval $ac_compile) 2>conftest.er1
28959 grep -v '^ *+' conftest.er1
>conftest.err
28961 cat conftest.err
>&5
28962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28963 (exit $ac_status); } &&
28964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28966 (eval $ac_try) 2>&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); }; } &&
28970 { ac_try
='test -s conftest.$ac_objext'
28971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28972 (eval $ac_try) 2>&5
28974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975 (exit $ac_status); }; }; then
28978 cat >conftest.
$ac_ext <<_ACEOF
28981 cat confdefs.h
>>conftest.
$ac_ext
28982 cat >>conftest.
$ac_ext <<_ACEOF
28983 /* end confdefs.h. */
28984 $ac_includes_default
28988 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
28995 rm -f conftest.
$ac_objext
28996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28997 (eval $ac_compile) 2>conftest.er1
28999 grep -v '^ *+' conftest.er1
>conftest.err
29001 cat conftest.err
>&5
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); } &&
29004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29006 (eval $ac_try) 2>&5
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); }; } &&
29010 { ac_try
='test -s conftest.$ac_objext'
29011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012 (eval $ac_try) 2>&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; }; then
29016 ac_lo
=$ac_mid; break
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.
$ac_ext >&5
29021 ac_hi
=`expr '(' $ac_mid ')' - 1`
29022 if test $ac_mid -le $ac_hi; then
29026 ac_mid
=`expr 2 '*' $ac_mid`
29028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29031 echo "$as_me: failed program was:" >&5
29032 sed 's/^/| /' conftest.
$ac_ext >&5
29036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29039 # Binary search between lo and hi bounds.
29040 while test "x$ac_lo" != "x$ac_hi"; do
29041 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29042 cat >conftest.
$ac_ext <<_ACEOF
29045 cat confdefs.h
>>conftest.
$ac_ext
29046 cat >>conftest.
$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29048 $ac_includes_default
29052 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
29059 rm -f conftest.
$ac_objext
29060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29061 (eval $ac_compile) 2>conftest.er1
29063 grep -v '^ *+' conftest.er1
>conftest.err
29065 cat conftest.err
>&5
29066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067 (exit $ac_status); } &&
29068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29070 (eval $ac_try) 2>&5
29072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29073 (exit $ac_status); }; } &&
29074 { ac_try
='test -s conftest.$ac_objext'
29075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29076 (eval $ac_try) 2>&5
29078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079 (exit $ac_status); }; }; then
29082 echo "$as_me: failed program was:" >&5
29083 sed 's/^/| /' conftest.
$ac_ext >&5
29085 ac_lo
=`expr '(' $ac_mid ')' + 1`
29087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29090 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
29091 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
29092 See \`config.log' for more details." >&5
29093 echo "$as_me: error: cannot compute sizeof (off_t), 77
29094 See \`config.log' for more details." >&2;}
29095 { (exit 1); exit 1; }; } ;;
29098 if test "$cross_compiling" = yes; then
29099 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
29100 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
29101 { (exit 1); exit 1; }; }
29103 cat >conftest.
$ac_ext <<_ACEOF
29106 cat confdefs.h
>>conftest.
$ac_ext
29107 cat >>conftest.
$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29109 $ac_includes_default
29110 long longval () { return (long) (sizeof (off_t)); }
29111 unsigned long ulongval () { return (long) (sizeof (off_t)); }
29113 #include <stdlib.h>
29118 FILE *f = fopen ("conftest.val", "w");
29121 if (((long) (sizeof (off_t))) < 0)
29123 long i = longval ();
29124 if (i != ((long) (sizeof (off_t))))
29126 fprintf (f, "%ld\n", i);
29130 unsigned long i = ulongval ();
29131 if (i != ((long) (sizeof (off_t))))
29133 fprintf (f, "%lu\n", i);
29135 exit (ferror (f) || fclose (f) != 0);
29141 rm -f conftest
$ac_exeext
29142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29143 (eval $ac_link) 2>&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29148 (eval $ac_try) 2>&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); }; }; then
29152 ac_cv_sizeof_off_t
=`cat conftest.val`
29154 echo "$as_me: program exited with status $ac_status" >&5
29155 echo "$as_me: failed program was:" >&5
29156 sed 's/^/| /' conftest.
$ac_ext >&5
29158 ( exit $ac_status )
29159 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
29160 See \`config.log' for more details." >&5
29161 echo "$as_me: error: cannot compute sizeof (off_t), 77
29162 See \`config.log' for more details." >&2;}
29163 { (exit 1); exit 1; }; }
29165 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29170 ac_cv_sizeof_off_t
=0
29173 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
29174 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
29175 cat >>confdefs.h
<<_ACEOF
29176 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
29180 echo "$as_me:$LINENO: checking for ssize_t" >&5
29181 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29182 if test "${ac_cv_type_ssize_t+set}" = set; then
29183 echo $ECHO_N "(cached) $ECHO_C" >&6
29185 cat >conftest.
$ac_ext <<_ACEOF
29188 cat confdefs.h
>>conftest.
$ac_ext
29189 cat >>conftest.
$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29191 $ac_includes_default
29197 if (sizeof (ssize_t))
29203 rm -f conftest.
$ac_objext
29204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29205 (eval $ac_compile) 2>conftest.er1
29207 grep -v '^ *+' conftest.er1
>conftest.err
29209 cat conftest.err
>&5
29210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211 (exit $ac_status); } &&
29212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29214 (eval $ac_try) 2>&5
29216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29217 (exit $ac_status); }; } &&
29218 { ac_try
='test -s conftest.$ac_objext'
29219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29220 (eval $ac_try) 2>&5
29222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29223 (exit $ac_status); }; }; then
29224 ac_cv_type_ssize_t
=yes
29226 echo "$as_me: failed program was:" >&5
29227 sed 's/^/| /' conftest.
$ac_ext >&5
29229 ac_cv_type_ssize_t
=no
29231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29233 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29234 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29236 echo "$as_me:$LINENO: checking size of ssize_t" >&5
29237 echo $ECHO_N "checking size of ssize_t... $ECHO_C" >&6
29238 if test "${ac_cv_sizeof_ssize_t+set}" = set; then
29239 echo $ECHO_N "(cached) $ECHO_C" >&6
29241 if test "$ac_cv_type_ssize_t" = yes; then
29242 # The cast to unsigned long works around a bug in the HP C Compiler
29243 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29244 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29245 # This bug is HP SR number 8606223364.
29246 if test "$cross_compiling" = yes; then
29247 # Depending upon the size, compute the lo and hi bounds.
29248 cat >conftest.
$ac_ext <<_ACEOF
29251 cat confdefs.h
>>conftest.
$ac_ext
29252 cat >>conftest.
$ac_ext <<_ACEOF
29253 /* end confdefs.h. */
29254 $ac_includes_default
29258 static int test_array [1 - 2 * !(((long) (sizeof (ssize_t))) >= 0)];
29265 rm -f conftest.
$ac_objext
29266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29267 (eval $ac_compile) 2>conftest.er1
29269 grep -v '^ *+' conftest.er1
>conftest.err
29271 cat conftest.err
>&5
29272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273 (exit $ac_status); } &&
29274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29276 (eval $ac_try) 2>&5
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); }; } &&
29280 { ac_try
='test -s conftest.$ac_objext'
29281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29282 (eval $ac_try) 2>&5
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); }; }; then
29288 cat >conftest.
$ac_ext <<_ACEOF
29291 cat confdefs.h
>>conftest.
$ac_ext
29292 cat >>conftest.
$ac_ext <<_ACEOF
29293 /* end confdefs.h. */
29294 $ac_includes_default
29298 static int test_array [1 - 2 * !(((long) (sizeof (ssize_t))) <= $ac_mid)];
29305 rm -f conftest.
$ac_objext
29306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29307 (eval $ac_compile) 2>conftest.er1
29309 grep -v '^ *+' conftest.er1
>conftest.err
29311 cat conftest.err
>&5
29312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29313 (exit $ac_status); } &&
29314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29316 (eval $ac_try) 2>&5
29318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319 (exit $ac_status); }; } &&
29320 { ac_try
='test -s conftest.$ac_objext'
29321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29322 (eval $ac_try) 2>&5
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); }; }; then
29326 ac_hi
=$ac_mid; break
29328 echo "$as_me: failed program was:" >&5
29329 sed 's/^/| /' conftest.
$ac_ext >&5
29331 ac_lo
=`expr $ac_mid + 1`
29332 if test $ac_lo -le $ac_mid; then
29336 ac_mid
=`expr 2 '*' $ac_mid + 1`
29338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29341 echo "$as_me: failed program was:" >&5
29342 sed 's/^/| /' conftest.
$ac_ext >&5
29344 cat >conftest.
$ac_ext <<_ACEOF
29347 cat confdefs.h
>>conftest.
$ac_ext
29348 cat >>conftest.
$ac_ext <<_ACEOF
29349 /* end confdefs.h. */
29350 $ac_includes_default
29354 static int test_array [1 - 2 * !(((long) (sizeof (ssize_t))) < 0)];
29361 rm -f conftest.
$ac_objext
29362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29363 (eval $ac_compile) 2>conftest.er1
29365 grep -v '^ *+' conftest.er1
>conftest.err
29367 cat conftest.err
>&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); } &&
29370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29372 (eval $ac_try) 2>&5
29374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375 (exit $ac_status); }; } &&
29376 { ac_try
='test -s conftest.$ac_objext'
29377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29378 (eval $ac_try) 2>&5
29380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381 (exit $ac_status); }; }; then
29384 cat >conftest.
$ac_ext <<_ACEOF
29387 cat confdefs.h
>>conftest.
$ac_ext
29388 cat >>conftest.
$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29390 $ac_includes_default
29394 static int test_array [1 - 2 * !(((long) (sizeof (ssize_t))) >= $ac_mid)];
29401 rm -f conftest.
$ac_objext
29402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29403 (eval $ac_compile) 2>conftest.er1
29405 grep -v '^ *+' conftest.er1
>conftest.err
29407 cat conftest.err
>&5
29408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29409 (exit $ac_status); } &&
29410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29412 (eval $ac_try) 2>&5
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); }; } &&
29416 { ac_try
='test -s conftest.$ac_objext'
29417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29418 (eval $ac_try) 2>&5
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); }; }; then
29422 ac_lo
=$ac_mid; break
29424 echo "$as_me: failed program was:" >&5
29425 sed 's/^/| /' conftest.
$ac_ext >&5
29427 ac_hi
=`expr '(' $ac_mid ')' - 1`
29428 if test $ac_mid -le $ac_hi; then
29432 ac_mid
=`expr 2 '*' $ac_mid`
29434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29437 echo "$as_me: failed program was:" >&5
29438 sed 's/^/| /' conftest.
$ac_ext >&5
29442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29445 # Binary search between lo and hi bounds.
29446 while test "x$ac_lo" != "x$ac_hi"; do
29447 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29448 cat >conftest.
$ac_ext <<_ACEOF
29451 cat confdefs.h
>>conftest.
$ac_ext
29452 cat >>conftest.
$ac_ext <<_ACEOF
29453 /* end confdefs.h. */
29454 $ac_includes_default
29458 static int test_array [1 - 2 * !(((long) (sizeof (ssize_t))) <= $ac_mid)];
29465 rm -f conftest.
$ac_objext
29466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29467 (eval $ac_compile) 2>conftest.er1
29469 grep -v '^ *+' conftest.er1
>conftest.err
29471 cat conftest.err
>&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); } &&
29474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29476 (eval $ac_try) 2>&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); }; } &&
29480 { ac_try
='test -s conftest.$ac_objext'
29481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29482 (eval $ac_try) 2>&5
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); }; }; then
29488 echo "$as_me: failed program was:" >&5
29489 sed 's/^/| /' conftest.
$ac_ext >&5
29491 ac_lo
=`expr '(' $ac_mid ')' + 1`
29493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29496 ?
*) ac_cv_sizeof_ssize_t
=$ac_lo;;
29497 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (ssize_t), 77
29498 See \`config.log' for more details." >&5
29499 echo "$as_me: error: cannot compute sizeof (ssize_t), 77
29500 See \`config.log' for more details." >&2;}
29501 { (exit 1); exit 1; }; } ;;
29504 if test "$cross_compiling" = yes; then
29505 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
29506 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
29507 { (exit 1); exit 1; }; }
29509 cat >conftest.
$ac_ext <<_ACEOF
29512 cat confdefs.h
>>conftest.
$ac_ext
29513 cat >>conftest.
$ac_ext <<_ACEOF
29514 /* end confdefs.h. */
29515 $ac_includes_default
29516 long longval () { return (long) (sizeof (ssize_t)); }
29517 unsigned long ulongval () { return (long) (sizeof (ssize_t)); }
29519 #include <stdlib.h>
29524 FILE *f = fopen ("conftest.val", "w");
29527 if (((long) (sizeof (ssize_t))) < 0)
29529 long i = longval ();
29530 if (i != ((long) (sizeof (ssize_t))))
29532 fprintf (f, "%ld\n", i);
29536 unsigned long i = ulongval ();
29537 if (i != ((long) (sizeof (ssize_t))))
29539 fprintf (f, "%lu\n", i);
29541 exit (ferror (f) || fclose (f) != 0);
29547 rm -f conftest
$ac_exeext
29548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29549 (eval $ac_link) 2>&5
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29554 (eval $ac_try) 2>&5
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); }; }; then
29558 ac_cv_sizeof_ssize_t
=`cat conftest.val`
29560 echo "$as_me: program exited with status $ac_status" >&5
29561 echo "$as_me: failed program was:" >&5
29562 sed 's/^/| /' conftest.
$ac_ext >&5
29564 ( exit $ac_status )
29565 { { echo "$as_me:$LINENO: error: cannot compute sizeof (ssize_t), 77
29566 See \`config.log' for more details." >&5
29567 echo "$as_me: error: cannot compute sizeof (ssize_t), 77
29568 See \`config.log' for more details." >&2;}
29569 { (exit 1); exit 1; }; }
29571 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29576 ac_cv_sizeof_ssize_t
=0
29579 echo "$as_me:$LINENO: result: $ac_cv_sizeof_ssize_t" >&5
29580 echo "${ECHO_T}$ac_cv_sizeof_ssize_t" >&6
29581 cat >>confdefs.h
<<_ACEOF
29582 #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
29586 echo "$as_me:$LINENO: checking for time_t" >&5
29587 echo $ECHO_N "checking for time_t... $ECHO_C" >&6
29588 if test "${ac_cv_type_time_t+set}" = set; then
29589 echo $ECHO_N "(cached) $ECHO_C" >&6
29591 cat >conftest.
$ac_ext <<_ACEOF
29594 cat confdefs.h
>>conftest.
$ac_ext
29595 cat >>conftest.
$ac_ext <<_ACEOF
29596 /* end confdefs.h. */
29597 $ac_includes_default
29603 if (sizeof (time_t))
29609 rm -f conftest.
$ac_objext
29610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29611 (eval $ac_compile) 2>conftest.er1
29613 grep -v '^ *+' conftest.er1
>conftest.err
29615 cat conftest.err
>&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); } &&
29618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29620 (eval $ac_try) 2>&5
29622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623 (exit $ac_status); }; } &&
29624 { ac_try
='test -s conftest.$ac_objext'
29625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29626 (eval $ac_try) 2>&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); }; }; then
29630 ac_cv_type_time_t
=yes
29632 echo "$as_me: failed program was:" >&5
29633 sed 's/^/| /' conftest.
$ac_ext >&5
29635 ac_cv_type_time_t
=no
29637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29639 echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5
29640 echo "${ECHO_T}$ac_cv_type_time_t" >&6
29642 echo "$as_me:$LINENO: checking size of time_t" >&5
29643 echo $ECHO_N "checking size of time_t... $ECHO_C" >&6
29644 if test "${ac_cv_sizeof_time_t+set}" = set; then
29645 echo $ECHO_N "(cached) $ECHO_C" >&6
29647 if test "$ac_cv_type_time_t" = yes; then
29648 # The cast to unsigned long works around a bug in the HP C Compiler
29649 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29650 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29651 # This bug is HP SR number 8606223364.
29652 if test "$cross_compiling" = yes; then
29653 # Depending upon the size, compute the lo and hi bounds.
29654 cat >conftest.
$ac_ext <<_ACEOF
29657 cat confdefs.h
>>conftest.
$ac_ext
29658 cat >>conftest.
$ac_ext <<_ACEOF
29659 /* end confdefs.h. */
29660 $ac_includes_default
29664 static int test_array [1 - 2 * !(((long) (sizeof (time_t))) >= 0)];
29671 rm -f conftest.
$ac_objext
29672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29673 (eval $ac_compile) 2>conftest.er1
29675 grep -v '^ *+' conftest.er1
>conftest.err
29677 cat conftest.err
>&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); } &&
29680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682 (eval $ac_try) 2>&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); }; } &&
29686 { ac_try
='test -s conftest.$ac_objext'
29687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29688 (eval $ac_try) 2>&5
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); }; }; then
29694 cat >conftest.
$ac_ext <<_ACEOF
29697 cat confdefs.h
>>conftest.
$ac_ext
29698 cat >>conftest.
$ac_ext <<_ACEOF
29699 /* end confdefs.h. */
29700 $ac_includes_default
29704 static int test_array [1 - 2 * !(((long) (sizeof (time_t))) <= $ac_mid)];
29711 rm -f conftest.
$ac_objext
29712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29713 (eval $ac_compile) 2>conftest.er1
29715 grep -v '^ *+' conftest.er1
>conftest.err
29717 cat conftest.err
>&5
29718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719 (exit $ac_status); } &&
29720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29722 (eval $ac_try) 2>&5
29724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725 (exit $ac_status); }; } &&
29726 { ac_try
='test -s conftest.$ac_objext'
29727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29728 (eval $ac_try) 2>&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); }; }; then
29732 ac_hi
=$ac_mid; break
29734 echo "$as_me: failed program was:" >&5
29735 sed 's/^/| /' conftest.
$ac_ext >&5
29737 ac_lo
=`expr $ac_mid + 1`
29738 if test $ac_lo -le $ac_mid; then
29742 ac_mid
=`expr 2 '*' $ac_mid + 1`
29744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.
$ac_ext >&5
29750 cat >conftest.
$ac_ext <<_ACEOF
29753 cat confdefs.h
>>conftest.
$ac_ext
29754 cat >>conftest.
$ac_ext <<_ACEOF
29755 /* end confdefs.h. */
29756 $ac_includes_default
29760 static int test_array [1 - 2 * !(((long) (sizeof (time_t))) < 0)];
29767 rm -f conftest.
$ac_objext
29768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29769 (eval $ac_compile) 2>conftest.er1
29771 grep -v '^ *+' conftest.er1
>conftest.err
29773 cat conftest.err
>&5
29774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29775 (exit $ac_status); } &&
29776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29778 (eval $ac_try) 2>&5
29780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 (exit $ac_status); }; } &&
29782 { ac_try
='test -s conftest.$ac_objext'
29783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29784 (eval $ac_try) 2>&5
29786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787 (exit $ac_status); }; }; then
29790 cat >conftest.
$ac_ext <<_ACEOF
29793 cat confdefs.h
>>conftest.
$ac_ext
29794 cat >>conftest.
$ac_ext <<_ACEOF
29795 /* end confdefs.h. */
29796 $ac_includes_default
29800 static int test_array [1 - 2 * !(((long) (sizeof (time_t))) >= $ac_mid)];
29807 rm -f conftest.
$ac_objext
29808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29809 (eval $ac_compile) 2>conftest.er1
29811 grep -v '^ *+' conftest.er1
>conftest.err
29813 cat conftest.err
>&5
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); } &&
29816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29818 (eval $ac_try) 2>&5
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); }; } &&
29822 { ac_try
='test -s conftest.$ac_objext'
29823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29824 (eval $ac_try) 2>&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); }; }; then
29828 ac_lo
=$ac_mid; break
29830 echo "$as_me: failed program was:" >&5
29831 sed 's/^/| /' conftest.
$ac_ext >&5
29833 ac_hi
=`expr '(' $ac_mid ')' - 1`
29834 if test $ac_mid -le $ac_hi; then
29838 ac_mid
=`expr 2 '*' $ac_mid`
29840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.
$ac_ext >&5
29848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29851 # Binary search between lo and hi bounds.
29852 while test "x$ac_lo" != "x$ac_hi"; do
29853 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29854 cat >conftest.
$ac_ext <<_ACEOF
29857 cat confdefs.h
>>conftest.
$ac_ext
29858 cat >>conftest.
$ac_ext <<_ACEOF
29859 /* end confdefs.h. */
29860 $ac_includes_default
29864 static int test_array [1 - 2 * !(((long) (sizeof (time_t))) <= $ac_mid)];
29871 rm -f conftest.
$ac_objext
29872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29873 (eval $ac_compile) 2>conftest.er1
29875 grep -v '^ *+' conftest.er1
>conftest.err
29877 cat conftest.err
>&5
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); } &&
29880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29882 (eval $ac_try) 2>&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); }; } &&
29886 { ac_try
='test -s conftest.$ac_objext'
29887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29888 (eval $ac_try) 2>&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); }; }; then
29894 echo "$as_me: failed program was:" >&5
29895 sed 's/^/| /' conftest.
$ac_ext >&5
29897 ac_lo
=`expr '(' $ac_mid ')' + 1`
29899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29902 ?
*) ac_cv_sizeof_time_t
=$ac_lo;;
29903 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (time_t), 77
29904 See \`config.log' for more details." >&5
29905 echo "$as_me: error: cannot compute sizeof (time_t), 77
29906 See \`config.log' for more details." >&2;}
29907 { (exit 1); exit 1; }; } ;;
29910 if test "$cross_compiling" = yes; then
29911 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
29912 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
29913 { (exit 1); exit 1; }; }
29915 cat >conftest.
$ac_ext <<_ACEOF
29918 cat confdefs.h
>>conftest.
$ac_ext
29919 cat >>conftest.
$ac_ext <<_ACEOF
29920 /* end confdefs.h. */
29921 $ac_includes_default
29922 long longval () { return (long) (sizeof (time_t)); }
29923 unsigned long ulongval () { return (long) (sizeof (time_t)); }
29925 #include <stdlib.h>
29930 FILE *f = fopen ("conftest.val", "w");
29933 if (((long) (sizeof (time_t))) < 0)
29935 long i = longval ();
29936 if (i != ((long) (sizeof (time_t))))
29938 fprintf (f, "%ld\n", i);
29942 unsigned long i = ulongval ();
29943 if (i != ((long) (sizeof (time_t))))
29945 fprintf (f, "%lu\n", i);
29947 exit (ferror (f) || fclose (f) != 0);
29953 rm -f conftest
$ac_exeext
29954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29955 (eval $ac_link) 2>&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29960 (eval $ac_try) 2>&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); }; }; then
29964 ac_cv_sizeof_time_t
=`cat conftest.val`
29966 echo "$as_me: program exited with status $ac_status" >&5
29967 echo "$as_me: failed program was:" >&5
29968 sed 's/^/| /' conftest.
$ac_ext >&5
29970 ( exit $ac_status )
29971 { { echo "$as_me:$LINENO: error: cannot compute sizeof (time_t), 77
29972 See \`config.log' for more details." >&5
29973 echo "$as_me: error: cannot compute sizeof (time_t), 77
29974 See \`config.log' for more details." >&2;}
29975 { (exit 1); exit 1; }; }
29977 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29982 ac_cv_sizeof_time_t
=0
29985 echo "$as_me:$LINENO: result: $ac_cv_sizeof_time_t" >&5
29986 echo "${ECHO_T}$ac_cv_sizeof_time_t" >&6
29987 cat >>confdefs.h
<<_ACEOF
29988 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
29995 # /***********************************************************************
29996 # // Checks for library functions
29997 # ************************************************************************/
30051 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
30053 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30054 echo "$as_me:$LINENO: checking for $ac_func" >&5
30055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30056 if eval "test \"\${$as_ac_var+set}\" = set"; then
30057 echo $ECHO_N "(cached) $ECHO_C" >&6
30059 cat >conftest.
$ac_ext <<_ACEOF
30062 cat confdefs.h
>>conftest.
$ac_ext
30063 cat >>conftest.
$ac_ext <<_ACEOF
30064 /* end confdefs.h. */
30065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30067 #define $ac_func innocuous_$ac_func
30069 /* System header to define __stub macros and hopefully few prototypes,
30070 which can conflict with char $ac_func (); below.
30071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30072 <limits.h> exists even on freestanding compilers. */
30075 # include <limits.h>
30077 # include <assert.h>
30082 /* Override any gcc2 internal prototype to avoid an error. */
30087 /* We use char because int might match the return type of a gcc2
30088 builtin and then its argument prototype would still apply. */
30090 /* The GNU C library defines this for functions which it implements
30091 to always fail with ENOSYS. Some functions are actually named
30092 something starting with __ and the normal name is an alias. */
30093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30096 char (*f) () = $ac_func;
30105 return f != $ac_func;
30110 rm -f conftest.
$ac_objext conftest
$ac_exeext
30111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30112 (eval $ac_link) 2>conftest.er1
30114 grep -v '^ *+' conftest.er1
>conftest.err
30116 cat conftest.err
>&5
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); } &&
30119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30121 (eval $ac_try) 2>&5
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); }; } &&
30125 { ac_try
='test -s conftest$ac_exeext'
30126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30127 (eval $ac_try) 2>&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); }; }; then
30131 eval "$as_ac_var=yes"
30133 echo "$as_me: failed program was:" >&5
30134 sed 's/^/| /' conftest.
$ac_ext >&5
30136 eval "$as_ac_var=no"
30138 rm -f conftest.err conftest.
$ac_objext \
30139 conftest
$ac_exeext conftest.
$ac_ext
30141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30143 if test `eval echo '${'$as_ac_var'}'` = yes; then
30144 cat >>confdefs.h
<<_ACEOF
30145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30153 if test "X$GCC" = Xyes
; then
30155 cygwin
* | mingw
* | pw32
*)
30156 test "X$LIBS" != "X" && LIBS
="$LIBS "
30157 LIBS
="${LIBS}-lwinmm" ;;
30165 # /***********************************************************************
30166 # // Write output files
30167 # ************************************************************************/
30170 mfx_tmp
="-I$srcdir"
30171 mfx_save_CPPFLAGS
=$CPPFLAGS
30172 test "X$mfx_tmp" = "X" || CPPFLAGS
="$mfx_tmp $CPPFLAGS"
30174 echo "$as_me:$LINENO: checking whether your compiler passes the ACC conformance test" >&5
30175 echo $ECHO_N "checking whether your compiler passes the ACC conformance test... $ECHO_C" >&6
30177 cat >conftest.
$ac_ext <<_ACEOF
30180 cat confdefs.h
>>conftest.
$ac_ext
30181 cat >>conftest.
$ac_ext <<_ACEOF
30182 /* end confdefs.h. */
30183 #define ACC_CONFIG_NO_HEADER 1
30184 #define ACC_WANT_ACC_INCD_H 1
30185 #include "src/miniacc.h"
30187 #define ACC_WANT_ACC_CHK_CH 1
30188 #undef ACCCHK_ASSERT
30189 #define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT_HEADER(expr)
30190 #include "src/miniacc.h"
30192 #define ACC_WANT_ACC_CHK_CH 1
30193 #undef ACCCHK_ASSERT
30194 #define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT(expr)
30195 static void test_acc_compile_time_assert(void) {
30196 #include "src/miniacc.h"
30200 #include <assert.h>
30201 #define ACC_WANT_ACC_CHK_CH 1
30202 #undef ACCCHK_ASSERT
30203 #define ACCCHK_ASSERT(expr) assert(expr);
30204 static int test_acc_run_time_assert(int r) {
30205 #include "src/miniacc.h"
30213 test_acc_compile_time_assert();
30214 if (test_acc_run_time_assert(1) != 1) return 1;
30223 rm -f conftest.
$ac_objext
30224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30225 (eval $ac_compile) 2>conftest.er1
30227 grep -v '^ *+' conftest.er1
>conftest.err
30229 cat conftest.err
>&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); } &&
30232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234 (eval $ac_try) 2>&5
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); }; } &&
30238 { ac_try
='test -s conftest.$ac_objext'
30239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240 (eval $ac_try) 2>&5
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; }; then
30246 echo "$as_me: failed program was:" >&5
30247 sed 's/^/| /' conftest.
$ac_ext >&5
30250 rm -f conftest.err conftest.
$ac_objext
30251 rm -f conftest.
$ac_ext conftest.
$ac_objext
30253 CPPFLAGS
=$mfx_save_CPPFLAGS
30255 echo "$as_me:$LINENO: result: $mfx_tmp" >&5
30256 echo "${ECHO_T}$mfx_tmp" >&6
30260 { echo "$as_me:$LINENO: " >&5
30261 echo "$as_me: " >&6;}
30262 { echo "$as_me:$LINENO: Your compiler failed the ACC conformance test - for details see " >&5
30263 echo "$as_me: Your compiler failed the ACC conformance test - for details see " >&6;}
30264 { echo "$as_me:$LINENO: \`config.log'. Please check that log file and consider sending" >&5
30265 echo "$as_me: \`config.log'. Please check that log file and consider sending" >&6;}
30266 { echo "$as_me:$LINENO: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&5
30267 echo "$as_me: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&6;}
30268 { echo "$as_me:$LINENO: Thanks for your support." >&5
30269 echo "$as_me: Thanks for your support." >&6;}
30270 { echo "$as_me:$LINENO: " >&5
30271 echo "$as_me: " >&6;}
30272 { { echo "$as_me:$LINENO: error: ACC conformance test failed. Stop." >&5
30273 echo "$as_me: error: ACC conformance test failed. Stop." >&2;}
30274 { (exit 1); exit 1; }; }
30279 if test -r .Conf.settings2
; then
30280 . .
/.Conf.settings2
30283 test "X$CPPFLAGS" != "X" && CPPFLAGS
="$CPPFLAGS "
30284 CPPFLAGS
="${CPPFLAGS}-DLZO_HAVE_CONFIG_H"
30285 if test "X$enable_asm" != Xno
; then
30286 CPPFLAGS
="$CPPFLAGS -DLZO_USE_ASM"
30293 configure_CPPFLAGS
=$CPPFLAGS
30294 configure_CFLAGS
=$CFLAGS
30298 ac_config_files
="$ac_config_files Makefile examples/Makefile include/Makefile include/lzo/Makefile lzotest/Makefile minilzo/Makefile src/Makefile tests/Makefile"
30300 cat >confcache
<<\_ACEOF
30301 # This file is a shell script that caches the results of configure
30302 # tests run on this system so they can be shared between configure
30303 # scripts and configure runs, see configure's option --config-cache.
30304 # It is not useful on other systems. If it contains results you don't
30305 # want to keep, you may remove or edit it.
30307 # config.status only pays attention to the cache file if you give it
30308 # the --recheck option to rerun configure.
30310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
30311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
30312 # following values.
30316 # The following way of writing the cache mishandles newlines in values,
30317 # but we know of no workaround that is simple, portable, and efficient.
30318 # So, don't put newlines in cache variables' values.
30319 # Ultrix sh set writes to stderr and can't be redirected directly,
30320 # and sets the high bit in the cache file unless we assign to the vars.
30323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
30325 # `set' does not quote correctly, so add quotes (double-quote
30326 # substitution turns \\\\ into \\, and sed turns \\ into \).
30329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30332 # `set' quotes correctly as required by POSIX, so do not add quotes.
30334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
30341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30343 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30345 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
30346 if test -w $cache_file; then
30347 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
30348 cat confcache
>$cache_file
30350 echo "not updating unwritable cache $cache_file"
30355 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
30356 # Let make expand exec_prefix.
30357 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
30359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
30360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30361 # trailing colons and then remove the whole line if VPATH becomes empty
30362 # (actually we leave an empty line to preserve line numbers).
30363 if test "x$srcdir" = x.
; then
30364 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
30365 s/:*\$(srcdir):*/:/;
30366 s/:*\${srcdir}:*/:/;
30368 s/^\([^=]*=[ ]*\):*/\1/;
30374 DEFS
=-DHAVE_CONFIG_H
30378 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
30379 # 1. Remove the extension, and $U if already installed.
30380 ac_i
=`echo "$ac_i" |
30381 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
30383 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
30384 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
30386 LIBOBJS
=$ac_libobjs
30388 LTLIBOBJS
=$ac_ltlibobjs
30391 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
30392 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
30393 Usually this means the macro was only invoked conditionally." >&5
30394 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
30395 Usually this means the macro was only invoked conditionally." >&2;}
30396 { (exit 1); exit 1; }; }
30398 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
30399 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
30400 Usually this means the macro was only invoked conditionally." >&5
30401 echo "$as_me: error: conditional \"AMDEP\" was never defined.
30402 Usually this means the macro was only invoked conditionally." >&2;}
30403 { (exit 1); exit 1; }; }
30405 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30406 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
30407 Usually this means the macro was only invoked conditionally." >&5
30408 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
30409 Usually this means the macro was only invoked conditionally." >&2;}
30410 { (exit 1); exit 1; }; }
30412 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30413 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
30414 Usually this means the macro was only invoked conditionally." >&5
30415 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
30416 Usually this means the macro was only invoked conditionally." >&2;}
30417 { (exit 1); exit 1; }; }
30419 if test -z "${LZO_USE_ASM_TRUE}" && test -z "${LZO_USE_ASM_FALSE}"; then
30420 { { echo "$as_me:$LINENO: error: conditional \"LZO_USE_ASM\" was never defined.
30421 Usually this means the macro was only invoked conditionally." >&5
30422 echo "$as_me: error: conditional \"LZO_USE_ASM\" was never defined.
30423 Usually this means the macro was only invoked conditionally." >&2;}
30424 { (exit 1); exit 1; }; }
30427 : ${CONFIG_STATUS=./config.status}
30428 ac_clean_files_save
=$ac_clean_files
30429 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
30430 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
30431 echo "$as_me: creating $CONFIG_STATUS" >&6;}
30432 cat >$CONFIG_STATUS <<_ACEOF
30434 # Generated by $as_me.
30435 # Run this file to recreate the current configuration.
30436 # Compiler output produced by configure, useful for debugging
30437 # configure, is in config.log if it exists.
30440 ac_cs_recheck=false
30442 SHELL=\${CONFIG_SHELL-$SHELL}
30445 cat >>$CONFIG_STATUS <<\_ACEOF
30446 ## --------------------- ##
30447 ## M4sh Initialization. ##
30448 ## --------------------- ##
30450 # Be Bourne compatible
30451 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
30454 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
30455 # is contrary to our usage. Disable this feature.
30456 alias -g '${1+"$@"}'='"$@"'
30457 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30460 DUALCASE
=1; export DUALCASE
# for MKS sh
30462 # Support unset when possible.
30463 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
30470 # Work around bugs in pre-3.0 UWIN ksh.
30471 $as_unset ENV MAIL MAILPATH
30478 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30479 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30480 LC_TELEPHONE LC_TIME
30482 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
30483 eval $as_var=C
; export $as_var
30489 # Required to use basename.
30490 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30496 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
30497 as_basename
=basename
30503 # Name of the executable.
30504 as_me
=`$as_basename "$0" ||
30505 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30506 X"$0" : 'X\(//\)$' \| \
30507 X"$0" : 'X\(/\)$' \| \
30508 . : '\(.\)' 2>/dev/null ||
30510 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
30511 /^X\/\(\/\/\)$/{ s//\1/; q; }
30512 /^X\/\(\/\).*/{ s//\1/; q; }
30516 # PATH needs CR, and LINENO needs CR and PATH.
30517 # Avoid depending upon Character Ranges.
30518 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
30519 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30520 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
30521 as_cr_digits
='0123456789'
30522 as_cr_alnum
=$as_cr_Letters$as_cr_digits
30524 # The user is always right.
30525 if test "${PATH_SEPARATOR+set}" != set; then
30526 echo "#! /bin/sh" >conf$$.sh
30527 echo "exit 0" >>conf$$.sh
30529 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
30538 as_lineno_1
=$LINENO
30539 as_lineno_2
=$LINENO
30540 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
30541 test "x$as_lineno_1" != "x$as_lineno_2" &&
30542 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
30543 # Find who we are. Look in the path if we contain no path at all
30546 *[\\/]* ) as_myself
=$0 ;;
30547 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30548 for as_dir
in $PATH
30551 test -z "$as_dir" && as_dir
=.
30552 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
30557 # We did not find ourselves, most probably we were run as `sh COMMAND'
30558 # in which case we are not to be found in the path.
30559 if test "x$as_myself" = x
; then
30562 if test ! -f "$as_myself"; then
30563 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30564 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30565 { (exit 1); exit 1; }; }
30567 case $CONFIG_SHELL in
30569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30570 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
30573 test -z "$as_dir" && as_dir
=.
30574 for as_base
in sh bash ksh sh5
; do
30577 if ("$as_dir/$as_base" -c '
30578 as_lineno_1=$LINENO
30579 as_lineno_2=$LINENO
30580 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30581 test "x$as_lineno_1" != "x$as_lineno_2" &&
30582 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
30583 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
30584 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
30585 CONFIG_SHELL
=$as_dir/$as_base
30586 export CONFIG_SHELL
30587 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30595 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30596 # uniformly replaced by the line number. The first 'sed' inserts a
30597 # line-number line before each line; the second 'sed' does the real
30598 # work. The second script uses 'N' to pair each line-number line
30599 # with the numbered line, and appends trailing '-' during
30600 # substitution so that $LINENO is not a special case at line end.
30601 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30602 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
30603 sed '=' <$as_myself |
30608 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30611 s,^['$as_cr_digits']*\n,,
30612 ' >$as_me.lineno
&&
30613 chmod +x
$as_me.lineno ||
30614 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30615 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30616 { (exit 1); exit 1; }; }
30618 # Don't try to exec as it changes $[0], causing all sort of problems
30619 # (the dirname of $[0] is not the place where we might find the
30620 # original and so on. Autoconf is especially sensible to this).
30622 # Exit status is that of the last command.
30627 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30628 *c
*,-n*) ECHO_N
= ECHO_C
='
30630 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
30631 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
30634 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30640 rm -f conf$$ conf$$.exe conf$$.
file
30642 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
30643 # We could just check for DJGPP; but this test a) works b) is more generic
30644 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30645 if test -f conf$$.exe
; then
30646 # Don't use ln at all; we don't have any links
30651 elif ln conf$$.
file conf$$
2>/dev
/null
; then
30656 rm -f conf$$ conf$$.exe conf$$.
file
30658 if mkdir
-p .
2>/dev
/null
; then
30661 test -d .
/-p && rmdir .
/-p
30665 as_executable_p
="test -f"
30667 # Sed expression to map a string onto a valid CPP name.
30668 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30670 # Sed expression to map a string onto a valid variable name.
30671 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30675 # We need space, tab and new line, in precisely that order.
30685 # Open the log real soon, to keep \$[0] and so on meaningful, and to
30686 # report actual input values of CONFIG_FILES etc. instead of their
30687 # values after options handling. Logging --version etc. is OK.
30691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30692 ## Running $as_me. ##
30697 This file was extended by lzo $as_me 2.03, which was
30698 generated by GNU Autoconf 2.59. Invocation command line was
30700 CONFIG_FILES = $CONFIG_FILES
30701 CONFIG_HEADERS = $CONFIG_HEADERS
30702 CONFIG_LINKS = $CONFIG_LINKS
30703 CONFIG_COMMANDS = $CONFIG_COMMANDS
30707 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30711 # Files that config.status was made for.
30712 if test -n "$ac_config_files"; then
30713 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30716 if test -n "$ac_config_headers"; then
30717 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30720 if test -n "$ac_config_links"; then
30721 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30724 if test -n "$ac_config_commands"; then
30725 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30728 cat >>$CONFIG_STATUS <<\_ACEOF
30731 \`$as_me' instantiates files from templates according to the
30732 current configuration.
30734 Usage: $0 [OPTIONS] [FILE]...
30736 -h, --help print this help, then exit
30737 -V, --version print version number, then exit
30738 -q, --quiet do not print progress messages
30739 -d, --debug don't remove temporary files
30740 --recheck update $as_me by reconfiguring in the same conditions
30741 --file=FILE[:TEMPLATE]
30742 instantiate the configuration file FILE
30743 --header=FILE[:TEMPLATE]
30744 instantiate the configuration header FILE
30746 Configuration files:
30749 Configuration headers:
30752 Configuration commands:
30755 Report bugs to <bug-autoconf@gnu.org>."
30758 cat >>$CONFIG_STATUS <<_ACEOF
30760 lzo config.status 2.03
30761 configured by $0, generated by GNU Autoconf 2.59,
30762 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30764 Copyright (C) 2003 Free Software Foundation, Inc.
30765 This config.status script is free software; the Free Software Foundation
30766 gives unlimited permission to copy, distribute and modify it."
30771 cat >>$CONFIG_STATUS <<\_ACEOF
30772 # If no file are specified by the user, then we need to provide default
30773 # value. By we need to know if files were specified by the user.
30779 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
30780 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
30788 *) # This is not an option, so the user has probably given explicit
30791 ac_need_defaults
=false
;;
30795 # Handling of the options.
30797 cat >>$CONFIG_STATUS <<\_ACEOF
30798 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
30800 --version |
--vers* |
-V )
30801 echo "$ac_cs_version"; exit 0 ;;
30803 # Conflict between --help and --header
30804 { { echo "$as_me:$LINENO: error: ambiguous option: $1
30805 Try \`$0 --help' for more information." >&5
30806 echo "$as_me: error: ambiguous option: $1
30807 Try \`$0 --help' for more information." >&2;}
30808 { (exit 1); exit 1; }; };;
30809 --help |
--hel |
-h )
30810 echo "$ac_cs_usage"; exit 0 ;;
30811 --debug |
--d* |
-d )
30813 --file |
--fil |
--fi |
--f )
30815 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
30816 ac_need_defaults
=false
;;
30817 --header |
--heade |
--head |
--hea )
30819 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
30820 ac_need_defaults
=false
;;
30821 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
30822 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
30825 # This is an error.
30826 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30827 Try \`$0 --help' for more information." >&5
30828 echo "$as_me: error: unrecognized option: $1
30829 Try \`$0 --help' for more information." >&2;}
30830 { (exit 1); exit 1; }; } ;;
30832 *) ac_config_targets
="$ac_config_targets $1" ;;
30838 ac_configure_extra_args
=
30840 if $ac_cs_silent; then
30842 ac_configure_extra_args
="$ac_configure_extra_args --silent"
30846 cat >>$CONFIG_STATUS <<_ACEOF
30847 if \$ac_cs_recheck; then
30848 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30849 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30854 cat >>$CONFIG_STATUS <<_ACEOF
30856 # INIT-COMMANDS section.
30859 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
30865 cat >>$CONFIG_STATUS <<\_ACEOF
30866 for ac_config_target
in $ac_config_targets
30868 case "$ac_config_target" in
30869 # Handling of arguments.
30870 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
30871 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
30872 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
30873 "include/lzo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/lzo/Makefile" ;;
30874 "lzotest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lzotest/Makefile" ;;
30875 "minilzo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES minilzo/Makefile" ;;
30876 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
30877 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
30878 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
30879 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
30880 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30881 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30882 { (exit 1); exit 1; }; };;
30886 # If the user did not use the arguments to specify the items to instantiate,
30887 # then the envvar interface is used. Set only those that are not.
30888 # We use the long form for the default assignment because of an extremely
30889 # bizarre bug on SunOS 4.1.3.
30890 if $ac_need_defaults; then
30891 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
30892 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
30893 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
30896 # Have a temporary directory for convenience. Make it in the build tree
30897 # simply because there is no reason to put it here, and in addition,
30898 # creating and moving files from /tmp can sometimes cause problems.
30899 # Create a temporary directory, and hook for its removal unless debugging.
30902 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30903 trap '{ (exit 1); exit 1; }' 1 2 13 15
30906 # Create a (secure) tmp directory for tmp files.
30909 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30910 test -n "$tmp" && test -d "$tmp"
30913 tmp
=.
/confstat$$
-$RANDOM
30914 (umask 077 && mkdir
$tmp)
30917 echo "$me: cannot create a temporary directory in ." >&2
30918 { (exit 1); exit 1; }
30923 cat >>$CONFIG_STATUS <<_ACEOF
30926 # CONFIG_FILES section.
30929 # No need to generate the scripts if there are no CONFIG_FILES.
30930 # This happens for instance when ./config.status config.h
30931 if test -n "\$CONFIG_FILES"; then
30932 # Protect against being on the right side of a sed subst in config.status.
30933 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30934 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30935 s,@SHELL@,$SHELL,;t t
30936 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30937 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30938 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30939 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30940 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30941 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30942 s,@exec_prefix@,$exec_prefix,;t t
30943 s,@prefix@,$prefix,;t t
30944 s,@program_transform_name@,$program_transform_name,;t t
30945 s,@bindir@,$bindir,;t t
30946 s,@sbindir@,$sbindir,;t t
30947 s,@libexecdir@,$libexecdir,;t t
30948 s,@datadir@,$datadir,;t t
30949 s,@sysconfdir@,$sysconfdir,;t t
30950 s,@sharedstatedir@,$sharedstatedir,;t t
30951 s,@localstatedir@,$localstatedir,;t t
30952 s,@libdir@,$libdir,;t t
30953 s,@includedir@,$includedir,;t t
30954 s,@oldincludedir@,$oldincludedir,;t t
30955 s,@infodir@,$infodir,;t t
30956 s,@mandir@,$mandir,;t t
30957 s,@build_alias@,$build_alias,;t t
30958 s,@host_alias@,$host_alias,;t t
30959 s,@target_alias@,$target_alias,;t t
30960 s,@DEFS@,$DEFS,;t t
30961 s,@ECHO_C@,$ECHO_C,;t t
30962 s,@ECHO_N@,$ECHO_N,;t t
30963 s,@ECHO_T@,$ECHO_T,;t t
30964 s,@LIBS@,$LIBS,;t t
30965 s,@build@,$build,;t t
30966 s,@build_cpu@,$build_cpu,;t t
30967 s,@build_vendor@,$build_vendor,;t t
30968 s,@build_os@,$build_os,;t t
30969 s,@host@,$host,;t t
30970 s,@host_cpu@,$host_cpu,;t t
30971 s,@host_vendor@,$host_vendor,;t t
30972 s,@host_os@,$host_os,;t t
30973 s,@target@,$target,;t t
30974 s,@target_cpu@,$target_cpu,;t t
30975 s,@target_vendor@,$target_vendor,;t t
30976 s,@target_os@,$target_os,;t t
30977 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
30978 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
30979 s,@MAINT@,$MAINT,;t t
30981 s,@CFLAGS@,$CFLAGS,;t t
30982 s,@LDFLAGS@,$LDFLAGS,;t t
30983 s,@CPPFLAGS@,$CPPFLAGS,;t t
30984 s,@ac_ct_CC@,$ac_ct_CC,;t t
30985 s,@EXEEXT@,$EXEEXT,;t t
30986 s,@OBJEXT@,$OBJEXT,;t t
30988 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
30989 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
30990 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
30991 s,@CYGPATH_W@,$CYGPATH_W,;t t
30992 s,@PACKAGE@,$PACKAGE,;t t
30993 s,@VERSION@,$VERSION,;t t
30994 s,@ACLOCAL@,$ACLOCAL,;t t
30995 s,@AUTOCONF@,$AUTOCONF,;t t
30996 s,@AUTOMAKE@,$AUTOMAKE,;t t
30997 s,@AUTOHEADER@,$AUTOHEADER,;t t
30998 s,@MAKEINFO@,$MAKEINFO,;t t
30999 s,@install_sh@,$install_sh,;t t
31000 s,@STRIP@,$STRIP,;t t
31001 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
31002 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
31003 s,@mkdir_p@,$mkdir_p,;t t
31005 s,@SET_MAKE@,$SET_MAKE,;t t
31006 s,@am__leading_dot@,$am__leading_dot,;t t
31007 s,@AMTAR@,$AMTAR,;t t
31008 s,@am__tar@,$am__tar,;t t
31009 s,@am__untar@,$am__untar,;t t
31010 s,@DEPDIR@,$DEPDIR,;t t
31011 s,@am__include@,$am__include,;t t
31012 s,@am__quote@,$am__quote,;t t
31013 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
31014 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
31015 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
31016 s,@CCDEPMODE@,$CCDEPMODE,;t t
31017 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
31018 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
31019 s,@EGREP@,$EGREP,;t t
31020 s,@LN_S@,$LN_S,;t t
31021 s,@ECHO@,$ECHO,;t t
31023 s,@ac_ct_AR@,$ac_ct_AR,;t t
31024 s,@RANLIB@,$RANLIB,;t t
31025 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
31027 s,@CXXFLAGS@,$CXXFLAGS,;t t
31028 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
31029 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
31030 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
31031 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
31032 s,@CXXCPP@,$CXXCPP,;t t
31034 s,@FFLAGS@,$FFLAGS,;t t
31035 s,@ac_ct_F77@,$ac_ct_F77,;t t
31036 s,@LIBTOOL@,$LIBTOOL,;t t
31037 s,@LZO_USE_ASM_TRUE@,$LZO_USE_ASM_TRUE,;t t
31038 s,@LZO_USE_ASM_FALSE@,$LZO_USE_ASM_FALSE,;t t
31039 s,@LZO_ASM_VPATH@,$LZO_ASM_VPATH,;t t
31040 s,@LZO_CPPFLAGS@,$LZO_CPPFLAGS,;t t
31041 s,@LZO_EXTRA_CPPFLAGS@,$LZO_EXTRA_CPPFLAGS,;t t
31042 s,@LZO_CFLAGS@,$LZO_CFLAGS,;t t
31043 s,@LZO_EXTRA_CFLAGS@,$LZO_EXTRA_CFLAGS,;t t
31044 s,@configure_CPPFLAGS@,$configure_CPPFLAGS,;t t
31045 s,@configure_CFLAGS@,$configure_CFLAGS,;t t
31046 s,@LIBOBJS@,$LIBOBJS,;t t
31047 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
31052 cat >>$CONFIG_STATUS <<\_ACEOF
31053 # Split the substitutions into bite-sized pieces for seds with
31054 # small command number limits, like on Digital OSF/1 and HP-UX.
31055 ac_max_sed_lines
=48
31056 ac_sed_frag
=1 # Number of current file.
31057 ac_beg
=1 # First line for current file.
31058 ac_end
=$ac_max_sed_lines # Line after last line for current file.
31061 while $ac_more_lines; do
31062 if test $ac_beg -gt 1; then
31063 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
31065 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
31067 if test ! -s $tmp/subs.frag
; then
31068 ac_more_lines
=false
31070 # The purpose of the label and of the branching condition is to
31071 # speed up the sed processing (if there are no `@' at all, there
31072 # is no need to browse any of the substitutions).
31073 # These are the two extra sed commands mentioned above.
31075 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
31076 if test -z "$ac_sed_cmds"; then
31077 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
31079 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
31081 ac_sed_frag
=`expr $ac_sed_frag + 1`
31083 ac_end
=`expr $ac_end + $ac_max_sed_lines`
31086 if test -z "$ac_sed_cmds"; then
31089 fi # test -n "$CONFIG_FILES"
31092 cat >>$CONFIG_STATUS <<\_ACEOF
31093 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
31094 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31096 - |
*:- |
*:-:* ) # input from stdin
31098 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31099 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31100 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31101 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31102 * ) ac_file_in
=$ac_file.
in ;;
31105 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
31106 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
31107 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31108 X"$ac_file" : 'X\(//\)[^/]' \| \
31109 X"$ac_file" : 'X\(//\)$' \| \
31110 X"$ac_file" : 'X\(/\)' \| \
31111 . : '\(.\)' 2>/dev/null ||
31113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31115 /^X\(\/\/\)$/{ s//\1/; q; }
31116 /^X\(\/\).*/{ s//\1/; q; }
31118 { if $as_mkdir_p; then
31123 while test ! -d "$as_dir"; do
31124 as_dirs
="$as_dir $as_dirs"
31125 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31126 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31127 X"$as_dir" : 'X\(//\)[^/]' \| \
31128 X"$as_dir" : 'X\(//\)$' \| \
31129 X"$as_dir" : 'X\(/\)' \| \
31130 . : '\(.\)' 2>/dev/null ||
31132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31134 /^X\(\/\/\)$/{ s//\1/; q; }
31135 /^X\(\/\).*/{ s//\1/; q; }
31138 test ! -n "$as_dirs" || mkdir
$as_dirs
31139 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31140 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31141 { (exit 1); exit 1; }; }; }
31145 if test "$ac_dir" != .
; then
31146 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31147 # A "../" for each directory in $ac_dir_suffix.
31148 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31150 ac_dir_suffix
= ac_top_builddir
=
31154 .
) # No --srcdir option. We are building in place.
31156 if test -z "$ac_top_builddir"; then
31159 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31161 [\\/]* | ?
:[\\/]* ) # Absolute path.
31162 ac_srcdir
=$srcdir$ac_dir_suffix;
31163 ac_top_srcdir
=$srcdir ;;
31164 *) # Relative path.
31165 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31166 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31169 # Do not use `cd foo && pwd` to compute absolute paths, because
31170 # the directories may not exist.
31172 .
) ac_abs_builddir
="$ac_dir";;
31175 .
) ac_abs_builddir
=`pwd`;;
31176 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31177 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31180 case $ac_abs_builddir in
31181 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31183 case ${ac_top_builddir}.
in
31184 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31185 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31186 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31189 case $ac_abs_builddir in
31190 .
) ac_abs_srcdir
=$ac_srcdir;;
31193 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31194 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31195 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31198 case $ac_abs_builddir in
31199 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31201 case $ac_top_srcdir in
31202 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31203 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31204 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31210 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
31211 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
31214 # Let's still pretend it is `configure' which instantiates (i.e., don't
31215 # use $as_me), people would be surprised to read:
31216 # /* config.h. Generated by config.status. */
31217 if test x
"$ac_file" = x-
; then
31220 configure_input
="$ac_file. "
31222 configure_input
=$configure_input"Generated from `echo $ac_file_in |
31223 sed 's,.*/,,'` by configure."
31225 # First look for the input files in the build tree, otherwise in the
31227 ac_file_inputs
=`IFS=:
31228 for f in $ac_file_in; do
31230 -) echo $tmp/stdin ;;
31232 # Absolute (can't be DOS-style, as IFS=:)
31233 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31234 echo "$as_me: error: cannot find input file: $f" >&2;}
31235 { (exit 1); exit 1; }; }
31238 if test -f "$f"; then
31241 elif test -f "$srcdir/$f"; then
31246 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31247 echo "$as_me: error: cannot find input file: $f" >&2;}
31248 { (exit 1); exit 1; }; }
31251 done` ||
{ (exit 1); exit 1; }
31253 if test x
"$ac_file" != x-
; then
31254 { echo "$as_me:$LINENO: creating $ac_file" >&5
31255 echo "$as_me: creating $ac_file" >&6;}
31259 cat >>$CONFIG_STATUS <<_ACEOF
31263 cat >>$CONFIG_STATUS <<\_ACEOF
31265 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
31266 s
,@configure_input@
,$configure_input,;t t
31267 s
,@srcdir@
,$ac_srcdir,;t t
31268 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
31269 s
,@top_srcdir@
,$ac_top_srcdir,;t t
31270 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
31271 s
,@builddir@
,$ac_builddir,;t t
31272 s
,@abs_builddir@
,$ac_abs_builddir,;t t
31273 s
,@top_builddir@
,$ac_top_builddir,;t t
31274 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
31275 s
,@INSTALL@
,$ac_INSTALL,;t t
31276 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
31278 if test x"$ac_file" != x-; then
31279 mv $tmp/out $ac_file
31287 cat >>$CONFIG_STATUS <<\_ACEOF
31290 # CONFIG_HEADER section.
31293 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
31294 # NAME is the cpp macro being defined and VALUE is the value it is being given.
31296 # ac_d sets the value in "#define NAME VALUE" lines.
31297 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
31298 ac_dB
='[ ].*$,\1#\2'
31301 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
31302 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
31303 ac_uB
='$,\1#\2define\3'
31307 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
31308 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31310 - |
*:- |
*:-:* ) # input from stdin
31312 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31313 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31314 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31315 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31316 * ) ac_file_in
=$ac_file.
in ;;
31319 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
31320 echo "$as_me: creating $ac_file" >&6;}
31322 # First look for the input files in the build tree, otherwise in the
31324 ac_file_inputs
=`IFS=:
31325 for f in $ac_file_in; do
31327 -) echo $tmp/stdin ;;
31329 # Absolute (can't be DOS-style, as IFS=:)
31330 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31331 echo "$as_me: error: cannot find input file: $f" >&2;}
31332 { (exit 1); exit 1; }; }
31333 # Do quote $f, to prevent DOS paths from being IFS'd.
31336 if test -f "$f"; then
31339 elif test -f "$srcdir/$f"; then
31344 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31345 echo "$as_me: error: cannot find input file: $f" >&2;}
31346 { (exit 1); exit 1; }; }
31349 done` ||
{ (exit 1); exit 1; }
31350 # Remove the trailing spaces.
31351 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
31355 # Transform confdefs.h into two sed scripts, `conftest.defines' and
31356 # `conftest.undefs', that substitutes the proper values into
31357 # config.h.in to produce config.h. The first handles `#define'
31358 # templates, and the second `#undef' templates.
31359 # And first: Protect against being on the right side of a sed subst in
31360 # config.status. Protect against being in an unquoted here document
31361 # in config.status.
31362 rm -f conftest.defines conftest.undefs
31363 # Using a here document instead of a string reduces the quoting nightmare.
31364 # Putting comments in sed scripts is not portable.
31366 # `end' is used to avoid that the second main sed command (meant for
31367 # 0-ary CPP macros) applies to n-ary macro definitions.
31368 # See the Autoconf documentation for `clear'.
31369 cat >confdef2sed.
sed <<\_ACEOF
31374 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
31376 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
31379 # If some macros were called several times there might be several times
31380 # the same #defines, which is useless. Nevertheless, we may not want to
31381 # sort them, since we want the *last* AC-DEFINE to be honored.
31382 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
31383 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
31384 rm -f confdef2sed.sed
31386 # This sed command replaces #undef with comments. This is necessary, for
31387 # example, in the case of _POSIX_SOURCE, which is predefined and required
31388 # on some systems where configure will not decide to define it.
31389 cat >>conftest.undefs <<\_ACEOF
31390 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
31393 # Break up conftest.defines because some shells have a limit on the size
31394 # of here documents, and old seds have small limits too (100 cmds).
31395 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
31396 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
31397 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
31398 echo ' :' >>$CONFIG_STATUS
31399 rm -f conftest.tail
31400 while grep . conftest.defines >/dev/null
31402 # Write a limited-size here document to $tmp/defines.sed.
31403 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
31404 # Speed up: don't consider the non `#define' lines.
31405 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
31406 # Work around the forget-to-reset-the-flag bug.
31407 echo 't clr' >>$CONFIG_STATUS
31408 echo ': clr' >>$CONFIG_STATUS
31409 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
31411 sed -f $tmp/defines.sed $tmp/in >$tmp/out
31413 mv $tmp/out $tmp/in
31415 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
31416 rm -f conftest.defines
31417 mv conftest.
tail conftest.defines
31419 rm -f conftest.defines
31420 echo ' fi # grep' >>$CONFIG_STATUS
31421 echo >>$CONFIG_STATUS
31423 # Break up conftest.undefs because some shells have a limit on the size
31424 # of here documents, and old seds have small limits too (100 cmds).
31425 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
31426 rm -f conftest.
tail
31427 while grep . conftest.undefs
>/dev
/null
31429 # Write a limited-size here document to $tmp/undefs.sed.
31430 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
31431 # Speed up: don't consider the non
`#undef'
31432 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
31433 # Work around the forget-to-reset-the-flag bug.
31434 echo 't clr' >>$CONFIG_STATUS
31435 echo ': clr' >>$CONFIG_STATUS
31436 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
31438 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
31440 mv $tmp/out $tmp/in
31442 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
31443 rm -f conftest.undefs
31444 mv conftest.tail conftest.undefs
31446 rm -f conftest.undefs
31448 cat >>$CONFIG_STATUS <<\_ACEOF
31449 # Let's still pretend it is `configure
' which instantiates (i.e., don't
31450 # use $as_me), people would be surprised to read:
31451 # /* config.h. Generated by config.status. */
31452 if test x
"$ac_file" = x-
; then
31453 echo "/* Generated by configure. */" >$tmp/config.h
31455 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
31457 cat $tmp/in >>$tmp/config.h
31459 if test x
"$ac_file" != x-
; then
31460 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
31461 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31462 echo "$as_me: $ac_file is unchanged" >&6;}
31464 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
31465 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31466 X"$ac_file" : 'X\(//\)[^/]' \| \
31467 X"$ac_file" : 'X\(//\)$' \| \
31468 X"$ac_file" : 'X\(/\)' \| \
31469 . : '\(.\)' 2>/dev/null ||
31471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31473 /^X\(\/\/\)$/{ s//\1/; q; }
31474 /^X\(\/\).*/{ s//\1/; q; }
31476 { if $as_mkdir_p; then
31481 while test ! -d "$as_dir"; do
31482 as_dirs
="$as_dir $as_dirs"
31483 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31484 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31485 X"$as_dir" : 'X\(//\)[^/]' \| \
31486 X"$as_dir" : 'X\(//\)$' \| \
31487 X"$as_dir" : 'X\(/\)' \| \
31488 . : '\(.\)' 2>/dev/null ||
31490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31491 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31492 /^X\(\/\/\)$/{ s//\1/; q; }
31493 /^X\(\/\).*/{ s//\1/; q; }
31496 test ! -n "$as_dirs" || mkdir
$as_dirs
31497 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31498 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31499 { (exit 1); exit 1; }; }; }
31502 mv $tmp/config.h
$ac_file
31506 rm -f $tmp/config.h
31508 # Compute $ac_file's index in $config_headers.
31510 for _am_header
in $config_headers :; do
31511 case $_am_header in
31512 $ac_file |
$ac_file:* )
31515 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
31518 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
31519 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31520 X$ac_file : 'X\(//\)[^/]' \| \
31521 X$ac_file : 'X\(//\)$' \| \
31522 X$ac_file : 'X\(/\)' \| \
31523 . : '\(.\)' 2>/dev/null ||
31525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31527 /^X\(\/\/\)$/{ s//\1/; q; }
31528 /^X\(\/\).*/{ s//\1/; q; }
31529 s/.*/./; q'`/stamp-h
$_am_stamp_count
31532 cat >>$CONFIG_STATUS <<\_ACEOF
31535 # CONFIG_COMMANDS section.
31537 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
31538 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
31539 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31540 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
31541 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31542 X"$ac_dest" : 'X\(//\)[^/]' \| \
31543 X"$ac_dest" : 'X\(//\)$' \| \
31544 X"$ac_dest" : 'X\(/\)' \| \
31545 . : '\(.\)' 2>/dev/null ||
31547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31548 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31549 /^X\(\/\/\)$/{ s//\1/; q; }
31550 /^X\(\/\).*/{ s//\1/; q; }
31552 { if $as_mkdir_p; then
31557 while test ! -d "$as_dir"; do
31558 as_dirs
="$as_dir $as_dirs"
31559 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31560 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31561 X"$as_dir" : 'X\(//\)[^/]' \| \
31562 X"$as_dir" : 'X\(//\)$' \| \
31563 X"$as_dir" : 'X\(/\)' \| \
31564 . : '\(.\)' 2>/dev/null ||
31566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31567 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31568 /^X\(\/\/\)$/{ s//\1/; q; }
31569 /^X\(\/\).*/{ s//\1/; q; }
31572 test ! -n "$as_dirs" || mkdir
$as_dirs
31573 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31574 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31575 { (exit 1); exit 1; }; }; }
31579 if test "$ac_dir" != .
; then
31580 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31581 # A "../" for each directory in $ac_dir_suffix.
31582 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31584 ac_dir_suffix
= ac_top_builddir
=
31588 .
) # No --srcdir option. We are building in place.
31590 if test -z "$ac_top_builddir"; then
31593 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31595 [\\/]* | ?
:[\\/]* ) # Absolute path.
31596 ac_srcdir
=$srcdir$ac_dir_suffix;
31597 ac_top_srcdir
=$srcdir ;;
31598 *) # Relative path.
31599 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31600 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31603 # Do not use `cd foo && pwd` to compute absolute paths, because
31604 # the directories may not exist.
31606 .
) ac_abs_builddir
="$ac_dir";;
31609 .
) ac_abs_builddir
=`pwd`;;
31610 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31611 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31614 case $ac_abs_builddir in
31615 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31617 case ${ac_top_builddir}.
in
31618 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31619 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31620 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31623 case $ac_abs_builddir in
31624 .
) ac_abs_srcdir
=$ac_srcdir;;
31627 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31628 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31629 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31632 case $ac_abs_builddir in
31633 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31635 case $ac_top_srcdir in
31636 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31637 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31638 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31643 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
31644 echo "$as_me: executing $ac_dest commands" >&6;}
31646 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
31647 # Strip MF so we end up with the name of the file.
31648 mf
=`echo "$mf" | sed -e 's/:.*$//'`
31649 # Check whether this is an Automake generated Makefile or not.
31650 # We used to match only the files named `Makefile.in', but
31651 # some people rename them; so instead we look at the file content.
31652 # Grep'ing the first line is not enough: some people post-process
31653 # each Makefile.in and add a new line on top of each file to say so.
31654 # So let's grep whole file.
31655 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
31656 dirpart
=`(dirname "$mf") 2>/dev/null ||
31657 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31658 X"$mf" : 'X\(//\)[^/]' \| \
31659 X"$mf" : 'X\(//\)$' \| \
31660 X"$mf" : 'X\(/\)' \| \
31661 . : '\(.\)' 2>/dev/null ||
31663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31664 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31665 /^X\(\/\/\)$/{ s//\1/; q; }
31666 /^X\(\/\).*/{ s//\1/; q; }
31671 # Extract the definition of DEPDIR, am__include, and am__quote
31672 # from the Makefile without running `make'.
31673 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
31674 test -z "$DEPDIR" && continue
31675 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
31676 test -z "am__include" && continue
31677 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
31678 # When using ansi2knr, U may be empty or an underscore; expand it
31679 U
=`sed -n 's/^U = //p' < "$mf"`
31680 # Find all dependency output files, they are included files with
31681 # $(DEPDIR) in their names. We invoke sed twice because it is the
31682 # simplest approach to changing $(DEPDIR) to its actual value in the
31684 for file in `sed -n "
31685 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
31686 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
31687 # Make sure the directory exists.
31688 test -f "$dirpart/$file" && continue
31689 fdir
=`(dirname "$file") 2>/dev/null ||
31690 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31691 X"$file" : 'X\(//\)[^/]' \| \
31692 X"$file" : 'X\(//\)$' \| \
31693 X"$file" : 'X\(/\)' \| \
31694 . : '\(.\)' 2>/dev/null ||
31696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31697 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31698 /^X\(\/\/\)$/{ s//\1/; q; }
31699 /^X\(\/\).*/{ s//\1/; q; }
31701 { if $as_mkdir_p; then
31702 mkdir
-p $dirpart/$fdir
31704 as_dir
=$dirpart/$fdir
31706 while test ! -d "$as_dir"; do
31707 as_dirs
="$as_dir $as_dirs"
31708 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31709 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31710 X"$as_dir" : 'X\(//\)[^/]' \| \
31711 X"$as_dir" : 'X\(//\)$' \| \
31712 X"$as_dir" : 'X\(/\)' \| \
31713 . : '\(.\)' 2>/dev/null ||
31715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31717 /^X\(\/\/\)$/{ s//\1/; q; }
31718 /^X\(\/\).*/{ s//\1/; q; }
31721 test ! -n "$as_dirs" || mkdir
$as_dirs
31722 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
31723 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
31724 { (exit 1); exit 1; }; }; }
31726 # echo "creating $dirpart/$file"
31727 echo '# dummy' > "$dirpart/$file"
31735 cat >>$CONFIG_STATUS <<\_ACEOF
31737 { (exit 0); exit 0; }
31739 chmod +x
$CONFIG_STATUS
31740 ac_clean_files
=$ac_clean_files_save
31743 # configure is writing to config.log, and then calls config.status.
31744 # config.status does its own redirection, appending to config.log.
31745 # Unfortunately, on DOS this fails, as config.log is still kept open
31746 # by configure, so config.status won't be able to write to it; its
31747 # output is simply discarded. So we exec the FD to /dev/null,
31748 # effectively closing config.log, so it can be properly (re)opened and
31749 # appended to by config.status. When coming back to configure, we
31750 # need to make the FD available again.
31751 if test "$no_create" != yes; then
31753 ac_config_status_args
=
31754 test "$silent" = yes &&
31755 ac_config_status_args
="$ac_config_status_args --quiet"
31757 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31759 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31760 # would make configure fail if this is the last instruction.
31761 $ac_cs_success ||
{ (exit 1); exit 1; }
31766 ## enable AMD64 assembly code : ${asm_msg_amd64}
31769 LZO configuration summary
31770 -------------------------
31771 LZO version : ${PACKAGE_VERSION}
31772 configured for host : ${host_cpu}-${host_vendor}-${host_os}
31773 source code location : ${srcdir}
31775 preprocessor flags : ${CPPFLAGS}
31776 compiler flags : ${CFLAGS}
31777 build static library : ${enable_static}
31778 build shared library : ${enable_shared}
31779 enable i386 assembly code : ${asm_msg_i386}
31782 LZO ${PACKAGE_VERSION} configured.
31784 Copyright (C) 1996-2008 Markus Franz Xaver Johannes Oberhumer
31785 All Rights Reserved.
31787 The LZO library is free software; you can redistribute it and/or
31788 modify it under the terms of the GNU General Public License as
31789 published by the Free Software Foundation; either version 2 of
31790 the License, or (at your option) any later version.
31792 The LZO library is distributed in the hope that it will be useful,
31793 but WITHOUT ANY WARRANTY; without even the implied warranty of
31794 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31795 GNU General Public License for more details.
31797 Markus F.X.J. Oberhumer
31798 <markus@oberhumer.com>
31799 http://www.oberhumer.com/opensource/lzo/
31802 Type \`make' to build LZO. Type \`make install' to install LZO.
31803 After installing LZO, please read the accompanied documentation.