2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for LibTIFF Software 3.8.2.
5 # Report bugs to <tiff@lists.maptools.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno
||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir -p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL
=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X
--no-reexec; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X
--fallback-echo; then
262 # Avoid inline document here, it may be left over
264 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $ECHO works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X
--fallback-echo; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
285 if test -z "$lt_ECHO"; then
286 if test "X${echo_test_string+set}" != Xset
; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
291 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
298 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
299 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
310 for dir
in $PATH /usr
/ucb
; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$ECHO" = Xecho
; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
325 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif { test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext; } &&
330 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL
=/bin
/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
341 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
351 SHELL
="$CONFIG_SHELL"
353 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string
=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
397 # so uname gets run too.
398 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
405 ac_default_prefix
=/usr
/local
406 ac_config_libobj_dir
=.
411 SHELL
=${CONFIG_SHELL-/bin/sh}
413 # Maximum number of lines to put in a shell here document.
414 # This variable seems obsolete. It should probably be removed, and
415 # only ac_max_sed_lines should be used.
416 : ${ac_max_here_lines=38}
418 # Identity of this package.
419 PACKAGE_NAME
='LibTIFF Software'
420 PACKAGE_TARNAME
='tiff'
421 PACKAGE_VERSION
='3.8.2'
422 PACKAGE_STRING
='LibTIFF Software 3.8.2'
423 PACKAGE_BUGREPORT
='tiff@lists.maptools.org'
425 # Factoring default headers for most tests.
426 ac_includes_default
="\
429 # include <sys/types.h>
432 # include <sys/stat.h>
443 # if !STDC_HEADERS && HAVE_MEMORY_H
449 # include <strings.h>
452 # include <inttypes.h>
462 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 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTIFF_MAJOR_VERSION LIBTIFF_MINOR_VERSION LIBTIFF_MICRO_VERSION LIBTIFF_ALPHA_VERSION LIBTIFF_VERSION LIBTIFF_VERSION_INFO LIBTIFF_RELEASE_DATE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CPP AS ac_ct_AS DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP LIBOBJS HAVE_RPATH_TRUE HAVE_RPATH_FALSE LIBTIFF_DOCDIR HAVE_CXX_TRUE HAVE_CXX_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS GL_CFLAGS GL_LIBS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP GLU_CFLAGS GLU_LIBS GLUT_CFLAGS GLUT_LIBS HAVE_OPENGL_TRUE HAVE_OPENGL_FALSE LIBDIR LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
524 -build | --build | --buil | --bui | --bu)
525 ac_prev
=build_alias
;;
526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file | --cache-file | --cache-fil | --cache-fi \
530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531 ac_prev
=cache_file
;;
532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
541 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* | --disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* | --enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569 | --exec | --exe | --ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573 | --exec=* | --exe=* | --ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas | --gas | --ga | --g)
577 # Obsolete; use --with-gas.
580 -help | --help | --hel | --he | -h)
582 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
585 ac_init_help
=short
;;
587 -host | --host | --hos | --ho)
588 ac_prev
=host_alias
;;
589 -host=* | --host=* | --hos=* | --ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir | --includedir | --includedi | --included | --include \
593 | --includ | --inclu | --incl | --inc)
594 ac_prev
=includedir
;;
595 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596 | --includ=* | --inclu=* | --incl=* | --inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir | --infodir | --infodi | --infod | --info | --inf)
601 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir | --libdir | --libdi | --libd)
606 -libdir=* | --libdir=* | --libdi=* | --libd=*)
609 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610 | --libexe | --libex | --libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613 | --libexe=* | --libex=* | --libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir | --localstatedir | --localstatedi | --localstated \
617 | --localstate | --localstat | --localsta | --localst \
618 | --locals | --local | --loca | --loc | --lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
627 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
631 # Obsolete; use --without-fp.
634 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635 | --no-cr | --no-c | -n)
638 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
642 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644 | --oldin | --oldi | --old | --ol | --o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
653 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
656 -program-prefix | --program-prefix | --program-prefi | --program-pref \
657 | --program-pre | --program-pr | --program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* | --program-prefix=* | --program-prefi=* \
660 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix | --program-suffix | --program-suffi | --program-suff \
664 | --program-suf | --program-su | --program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* | --program-suffix=* | --program-suffi=* \
667 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name | --program-transform-name \
671 | --program-transform-nam | --program-transform-na \
672 | --program-transform-n | --program-transform- \
673 | --program-transform | --program-transfor \
674 | --program-transfo | --program-transf \
675 | --program-trans | --program-tran \
676 | --progr-tra | --program-tr | --program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* | --program-transform-name=* \
679 | --program-transform-nam=* | --program-transform-na=* \
680 | --program-transform-n=* | --program-transform-=* \
681 | --program-transform=* | --program-transfor=* \
682 | --program-transfo=* | --program-transf=* \
683 | --program-trans=* | --program-tran=* \
684 | --progr-tra=* | --program-tr=* | --program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688 | -silent | --silent | --silen | --sile | --sil)
691 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
693 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir | --sharedstatedir | --sharedstatedi \
698 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699 | --sharedst | --shareds | --shared | --share | --shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site | --site | --sit)
710 -site=* | --site=* | --sit=*)
713 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
715 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
718 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719 | --syscon | --sysco | --sysc | --sys | --sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target | --target | --targe | --targ | --tar | --ta | --t)
726 ac_prev
=target_alias
;;
727 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728 target_alias
=$ac_optarg ;;
730 -v | -verbose | --verbose | --verbos | --verbo | --verb)
733 -version | --version | --versio | --versi | --vers | -V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* | --without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763 | --x-incl | --x-inc | --x-in | --x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries | --x-libraries | --x-librarie | --x-librari \
770 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CC_set
=${CC+set}
905 ac_cv_env_CC_set
=${CC+set}
906 ac_cv_env_CC_value
=$CC
907 ac_env_CFLAGS_set
=${CFLAGS+set}
908 ac_env_CFLAGS_value
=$CFLAGS
909 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
910 ac_cv_env_CFLAGS_value
=$CFLAGS
911 ac_env_LDFLAGS_set
=${LDFLAGS+set}
912 ac_env_LDFLAGS_value
=$LDFLAGS
913 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
914 ac_cv_env_LDFLAGS_value
=$LDFLAGS
915 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
916 ac_env_CPPFLAGS_value
=$CPPFLAGS
917 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
918 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
919 ac_env_CPP_set
=${CPP+set}
920 ac_env_CPP_value
=$CPP
921 ac_cv_env_CPP_set
=${CPP+set}
922 ac_cv_env_CPP_value
=$CPP
923 ac_env_CXX_set
=${CXX+set}
924 ac_env_CXX_value
=$CXX
925 ac_cv_env_CXX_set
=${CXX+set}
926 ac_cv_env_CXX_value
=$CXX
927 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
928 ac_env_CXXFLAGS_value
=$CXXFLAGS
929 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
930 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
931 ac_env_CXXCPP_set
=${CXXCPP+set}
932 ac_env_CXXCPP_value
=$CXXCPP
933 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
934 ac_cv_env_CXXCPP_value
=$CXXCPP
937 # Report the --help message.
939 if test "$ac_init_help" = "long"; then
940 # Omit some internal or obsolete options to make the list less imposing.
941 # This message is too long to be a string in the A/UX 3.1 sh.
943 \`configure' configures LibTIFF Software 3.8.2 to adapt to many kinds of systems.
945 Usage: $0 [OPTION]... [VAR=VALUE]...
947 To assign environment variables (e.g., CC, CFLAGS...), specify them as
948 VAR=VALUE. See below for descriptions of some of the useful variables.
950 Defaults for the options are specified in brackets.
953 -h, --help display this help and exit
954 --help=short display options specific to this package
955 --help=recursive display the short help of all the included packages
956 -V, --version display version information and exit
957 -q, --quiet, --silent do not print \`checking...' messages
958 --cache-file=FILE cache test results in FILE [disabled]
959 -C, --config-cache alias for \`--cache-file=config.cache'
960 -n, --no-create do not create output files
961 --srcdir=DIR find the sources in DIR [configure dir or \`..']
966 Installation directories:
967 --prefix=PREFIX install architecture-independent files in PREFIX
969 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
972 By default, \`make install' will install all the files in
973 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
974 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
975 for instance \`--prefix=\$HOME'.
977 For better control, use the options below.
979 Fine tuning of the installation directories:
980 --bindir=DIR user executables [EPREFIX/bin]
981 --sbindir=DIR system admin executables [EPREFIX/sbin]
982 --libexecdir=DIR program executables [EPREFIX/libexec]
983 --datadir=DIR read-only architecture-independent data [PREFIX/share]
984 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
985 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
986 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
987 --libdir=DIR object code libraries [EPREFIX/lib]
988 --includedir=DIR C header files [PREFIX/include]
989 --oldincludedir=DIR C header files for non-gcc [/usr/include]
990 --infodir=DIR info documentation [PREFIX/info]
991 --mandir=DIR man documentation [PREFIX/man]
997 --program-prefix=PREFIX prepend PREFIX to installed program names
998 --program-suffix=SUFFIX append SUFFIX to installed program names
999 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1002 --x-includes=DIR X include files are
in DIR
1003 --x-libraries=DIR X library files are
in DIR
1006 --build=BUILD configure
for building on BUILD
[guessed
]
1007 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1008 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1012 if test -n "$ac_init_help"; then
1013 case $ac_init_help in
1014 short
| recursive
) echo "Configuration of LibTIFF Software 3.8.2:";;
1019 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1020 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1021 --enable-maintainer-mode enable make rules and dependencies not useful
1022 (and sometimes confusing
) to the casual installer
1023 --disable-dependency-tracking speeds up one
-time build
1024 --enable-dependency-tracking do not reject slow dependency extractors
1025 --enable-shared[=PKGS
]
1026 build shared libraries
[default
=yes]
1027 --enable-static[=PKGS
]
1028 build static libraries
[default
=yes]
1029 --enable-fast-install[=PKGS
]
1030 optimize
for fast installation
[default
=yes]
1031 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1032 --enable-rpath Enable runtime linker paths
(-R libtool option
)
1033 --disable-largefile omit support
for large files
1034 --disable-ccitt disable support
for CCITT Group
3 & 4 algorithms
1035 --disable-packbits disable support
for Macintosh PackBits algorithm
1036 --disable-lzw disable support
for LZW algorithm
1037 --disable-thunder disable support
for ThunderScan
4-bit RLE algorithm
1038 --disable-next disable support
for NeXT
2-bit RLE algorithm
1039 --disable-logluv disable support
for LogLuv high dynamic range
1041 --disable-mdi disable support
for Microsoft Document Imaging
1042 --disable-zlib disable Zlib usage
(required
for Deflate
1043 compression
, enabled by default
)
1044 --disable-pixarlog disable support
for Pixar log
-format algorithm
1046 --disable-jpeg disable IJG JPEG library usage
(required
for JPEG
1047 compression
, enabled by default
)
1048 --enable-old-jpeg enable support
for Old JPEG compresson
(read
1049 contrib
/ojpeg
/README first
! Compilation fails with
1050 unpatched IJG JPEG library
)
1051 --enable-cxx enable C
++ stream API building
(requires C
++
1053 --disable-strip-chopping
1054 disable support
for strip chopping
(whether or not
1055 to convert single
-strip uncompressed images to
1056 mutiple strips of specified size to reduce memory
1058 --disable-extrasample-as-alpha
1059 the RGBA interface will treat a fourth sample with
1060 no EXTRASAMPLE_ value as being ASSOCALPHA. Many
1061 packages produce RGBA files but don
't mark the alpha
1063 --disable-check-ycbcr-subsampling
1064 disable picking up YCbCr subsampling info from the
1065 JPEG data stream to support files lacking the tag
1068 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1069 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1070 --with-pic try to use only PIC/non-PIC objects [default=use
1072 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1073 --with-docdir=DIR directory where documentation should be installed
1074 --with-zlib-include-dir=DIR
1075 location of Zlib headers
1076 --with-zlib-lib-dir=DIR location of Zlib library binary
1077 --with-jpeg-include-dir=DIR
1078 location of IJG JPEG library headers
1079 --with-jpeg-lib-dir=DIR location of IJG JPEG library binary
1080 --with-x use the X Window System
1081 --with-apple-opengl-framework
1082 use Apple OpenGL framework (Mac OS X only)
1083 --with-default-strip-size=SIZE
1084 default size of the strip in bytes (when strip
1085 chopping enabled) [default=8192]
1087 Some influential environment variables:
1088 CC C compiler command
1089 CFLAGS C compiler flags
1090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1091 nonstandard directory <lib dir>
1092 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1093 headers in a nonstandard directory <include dir>
1095 CXX C++ compiler command
1096 CXXFLAGS C++ compiler flags
1097 CXXCPP C++ preprocessor
1099 Use these variables to override the choices made by `configure' or to
help
1100 it to
find libraries and programs with nonstandard names
/locations.
1102 Report bugs to
<tiff@lists.maptools.org
>.
1106 if test "$ac_init_help" = "recursive"; then
1107 # If there are subdirs, report their specific --help.
1109 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1110 test -d $ac_dir || continue
1113 if test "$ac_dir" != .
; then
1114 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1115 # A "../" for each directory in $ac_dir_suffix.
1116 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1118 ac_dir_suffix
= ac_top_builddir
=
1122 .
) # No --srcdir option. We are building in place.
1124 if test -z "$ac_top_builddir"; then
1127 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1129 [\\/]* | ?
:[\\/]* ) # Absolute path.
1130 ac_srcdir
=$srcdir$ac_dir_suffix;
1131 ac_top_srcdir
=$srcdir ;;
1133 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1134 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1137 # Do not use `cd foo && pwd` to compute absolute paths, because
1138 # the directories may not exist.
1140 .
) ac_abs_builddir
="$ac_dir";;
1143 .
) ac_abs_builddir
=`pwd`;;
1144 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1145 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1148 case $ac_abs_builddir in
1149 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1151 case ${ac_top_builddir}.
in
1152 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1153 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1154 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1157 case $ac_abs_builddir in
1158 .
) ac_abs_srcdir
=$ac_srcdir;;
1161 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1162 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1163 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1166 case $ac_abs_builddir in
1167 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1169 case $ac_top_srcdir in
1170 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1171 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1172 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1177 # Check for guested configure; otherwise get Cygnus style configure.
1178 if test -f $ac_srcdir/configure.gnu
; then
1180 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1181 elif test -f $ac_srcdir/configure
; then
1183 $SHELL $ac_srcdir/configure
--help=recursive
1184 elif test -f $ac_srcdir/configure.ac
||
1185 test -f $ac_srcdir/configure.
in; then
1187 $ac_configure --help
1189 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1195 test -n "$ac_init_help" && exit 0
1196 if $ac_init_version; then
1198 LibTIFF Software configure
3.8.2
1199 generated by GNU Autoconf
2.59
1201 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1202 This configure
script is free software
; the Free Software Foundation
1203 gives unlimited permission to copy
, distribute and modify it.
1209 This file contains any messages produced by compilers while
1210 running configure, to aid debugging if configure makes a mistake.
1212 It was created by LibTIFF Software $as_me 3.8.2, which was
1213 generated by GNU Autoconf 2.59. Invocation command line was
1224 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1225 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1226 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1227 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1228 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1230 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1231 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1233 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1234 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1235 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1236 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1237 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1238 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1239 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1247 test -z "$as_dir" && as_dir
=.
1248 echo "PATH: $as_dir"
1263 # Keep a trace of the command line.
1264 # Strip out --no-create and --no-recursion so they do not pile up.
1265 # Strip out --silent because we don't want to record it for future runs.
1266 # Also quote any args containing shell meta-characters.
1267 # Make two passes to allow for proper duplicate-argument suppression.
1272 ac_must_keep_next
=false
1278 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280 | -silent | --silent | --silen | --sile | --sil)
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1288 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1289 if test $ac_must_keep_next = true
; then
1290 ac_must_keep_next
=false
# Got value, back to normal.
1293 *=* | --config-cache | -C | -disable-* | --disable-* \
1294 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1295 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1296 | -with-* | --with-* | -without-* | --without-* | --x)
1297 case "$ac_configure_args0 " in
1298 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1301 -* ) ac_must_keep_next
=true
;;
1304 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1305 # Get rid of the leading space.
1311 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1312 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1314 # When interrupted or exit'd, cleanup temporary files, and complete
1315 # config.log. We remove comments because anyway the quotes in there
1316 # would cause problems or look ugly.
1317 # WARNING: Be sure not to use single quotes in there, as some shells,
1318 # such as our DU 5.0 friend, will then `close' the trap.
1319 trap 'exit_status=$?
1320 # Save into config.log some information that might help in debugging.
1325 ## ---------------- ##
1326 ## Cache variables. ##
1327 ## ---------------- ##
1330 # The following way of writing the cache mishandles newlines in values,
1333 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1336 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1348 ## ----------------- ##
1349 ## Output variables. ##
1350 ## ----------------- ##
1353 for ac_var in $ac_subst_vars
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1360 if test -n "$ac_subst_files"; then
1367 for ac_var in $ac_subst_files
1369 eval ac_val=$`echo $ac_var`
1370 echo "$ac_var='"'"'$ac_val'"'"'"
1375 if test -s confdefs.h; then
1382 sed "/^$/d" confdefs.h | sort
1385 test "$ac_signal" != 0 &&
1386 echo "$as_me: caught signal $ac_signal"
1387 echo "$as_me: exit $exit_status"
1389 rm -f core *.core &&
1390 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1393 for ac_signal
in 1 2 13 15; do
1394 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1398 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1399 rm -rf conftest
* confdefs.h
1400 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1403 # Predefined preprocessor variables.
1405 cat >>confdefs.h
<<_ACEOF
1406 #define PACKAGE_NAME "$PACKAGE_NAME"
1410 cat >>confdefs.h
<<_ACEOF
1411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1415 cat >>confdefs.h
<<_ACEOF
1416 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1420 cat >>confdefs.h
<<_ACEOF
1421 #define PACKAGE_STRING "$PACKAGE_STRING"
1425 cat >>confdefs.h
<<_ACEOF
1426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1430 # Let the site file select an alternate cache file if it wants to.
1431 # Prefer explicitly selected file to automatically selected ones.
1432 if test -z "$CONFIG_SITE"; then
1433 if test "x$prefix" != xNONE
; then
1434 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1436 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1439 for ac_site_file
in $CONFIG_SITE; do
1440 if test -r "$ac_site_file"; then
1441 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1442 echo "$as_me: loading site script $ac_site_file" >&6;}
1443 sed 's/^/| /' "$ac_site_file" >&5
1448 if test -r "$cache_file"; then
1449 # Some versions of bash will fail to source /dev/null (special
1450 # files actually), so we avoid doing that.
1451 if test -f "$cache_file"; then
1452 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1453 echo "$as_me: loading cache $cache_file" >&6;}
1455 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1456 *) . .
/$cache_file;;
1460 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1461 echo "$as_me: creating cache $cache_file" >&6;}
1465 # Check that the precious variables saved in the cache have kept the same
1467 ac_cache_corrupted
=false
1468 for ac_var
in `(set) 2>&1 |
1469 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1470 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1471 eval ac_new_set
=\
$ac_env_${ac_var}_set
1472 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1473 eval ac_new_val
="\$ac_env_${ac_var}_value"
1474 case $ac_old_set,$ac_new_set in
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1478 ac_cache_corrupted
=: ;;
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1482 ac_cache_corrupted
=: ;;
1485 if test "x$ac_old_val" != "x$ac_new_val"; then
1486 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1489 echo "$as_me: former value: $ac_old_val" >&2;}
1490 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1491 echo "$as_me: current value: $ac_new_val" >&2;}
1492 ac_cache_corrupted
=:
1495 # Pass precious variables to config.status.
1496 if test "$ac_new_set" = set; then
1498 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1499 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 *) ac_arg
=$ac_var=$ac_new_val ;;
1502 case " $ac_configure_args " in
1503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1504 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1508 if $ac_cache_corrupted; then
1509 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1510 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1511 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1512 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1513 { (exit 1); exit 1; }; }
1517 ac_cpp
='$CPP $CPPFLAGS'
1518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1549 for ac_dir
in config
$srcdir/config
; do
1550 if test -f $ac_dir/install-sh; then
1552 ac_install_sh
="$ac_aux_dir/install-sh -c"
1554 elif test -f $ac_dir/install.sh
; then
1556 ac_install_sh
="$ac_aux_dir/install.sh -c"
1558 elif test -f $ac_dir/shtool
; then
1560 ac_install_sh
="$ac_aux_dir/shtool install -c"
1564 if test -z "$ac_aux_dir"; then
1565 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1566 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1567 { (exit 1); exit 1; }; }
1569 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1570 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1571 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1574 [\\/]* | ?
:[\\/]* ) ac_macro_dir
=m4 ;;
1575 *) ac_macro_dir
=$srcdir/m4 ;;
1577 if test -d "$ac_macro_dir"; then :
1579 { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
1580 echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
1581 { (exit 1); exit 1; }; }
1585 ac_cpp
='$CPP $CPPFLAGS'
1586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1591 # Make sure we can run config.sub.
1592 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1593 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1594 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1595 { (exit 1); exit 1; }; }
1597 echo "$as_me:$LINENO: checking build system type" >&5
1598 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1599 if test "${ac_cv_build+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 ac_cv_build_alias
=$build_alias
1603 test -z "$ac_cv_build_alias" &&
1604 ac_cv_build_alias
=`$ac_config_guess`
1605 test -z "$ac_cv_build_alias" &&
1606 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1607 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1608 { (exit 1); exit 1; }; }
1609 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1615 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1616 echo "${ECHO_T}$ac_cv_build" >&6
1618 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1623 echo "$as_me:$LINENO: checking host system type" >&5
1624 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1625 if test "${ac_cv_host+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 ac_cv_host_alias
=$host_alias
1629 test -z "$ac_cv_host_alias" &&
1630 ac_cv_host_alias
=$ac_cv_build_alias
1631 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1637 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1638 echo "${ECHO_T}$ac_cv_host" >&6
1640 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1645 echo "$as_me:$LINENO: checking target system type" >&5
1646 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1647 if test "${ac_cv_target+set}" = set; then
1648 echo $ECHO_N "(cached) $ECHO_C" >&6
1650 ac_cv_target_alias
=$target_alias
1651 test "x$ac_cv_target_alias" = "x" &&
1652 ac_cv_target_alias
=$ac_cv_host_alias
1653 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1654 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1656 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1660 echo "${ECHO_T}$ac_cv_target" >&6
1661 target
=$ac_cv_target
1662 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1667 # The aliases save the names the user supplied, while $host etc.
1668 # will get canonicalized.
1669 test -n "$target_alias" &&
1670 test "$program_prefix$program_suffix$program_transform_name" = \
1672 program_prefix
=${target_alias}-
1674 am__api_version
="1.9"
1675 # Find a good install program. We prefer a C program (faster),
1676 # so one script is as good as another. But avoid the broken or
1677 # incompatible versions:
1678 # SysV /etc/install, /usr/sbin/install
1679 # SunOS /usr/etc/install
1680 # IRIX /sbin/install
1682 # AmigaOS /C/install, which installs bootblocks on floppy discs
1683 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1684 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1685 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1686 # OS/2's system install, which has a completely different semantic
1687 # ./install, which can be erroneously created by make from ./install.sh.
1688 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1689 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1690 if test -z "$INSTALL"; then
1691 if test "${ac_cv_path_install+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1698 test -z "$as_dir" && as_dir
=.
1699 # Account for people who put trailing slashes in PATH elements.
1701 .
/ | .
// | /cC
/* | \
1702 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1703 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1706 # OSF1 and SCO ODT 3.0 have their own names for install.
1707 # Don't use installbsd from OSF since it installs stuff as root
1709 for ac_prog
in ginstall scoinst
install; do
1710 for ac_exec_ext
in '' $ac_executable_extensions; do
1711 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1712 if test $ac_prog = install &&
1713 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1714 # AIX install. It has an incompatible calling convention.
1716 elif test $ac_prog = install &&
1717 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1718 # program-specific install script used by HP pwplus--don't use.
1721 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1733 if test "${ac_cv_path_install+set}" = set; then
1734 INSTALL
=$ac_cv_path_install
1736 # As a last resort, use the slow shell script. We don't cache a
1737 # path for INSTALL within a source directory, because that will
1738 # break other packages using the cache if that directory is
1739 # removed, or if the path is relative.
1740 INSTALL
=$ac_install_sh
1743 echo "$as_me:$LINENO: result: $INSTALL" >&5
1744 echo "${ECHO_T}$INSTALL" >&6
1746 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1747 # It thinks the first close brace ends the variable substitution.
1748 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1750 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1752 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1754 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1755 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1758 echo timestamp
> conftest.
file
1759 # Do `set' in a subshell so we don't clobber the current shell's
1760 # arguments. Must try -L first in case configure is actually a
1761 # symlink; some systems play weird games with the mod time of symlinks
1762 # (eg FreeBSD returns the mod time of the symlink's containing
1765 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1766 if test "$*" = "X"; then
1768 set X
`ls -t $srcdir/configure conftest.file`
1771 if test "$*" != "X $srcdir/configure conftest.file" \
1772 && test "$*" != "X conftest.file $srcdir/configure"; then
1774 # If neither matched, then we have a broken ls. This can happen
1775 # if, for instance, CONFIG_SHELL is bash and it inherits a
1776 # broken ls alias from the environment. This has actually
1777 # happened. Such a system could not be considered "sane".
1778 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1779 alias in your environment" >&5
1780 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1781 alias in your environment" >&2;}
1782 { (exit 1); exit 1; }; }
1785 test "$2" = conftest.
file
1791 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1792 Check your system clock" >&5
1793 echo "$as_me: error: newly created file is older than distributed files!
1794 Check your system clock" >&2;}
1795 { (exit 1); exit 1; }; }
1797 echo "$as_me:$LINENO: result: yes" >&5
1798 echo "${ECHO_T}yes" >&6
1799 test "$program_prefix" != NONE
&&
1800 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1801 # Use a double $ so make ignores it.
1802 test "$program_suffix" != NONE
&&
1803 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1804 # Double any \ or $. echo might interpret backslashes.
1805 # By default was `s,x,x', remove it if useless.
1806 cat <<\_ACEOF
>conftest.
sed
1807 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1809 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1812 # expand $ac_aux_dir to an absolute path
1813 am_aux_dir
=`cd $ac_aux_dir && pwd`
1815 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
1816 # Use eval to expand $SHELL
1817 if eval "$MISSING --run true"; then
1818 am_missing_run
="$MISSING --run "
1821 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1822 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1825 if mkdir -p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1826 # We used to keeping the `.' as first argument, in order to
1827 # allow $(mkdir_p) to be used without argument. As in
1828 # $(mkdir_p) $(somedir)
1829 # where $(somedir) is conditionally defined. However this is wrong
1831 # 1. if the package is installed by a user who cannot write `.'
1832 # make install will fail,
1833 # 2. the above comment should most certainly read
1834 # $(mkdir_p) $(DESTDIR)$(somedir)
1835 # so it does not work when $(somedir) is undefined and
1836 # $(DESTDIR) is not.
1837 # To support the latter case, we have to write
1838 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1839 # so the `.' trick is pointless.
1840 mkdir_p
='mkdir -p --'
1842 # On NextStep and OpenStep, the `mkdir' command does not
1843 # recognize any option. It will interpret all options as
1844 # directories to create, and then abort because `.' already
1846 for d
in .
/-p .
/--version;
1848 test -d $d && rmdir $d
1850 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1851 if test -f "$ac_aux_dir/mkinstalldirs"; then
1852 mkdir_p
='$(mkinstalldirs)'
1854 mkdir_p
='$(install_sh) -d'
1858 for ac_prog
in gawk mawk nawk
awk
1860 # Extract the first word of "$ac_prog", so it can be a program name with args.
1861 set dummy
$ac_prog; ac_word
=$2
1862 echo "$as_me:$LINENO: checking for $ac_word" >&5
1863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1864 if test "${ac_cv_prog_AWK+set}" = set; then
1865 echo $ECHO_N "(cached) $ECHO_C" >&6
1867 if test -n "$AWK"; then
1868 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1874 test -z "$as_dir" && as_dir
=.
1875 for ac_exec_ext
in '' $ac_executable_extensions; do
1876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1877 ac_cv_prog_AWK
="$ac_prog"
1878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887 if test -n "$AWK"; then
1888 echo "$as_me:$LINENO: result: $AWK" >&5
1889 echo "${ECHO_T}$AWK" >&6
1891 echo "$as_me:$LINENO: result: no" >&5
1892 echo "${ECHO_T}no" >&6
1895 test -n "$AWK" && break
1898 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1899 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1900 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1901 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1902 echo $ECHO_N "(cached) $ECHO_C" >&6
1904 cat >conftest.
make <<\_ACEOF
1906 @
echo 'ac_maketemp="$(MAKE)"'
1908 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1909 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1910 if test -n "$ac_maketemp"; then
1911 eval ac_cv_prog_make_
${ac_make}_set
=yes
1913 eval ac_cv_prog_make_
${ac_make}_set
=no
1917 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1918 echo "$as_me:$LINENO: result: yes" >&5
1919 echo "${ECHO_T}yes" >&6
1922 echo "$as_me:$LINENO: result: no" >&5
1923 echo "${ECHO_T}no" >&6
1924 SET_MAKE
="MAKE=${MAKE-make}"
1927 rm -rf .tst
2>/dev
/null
1928 mkdir .tst
2>/dev
/null
1929 if test -d .tst
; then
1934 rmdir .tst
2>/dev
/null
1936 # test to see if srcdir already configured
1937 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1938 test -f $srcdir/config.status
; then
1939 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1940 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1941 { (exit 1); exit 1; }; }
1944 # test whether we have cygpath
1945 if test -z "$CYGPATH_W"; then
1946 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1947 CYGPATH_W
='cygpath -w'
1954 # Define the identity of the package.
1959 cat >>confdefs.h
<<_ACEOF
1960 #define PACKAGE "$PACKAGE"
1964 cat >>confdefs.h
<<_ACEOF
1965 #define VERSION "$VERSION"
1968 # Some tools Automake needs.
1970 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1973 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1976 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1979 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1982 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1984 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1986 # Installed binaries are usually stripped using `strip' when the user
1987 # run `make install-strip'. However `strip' might not be the right
1988 # tool to use in cross-compilation environments, therefore Automake
1989 # will honor the `STRIP' environment variable to overrule this program.
1990 if test "$cross_compiling" != no
; then
1991 if test -n "$ac_tool_prefix"; then
1992 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1993 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1994 echo "$as_me:$LINENO: checking for $ac_word" >&5
1995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1996 if test "${ac_cv_prog_STRIP+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 if test -n "$STRIP"; then
2000 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir
=.
2007 for ac_exec_ext
in '' $ac_executable_extensions; do
2008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 STRIP
=$ac_cv_prog_STRIP
2019 if test -n "$STRIP"; then
2020 echo "$as_me:$LINENO: result: $STRIP" >&5
2021 echo "${ECHO_T}$STRIP" >&6
2023 echo "$as_me:$LINENO: result: no" >&5
2024 echo "${ECHO_T}no" >&6
2028 if test -z "$ac_cv_prog_STRIP"; then
2030 # Extract the first word of "strip", so it can be a program name with args.
2031 set dummy strip
; ac_word
=$2
2032 echo "$as_me:$LINENO: checking for $ac_word" >&5
2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2034 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2035 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 if test -n "$ac_ct_STRIP"; then
2038 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2044 test -z "$as_dir" && as_dir
=.
2045 for ac_exec_ext
in '' $ac_executable_extensions; do
2046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2047 ac_cv_prog_ac_ct_STRIP
="strip"
2048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2057 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2058 if test -n "$ac_ct_STRIP"; then
2059 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2060 echo "${ECHO_T}$ac_ct_STRIP" >&6
2062 echo "$as_me:$LINENO: result: no" >&5
2063 echo "${ECHO_T}no" >&6
2068 STRIP
="$ac_cv_prog_STRIP"
2072 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2074 # We need awk for the "check" target. The system "awk" is bad on
2076 # Always define AMTAR for backward compatibility.
2078 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2080 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2086 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2087 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2088 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2089 if test "${enable_maintainer_mode+set}" = set; then
2090 enableval
="$enable_maintainer_mode"
2091 USE_MAINTAINER_MODE
=$enableval
2093 USE_MAINTAINER_MODE
=no
2095 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2096 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2099 if test $USE_MAINTAINER_MODE = yes; then
2100 MAINTAINER_MODE_TRUE
=
2101 MAINTAINER_MODE_FALSE
='#'
2103 MAINTAINER_MODE_TRUE
='#'
2104 MAINTAINER_MODE_FALSE
=
2107 MAINT
=$MAINTAINER_MODE_TRUE
2111 LIBTIFF_MAJOR_VERSION
=3
2112 LIBTIFF_MINOR_VERSION
=8
2113 LIBTIFF_MICRO_VERSION
=2
2114 LIBTIFF_ALPHA_VERSION
=
2115 LIBTIFF_VERSION
=$LIBTIFF_MAJOR_VERSION.
$LIBTIFF_MINOR_VERSION.
$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION
2116 LIBTIFF_RELEASE_DATE
=`date +"%Y%m%d"`
2118 # This is a special hack for OpenBSD and MirOS systems. The dynamic linker
2119 # in OpenBSD uses some special semantics for shared libraries. Their soname
2120 # contains only two numbers, major and minor.
2121 # See http://bugzilla.remotesensing.org/show_bug.cgi?id=838 for details.
2122 case "$target_os" in
2124 LIBTIFF_VERSION_INFO
=$LIBTIFF_MAJOR_VERSION$LIBTIFF_MINOR_VERSION:$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION:0
2127 LIBTIFF_VERSION_INFO
=$LIBTIFF_MAJOR_VERSION:$LIBTIFF_MINOR_VERSION:$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION
2140 ac_cpp
='$CPP $CPPFLAGS'
2141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2144 if test -n "$ac_tool_prefix"; then
2145 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2146 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2147 echo "$as_me:$LINENO: checking for $ac_word" >&5
2148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2149 if test "${ac_cv_prog_CC+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 if test -n "$CC"; then
2153 ac_cv_prog_CC
="$CC" # Let the user override the test.
2155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2159 test -z "$as_dir" && as_dir
=.
2160 for ac_exec_ext
in '' $ac_executable_extensions; do
2161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2162 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 if test -n "$CC"; then
2173 echo "$as_me:$LINENO: result: $CC" >&5
2174 echo "${ECHO_T}$CC" >&6
2176 echo "$as_me:$LINENO: result: no" >&5
2177 echo "${ECHO_T}no" >&6
2181 if test -z "$ac_cv_prog_CC"; then
2183 # Extract the first word of "gcc", so it can be a program name with args.
2184 set dummy gcc
; ac_word
=$2
2185 echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2187 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 if test -n "$ac_ct_CC"; then
2191 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir
=.
2198 for ac_exec_ext
in '' $ac_executable_extensions; do
2199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2200 ac_cv_prog_ac_ct_CC
="gcc"
2201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2210 if test -n "$ac_ct_CC"; then
2211 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2212 echo "${ECHO_T}$ac_ct_CC" >&6
2214 echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6
2223 if test -z "$CC"; then
2224 if test -n "$ac_tool_prefix"; then
2225 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2226 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2227 echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2229 if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC
="$CC" # Let the user override the test.
2235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir
=.
2240 for ac_exec_ext
in '' $ac_executable_extensions; do
2241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2242 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 if test -n "$CC"; then
2253 echo "$as_me:$LINENO: result: $CC" >&5
2254 echo "${ECHO_T}$CC" >&6
2256 echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6
2261 if test -z "$ac_cv_prog_CC"; then
2263 # Extract the first word of "cc", so it can be a program name with args.
2264 set dummy cc
; ac_word
=$2
2265 echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2267 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 if test -n "$ac_ct_CC"; then
2271 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2277 test -z "$as_dir" && as_dir
=.
2278 for ac_exec_ext
in '' $ac_executable_extensions; do
2279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2280 ac_cv_prog_ac_ct_CC
="cc"
2281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2290 if test -n "$ac_ct_CC"; then
2291 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2292 echo "${ECHO_T}$ac_ct_CC" >&6
2294 echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6
2304 if test -z "$CC"; then
2305 # Extract the first word of "cc", so it can be a program name with args.
2306 set dummy cc
; ac_word
=$2
2307 echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2309 if test "${ac_cv_prog_CC+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 if test -n "$CC"; then
2313 ac_cv_prog_CC
="$CC" # Let the user override the test.
2316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir
=.
2321 for ac_exec_ext
in '' $ac_executable_extensions; do
2322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2323 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2324 ac_prog_rejected
=yes
2328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 if test $ac_prog_rejected = yes; then
2335 # We found a bogon in the path, so make sure we never use it.
2336 set dummy
$ac_cv_prog_CC
2338 if test $# != 0; then
2339 # We chose a different compiler from the bogus one.
2340 # However, it has the same basename, so the bogon will be chosen
2341 # first if we set CC to just the basename; use the full file name.
2343 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2349 if test -n "$CC"; then
2350 echo "$as_me:$LINENO: result: $CC" >&5
2351 echo "${ECHO_T}$CC" >&6
2353 echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6
2358 if test -z "$CC"; then
2359 if test -n "$ac_tool_prefix"; then
2362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2363 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2364 echo "$as_me:$LINENO: checking for $ac_word" >&5
2365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2366 if test "${ac_cv_prog_CC+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 if test -n "$CC"; then
2370 ac_cv_prog_CC
="$CC" # Let the user override the test.
2372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir
=.
2377 for ac_exec_ext
in '' $ac_executable_extensions; do
2378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2379 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2389 if test -n "$CC"; then
2390 echo "$as_me:$LINENO: result: $CC" >&5
2391 echo "${ECHO_T}$CC" >&6
2393 echo "$as_me:$LINENO: result: no" >&5
2394 echo "${ECHO_T}no" >&6
2397 test -n "$CC" && break
2400 if test -z "$CC"; then
2404 # Extract the first word of "$ac_prog", so it can be a program name with args.
2405 set dummy
$ac_prog; ac_word
=$2
2406 echo "$as_me:$LINENO: checking for $ac_word" >&5
2407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2408 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2409 echo $ECHO_N "(cached) $ECHO_C" >&6
2411 if test -n "$ac_ct_CC"; then
2412 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2418 test -z "$as_dir" && as_dir
=.
2419 for ac_exec_ext
in '' $ac_executable_extensions; do
2420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2421 ac_cv_prog_ac_ct_CC
="$ac_prog"
2422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2431 if test -n "$ac_ct_CC"; then
2432 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2433 echo "${ECHO_T}$ac_ct_CC" >&6
2435 echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6
2439 test -n "$ac_ct_CC" && break
2448 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2449 See \`config.log' for more details." >&5
2450 echo "$as_me: error: no acceptable C compiler found in \$PATH
2451 See \`config.log' for more details." >&2;}
2452 { (exit 1); exit 1; }; }
2454 # Provide some information about the compiler.
2455 echo "$as_me:$LINENO:" \
2456 "checking for C compiler version" >&5
2457 ac_compiler
=`set X $ac_compile; echo $2`
2458 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2459 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }
2463 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2464 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); }
2468 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2469 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }
2474 cat >conftest.
$ac_ext <<_ACEOF
2477 cat confdefs.h
>>conftest.
$ac_ext
2478 cat >>conftest.
$ac_ext <<_ACEOF
2479 /* end confdefs.h. */
2489 ac_clean_files_save
=$ac_clean_files
2490 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2491 # Try to create an executable without -o first, disregard a.out.
2492 # It will help us diagnose broken compilers, and finding out an intuition
2494 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2495 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2496 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2497 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2498 (eval $ac_link_default) 2>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); }; then
2502 # Find the output, starting from the most likely. This scheme is
2503 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2506 # Be careful to initialize this variable, since it used to be cached.
2507 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2509 # b.out is created by i960 compilers.
2510 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2512 test -f "$ac_file" || continue
2514 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
2517 # This is the source file.
2520 # We found the default executable, but exeext='' is most
2524 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2525 # FIXME: I believe we export ac_cv_exeext for Libtool,
2526 # but it would be cool to find out if it's true. Does anybody
2527 # maintain Libtool? --akim.
2535 echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.
$ac_ext >&5
2538 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2539 See \`config.log' for more details." >&5
2540 echo "$as_me: error: C compiler cannot create executables
2541 See \`config.log' for more details." >&2;}
2542 { (exit 77); exit 77; }; }
2545 ac_exeext
=$ac_cv_exeext
2546 echo "$as_me:$LINENO: result: $ac_file" >&5
2547 echo "${ECHO_T}$ac_file" >&6
2549 # Check the compiler produces executables we can run. If not, either
2550 # the compiler is broken, or we cross compile.
2551 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2552 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2553 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2554 # If not cross compiling, check that we can run a simple program.
2555 if test "$cross_compiling" != yes; then
2556 if { ac_try
='./$ac_file'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; }; then
2564 if test "$cross_compiling" = maybe
; then
2567 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2568 If you meant to cross compile, use \`--host'.
2569 See \`config.log' for more details." >&5
2570 echo "$as_me: error: cannot run C compiled programs.
2571 If you meant to cross compile, use \`--host'.
2572 See \`config.log' for more details." >&2;}
2573 { (exit 1); exit 1; }; }
2577 echo "$as_me:$LINENO: result: yes" >&5
2578 echo "${ECHO_T}yes" >&6
2580 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2581 ac_clean_files
=$ac_clean_files_save
2582 # Check the compiler produces executables we can run. If not, either
2583 # the compiler is broken, or we cross compile.
2584 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2585 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2586 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2587 echo "${ECHO_T}$cross_compiling" >&6
2589 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2590 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2592 (eval $ac_link) 2>&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }; then
2596 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2597 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2598 # work properly (i.e., refer to `conftest.exe'), while it won't with
2600 for ac_file
in conftest.exe conftest conftest.
*; do
2601 test -f "$ac_file" || continue
2603 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
2604 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2611 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2612 See \`config.log' for more details." >&5
2613 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2614 See \`config.log' for more details." >&2;}
2615 { (exit 1); exit 1; }; }
2618 rm -f conftest
$ac_cv_exeext
2619 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2620 echo "${ECHO_T}$ac_cv_exeext" >&6
2622 rm -f conftest.
$ac_ext
2623 EXEEXT
=$ac_cv_exeext
2625 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2626 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2627 if test "${ac_cv_objext+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2630 cat >conftest.
$ac_ext <<_ACEOF
2633 cat confdefs.h
>>conftest.
$ac_ext
2634 cat >>conftest.
$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2645 rm -f conftest.o conftest.obj
2646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647 (eval $ac_compile) 2>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; then
2651 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2653 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
2654 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2659 echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.
$ac_ext >&5
2662 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2663 See \`config.log' for more details." >&5
2664 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2665 See \`config.log' for more details." >&2;}
2666 { (exit 1); exit 1; }; }
2669 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2671 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2672 echo "${ECHO_T}$ac_cv_objext" >&6
2673 OBJEXT
=$ac_cv_objext
2675 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2676 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2677 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 cat >conftest.
$ac_ext <<_ACEOF
2683 cat confdefs.h
>>conftest.
$ac_ext
2684 cat >>conftest.
$ac_ext <<_ACEOF
2685 /* end confdefs.h. */
2698 rm -f conftest.
$ac_objext
2699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2700 (eval $ac_compile) 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); } &&
2707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }; } &&
2713 { ac_try
='test -s conftest.$ac_objext'
2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; }; then
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.
$ac_ext >&5
2726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2727 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2730 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2731 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2732 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2733 ac_test_CFLAGS
=${CFLAGS+set}
2734 ac_save_CFLAGS
=$CFLAGS
2736 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2737 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2738 if test "${ac_cv_prog_cc_g+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2741 cat >conftest.
$ac_ext <<_ACEOF
2744 cat confdefs.h
>>conftest.
$ac_ext
2745 cat >>conftest.
$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.
$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1
>conftest.err
2762 cat conftest.err
>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; } &&
2771 { ac_try
='test -s conftest.$ac_objext'
2772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; }; then
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.
$ac_ext >&5
2784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2786 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2787 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2788 if test "$ac_test_CFLAGS" = set; then
2789 CFLAGS
=$ac_save_CFLAGS
2790 elif test $ac_cv_prog_cc_g = yes; then
2791 if test "$GCC" = yes; then
2797 if test "$GCC" = yes; then
2803 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2804 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2805 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2806 echo $ECHO_N "(cached) $ECHO_C" >&6
2808 ac_cv_prog_cc_stdc
=no
2810 cat >conftest.
$ac_ext <<_ACEOF
2813 cat confdefs.h
>>conftest.
$ac_ext
2814 cat >>conftest.
$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2818 #include <sys/types.h>
2819 #include <sys/stat.h>
2820 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2821 struct buf { int x; };
2822 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2823 static char *e (p, i)
2829 static char *f (char * (*g) (char **, int), char **p, ...)
2834 s = g (p, va_arg (v,int));
2839 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2840 function prototypes and stuff, but not '\xHH' hex character constants.
2841 These don't provoke an error unfortunately, instead are silently treated
2842 as 'x'. The following induces an error, until -std1 is added to get
2843 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2844 array size at least. It's necessary to write '\x00'==0 to get something
2845 that's true only with -std1. */
2846 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2848 int test (int i, double x);
2849 struct s1 {int (*f) (int a);};
2850 struct s2 {int (*f) (double a);};
2851 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2857 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2862 # Don't try gcc -ansi; that turns off useful extensions and
2863 # breaks some systems' header files.
2864 # AIX -qlanglvl=ansi
2865 # Ultrix and OSF/1 -std1
2866 # HP-UX 10.20 and later -Ae
2867 # HP-UX older versions -Aa -D_HPUX_SOURCE
2868 # SVR4 -Xc -D__EXTENSIONS__
2869 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2871 CC
="$ac_save_CC $ac_arg"
2872 rm -f conftest.
$ac_objext
2873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 (eval $ac_compile) 2>conftest.er1
2876 grep -v '^ *+' conftest.er1
>conftest.err
2878 cat conftest.err
>&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } &&
2881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; } &&
2887 { ac_try
='test -s conftest.$ac_objext'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; }; then
2893 ac_cv_prog_cc_stdc
=$ac_arg
2896 echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.
$ac_ext >&5
2900 rm -f conftest.err conftest.
$ac_objext
2902 rm -f conftest.
$ac_ext conftest.
$ac_objext
2907 case "x$ac_cv_prog_cc_stdc" in
2909 echo "$as_me:$LINENO: result: none needed" >&5
2910 echo "${ECHO_T}none needed" >&6 ;;
2912 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2913 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2914 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2917 # Some people use a C++ compiler to compile C. Since we use `exit',
2918 # in C++ we need to declare it. In case someone uses the same compiler
2919 # for both compiling C and C++ we need to have the C++ compiler decide
2920 # the declaration of exit, since it's the most demanding environment.
2921 cat >conftest.
$ac_ext <<_ACEOF
2926 rm -f conftest.
$ac_objext
2927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2928 (eval $ac_compile) 2>conftest.er1
2930 grep -v '^ *+' conftest.er1
>conftest.err
2932 cat conftest.err
>&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } &&
2935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; } &&
2941 { ac_try
='test -s conftest.$ac_objext'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2947 for ac_declaration
in \
2949 'extern "C" void std::exit (int) throw (); using std::exit;' \
2950 'extern "C" void std::exit (int); using std::exit;' \
2951 'extern "C" void exit (int) throw ();' \
2952 'extern "C" void exit (int);' \
2955 cat >conftest.
$ac_ext <<_ACEOF
2958 cat confdefs.h
>>conftest.
$ac_ext
2959 cat >>conftest.
$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2971 rm -f conftest.
$ac_objext
2972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2973 (eval $ac_compile) 2>conftest.er1
2975 grep -v '^ *+' conftest.er1
>conftest.err
2977 cat conftest.err
>&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } &&
2980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; } &&
2986 { ac_try
='test -s conftest.$ac_objext'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.
$ac_ext >&5
2999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3000 cat >conftest.
$ac_ext <<_ACEOF
3003 cat confdefs.h
>>conftest.
$ac_ext
3004 cat >>conftest.
$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3015 rm -f conftest.
$ac_objext
3016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3017 (eval $ac_compile) 2>conftest.er1
3019 grep -v '^ *+' conftest.er1
>conftest.err
3021 cat conftest.err
>&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); } &&
3024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; } &&
3030 { ac_try
='test -s conftest.$ac_objext'
3031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); }; }; then
3038 echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.
$ac_ext >&5
3042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3045 if test -n "$ac_declaration"; then
3046 echo '#ifdef __cplusplus' >>confdefs.h
3047 echo $ac_declaration >>confdefs.h
3048 echo '#endif' >>confdefs.h
3052 echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.
$ac_ext >&5
3056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3058 ac_cpp
='$CPP $CPPFLAGS'
3059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3062 DEPDIR
="${am__leading_dot}deps"
3064 ac_config_commands
="$ac_config_commands depfiles"
3067 am_make
=${MAKE-make}
3068 cat > confinc
<< 'END'
3073 # If we don't find an include directive, just comment out the code.
3074 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3075 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3079 # First try GNU make style include.
3080 echo "include confinc" > confmf
3081 # We grep out `Entering directory' and `Leaving directory'
3082 # messages which can occur if `w' ends up in MAKEFLAGS.
3083 # In particular we don't look at `^make:' because GNU make might
3084 # be invoked under some other name (usually "gmake"), in which
3085 # case it prints its new name instead of `make'.
3086 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3091 # Now try BSD make style include.
3092 if test "$am__include" = "#"; then
3093 echo '.include "confinc"' > confmf
3094 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3095 am__include
=.include
3102 echo "$as_me:$LINENO: result: $_am_result" >&5
3103 echo "${ECHO_T}$_am_result" >&6
3104 rm -f confinc confmf
3106 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3107 if test "${enable_dependency_tracking+set}" = set; then
3108 enableval
="$enable_dependency_tracking"
3111 if test "x$enable_dependency_tracking" != xno
; then
3112 am_depcomp
="$ac_aux_dir/depcomp"
3117 if test "x$enable_dependency_tracking" != xno; then
3128 depcc
="$CC" am_compiler_list
=
3130 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3131 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3132 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3133 echo $ECHO_N "(cached) $ECHO_C" >&6
3135 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3136 # We make a subdir and do the tests there. Otherwise we can end up
3137 # making bogus files that we don't know about and never remove. For
3138 # instance it was reported that on HP-UX the gcc test will end up
3139 # making a dummy file named `D' -- because `-MD' means `put the output
3142 # Copy depcomp to subdir because otherwise we won't find it if we're
3143 # using a relative directory.
3144 cp "$am_depcomp" conftest.dir
3146 # We will build objects and dependencies in a subdirectory because
3147 # it helps to detect inapplicable dependency modes. For instance
3148 # both Tru64's cc and ICC support -MD to output dependencies as a
3149 # side effect of compilation, but ICC will put the dependencies in
3150 # the current directory while Tru64 will put them in the object
3154 am_cv_CC_dependencies_compiler_type
=none
3155 if test "$am_compiler_list" = ""; then
3156 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3158 for depmode
in $am_compiler_list; do
3159 # Setup a source with many dependencies, because some compilers
3160 # like to wrap large dependency lists on column 80 (with \), and
3161 # we should not choose a depcomp mode which is confused by this.
3163 # We need to recreate these files for each test, as the compiler may
3164 # overwrite some of them when testing with obscure command lines.
3165 # This happens at least with the AIX C compiler.
3167 for i
in 1 2 3 4 5 6; do
3168 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3169 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3170 # Solaris 8's {/usr,}/bin/sh.
3171 touch sub
/conftst
$i.h
3173 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3177 # after this tag, mechanisms are not by side-effect, so they'll
3178 # only be used when explicitly requested
3179 if test "x$enable_dependency_tracking" = xyes
; then
3187 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3188 # mode. It turns out that the SunPro C++ compiler does not properly
3189 # handle `-M -o', and we need to detect this.
3190 if depmode
=$depmode \
3191 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3192 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3193 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3194 >/dev
/null
2>conftest.err
&&
3195 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3196 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3197 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3198 # icc doesn't choke on unknown options, it will just issue warnings
3199 # or remarks (even with -Werror). So we grep stderr for any message
3200 # that says an option was ignored or not supported.
3201 # When given -MP, icc 7.0 and 7.1 complain thusly:
3202 # icc: Command line warning: ignoring option '-M'; no argument required
3203 # The diagnosis changed in icc 8.0:
3204 # icc: Command line remark: option '-MP' not supported
3205 if (grep 'ignoring option' conftest.err
||
3206 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3207 am_cv_CC_dependencies_compiler_type
=$depmode
3216 am_cv_CC_dependencies_compiler_type
=none
3220 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3221 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3222 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3227 test "x$enable_dependency_tracking" != xno \
3228 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3230 am__fastdepCC_FALSE
='#'
3232 am__fastdepCC_TRUE
='#'
3233 am__fastdepCC_FALSE
=
3237 if test "x$CC" != xcc
; then
3238 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3239 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3241 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3242 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3244 set dummy
$CC; ac_cc
=`echo $2 |
3245 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3246 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3247 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 cat >conftest.
$ac_ext <<_ACEOF
3252 cat confdefs.h
>>conftest.
$ac_ext
3253 cat >>conftest.
$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3264 # Make sure it works both with $CC and with simple cc.
3265 # We do the test twice because some compilers refuse to overwrite an
3266 # existing .o file with -o, though they will create one.
3267 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3268 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } &&
3273 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); };
3279 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3280 if test "x$CC" != xcc
; then
3281 # Test first that cc exists at all.
3282 if { ac_try
='cc -c conftest.$ac_ext >&5'
3283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); }; }; then
3288 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3289 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); } &&
3294 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); };
3303 # cc exists but doesn't like -o.
3304 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3309 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3314 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3315 echo "$as_me:$LINENO: result: yes" >&5
3316 echo "${ECHO_T}yes" >&6
3318 echo "$as_me:$LINENO: result: no" >&5
3319 echo "${ECHO_T}no" >&6
3321 cat >>confdefs.h
<<\_ACEOF
3322 #define NO_MINUS_C_MINUS_O 1
3327 # FIXME: we rely on the cache variable name because
3328 # there is no other way.
3330 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3331 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3332 # Losing compiler, so override with the script.
3333 # FIXME: It is wrong to rewrite CC.
3334 # But if we don't then we get into trouble of one sort or another.
3335 # A longer-term fix would be to have automake use am__CC in this case,
3336 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3337 CC
="$am_aux_dir/compile $CC"
3343 if test -z "$ansi"; then
3344 msg
="for C compiler warning flags"
3346 msg
="for C compiler warning and ANSI conformance flags"
3348 echo "$as_me:$LINENO: checking $msg" >&5
3349 echo $ECHO_N "checking $msg... $ECHO_C" >&6
3350 if test "${vl_cv_prog_cc_warnings+set}" = set; then
3351 echo $ECHO_N "(cached) $ECHO_C" >&6
3354 if test -n "$CC"; then
3355 cat > conftest.c
<<EOF
3356 int main(int argc, char **argv) { return 0; }
3359 if test "$GCC" = "yes"; then
3360 if test -z "$ansi"; then
3361 vl_cv_prog_cc_warnings
="-Wall -W"
3363 vl_cv_prog_cc_warnings
="-Wall -W -ansi -pedantic"
3367 elif $CC -V 2>&1 | grep -i "WorkShop" > /dev
/null
2>&1 &&
3368 $CC -c -v -Xc conftest.c
> /dev
/null
2>&1 &&
3369 test -f conftest.o
; then
3370 if test -z "$ansi"; then
3371 vl_cv_prog_cc_warnings
="-v"
3373 vl_cv_prog_cc_warnings
="-v -Xc"
3376 elif $CC -V 2>&1 | grep -i "Digital UNIX Compiler" > /dev
/null
2>&1 &&
3377 $CC -c -verbose -w0 -warnprotos -std1 conftest.c
> /dev
/null
2>&1 &&
3378 test -f conftest.o
; then
3379 if test -z "$ansi"; then
3380 vl_cv_prog_cc_warnings
="-verbose -w0 -warnprotos"
3382 vl_cv_prog_cc_warnings
="-verbose -w0 -warnprotos -std1"
3385 elif $CC 2>&1 | grep -i "C for AIX Compiler" > /dev
/null
2>&1 &&
3386 $CC -c -qlanglvl=ansi
-qinfo=all conftest.c
> /dev
/null
2>&1 &&
3387 test -f conftest.o
; then
3388 if test -z "$ansi"; then
3389 vl_cv_prog_cc_warnings
="-qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd"
3391 vl_cv_prog_cc_warnings
="-qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd -qlanglvl=ansi"
3394 elif $CC -version 2>&1 | grep -i "MIPSpro Compilers" > /dev
/null
2>&1 &&
3395 $CC -c -fullwarn -ansi -ansiE conftest.c
> /dev
/null
2>&1 &&
3396 test -f conftest.o
; then
3397 if test -z "$ansi"; then
3398 vl_cv_prog_cc_warnings
="-fullwarn"
3400 vl_cv_prog_cc_warnings
="-fullwarn -ansi -ansiE"
3403 elif what
$CC 2>&1 | grep -i "HP C Compiler" > /dev
/null
2>&1 &&
3404 $CC -c -Aa +w1 conftest.c
> /dev
/null
2>&1 &&
3405 test -f conftest.o
; then
3406 if test -z "$ansi"; then
3407 vl_cv_prog_cc_warnings
="+w1"
3409 vl_cv_prog_cc_warnings
="+w1 -Aa"
3412 elif $CC -V 2>&1 | grep "/SX" > /dev
/null
2>&1 &&
3413 $CC -c -pvctl,fullmsg
-Xc conftest.c
> /dev
/null
2>&1 &&
3414 test -f conftest.o
; then
3415 if test -z "$ansi"; then
3416 vl_cv_prog_cc_warnings
="-pvctl,fullmsg"
3418 vl_cv_prog_cc_warnings
="-pvctl,fullmsg -Xc"
3421 elif $CC -V 2>&1 | grep -i "Cray" > /dev
/null
2>&1 &&
3422 $CC -c -h msglevel
2 conftest.c
> /dev
/null
2>&1 &&
3423 test -f conftest.o
; then
3424 if test -z "$ansi"; then
3425 vl_cv_prog_cc_warnings
="-h msglevel 2"
3427 vl_cv_prog_cc_warnings
="-h msglevel 2 -h conform"
3433 if test -n "$vl_cv_prog_cc_warnings"; then
3434 CFLAGS
="$CFLAGS $vl_cv_prog_cc_warnings"
3436 vl_cv_prog_cc_warnings
="unknown"
3440 echo "$as_me:$LINENO: result: $vl_cv_prog_cc_warnings" >&5
3441 echo "${ECHO_T}$vl_cv_prog_cc_warnings" >&6
3444 # Find a good install program. We prefer a C program (faster),
3445 # so one script is as good as another. But avoid the broken or
3446 # incompatible versions:
3447 # SysV /etc/install, /usr/sbin/install
3448 # SunOS /usr/etc/install
3449 # IRIX /sbin/install
3451 # AmigaOS /C/install, which installs bootblocks on floppy discs
3452 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3453 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3454 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3455 # OS/2's system install, which has a completely different semantic
3456 # ./install, which can be erroneously created by make from ./install.sh.
3457 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3458 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3459 if test -z "$INSTALL"; then
3460 if test "${ac_cv_path_install+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3467 test -z "$as_dir" && as_dir
=.
3468 # Account for people who put trailing slashes in PATH elements.
3470 .
/ | .
// | /cC
/* | \
3471 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
3472 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3475 # OSF1 and SCO ODT 3.0 have their own names for install.
3476 # Don't use installbsd from OSF since it installs stuff as root
3478 for ac_prog
in ginstall scoinst
install; do
3479 for ac_exec_ext
in '' $ac_executable_extensions; do
3480 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3481 if test $ac_prog = install &&
3482 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3483 # AIX install. It has an incompatible calling convention.
3485 elif test $ac_prog = install &&
3486 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3487 # program-specific install script used by HP pwplus--don't use.
3490 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3502 if test "${ac_cv_path_install+set}" = set; then
3503 INSTALL
=$ac_cv_path_install
3505 # As a last resort, use the slow shell script. We don't cache a
3506 # path for INSTALL within a source directory, because that will
3507 # break other packages using the cache if that directory is
3508 # removed, or if the path is relative.
3509 INSTALL
=$ac_install_sh
3512 echo "$as_me:$LINENO: result: $INSTALL" >&5
3513 echo "${ECHO_T}$INSTALL" >&6
3515 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3516 # It thinks the first close brace ends the variable substitution.
3517 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3519 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3521 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3523 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3524 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3526 if test "$LN_S" = "ln -s"; then
3527 echo "$as_me:$LINENO: result: yes" >&5
3528 echo "${ECHO_T}yes" >&6
3530 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3531 echo "${ECHO_T}no, using $LN_S" >&6
3536 macro_version
='2.1a'
3537 macro_revision
='1.2248'
3550 ltmain
="$ac_aux_dir/ltmain.sh"
3560 # Check whether --enable-shared or --disable-shared was given.
3561 if test "${enable_shared+set}" = set; then
3562 enableval
="$enable_shared"
3563 p
=${PACKAGE-default}
3565 yes) enable_shared
=yes ;;
3566 no
) enable_shared
=no
;;
3569 # Look at the argument we got. We use all the common list separators.
3570 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3571 for pkg
in $enableval; do
3573 if test "X$pkg" = "X$p"; then
3591 # Check whether --enable-static or --disable-static was given.
3592 if test "${enable_static+set}" = set; then
3593 enableval
="$enable_static"
3594 p
=${PACKAGE-default}
3596 yes) enable_static
=yes ;;
3597 no
) enable_static
=no
;;
3600 # Look at the argument we got. We use all the common list separators.
3601 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3602 for pkg
in $enableval; do
3604 if test "X$pkg" = "X$p"; then
3623 # Check whether --with-pic or --without-pic was given.
3624 if test "${with_pic+set}" = set; then
3631 test -z "$pic_mode" && pic_mode
=default
3639 # Check whether --enable-fast-install or --disable-fast-install was given.
3640 if test "${enable_fast_install+set}" = set; then
3641 enableval
="$enable_fast_install"
3642 p
=${PACKAGE-default}
3644 yes) enable_fast_install
=yes ;;
3645 no
) enable_fast_install
=no
;;
3647 enable_fast_install
=no
3648 # Look at the argument we got. We use all the common list separators.
3649 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3650 for pkg
in $enableval; do
3652 if test "X$pkg" = "X$p"; then
3653 enable_fast_install
=yes
3660 enable_fast_install
=yes
3670 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3671 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3672 if test "${lt_cv_path_SED+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 # Loop through the user's path and test for sed and gsed.
3676 # Then use that list of sed's as ones to test for truncation.
3677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3681 test -z "$as_dir" && as_dir
=.
3682 for lt_ac_prog
in sed gsed
; do
3683 for ac_exec_ext
in '' $ac_executable_extensions; do
3684 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3685 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3692 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3693 # along with /bin/sed that truncates output.
3694 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3695 test ! -f $lt_ac_sed && continue
3696 cat /dev
/null
> conftest.
in
3698 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3699 # Check for GNU sed and select it if it is found.
3700 if "$lt_ac_sed" --version 2>&1 < /dev
/null
| grep 'GNU' > /dev
/null
; then
3701 lt_cv_path_SED
=$lt_ac_sed
3705 cat conftest.
in conftest.
in >conftest.tmp
3706 mv conftest.tmp conftest.
in
3707 cp conftest.
in conftest.
nl
3709 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out
|| break
3710 cmp -s conftest.out conftest.
nl || break
3711 # 10000 chars as input seems more than enough
3712 test $lt_ac_count -gt 10 && break
3713 lt_ac_count
=`expr $lt_ac_count + 1`
3714 if test $lt_ac_count -gt $lt_ac_max; then
3715 lt_ac_max
=$lt_ac_count
3716 lt_cv_path_SED
=$lt_ac_sed
3725 echo "$as_me:$LINENO: result: $SED" >&5
3726 echo "${ECHO_T}$SED" >&6
3728 test -z "$SED" && SED
=sed
3740 echo "$as_me:$LINENO: checking for egrep" >&5
3741 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3742 if test "${ac_cv_prog_egrep+set}" = set; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
3746 then ac_cv_prog_egrep
='grep -E'
3747 else ac_cv_prog_egrep
='egrep'
3750 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3751 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3752 EGREP
=$ac_cv_prog_egrep
3755 echo "$as_me:$LINENO: checking for fgrep" >&5
3756 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3757 if test "${ac_cv_prog_fgrep+set}" = set; then
3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3760 if echo 'ab*c' | (grep -F 'ab*c') >/dev
/null
2>&1
3761 then ac_cv_prog_fgrep
='grep -F'
3762 else ac_cv_prog_fgrep
='fgrep'
3765 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3766 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3767 FGREP
=$ac_cv_prog_fgrep
3770 test -z "$GREP" && GREP
=grep
3790 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3791 if test "${with_gnu_ld+set}" = set; then
3792 withval
="$with_gnu_ld"
3793 test "$withval" = no
|| with_gnu_ld
=yes
3798 if test "$GCC" = yes; then
3799 # Check if gcc -print-prog-name=ld gives a path.
3800 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3801 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3804 # gcc leaves a trailing carriage return which upsets mingw
3805 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3807 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3810 # Accept absolute paths.
3812 re_direlt
='/[^/][^/]*/\.\./'
3813 # Canonicalize the pathname of ld
3814 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3815 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
3816 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3818 test -z "$LD" && LD
="$ac_prog"
3821 # If it fails, then pretend we aren't using GCC.
3825 # If it is relative, then search for the first ld in PATH.
3829 elif test "$with_gnu_ld" = yes; then
3830 echo "$as_me:$LINENO: checking for GNU ld" >&5
3831 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3833 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3834 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3836 if test "${lt_cv_path_LD+set}" = set; then
3837 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 if test -z "$LD"; then
3840 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3841 for ac_dir
in $PATH; do
3843 test -z "$ac_dir" && ac_dir
=.
3844 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3845 lt_cv_path_LD
="$ac_dir/$ac_prog"
3846 # Check to see if the program is GNU ld. I'd rather use --version,
3847 # but apparently some variants of GNU ld only accept -v.
3848 # Break only if it was the GNU/non-GNU ld that we prefer.
3849 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3850 *GNU
* | *'with BFD'*)
3851 test "$with_gnu_ld" != no
&& break
3854 test "$with_gnu_ld" != yes && break
3861 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3866 if test -n "$LD"; then
3867 echo "$as_me:$LINENO: result: $LD" >&5
3868 echo "${ECHO_T}$LD" >&6
3870 echo "$as_me:$LINENO: result: no" >&5
3871 echo "${ECHO_T}no" >&6
3873 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3874 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3875 { (exit 1); exit 1; }; }
3876 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3877 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3878 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3881 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3882 case `$LD -v 2>&1 </dev/null` in
3883 *GNU
* | *'with BFD'*)
3884 lt_cv_prog_gnu_ld
=yes
3887 lt_cv_prog_gnu_ld
=no
3891 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3892 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3893 with_gnu_ld
=$lt_cv_prog_gnu_ld
3904 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3905 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
3906 if test "${lt_cv_path_NM+set}" = set; then
3907 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 if test -n "$NM"; then
3910 # Let the user override the test.
3913 lt_nm_to_check
="${ac_tool_prefix}nm"
3914 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3915 lt_nm_to_check
="$lt_nm_to_check nm"
3917 for lt_tmp_nm
in $lt_nm_to_check; do
3918 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3919 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3921 test -z "$ac_dir" && ac_dir
=.
3922 tmp_nm
="$ac_dir/$lt_tmp_nm"
3923 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3924 # Check to see if the nm accepts a BSD-compat flag.
3925 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3926 # nm: unknown option "B" ignored
3927 # Tru64's nm complains that /dev/null is an invalid object file
3928 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3929 */dev
/null
* | *'Invalid file or object type'*)
3930 lt_cv_path_NM
="$tmp_nm -B"
3934 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3936 lt_cv_path_NM
="$tmp_nm -p"
3940 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3941 continue # so that we can try to find one that supports BSD flags
3950 : ${lt_cv_path_NM=no}
3953 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3954 echo "${ECHO_T}$lt_cv_path_NM" >&6
3955 if test "$lt_cv_path_NM" != "no"; then
3958 # Didn't find any BSD compatible name lister, look for dumpbin.
3959 if test -n "$ac_tool_prefix"; then
3960 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3963 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3964 echo "$as_me:$LINENO: checking for $ac_word" >&5
3965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3966 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 if test -n "$DUMPBIN"; then
3970 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3976 test -z "$as_dir" && as_dir
=.
3977 for ac_exec_ext
in '' $ac_executable_extensions; do
3978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3988 DUMPBIN
=$ac_cv_prog_DUMPBIN
3989 if test -n "$DUMPBIN"; then
3990 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3991 echo "${ECHO_T}$DUMPBIN" >&6
3993 echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6
3997 test -n "$DUMPBIN" && break
4000 if test -z "$DUMPBIN"; then
4001 ac_ct_DUMPBIN
=$DUMPBIN
4002 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4004 # Extract the first word of "$ac_prog", so it can be a program name with args.
4005 set dummy
$ac_prog; ac_word
=$2
4006 echo "$as_me:$LINENO: checking for $ac_word" >&5
4007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4008 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 if test -n "$ac_ct_DUMPBIN"; then
4012 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4018 test -z "$as_dir" && as_dir
=.
4019 for ac_exec_ext
in '' $ac_executable_extensions; do
4020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4030 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4031 if test -n "$ac_ct_DUMPBIN"; then
4032 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4033 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4035 echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6
4039 test -n "$ac_ct_DUMPBIN" && break
4041 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4043 DUMPBIN
=$ac_ct_DUMPBIN
4047 if test "$DUMPBIN" != ":"; then
4051 test -z "$NM" && NM
=nm
4058 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4059 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4060 if test "${lt_cv_nm_interface+set}" = set; then
4061 echo $ECHO_N "(cached) $ECHO_C" >&6
4063 lt_cv_nm_interface
="BSD nm"
4064 echo "int some_variable = 0;" > conftest.
$ac_ext
4065 (eval echo "\"\$as_me:4065: $ac_compile\"" >&5)
4066 (eval "$ac_compile" 2>conftest.err
)
4067 cat conftest.err
>&5
4068 (eval echo "\"\$as_me:4068: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4069 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4070 cat conftest.err
>&5
4071 (eval echo "\"\$as_me:4071: output\"" >&5)
4072 cat conftest.out
>&5
4073 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4074 lt_cv_nm_interface
="MS dumpbin"
4078 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4079 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4081 # find the maximum length of command line arguments
4082 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4083 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4084 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4092 # On DJGPP, this test can blow up pretty badly due to problems in libc
4093 # (any single argument exceeding 2000 bytes causes a buffer overrun
4094 # during glob expansion). Even if it were fixed, the result of this
4095 # check would be larger than it should be.
4096 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4100 # Under GNU Hurd, this test is not required because there is
4101 # no limit to the length of command line arguments.
4102 # Libtool will interpret -1 as no limit whatsoever
4103 lt_cv_sys_max_cmd_len
=-1;
4107 # On Win9x/ME, this test blows up -- it succeeds, but takes
4108 # about 5 minutes as the teststring grows exponentially.
4109 # Worse, since 9x/ME are not pre-emptively multitasking,
4110 # you end up with a "frozen" computer, even though with patience
4111 # the test eventually succeeds (with a max line length of 256k).
4112 # Instead, let's just punt: use the minimum linelength reported by
4113 # all of the supported platforms: 8192 (on NT/2K/XP).
4114 lt_cv_sys_max_cmd_len
=8192;
4118 # On AmigaOS with pdksh, this test takes hours, literally.
4119 # So we just punt and use a minimum line length of 8192.
4120 lt_cv_sys_max_cmd_len
=8192;
4123 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4124 # This has been around since 386BSD, at least. Likely further.
4125 if test -x /sbin
/sysctl
; then
4126 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4127 elif test -x /usr
/sbin
/sysctl
; then
4128 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4130 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4132 # And add a safety zone
4133 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4134 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4138 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4139 lt_cv_sys_max_cmd_len
=196608
4143 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4144 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4145 # nice to cause kernel panics so lets avoid the loop below.
4146 # First set a reasonable default.
4147 lt_cv_sys_max_cmd_len
=16384
4149 if test -x /sbin
/sysconfig
; then
4150 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4151 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4156 lt_cv_sys_max_cmd_len
=102400
4158 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4159 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4160 if test -n "$kargmax"; then
4161 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4163 lt_cv_sys_max_cmd_len
=32768
4167 # Make teststring a little bigger before we do anything with it.
4168 # a 1K string should be a reasonable start.
4169 for i
in 1 2 3 4 5 6 7 8 ; do
4170 teststring
=$teststring$teststring
4172 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4173 # If test is not a shell built-in, we'll probably end up computing a
4174 # maximum length that is only half of the actual maximum length, but
4176 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4177 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4178 test $i != 17 # 1/2 MB should be enough
4181 teststring
=$teststring$teststring
4183 # Only check the string length outside the loop.
4184 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4186 # Add a significant safety factor because C++ compilers can tack on massive
4187 # amounts of additional arguments before passing them to the linker.
4188 # It appears as though 1/2 is a usable value.
4189 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4195 if test -n $lt_cv_sys_max_cmd_len ; then
4196 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4197 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4199 echo "$as_me:$LINENO: result: none" >&5
4200 echo "${ECHO_T}none" >&6
4202 max_cmd_len
=$lt_cv_sys_max_cmd_len
4214 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4215 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4216 # Try some XSI features
4219 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4220 = c
,a
/b
,, ) >/dev
/null
2>&1 \
4222 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4223 echo "${ECHO_T}$xsi_shell" >&6
4226 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4227 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4228 if test "${lt_cv_ld_reload_flag+set}" = set; then
4229 echo $ECHO_N "(cached) $ECHO_C" >&6
4231 lt_cv_ld_reload_flag
='-r'
4233 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4234 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4235 reload_flag
=$lt_cv_ld_reload_flag
4236 case $reload_flag in
4238 *) reload_flag
=" $reload_flag" ;;
4240 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4243 if test "$GCC" = yes; then
4244 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4246 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4260 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4261 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4262 if test "${lt_cv_deplibs_check_method+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4266 lt_cv_file_magic_test_file
=
4267 lt_cv_deplibs_check_method
='unknown'
4268 # Need to set the preceding variable on all platforms that support
4269 # interlibrary dependencies.
4270 # 'none' -- dependencies not supported.
4271 # `unknown' -- same as none, but documents that we really don't know.
4272 # 'pass_all' -- all dependencies passed with no checks.
4273 # 'test_compile' -- check by making test program.
4274 # 'file_magic [[regex]]' -- check by looking for files in library path
4275 # which responds to the $file_magic_cmd with a given extended regex.
4276 # If you have `file' or equivalent on your system and you're not sure
4277 # whether `pass_all' will *always* work, you probably want this one.
4281 lt_cv_deplibs_check_method
=pass_all
4285 lt_cv_deplibs_check_method
=pass_all
4289 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4290 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4291 lt_cv_file_magic_test_file
=/shlib
/libc.so
4295 # func_win32_libid is a shell function defined in ltmain.sh
4296 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4297 lt_cv_file_magic_cmd
='func_win32_libid'
4300 # Base MSYS/MinGW do not provide the 'file' command needed by
4301 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4303 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4304 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4307 darwin
* | rhapsody
*)
4308 lt_cv_deplibs_check_method
=pass_all
4311 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4312 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4315 # Not sure whether the presence of OpenBSD here was a mistake.
4316 # Let's accept both of them until this is cleared up.
4317 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4318 lt_cv_file_magic_cmd
=/usr
/bin
/file
4319 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4323 lt_cv_deplibs_check_method
=pass_all
4328 lt_cv_deplibs_check_method
=pass_all
4331 hpux10.20
* | hpux11
*)
4332 lt_cv_file_magic_cmd
=/usr
/bin
/file
4335 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4336 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4339 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]'
4340 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4343 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4344 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4350 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4351 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4354 irix5
* | irix6
* | nonstopux
*)
4356 *-32|*"-32 ") libmagic
=32-bit;;
4357 *-n32|*"-n32 ") libmagic
=N32
;;
4358 *-64|*"-64 ") libmagic
=64-bit;;
4359 *) libmagic
=never
-match;;
4361 lt_cv_deplibs_check_method
=pass_all
4364 # This must be Linux ELF.
4366 lt_cv_deplibs_check_method
=pass_all
4369 netbsd
* | knetbsd
*-gnu)
4370 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4371 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4373 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4378 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4379 lt_cv_file_magic_cmd
=/usr
/bin
/file
4380 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4384 lt_cv_deplibs_check_method
=pass_all
4388 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4389 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4391 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4395 osf3
* | osf4
* | osf5
*)
4396 lt_cv_deplibs_check_method
=pass_all
4400 lt_cv_deplibs_check_method
=pass_all
4404 lt_cv_deplibs_check_method
=pass_all
4407 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4408 lt_cv_deplibs_check_method
=pass_all
4412 case $host_vendor in
4414 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]'
4415 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4418 lt_cv_deplibs_check_method
=pass_all
4421 lt_cv_file_magic_cmd
='/bin/file'
4422 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4425 lt_cv_file_magic_cmd
='/bin/file'
4426 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4427 lt_cv_file_magic_test_file
=/lib
/libc.so
4430 lt_cv_deplibs_check_method
=pass_all
4433 lt_cv_deplibs_check_method
=pass_all
4439 lt_cv_deplibs_check_method
=pass_all
4444 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4445 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4446 file_magic_cmd
=$lt_cv_file_magic_cmd
4447 deplibs_check_method
=$lt_cv_deplibs_check_method
4448 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4461 if test -n "$ac_tool_prefix"; then
4462 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4463 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4464 echo "$as_me:$LINENO: checking for $ac_word" >&5
4465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4466 if test "${ac_cv_prog_AR+set}" = set; then
4467 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 if test -n "$AR"; then
4470 ac_cv_prog_AR
="$AR" # Let the user override the test.
4472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4476 test -z "$as_dir" && as_dir
=.
4477 for ac_exec_ext
in '' $ac_executable_extensions; do
4478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4479 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 if test -n "$AR"; then
4490 echo "$as_me:$LINENO: result: $AR" >&5
4491 echo "${ECHO_T}$AR" >&6
4493 echo "$as_me:$LINENO: result: no" >&5
4494 echo "${ECHO_T}no" >&6
4498 if test -z "$ac_cv_prog_AR"; then
4500 # Extract the first word of "ar", so it can be a program name with args.
4501 set dummy
ar; ac_word
=$2
4502 echo "$as_me:$LINENO: checking for $ac_word" >&5
4503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4504 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 if test -n "$ac_ct_AR"; then
4508 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4514 test -z "$as_dir" && as_dir
=.
4515 for ac_exec_ext
in '' $ac_executable_extensions; do
4516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4517 ac_cv_prog_ac_ct_AR
="ar"
4518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4524 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
4527 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4528 if test -n "$ac_ct_AR"; then
4529 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4530 echo "${ECHO_T}$ac_ct_AR" >&6
4532 echo "$as_me:$LINENO: result: no" >&5
4533 echo "${ECHO_T}no" >&6
4541 test -z "$AR" && AR
=ar
4542 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4554 if test -n "$ac_tool_prefix"; then
4555 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4556 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4557 echo "$as_me:$LINENO: checking for $ac_word" >&5
4558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4559 if test "${ac_cv_prog_STRIP+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4562 if test -n "$STRIP"; then
4563 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4569 test -z "$as_dir" && as_dir
=.
4570 for ac_exec_ext
in '' $ac_executable_extensions; do
4571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4572 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 STRIP
=$ac_cv_prog_STRIP
4582 if test -n "$STRIP"; then
4583 echo "$as_me:$LINENO: result: $STRIP" >&5
4584 echo "${ECHO_T}$STRIP" >&6
4586 echo "$as_me:$LINENO: result: no" >&5
4587 echo "${ECHO_T}no" >&6
4591 if test -z "$ac_cv_prog_STRIP"; then
4593 # Extract the first word of "strip", so it can be a program name with args.
4594 set dummy strip
; ac_word
=$2
4595 echo "$as_me:$LINENO: checking for $ac_word" >&5
4596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4597 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4598 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 if test -n "$ac_ct_STRIP"; then
4601 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir
=.
4608 for ac_exec_ext
in '' $ac_executable_extensions; do
4609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_prog_ac_ct_STRIP
="strip"
4611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4620 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4621 if test -n "$ac_ct_STRIP"; then
4622 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4623 echo "${ECHO_T}$ac_ct_STRIP" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4631 STRIP
="$ac_cv_prog_STRIP"
4634 test -z "$STRIP" && STRIP
=:
4641 if test -n "$ac_tool_prefix"; then
4642 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4643 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4644 echo "$as_me:$LINENO: checking for $ac_word" >&5
4645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4646 if test "${ac_cv_prog_RANLIB+set}" = set; then
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4649 if test -n "$RANLIB"; then
4650 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4656 test -z "$as_dir" && as_dir
=.
4657 for ac_exec_ext
in '' $ac_executable_extensions; do
4658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4659 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 RANLIB
=$ac_cv_prog_RANLIB
4669 if test -n "$RANLIB"; then
4670 echo "$as_me:$LINENO: result: $RANLIB" >&5
4671 echo "${ECHO_T}$RANLIB" >&6
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4678 if test -z "$ac_cv_prog_RANLIB"; then
4679 ac_ct_RANLIB
=$RANLIB
4680 # Extract the first word of "ranlib", so it can be a program name with args.
4681 set dummy ranlib
; ac_word
=$2
4682 echo "$as_me:$LINENO: checking for $ac_word" >&5
4683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4684 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4685 echo $ECHO_N "(cached) $ECHO_C" >&6
4687 if test -n "$ac_ct_RANLIB"; then
4688 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4694 test -z "$as_dir" && as_dir
=.
4695 for ac_exec_ext
in '' $ac_executable_extensions; do
4696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4697 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4707 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4708 if test -n "$ac_ct_RANLIB"; then
4709 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4710 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4712 echo "$as_me:$LINENO: result: no" >&5
4713 echo "${ECHO_T}no" >&6
4716 RANLIB
=$ac_ct_RANLIB
4718 RANLIB
="$ac_cv_prog_RANLIB"
4721 test -z "$RANLIB" && RANLIB
=:
4728 # Determine commands to create old-style static archives.
4729 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4730 old_postinstall_cmds
='chmod 644 $oldlib'
4731 old_postuninstall_cmds
=
4733 if test -n "$RANLIB"; then
4736 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4739 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4742 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
4778 # If no C compiler was specified, use CC.
4781 # If no C compiler flags were specified, use CFLAGS.
4782 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4784 # Allow CC to be a program name with arguments.
4788 # Check for command to grab the raw symbol name followed by C symbol from nm.
4789 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
4790 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
4791 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4792 echo $ECHO_N "(cached) $ECHO_C" >&6
4795 # These are sane defaults that work on at least a few old systems.
4796 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4798 # Character class describing NM global symbol codes.
4799 symcode
='[BCDEGRST]'
4801 # Regexp to match symbols that can be accessed directly from C.
4802 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
4804 # Define system-specific variables.
4809 cygwin
* | mingw
* | pw32
*)
4810 symcode
='[ABCDGISTW]'
4813 if test "$host_cpu" = ia64
; then
4814 symcode
='[ABCDEGRST]'
4818 symcode
='[BCDEGRST]'
4821 symcode
='[BCDEGQRST]'
4832 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
4840 # If we're using GNU nm, then use its standard symbol codes.
4841 case `$NM -V 2>&1` in
4842 *GNU
* | *'with BFD'*)
4843 symcode
='[ABCDGIRSTW]' ;;
4846 # Transform an extracted symbol line into a proper C declaration.
4847 # Some systems (esp. on ia64) link data and code symbols differently,
4848 # so use this general approach.
4849 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4851 # Transform an extracted symbol line into symbol name and symbol address
4852 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4854 # Handle CRLF in mingw tool chain
4858 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4862 # Try without a prefix underscore, then with it.
4863 for ac_symprfx
in "" "_"; do
4865 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4866 symxfrm
="\\1 $ac_symprfx\\2 \\2"
4868 # Write the raw and C identifiers.
4869 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4870 # Fake it for dumpbin and say T for any non-static function
4871 # and D for any global variable.
4872 # Also find C++ and __fastcall symbols from MSVC++,
4873 # which start with @ or ?.
4874 lt_cv_sys_global_symbol_pipe
="$AWK '"\
4875 " {last_section=section; section=\$ 3};"\
4876 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4877 " \$ 0!~/External *\|/{next};"\
4878 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4879 " {if(hide[section]) next};"\
4880 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4881 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4882 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4883 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4884 " ' prfx=^$ac_symprfx"
4886 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4889 # Check to see that the pipe works correctly.
4893 cat > conftest.
$ac_ext <<_LT_EOF
4898 void nm_test_func(){}
4902 int main(){nm_test_var='a';nm_test_func();return(0);}
4905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4906 (eval $ac_compile) 2>&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); }; then
4910 # Now try to grab the symbols.
4912 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4913 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } && test -s "$nlist"; then
4917 # Try sorting and uniquifying the output.
4918 if sort "$nlist" | uniq > "$nlist"T
; then
4919 mv -f "$nlist"T
"$nlist"
4924 # Make sure that we snagged all the symbols we need.
4925 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
4926 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
4927 cat <<_LT_EOF > conftest.$ac_ext
4933 # Now generate the symbol file.
4934 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4936 cat <<_LT_EOF >> conftest.$ac_ext
4938 /* The mapping between symbol names and symbols. */
4943 lt__PROGRAM__LTX_preloaded_symbols[] =
4945 { "@PROGRAM@", (void *) 0 },
4947 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
4948 cat <<\_LT_EOF
>> conftest.
$ac_ext
4952 /* This works around a problem
in FreeBSD linker
*/
4953 #ifdef FREEBSD_WORKAROUND
4954 static const void
*lt_preloaded_setup
() {
4955 return lt__PROGRAM__LTX_preloaded_symbols
;
4963 # Now try linking the two files.
4964 mv conftest.
$ac_objext conftstm.
$ac_objext
4965 lt_save_LIBS
="$LIBS"
4966 lt_save_CFLAGS
="$CFLAGS"
4967 LIBS
="conftstm.$ac_objext"
4968 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4970 (eval $ac_link) 2>&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
4976 LIBS
="$lt_save_LIBS"
4977 CFLAGS
="$lt_save_CFLAGS"
4979 echo "cannot find nm_test_func in $nlist" >&5
4982 echo "cannot find nm_test_var in $nlist" >&5
4985 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4988 echo "$progname: failed program was:" >&5
4989 cat conftest.
$ac_ext >&5
4991 rm -f conftest
* conftst
*
4993 # Do not use the global_symbol_pipe unless it works.
4994 if test "$pipe_works" = yes; then
4997 lt_cv_sys_global_symbol_pipe
=
5003 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5004 lt_cv_sys_global_symbol_to_cdecl
=
5006 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5007 echo "$as_me:$LINENO: result: failed" >&5
5008 echo "${ECHO_T}failed" >&6
5010 echo "$as_me:$LINENO: result: ok" >&5
5011 echo "${ECHO_T}ok" >&6
5031 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5032 if test "${enable_libtool_lock+set}" = set; then
5033 enableval
="$enable_libtool_lock"
5036 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5038 # Some flags need to be propagated to the compiler or linker for good
5042 # Find out which ABI we are using.
5043 echo 'int i;' > conftest.
$ac_ext
5044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5045 (eval $ac_compile) 2>&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); }; then
5049 case `/usr/bin/file conftest.$ac_objext` in
5061 # Find out which ABI we are using.
5062 echo '#line 5062 "configure"' > conftest.
$ac_ext
5063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5064 (eval $ac_compile) 2>&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); }; then
5068 if test "$lt_cv_prog_gnu_ld" = yes; then
5069 case `/usr/bin/file conftest.$ac_objext` in
5071 LD
="${LD-ld} -melf32bsmip"
5074 LD
="${LD-ld} -melf32bmipn32"
5077 LD
="${LD-ld} -melf64bmip"
5081 case `/usr/bin/file conftest.$ac_objext` in
5097 x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5098 # Find out which ABI we are using.
5099 echo 'int i;' > conftest.
$ac_ext
5100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5101 (eval $ac_compile) 2>&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); }; then
5105 case `/usr/bin/file conftest.o` in
5109 LD
="${LD-ld} -m elf_i386"
5111 ppc64
-*linux
*|powerpc64
-*linux
*)
5112 LD
="${LD-ld} -m elf32ppclinux"
5115 LD
="${LD-ld} -m elf_s390"
5118 LD
="${LD-ld} -m elf32_sparc"
5125 LD
="${LD-ld} -m elf_x86_64"
5127 ppc
*-*linux
*|powerpc
*-*linux
*)
5128 LD
="${LD-ld} -m elf64ppc"
5130 s390
*-*linux
*|s390
*-*tpf
*)
5131 LD
="${LD-ld} -m elf64_s390"
5134 LD
="${LD-ld} -m elf64_sparc"
5144 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5145 SAVE_CFLAGS
="$CFLAGS"
5146 CFLAGS
="$CFLAGS -belf"
5147 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5148 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5149 if test "${lt_cv_cc_needs_belf+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5153 ac_cpp
='$CPP $CPPFLAGS'
5154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5158 cat >conftest.
$ac_ext <<_ACEOF
5161 cat confdefs.h
>>conftest.
$ac_ext
5162 cat >>conftest.
$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5173 rm -f conftest.
$ac_objext conftest
$ac_exeext
5174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5175 (eval $ac_link) 2>conftest.er1
5177 grep -v '^ *+' conftest.er1
>conftest.err
5179 cat conftest.err
>&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); } &&
5182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); }; } &&
5188 { ac_try
='test -s conftest$ac_exeext'
5189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); }; }; then
5194 lt_cv_cc_needs_belf
=yes
5196 echo "$as_me: failed program was:" >&5
5197 sed 's/^/| /' conftest.
$ac_ext >&5
5199 lt_cv_cc_needs_belf
=no
5201 rm -f conftest.err conftest.
$ac_objext \
5202 conftest
$ac_exeext conftest.
$ac_ext
5204 ac_cpp
='$CPP $CPPFLAGS'
5205 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5206 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5210 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5211 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5212 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5213 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5214 CFLAGS
="$SAVE_CFLAGS"
5218 # Find out which ABI we are using.
5219 echo 'int i;' > conftest.
$ac_ext
5220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5221 (eval $ac_compile) 2>&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); }; then
5225 case `/usr/bin/file conftest.o` in
5227 case $lt_cv_prog_gnu_ld in
5228 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5229 *) LD
="${LD-ld} -64" ;;
5238 need_locks
="$enable_libtool_lock"
5241 ac_cpp
='$CPP $CPPFLAGS'
5242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5245 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5246 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5247 # On Suns, sometimes $CPP names a directory.
5248 if test -n "$CPP" && test -d "$CPP"; then
5251 if test -z "$CPP"; then
5252 if test "${ac_cv_prog_CPP+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 # Double quotes because CPP needs to be expanded
5256 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5259 for ac_c_preproc_warn_flag
in '' yes
5261 # Use a header file that comes with gcc, so configuring glibc
5262 # with a fresh cross-compiler works.
5263 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5264 # <limits.h> exists even on freestanding compilers.
5265 # On the NeXT, cc -E runs the code through the compiler's parser,
5266 # not just through cpp. "Syntax error" is here to catch this case.
5267 cat >conftest.
$ac_ext <<_ACEOF
5270 cat confdefs.h
>>conftest.
$ac_ext
5271 cat >>conftest.
$ac_ext <<_ACEOF
5272 /* end confdefs.h. */
5274 # include <limits.h>
5276 # include <assert.h>
5280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5281 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5283 grep -v '^ *+' conftest.er1
>conftest.err
5285 cat conftest.err
>&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); } >/dev
/null
; then
5288 if test -s conftest.err
; then
5289 ac_cpp_err
=$ac_c_preproc_warn_flag
5290 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5297 if test -z "$ac_cpp_err"; then
5300 echo "$as_me: failed program was:" >&5
5301 sed 's/^/| /' conftest.
$ac_ext >&5
5303 # Broken: fails on valid input.
5306 rm -f conftest.err conftest.
$ac_ext
5308 # OK, works on sane cases. Now check whether non-existent headers
5309 # can be detected and how.
5310 cat >conftest.
$ac_ext <<_ACEOF
5313 cat confdefs.h
>>conftest.
$ac_ext
5314 cat >>conftest.
$ac_ext <<_ACEOF
5315 /* end confdefs.h. */
5316 #include <ac_nonexistent.h>
5318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5319 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5321 grep -v '^ *+' conftest.er1
>conftest.err
5323 cat conftest.err
>&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); } >/dev
/null
; then
5326 if test -s conftest.err
; then
5327 ac_cpp_err
=$ac_c_preproc_warn_flag
5328 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5335 if test -z "$ac_cpp_err"; then
5336 # Broken: success on invalid input.
5339 echo "$as_me: failed program was:" >&5
5340 sed 's/^/| /' conftest.
$ac_ext >&5
5342 # Passes both tests.
5346 rm -f conftest.err conftest.
$ac_ext
5349 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5350 rm -f conftest.err conftest.
$ac_ext
5351 if $ac_preproc_ok; then
5363 echo "$as_me:$LINENO: result: $CPP" >&5
5364 echo "${ECHO_T}$CPP" >&6
5366 for ac_c_preproc_warn_flag
in '' yes
5368 # Use a header file that comes with gcc, so configuring glibc
5369 # with a fresh cross-compiler works.
5370 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5371 # <limits.h> exists even on freestanding compilers.
5372 # On the NeXT, cc -E runs the code through the compiler's parser,
5373 # not just through cpp. "Syntax error" is here to catch this case.
5374 cat >conftest.
$ac_ext <<_ACEOF
5377 cat confdefs.h
>>conftest.
$ac_ext
5378 cat >>conftest.
$ac_ext <<_ACEOF
5379 /* end confdefs.h. */
5381 # include <limits.h>
5383 # include <assert.h>
5387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5388 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5390 grep -v '^ *+' conftest.er1
>conftest.err
5392 cat conftest.err
>&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); } >/dev
/null
; then
5395 if test -s conftest.err
; then
5396 ac_cpp_err
=$ac_c_preproc_warn_flag
5397 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5404 if test -z "$ac_cpp_err"; then
5407 echo "$as_me: failed program was:" >&5
5408 sed 's/^/| /' conftest.
$ac_ext >&5
5410 # Broken: fails on valid input.
5413 rm -f conftest.err conftest.
$ac_ext
5415 # OK, works on sane cases. Now check whether non-existent headers
5416 # can be detected and how.
5417 cat >conftest.
$ac_ext <<_ACEOF
5420 cat confdefs.h
>>conftest.
$ac_ext
5421 cat >>conftest.
$ac_ext <<_ACEOF
5422 /* end confdefs.h. */
5423 #include <ac_nonexistent.h>
5425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5426 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5428 grep -v '^ *+' conftest.er1
>conftest.err
5430 cat conftest.err
>&5
5431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); } >/dev
/null
; then
5433 if test -s conftest.err
; then
5434 ac_cpp_err
=$ac_c_preproc_warn_flag
5435 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5442 if test -z "$ac_cpp_err"; then
5443 # Broken: success on invalid input.
5446 echo "$as_me: failed program was:" >&5
5447 sed 's/^/| /' conftest.
$ac_ext >&5
5449 # Passes both tests.
5453 rm -f conftest.err conftest.
$ac_ext
5456 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5457 rm -f conftest.err conftest.
$ac_ext
5458 if $ac_preproc_ok; then
5461 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5462 See \`config.log' for more details." >&5
5463 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5464 See \`config.log' for more details." >&2;}
5465 { (exit 1); exit 1; }; }
5469 ac_cpp
='$CPP $CPPFLAGS'
5470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5475 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5476 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5477 if test "${ac_cv_header_stdc+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 cat >conftest.
$ac_ext <<_ACEOF
5483 cat confdefs.h
>>conftest.
$ac_ext
5484 cat >>conftest.
$ac_ext <<_ACEOF
5485 /* end confdefs.h. */
5499 rm -f conftest.
$ac_objext
5500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501 (eval $ac_compile) 2>conftest.er1
5503 grep -v '^ *+' conftest.er1
>conftest.err
5505 cat conftest.err
>&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } &&
5508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); }; } &&
5514 { ac_try
='test -s conftest.$ac_objext'
5515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519 (exit $ac_status); }; }; then
5520 ac_cv_header_stdc
=yes
5522 echo "$as_me: failed program was:" >&5
5523 sed 's/^/| /' conftest.
$ac_ext >&5
5525 ac_cv_header_stdc
=no
5527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5529 if test $ac_cv_header_stdc = yes; then
5530 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5531 cat >conftest.
$ac_ext <<_ACEOF
5534 cat confdefs.h
>>conftest.
$ac_ext
5535 cat >>conftest.
$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5541 $EGREP "memchr" >/dev
/null
2>&1; then
5544 ac_cv_header_stdc
=no
5550 if test $ac_cv_header_stdc = yes; then
5551 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5552 cat >conftest.
$ac_ext <<_ACEOF
5555 cat confdefs.h
>>conftest.
$ac_ext
5556 cat >>conftest.
$ac_ext <<_ACEOF
5557 /* end confdefs.h. */
5561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5562 $EGREP "free" >/dev
/null
2>&1; then
5565 ac_cv_header_stdc
=no
5571 if test $ac_cv_header_stdc = yes; then
5572 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5573 if test "$cross_compiling" = yes; then
5576 cat >conftest.
$ac_ext <<_ACEOF
5579 cat confdefs.h
>>conftest.
$ac_ext
5580 cat >>conftest.
$ac_ext <<_ACEOF
5581 /* end confdefs.h. */
5583 #if ((' ' & 0x0FF) == 0x020)
5584 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5585 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5587 # define ISLOWER(c) \
5588 (('a' <= (c) && (c) <= 'i') \
5589 || ('j' <= (c) && (c) <= 'r') \
5590 || ('s' <= (c) && (c) <= 'z'))
5591 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5594 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5599 for (i = 0; i < 256; i++)
5600 if (XOR (islower (i), ISLOWER (i))
5601 || toupper (i) != TOUPPER (i))
5606 rm -f conftest
$ac_exeext
5607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5608 (eval $ac_link) 2>&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); }; }; then
5619 echo "$as_me: program exited with status $ac_status" >&5
5620 echo "$as_me: failed program was:" >&5
5621 sed 's/^/| /' conftest.
$ac_ext >&5
5624 ac_cv_header_stdc
=no
5626 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5630 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5631 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5632 if test $ac_cv_header_stdc = yes; then
5634 cat >>confdefs.h
<<\_ACEOF
5635 #define STDC_HEADERS 1
5640 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5650 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5651 inttypes.h stdint.h unistd.h
5653 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5654 echo "$as_me:$LINENO: checking for $ac_header" >&5
5655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 cat >conftest.
$ac_ext <<_ACEOF
5662 cat confdefs.h
>>conftest.
$ac_ext
5663 cat >>conftest.
$ac_ext <<_ACEOF
5664 /* end confdefs.h. */
5665 $ac_includes_default
5667 #include <$ac_header>
5669 rm -f conftest.
$ac_objext
5670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5671 (eval $ac_compile) 2>conftest.er1
5673 grep -v '^ *+' conftest.er1
>conftest.err
5675 cat conftest.err
>&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); } &&
5678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); }; } &&
5684 { ac_try
='test -s conftest.$ac_objext'
5685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); }; }; then
5690 eval "$as_ac_Header=yes"
5692 echo "$as_me: failed program was:" >&5
5693 sed 's/^/| /' conftest.
$ac_ext >&5
5695 eval "$as_ac_Header=no"
5697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5702 cat >>confdefs.h
<<_ACEOF
5703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5712 for ac_header
in dlfcn.h
5714 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5715 echo "$as_me:$LINENO: checking for $ac_header" >&5
5716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 cat >conftest.
$ac_ext <<_ACEOF
5723 cat confdefs.h
>>conftest.
$ac_ext
5724 cat >>conftest.
$ac_ext <<_ACEOF
5725 /* end confdefs.h. */
5726 $ac_includes_default
5728 #include <$ac_header>
5730 rm -f conftest.
$ac_objext
5731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5732 (eval $ac_compile) 2>conftest.er1
5734 grep -v '^ *+' conftest.er1
>conftest.err
5736 cat conftest.err
>&5
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); } &&
5739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }; } &&
5745 { ac_try
='test -s conftest.$ac_objext'
5746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); }; }; then
5751 eval "$as_ac_Header=yes"
5753 echo "$as_me: failed program was:" >&5
5754 sed 's/^/| /' conftest.
$ac_ext >&5
5756 eval "$as_ac_Header=no"
5758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5763 cat >>confdefs.h
<<_ACEOF
5764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5773 # This can be used to rebuild libtool when needed
5774 LIBTOOL_DEPS
="$ltmain"
5776 # Always use our own libtool.
5777 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5803 test -z "$LN_S" && LN_S
="ln -s"
5818 if test -n "${ZSH_VERSION+set}" ; then
5819 setopt NO_GLOB_SUBST
5822 echo "$as_me:$LINENO: checking for objdir" >&5
5823 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5824 if test "${lt_cv_objdir+set}" = set; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 rm -f .libs
2>/dev
/null
5828 mkdir .libs
2>/dev
/null
5829 if test -d .libs
; then
5832 # MS-DOS does not allow filenames that begin with a dot.
5835 rmdir .libs
2>/dev
/null
5837 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5838 echo "${ECHO_T}$lt_cv_objdir" >&6
5839 objdir
=$lt_cv_objdir
5845 cat >>confdefs.h
<<_ACEOF
5846 #define LT_OBJDIR "$lt_cv_objdir/"
5867 # AIX sometimes has problems with the GCC collect2 program. For some
5868 # reason, if we set the COLLECT_NAMES environment variable, the problems
5869 # vanish in a puff of smoke.
5870 if test "X${COLLECT_NAMES+set}" != Xset
; then
5872 export COLLECT_NAMES
5877 # Sed substitution that helps us do robust quoting. It backslashifies
5878 # metacharacters that are still active within double-quoted strings.
5879 Xsed
='sed -e 1s/^X//'
5880 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5882 # Same as above, but do not quote variable references.
5883 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5885 # Sed substitution to delay expansion of an escaped shell variable in a
5886 # double_quote_subst'ed string.
5887 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5889 # Sed substitution to delay expansion of an escaped single quote.
5890 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5892 # Sed substitution to avoid accidental globbing in evaled expressions
5893 no_glob_subst
='s/\*/\\\*/g'
5897 can_build_shared
=yes
5899 # All known linkers require a `.a' archive for static linking (except MSVC,
5900 # which needs '.lib').
5903 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5906 old_CFLAGS
="$CFLAGS"
5908 # Set sane defaults for various variables
5909 test -z "$CC" && CC
=cc
5910 test -z "$LTCC" && LTCC
=$CC
5911 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
5912 test -z "$LD" && LD
=ld
5913 test -z "$ac_objext" && ac_objext
=o
5915 for cc_temp
in $compiler""; do
5917 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
5918 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
5923 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5926 # Only perform the check for file, if the check method requires it
5927 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
5928 case $deplibs_check_method in
5930 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5931 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5932 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5933 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5934 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5941 lt_save_MAGIC_CMD
="$MAGIC_CMD"
5942 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5943 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
5944 for ac_dir
in $ac_dummy; do
5946 test -z "$ac_dir" && ac_dir
=.
5947 if test -f $ac_dir/${ac_tool_prefix}file; then
5948 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5949 if test -n "$file_magic_test_file"; then
5950 case $deplibs_check_method in
5952 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5953 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5954 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
5955 $EGREP "$file_magic_regex" > /dev
/null
; then
5960 *** Warning: the command libtool uses to detect shared libraries,
5961 *** $file_magic_cmd, produces output that libtool cannot recognize.
5962 *** The result is that libtool may fail to recognize shared libraries
5963 *** as such. This will affect the creation of libtool libraries that
5964 *** depend on shared libraries, but programs linked with such libtool
5965 *** libraries will work regardless of this problem. Nevertheless, you
5966 *** may want to report the problem to your system manager and/or to
5967 *** bug-libtool@gnu.org
5977 MAGIC_CMD
="$lt_save_MAGIC_CMD"
5982 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5983 if test -n "$MAGIC_CMD"; then
5984 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5985 echo "${ECHO_T}$MAGIC_CMD" >&6
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5995 if test -z "$lt_cv_path_MAGIC_CMD"; then
5996 if test -n "$ac_tool_prefix"; then
5997 echo "$as_me:$LINENO: checking for file" >&5
5998 echo $ECHO_N "checking for file... $ECHO_C" >&6
5999 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6007 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6008 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6009 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6010 for ac_dir
in $ac_dummy; do
6012 test -z "$ac_dir" && ac_dir
=.
6013 if test -f $ac_dir/file; then
6014 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6015 if test -n "$file_magic_test_file"; then
6016 case $deplibs_check_method in
6018 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6019 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6020 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6021 $EGREP "$file_magic_regex" > /dev
/null
; then
6026 *** Warning: the command libtool uses to detect shared libraries,
6027 *** $file_magic_cmd, produces output that libtool cannot recognize.
6028 *** The result is that libtool may fail to recognize shared libraries
6029 *** as such. This will affect the creation of libtool libraries that
6030 *** depend on shared libraries, but programs linked with such libtool
6031 *** libraries will work regardless of this problem. Nevertheless, you
6032 *** may want to report the problem to your system manager and/or to
6033 *** bug-libtool@gnu.org
6043 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6048 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6049 if test -n "$MAGIC_CMD"; then
6050 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6051 echo "${ECHO_T}$MAGIC_CMD" >&6
6053 echo "$as_me:$LINENO: result: no" >&5
6054 echo "${ECHO_T}no" >&6
6067 # Use C for the default configuration in the libtool script
6071 ac_cpp
='$CPP $CPPFLAGS'
6072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6077 # Source file extension for C test sources.
6080 # Object file extension for compiled C test sources.
6084 # Code to be used in simple compile tests
6085 lt_simple_compile_test_code
="int some_variable = 0;\n"
6087 # Code to be used in simple link tests
6088 lt_simple_link_test_code
='int main(){return(0);}\n'
6096 # If no C compiler was specified, use CC.
6099 # If no C compiler flags were specified, use CFLAGS.
6100 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6102 # Allow CC to be a program name with arguments.
6105 # Save the default compiler, since it gets overwritten when the other
6106 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6107 compiler_DEFAULT
=$CC
6109 # save warnings/boilerplate of simple test code
6110 ac_outfile
=conftest.
$ac_objext
6111 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6112 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6113 _lt_compiler_boilerplate
=`cat conftest.err`
6116 ac_outfile
=conftest.
$ac_objext
6117 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6118 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6119 _lt_linker_boilerplate
=`cat conftest.err`
6124 ## There is no encapsulation within the following macros, do not change
6125 ## the running order or otherwise move them around unless you know exactly
6126 ## what you are doing...
6127 if test -n "$compiler"; then
6129 lt_prog_compiler_no_builtin_flag
=
6131 if test "$GCC" = yes; then
6132 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6134 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6135 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6136 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 lt_cv_prog_compiler_rtti_exceptions
=no
6140 ac_outfile
=conftest.
$ac_objext
6141 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6142 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6143 # Insert the option either (1) after the last *FLAGS variable, or
6144 # (2) before a word containing "conftest.", or (3) at the end.
6145 # Note that $ac_compile itself does not contain backslashes and begins
6146 # with a dollar sign (not a hyphen), so the echo should work correctly.
6147 # The option is referenced via a variable to avoid confusing sed.
6148 lt_compile
=`echo "$ac_compile" | $SED \
6149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6151 -e 's:$: $lt_compiler_flag:'`
6152 (eval echo "\"\$as_me:6152: $lt_compile\"" >&5)
6153 (eval "$lt_compile" 2>conftest.err
)
6155 cat conftest.err
>&5
6156 echo "$as_me:6156: \$? = $ac_status" >&5
6157 if (exit $ac_status) && test -s "$ac_outfile"; then
6158 # The compiler can only warn and ignore the option if not recognized
6159 # So say no if there are warnings other than the usual output.
6160 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6161 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6162 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6163 lt_cv_prog_compiler_rtti_exceptions
=yes
6169 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6170 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6172 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6173 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6185 lt_prog_compiler_wl
=
6186 lt_prog_compiler_pic
=
6187 lt_prog_compiler_static
=
6189 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6190 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6192 if test "$GCC" = yes; then
6193 lt_prog_compiler_wl
='-Wl,'
6194 lt_prog_compiler_static
='-static'
6198 # All AIX code is PIC.
6199 if test "$host_cpu" = ia64
; then
6200 # AIX 5 now supports IA64 processor
6201 lt_prog_compiler_static
='-Bstatic'
6206 if test "$host_cpu" = m68k
; then
6207 # FIXME: we need at least 68020 code to build shared libraries, but
6208 # adding the `-m68020' flag to GCC prevents building anything better,
6210 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6214 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6215 # PIC is the default for these OSes.
6218 mingw
* | pw32
* | os2
*)
6219 # This hack is so that the source file can tell whether it is being
6220 # built for inclusion in a dll (and should export symbols for example).
6221 lt_prog_compiler_pic
='-DDLL_EXPORT'
6224 darwin
* | rhapsody
*)
6225 # PIC is the default on this platform
6226 # Common symbols not allowed in MH_DYLIB files
6227 lt_prog_compiler_pic
='-fno-common'
6231 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6238 lt_prog_compiler_pic
='-fPIC'
6244 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6245 # Instead, we relocate shared libraries at runtime.
6249 # Just because we use GCC doesn't mean we suddenly get shared libraries
6250 # on systems that don't support them.
6251 lt_prog_compiler_can_build_shared
=no
6256 # QNX uses GNU C++, but need to define -shared option too, otherwise
6258 lt_prog_compiler_pic
='-fPIC -shared'
6262 if test -d /usr
/nec
; then
6263 lt_prog_compiler_pic
=-Kconform_pic
6268 lt_prog_compiler_pic
='-fPIC'
6272 # PORTME Check for flag to pass linker flags through the system compiler.
6275 lt_prog_compiler_wl
='-Wl,'
6276 if test "$host_cpu" = ia64
; then
6277 # AIX 5 now supports IA64 processor
6278 lt_prog_compiler_static
='-Bstatic'
6280 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6284 # PIC is the default on this platform
6285 # Common symbols not allowed in MH_DYLIB files
6286 case $cc_basename in
6288 lt_prog_compiler_pic
='-qnocommon'
6289 lt_prog_compiler_wl
='-Wl,'
6294 mingw
* | pw32
* | os2
*)
6295 # This hack is so that the source file can tell whether it is being
6296 # built for inclusion in a dll (and should export symbols for example).
6297 lt_prog_compiler_pic
='-DDLL_EXPORT'
6300 hpux9
* | hpux10
* | hpux11
*)
6301 lt_prog_compiler_wl
='-Wl,'
6302 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6309 lt_prog_compiler_pic
='+Z'
6312 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6313 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6316 irix5
* | irix6
* | nonstopux
*)
6317 lt_prog_compiler_wl
='-Wl,'
6318 # PIC (with -KPIC) is the default.
6319 lt_prog_compiler_static
='-non_shared'
6323 case $cc_basename in
6325 lt_prog_compiler_wl
='-Wl,'
6326 lt_prog_compiler_pic
='-KPIC'
6327 lt_prog_compiler_static
='-static'
6329 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6330 # Portland Group compilers (*not* the Pentium gcc compiler,
6331 # which looks to be a dead project)
6332 lt_prog_compiler_wl
='-Wl,'
6333 lt_prog_compiler_pic
='-fpic'
6334 lt_prog_compiler_static
='-Bstatic'
6337 lt_prog_compiler_wl
='-Wl,'
6338 # All Alpha code is PIC.
6339 lt_prog_compiler_static
='-non_shared'
6345 lt_prog_compiler_pic
='-KPIC'
6346 lt_prog_compiler_static
='-Bstatic'
6350 # QNX uses GNU C++, but need to define -shared option too, otherwise
6352 lt_prog_compiler_pic
='-fPIC -shared'
6355 osf3
* | osf4
* | osf5
*)
6356 lt_prog_compiler_wl
='-Wl,'
6357 # All OSF/1 code is PIC.
6358 lt_prog_compiler_static
='-non_shared'
6362 lt_prog_compiler_static
='-non_shared'
6366 lt_prog_compiler_pic
='-KPIC'
6367 lt_prog_compiler_static
='-Bstatic'
6368 case $cc_basename in
6370 lt_prog_compiler_wl
='-Qoption ld ';;
6372 lt_prog_compiler_wl
='-Wl,';;
6377 lt_prog_compiler_wl
='-Qoption ld '
6378 lt_prog_compiler_pic
='-PIC'
6379 lt_prog_compiler_static
='-Bstatic'
6382 sysv4
| sysv4.2uw2
* | sysv4.3
*)
6383 lt_prog_compiler_wl
='-Wl,'
6384 lt_prog_compiler_pic
='-KPIC'
6385 lt_prog_compiler_static
='-Bstatic'
6389 if test -d /usr
/nec
;then
6390 lt_prog_compiler_pic
='-Kconform_pic'
6391 lt_prog_compiler_static
='-Bstatic'
6395 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6396 lt_prog_compiler_wl
='-Wl,'
6397 lt_prog_compiler_pic
='-KPIC'
6398 lt_prog_compiler_static
='-Bstatic'
6402 lt_prog_compiler_wl
='-Wl,'
6403 lt_prog_compiler_can_build_shared
=no
6407 lt_prog_compiler_pic
='-pic'
6408 lt_prog_compiler_static
='-Bstatic'
6412 lt_prog_compiler_can_build_shared
=no
6418 # For platforms which do not support PIC, -DPIC is meaningless:
6420 lt_prog_compiler_pic
=
6423 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6426 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6427 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6435 # Check to make sure the PIC flag actually works.
6437 if test -n "$lt_prog_compiler_pic"; then
6438 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6439 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6440 if test "${lt_prog_compiler_pic_works+set}" = set; then
6441 echo $ECHO_N "(cached) $ECHO_C" >&6
6443 lt_prog_compiler_pic_works
=no
6444 ac_outfile
=conftest.
$ac_objext
6445 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6446 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6447 # Insert the option either (1) after the last *FLAGS variable, or
6448 # (2) before a word containing "conftest.", or (3) at the end.
6449 # Note that $ac_compile itself does not contain backslashes and begins
6450 # with a dollar sign (not a hyphen), so the echo should work correctly.
6451 # The option is referenced via a variable to avoid confusing sed.
6452 lt_compile
=`echo "$ac_compile" | $SED \
6453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6455 -e 's:$: $lt_compiler_flag:'`
6456 (eval echo "\"\$as_me:6456: $lt_compile\"" >&5)
6457 (eval "$lt_compile" 2>conftest.err
)
6459 cat conftest.err
>&5
6460 echo "$as_me:6460: \$? = $ac_status" >&5
6461 if (exit $ac_status) && test -s "$ac_outfile"; then
6462 # The compiler can only warn and ignore the option if not recognized
6463 # So say no if there are warnings other than the usual output.
6464 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6465 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6466 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6467 lt_prog_compiler_pic_works
=yes
6473 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6474 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6476 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6477 case $lt_prog_compiler_pic in
6479 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6482 lt_prog_compiler_pic
=
6483 lt_prog_compiler_can_build_shared
=no
6494 # Check to make sure the static flag actually works.
6496 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6497 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6498 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6499 if test "${lt_prog_compiler_static_works+set}" = set; then
6500 echo $ECHO_N "(cached) $ECHO_C" >&6
6502 lt_prog_compiler_static_works
=no
6503 save_LDFLAGS
="$LDFLAGS"
6504 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6505 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6506 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6507 # The linker can only warn and ignore the option if not recognized
6508 # So say no if there are warnings
6509 if test -s conftest.err
; then
6510 # Append any errors to the config.log.
6511 cat conftest.err
1>&5
6512 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6513 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6514 if diff conftest.exp conftest.er2
>/dev
/null
; then
6515 lt_prog_compiler_static_works
=yes
6518 lt_prog_compiler_static_works
=yes
6522 LDFLAGS
="$save_LDFLAGS"
6525 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6526 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6528 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6531 lt_prog_compiler_static
=
6540 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6541 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6542 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6545 lt_cv_prog_compiler_c_o
=no
6546 $RM -r conftest
2>/dev
/null
6550 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6552 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6553 # Insert the option either (1) after the last *FLAGS variable, or
6554 # (2) before a word containing "conftest.", or (3) at the end.
6555 # Note that $ac_compile itself does not contain backslashes and begins
6556 # with a dollar sign (not a hyphen), so the echo should work correctly.
6557 lt_compile
=`echo "$ac_compile" | $SED \
6558 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6560 -e 's:$: $lt_compiler_flag:'`
6561 (eval echo "\"\$as_me:6561: $lt_compile\"" >&5)
6562 (eval "$lt_compile" 2>out
/conftest.err
)
6564 cat out
/conftest.err
>&5
6565 echo "$as_me:6565: \$? = $ac_status" >&5
6566 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6568 # The compiler can only warn and ignore the option if not recognized
6569 # So say no if there are warnings
6570 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
6571 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6572 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6573 lt_cv_prog_compiler_c_o
=yes
6578 # SGI C++ compiler will create directory out/ii_files/ for
6579 # template instantiation
6580 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6581 $RM out
/* && rmdir out
6587 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6588 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6595 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6596 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6597 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6598 echo $ECHO_N "(cached) $ECHO_C" >&6
6600 lt_cv_prog_compiler_c_o
=no
6601 $RM -r conftest
2>/dev
/null
6605 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6607 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6608 # Insert the option either (1) after the last *FLAGS variable, or
6609 # (2) before a word containing "conftest.", or (3) at the end.
6610 # Note that $ac_compile itself does not contain backslashes and begins
6611 # with a dollar sign (not a hyphen), so the echo should work correctly.
6612 lt_compile
=`echo "$ac_compile" | $SED \
6613 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6614 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6615 -e 's:$: $lt_compiler_flag:'`
6616 (eval echo "\"\$as_me:6616: $lt_compile\"" >&5)
6617 (eval "$lt_compile" 2>out
/conftest.err
)
6619 cat out
/conftest.err
>&5
6620 echo "$as_me:6620: \$? = $ac_status" >&5
6621 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6623 # The compiler can only warn and ignore the option if not recognized
6624 # So say no if there are warnings
6625 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
6626 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6627 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6628 lt_cv_prog_compiler_c_o
=yes
6633 # SGI C++ compiler will create directory out/ii_files/ for
6634 # template instantiation
6635 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6636 $RM out
/* && rmdir out
6642 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6643 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6648 hard_links
="nottested"
6649 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6650 # do not overwrite the value of need_locks provided by the user
6651 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6652 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6655 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6657 ln conftest.a conftest.b
2>&5 || hard_links
=no
6658 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6659 echo "$as_me:$LINENO: result: $hard_links" >&5
6660 echo "${ECHO_T}$hard_links" >&6
6661 if test "$hard_links" = no
; then
6662 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6663 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6675 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6676 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6679 allow_undefined_flag
=
6680 always_export_symbols
=no
6682 archive_expsym_cmds
=
6683 enable_shared_with_static_runtimes
=no
6684 export_dynamic_flag_spec
=
6685 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6686 hardcode_automatic
=no
6688 hardcode_libdir_flag_spec
=
6689 hardcode_libdir_flag_spec_ld
=
6690 hardcode_libdir_separator
=
6692 hardcode_shlibpath_var
=unsupported
6694 link_all_deplibs
=unknown
6697 old_archive_from_new_cmds
=
6698 old_archive_from_expsyms_cmds
=
6699 thread_safe_flag_spec
=
6700 whole_archive_flag_spec
=
6701 # include_expsyms should be a list of space-separated symbols to be *always*
6702 # included in the symbol list
6704 # exclude_expsyms can be an extended regexp of symbols to exclude
6705 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6706 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6707 # as well as any symbol that contains `d'.
6708 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6709 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6710 # platforms (ab)use it in PIC code, but their linkers get confused if
6711 # the symbol is explicitly referenced. Since portable code cannot
6712 # rely on this symbol name, it's probably fine to never include it in
6713 # preloaded symbol tables.
6714 extract_expsyms_cmds
=
6717 cygwin
* | mingw
* | pw32
*)
6718 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6719 # When not using gcc, we currently assume that we are using
6720 # Microsoft Visual C++.
6721 if test "$GCC" != yes; then
6726 # we just hope/assume this is gcc and not c89 (= MSVC++)
6735 if test "$with_gnu_ld" = yes; then
6736 # If archive_cmds runs LD, not CC, wlarc should be empty
6739 # Set some defaults for GNU ld with shared library support. These
6740 # are reset later if shared libraries are not supported. Putting them
6741 # here allows them to be overridden if necessary.
6742 runpath_var
=LD_RUN_PATH
6743 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
6744 export_dynamic_flag_spec
='${wl}--export-dynamic'
6745 # ancient GNU ld didn't support --whole-archive et. al.
6746 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
6747 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6749 whole_archive_flag_spec
=
6751 supports_anon_versioning
=no
6752 case `$LD -v 2>&1` in
6753 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
6754 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6755 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6756 *\
2.11.
*) ;; # other 2.11 versions
6757 *) supports_anon_versioning
=yes ;;
6760 # See if GNU ld supports shared libraries.
6762 aix3
* | aix4
* | aix5
*)
6763 # On AIX/PPC, the GNU linker is very broken
6764 if test "$host_cpu" != ia64
; then
6768 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6769 *** to be unable to reliably create shared libraries on AIX.
6770 *** Therefore, libtool is disabling shared libraries support. If you
6771 *** really care for shared libraries, you may want to modify your PATH
6772 *** so that a non-GNU linker is found, and then restart.
6779 if test "$host_cpu" = m68k
; then
6780 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)'
6781 hardcode_libdir_flag_spec
='-L$libdir'
6782 hardcode_minus_L
=yes
6785 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6786 # that the semantics of dynamic libraries on AmigaOS, at least up
6787 # to version 4, is to share data among multiple programs linked
6788 # with the same dynamic library. Since this doesn't match the
6789 # behavior of shared libraries on other platforms, we can't use
6795 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
6796 allow_undefined_flag
=unsupported
6797 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6798 # support --undefined. This deserves some investigation. FIXME
6799 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6805 cygwin
* | mingw
* | pw32
*)
6806 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6807 # as there is no search path for DLLs.
6808 hardcode_libdir_flag_spec
='-L$libdir'
6809 allow_undefined_flag
=unsupported
6810 always_export_symbols
=no
6811 enable_shared_with_static_runtimes
=yes
6812 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6814 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
6815 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6816 # If the export-symbols file already is a .def file (1st line
6817 # is EXPORTS), use it as is; otherwise, prepend...
6818 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6819 cp $export_symbols $output_objdir/$soname.def;
6821 echo EXPORTS > $output_objdir/$soname.def;
6822 cat $export_symbols >> $output_objdir/$soname.def;
6824 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6832 hardcode_shlibpath_var
=no
6833 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
6834 export_dynamic_flag_spec
='${wl}-E'
6835 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6836 # Instead, shared libraries are loaded at an image base (0x10000000 by
6837 # default) and relocated if they conflict, which is a slow very memory
6838 # consuming and fragmenting process. To avoid this, we pick a random,
6839 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6840 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6841 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6842 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'
6847 if test "$host_os" = linux
-dietlibc; then
6848 case $cc_basename in
6849 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
6852 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
6853 && test "$tmp_diet" = no
6856 case $cc_basename,$host_cpu in
6857 pgcc
*) # Portland Group C compiler
6858 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'
6859 tmp_addflag
=' $pic_flag'
6861 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
6862 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'
6863 tmp_addflag
=' $pic_flag -Mnomain' ;;
6864 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
6865 tmp_addflag
=' -i_dynamic' ;;
6866 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
6867 tmp_addflag
=' -i_dynamic -nofor_main' ;;
6868 ifc
* | ifort
*) # Intel Fortran compiler
6869 tmp_addflag
=' -nofor_main' ;;
6872 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6874 if test "x$supports_anon_versioning" = xyes
; then
6875 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~echo "local: *; };" >> $output_objdir/$libname.ver~$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6883 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
6884 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6887 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6888 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6893 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
6897 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6898 *** create shared libraries on Solaris systems. Therefore, libtool
6899 *** is disabling shared libraries support. We urge you to upgrade GNU
6900 *** binutils to release 2.9.1 or newer. Another option is to modify
6901 *** your PATH or compiler configuration so that the native linker is
6902 *** used, and then restart.
6905 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
6906 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6907 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6913 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6914 case `$LD -v 2>&1` in
6915 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
6919 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
6920 *** reliably create shared libraries on SCO systems. Therefore, libtool
6921 *** is disabling shared libraries support. We urge you to upgrade GNU
6922 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
6923 *** your PATH or compiler configuration so that the native linker is
6924 *** used, and then restart.
6929 # For security reasons, it is highly recommended that you always
6930 # use absolute paths for naming shared libraries, and exclude the
6931 # DT_RUNPATH tag from executables and libraries. But doing so
6932 # requires that you compile everything twice, which is a pain.
6933 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
6934 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
6935 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6936 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6945 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6948 hardcode_shlibpath_var
=no
6952 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
6953 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6954 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6961 if test "$ld_shlibs" = no
; then
6963 hardcode_libdir_flag_spec
=
6964 export_dynamic_flag_spec
=
6965 whole_archive_flag_spec
=
6968 # PORTME fill in a description of your system's linker (not GNU ld)
6971 allow_undefined_flag
=unsupported
6972 always_export_symbols
=yes
6973 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'
6974 # Note: this linker hardcodes the directories in LIBPATH if there
6975 # are no directories specified by -L.
6976 hardcode_minus_L
=yes
6977 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6978 # Neither direct hardcoding nor static linking is supported with a
6980 hardcode_direct
=unsupported
6985 if test "$host_cpu" = ia64
; then
6986 # On IA64, the linker does run time linking by default, so we don't
6987 # have to do anything special.
6988 aix_use_runtimelinking
=no
6989 exp_sym_flag
='-Bexport'
6992 # If we're using GNU nm, then we don't want the "-C" option.
6993 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6994 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
6995 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'
6997 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'
6999 aix_use_runtimelinking
=no
7001 # Test if we are trying to use run time linking or normal
7002 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7003 # need to do runtime linking.
7004 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7005 for ld_flag
in $LDFLAGS; do
7006 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7007 aix_use_runtimelinking
=yes
7014 exp_sym_flag
='-bexport'
7015 no_entry_flag
='-bnoentry'
7018 # When large executables or shared objects are built, AIX ld can
7019 # have problems creating the table of contents. If linking a library
7020 # or program results in "error TOC overflow" add -mminimal-toc to
7021 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7022 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7026 hardcode_libdir_separator
=':'
7027 link_all_deplibs
=yes
7028 file_list_spec
='${wl}-f,'
7030 if test "$GCC" = yes; then
7031 case $host_os in aix4.
[012]|aix4.
[012].
*)
7032 # We only want to do this on AIX 4.2 and lower, the check
7033 # below for broken collect2 doesn't work under 4.3+
7034 collect2name
=`${CC} -print-prog-name=collect2`
7035 if test -f "$collect2name" &&
7036 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7038 # We have reworked collect2
7041 # We have old collect2
7042 hardcode_direct
=unsupported
7043 # It fails to find uninstalled libraries when the uninstalled
7044 # path is not listed in the libpath. Setting hardcode_minus_L
7045 # to unsupported forces relinking
7046 hardcode_minus_L
=yes
7047 hardcode_libdir_flag_spec
='-L$libdir'
7048 hardcode_libdir_separator
=
7052 shared_flag
='-shared'
7053 if test "$aix_use_runtimelinking" = yes; then
7054 shared_flag
="$shared_flag "'${wl}-G'
7058 if test "$host_cpu" = ia64
; then
7059 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7060 # chokes on -Wl,-G. The following line is correct:
7063 if test "$aix_use_runtimelinking" = yes; then
7064 shared_flag
='${wl}-G'
7066 shared_flag
='${wl}-bM:SRE'
7071 # It seems that -bexpall does not export symbols beginning with
7072 # underscore (_), so it is better to generate a list of symbols to export.
7073 always_export_symbols
=yes
7074 if test "$aix_use_runtimelinking" = yes; then
7075 # Warning - without using the other runtime loading flags (-brtl),
7076 # -berok will link without error, but may produce a broken library.
7077 allow_undefined_flag
='-berok'
7078 # Determine the default libpath from the value encoded in an
7080 cat >conftest.
$ac_ext <<_ACEOF
7083 cat confdefs.h
>>conftest.
$ac_ext
7084 cat >>conftest.
$ac_ext <<_ACEOF
7085 /* end confdefs.h. */
7095 rm -f conftest.
$ac_objext conftest
$ac_exeext
7096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7097 (eval $ac_link) 2>conftest.er1
7099 grep -v '^ *+' conftest.er1
>conftest.err
7101 cat conftest.err
>&5
7102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7103 (exit $ac_status); } &&
7104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); }; } &&
7110 { ac_try
='test -s conftest$ac_exeext'
7111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); }; }; then
7117 lt_aix_libpath_sed
='
7118 /Import File Strings/,/^$/ {
7124 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7125 # Check for a 64-bit object if we didn't find anything.
7126 if test -z "$aix_libpath"; then
7127 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.
$ac_ext >&5
7134 rm -f conftest.err conftest.
$ac_objext \
7135 conftest
$ac_exeext conftest.
$ac_ext
7136 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7138 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7139 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7141 if test "$host_cpu" = ia64
; then
7142 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7143 allow_undefined_flag
="-z nodefs"
7144 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"
7146 # Determine the default libpath from the value encoded in an
7148 cat >conftest.
$ac_ext <<_ACEOF
7151 cat confdefs.h
>>conftest.
$ac_ext
7152 cat >>conftest.
$ac_ext <<_ACEOF
7153 /* end confdefs.h. */
7163 rm -f conftest.
$ac_objext conftest
$ac_exeext
7164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7165 (eval $ac_link) 2>conftest.er1
7167 grep -v '^ *+' conftest.er1
>conftest.err
7169 cat conftest.err
>&5
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); } &&
7172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; } &&
7178 { ac_try
='test -s conftest$ac_exeext'
7179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); }; }; then
7185 lt_aix_libpath_sed
='
7186 /Import File Strings/,/^$/ {
7192 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7193 # Check for a 64-bit object if we didn't find anything.
7194 if test -z "$aix_libpath"; then
7195 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7198 echo "$as_me: failed program was:" >&5
7199 sed 's/^/| /' conftest.
$ac_ext >&5
7202 rm -f conftest.err conftest.
$ac_objext \
7203 conftest
$ac_exeext conftest.
$ac_ext
7204 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7206 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7207 # Warning - without using the other run time loading flags,
7208 # -berok will link without error, but may produce a broken library.
7209 no_undefined_flag
=' ${wl}-bernotok'
7210 allow_undefined_flag
=' ${wl}-berok'
7211 # Exported symbols can be pulled into shared objects from archives
7212 whole_archive_flag_spec
='$convenience'
7213 archive_cmds_need_lc
=yes
7214 # This is similar to how AIX traditionally builds its shared libraries.
7215 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'
7221 if test "$host_cpu" = m68k
; then
7222 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)'
7223 hardcode_libdir_flag_spec
='-L$libdir'
7224 hardcode_minus_L
=yes
7226 # see comment about different semantics on the GNU ld section
7231 export_dynamic_flag_spec
=-rdynamic
7234 cygwin
* | mingw
* | pw32
*)
7235 # When not using gcc, we currently assume that we are using
7236 # Microsoft Visual C++.
7237 # hardcode_libdir_flag_spec is actually meaningless, as there is
7238 # no search path for DLLs.
7239 hardcode_libdir_flag_spec
=' '
7240 allow_undefined_flag
=unsupported
7241 # Tell ltmain to make .lib files, not .a files.
7243 # Tell ltmain to make .dll files, not .so files.
7245 # FIXME: Setting linknames here is a bad hack.
7246 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7247 # The linker will automatically build a .lib file if we build a DLL.
7248 old_archive_from_new_cmds
='true'
7249 # FIXME: Should let the user specify the lib program.
7250 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7251 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7252 enable_shared_with_static_runtimes
=yes
7255 darwin
* | rhapsody
*)
7257 rhapsody
* | darwin1.
[012])
7258 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7261 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7263 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7266 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7271 archive_cmds_need_lc
=no
7273 hardcode_automatic
=yes
7274 hardcode_shlibpath_var
=unsupported
7275 whole_archive_flag_spec
=''
7276 link_all_deplibs
=yes
7277 if test "$GCC" = yes ; then
7278 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7279 echo $ECHO_N "(cached) $ECHO_C" >&6
7281 lt_cv_apple_cc_single_mod
=no
7282 if test -z "${LT_MULTI_MODULE}"; then
7283 # By default we will add the -single_module flag. You can override
7284 # by either setting the environment variable LT_MULTI_MODULE
7285 # non-empty at configure time, or by adding -multi-module to the
7287 echo "int foo(void){return 1;}" > conftest.c
7288 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7289 -dynamiclib ${wl}-single_module conftest.c
7290 if test -f libconftest.dylib
; then
7291 lt_cv_apple_cc_single_mod
=yes
7292 rm libconftest.dylib
7298 output_verbose_link_cmd
=echo
7299 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
7300 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7301 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7303 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7304 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7306 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7307 module_expsym_cmds
='sed -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}'
7309 case $cc_basename in
7311 output_verbose_link_cmd
=echo
7312 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7313 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7314 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7315 archive_expsym_cmds
='sed "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}'
7316 module_expsym_cmds
='sed "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}'
7326 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7327 hardcode_libdir_flag_spec
='-L$libdir'
7328 hardcode_shlibpath_var
=no
7335 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7336 # support. Future versions do this automatically, but an explicit c++rt0.o
7337 # does not break anything, and helps significantly (at the cost of a little
7340 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7341 hardcode_libdir_flag_spec
='-R$libdir'
7343 hardcode_shlibpath_var
=no
7346 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7348 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7350 hardcode_minus_L
=yes
7351 hardcode_shlibpath_var
=no
7354 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7355 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7356 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7357 hardcode_libdir_flag_spec
='-R$libdir'
7359 hardcode_shlibpath_var
=no
7363 if test "$GCC" = yes; then
7364 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'
7366 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'
7368 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7369 hardcode_libdir_separator
=:
7372 # hardcode_minus_L: Not really in the search PATH,
7373 # but as the default location of the library.
7374 hardcode_minus_L
=yes
7375 export_dynamic_flag_spec
='${wl}-E'
7379 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7380 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7382 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7384 if test "$with_gnu_ld" = no
; then
7385 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7386 hardcode_libdir_flag_spec_ld
='+b $libdir'
7387 hardcode_libdir_separator
=:
7389 export_dynamic_flag_spec
='${wl}-E'
7390 # hardcode_minus_L: Not really in the search PATH,
7391 # but as the default location of the library.
7392 hardcode_minus_L
=yes
7397 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7400 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7403 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7406 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7412 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7415 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7418 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7422 if test "$with_gnu_ld" = no
; then
7423 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7424 hardcode_libdir_separator
=:
7429 hardcode_shlibpath_var
=no
7433 export_dynamic_flag_spec
='${wl}-E'
7435 # hardcode_minus_L: Not really in the search PATH,
7436 # but as the default location of the library.
7437 hardcode_minus_L
=yes
7443 irix5
* | irix6
* | nonstopux
*)
7444 if test "$GCC" = yes; then
7445 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7446 # Try to use the -exported_symbol ld option, if it does not
7447 # work, assume that -exports_file does not work either and
7448 # implicitly export all symbols.
7449 save_LDFLAGS
="$LDFLAGS"
7450 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7451 cat >conftest.
$ac_ext <<_ACEOF
7454 rm -f conftest.
$ac_objext conftest
$ac_exeext
7455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7456 (eval $ac_link) 2>conftest.er1
7458 grep -v '^ *+' conftest.er1
>conftest.err
7460 cat conftest.err
>&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); } &&
7463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); }; } &&
7469 { ac_try
='test -s conftest$ac_exeext'
7470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); }; }; then
7475 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
7478 echo "$as_me: failed program was:" >&5
7479 sed 's/^/| /' conftest.
$ac_ext >&5
7482 rm -f conftest.err conftest.
$ac_objext \
7483 conftest
$ac_exeext conftest.
$ac_ext
7484 LDFLAGS
="$save_LDFLAGS"
7486 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7487 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7489 archive_cmds_need_lc
='no'
7490 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7491 hardcode_libdir_separator
=:
7493 link_all_deplibs
=yes
7497 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7498 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7500 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7502 hardcode_libdir_flag_spec
='-R$libdir'
7504 hardcode_shlibpath_var
=no
7508 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7510 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7511 hardcode_libdir_separator
=:
7512 hardcode_shlibpath_var
=no
7520 hardcode_shlibpath_var
=no
7521 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7522 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7523 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7524 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7525 export_dynamic_flag_spec
='${wl}-E'
7528 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7529 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7530 hardcode_libdir_flag_spec
='-R$libdir'
7533 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7534 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7541 hardcode_libdir_flag_spec
='-L$libdir'
7542 hardcode_minus_L
=yes
7543 allow_undefined_flag
=unsupported
7544 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'
7545 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7549 if test "$GCC" = yes; then
7550 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7551 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7553 allow_undefined_flag
=' -expect_unresolved \*'
7554 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7556 archive_cmds_need_lc
='no'
7557 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7558 hardcode_libdir_separator
=:
7561 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7562 if test "$GCC" = yes; then
7563 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7564 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7565 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7567 allow_undefined_flag
=' -expect_unresolved \*'
7568 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7569 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
7570 $CC -shared${allow_undefined_flag} -input $lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
7572 # Both c and cxx compiler support -rpath directly
7573 hardcode_libdir_flag_spec
='-rpath $libdir'
7575 archive_cmds_need_lc
='no'
7576 hardcode_libdir_separator
=:
7580 no_undefined_flag
=' -z defs'
7581 if test "$GCC" = yes; then
7583 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7584 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7585 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7587 case `$CC -V 2>&1` in
7590 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7591 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7592 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7596 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7597 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7598 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7602 hardcode_libdir_flag_spec
='-R$libdir'
7603 hardcode_shlibpath_var
=no
7605 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7607 # The compiler driver will combine linker options so we
7608 # cannot just pass the convenience library names through
7609 # without $wl, iff we do not link with $LD.
7610 # Luckily, gcc supports the same syntax we need for Sun Studio.
7611 # Supported since Solaris 2.6 (maybe 2.5.1?)
7614 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7616 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' ;;
7619 link_all_deplibs
=yes
7623 if test "x$host_vendor" = xsequent
; then
7624 # Use $CC to link under sequent, because it throws in some extra .o
7625 # files that make .init and .fini sections work.
7626 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7628 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7630 hardcode_libdir_flag_spec
='-L$libdir'
7632 hardcode_minus_L
=yes
7633 hardcode_shlibpath_var
=no
7637 case $host_vendor in
7639 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7640 hardcode_direct
=yes # is this really true???
7643 ## LD is ld it makes a PLAMLIB
7644 ## CC just makes a GrossModule.
7645 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7646 reload_cmds
='$CC -r -o $output$reload_objs'
7650 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7651 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7654 runpath_var
='LD_RUN_PATH'
7655 hardcode_shlibpath_var
=no
7659 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7660 hardcode_shlibpath_var
=no
7661 export_dynamic_flag_spec
='-Bexport'
7665 if test -d /usr
/nec
; then
7666 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7667 hardcode_shlibpath_var
=no
7668 runpath_var
=LD_RUN_PATH
7669 hardcode_runpath_var
=yes
7674 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
7675 no_undefined_flag
='${wl}-z,text'
7676 archive_cmds_need_lc
=no
7677 hardcode_shlibpath_var
=no
7678 runpath_var
='LD_RUN_PATH'
7680 if test "$GCC" = yes; then
7681 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7682 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7684 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7685 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7689 sysv5
* | sco3.2v5
* | sco5v6
*)
7690 # Note: We can NOT use -z defs as we might desire, because we do not
7691 # link with -lc, and that would cause any symbols used from libc to
7692 # always be unresolved, which means just about no library would
7693 # ever link correctly. If we're not using GNU ld we use -z text
7694 # though, which does catch some bad symbols but isn't as heavy-handed
7696 no_undefined_flag
='${wl}-z,text'
7697 allow_undefined_flag
='${wl}-z,nodefs'
7698 archive_cmds_need_lc
=no
7699 hardcode_shlibpath_var
=no
7700 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
7701 hardcode_libdir_separator
=':'
7702 link_all_deplibs
=yes
7703 export_dynamic_flag_spec
='${wl}-Bexport'
7704 runpath_var
='LD_RUN_PATH'
7706 if test "$GCC" = yes; then
7707 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7708 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7710 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7711 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7716 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7717 hardcode_libdir_flag_spec
='-L$libdir'
7718 hardcode_shlibpath_var
=no
7726 if test x
$host_vendor = xsni
; then
7728 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7729 export_dynamic_flag_spec
='${wl}-Blargedynsym'
7735 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7736 echo "${ECHO_T}$ld_shlibs" >&6
7737 test "$ld_shlibs" = no
&& can_build_shared
=no
7739 with_gnu_ld
=$with_gnu_ld
7756 # Do we need to explicitly link libc?
7758 case "x$archive_cmds_need_lc" in
7760 # Assume -lc should be added
7761 archive_cmds_need_lc
=yes
7763 if test "$enable_shared" = yes && test "$GCC" = yes; then
7764 case $archive_cmds in
7766 # FIXME: we may have to deal with multi-command sequences.
7769 # Test whether the compiler implicitly links with -lc since on some
7770 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7771 # to ld, don't add -lc before -lgcc.
7772 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7773 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7775 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7778 (eval $ac_compile) 2>&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); } 2>conftest.err
; then
7784 libobjs
=conftest.
$ac_objext
7786 wl
=$lt_prog_compiler_wl
7787 pic_flag
=$lt_prog_compiler_pic
7793 lt_save_allow_undefined_flag
=$allow_undefined_flag
7794 allow_undefined_flag
=
7795 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
7796 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799 (exit $ac_status); }
7801 archive_cmds_need_lc
=no
7803 archive_cmds_need_lc
=yes
7805 allow_undefined_flag
=$lt_save_allow_undefined_flag
7807 cat conftest.err
1>&5
7810 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7811 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7964 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7965 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7968 libname_spec
='lib$name'
7976 shlibpath_overrides_runpath
=unknown
7978 dynamic_linker
="$host_os ld.so"
7979 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7980 if test "$withGCC" = yes; then
7981 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7982 if $ECHO "$sys_lib_search_path_spec" | $GREP ';' >/dev
/null
; then
7983 # if the path contains ";" then we assume it to be the separator
7984 # otherwise default to the standard path separator (i.e. ":") - it is
7985 # assumed that no part of a normal pathname contains ";" but that should
7986 # okay in the real world where ";" in dirpaths is itself problematic.
7987 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7989 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7992 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7994 need_lib_prefix
=unknown
7995 hardcode_into_libs
=no
7997 # when you set need_version to no, make sure it does not cause -set_version
7998 # flags to be left without arguments
7999 need_version
=unknown
8004 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8005 shlibpath_var
=LIBPATH
8007 # AIX 3 has no versioning support, so we append a major version to the name.
8008 soname_spec
='${libname}${release}${shared_ext}$major'
8015 hardcode_into_libs
=yes
8016 if test "$host_cpu" = ia64
; then
8017 # AIX 5 supports IA64
8018 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8019 shlibpath_var
=LD_LIBRARY_PATH
8021 # With GCC up to 2.95.x, collect2 would create an import file
8022 # for dependence libraries. The import file would start with
8023 # the line `#! .'. This would cause the generated library to
8024 # depend on `.', always an invalid library. This was fixed in
8025 # development snapshots of GCC prior to 3.0.
8027 aix4
| aix4.
[01] | aix4.
[01].
*)
8028 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8030 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8037 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8038 # soname into executable. Probably we can add versioning support to
8039 # collect2, so additional links can be useful in future.
8040 if test "$aix_use_runtimelinking" = yes; then
8041 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8042 # instead of lib<name>.a to let people know that these are not
8043 # typical AIX shared libraries.
8044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8046 # We preserve .a as extension for shared libraries through AIX4.2
8047 # and later when we are not doing run time linking.
8048 library_names_spec
='${libname}${release}.a $libname.a'
8049 soname_spec
='${libname}${release}${shared_ext}$major'
8051 shlibpath_var
=LIBPATH
8056 if test "$host_cpu" = m68k
; then
8057 library_names_spec
='$libname.ixlibrary $libname.a'
8058 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8059 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'
8066 library_names_spec
='${libname}${shared_ext}'
8067 dynamic_linker
="$host_os ld.so"
8068 shlibpath_var
=LIBRARY_PATH
8074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8075 soname_spec
='${libname}${release}${shared_ext}$major'
8076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8077 shlibpath_var
=LD_LIBRARY_PATH
8078 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8079 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8080 # the default ld.so.conf also contains /usr/contrib/lib and
8081 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8082 # libtool to hard-code these into programs
8085 cygwin
* | mingw
* | pw32
*)
8086 version_type
=windows
8091 case $withGCC,$host_os in
8092 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
8093 library_names_spec
='$libname.dll.a'
8094 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8095 postinstall_cmds
='base_file=`basename \${file}`~
8096 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8097 dldir=$destdir/`dirname \$dlpath`~
8098 test -d \$dldir || mkdir -p \$dldir~
8099 $install_prog $dir/$dlname \$dldir/$dlname~
8100 chmod a+x \$dldir/$dlname~
8101 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8102 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8104 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8105 dlpath=$dir/\$dldll~
8107 shlibpath_overrides_runpath
=yes
8111 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8112 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8113 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8116 # MinGW DLLs use traditional 'lib' prefix
8117 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8118 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8119 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8120 # It is most probably a Windows format PATH printed by
8121 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8122 # path with ; separators, and with drive letters. We can handle the
8123 # drive letters (cygwin fileutils understands them), so leave them,
8124 # especially as we might pass files found there to a mingw objdump,
8125 # which wouldn't understand a cygwinified path. Ahh.
8126 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8128 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8132 # pw32 DLLs use 'pw' prefix rather than 'lib'
8133 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8139 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8142 dynamic_linker
='Win32 ld.exe'
8143 # FIXME: first we should search . and the directory the executable is in
8147 darwin
* | rhapsody
*)
8148 dynamic_linker
="$host_os dyld"
8152 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8153 soname_spec
='${libname}${release}${major}$shared_ext'
8154 shlibpath_overrides_runpath
=yes
8155 shlibpath_var
=DYLD_LIBRARY_PATH
8156 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8157 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8158 if test "$withGCC" = yes; then
8159 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"`
8161 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8163 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8171 soname_spec
='${libname}${release}${shared_ext}$major'
8172 shlibpath_var
=LD_LIBRARY_PATH
8183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8184 soname_spec
='${libname}${release}${shared_ext}$major'
8185 shlibpath_var
=LD_LIBRARY_PATH
8186 shlibpath_overrides_runpath
=no
8187 hardcode_into_libs
=yes
8188 dynamic_linker
='GNU ld.so'
8191 freebsd
* | dragonfly
*)
8192 # DragonFly does not have aout. When/if they implement a new
8193 # versioning mechanism, adjust this.
8194 if test -x /usr
/bin
/objformat
; then
8195 objformat
=`/usr/bin/objformat`
8198 freebsd
[123]*) objformat
=aout
;;
8202 version_type
=freebsd
-$objformat
8203 case $version_type in
8205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8210 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8214 shlibpath_var
=LD_LIBRARY_PATH
8217 shlibpath_overrides_runpath
=yes
8219 freebsd3.
[01]* | freebsdelf3.
[01]*)
8220 shlibpath_overrides_runpath
=yes
8221 hardcode_into_libs
=yes
8223 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8224 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8225 shlibpath_overrides_runpath
=no
8226 hardcode_into_libs
=yes
8228 freebsd
*) # from 4.6 on
8229 shlibpath_overrides_runpath
=yes
8230 hardcode_into_libs
=yes
8239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8240 soname_spec
='${libname}${release}${shared_ext}$major'
8241 shlibpath_var
=LD_LIBRARY_PATH
8242 hardcode_into_libs
=yes
8245 hpux9
* | hpux10
* | hpux11
*)
8246 # Give a soname corresponding to the major version so that dld.sl refuses to
8247 # link against other versions.
8254 hardcode_into_libs
=yes
8255 dynamic_linker
="$host_os dld.so"
8256 shlibpath_var
=LD_LIBRARY_PATH
8257 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8259 soname_spec
='${libname}${release}${shared_ext}$major'
8260 if test "X$HPUX_IA64_MODE" = X32
; then
8261 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8263 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8265 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8269 hardcode_into_libs
=yes
8270 dynamic_linker
="$host_os dld.sl"
8271 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8272 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8274 soname_spec
='${libname}${release}${shared_ext}$major'
8275 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8276 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8280 dynamic_linker
="$host_os dld.sl"
8281 shlibpath_var
=SHLIB_PATH
8282 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8284 soname_spec
='${libname}${release}${shared_ext}$major'
8287 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8288 postinstall_cmds
='chmod 555 $lib'
8295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8296 soname_spec
='${libname}${release}${shared_ext}$major'
8297 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8298 shlibpath_var
=LD_LIBRARY_PATH
8299 shlibpath_overrides_runpath
=no
8300 hardcode_into_libs
=yes
8303 irix5
* | irix6
* | nonstopux
*)
8305 nonstopux
*) version_type
=nonstopux
;;
8307 if test "$lt_cv_prog_gnu_ld" = yes; then
8315 soname_spec
='${libname}${release}${shared_ext}$major'
8316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8318 irix5
* | nonstopux
*)
8322 case $LD in # libtool.m4 will add one of these switches to LD
8323 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8324 libsuff
= shlibsuff
= libmagic
=32-bit;;
8325 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8326 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8327 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8328 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8329 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
8333 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8334 shlibpath_overrides_runpath
=no
8335 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8336 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8337 hardcode_into_libs
=yes
8340 # No shared lib support for Linux oldld, aout, or coff.
8341 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8345 # This must be Linux ELF.
8350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8351 soname_spec
='${libname}${release}${shared_ext}$major'
8352 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8353 shlibpath_var
=LD_LIBRARY_PATH
8354 shlibpath_overrides_runpath
=no
8355 # This implies no fast_install, which is unacceptable.
8356 # Some rework will be needed to allow for fast_install
8357 # before this can be enabled.
8358 hardcode_into_libs
=yes
8360 # Append ld.so.conf contents to the search path
8361 if test -f /etc
/ld.so.conf
; then
8362 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' ' '`
8363 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8366 # We used to test for /lib/ld.so.1 and disable shared libraries on
8367 # powerpc, because MkLinux only supported shared libraries with the
8368 # GNU dynamic linker. Since this was broken with cross compilers,
8369 # most powerpc-linux boxes support dynamic linking these days and
8370 # people can always --disable-shared, the test was removed, and we
8371 # assume the GNU/Linux dynamic linker is in use.
8372 dynamic_linker
='GNU/Linux ld.so'
8379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8380 soname_spec
='${libname}${release}${shared_ext}$major'
8381 shlibpath_var
=LD_LIBRARY_PATH
8382 shlibpath_overrides_runpath
=no
8383 hardcode_into_libs
=yes
8384 dynamic_linker
='GNU ld.so'
8391 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8393 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8394 dynamic_linker
='NetBSD (a.out) ld.so'
8396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8397 soname_spec
='${libname}${release}${shared_ext}$major'
8398 dynamic_linker
='NetBSD ld.elf_so'
8400 shlibpath_var
=LD_LIBRARY_PATH
8401 shlibpath_overrides_runpath
=yes
8402 hardcode_into_libs
=yes
8407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8408 shlibpath_var
=LD_LIBRARY_PATH
8409 shlibpath_overrides_runpath
=yes
8416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8417 soname_spec
='${libname}${release}${shared_ext}$major'
8418 shlibpath_var
=LD_LIBRARY_PATH
8419 shlibpath_overrides_runpath
=no
8420 hardcode_into_libs
=yes
8421 dynamic_linker
='ldqnx.so'
8426 sys_lib_dlsearch_path_spec
="/usr/lib"
8428 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8430 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
8431 *) need_version
=no
;;
8433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8434 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8435 shlibpath_var
=LD_LIBRARY_PATH
8436 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8438 openbsd2.
[89] | openbsd2.
[89].
*)
8439 shlibpath_overrides_runpath
=no
8442 shlibpath_overrides_runpath
=yes
8446 shlibpath_overrides_runpath
=yes
8451 libname_spec
='$name'
8454 library_names_spec
='$libname${shared_ext} $libname.a'
8455 dynamic_linker
='OS/2 ld.exe'
8456 shlibpath_var
=LIBPATH
8459 osf3
* | osf4
* | osf5
*)
8463 soname_spec
='${libname}${release}${shared_ext}$major'
8464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8465 shlibpath_var
=LD_LIBRARY_PATH
8466 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8467 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8479 soname_spec
='${libname}${release}${shared_ext}$major'
8480 shlibpath_var
=LD_LIBRARY_PATH
8481 shlibpath_overrides_runpath
=yes
8482 hardcode_into_libs
=yes
8483 # ldd complains unless libraries are executable
8484 postinstall_cmds
='chmod +x $lib'
8489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8490 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8491 shlibpath_var
=LD_LIBRARY_PATH
8492 shlibpath_overrides_runpath
=yes
8493 if test "$with_gnu_ld" = yes; then
8501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8502 soname_spec
='${libname}${release}${shared_ext}$major'
8503 shlibpath_var
=LD_LIBRARY_PATH
8504 case $host_vendor in
8506 shlibpath_overrides_runpath
=no
8508 runpath_var
=LD_RUN_PATH
8516 shlibpath_overrides_runpath
=no
8517 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8523 if test -d /usr
/nec
;then
8525 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8526 soname_spec
='$libname${shared_ext}.$major'
8527 shlibpath_var
=LD_LIBRARY_PATH
8531 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8532 version_type
=freebsd
-elf
8535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8536 soname_spec
='${libname}${release}${shared_ext}$major'
8537 shlibpath_var
=LD_LIBRARY_PATH
8538 shlibpath_overrides_runpath
=yes
8539 hardcode_into_libs
=yes
8540 if test "$with_gnu_ld" = yes; then
8541 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8543 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8546 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8550 sys_lib_dlsearch_path_spec
='/usr/lib'
8554 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
8558 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8559 shlibpath_var
=LD_LIBRARY_PATH
8560 shlibpath_overrides_runpath
=no
8561 hardcode_into_libs
=yes
8566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8567 soname_spec
='${libname}${release}${shared_ext}$major'
8568 shlibpath_var
=LD_LIBRARY_PATH
8575 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8576 echo "${ECHO_T}$dynamic_linker" >&6
8577 test "$dynamic_linker" = no
&& can_build_shared
=no
8579 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8580 if test "$GCC" = yes; then
8581 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8670 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8671 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8673 if test -n "$hardcode_libdir_flag_spec" ||
8674 test -n "$runpath_var" ||
8675 test "X$hardcode_automatic" = "Xyes" ; then
8677 # We can hardcode non-existent directories.
8678 if test "$hardcode_direct" != no
&&
8679 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8680 # have to relink, otherwise we might link with an installed library
8681 # when we should be linking with a yet-to-be-installed one
8682 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
8683 test "$hardcode_minus_L" != no
; then
8684 # Linking always hardcodes the temporary library directory.
8685 hardcode_action
=relink
8687 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8688 hardcode_action
=immediate
8691 # We cannot hardcode anything, or else we can only hardcode existing
8693 hardcode_action
=unsupported
8695 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8696 echo "${ECHO_T}$hardcode_action" >&6
8698 if test "$hardcode_action" = relink
||
8699 test "$inherit_rpath" = yes; then
8700 # Fast installation is not supported
8701 enable_fast_install
=no
8702 elif test "$shlibpath_overrides_runpath" = yes ||
8703 test "$enable_shared" = no
; then
8704 # Fast installation is not necessary
8705 enable_fast_install
=needless
8713 if test "x$enable_dlopen" != xyes
; then
8714 enable_dlopen
=unknown
8715 enable_dlopen_self
=unknown
8716 enable_dlopen_self_static
=unknown
8723 lt_cv_dlopen
="load_add_on"
8725 lt_cv_dlopen_self
=yes
8729 lt_cv_dlopen
="LoadLibrary"
8734 lt_cv_dlopen
="dlopen"
8739 # if libdl is installed we need to link against it
8740 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8741 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8742 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8743 echo $ECHO_N "(cached) $ECHO_C" >&6
8745 ac_check_lib_save_LIBS
=$LIBS
8747 cat >conftest.
$ac_ext <<_ACEOF
8750 cat confdefs.h
>>conftest.
$ac_ext
8751 cat >>conftest.
$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8754 /* Override any gcc2 internal prototype to avoid an error. */
8758 /* We use char because int might match the return type of a gcc2
8759 builtin and then its argument prototype would still apply. */
8769 rm -f conftest.
$ac_objext conftest
$ac_exeext
8770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8771 (eval $ac_link) 2>conftest.er1
8773 grep -v '^ *+' conftest.er1
>conftest.err
8775 cat conftest.err
>&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); } &&
8778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8783 (exit $ac_status); }; } &&
8784 { ac_try
='test -s conftest$ac_exeext'
8785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); }; }; then
8790 ac_cv_lib_dl_dlopen
=yes
8792 echo "$as_me: failed program was:" >&5
8793 sed 's/^/| /' conftest.
$ac_ext >&5
8795 ac_cv_lib_dl_dlopen
=no
8797 rm -f conftest.err conftest.
$ac_objext \
8798 conftest
$ac_exeext conftest.
$ac_ext
8799 LIBS
=$ac_check_lib_save_LIBS
8801 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8802 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8803 if test $ac_cv_lib_dl_dlopen = yes; then
8804 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8809 lt_cv_dlopen_self
=yes
8816 echo "$as_me:$LINENO: checking for shl_load" >&5
8817 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8818 if test "${ac_cv_func_shl_load+set}" = set; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 cat >conftest.
$ac_ext <<_ACEOF
8824 cat confdefs.h
>>conftest.
$ac_ext
8825 cat >>conftest.
$ac_ext <<_ACEOF
8826 /* end confdefs.h. */
8827 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8829 #define shl_load innocuous_shl_load
8831 /* System header to define __stub macros and hopefully few prototypes,
8832 which can conflict with char shl_load (); below.
8833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8834 <limits.h> exists even on freestanding compilers. */
8837 # include <limits.h>
8839 # include <assert.h>
8844 /* Override any gcc2 internal prototype to avoid an error. */
8849 /* We use char because int might match the return type of a gcc2
8850 builtin and then its argument prototype would still apply. */
8852 /* The GNU C library defines this for functions which it implements
8853 to always fail with ENOSYS. Some functions are actually named
8854 something starting with __ and the normal name is an alias. */
8855 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8858 char (*f) () = shl_load;
8867 return f != shl_load;
8872 rm -f conftest.
$ac_objext conftest
$ac_exeext
8873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8874 (eval $ac_link) 2>conftest.er1
8876 grep -v '^ *+' conftest.er1
>conftest.err
8878 cat conftest.err
>&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); } &&
8881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); }; } &&
8887 { ac_try
='test -s conftest$ac_exeext'
8888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); }; }; then
8893 ac_cv_func_shl_load
=yes
8895 echo "$as_me: failed program was:" >&5
8896 sed 's/^/| /' conftest.
$ac_ext >&5
8898 ac_cv_func_shl_load
=no
8900 rm -f conftest.err conftest.
$ac_objext \
8901 conftest
$ac_exeext conftest.
$ac_ext
8903 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8904 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8905 if test $ac_cv_func_shl_load = yes; then
8906 lt_cv_dlopen
="shl_load"
8908 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8909 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8910 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8911 echo $ECHO_N "(cached) $ECHO_C" >&6
8913 ac_check_lib_save_LIBS
=$LIBS
8915 cat >conftest.
$ac_ext <<_ACEOF
8918 cat confdefs.h
>>conftest.
$ac_ext
8919 cat >>conftest.
$ac_ext <<_ACEOF
8920 /* end confdefs.h. */
8922 /* Override any gcc2 internal prototype to avoid an error. */
8926 /* We use char because int might match the return type of a gcc2
8927 builtin and then its argument prototype would still apply. */
8937 rm -f conftest.
$ac_objext conftest
$ac_exeext
8938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8939 (eval $ac_link) 2>conftest.er1
8941 grep -v '^ *+' conftest.er1
>conftest.err
8943 cat conftest.err
>&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); } &&
8946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8951 (exit $ac_status); }; } &&
8952 { ac_try
='test -s conftest$ac_exeext'
8953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 (exit $ac_status); }; }; then
8958 ac_cv_lib_dld_shl_load
=yes
8960 echo "$as_me: failed program was:" >&5
8961 sed 's/^/| /' conftest.
$ac_ext >&5
8963 ac_cv_lib_dld_shl_load
=no
8965 rm -f conftest.err conftest.
$ac_objext \
8966 conftest
$ac_exeext conftest.
$ac_ext
8967 LIBS
=$ac_check_lib_save_LIBS
8969 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8970 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8971 if test $ac_cv_lib_dld_shl_load = yes; then
8972 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8974 echo "$as_me:$LINENO: checking for dlopen" >&5
8975 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8976 if test "${ac_cv_func_dlopen+set}" = set; then
8977 echo $ECHO_N "(cached) $ECHO_C" >&6
8979 cat >conftest.
$ac_ext <<_ACEOF
8982 cat confdefs.h
>>conftest.
$ac_ext
8983 cat >>conftest.
$ac_ext <<_ACEOF
8984 /* end confdefs.h. */
8985 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8987 #define dlopen innocuous_dlopen
8989 /* System header to define __stub macros and hopefully few prototypes,
8990 which can conflict with char dlopen (); below.
8991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8992 <limits.h> exists even on freestanding compilers. */
8995 # include <limits.h>
8997 # include <assert.h>
9002 /* Override any gcc2 internal prototype to avoid an error. */
9007 /* We use char because int might match the return type of a gcc2
9008 builtin and then its argument prototype would still apply. */
9010 /* The GNU C library defines this for functions which it implements
9011 to always fail with ENOSYS. Some functions are actually named
9012 something starting with __ and the normal name is an alias. */
9013 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9016 char (*f) () = dlopen;
9030 rm -f conftest.
$ac_objext conftest
$ac_exeext
9031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9032 (eval $ac_link) 2>conftest.er1
9034 grep -v '^ *+' conftest.er1
>conftest.err
9036 cat conftest.err
>&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 (exit $ac_status); } &&
9039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); }; } &&
9045 { ac_try
='test -s conftest$ac_exeext'
9046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); }; }; then
9051 ac_cv_func_dlopen
=yes
9053 echo "$as_me: failed program was:" >&5
9054 sed 's/^/| /' conftest.
$ac_ext >&5
9056 ac_cv_func_dlopen
=no
9058 rm -f conftest.err conftest.
$ac_objext \
9059 conftest
$ac_exeext conftest.
$ac_ext
9061 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9062 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9063 if test $ac_cv_func_dlopen = yes; then
9064 lt_cv_dlopen
="dlopen"
9066 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9067 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9068 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9069 echo $ECHO_N "(cached) $ECHO_C" >&6
9071 ac_check_lib_save_LIBS
=$LIBS
9073 cat >conftest.
$ac_ext <<_ACEOF
9076 cat confdefs.h
>>conftest.
$ac_ext
9077 cat >>conftest.
$ac_ext <<_ACEOF
9078 /* end confdefs.h. */
9080 /* Override any gcc2 internal prototype to avoid an error. */
9084 /* We use char because int might match the return type of a gcc2
9085 builtin and then its argument prototype would still apply. */
9095 rm -f conftest.
$ac_objext conftest
$ac_exeext
9096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9097 (eval $ac_link) 2>conftest.er1
9099 grep -v '^ *+' conftest.er1
>conftest.err
9101 cat conftest.err
>&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); } &&
9104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); }; } &&
9110 { ac_try
='test -s conftest$ac_exeext'
9111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); }; }; then
9116 ac_cv_lib_dl_dlopen
=yes
9118 echo "$as_me: failed program was:" >&5
9119 sed 's/^/| /' conftest.
$ac_ext >&5
9121 ac_cv_lib_dl_dlopen
=no
9123 rm -f conftest.err conftest.
$ac_objext \
9124 conftest
$ac_exeext conftest.
$ac_ext
9125 LIBS
=$ac_check_lib_save_LIBS
9127 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9128 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9129 if test $ac_cv_lib_dl_dlopen = yes; then
9130 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9132 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9133 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9134 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9135 echo $ECHO_N "(cached) $ECHO_C" >&6
9137 ac_check_lib_save_LIBS
=$LIBS
9139 cat >conftest.
$ac_ext <<_ACEOF
9142 cat confdefs.h
>>conftest.
$ac_ext
9143 cat >>conftest.
$ac_ext <<_ACEOF
9144 /* end confdefs.h. */
9146 /* Override any gcc2 internal prototype to avoid an error. */
9150 /* We use char because int might match the return type of a gcc2
9151 builtin and then its argument prototype would still apply. */
9161 rm -f conftest.
$ac_objext conftest
$ac_exeext
9162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9163 (eval $ac_link) 2>conftest.er1
9165 grep -v '^ *+' conftest.er1
>conftest.err
9167 cat conftest.err
>&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } &&
9170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175 (exit $ac_status); }; } &&
9176 { ac_try
='test -s conftest$ac_exeext'
9177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 (exit $ac_status); }; }; then
9182 ac_cv_lib_svld_dlopen
=yes
9184 echo "$as_me: failed program was:" >&5
9185 sed 's/^/| /' conftest.
$ac_ext >&5
9187 ac_cv_lib_svld_dlopen
=no
9189 rm -f conftest.err conftest.
$ac_objext \
9190 conftest
$ac_exeext conftest.
$ac_ext
9191 LIBS
=$ac_check_lib_save_LIBS
9193 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9194 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9195 if test $ac_cv_lib_svld_dlopen = yes; then
9196 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9198 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9199 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9200 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 ac_check_lib_save_LIBS
=$LIBS
9205 cat >conftest.
$ac_ext <<_ACEOF
9208 cat confdefs.h
>>conftest.
$ac_ext
9209 cat >>conftest.
$ac_ext <<_ACEOF
9210 /* end confdefs.h. */
9212 /* Override any gcc2 internal prototype to avoid an error. */
9216 /* We use char because int might match the return type of a gcc2
9217 builtin and then its argument prototype would still apply. */
9227 rm -f conftest.
$ac_objext conftest
$ac_exeext
9228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9229 (eval $ac_link) 2>conftest.er1
9231 grep -v '^ *+' conftest.er1
>conftest.err
9233 cat conftest.err
>&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); } &&
9236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); }; } &&
9242 { ac_try
='test -s conftest$ac_exeext'
9243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247 (exit $ac_status); }; }; then
9248 ac_cv_lib_dld_dld_link
=yes
9250 echo "$as_me: failed program was:" >&5
9251 sed 's/^/| /' conftest.
$ac_ext >&5
9253 ac_cv_lib_dld_dld_link
=no
9255 rm -f conftest.err conftest.
$ac_objext \
9256 conftest
$ac_exeext conftest.
$ac_ext
9257 LIBS
=$ac_check_lib_save_LIBS
9259 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9260 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9261 if test $ac_cv_lib_dld_dld_link = yes; then
9262 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9283 if test "x$lt_cv_dlopen" != xno
; then
9289 case $lt_cv_dlopen in
9291 save_CPPFLAGS
="$CPPFLAGS"
9292 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9294 save_LDFLAGS
="$LDFLAGS"
9295 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9298 LIBS
="$lt_cv_dlopen_libs $LIBS"
9300 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9301 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9302 if test "${lt_cv_dlopen_self+set}" = set; then
9303 echo $ECHO_N "(cached) $ECHO_C" >&6
9305 if test "$cross_compiling" = yes; then :
9306 lt_cv_dlopen_self
=cross
9308 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9309 lt_status
=$lt_dlunknown
9310 cat > conftest.
$ac_ext <<_LT_EOF
9311 #line 9311 "configure"
9312 #include "confdefs.h"
9321 # define LT_DLGLOBAL RTLD_GLOBAL
9324 # define LT_DLGLOBAL DL_GLOBAL
9326 # define LT_DLGLOBAL 0
9330 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9331 find out it does not work in some platform. */
9332 #ifndef LT_DLLAZY_OR_NOW
9334 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9337 # define LT_DLLAZY_OR_NOW DL_LAZY
9340 # define LT_DLLAZY_OR_NOW RTLD_NOW
9343 # define LT_DLLAZY_OR_NOW DL_NOW
9345 # define LT_DLLAZY_OR_NOW 0
9353 extern "C" void exit (int);
9356 void fnord() { int i=42;}
9359 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9360 int status = $lt_dlunknown;
9364 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9365 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9366 /* dlclose (self); */
9374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9375 (eval $ac_link) 2>&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9379 (.
/conftest
; exit; ) >&5 2>/dev
/null
9382 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9383 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9384 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9387 # compilation failed
9388 lt_cv_dlopen_self
=no
9395 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9396 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9398 if test "x$lt_cv_dlopen_self" = xyes
; then
9399 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9400 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9401 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9402 if test "${lt_cv_dlopen_self_static+set}" = set; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 if test "$cross_compiling" = yes; then :
9406 lt_cv_dlopen_self_static
=cross
9408 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9409 lt_status
=$lt_dlunknown
9410 cat > conftest.
$ac_ext <<_LT_EOF
9411 #line 9411 "configure"
9412 #include "confdefs.h"
9421 # define LT_DLGLOBAL RTLD_GLOBAL
9424 # define LT_DLGLOBAL DL_GLOBAL
9426 # define LT_DLGLOBAL 0
9430 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9431 find out it does not work in some platform. */
9432 #ifndef LT_DLLAZY_OR_NOW
9434 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9437 # define LT_DLLAZY_OR_NOW DL_LAZY
9440 # define LT_DLLAZY_OR_NOW RTLD_NOW
9443 # define LT_DLLAZY_OR_NOW DL_NOW
9445 # define LT_DLLAZY_OR_NOW 0
9453 extern "C" void exit (int);
9456 void fnord() { int i=42;}
9459 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9460 int status = $lt_dlunknown;
9464 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9465 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9466 /* dlclose (self); */
9474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9475 (eval $ac_link) 2>&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9479 (.
/conftest
; exit; ) >&5 2>/dev
/null
9482 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9483 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9484 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9487 # compilation failed
9488 lt_cv_dlopen_self_static
=no
9495 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9496 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9499 CPPFLAGS
="$save_CPPFLAGS"
9500 LDFLAGS
="$save_LDFLAGS"
9505 case $lt_cv_dlopen_self in
9506 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9507 *) enable_dlopen_self
=unknown
;;
9510 case $lt_cv_dlopen_self_static in
9511 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9512 *) enable_dlopen_self_static
=unknown
;;
9534 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9535 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9536 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9537 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9538 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9539 echo "$as_me:$LINENO: result: yes" >&5
9540 echo "${ECHO_T}yes" >&6
9542 # FIXME - insert some real tests, host_os isn't really good enough
9545 if test -n "$STRIP" ; then
9546 striplib
="$STRIP -x"
9547 old_striplib
="$STRIP -S"
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9556 echo "$as_me:$LINENO: result: no" >&5
9557 echo "${ECHO_T}no" >&6
9573 # Report which library types will actually be built
9574 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9575 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9576 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9577 echo "${ECHO_T}$can_build_shared" >&6
9579 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9580 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9581 test "$can_build_shared" = "no" && enable_shared
=no
9583 # On AIX, shared libraries and static libraries use the same namespace, and
9584 # are all built from PIC.
9587 test "$enable_shared" = yes && enable_static
=no
9588 if test -n "$RANLIB"; then
9589 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9590 postinstall_cmds
='$RANLIB $lib'
9595 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9596 test "$enable_shared" = yes && enable_static
=no
9600 echo "$as_me:$LINENO: result: $enable_shared" >&5
9601 echo "${ECHO_T}$enable_shared" >&6
9603 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9604 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9605 # Make sure either enable_shared or enable_static is yes.
9606 test "$enable_shared" = yes || enable_static
=yes
9607 echo "$as_me:$LINENO: result: $enable_static" >&5
9608 echo "${ECHO_T}$enable_static" >&6
9615 ac_cpp
='$CPP $CPPFLAGS'
9616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9634 ac_config_commands
="$ac_config_commands libtool"
9642 enable_win32_dll
=yes
9645 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
9646 if test -n "$ac_tool_prefix"; then
9647 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9648 set dummy
${ac_tool_prefix}as
; ac_word
=$2
9649 echo "$as_me:$LINENO: checking for $ac_word" >&5
9650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9651 if test "${ac_cv_prog_AS+set}" = set; then
9652 echo $ECHO_N "(cached) $ECHO_C" >&6
9654 if test -n "$AS"; then
9655 ac_cv_prog_AS
="$AS" # Let the user override the test.
9657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9661 test -z "$as_dir" && as_dir
=.
9662 for ac_exec_ext
in '' $ac_executable_extensions; do
9663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9664 ac_cv_prog_AS
="${ac_tool_prefix}as"
9665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9674 if test -n "$AS"; then
9675 echo "$as_me:$LINENO: result: $AS" >&5
9676 echo "${ECHO_T}$AS" >&6
9678 echo "$as_me:$LINENO: result: no" >&5
9679 echo "${ECHO_T}no" >&6
9683 if test -z "$ac_cv_prog_AS"; then
9685 # Extract the first word of "as", so it can be a program name with args.
9686 set dummy as
; ac_word
=$2
9687 echo "$as_me:$LINENO: checking for $ac_word" >&5
9688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9689 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
9690 echo $ECHO_N "(cached) $ECHO_C" >&6
9692 if test -n "$ac_ct_AS"; then
9693 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
9695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9699 test -z "$as_dir" && as_dir
=.
9700 for ac_exec_ext
in '' $ac_executable_extensions; do
9701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9702 ac_cv_prog_ac_ct_AS
="as"
9703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9709 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
9712 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
9713 if test -n "$ac_ct_AS"; then
9714 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
9715 echo "${ECHO_T}$ac_ct_AS" >&6
9717 echo "$as_me:$LINENO: result: no" >&5
9718 echo "${ECHO_T}no" >&6
9726 if test -n "$ac_tool_prefix"; then
9727 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9728 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9729 echo "$as_me:$LINENO: checking for $ac_word" >&5
9730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9731 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9732 echo $ECHO_N "(cached) $ECHO_C" >&6
9734 if test -n "$DLLTOOL"; then
9735 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9741 test -z "$as_dir" && as_dir
=.
9742 for ac_exec_ext
in '' $ac_executable_extensions; do
9743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9744 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9753 DLLTOOL
=$ac_cv_prog_DLLTOOL
9754 if test -n "$DLLTOOL"; then
9755 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9756 echo "${ECHO_T}$DLLTOOL" >&6
9758 echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6
9763 if test -z "$ac_cv_prog_DLLTOOL"; then
9764 ac_ct_DLLTOOL
=$DLLTOOL
9765 # Extract the first word of "dlltool", so it can be a program name with args.
9766 set dummy dlltool
; ac_word
=$2
9767 echo "$as_me:$LINENO: checking for $ac_word" >&5
9768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9769 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
9770 echo $ECHO_N "(cached) $ECHO_C" >&6
9772 if test -n "$ac_ct_DLLTOOL"; then
9773 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9779 test -z "$as_dir" && as_dir
=.
9780 for ac_exec_ext
in '' $ac_executable_extensions; do
9781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9782 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9789 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
9792 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9793 if test -n "$ac_ct_DLLTOOL"; then
9794 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
9795 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9801 DLLTOOL
=$ac_ct_DLLTOOL
9803 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9806 if test -n "$ac_tool_prefix"; then
9807 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9808 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
9809 echo "$as_me:$LINENO: checking for $ac_word" >&5
9810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9811 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
9812 echo $ECHO_N "(cached) $ECHO_C" >&6
9814 if test -n "$OBJDUMP"; then
9815 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
9817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9821 test -z "$as_dir" && as_dir
=.
9822 for ac_exec_ext
in '' $ac_executable_extensions; do
9823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9824 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
9825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9833 OBJDUMP
=$ac_cv_prog_OBJDUMP
9834 if test -n "$OBJDUMP"; then
9835 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
9836 echo "${ECHO_T}$OBJDUMP" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9843 if test -z "$ac_cv_prog_OBJDUMP"; then
9844 ac_ct_OBJDUMP
=$OBJDUMP
9845 # Extract the first word of "objdump", so it can be a program name with args.
9846 set dummy objdump
; ac_word
=$2
9847 echo "$as_me:$LINENO: checking for $ac_word" >&5
9848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9849 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
9850 echo $ECHO_N "(cached) $ECHO_C" >&6
9852 if test -n "$ac_ct_OBJDUMP"; then
9853 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
9855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9859 test -z "$as_dir" && as_dir
=.
9860 for ac_exec_ext
in '' $ac_executable_extensions; do
9861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9862 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
9863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9869 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
9872 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
9873 if test -n "$ac_ct_OBJDUMP"; then
9874 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
9875 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
9877 echo "$as_me:$LINENO: result: no" >&5
9878 echo "${ECHO_T}no" >&6
9881 OBJDUMP
=$ac_ct_OBJDUMP
9883 OBJDUMP
="$ac_cv_prog_OBJDUMP"
9889 test -z "$AS" && AS
=as
9895 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9901 test -z "$OBJDUMP" && OBJDUMP
=objdump
9911 echo "$as_me:$LINENO: checking for main in -lc" >&5
9912 echo $ECHO_N "checking for main in -lc... $ECHO_C" >&6
9913 if test "${ac_cv_lib_c_main+set}" = set; then
9914 echo $ECHO_N "(cached) $ECHO_C" >&6
9916 ac_check_lib_save_LIBS
=$LIBS
9918 cat >conftest.
$ac_ext <<_ACEOF
9921 cat confdefs.h
>>conftest.
$ac_ext
9922 cat >>conftest.
$ac_ext <<_ACEOF
9923 /* end confdefs.h. */
9934 rm -f conftest.
$ac_objext conftest
$ac_exeext
9935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9936 (eval $ac_link) 2>conftest.er1
9938 grep -v '^ *+' conftest.er1
>conftest.err
9940 cat conftest.err
>&5
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); } &&
9943 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); }; } &&
9949 { ac_try
='test -s conftest$ac_exeext'
9950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954 (exit $ac_status); }; }; then
9955 ac_cv_lib_c_main
=yes
9957 echo "$as_me: failed program was:" >&5
9958 sed 's/^/| /' conftest.
$ac_ext >&5
9962 rm -f conftest.err conftest.
$ac_objext \
9963 conftest
$ac_exeext conftest.
$ac_ext
9964 LIBS
=$ac_check_lib_save_LIBS
9966 echo "$as_me:$LINENO: result: $ac_cv_lib_c_main" >&5
9967 echo "${ECHO_T}$ac_cv_lib_c_main" >&6
9968 if test $ac_cv_lib_c_main = yes; then
9969 cat >>confdefs.h
<<_ACEOF
9978 case "$target_os" in
9979 cygwin
* | mingw32
* | beos
* | darwin
*)
9983 echo "$as_me:$LINENO: checking for main in -lm" >&5
9984 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
9985 if test "${ac_cv_lib_m_main+set}" = set; then
9986 echo $ECHO_N "(cached) $ECHO_C" >&6
9988 ac_check_lib_save_LIBS
=$LIBS
9990 cat >conftest.
$ac_ext <<_ACEOF
9993 cat confdefs.h
>>conftest.
$ac_ext
9994 cat >>conftest.
$ac_ext <<_ACEOF
9995 /* end confdefs.h. */
10006 rm -f conftest.
$ac_objext conftest
$ac_exeext
10007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10008 (eval $ac_link) 2>conftest.er1
10010 grep -v '^ *+' conftest.er1
>conftest.err
10012 cat conftest.err
>&5
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); } &&
10015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017 (eval $ac_try) 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; } &&
10021 { ac_try
='test -s conftest$ac_exeext'
10022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10023 (eval $ac_try) 2>&5
10025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026 (exit $ac_status); }; }; then
10027 ac_cv_lib_m_main
=yes
10029 echo "$as_me: failed program was:" >&5
10030 sed 's/^/| /' conftest.
$ac_ext >&5
10032 ac_cv_lib_m_main
=no
10034 rm -f conftest.err conftest.
$ac_objext \
10035 conftest
$ac_exeext conftest.
$ac_ext
10036 LIBS
=$ac_check_lib_save_LIBS
10038 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
10039 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
10040 if test $ac_cv_lib_m_main = yes; then
10041 cat >>confdefs.h
<<_ACEOF
10042 #define HAVE_LIBM 1
10059 for ac_header
in assert.h fcntl.h limits.h malloc.h search.h sys
/time.h unistd.h
10061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10063 echo "$as_me:$LINENO: checking for $ac_header" >&5
10064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10066 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10071 # Is the header compilable?
10072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10074 cat >conftest.
$ac_ext <<_ACEOF
10077 cat confdefs.h
>>conftest.
$ac_ext
10078 cat >>conftest.
$ac_ext <<_ACEOF
10079 /* end confdefs.h. */
10080 $ac_includes_default
10081 #include <$ac_header>
10083 rm -f conftest.
$ac_objext
10084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10085 (eval $ac_compile) 2>conftest.er1
10087 grep -v '^ *+' conftest.er1
>conftest.err
10089 cat conftest.err
>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); } &&
10092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10094 (eval $ac_try) 2>&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); }; } &&
10098 { ac_try
='test -s conftest.$ac_objext'
10099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10100 (eval $ac_try) 2>&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); }; }; then
10104 ac_header_compiler
=yes
10106 echo "$as_me: failed program was:" >&5
10107 sed 's/^/| /' conftest.
$ac_ext >&5
10109 ac_header_compiler
=no
10111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10113 echo "${ECHO_T}$ac_header_compiler" >&6
10115 # Is the header present?
10116 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10117 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10118 cat >conftest.
$ac_ext <<_ACEOF
10121 cat confdefs.h
>>conftest.
$ac_ext
10122 cat >>conftest.
$ac_ext <<_ACEOF
10123 /* end confdefs.h. */
10124 #include <$ac_header>
10126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10129 grep -v '^ *+' conftest.er1
>conftest.err
10131 cat conftest.err
>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } >/dev
/null
; then
10134 if test -s conftest.err
; then
10135 ac_cpp_err
=$ac_c_preproc_warn_flag
10136 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10143 if test -z "$ac_cpp_err"; then
10144 ac_header_preproc
=yes
10146 echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.
$ac_ext >&5
10149 ac_header_preproc
=no
10151 rm -f conftest.err conftest.
$ac_ext
10152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10153 echo "${ECHO_T}$ac_header_preproc" >&6
10155 # So? What about this header?
10156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10161 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10162 ac_header_preproc
=yes
10165 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10167 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10168 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10169 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10170 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10171 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10172 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10174 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10175 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10176 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10179 ## -------------------------------------- ##
10180 ## Report this to tiff@lists.maptools.org ##
10181 ## -------------------------------------- ##
10184 sed "s/^/$as_me: WARNING: /" >&2
10187 echo "$as_me:$LINENO: checking for $ac_header" >&5
10188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10192 eval "$as_ac_Header=\$ac_header_preproc"
10194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10199 cat >>confdefs.h
<<_ACEOF
10200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10208 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10209 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10210 if test "${ac_cv_c_const+set}" = set; then
10211 echo $ECHO_N "(cached) $ECHO_C" >&6
10213 cat >conftest.
$ac_ext <<_ACEOF
10216 cat confdefs.h
>>conftest.
$ac_ext
10217 cat >>conftest.
$ac_ext <<_ACEOF
10218 /* end confdefs.h. */
10223 /* FIXME: Include the comments suggested by Paul. */
10224 #ifndef __cplusplus
10225 /* Ultrix mips cc rejects this. */
10226 typedef int charset[2];
10228 /* SunOS 4.1.1 cc rejects this. */
10229 char const *const *ccp;
10231 /* NEC SVR4.0.2 mips cc rejects this. */
10232 struct point {int x, y;};
10233 static struct point const zero = {0,0};
10234 /* AIX XL C 1.02.0.0 rejects this.
10235 It does not let you subtract one const X* pointer from another in
10236 an arm of an if-expression whose if-part is not a constant
10238 const char *g = "string";
10239 ccp = &g + (g ? g-g : 0);
10240 /* HPUX 7.0 cc rejects these. */
10243 ccp = (char const *const *) p;
10244 { /* SCO 3.2v4 cc rejects this. */
10246 char const *s = 0 ? (char *) 0 : (char const *) 0;
10250 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10251 int x[] = {25, 17};
10252 const int *foo = &x[0];
10255 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10256 typedef const int *iptr;
10260 { /* AIX XL C 1.02.0.0 rejects this saying
10261 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10262 struct s { int j; const int *ap[3]; };
10263 struct s *b; b->j = 5;
10265 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10266 const int foo = 10;
10274 rm -f conftest.
$ac_objext
10275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10276 (eval $ac_compile) 2>conftest.er1
10278 grep -v '^ *+' conftest.er1
>conftest.err
10280 cat conftest.err
>&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); } &&
10283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10285 (eval $ac_try) 2>&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); }; } &&
10289 { ac_try
='test -s conftest.$ac_objext'
10290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10291 (eval $ac_try) 2>&5
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); }; }; then
10297 echo "$as_me: failed program was:" >&5
10298 sed 's/^/| /' conftest.
$ac_ext >&5
10302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10304 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10305 echo "${ECHO_T}$ac_cv_c_const" >&6
10306 if test $ac_cv_c_const = no
; then
10308 cat >>confdefs.h
<<\_ACEOF
10314 echo "$as_me:$LINENO: checking for inline" >&5
10315 echo $ECHO_N "checking for inline... $ECHO_C" >&6
10316 if test "${ac_cv_c_inline+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10320 for ac_kw
in inline __inline__ __inline
; do
10321 cat >conftest.
$ac_ext <<_ACEOF
10324 cat confdefs.h
>>conftest.
$ac_ext
10325 cat >>conftest.
$ac_ext <<_ACEOF
10326 /* end confdefs.h. */
10327 #ifndef __cplusplus
10329 static $ac_kw foo_t static_foo () {return 0; }
10330 $ac_kw foo_t foo () {return 0; }
10334 rm -f conftest.
$ac_objext
10335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10336 (eval $ac_compile) 2>conftest.er1
10338 grep -v '^ *+' conftest.er1
>conftest.err
10340 cat conftest.err
>&5
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); } &&
10343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; } &&
10349 { ac_try
='test -s conftest.$ac_objext'
10350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10351 (eval $ac_try) 2>&5
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); }; }; then
10355 ac_cv_c_inline
=$ac_kw; break
10357 echo "$as_me: failed program was:" >&5
10358 sed 's/^/| /' conftest.
$ac_ext >&5
10361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10365 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10366 echo "${ECHO_T}$ac_cv_c_inline" >&6
10369 case $ac_cv_c_inline in
10372 case $ac_cv_c_inline in
10374 *) ac_val
=$ac_cv_c_inline;;
10376 cat >>confdefs.h
<<_ACEOF
10377 #ifndef __cplusplus
10378 #define inline $ac_val
10384 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
10385 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
10386 if test "${ac_cv_c_bigendian+set}" = set; then
10387 echo $ECHO_N "(cached) $ECHO_C" >&6
10389 # See if sys/param.h defines the BYTE_ORDER macro.
10390 cat >conftest.
$ac_ext <<_ACEOF
10393 cat confdefs.h
>>conftest.
$ac_ext
10394 cat >>conftest.
$ac_ext <<_ACEOF
10395 /* end confdefs.h. */
10396 #include <sys/types.h>
10397 #include <sys/param.h>
10402 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10403 bogus endian macros
10410 rm -f conftest.
$ac_objext
10411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10412 (eval $ac_compile) 2>conftest.er1
10414 grep -v '^ *+' conftest.er1
>conftest.err
10416 cat conftest.err
>&5
10417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 (exit $ac_status); } &&
10419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10421 (eval $ac_try) 2>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }; } &&
10425 { ac_try
='test -s conftest.$ac_objext'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; }; then
10431 # It does; now see whether it defined to BIG_ENDIAN or not.
10432 cat >conftest.
$ac_ext <<_ACEOF
10435 cat confdefs.h
>>conftest.
$ac_ext
10436 cat >>conftest.
$ac_ext <<_ACEOF
10437 /* end confdefs.h. */
10438 #include <sys/types.h>
10439 #include <sys/param.h>
10444 #if BYTE_ORDER != BIG_ENDIAN
10452 rm -f conftest.
$ac_objext
10453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10454 (eval $ac_compile) 2>conftest.er1
10456 grep -v '^ *+' conftest.er1
>conftest.err
10458 cat conftest.err
>&5
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); } &&
10461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463 (eval $ac_try) 2>&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); }; } &&
10467 { ac_try
='test -s conftest.$ac_objext'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; }; then
10473 ac_cv_c_bigendian
=yes
10475 echo "$as_me: failed program was:" >&5
10476 sed 's/^/| /' conftest.
$ac_ext >&5
10478 ac_cv_c_bigendian
=no
10480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10482 echo "$as_me: failed program was:" >&5
10483 sed 's/^/| /' conftest.
$ac_ext >&5
10485 # It does not; compile a test program.
10486 if test "$cross_compiling" = yes; then
10487 # try to guess the endianness by grepping values into an object file
10488 ac_cv_c_bigendian
=unknown
10489 cat >conftest.
$ac_ext <<_ACEOF
10492 cat confdefs.h
>>conftest.
$ac_ext
10493 cat >>conftest.
$ac_ext <<_ACEOF
10494 /* end confdefs.h. */
10495 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
10496 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
10497 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
10498 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
10499 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
10500 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
10504 _ascii (); _ebcdic ();
10509 rm -f conftest.
$ac_objext
10510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10511 (eval $ac_compile) 2>conftest.er1
10513 grep -v '^ *+' conftest.er1
>conftest.err
10515 cat conftest.err
>&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); } &&
10518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10520 (eval $ac_try) 2>&5
10522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523 (exit $ac_status); }; } &&
10524 { ac_try
='test -s conftest.$ac_objext'
10525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10526 (eval $ac_try) 2>&5
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); }; }; then
10530 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
10531 ac_cv_c_bigendian
=yes
10533 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
10534 if test "$ac_cv_c_bigendian" = unknown
; then
10535 ac_cv_c_bigendian
=no
10537 # finding both strings is unlikely to happen, but who knows?
10538 ac_cv_c_bigendian
=unknown
10542 echo "$as_me: failed program was:" >&5
10543 sed 's/^/| /' conftest.
$ac_ext >&5
10546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10548 cat >conftest.
$ac_ext <<_ACEOF
10551 cat confdefs.h
>>conftest.
$ac_ext
10552 cat >>conftest.
$ac_ext <<_ACEOF
10553 /* end confdefs.h. */
10557 /* Are we little or big endian? From Harbison&Steele. */
10561 char c[sizeof (long)];
10564 exit (u.c[sizeof (long) - 1] == 1);
10567 rm -f conftest
$ac_exeext
10568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10569 (eval $ac_link) 2>&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10574 (eval $ac_try) 2>&5
10576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 (exit $ac_status); }; }; then
10578 ac_cv_c_bigendian
=no
10580 echo "$as_me: program exited with status $ac_status" >&5
10581 echo "$as_me: failed program was:" >&5
10582 sed 's/^/| /' conftest.
$ac_ext >&5
10584 ( exit $ac_status )
10585 ac_cv_c_bigendian
=yes
10587 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10592 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
10593 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
10594 case $ac_cv_c_bigendian in
10597 cat >>confdefs.h
<<\_ACEOF
10598 #define WORDS_BIGENDIAN 1
10604 { { echo "$as_me:$LINENO: error: unknown endianness
10605 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
10606 echo "$as_me: error: unknown endianness
10607 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
10608 { (exit 1); exit 1; }; } ;;
10611 echo "$as_me:$LINENO: checking for off_t" >&5
10612 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
10613 if test "${ac_cv_type_off_t+set}" = set; then
10614 echo $ECHO_N "(cached) $ECHO_C" >&6
10616 cat >conftest.
$ac_ext <<_ACEOF
10619 cat confdefs.h
>>conftest.
$ac_ext
10620 cat >>conftest.
$ac_ext <<_ACEOF
10621 /* end confdefs.h. */
10622 $ac_includes_default
10628 if (sizeof (off_t))
10634 rm -f conftest.
$ac_objext
10635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10636 (eval $ac_compile) 2>conftest.er1
10638 grep -v '^ *+' conftest.er1
>conftest.err
10640 cat conftest.err
>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } &&
10643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10645 (eval $ac_try) 2>&5
10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); }; } &&
10649 { ac_try
='test -s conftest.$ac_objext'
10650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10651 (eval $ac_try) 2>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); }; }; then
10655 ac_cv_type_off_t
=yes
10657 echo "$as_me: failed program was:" >&5
10658 sed 's/^/| /' conftest.
$ac_ext >&5
10660 ac_cv_type_off_t
=no
10662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10664 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
10665 echo "${ECHO_T}$ac_cv_type_off_t" >&6
10666 if test $ac_cv_type_off_t = yes; then
10670 cat >>confdefs.h
<<_ACEOF
10676 echo "$as_me:$LINENO: checking for size_t" >&5
10677 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
10678 if test "${ac_cv_type_size_t+set}" = set; then
10679 echo $ECHO_N "(cached) $ECHO_C" >&6
10681 cat >conftest.
$ac_ext <<_ACEOF
10684 cat confdefs.h
>>conftest.
$ac_ext
10685 cat >>conftest.
$ac_ext <<_ACEOF
10686 /* end confdefs.h. */
10687 $ac_includes_default
10693 if (sizeof (size_t))
10699 rm -f conftest.
$ac_objext
10700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10701 (eval $ac_compile) 2>conftest.er1
10703 grep -v '^ *+' conftest.er1
>conftest.err
10705 cat conftest.err
>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try
='test -s conftest.$ac_objext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_cv_type_size_t
=yes
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.
$ac_ext >&5
10725 ac_cv_type_size_t
=no
10727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10729 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10730 echo "${ECHO_T}$ac_cv_type_size_t" >&6
10731 if test $ac_cv_type_size_t = yes; then
10735 cat >>confdefs.h
<<_ACEOF
10736 #define size_t unsigned
10741 echo "$as_me:$LINENO: checking for int" >&5
10742 echo $ECHO_N "checking for int... $ECHO_C" >&6
10743 if test "${ac_cv_type_int+set}" = set; then
10744 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 cat >conftest.
$ac_ext <<_ACEOF
10749 cat confdefs.h
>>conftest.
$ac_ext
10750 cat >>conftest.
$ac_ext <<_ACEOF
10751 /* end confdefs.h. */
10752 $ac_includes_default
10764 rm -f conftest.
$ac_objext
10765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10766 (eval $ac_compile) 2>conftest.er1
10768 grep -v '^ *+' conftest.er1
>conftest.err
10770 cat conftest.err
>&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } &&
10773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10775 (eval $ac_try) 2>&5
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 (exit $ac_status); }; } &&
10779 { ac_try
='test -s conftest.$ac_objext'
10780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10781 (eval $ac_try) 2>&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); }; }; then
10787 echo "$as_me: failed program was:" >&5
10788 sed 's/^/| /' conftest.
$ac_ext >&5
10792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10794 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
10795 echo "${ECHO_T}$ac_cv_type_int" >&6
10797 echo "$as_me:$LINENO: checking size of int" >&5
10798 echo $ECHO_N "checking size of int... $ECHO_C" >&6
10799 if test "${ac_cv_sizeof_int+set}" = set; then
10800 echo $ECHO_N "(cached) $ECHO_C" >&6
10802 if test "$ac_cv_type_int" = yes; then
10803 # The cast to unsigned long works around a bug in the HP C Compiler
10804 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10806 # This bug is HP SR number 8606223364.
10807 if test "$cross_compiling" = yes; then
10808 # Depending upon the size, compute the lo and hi bounds.
10809 cat >conftest.
$ac_ext <<_ACEOF
10812 cat confdefs.h
>>conftest.
$ac_ext
10813 cat >>conftest.
$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10815 $ac_includes_default
10819 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
10826 rm -f conftest.
$ac_objext
10827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10828 (eval $ac_compile) 2>conftest.er1
10830 grep -v '^ *+' conftest.er1
>conftest.err
10832 cat conftest.err
>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } &&
10835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10837 (eval $ac_try) 2>&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); }; } &&
10841 { ac_try
='test -s conftest.$ac_objext'
10842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10843 (eval $ac_try) 2>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }; }; then
10849 cat >conftest.
$ac_ext <<_ACEOF
10852 cat confdefs.h
>>conftest.
$ac_ext
10853 cat >>conftest.
$ac_ext <<_ACEOF
10854 /* end confdefs.h. */
10855 $ac_includes_default
10859 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
10866 rm -f conftest.
$ac_objext
10867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10868 (eval $ac_compile) 2>conftest.er1
10870 grep -v '^ *+' conftest.er1
>conftest.err
10872 cat conftest.err
>&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); } &&
10875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10877 (eval $ac_try) 2>&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); }; } &&
10881 { ac_try
='test -s conftest.$ac_objext'
10882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10883 (eval $ac_try) 2>&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); }; }; then
10887 ac_hi
=$ac_mid; break
10889 echo "$as_me: failed program was:" >&5
10890 sed 's/^/| /' conftest.
$ac_ext >&5
10892 ac_lo
=`expr $ac_mid + 1`
10893 if test $ac_lo -le $ac_mid; then
10897 ac_mid
=`expr 2 '*' $ac_mid + 1`
10899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10902 echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.
$ac_ext >&5
10905 cat >conftest.
$ac_ext <<_ACEOF
10908 cat confdefs.h
>>conftest.
$ac_ext
10909 cat >>conftest.
$ac_ext <<_ACEOF
10910 /* end confdefs.h. */
10911 $ac_includes_default
10915 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
10922 rm -f conftest.
$ac_objext
10923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10924 (eval $ac_compile) 2>conftest.er1
10926 grep -v '^ *+' conftest.er1
>conftest.err
10928 cat conftest.err
>&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); } &&
10931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10933 (eval $ac_try) 2>&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); }; } &&
10937 { ac_try
='test -s conftest.$ac_objext'
10938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10939 (eval $ac_try) 2>&5
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }; }; then
10945 cat >conftest.
$ac_ext <<_ACEOF
10948 cat confdefs.h
>>conftest.
$ac_ext
10949 cat >>conftest.
$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10951 $ac_includes_default
10955 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
10962 rm -f conftest.
$ac_objext
10963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10964 (eval $ac_compile) 2>conftest.er1
10966 grep -v '^ *+' conftest.er1
>conftest.err
10968 cat conftest.err
>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } &&
10971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10973 (eval $ac_try) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; } &&
10977 { ac_try
='test -s conftest.$ac_objext'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; }; then
10983 ac_lo
=$ac_mid; break
10985 echo "$as_me: failed program was:" >&5
10986 sed 's/^/| /' conftest.
$ac_ext >&5
10988 ac_hi
=`expr '(' $ac_mid ')' - 1`
10989 if test $ac_mid -le $ac_hi; then
10993 ac_mid
=`expr 2 '*' $ac_mid`
10995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.
$ac_ext >&5
11003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11006 # Binary search between lo and hi bounds.
11007 while test "x$ac_lo" != "x$ac_hi"; do
11008 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11009 cat >conftest.
$ac_ext <<_ACEOF
11012 cat confdefs.h
>>conftest.
$ac_ext
11013 cat >>conftest.
$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 $ac_includes_default
11019 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
11026 rm -f conftest.
$ac_objext
11027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11028 (eval $ac_compile) 2>conftest.er1
11030 grep -v '^ *+' conftest.er1
>conftest.err
11032 cat conftest.err
>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); } &&
11035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11037 (eval $ac_try) 2>&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); }; } &&
11041 { ac_try
='test -s conftest.$ac_objext'
11042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11043 (eval $ac_try) 2>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }; }; then
11049 echo "$as_me: failed program was:" >&5
11050 sed 's/^/| /' conftest.
$ac_ext >&5
11052 ac_lo
=`expr '(' $ac_mid ')' + 1`
11054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11057 ?
*) ac_cv_sizeof_int
=$ac_lo;;
11058 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
11059 See \`config.log' for more details." >&5
11060 echo "$as_me: error: cannot compute sizeof (int), 77
11061 See \`config.log' for more details." >&2;}
11062 { (exit 1); exit 1; }; } ;;
11065 if test "$cross_compiling" = yes; then
11066 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
11067 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
11068 { (exit 1); exit 1; }; }
11070 cat >conftest.
$ac_ext <<_ACEOF
11073 cat confdefs.h
>>conftest.
$ac_ext
11074 cat >>conftest.
$ac_ext <<_ACEOF
11075 /* end confdefs.h. */
11076 $ac_includes_default
11077 long longval () { return (long) (sizeof (int)); }
11078 unsigned long ulongval () { return (long) (sizeof (int)); }
11080 #include <stdlib.h>
11085 FILE *f = fopen ("conftest.val", "w");
11088 if (((long) (sizeof (int))) < 0)
11090 long i = longval ();
11091 if (i != ((long) (sizeof (int))))
11093 fprintf (f, "%ld\n", i);
11097 unsigned long i = ulongval ();
11098 if (i != ((long) (sizeof (int))))
11100 fprintf (f, "%lu\n", i);
11102 exit (ferror (f) || fclose (f) != 0);
11108 rm -f conftest
$ac_exeext
11109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11110 (eval $ac_link) 2>&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11115 (eval $ac_try) 2>&5
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); }; }; then
11119 ac_cv_sizeof_int
=`cat conftest.val`
11121 echo "$as_me: program exited with status $ac_status" >&5
11122 echo "$as_me: failed program was:" >&5
11123 sed 's/^/| /' conftest.
$ac_ext >&5
11125 ( exit $ac_status )
11126 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
11127 See \`config.log' for more details." >&5
11128 echo "$as_me: error: cannot compute sizeof (int), 77
11129 See \`config.log' for more details." >&2;}
11130 { (exit 1); exit 1; }; }
11132 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11140 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
11141 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
11142 cat >>confdefs.h
<<_ACEOF
11143 #define SIZEOF_INT $ac_cv_sizeof_int
11147 echo "$as_me:$LINENO: checking for long" >&5
11148 echo $ECHO_N "checking for long... $ECHO_C" >&6
11149 if test "${ac_cv_type_long+set}" = set; then
11150 echo $ECHO_N "(cached) $ECHO_C" >&6
11152 cat >conftest.
$ac_ext <<_ACEOF
11155 cat confdefs.h
>>conftest.
$ac_ext
11156 cat >>conftest.
$ac_ext <<_ACEOF
11157 /* end confdefs.h. */
11158 $ac_includes_default
11170 rm -f conftest.
$ac_objext
11171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11172 (eval $ac_compile) 2>conftest.er1
11174 grep -v '^ *+' conftest.er1
>conftest.err
11176 cat conftest.err
>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } &&
11179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11181 (eval $ac_try) 2>&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); }; } &&
11185 { ac_try
='test -s conftest.$ac_objext'
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; }; then
11191 ac_cv_type_long
=yes
11193 echo "$as_me: failed program was:" >&5
11194 sed 's/^/| /' conftest.
$ac_ext >&5
11198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11200 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
11201 echo "${ECHO_T}$ac_cv_type_long" >&6
11203 echo "$as_me:$LINENO: checking size of long" >&5
11204 echo $ECHO_N "checking size of long... $ECHO_C" >&6
11205 if test "${ac_cv_sizeof_long+set}" = set; then
11206 echo $ECHO_N "(cached) $ECHO_C" >&6
11208 if test "$ac_cv_type_long" = yes; then
11209 # The cast to unsigned long works around a bug in the HP C Compiler
11210 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11211 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11212 # This bug is HP SR number 8606223364.
11213 if test "$cross_compiling" = yes; then
11214 # Depending upon the size, compute the lo and hi bounds.
11215 cat >conftest.
$ac_ext <<_ACEOF
11218 cat confdefs.h
>>conftest.
$ac_ext
11219 cat >>conftest.
$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11221 $ac_includes_default
11225 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
11232 rm -f conftest.
$ac_objext
11233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11234 (eval $ac_compile) 2>conftest.er1
11236 grep -v '^ *+' conftest.er1
>conftest.err
11238 cat conftest.err
>&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } &&
11241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11243 (eval $ac_try) 2>&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); }; } &&
11247 { ac_try
='test -s conftest.$ac_objext'
11248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11249 (eval $ac_try) 2>&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); }; }; then
11255 cat >conftest.
$ac_ext <<_ACEOF
11258 cat confdefs.h
>>conftest.
$ac_ext
11259 cat >>conftest.
$ac_ext <<_ACEOF
11260 /* end confdefs.h. */
11261 $ac_includes_default
11265 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
11272 rm -f conftest.
$ac_objext
11273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11274 (eval $ac_compile) 2>conftest.er1
11276 grep -v '^ *+' conftest.er1
>conftest.err
11278 cat conftest.err
>&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); } &&
11281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11283 (eval $ac_try) 2>&5
11285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286 (exit $ac_status); }; } &&
11287 { ac_try
='test -s conftest.$ac_objext'
11288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11289 (eval $ac_try) 2>&5
11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292 (exit $ac_status); }; }; then
11293 ac_hi
=$ac_mid; break
11295 echo "$as_me: failed program was:" >&5
11296 sed 's/^/| /' conftest.
$ac_ext >&5
11298 ac_lo
=`expr $ac_mid + 1`
11299 if test $ac_lo -le $ac_mid; then
11303 ac_mid
=`expr 2 '*' $ac_mid + 1`
11305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.
$ac_ext >&5
11311 cat >conftest.
$ac_ext <<_ACEOF
11314 cat confdefs.h
>>conftest.
$ac_ext
11315 cat >>conftest.
$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11317 $ac_includes_default
11321 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
11328 rm -f conftest.
$ac_objext
11329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11330 (eval $ac_compile) 2>conftest.er1
11332 grep -v '^ *+' conftest.er1
>conftest.err
11334 cat conftest.err
>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } &&
11337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11339 (eval $ac_try) 2>&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); }; } &&
11343 { ac_try
='test -s conftest.$ac_objext'
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11345 (eval $ac_try) 2>&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; }; then
11351 cat >conftest.
$ac_ext <<_ACEOF
11354 cat confdefs.h
>>conftest.
$ac_ext
11355 cat >>conftest.
$ac_ext <<_ACEOF
11356 /* end confdefs.h. */
11357 $ac_includes_default
11361 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
11368 rm -f conftest.
$ac_objext
11369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11370 (eval $ac_compile) 2>conftest.er1
11372 grep -v '^ *+' conftest.er1
>conftest.err
11374 cat conftest.err
>&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); } &&
11377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11379 (eval $ac_try) 2>&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); }; } &&
11383 { ac_try
='test -s conftest.$ac_objext'
11384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11385 (eval $ac_try) 2>&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); }; }; then
11389 ac_lo
=$ac_mid; break
11391 echo "$as_me: failed program was:" >&5
11392 sed 's/^/| /' conftest.
$ac_ext >&5
11394 ac_hi
=`expr '(' $ac_mid ')' - 1`
11395 if test $ac_mid -le $ac_hi; then
11399 ac_mid
=`expr 2 '*' $ac_mid`
11401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11404 echo "$as_me: failed program was:" >&5
11405 sed 's/^/| /' conftest.
$ac_ext >&5
11409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11412 # Binary search between lo and hi bounds.
11413 while test "x$ac_lo" != "x$ac_hi"; do
11414 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11415 cat >conftest.
$ac_ext <<_ACEOF
11418 cat confdefs.h
>>conftest.
$ac_ext
11419 cat >>conftest.
$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11421 $ac_includes_default
11425 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
11432 rm -f conftest.
$ac_objext
11433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11434 (eval $ac_compile) 2>conftest.er1
11436 grep -v '^ *+' conftest.er1
>conftest.err
11438 cat conftest.err
>&5
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); } &&
11441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11443 (eval $ac_try) 2>&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); }; } &&
11447 { ac_try
='test -s conftest.$ac_objext'
11448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11449 (eval $ac_try) 2>&5
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); }; }; then
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.
$ac_ext >&5
11458 ac_lo
=`expr '(' $ac_mid ')' + 1`
11460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11463 ?
*) ac_cv_sizeof_long
=$ac_lo;;
11464 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
11465 See \`config.log' for more details." >&5
11466 echo "$as_me: error: cannot compute sizeof (long), 77
11467 See \`config.log' for more details." >&2;}
11468 { (exit 1); exit 1; }; } ;;
11471 if test "$cross_compiling" = yes; then
11472 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
11473 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
11474 { (exit 1); exit 1; }; }
11476 cat >conftest.
$ac_ext <<_ACEOF
11479 cat confdefs.h
>>conftest.
$ac_ext
11480 cat >>conftest.
$ac_ext <<_ACEOF
11481 /* end confdefs.h. */
11482 $ac_includes_default
11483 long longval () { return (long) (sizeof (long)); }
11484 unsigned long ulongval () { return (long) (sizeof (long)); }
11486 #include <stdlib.h>
11491 FILE *f = fopen ("conftest.val", "w");
11494 if (((long) (sizeof (long))) < 0)
11496 long i = longval ();
11497 if (i != ((long) (sizeof (long))))
11499 fprintf (f, "%ld\n", i);
11503 unsigned long i = ulongval ();
11504 if (i != ((long) (sizeof (long))))
11506 fprintf (f, "%lu\n", i);
11508 exit (ferror (f) || fclose (f) != 0);
11514 rm -f conftest
$ac_exeext
11515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11516 (eval $ac_link) 2>&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; }; then
11525 ac_cv_sizeof_long
=`cat conftest.val`
11527 echo "$as_me: program exited with status $ac_status" >&5
11528 echo "$as_me: failed program was:" >&5
11529 sed 's/^/| /' conftest.
$ac_ext >&5
11531 ( exit $ac_status )
11532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
11533 See \`config.log' for more details." >&5
11534 echo "$as_me: error: cannot compute sizeof (long), 77
11535 See \`config.log' for more details." >&2;}
11536 { (exit 1); exit 1; }; }
11538 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11543 ac_cv_sizeof_long
=0
11546 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
11547 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
11548 cat >>confdefs.h
<<_ACEOF
11549 #define SIZEOF_LONG $ac_cv_sizeof_long
11553 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11554 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
11555 if test "${ac_cv_header_time+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 cat >conftest.
$ac_ext <<_ACEOF
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 #include <sys/types.h>
11565 #include <sys/time.h>
11571 if ((struct tm *) 0)
11577 rm -f conftest.
$ac_objext
11578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11579 (eval $ac_compile) 2>conftest.er1
11581 grep -v '^ *+' conftest.er1
>conftest.err
11583 cat conftest.err
>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); } &&
11586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11588 (eval $ac_try) 2>&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); }; } &&
11592 { ac_try
='test -s conftest.$ac_objext'
11593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11594 (eval $ac_try) 2>&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); }; }; then
11598 ac_cv_header_time
=yes
11600 echo "$as_me: failed program was:" >&5
11601 sed 's/^/| /' conftest.
$ac_ext >&5
11603 ac_cv_header_time
=no
11605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11607 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11608 echo "${ECHO_T}$ac_cv_header_time" >&6
11609 if test $ac_cv_header_time = yes; then
11611 cat >>confdefs.h
<<\_ACEOF
11612 #define TIME_WITH_SYS_TIME 1
11617 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
11618 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
11619 if test "${ac_cv_struct_tm+set}" = set; then
11620 echo $ECHO_N "(cached) $ECHO_C" >&6
11622 cat >conftest.
$ac_ext <<_ACEOF
11625 cat confdefs.h
>>conftest.
$ac_ext
11626 cat >>conftest.
$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11628 #include <sys/types.h>
11634 struct tm *tp; tp->tm_sec;
11639 rm -f conftest.
$ac_objext
11640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11641 (eval $ac_compile) 2>conftest.er1
11643 grep -v '^ *+' conftest.er1
>conftest.err
11645 cat conftest.err
>&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } &&
11648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11650 (eval $ac_try) 2>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); }; } &&
11654 { ac_try
='test -s conftest.$ac_objext'
11655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11656 (eval $ac_try) 2>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); }; }; then
11660 ac_cv_struct_tm
=time.h
11662 echo "$as_me: failed program was:" >&5
11663 sed 's/^/| /' conftest.
$ac_ext >&5
11665 ac_cv_struct_tm
=sys
/time.h
11667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11669 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
11670 echo "${ECHO_T}$ac_cv_struct_tm" >&6
11671 if test $ac_cv_struct_tm = sys
/time.h
; then
11673 cat >>confdefs.h
<<\_ACEOF
11674 #define TM_IN_SYS_TIME 1
11679 echo "$as_me:$LINENO: checking for int8" >&5
11680 echo $ECHO_N "checking for int8... $ECHO_C" >&6
11681 if test "${ac_cv_type_int8+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 cat >conftest.
$ac_ext <<_ACEOF
11687 cat confdefs.h
>>conftest.
$ac_ext
11688 cat >>conftest.
$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11691 #if HAVE_INTTYPES_H
11692 # include <inttypes.h>
11707 rm -f conftest.
$ac_objext
11708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11709 (eval $ac_compile) 2>conftest.er1
11711 grep -v '^ *+' conftest.er1
>conftest.err
11713 cat conftest.err
>&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); } &&
11716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; } &&
11722 { ac_try
='test -s conftest.$ac_objext'
11723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 ac_cv_type_int8
=yes
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.
$ac_ext >&5
11735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11737 echo "$as_me:$LINENO: result: $ac_cv_type_int8" >&5
11738 echo "${ECHO_T}$ac_cv_type_int8" >&6
11739 if test $ac_cv_type_int8 = yes; then
11741 cat >>confdefs.h
<<_ACEOF
11742 #define HAVE_INT8 1
11747 echo "$as_me:$LINENO: checking for int16" >&5
11748 echo $ECHO_N "checking for int16... $ECHO_C" >&6
11749 if test "${ac_cv_type_int16+set}" = set; then
11750 echo $ECHO_N "(cached) $ECHO_C" >&6
11752 cat >conftest.
$ac_ext <<_ACEOF
11755 cat confdefs.h
>>conftest.
$ac_ext
11756 cat >>conftest.
$ac_ext <<_ACEOF
11757 /* end confdefs.h. */
11759 #if HAVE_INTTYPES_H
11760 # include <inttypes.h>
11769 if (sizeof (int16))
11775 rm -f conftest.
$ac_objext
11776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11777 (eval $ac_compile) 2>conftest.er1
11779 grep -v '^ *+' conftest.er1
>conftest.err
11781 cat conftest.err
>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } &&
11784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; } &&
11790 { ac_try
='test -s conftest.$ac_objext'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; }; then
11796 ac_cv_type_int16
=yes
11798 echo "$as_me: failed program was:" >&5
11799 sed 's/^/| /' conftest.
$ac_ext >&5
11801 ac_cv_type_int16
=no
11803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11805 echo "$as_me:$LINENO: result: $ac_cv_type_int16" >&5
11806 echo "${ECHO_T}$ac_cv_type_int16" >&6
11807 if test $ac_cv_type_int16 = yes; then
11809 cat >>confdefs.h
<<_ACEOF
11810 #define HAVE_INT16 1
11815 echo "$as_me:$LINENO: checking for int32" >&5
11816 echo $ECHO_N "checking for int32... $ECHO_C" >&6
11817 if test "${ac_cv_type_int32+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 cat >conftest.
$ac_ext <<_ACEOF
11823 cat confdefs.h
>>conftest.
$ac_ext
11824 cat >>conftest.
$ac_ext <<_ACEOF
11825 /* end confdefs.h. */
11827 #if HAVE_INTTYPES_H
11828 # include <inttypes.h>
11837 if (sizeof (int32))
11843 rm -f conftest.
$ac_objext
11844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11845 (eval $ac_compile) 2>conftest.er1
11847 grep -v '^ *+' conftest.er1
>conftest.err
11849 cat conftest.err
>&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); } &&
11852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11854 (eval $ac_try) 2>&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }; } &&
11858 { ac_try
='test -s conftest.$ac_objext'
11859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11860 (eval $ac_try) 2>&5
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); }; }; then
11864 ac_cv_type_int32
=yes
11866 echo "$as_me: failed program was:" >&5
11867 sed 's/^/| /' conftest.
$ac_ext >&5
11869 ac_cv_type_int32
=no
11871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11873 echo "$as_me:$LINENO: result: $ac_cv_type_int32" >&5
11874 echo "${ECHO_T}$ac_cv_type_int32" >&6
11875 if test $ac_cv_type_int32 = yes; then
11877 cat >>confdefs.h
<<_ACEOF
11878 #define HAVE_INT32 1
11896 for ac_func
in floor isascii memmove memset mmap pow sqrt strchr strrchr strstr strtol
11898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11899 echo "$as_me:$LINENO: checking for $ac_func" >&5
11900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11901 if eval "test \"\${$as_ac_var+set}\" = set"; then
11902 echo $ECHO_N "(cached) $ECHO_C" >&6
11904 cat >conftest.
$ac_ext <<_ACEOF
11907 cat confdefs.h
>>conftest.
$ac_ext
11908 cat >>conftest.
$ac_ext <<_ACEOF
11909 /* end confdefs.h. */
11910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11912 #define $ac_func innocuous_$ac_func
11914 /* System header to define __stub macros and hopefully few prototypes,
11915 which can conflict with char $ac_func (); below.
11916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11917 <limits.h> exists even on freestanding compilers. */
11920 # include <limits.h>
11922 # include <assert.h>
11927 /* Override any gcc2 internal prototype to avoid an error. */
11932 /* We use char because int might match the return type of a gcc2
11933 builtin and then its argument prototype would still apply. */
11935 /* The GNU C library defines this for functions which it implements
11936 to always fail with ENOSYS. Some functions are actually named
11937 something starting with __ and the normal name is an alias. */
11938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11941 char (*f) () = $ac_func;
11950 return f != $ac_func;
11955 rm -f conftest.
$ac_objext conftest
$ac_exeext
11956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11957 (eval $ac_link) 2>conftest.er1
11959 grep -v '^ *+' conftest.er1
>conftest.err
11961 cat conftest.err
>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } &&
11964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966 (eval $ac_try) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; } &&
11970 { ac_try
='test -s conftest$ac_exeext'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; }; then
11976 eval "$as_ac_var=yes"
11978 echo "$as_me: failed program was:" >&5
11979 sed 's/^/| /' conftest.
$ac_ext >&5
11981 eval "$as_ac_var=no"
11983 rm -f conftest.err conftest.
$ac_objext \
11984 conftest
$ac_exeext conftest.
$ac_ext
11986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11988 if test `eval echo '${'$as_ac_var'}'` = yes; then
11989 cat >>confdefs.h
<<_ACEOF
11990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11998 for ac_func
in getopt
12000 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12001 echo "$as_me:$LINENO: checking for $ac_func" >&5
12002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12003 if eval "test \"\${$as_ac_var+set}\" = set"; then
12004 echo $ECHO_N "(cached) $ECHO_C" >&6
12006 cat >conftest.
$ac_ext <<_ACEOF
12009 cat confdefs.h
>>conftest.
$ac_ext
12010 cat >>conftest.
$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12014 #define $ac_func innocuous_$ac_func
12016 /* System header to define __stub macros and hopefully few prototypes,
12017 which can conflict with char $ac_func (); below.
12018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12019 <limits.h> exists even on freestanding compilers. */
12022 # include <limits.h>
12024 # include <assert.h>
12029 /* Override any gcc2 internal prototype to avoid an error. */
12034 /* We use char because int might match the return type of a gcc2
12035 builtin and then its argument prototype would still apply. */
12037 /* The GNU C library defines this for functions which it implements
12038 to always fail with ENOSYS. Some functions are actually named
12039 something starting with __ and the normal name is an alias. */
12040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12043 char (*f) () = $ac_func;
12052 return f != $ac_func;
12057 rm -f conftest.
$ac_objext conftest
$ac_exeext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059 (eval $ac_link) 2>conftest.er1
12061 grep -v '^ *+' conftest.er1
>conftest.err
12063 cat conftest.err
>&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); } &&
12066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12068 (eval $ac_try) 2>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); }; } &&
12072 { ac_try
='test -s conftest$ac_exeext'
12073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12074 (eval $ac_try) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }; }; then
12078 eval "$as_ac_var=yes"
12080 echo "$as_me: failed program was:" >&5
12081 sed 's/^/| /' conftest.
$ac_ext >&5
12083 eval "$as_ac_var=no"
12085 rm -f conftest.err conftest.
$ac_objext \
12086 conftest
$ac_exeext conftest.
$ac_ext
12088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12090 if test `eval echo '${'$as_ac_var'}'` = yes; then
12091 cat >>confdefs.h
<<_ACEOF
12092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12097 "$ac_func.$ac_objext" | \
12098 *" $ac_func.$ac_objext" | \
12099 "$ac_func.$ac_objext "* | \
12100 *" $ac_func.$ac_objext "* ) ;;
12101 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
12109 for ac_func
in strcasecmp
12111 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12112 echo "$as_me:$LINENO: checking for $ac_func" >&5
12113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12114 if eval "test \"\${$as_ac_var+set}\" = set"; then
12115 echo $ECHO_N "(cached) $ECHO_C" >&6
12117 cat >conftest.
$ac_ext <<_ACEOF
12120 cat confdefs.h
>>conftest.
$ac_ext
12121 cat >>conftest.
$ac_ext <<_ACEOF
12122 /* end confdefs.h. */
12123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12125 #define $ac_func innocuous_$ac_func
12127 /* System header to define __stub macros and hopefully few prototypes,
12128 which can conflict with char $ac_func (); below.
12129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12130 <limits.h> exists even on freestanding compilers. */
12133 # include <limits.h>
12135 # include <assert.h>
12140 /* Override any gcc2 internal prototype to avoid an error. */
12145 /* We use char because int might match the return type of a gcc2
12146 builtin and then its argument prototype would still apply. */
12148 /* The GNU C library defines this for functions which it implements
12149 to always fail with ENOSYS. Some functions are actually named
12150 something starting with __ and the normal name is an alias. */
12151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12154 char (*f) () = $ac_func;
12163 return f != $ac_func;
12168 rm -f conftest.
$ac_objext conftest
$ac_exeext
12169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12170 (eval $ac_link) 2>conftest.er1
12172 grep -v '^ *+' conftest.er1
>conftest.err
12174 cat conftest.err
>&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } &&
12177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179 (eval $ac_try) 2>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); }; } &&
12183 { ac_try
='test -s conftest$ac_exeext'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; }; then
12189 eval "$as_ac_var=yes"
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.
$ac_ext >&5
12194 eval "$as_ac_var=no"
12196 rm -f conftest.err conftest.
$ac_objext \
12197 conftest
$ac_exeext conftest.
$ac_ext
12199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12201 if test `eval echo '${'$as_ac_var'}'` = yes; then
12202 cat >>confdefs.h
<<_ACEOF
12203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12208 "$ac_func.$ac_objext" | \
12209 *" $ac_func.$ac_objext" | \
12210 "$ac_func.$ac_objext "* | \
12211 *" $ac_func.$ac_objext "* ) ;;
12212 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
12220 for ac_func
in strtoul
12222 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12223 echo "$as_me:$LINENO: checking for $ac_func" >&5
12224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12225 if eval "test \"\${$as_ac_var+set}\" = set"; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12228 cat >conftest.
$ac_ext <<_ACEOF
12231 cat confdefs.h
>>conftest.
$ac_ext
12232 cat >>conftest.
$ac_ext <<_ACEOF
12233 /* end confdefs.h. */
12234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12236 #define $ac_func innocuous_$ac_func
12238 /* System header to define __stub macros and hopefully few prototypes,
12239 which can conflict with char $ac_func (); below.
12240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12241 <limits.h> exists even on freestanding compilers. */
12244 # include <limits.h>
12246 # include <assert.h>
12251 /* Override any gcc2 internal prototype to avoid an error. */
12256 /* We use char because int might match the return type of a gcc2
12257 builtin and then its argument prototype would still apply. */
12259 /* The GNU C library defines this for functions which it implements
12260 to always fail with ENOSYS. Some functions are actually named
12261 something starting with __ and the normal name is an alias. */
12262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12265 char (*f) () = $ac_func;
12274 return f != $ac_func;
12279 rm -f conftest.
$ac_objext conftest
$ac_exeext
12280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12281 (eval $ac_link) 2>conftest.er1
12283 grep -v '^ *+' conftest.er1
>conftest.err
12285 cat conftest.err
>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } &&
12288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12290 (eval $ac_try) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); }; } &&
12294 { ac_try
='test -s conftest$ac_exeext'
12295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296 (eval $ac_try) 2>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); }; }; then
12300 eval "$as_ac_var=yes"
12302 echo "$as_me: failed program was:" >&5
12303 sed 's/^/| /' conftest.
$ac_ext >&5
12305 eval "$as_ac_var=no"
12307 rm -f conftest.err conftest.
$ac_objext \
12308 conftest
$ac_exeext conftest.
$ac_ext
12310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12312 if test `eval echo '${'$as_ac_var'}'` = yes; then
12313 cat >>confdefs.h
<<_ACEOF
12314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12319 "$ac_func.$ac_objext" | \
12320 *" $ac_func.$ac_objext" | \
12321 "$ac_func.$ac_objext "* | \
12322 *" $ac_func.$ac_objext "* ) ;;
12323 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
12331 for ac_func
in lfind
12333 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12334 echo "$as_me:$LINENO: checking for $ac_func" >&5
12335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12336 if eval "test \"\${$as_ac_var+set}\" = set"; then
12337 echo $ECHO_N "(cached) $ECHO_C" >&6
12339 cat >conftest.
$ac_ext <<_ACEOF
12342 cat confdefs.h
>>conftest.
$ac_ext
12343 cat >>conftest.
$ac_ext <<_ACEOF
12344 /* end confdefs.h. */
12345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12347 #define $ac_func innocuous_$ac_func
12349 /* System header to define __stub macros and hopefully few prototypes,
12350 which can conflict with char $ac_func (); below.
12351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12352 <limits.h> exists even on freestanding compilers. */
12355 # include <limits.h>
12357 # include <assert.h>
12362 /* Override any gcc2 internal prototype to avoid an error. */
12367 /* We use char because int might match the return type of a gcc2
12368 builtin and then its argument prototype would still apply. */
12370 /* The GNU C library defines this for functions which it implements
12371 to always fail with ENOSYS. Some functions are actually named
12372 something starting with __ and the normal name is an alias. */
12373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12376 char (*f) () = $ac_func;
12385 return f != $ac_func;
12390 rm -f conftest.
$ac_objext conftest
$ac_exeext
12391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12392 (eval $ac_link) 2>conftest.er1
12394 grep -v '^ *+' conftest.er1
>conftest.err
12396 cat conftest.err
>&5
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); } &&
12399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12401 (eval $ac_try) 2>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); }; } &&
12405 { ac_try
='test -s conftest$ac_exeext'
12406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12407 (eval $ac_try) 2>&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }; }; then
12411 eval "$as_ac_var=yes"
12413 echo "$as_me: failed program was:" >&5
12414 sed 's/^/| /' conftest.
$ac_ext >&5
12416 eval "$as_ac_var=no"
12418 rm -f conftest.err conftest.
$ac_objext \
12419 conftest
$ac_exeext conftest.
$ac_ext
12421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12423 if test `eval echo '${'$as_ac_var'}'` = yes; then
12424 cat >>confdefs.h
<<_ACEOF
12425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12430 "$ac_func.$ac_objext" | \
12431 *" $ac_func.$ac_objext" | \
12432 "$ac_func.$ac_objext "* | \
12433 *" $ac_func.$ac_objext "* ) ;;
12434 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
12442 echo "$as_me:$LINENO: checking native cpu bit order" >&5
12443 echo $ECHO_N "checking native cpu bit order... $ECHO_C" >&6
12444 case "$target_cpu" in
12446 HOST_FILLORDER
=FILLORDER_LSB2MSB
12447 echo "$as_me:$LINENO: result: lsb2msb" >&5
12448 echo "${ECHO_T}lsb2msb" >&6
12451 HOST_FILLORDER
=FILLORDER_MSB2LSB
12452 echo "$as_me:$LINENO: result: msb2lsb" >&5
12453 echo "${ECHO_T}msb2lsb" >&6
12457 cat >>confdefs.h
<<_ACEOF
12458 #define HOST_FILLORDER $HOST_FILLORDER
12462 if test "$ac_cv_c_bigendian" = yes ; then
12468 cat >>confdefs.h
<<_ACEOF
12469 #define HOST_BIGENDIAN $HOST_BIGENDIAN
12474 #AC_DEFINE_UNQUOTED(_POSIX_C_SOURCE, $_POSIX_C_SOURCE, [Define this macro to a positive integer to control which POSIX functionality is made available.])
12478 cat >>confdefs.h
<<_ACEOF
12479 #define HAVE_IEEEFP $HAVE_IEEEFP
12484 # Check whether --enable-rpath or --disable-rpath was given.
12485 if test "${enable_rpath+set}" = set; then
12486 enableval
="$enable_rpath"
12487 HAVE_RPATH
=$enableval
12493 if test "$HAVE_RPATH" = "yes"; then
12495 HAVE_RPATH_FALSE
='#'
12497 HAVE_RPATH_TRUE
='#'
12503 # Check whether --enable-largefile or --disable-largefile was given.
12504 if test "${enable_largefile+set}" = set; then
12505 enableval
="$enable_largefile"
12508 if test "$enable_largefile" != no
; then
12510 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
12511 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
12512 if test "${ac_cv_sys_largefile_CC+set}" = set; then
12513 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 ac_cv_sys_largefile_CC
=no
12516 if test "$GCC" != yes; then
12519 # IRIX 6.2 and later do not support large files by default,
12520 # so use the C compiler's -n32 option if that helps.
12521 cat >conftest.
$ac_ext <<_ACEOF
12524 cat confdefs.h
>>conftest.
$ac_ext
12525 cat >>conftest.
$ac_ext <<_ACEOF
12526 /* end confdefs.h. */
12527 #include <sys/types.h>
12528 /* Check that off_t can represent 2**63 - 1 correctly.
12529 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12530 since some C++ compilers masquerading as C compilers
12531 incorrectly reject 9223372036854775807. */
12532 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12533 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12534 && LARGE_OFF_T % 2147483647 == 1)
12544 rm -f conftest.
$ac_objext
12545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12546 (eval $ac_compile) 2>conftest.er1
12548 grep -v '^ *+' conftest.er1
>conftest.err
12550 cat conftest.err
>&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); } &&
12553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12555 (eval $ac_try) 2>&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); }; } &&
12559 { ac_try
='test -s conftest.$ac_objext'
12560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561 (eval $ac_try) 2>&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); }; }; then
12567 echo "$as_me: failed program was:" >&5
12568 sed 's/^/| /' conftest.
$ac_ext >&5
12571 rm -f conftest.err conftest.
$ac_objext
12573 rm -f conftest.
$ac_objext
12574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12575 (eval $ac_compile) 2>conftest.er1
12577 grep -v '^ *+' conftest.er1
>conftest.err
12579 cat conftest.err
>&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); } &&
12582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12584 (eval $ac_try) 2>&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); }; } &&
12588 { ac_try
='test -s conftest.$ac_objext'
12589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590 (eval $ac_try) 2>&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; }; then
12594 ac_cv_sys_largefile_CC
=' -n32'; break
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.
$ac_ext >&5
12600 rm -f conftest.err conftest.
$ac_objext
12604 rm -f conftest.
$ac_ext
12607 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
12608 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
12609 if test "$ac_cv_sys_largefile_CC" != no
; then
12610 CC
=$CC$ac_cv_sys_largefile_CC
12613 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12614 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
12615 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
12616 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 ac_cv_sys_file_offset_bits
=no
12620 cat >conftest.
$ac_ext <<_ACEOF
12623 cat confdefs.h
>>conftest.
$ac_ext
12624 cat >>conftest.
$ac_ext <<_ACEOF
12625 /* end confdefs.h. */
12626 #include <sys/types.h>
12627 /* Check that off_t can represent 2**63 - 1 correctly.
12628 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12629 since some C++ compilers masquerading as C compilers
12630 incorrectly reject 9223372036854775807. */
12631 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12632 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12633 && LARGE_OFF_T % 2147483647 == 1)
12643 rm -f conftest.
$ac_objext
12644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12645 (eval $ac_compile) 2>conftest.er1
12647 grep -v '^ *+' conftest.er1
>conftest.err
12649 cat conftest.err
>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); } &&
12652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12654 (eval $ac_try) 2>&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); }; } &&
12658 { ac_try
='test -s conftest.$ac_objext'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; }; then
12666 echo "$as_me: failed program was:" >&5
12667 sed 's/^/| /' conftest.
$ac_ext >&5
12670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12671 cat >conftest.
$ac_ext <<_ACEOF
12674 cat confdefs.h
>>conftest.
$ac_ext
12675 cat >>conftest.
$ac_ext <<_ACEOF
12676 /* end confdefs.h. */
12677 #define _FILE_OFFSET_BITS 64
12678 #include <sys/types.h>
12679 /* Check that off_t can represent 2**63 - 1 correctly.
12680 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12681 since some C++ compilers masquerading as C compilers
12682 incorrectly reject 9223372036854775807. */
12683 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12684 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12685 && LARGE_OFF_T % 2147483647 == 1)
12695 rm -f conftest.
$ac_objext
12696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12697 (eval $ac_compile) 2>conftest.er1
12699 grep -v '^ *+' conftest.er1
>conftest.err
12701 cat conftest.err
>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); } &&
12704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; } &&
12710 { ac_try
='test -s conftest.$ac_objext'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; }; then
12716 ac_cv_sys_file_offset_bits
=64; break
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.
$ac_ext >&5
12722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12726 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
12727 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
12728 if test "$ac_cv_sys_file_offset_bits" != no
; then
12730 cat >>confdefs.h
<<_ACEOF
12731 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12736 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
12737 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
12738 if test "${ac_cv_sys_large_files+set}" = set; then
12739 echo $ECHO_N "(cached) $ECHO_C" >&6
12742 ac_cv_sys_large_files
=no
12743 cat >conftest.
$ac_ext <<_ACEOF
12746 cat confdefs.h
>>conftest.
$ac_ext
12747 cat >>conftest.
$ac_ext <<_ACEOF
12748 /* end confdefs.h. */
12749 #include <sys/types.h>
12750 /* Check that off_t can represent 2**63 - 1 correctly.
12751 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12752 since some C++ compilers masquerading as C compilers
12753 incorrectly reject 9223372036854775807. */
12754 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12755 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12756 && LARGE_OFF_T % 2147483647 == 1)
12766 rm -f conftest.
$ac_objext
12767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12768 (eval $ac_compile) 2>conftest.er1
12770 grep -v '^ *+' conftest.er1
>conftest.err
12772 cat conftest.err
>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); } &&
12775 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; } &&
12781 { ac_try
='test -s conftest.$ac_objext'
12782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12783 (eval $ac_try) 2>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; }; then
12789 echo "$as_me: failed program was:" >&5
12790 sed 's/^/| /' conftest.
$ac_ext >&5
12793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12794 cat >conftest.
$ac_ext <<_ACEOF
12797 cat confdefs.h
>>conftest.
$ac_ext
12798 cat >>conftest.
$ac_ext <<_ACEOF
12799 /* end confdefs.h. */
12800 #define _LARGE_FILES 1
12801 #include <sys/types.h>
12802 /* Check that off_t can represent 2**63 - 1 correctly.
12803 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12804 since some C++ compilers masquerading as C compilers
12805 incorrectly reject 9223372036854775807. */
12806 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12807 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12808 && LARGE_OFF_T % 2147483647 == 1)
12818 rm -f conftest.
$ac_objext
12819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12820 (eval $ac_compile) 2>conftest.er1
12822 grep -v '^ *+' conftest.er1
>conftest.err
12824 cat conftest.err
>&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } &&
12827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12829 (eval $ac_try) 2>&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; } &&
12833 { ac_try
='test -s conftest.$ac_objext'
12834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 (eval $ac_try) 2>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; }; then
12839 ac_cv_sys_large_files
=1; break
12841 echo "$as_me: failed program was:" >&5
12842 sed 's/^/| /' conftest.
$ac_ext >&5
12845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12849 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
12850 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
12851 if test "$ac_cv_sys_large_files" != no
; then
12853 cat >>confdefs.h
<<_ACEOF
12854 #define _LARGE_FILES $ac_cv_sys_large_files
12863 LIBTIFF_DOCDIR
=\
${prefix}/share
/doc
/${PACKAGE}-${LIBTIFF_VERSION}
12866 # Check whether --with-docdir or --without-docdir was given.
12867 if test "${with_docdir+set}" = set; then
12868 withval
="$with_docdir"
12871 if test "x$with_docdir" != "x" ; then
12872 LIBTIFF_DOCDIR
=$with_docdir
12878 # Check whether --enable-ccitt or --disable-ccitt was given.
12879 if test "${enable_ccitt+set}" = set; then
12880 enableval
="$enable_ccitt"
12881 HAVE_CCITT
=$enableval
12886 if test "$HAVE_CCITT" = "yes" ; then
12888 cat >>confdefs.h
<<\_ACEOF
12889 #define CCITT_SUPPORT 1
12894 # Check whether --enable-packbits or --disable-packbits was given.
12895 if test "${enable_packbits+set}" = set; then
12896 enableval
="$enable_packbits"
12897 HAVE_PACKBITS
=$enableval
12902 if test "$HAVE_PACKBITS" = "yes" ; then
12904 cat >>confdefs.h
<<\_ACEOF
12905 #define PACKBITS_SUPPORT 1
12910 # Check whether --enable-lzw or --disable-lzw was given.
12911 if test "${enable_lzw+set}" = set; then
12912 enableval
="$enable_lzw"
12913 HAVE_LZW
=$enableval
12918 if test "$HAVE_LZW" = "yes" ; then
12920 cat >>confdefs.h
<<\_ACEOF
12921 #define LZW_SUPPORT 1
12926 # Check whether --enable-thunder or --disable-thunder was given.
12927 if test "${enable_thunder+set}" = set; then
12928 enableval
="$enable_thunder"
12929 HAVE_THUNDER
=$enableval
12934 if test "$HAVE_THUNDER" = "yes" ; then
12936 cat >>confdefs.h
<<\_ACEOF
12937 #define THUNDER_SUPPORT 1
12944 # Check whether --enable-next or --disable-next was given.
12945 if test "${enable_next+set}" = set; then
12946 enableval
="$enable_next"
12947 HAVE_NEXT
=$enableval
12952 if test "$HAVE_NEXT" = "yes" ; then
12954 cat >>confdefs.h
<<\_ACEOF
12955 #define NEXT_SUPPORT 1
12960 # Check whether --enable-logluv or --disable-logluv was given.
12961 if test "${enable_logluv+set}" = set; then
12962 enableval
="$enable_logluv"
12963 HAVE_LOGLUV
=$enableval
12968 if test "$HAVE_LOGLUV" = "yes" ; then
12970 cat >>confdefs.h
<<\_ACEOF
12971 #define LOGLUV_SUPPORT 1
12977 # Check whether --enable-mdi or --disable-mdi was given.
12978 if test "${enable_mdi+set}" = set; then
12979 enableval
="$enable_mdi"
12980 HAVE_MDI
=$enableval
12985 if test "$HAVE_MDI" = "yes" ; then
12987 cat >>confdefs.h
<<\_ACEOF
12988 #define MDI_SUPPORT 1
12996 # Check whether --enable-zlib or --disable-zlib was given.
12997 if test "${enable_zlib+set}" = set; then
12998 enableval
="$enable_zlib"
13002 # Check whether --with-zlib-include-dir or --without-zlib-include-dir was given.
13003 if test "${with_zlib_include_dir+set}" = set; then
13004 withval
="$with_zlib_include_dir"
13008 # Check whether --with-zlib-lib-dir or --without-zlib-lib-dir was given.
13009 if test "${with_zlib_lib_dir+set}" = set; then
13010 withval
="$with_zlib_lib_dir"
13014 if test "x$enable_zlib" != "xno" ; then
13016 if test "x$with_zlib_lib_dir" != "x" ; then
13017 LDFLAGS
="-L$with_zlib_lib_dir $LDFLAGS"
13020 echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
13021 echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
13022 if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
13023 echo $ECHO_N "(cached) $ECHO_C" >&6
13025 ac_check_lib_save_LIBS
=$LIBS
13027 cat >conftest.
$ac_ext <<_ACEOF
13030 cat confdefs.h
>>conftest.
$ac_ext
13031 cat >>conftest.
$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13034 /* Override any gcc2 internal prototype to avoid an error. */
13038 /* We use char because int might match the return type of a gcc2
13039 builtin and then its argument prototype would still apply. */
13040 char inflateEnd ();
13049 rm -f conftest.
$ac_objext conftest
$ac_exeext
13050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13051 (eval $ac_link) 2>conftest.er1
13053 grep -v '^ *+' conftest.er1
>conftest.err
13055 cat conftest.err
>&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } &&
13058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13060 (eval $ac_try) 2>&5
13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); }; } &&
13064 { ac_try
='test -s conftest$ac_exeext'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; }; then
13070 ac_cv_lib_z_inflateEnd
=yes
13072 echo "$as_me: failed program was:" >&5
13073 sed 's/^/| /' conftest.
$ac_ext >&5
13075 ac_cv_lib_z_inflateEnd
=no
13077 rm -f conftest.err conftest.
$ac_objext \
13078 conftest
$ac_exeext conftest.
$ac_ext
13079 LIBS
=$ac_check_lib_save_LIBS
13081 echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
13082 echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
13083 if test $ac_cv_lib_z_inflateEnd = yes; then
13089 if test "$zlib_lib" = "no" -a "x$with_zlib_lib_dir" != "x"; then
13090 { { echo "$as_me:$LINENO: error: Zlib library not found at $with_zlib_lib_dir" >&5
13091 echo "$as_me: error: Zlib library not found at $with_zlib_lib_dir" >&2;}
13092 { (exit 1); exit 1; }; }
13095 if test "x$with_zlib_include_dir" != "x" ; then
13096 CPPFLAGS
="-I$with_zlib_include_dir $CPPFLAGS"
13098 if test "${ac_cv_header_zlib_h+set}" = set; then
13099 echo "$as_me:$LINENO: checking for zlib.h" >&5
13100 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
13101 if test "${ac_cv_header_zlib_h+set}" = set; then
13102 echo $ECHO_N "(cached) $ECHO_C" >&6
13104 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
13105 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
13107 # Is the header compilable?
13108 echo "$as_me:$LINENO: checking zlib.h usability" >&5
13109 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
13110 cat >conftest.
$ac_ext <<_ACEOF
13113 cat confdefs.h
>>conftest.
$ac_ext
13114 cat >>conftest.
$ac_ext <<_ACEOF
13115 /* end confdefs.h. */
13116 $ac_includes_default
13119 rm -f conftest.
$ac_objext
13120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13121 (eval $ac_compile) 2>conftest.er1
13123 grep -v '^ *+' conftest.er1
>conftest.err
13125 cat conftest.err
>&5
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); } &&
13128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13130 (eval $ac_try) 2>&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); }; } &&
13134 { ac_try
='test -s conftest.$ac_objext'
13135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136 (eval $ac_try) 2>&5
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); }; }; then
13140 ac_header_compiler
=yes
13142 echo "$as_me: failed program was:" >&5
13143 sed 's/^/| /' conftest.
$ac_ext >&5
13145 ac_header_compiler
=no
13147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13149 echo "${ECHO_T}$ac_header_compiler" >&6
13151 # Is the header present?
13152 echo "$as_me:$LINENO: checking zlib.h presence" >&5
13153 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
13154 cat >conftest.
$ac_ext <<_ACEOF
13157 cat confdefs.h
>>conftest.
$ac_ext
13158 cat >>conftest.
$ac_ext <<_ACEOF
13159 /* end confdefs.h. */
13162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13165 grep -v '^ *+' conftest.er1
>conftest.err
13167 cat conftest.err
>&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); } >/dev
/null
; then
13170 if test -s conftest.err
; then
13171 ac_cpp_err
=$ac_c_preproc_warn_flag
13172 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13179 if test -z "$ac_cpp_err"; then
13180 ac_header_preproc
=yes
13182 echo "$as_me: failed program was:" >&5
13183 sed 's/^/| /' conftest.
$ac_ext >&5
13185 ac_header_preproc
=no
13187 rm -f conftest.err conftest.
$ac_ext
13188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13189 echo "${ECHO_T}$ac_header_preproc" >&6
13191 # So? What about this header?
13192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13194 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13195 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13196 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
13197 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
13198 ac_header_preproc
=yes
13201 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
13202 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
13203 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
13204 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
13205 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
13206 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
13207 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
13208 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
13209 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
13210 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
13211 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
13212 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
13215 ## -------------------------------------- ##
13216 ## Report this to tiff@lists.maptools.org ##
13217 ## -------------------------------------- ##
13220 sed "s/^/$as_me: WARNING: /" >&2
13223 echo "$as_me:$LINENO: checking for zlib.h" >&5
13224 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
13225 if test "${ac_cv_header_zlib_h+set}" = set; then
13226 echo $ECHO_N "(cached) $ECHO_C" >&6
13228 ac_cv_header_zlib_h
=$ac_header_preproc
13230 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
13231 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
13234 if test $ac_cv_header_zlib_h = yes; then
13241 if test "$zlib_h" = "no" -a "x$with_zlib_include_dir" != "x" ; then
13242 { { echo "$as_me:$LINENO: error: Zlib headers not found at $with_zlib_include_dir" >&5
13243 echo "$as_me: error: Zlib headers not found at $with_zlib_include_dir" >&2;}
13244 { (exit 1); exit 1; }; }
13247 if test "$zlib_lib" = "yes" -a "$zlib_h" = "yes" ; then
13253 if test "$HAVE_ZLIB" = "yes" ; then
13255 cat >>confdefs.h
<<\_ACEOF
13256 #define ZIP_SUPPORT 1
13261 if test "$HAVE_RPATH" = "yes" -a "x$with_zlib_lib_dir" != "x" ; then
13262 LIBDIR
="-R $with_zlib_lib_dir $LIBDIR"
13268 # Check whether --enable-pixarlog or --disable-pixarlog was given.
13269 if test "${enable_pixarlog+set}" = set; then
13270 enableval
="$enable_pixarlog"
13271 HAVE_PIXARLOG
=$enableval
13276 if test "$HAVE_ZLIB" = "yes" -a "$HAVE_PIXARLOG" = "yes" ; then
13278 cat >>confdefs.h
<<\_ACEOF
13279 #define PIXARLOG_SUPPORT 1
13289 # Check whether --enable-jpeg or --disable-jpeg was given.
13290 if test "${enable_jpeg+set}" = set; then
13291 enableval
="$enable_jpeg"
13295 # Check whether --with-jpeg-include-dir or --without-jpeg-include-dir was given.
13296 if test "${with_jpeg_include_dir+set}" = set; then
13297 withval
="$with_jpeg_include_dir"
13301 # Check whether --with-jpeg-lib-dir or --without-jpeg-lib-dir was given.
13302 if test "${with_jpeg_lib_dir+set}" = set; then
13303 withval
="$with_jpeg_lib_dir"
13307 if test "x$enable_jpeg" != "xno" ; then
13309 if test "x$with_jpeg_lib_dir" != "x" ; then
13310 LDFLAGS
="-L$with_jpeg_lib_dir $LDFLAGS"
13314 echo "$as_me:$LINENO: checking for jpeg_read_scanlines in -ljpeg" >&5
13315 echo $ECHO_N "checking for jpeg_read_scanlines in -ljpeg... $ECHO_C" >&6
13316 if test "${ac_cv_lib_jpeg_jpeg_read_scanlines+set}" = set; then
13317 echo $ECHO_N "(cached) $ECHO_C" >&6
13319 ac_check_lib_save_LIBS
=$LIBS
13320 LIBS
="-ljpeg $LIBS"
13321 cat >conftest.
$ac_ext <<_ACEOF
13324 cat confdefs.h
>>conftest.
$ac_ext
13325 cat >>conftest.
$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13328 /* Override any gcc2 internal prototype to avoid an error. */
13332 /* We use char because int might match the return type of a gcc2
13333 builtin and then its argument prototype would still apply. */
13334 char jpeg_read_scanlines ();
13338 jpeg_read_scanlines ();
13343 rm -f conftest.
$ac_objext conftest
$ac_exeext
13344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13345 (eval $ac_link) 2>conftest.er1
13347 grep -v '^ *+' conftest.er1
>conftest.err
13349 cat conftest.err
>&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); } &&
13352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13354 (eval $ac_try) 2>&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); }; } &&
13358 { ac_try
='test -s conftest$ac_exeext'
13359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13360 (eval $ac_try) 2>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); }; }; then
13364 ac_cv_lib_jpeg_jpeg_read_scanlines
=yes
13366 echo "$as_me: failed program was:" >&5
13367 sed 's/^/| /' conftest.
$ac_ext >&5
13369 ac_cv_lib_jpeg_jpeg_read_scanlines
=no
13371 rm -f conftest.err conftest.
$ac_objext \
13372 conftest
$ac_exeext conftest.
$ac_ext
13373 LIBS
=$ac_check_lib_save_LIBS
13375 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_scanlines" >&5
13376 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_scanlines" >&6
13377 if test $ac_cv_lib_jpeg_jpeg_read_scanlines = yes; then
13383 if test "$jpeg_lib" = "no" -a "x$with_jpeg_lib_dir" != "x" ; then
13384 { { echo "$as_me:$LINENO: error: IJG JPEG library not found at $with_jpeg_lib_dir" >&5
13385 echo "$as_me: error: IJG JPEG library not found at $with_jpeg_lib_dir" >&2;}
13386 { (exit 1); exit 1; }; }
13389 if test "x$with_jpeg_include_dir" != "x" ; then
13390 CPPFLAGS
="-I$with_jpeg_include_dir $CPPFLAGS"
13392 if test "${ac_cv_header_jpeglib_h+set}" = set; then
13393 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
13394 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
13395 if test "${ac_cv_header_jpeglib_h+set}" = set; then
13396 echo $ECHO_N "(cached) $ECHO_C" >&6
13398 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
13399 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
13401 # Is the header compilable?
13402 echo "$as_me:$LINENO: checking jpeglib.h usability" >&5
13403 echo $ECHO_N "checking jpeglib.h usability... $ECHO_C" >&6
13404 cat >conftest.
$ac_ext <<_ACEOF
13407 cat confdefs.h
>>conftest.
$ac_ext
13408 cat >>conftest.
$ac_ext <<_ACEOF
13409 /* end confdefs.h. */
13410 $ac_includes_default
13411 #include <jpeglib.h>
13413 rm -f conftest.
$ac_objext
13414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13415 (eval $ac_compile) 2>conftest.er1
13417 grep -v '^ *+' conftest.er1
>conftest.err
13419 cat conftest.err
>&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); } &&
13422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; } &&
13428 { ac_try
='test -s conftest.$ac_objext'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13434 ac_header_compiler
=yes
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.
$ac_ext >&5
13439 ac_header_compiler
=no
13441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13442 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13443 echo "${ECHO_T}$ac_header_compiler" >&6
13445 # Is the header present?
13446 echo "$as_me:$LINENO: checking jpeglib.h presence" >&5
13447 echo $ECHO_N "checking jpeglib.h presence... $ECHO_C" >&6
13448 cat >conftest.
$ac_ext <<_ACEOF
13451 cat confdefs.h
>>conftest.
$ac_ext
13452 cat >>conftest.
$ac_ext <<_ACEOF
13453 /* end confdefs.h. */
13454 #include <jpeglib.h>
13456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13457 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13459 grep -v '^ *+' conftest.er1
>conftest.err
13461 cat conftest.err
>&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); } >/dev
/null
; then
13464 if test -s conftest.err
; then
13465 ac_cpp_err
=$ac_c_preproc_warn_flag
13466 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13473 if test -z "$ac_cpp_err"; then
13474 ac_header_preproc
=yes
13476 echo "$as_me: failed program was:" >&5
13477 sed 's/^/| /' conftest.
$ac_ext >&5
13479 ac_header_preproc
=no
13481 rm -f conftest.err conftest.
$ac_ext
13482 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13483 echo "${ECHO_T}$ac_header_preproc" >&6
13485 # So? What about this header?
13486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13488 { echo "$as_me:$LINENO: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13489 echo "$as_me: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13490 { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the compiler's result" >&5
13491 echo "$as_me: WARNING: jpeglib.h: proceeding with the compiler's result" >&2;}
13492 ac_header_preproc
=yes
13495 { echo "$as_me:$LINENO: WARNING: jpeglib.h: present but cannot be compiled" >&5
13496 echo "$as_me: WARNING: jpeglib.h: present but cannot be compiled" >&2;}
13497 { echo "$as_me:$LINENO: WARNING: jpeglib.h: check for missing prerequisite headers?" >&5
13498 echo "$as_me: WARNING: jpeglib.h: check for missing prerequisite headers?" >&2;}
13499 { echo "$as_me:$LINENO: WARNING: jpeglib.h: see the Autoconf documentation" >&5
13500 echo "$as_me: WARNING: jpeglib.h: see the Autoconf documentation" >&2;}
13501 { echo "$as_me:$LINENO: WARNING: jpeglib.h: section \"Present But Cannot Be Compiled\"" >&5
13502 echo "$as_me: WARNING: jpeglib.h: section \"Present But Cannot Be Compiled\"" >&2;}
13503 { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&5
13504 echo "$as_me: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&2;}
13505 { echo "$as_me:$LINENO: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&5
13506 echo "$as_me: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&2;}
13509 ## -------------------------------------- ##
13510 ## Report this to tiff@lists.maptools.org ##
13511 ## -------------------------------------- ##
13514 sed "s/^/$as_me: WARNING: /" >&2
13517 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
13518 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
13519 if test "${ac_cv_header_jpeglib_h+set}" = set; then
13520 echo $ECHO_N "(cached) $ECHO_C" >&6
13522 ac_cv_header_jpeglib_h
=$ac_header_preproc
13524 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
13525 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
13528 if test $ac_cv_header_jpeglib_h = yes; then
13535 if test "$jpeg_h" = "no" -a "x$with_jpeg_include_dir" != "x" ; then
13536 { { echo "$as_me:$LINENO: error: IJG JPEG library headers not found at $with_jpeg_include_dir" >&5
13537 echo "$as_me: error: IJG JPEG library headers not found at $with_jpeg_include_dir" >&2;}
13538 { (exit 1); exit 1; }; }
13541 if test "$jpeg_lib" = "yes" -a "$jpeg_h" = "yes" ; then
13547 if test "$HAVE_JPEG" = "yes" ; then
13549 cat >>confdefs.h
<<\_ACEOF
13550 #define JPEG_SUPPORT 1
13553 LIBS
="-ljpeg $LIBS"
13555 if test "$HAVE_RPATH" = "yes" -a "x$with_jpeg_lib_dir" != "x" ; then
13556 LIBDIR
="-R $with_jpeg_lib_dir $LIBDIR"
13562 # Check whether --enable-old-jpeg or --disable-old-jpeg was given.
13563 if test "${enable_old_jpeg+set}" = set; then
13564 enableval
="$enable_old_jpeg"
13565 HAVE_OJPEG
=$enableval
13570 if test "$HAVE_JPEG" = "yes" -a "$HAVE_OJPEG" = "yes" ; then
13572 cat >>confdefs.h
<<\_ACEOF
13573 #define OJPEG_SUPPORT 1
13581 # Check whether --enable-cxx or --disable-cxx was given.
13582 if test "${enable_cxx+set}" = set; then
13583 enableval
="$enable_cxx"
13584 HAVE_CXX
=$enableval
13589 if test "$HAVE_CXX" = "yes" ; then
13591 cat >>confdefs.h
<<\_ACEOF
13592 #define CXX_SUPPORT 1
13601 if test "$HAVE_CXX" = "yes"; then
13614 if test "x$ac_path_x_has_been_run" != xyes
; then
13615 echo "$as_me:$LINENO: checking for X" >&5
13616 echo $ECHO_N "checking for X... $ECHO_C" >&6
13618 ac_path_x_has_been_run
=yes
13620 # Check whether --with-x or --without-x was given.
13621 if test "${with_x+set}" = set; then
13625 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13626 if test "x$with_x" = xno
; then
13627 # The user explicitly disabled X.
13630 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13631 # Both variables are already set.
13634 if test "${ac_cv_have_x+set}" = set; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 # One or both of the vars are not set, and there is no cached value.
13638 ac_x_includes
=no ac_x_libraries
=no
13639 rm -fr conftest.dir
13640 if mkdir conftest.dir
; then
13642 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13643 cat >Imakefile
<<'_ACEOF'
13645 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13647 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13648 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13649 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13650 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13651 for ac_extension
in a so sl
; do
13652 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13653 test -f $ac_im_libdir/libX11.
$ac_extension; then
13654 ac_im_usrlibdir
=$ac_im_libdir; break
13657 # Screen out bogus values from the imake configuration. They are
13658 # bogus both because they are the default anyway, and because
13659 # using them would break gcc on systems where it needs fixed includes.
13660 case $ac_im_incroot in
13662 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13664 case $ac_im_usrlibdir in
13665 /usr
/lib
| /lib
) ;;
13666 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13670 rm -fr conftest.dir
13673 # Standard set of common directories for X headers.
13674 # Check X11 before X11Rn because it is often a symlink to the current release.
13686 /usr/local/X11/include
13687 /usr/local/X11R6/include
13688 /usr/local/X11R5/include
13689 /usr/local/X11R4/include
13691 /usr/local/include/X11
13692 /usr/local/include/X11R6
13693 /usr/local/include/X11R5
13694 /usr/local/include/X11R4
13698 /usr/XFree86/include/X11
13702 /usr/unsupported/include
13703 /usr/athena/include
13704 /usr/local/x11r5/include
13705 /usr/lpp/Xamples/include
13707 /usr/openwin/include
13708 /usr/openwin/share/include'
13710 if test "$ac_x_includes" = no
; then
13711 # Guess where to find include files, by looking for a specified header file.
13712 # First, try using that file with no special directory specified.
13713 cat >conftest.
$ac_ext <<_ACEOF
13716 cat confdefs.h
>>conftest.
$ac_ext
13717 cat >>conftest.
$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13719 #include <X11/Xlib.h>
13721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13722 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13724 grep -v '^ *+' conftest.er1
>conftest.err
13726 cat conftest.err
>&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } >/dev
/null
; then
13729 if test -s conftest.err
; then
13730 ac_cpp_err
=$ac_c_preproc_warn_flag
13731 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13738 if test -z "$ac_cpp_err"; then
13739 # We can compile using X headers with no special include directory.
13742 echo "$as_me: failed program was:" >&5
13743 sed 's/^/| /' conftest.
$ac_ext >&5
13745 for ac_dir
in $ac_x_header_dirs; do
13746 if test -r "$ac_dir/X11/Xlib.h"; then
13747 ac_x_includes
=$ac_dir
13752 rm -f conftest.err conftest.
$ac_ext
13753 fi # $ac_x_includes = no
13755 if test "$ac_x_libraries" = no
; then
13756 # Check for the libraries.
13757 # See if we find them without any special options.
13758 # Don't add to $LIBS permanently.
13761 cat >conftest.
$ac_ext <<_ACEOF
13764 cat confdefs.h
>>conftest.
$ac_ext
13765 cat >>conftest.
$ac_ext <<_ACEOF
13766 /* end confdefs.h. */
13767 #include <X11/Xlib.h>
13776 rm -f conftest.
$ac_objext conftest
$ac_exeext
13777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13778 (eval $ac_link) 2>conftest.er1
13780 grep -v '^ *+' conftest.er1
>conftest.err
13782 cat conftest.err
>&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); } &&
13785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13787 (eval $ac_try) 2>&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); }; } &&
13791 { ac_try
='test -s conftest$ac_exeext'
13792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13793 (eval $ac_try) 2>&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); }; }; then
13798 # We can link X programs with no special library path.
13801 echo "$as_me: failed program was:" >&5
13802 sed 's/^/| /' conftest.
$ac_ext >&5
13805 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13807 # Don't even attempt the hair of trying to link an X program!
13808 for ac_extension
in a so sl
; do
13809 if test -r $ac_dir/libX11.
$ac_extension; then
13810 ac_x_libraries
=$ac_dir
13816 rm -f conftest.err conftest.
$ac_objext \
13817 conftest
$ac_exeext conftest.
$ac_ext
13818 fi # $ac_x_libraries = no
13820 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
13821 # Didn't find X anywhere. Cache the known absence of X.
13822 ac_cv_have_x
="have_x=no"
13824 # Record where we found X for the cache.
13825 ac_cv_have_x
="have_x=yes \
13826 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13831 eval "$ac_cv_have_x"
13834 if test "$have_x" != yes; then
13835 echo "$as_me:$LINENO: result: $have_x" >&5
13836 echo "${ECHO_T}$have_x" >&6
13839 # If each of the values was on the command line, it overrides each guess.
13840 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13841 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13842 # Update the cache value to reflect the command line values.
13843 ac_cv_have_x
="have_x=yes \
13844 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13845 # It might be that x_includes is empty (headers are found in the
13846 # standard search path. Then output the corresponding message
13847 ac_out_x_includes
=$x_includes
13848 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
13849 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
13850 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
13854 if test "$no_x" = yes; then
13855 # Not all programs may use this symbol, but it does not hurt to define it.
13857 cat >>confdefs.h
<<\_ACEOF
13858 #define X_DISPLAY_MISSING 1
13861 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13863 if test -n "$x_includes"; then
13864 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13867 # It would also be nice to do this for all -L options, not just this one.
13868 if test -n "$x_libraries"; then
13869 X_LIBS
="$X_LIBS -L$x_libraries"
13870 # For Solaris; some versions of Sun CC require a space after -R and
13871 # others require no space. Words are not sufficient . . . .
13872 case `(uname -sr) 2>/dev/null` in
13874 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
13875 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
13876 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13877 cat >conftest.
$ac_ext <<_ACEOF
13880 cat confdefs.h
>>conftest.
$ac_ext
13881 cat >>conftest.
$ac_ext <<_ACEOF
13882 /* end confdefs.h. */
13892 rm -f conftest.
$ac_objext conftest
$ac_exeext
13893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13894 (eval $ac_link) 2>conftest.er1
13896 grep -v '^ *+' conftest.er1
>conftest.err
13898 cat conftest.err
>&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); } &&
13901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13903 (eval $ac_try) 2>&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); }; } &&
13907 { ac_try
='test -s conftest$ac_exeext'
13908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13909 (eval $ac_try) 2>&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; }; then
13915 echo "$as_me: failed program was:" >&5
13916 sed 's/^/| /' conftest.
$ac_ext >&5
13920 rm -f conftest.err conftest.
$ac_objext \
13921 conftest
$ac_exeext conftest.
$ac_ext
13922 if test $ac_R_nospace = yes; then
13923 echo "$as_me:$LINENO: result: no" >&5
13924 echo "${ECHO_T}no" >&6
13925 X_LIBS
="$X_LIBS -R$x_libraries"
13927 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13928 cat >conftest.
$ac_ext <<_ACEOF
13931 cat confdefs.h
>>conftest.
$ac_ext
13932 cat >>conftest.
$ac_ext <<_ACEOF
13933 /* end confdefs.h. */
13943 rm -f conftest.
$ac_objext conftest
$ac_exeext
13944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13945 (eval $ac_link) 2>conftest.er1
13947 grep -v '^ *+' conftest.er1
>conftest.err
13949 cat conftest.err
>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); } &&
13952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13954 (eval $ac_try) 2>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); }; } &&
13958 { ac_try
='test -s conftest$ac_exeext'
13959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13960 (eval $ac_try) 2>&5
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); }; }; then
13966 echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.
$ac_ext >&5
13971 rm -f conftest.err conftest.
$ac_objext \
13972 conftest
$ac_exeext conftest.
$ac_ext
13973 if test $ac_R_space = yes; then
13974 echo "$as_me:$LINENO: result: yes" >&5
13975 echo "${ECHO_T}yes" >&6
13976 X_LIBS
="$X_LIBS -R $x_libraries"
13978 echo "$as_me:$LINENO: result: neither works" >&5
13979 echo "${ECHO_T}neither works" >&6
13982 LIBS
=$ac_xsave_LIBS
13986 # Check for system-dependent libraries X programs must link with.
13987 # Do this before checking for the system-independent R6 libraries
13988 # (-lICE), since we may need -lsocket or whatever for X linking.
13990 if test "$ISC" = yes; then
13991 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13993 # Martyn Johnson says this is needed for Ultrix, if the X
13994 # libraries were built with DECnet support. And Karl Berry says
13995 # the Alpha needs dnet_stub (dnet does not exist).
13996 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13997 cat >conftest.
$ac_ext <<_ACEOF
14000 cat confdefs.h
>>conftest.
$ac_ext
14001 cat >>conftest.
$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14004 /* Override any gcc2 internal prototype to avoid an error. */
14008 /* We use char because int might match the return type of a gcc2
14009 builtin and then its argument prototype would still apply. */
14010 char XOpenDisplay ();
14019 rm -f conftest.
$ac_objext conftest
$ac_exeext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14021 (eval $ac_link) 2>conftest.er1
14023 grep -v '^ *+' conftest.er1
>conftest.err
14025 cat conftest.err
>&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14030 (eval $ac_try) 2>&5
14032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14033 (exit $ac_status); }; } &&
14034 { ac_try
='test -s conftest$ac_exeext'
14035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14036 (eval $ac_try) 2>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; }; then
14042 echo "$as_me: failed program was:" >&5
14043 sed 's/^/| /' conftest.
$ac_ext >&5
14045 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
14046 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
14047 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
14048 echo $ECHO_N "(cached) $ECHO_C" >&6
14050 ac_check_lib_save_LIBS
=$LIBS
14051 LIBS
="-ldnet $LIBS"
14052 cat >conftest.
$ac_ext <<_ACEOF
14055 cat confdefs.h
>>conftest.
$ac_ext
14056 cat >>conftest.
$ac_ext <<_ACEOF
14057 /* end confdefs.h. */
14059 /* Override any gcc2 internal prototype to avoid an error. */
14063 /* We use char because int might match the return type of a gcc2
14064 builtin and then its argument prototype would still apply. */
14074 rm -f conftest.
$ac_objext conftest
$ac_exeext
14075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14076 (eval $ac_link) 2>conftest.er1
14078 grep -v '^ *+' conftest.er1
>conftest.err
14080 cat conftest.err
>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } &&
14083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; } &&
14089 { ac_try
='test -s conftest$ac_exeext'
14090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14091 (eval $ac_try) 2>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }; }; then
14095 ac_cv_lib_dnet_dnet_ntoa
=yes
14097 echo "$as_me: failed program was:" >&5
14098 sed 's/^/| /' conftest.
$ac_ext >&5
14100 ac_cv_lib_dnet_dnet_ntoa
=no
14102 rm -f conftest.err conftest.
$ac_objext \
14103 conftest
$ac_exeext conftest.
$ac_ext
14104 LIBS
=$ac_check_lib_save_LIBS
14106 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14107 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
14108 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
14109 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14112 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14113 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
14114 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
14115 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 ac_check_lib_save_LIBS
=$LIBS
14119 LIBS
="-ldnet_stub $LIBS"
14120 cat >conftest.
$ac_ext <<_ACEOF
14123 cat confdefs.h
>>conftest.
$ac_ext
14124 cat >>conftest.
$ac_ext <<_ACEOF
14125 /* end confdefs.h. */
14127 /* Override any gcc2 internal prototype to avoid an error. */
14131 /* We use char because int might match the return type of a gcc2
14132 builtin and then its argument prototype would still apply. */
14142 rm -f conftest.
$ac_objext conftest
$ac_exeext
14143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14144 (eval $ac_link) 2>conftest.er1
14146 grep -v '^ *+' conftest.er1
>conftest.err
14148 cat conftest.err
>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); } &&
14151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14153 (eval $ac_try) 2>&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }; } &&
14157 { ac_try
='test -s conftest$ac_exeext'
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159 (eval $ac_try) 2>&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; }; then
14163 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14165 echo "$as_me: failed program was:" >&5
14166 sed 's/^/| /' conftest.
$ac_ext >&5
14168 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14170 rm -f conftest.err conftest.
$ac_objext \
14171 conftest
$ac_exeext conftest.
$ac_ext
14172 LIBS
=$ac_check_lib_save_LIBS
14174 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14175 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
14176 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
14177 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14182 rm -f conftest.err conftest.
$ac_objext \
14183 conftest
$ac_exeext conftest.
$ac_ext
14184 LIBS
="$ac_xsave_LIBS"
14186 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14187 # to get the SysV transport functions.
14188 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14190 # The nsl library prevents programs from opening the X display
14191 # on Irix 5.2, according to T.E. Dickey.
14192 # The functions gethostbyname, getservbyname, and inet_addr are
14193 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14194 echo "$as_me:$LINENO: checking for gethostbyname" >&5
14195 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
14196 if test "${ac_cv_func_gethostbyname+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14199 cat >conftest.
$ac_ext <<_ACEOF
14202 cat confdefs.h
>>conftest.
$ac_ext
14203 cat >>conftest.
$ac_ext <<_ACEOF
14204 /* end confdefs.h. */
14205 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
14206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14207 #define gethostbyname innocuous_gethostbyname
14209 /* System header to define __stub macros and hopefully few prototypes,
14210 which can conflict with char gethostbyname (); below.
14211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14212 <limits.h> exists even on freestanding compilers. */
14215 # include <limits.h>
14217 # include <assert.h>
14220 #undef gethostbyname
14222 /* Override any gcc2 internal prototype to avoid an error. */
14227 /* We use char because int might match the return type of a gcc2
14228 builtin and then its argument prototype would still apply. */
14229 char gethostbyname ();
14230 /* The GNU C library defines this for functions which it implements
14231 to always fail with ENOSYS. Some functions are actually named
14232 something starting with __ and the normal name is an alias. */
14233 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14236 char (*f) () = gethostbyname;
14245 return f != gethostbyname;
14250 rm -f conftest.
$ac_objext conftest
$ac_exeext
14251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14252 (eval $ac_link) 2>conftest.er1
14254 grep -v '^ *+' conftest.er1
>conftest.err
14256 cat conftest.err
>&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); } &&
14259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14261 (eval $ac_try) 2>&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); }; } &&
14265 { ac_try
='test -s conftest$ac_exeext'
14266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14267 (eval $ac_try) 2>&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); }; }; then
14271 ac_cv_func_gethostbyname
=yes
14273 echo "$as_me: failed program was:" >&5
14274 sed 's/^/| /' conftest.
$ac_ext >&5
14276 ac_cv_func_gethostbyname
=no
14278 rm -f conftest.err conftest.
$ac_objext \
14279 conftest
$ac_exeext conftest.
$ac_ext
14281 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
14282 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
14284 if test $ac_cv_func_gethostbyname = no
; then
14285 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
14286 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
14287 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14290 ac_check_lib_save_LIBS
=$LIBS
14292 cat >conftest.
$ac_ext <<_ACEOF
14295 cat confdefs.h
>>conftest.
$ac_ext
14296 cat >>conftest.
$ac_ext <<_ACEOF
14297 /* end confdefs.h. */
14299 /* Override any gcc2 internal prototype to avoid an error. */
14303 /* We use char because int might match the return type of a gcc2
14304 builtin and then its argument prototype would still apply. */
14305 char gethostbyname ();
14314 rm -f conftest.
$ac_objext conftest
$ac_exeext
14315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14316 (eval $ac_link) 2>conftest.er1
14318 grep -v '^ *+' conftest.er1
>conftest.err
14320 cat conftest.err
>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; } &&
14329 { ac_try
='test -s conftest$ac_exeext'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; }; then
14335 ac_cv_lib_nsl_gethostbyname
=yes
14337 echo "$as_me: failed program was:" >&5
14338 sed 's/^/| /' conftest.
$ac_ext >&5
14340 ac_cv_lib_nsl_gethostbyname
=no
14342 rm -f conftest.err conftest.
$ac_objext \
14343 conftest
$ac_exeext conftest.
$ac_ext
14344 LIBS
=$ac_check_lib_save_LIBS
14346 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
14347 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
14348 if test $ac_cv_lib_nsl_gethostbyname = yes; then
14349 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14352 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14353 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
14354 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
14355 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
14356 echo $ECHO_N "(cached) $ECHO_C" >&6
14358 ac_check_lib_save_LIBS
=$LIBS
14360 cat >conftest.
$ac_ext <<_ACEOF
14363 cat confdefs.h
>>conftest.
$ac_ext
14364 cat >>conftest.
$ac_ext <<_ACEOF
14365 /* end confdefs.h. */
14367 /* Override any gcc2 internal prototype to avoid an error. */
14371 /* We use char because int might match the return type of a gcc2
14372 builtin and then its argument prototype would still apply. */
14373 char gethostbyname ();
14382 rm -f conftest.
$ac_objext conftest
$ac_exeext
14383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14384 (eval $ac_link) 2>conftest.er1
14386 grep -v '^ *+' conftest.er1
>conftest.err
14388 cat conftest.err
>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } &&
14391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; } &&
14397 { ac_try
='test -s conftest$ac_exeext'
14398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14399 (eval $ac_try) 2>&5
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); }; }; then
14403 ac_cv_lib_bsd_gethostbyname
=yes
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.
$ac_ext >&5
14408 ac_cv_lib_bsd_gethostbyname
=no
14410 rm -f conftest.err conftest.
$ac_objext \
14411 conftest
$ac_exeext conftest.
$ac_ext
14412 LIBS
=$ac_check_lib_save_LIBS
14414 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
14415 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
14416 if test $ac_cv_lib_bsd_gethostbyname = yes; then
14417 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14423 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14424 # socket/setsockopt and other routines are undefined under SCO ODT
14425 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14426 # on later versions), says Simon Leinen: it contains gethostby*
14427 # variants that don't use the name server (or something). -lsocket
14428 # must be given before -lnsl if both are needed. We assume that
14429 # if connect needs -lnsl, so does gethostbyname.
14430 echo "$as_me:$LINENO: checking for connect" >&5
14431 echo $ECHO_N "checking for connect... $ECHO_C" >&6
14432 if test "${ac_cv_func_connect+set}" = set; then
14433 echo $ECHO_N "(cached) $ECHO_C" >&6
14435 cat >conftest.
$ac_ext <<_ACEOF
14438 cat confdefs.h
>>conftest.
$ac_ext
14439 cat >>conftest.
$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14441 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
14442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14443 #define connect innocuous_connect
14445 /* System header to define __stub macros and hopefully few prototypes,
14446 which can conflict with char connect (); below.
14447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14448 <limits.h> exists even on freestanding compilers. */
14451 # include <limits.h>
14453 # include <assert.h>
14458 /* Override any gcc2 internal prototype to avoid an error. */
14463 /* We use char because int might match the return type of a gcc2
14464 builtin and then its argument prototype would still apply. */
14466 /* The GNU C library defines this for functions which it implements
14467 to always fail with ENOSYS. Some functions are actually named
14468 something starting with __ and the normal name is an alias. */
14469 #if defined (__stub_connect) || defined (__stub___connect)
14472 char (*f) () = connect;
14481 return f != connect;
14486 rm -f conftest.
$ac_objext conftest
$ac_exeext
14487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14488 (eval $ac_link) 2>conftest.er1
14490 grep -v '^ *+' conftest.er1
>conftest.err
14492 cat conftest.err
>&5
14493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); } &&
14495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14497 (eval $ac_try) 2>&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); }; } &&
14501 { ac_try
='test -s conftest$ac_exeext'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; }; then
14507 ac_cv_func_connect
=yes
14509 echo "$as_me: failed program was:" >&5
14510 sed 's/^/| /' conftest.
$ac_ext >&5
14512 ac_cv_func_connect
=no
14514 rm -f conftest.err conftest.
$ac_objext \
14515 conftest
$ac_exeext conftest.
$ac_ext
14517 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
14518 echo "${ECHO_T}$ac_cv_func_connect" >&6
14520 if test $ac_cv_func_connect = no
; then
14521 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
14522 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
14523 if test "${ac_cv_lib_socket_connect+set}" = set; then
14524 echo $ECHO_N "(cached) $ECHO_C" >&6
14526 ac_check_lib_save_LIBS
=$LIBS
14527 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14528 cat >conftest.
$ac_ext <<_ACEOF
14531 cat confdefs.h
>>conftest.
$ac_ext
14532 cat >>conftest.
$ac_ext <<_ACEOF
14533 /* end confdefs.h. */
14535 /* Override any gcc2 internal prototype to avoid an error. */
14539 /* We use char because int might match the return type of a gcc2
14540 builtin and then its argument prototype would still apply. */
14550 rm -f conftest.
$ac_objext conftest
$ac_exeext
14551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14552 (eval $ac_link) 2>conftest.er1
14554 grep -v '^ *+' conftest.er1
>conftest.err
14556 cat conftest.err
>&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } &&
14559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14561 (eval $ac_try) 2>&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); }; } &&
14565 { ac_try
='test -s conftest$ac_exeext'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; }; then
14571 ac_cv_lib_socket_connect
=yes
14573 echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.
$ac_ext >&5
14576 ac_cv_lib_socket_connect
=no
14578 rm -f conftest.err conftest.
$ac_objext \
14579 conftest
$ac_exeext conftest.
$ac_ext
14580 LIBS
=$ac_check_lib_save_LIBS
14582 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
14583 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
14584 if test $ac_cv_lib_socket_connect = yes; then
14585 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14590 # Guillermo Gomez says -lposix is necessary on A/UX.
14591 echo "$as_me:$LINENO: checking for remove" >&5
14592 echo $ECHO_N "checking for remove... $ECHO_C" >&6
14593 if test "${ac_cv_func_remove+set}" = set; then
14594 echo $ECHO_N "(cached) $ECHO_C" >&6
14596 cat >conftest.
$ac_ext <<_ACEOF
14599 cat confdefs.h
>>conftest.
$ac_ext
14600 cat >>conftest.
$ac_ext <<_ACEOF
14601 /* end confdefs.h. */
14602 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
14603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14604 #define remove innocuous_remove
14606 /* System header to define __stub macros and hopefully few prototypes,
14607 which can conflict with char remove (); below.
14608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14609 <limits.h> exists even on freestanding compilers. */
14612 # include <limits.h>
14614 # include <assert.h>
14619 /* Override any gcc2 internal prototype to avoid an error. */
14624 /* We use char because int might match the return type of a gcc2
14625 builtin and then its argument prototype would still apply. */
14627 /* The GNU C library defines this for functions which it implements
14628 to always fail with ENOSYS. Some functions are actually named
14629 something starting with __ and the normal name is an alias. */
14630 #if defined (__stub_remove) || defined (__stub___remove)
14633 char (*f) () = remove;
14642 return f != remove;
14647 rm -f conftest.
$ac_objext conftest
$ac_exeext
14648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14649 (eval $ac_link) 2>conftest.er1
14651 grep -v '^ *+' conftest.er1
>conftest.err
14653 cat conftest.err
>&5
14654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); } &&
14656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14658 (eval $ac_try) 2>&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); }; } &&
14662 { ac_try
='test -s conftest$ac_exeext'
14663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14664 (eval $ac_try) 2>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); }; }; then
14668 ac_cv_func_remove
=yes
14670 echo "$as_me: failed program was:" >&5
14671 sed 's/^/| /' conftest.
$ac_ext >&5
14673 ac_cv_func_remove
=no
14675 rm -f conftest.err conftest.
$ac_objext \
14676 conftest
$ac_exeext conftest.
$ac_ext
14678 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
14679 echo "${ECHO_T}$ac_cv_func_remove" >&6
14681 if test $ac_cv_func_remove = no
; then
14682 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
14683 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
14684 if test "${ac_cv_lib_posix_remove+set}" = set; then
14685 echo $ECHO_N "(cached) $ECHO_C" >&6
14687 ac_check_lib_save_LIBS
=$LIBS
14688 LIBS
="-lposix $LIBS"
14689 cat >conftest.
$ac_ext <<_ACEOF
14692 cat confdefs.h
>>conftest.
$ac_ext
14693 cat >>conftest.
$ac_ext <<_ACEOF
14694 /* end confdefs.h. */
14696 /* Override any gcc2 internal prototype to avoid an error. */
14700 /* We use char because int might match the return type of a gcc2
14701 builtin and then its argument prototype would still apply. */
14711 rm -f conftest.
$ac_objext conftest
$ac_exeext
14712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14713 (eval $ac_link) 2>conftest.er1
14715 grep -v '^ *+' conftest.er1
>conftest.err
14717 cat conftest.err
>&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); } &&
14720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14722 (eval $ac_try) 2>&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }; } &&
14726 { ac_try
='test -s conftest$ac_exeext'
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728 (eval $ac_try) 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; }; then
14732 ac_cv_lib_posix_remove
=yes
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.
$ac_ext >&5
14737 ac_cv_lib_posix_remove
=no
14739 rm -f conftest.err conftest.
$ac_objext \
14740 conftest
$ac_exeext conftest.
$ac_ext
14741 LIBS
=$ac_check_lib_save_LIBS
14743 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
14744 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
14745 if test $ac_cv_lib_posix_remove = yes; then
14746 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14751 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14752 echo "$as_me:$LINENO: checking for shmat" >&5
14753 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
14754 if test "${ac_cv_func_shmat+set}" = set; then
14755 echo $ECHO_N "(cached) $ECHO_C" >&6
14757 cat >conftest.
$ac_ext <<_ACEOF
14760 cat confdefs.h
>>conftest.
$ac_ext
14761 cat >>conftest.
$ac_ext <<_ACEOF
14762 /* end confdefs.h. */
14763 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
14764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14765 #define shmat innocuous_shmat
14767 /* System header to define __stub macros and hopefully few prototypes,
14768 which can conflict with char shmat (); below.
14769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14770 <limits.h> exists even on freestanding compilers. */
14773 # include <limits.h>
14775 # include <assert.h>
14780 /* Override any gcc2 internal prototype to avoid an error. */
14785 /* We use char because int might match the return type of a gcc2
14786 builtin and then its argument prototype would still apply. */
14788 /* The GNU C library defines this for functions which it implements
14789 to always fail with ENOSYS. Some functions are actually named
14790 something starting with __ and the normal name is an alias. */
14791 #if defined (__stub_shmat) || defined (__stub___shmat)
14794 char (*f) () = shmat;
14808 rm -f conftest.
$ac_objext conftest
$ac_exeext
14809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14810 (eval $ac_link) 2>conftest.er1
14812 grep -v '^ *+' conftest.er1
>conftest.err
14814 cat conftest.err
>&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); } &&
14817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14819 (eval $ac_try) 2>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; } &&
14823 { ac_try
='test -s conftest$ac_exeext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 ac_cv_func_shmat
=yes
14831 echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.
$ac_ext >&5
14834 ac_cv_func_shmat
=no
14836 rm -f conftest.err conftest.
$ac_objext \
14837 conftest
$ac_exeext conftest.
$ac_ext
14839 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
14840 echo "${ECHO_T}$ac_cv_func_shmat" >&6
14842 if test $ac_cv_func_shmat = no
; then
14843 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
14844 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
14845 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 ac_check_lib_save_LIBS
=$LIBS
14850 cat >conftest.
$ac_ext <<_ACEOF
14853 cat confdefs.h
>>conftest.
$ac_ext
14854 cat >>conftest.
$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14857 /* Override any gcc2 internal prototype to avoid an error. */
14861 /* We use char because int might match the return type of a gcc2
14862 builtin and then its argument prototype would still apply. */
14872 rm -f conftest.
$ac_objext conftest
$ac_exeext
14873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14874 (eval $ac_link) 2>conftest.er1
14876 grep -v '^ *+' conftest.er1
>conftest.err
14878 cat conftest.err
>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } &&
14881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; } &&
14887 { ac_try
='test -s conftest$ac_exeext'
14888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 (eval $ac_try) 2>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; }; then
14893 ac_cv_lib_ipc_shmat
=yes
14895 echo "$as_me: failed program was:" >&5
14896 sed 's/^/| /' conftest.
$ac_ext >&5
14898 ac_cv_lib_ipc_shmat
=no
14900 rm -f conftest.err conftest.
$ac_objext \
14901 conftest
$ac_exeext conftest.
$ac_ext
14902 LIBS
=$ac_check_lib_save_LIBS
14904 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
14905 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
14906 if test $ac_cv_lib_ipc_shmat = yes; then
14907 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14913 # Check for libraries that X11R6 Xt/Xaw programs need.
14914 ac_save_LDFLAGS
=$LDFLAGS
14915 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14916 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14917 # check for ICE first), but we must link in the order -lSM -lICE or
14918 # we get undefined symbols. So assume we have SM if we have ICE.
14919 # These have to be linked with before -lX11, unlike the other
14920 # libraries we check for below, so use a different variable.
14921 # John Interrante, Karl Berry
14922 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
14923 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
14924 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
14925 echo $ECHO_N "(cached) $ECHO_C" >&6
14927 ac_check_lib_save_LIBS
=$LIBS
14928 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14929 cat >conftest.
$ac_ext <<_ACEOF
14932 cat confdefs.h
>>conftest.
$ac_ext
14933 cat >>conftest.
$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14936 /* Override any gcc2 internal prototype to avoid an error. */
14940 /* We use char because int might match the return type of a gcc2
14941 builtin and then its argument prototype would still apply. */
14942 char IceConnectionNumber ();
14946 IceConnectionNumber ();
14951 rm -f conftest.
$ac_objext conftest
$ac_exeext
14952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14953 (eval $ac_link) 2>conftest.er1
14955 grep -v '^ *+' conftest.er1
>conftest.err
14957 cat conftest.err
>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } &&
14960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; } &&
14966 { ac_try
='test -s conftest$ac_exeext'
14967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); }; }; then
14972 ac_cv_lib_ICE_IceConnectionNumber
=yes
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.
$ac_ext >&5
14977 ac_cv_lib_ICE_IceConnectionNumber
=no
14979 rm -f conftest.err conftest.
$ac_objext \
14980 conftest
$ac_exeext conftest.
$ac_ext
14981 LIBS
=$ac_check_lib_save_LIBS
14983 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14984 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
14985 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
14986 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14989 LDFLAGS
=$ac_save_LDFLAGS
14999 ac_cpp
='$CPP $CPPFLAGS'
15000 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15001 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15002 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15006 # We used to check for pthread.h first, but this fails if pthread.h
15007 # requires special compiler flags (e.g. on True64 or Sequent).
15008 # It gets checked for in the link test anyway.
15010 # First of all, check if the user has set any of the PTHREAD_LIBS,
15011 # etcetera environment variables, and if threads linking works using
15013 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
15014 save_CFLAGS
="$CFLAGS"
15015 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15017 LIBS
="$PTHREAD_LIBS $LIBS"
15018 echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
15019 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6
15020 cat >conftest.
$ac_ext <<_ACEOF
15023 cat confdefs.h
>>conftest.
$ac_ext
15024 cat >>conftest.
$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15027 /* Override any gcc2 internal prototype to avoid an error. */
15031 /* We use char because int might match the return type of a gcc2
15032 builtin and then its argument prototype would still apply. */
15033 char pthread_join ();
15042 rm -f conftest.
$ac_objext conftest
$ac_exeext
15043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15044 (eval $ac_link) 2>conftest.er1
15046 grep -v '^ *+' conftest.er1
>conftest.err
15048 cat conftest.err
>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); } &&
15051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; } &&
15057 { ac_try
='test -s conftest$ac_exeext'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; }; then
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.
$ac_ext >&5
15069 rm -f conftest.err conftest.
$ac_objext \
15070 conftest
$ac_exeext conftest.
$ac_ext
15071 echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
15072 echo "${ECHO_T}$acx_pthread_ok" >&6
15073 if test x
"$acx_pthread_ok" = xno
; then
15078 CFLAGS
="$save_CFLAGS"
15081 # We must check for the threads library under a number of different
15082 # names; the ordering is very important because some systems
15083 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
15084 # libraries is broken (non-POSIX).
15086 # Create a list of thread flags to try. Items starting with a "-" are
15087 # C compiler flags, and other items are library names, except for "none"
15088 # which indicates that we try without any flags at all, and "pthread-config"
15089 # which is a program returning the flags for the Pth emulation library.
15091 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
15093 # The ordering *is* (sometimes) important. Some notes on the
15094 # individual items follow:
15096 # pthreads: AIX (must check this before -lpthread)
15097 # none: in case threads are in libc; should be tried before -Kthread and
15098 # other compiler flags to prevent continual compiler warnings
15099 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
15100 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
15101 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
15102 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
15103 # -pthreads: Solaris/gcc
15104 # -mthreads: Mingw32/gcc, Lynx/gcc
15105 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
15106 # doesn't hurt to check since this sometimes defines pthreads too;
15107 # also defines -D_REENTRANT)
15108 # pthread: Linux, etcetera
15109 # --thread-safe: KAI C++
15110 # pthread-config: use pthread-config program (for GNU Pth library)
15112 case "${host_cpu}-${host_os}" in
15115 # On Solaris (at least, for some versions), libc contains stubbed
15116 # (non-functional) versions of the pthreads routines, so link-based
15117 # tests will erroneously succeed. (We need to link with -pthread or
15118 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
15119 # a function called by this macro, so we could check for that, but
15120 # who knows whether they'll stub that too in a future libc.) So,
15121 # we'll just look for -pthreads and -lpthread first:
15123 acx_pthread_flags
="-pthread -pthreads pthread -mt $acx_pthread_flags"
15127 if test x
"$acx_pthread_ok" = xno
; then
15128 for flag
in $acx_pthread_flags; do
15132 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
15133 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
15137 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
15138 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
15139 PTHREAD_CFLAGS
="$flag"
15143 # Extract the first word of "pthread-config", so it can be a program name with args.
15144 set dummy pthread
-config; ac_word
=$2
15145 echo "$as_me:$LINENO: checking for $ac_word" >&5
15146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15147 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
15148 echo $ECHO_N "(cached) $ECHO_C" >&6
15150 if test -n "$acx_pthread_config"; then
15151 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
15153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15154 for as_dir
in $PATH
15157 test -z "$as_dir" && as_dir
=.
15158 for ac_exec_ext
in '' $ac_executable_extensions; do
15159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15160 ac_cv_prog_acx_pthread_config
="yes"
15161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15167 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
15170 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
15171 if test -n "$acx_pthread_config"; then
15172 echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
15173 echo "${ECHO_T}$acx_pthread_config" >&6
15175 echo "$as_me:$LINENO: result: no" >&5
15176 echo "${ECHO_T}no" >&6
15179 if test x
"$acx_pthread_config" = xno
; then continue; fi
15180 PTHREAD_CFLAGS
="`pthread-config --cflags`"
15181 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
15185 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
15186 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
15187 PTHREAD_LIBS
="-l$flag"
15192 save_CFLAGS
="$CFLAGS"
15193 LIBS
="$PTHREAD_LIBS $LIBS"
15194 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15196 # Check for various functions. We must include pthread.h,
15197 # since some functions may be macros. (On the Sequent, we
15198 # need a special flag -Kthread to make this header compile.)
15199 # We check for pthread_join because it is in -lpthread on IRIX
15200 # while pthread_create is in libc. We check for pthread_attr_init
15201 # due to DEC craziness with -lpthreads. We check for
15202 # pthread_cleanup_push because it is one of the few pthread
15203 # functions on Solaris that doesn't have a non-functional libc stub.
15204 # We try pthread_create on general principles.
15205 cat >conftest.
$ac_ext <<_ACEOF
15208 cat confdefs.h
>>conftest.
$ac_ext
15209 cat >>conftest.
$ac_ext <<_ACEOF
15210 /* end confdefs.h. */
15211 #include <pthread.h>
15215 pthread_t th; pthread_join(th, 0);
15216 pthread_attr_init(0); pthread_cleanup_push(0, 0);
15217 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
15222 rm -f conftest.
$ac_objext conftest
$ac_exeext
15223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15224 (eval $ac_link) 2>conftest.er1
15226 grep -v '^ *+' conftest.er1
>conftest.err
15228 cat conftest.err
>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } &&
15231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15233 (eval $ac_try) 2>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; } &&
15237 { ac_try
='test -s conftest$ac_exeext'
15238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15239 (eval $ac_try) 2>&5
15241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); }; }; then
15245 echo "$as_me: failed program was:" >&5
15246 sed 's/^/| /' conftest.
$ac_ext >&5
15249 rm -f conftest.err conftest.
$ac_objext \
15250 conftest
$ac_exeext conftest.
$ac_ext
15253 CFLAGS
="$save_CFLAGS"
15255 echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
15256 echo "${ECHO_T}$acx_pthread_ok" >&6
15257 if test "x$acx_pthread_ok" = xyes
; then
15266 # Various other checks:
15267 if test "x$acx_pthread_ok" = xyes
; then
15269 LIBS
="$PTHREAD_LIBS $LIBS"
15270 save_CFLAGS
="$CFLAGS"
15271 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15273 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
15274 echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
15275 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6
15277 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
15278 cat >conftest.
$ac_ext <<_ACEOF
15281 cat confdefs.h
>>conftest.
$ac_ext
15282 cat >>conftest.
$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15284 #include <pthread.h>
15293 rm -f conftest.
$ac_objext conftest
$ac_exeext
15294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15295 (eval $ac_link) 2>conftest.er1
15297 grep -v '^ *+' conftest.er1
>conftest.err
15299 cat conftest.err
>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); } &&
15302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15304 (eval $ac_try) 2>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); }; } &&
15308 { ac_try
='test -s conftest$ac_exeext'
15309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310 (eval $ac_try) 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; }; then
15314 attr_name
=$attr; break
15316 echo "$as_me: failed program was:" >&5
15317 sed 's/^/| /' conftest.
$ac_ext >&5
15320 rm -f conftest.err conftest.
$ac_objext \
15321 conftest
$ac_exeext conftest.
$ac_ext
15323 echo "$as_me:$LINENO: result: $attr_name" >&5
15324 echo "${ECHO_T}$attr_name" >&6
15325 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
15327 cat >>confdefs.h
<<_ACEOF
15328 #define PTHREAD_CREATE_JOINABLE $attr_name
15333 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
15334 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
15336 case "${host_cpu}-${host_os}" in
15337 *-aix* | *-freebsd* | *-darwin*) flag
="-D_THREAD_SAFE";;
15338 *solaris
* | *-osf* | *-hpux*) flag
="-D_REENTRANT";;
15340 echo "$as_me:$LINENO: result: ${flag}" >&5
15341 echo "${ECHO_T}${flag}" >&6
15342 if test "x$flag" != xno
; then
15343 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
15347 CFLAGS
="$save_CFLAGS"
15349 # More AIX lossage: must compile with cc_r
15350 # Extract the first word of "cc_r", so it can be a program name with args.
15351 set dummy cc_r
; ac_word
=$2
15352 echo "$as_me:$LINENO: checking for $ac_word" >&5
15353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15354 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
15355 echo $ECHO_N "(cached) $ECHO_C" >&6
15357 if test -n "$PTHREAD_CC"; then
15358 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
15360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15361 for as_dir
in $PATH
15364 test -z "$as_dir" && as_dir
=.
15365 for ac_exec_ext
in '' $ac_executable_extensions; do
15366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15367 ac_cv_prog_PTHREAD_CC
="cc_r"
15368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15374 test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC
="${CC}"
15377 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
15378 if test -n "$PTHREAD_CC"; then
15379 echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
15380 echo "${ECHO_T}$PTHREAD_CC" >&6
15382 echo "$as_me:$LINENO: result: no" >&5
15383 echo "${ECHO_T}no" >&6
15394 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
15395 if test x
"$acx_pthread_ok" = xyes
; then
15397 cat >>confdefs.h
<<\_ACEOF
15398 #define HAVE_PTHREAD 1
15407 ac_cpp
='$CPP $CPPFLAGS'
15408 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15409 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15410 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15415 # There isn't a reliable way to know we should use the Apple OpenGL framework
15416 # without a configure option. A Mac OS X user may have installed an
15417 # alternative GL implementation (e.g., Mesa), which may or may not depend on X.
15420 # Check whether --with-apple-opengl-framework or --without-apple-opengl-framework was given.
15421 if test "${with_apple_opengl_framework+set}" = set; then
15422 withval
="$with_apple_opengl_framework"
15425 if test "X$with_apple_opengl_framework" = "Xyes"; then
15427 cat >>confdefs.h
<<\_ACEOF
15428 #define HAVE_APPLE_OPENGL_FRAMEWORK 1
15431 GL_LIBS
="-framework OpenGL"
15434 ac_cpp
='$CPP $CPPFLAGS'
15435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15440 echo "$as_me:$LINENO: checking whether we are using the Microsoft C compiler" >&5
15441 echo $ECHO_N "checking whether we are using the Microsoft C compiler... $ECHO_C" >&6
15442 if test "${ax_cv_c_compiler_ms+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15445 cat >conftest.
$ac_ext <<_ACEOF
15448 cat confdefs.h
>>conftest.
$ac_ext
15449 cat >>conftest.
$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15463 rm -f conftest.
$ac_objext
15464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15465 (eval $ac_compile) 2>conftest.er1
15467 grep -v '^ *+' conftest.er1
>conftest.err
15469 cat conftest.err
>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); } &&
15472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15474 (eval $ac_try) 2>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; } &&
15478 { ac_try
='test -s conftest.$ac_objext'
15479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15480 (eval $ac_try) 2>&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); }; }; then
15486 echo "$as_me: failed program was:" >&5
15487 sed 's/^/| /' conftest.
$ac_ext >&5
15491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15492 ax_cv_c_compiler_ms
=$ax_compiler_ms
15495 echo "$as_me:$LINENO: result: $ax_cv_c_compiler_ms" >&5
15496 echo "${ECHO_T}$ax_cv_c_compiler_ms" >&6
15497 if test X
$ax_compiler_ms = Xno
; then
15498 GL_CFLAGS
="${PTHREAD_CFLAGS}"
15499 GL_LIBS
="${PTHREAD_LIBS} -lm"
15503 # Use x_includes and x_libraries if they have been set (presumably by
15506 if test "X$no_x" != "Xyes"; then
15507 if test -n "$x_includes"; then
15508 GL_CFLAGS
="-I${x_includes} ${GL_CFLAGS}"
15510 if test -n "$x_libraries"; then
15511 GL_LIBS
="-L${x_libraries} -lX11 ${GL_LIBS}"
15516 for ac_header
in windows.h
15518 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15520 echo "$as_me:$LINENO: checking for $ac_header" >&5
15521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15523 echo $ECHO_N "(cached) $ECHO_C" >&6
15525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15528 # Is the header compilable?
15529 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15531 cat >conftest.
$ac_ext <<_ACEOF
15534 cat confdefs.h
>>conftest.
$ac_ext
15535 cat >>conftest.
$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15537 $ac_includes_default
15538 #include <$ac_header>
15540 rm -f conftest.
$ac_objext
15541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15542 (eval $ac_compile) 2>conftest.er1
15544 grep -v '^ *+' conftest.er1
>conftest.err
15546 cat conftest.err
>&5
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); } &&
15549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551 (eval $ac_try) 2>&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; } &&
15555 { ac_try
='test -s conftest.$ac_objext'
15556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15557 (eval $ac_try) 2>&5
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); }; }; then
15561 ac_header_compiler
=yes
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.
$ac_ext >&5
15566 ac_header_compiler
=no
15568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15570 echo "${ECHO_T}$ac_header_compiler" >&6
15572 # Is the header present?
15573 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15574 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15575 cat >conftest.
$ac_ext <<_ACEOF
15578 cat confdefs.h
>>conftest.
$ac_ext
15579 cat >>conftest.
$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581 #include <$ac_header>
15583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15584 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15586 grep -v '^ *+' conftest.er1
>conftest.err
15588 cat conftest.err
>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } >/dev
/null
; then
15591 if test -s conftest.err
; then
15592 ac_cpp_err
=$ac_c_preproc_warn_flag
15593 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15600 if test -z "$ac_cpp_err"; then
15601 ac_header_preproc
=yes
15603 echo "$as_me: failed program was:" >&5
15604 sed 's/^/| /' conftest.
$ac_ext >&5
15606 ac_header_preproc
=no
15608 rm -f conftest.err conftest.
$ac_ext
15609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15610 echo "${ECHO_T}$ac_header_preproc" >&6
15612 # So? What about this header?
15613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15615 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15616 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15618 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15619 ac_header_preproc
=yes
15622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15626 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15627 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15628 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15629 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15632 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15633 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15636 ## -------------------------------------- ##
15637 ## Report this to tiff@lists.maptools.org ##
15638 ## -------------------------------------- ##
15641 sed "s/^/$as_me: WARNING: /" >&2
15644 echo "$as_me:$LINENO: checking for $ac_header" >&5
15645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15647 echo $ECHO_N "(cached) $ECHO_C" >&6
15649 eval "$as_ac_Header=\$ac_header_preproc"
15651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15656 cat >>confdefs.h
<<_ACEOF
15657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15665 echo "$as_me:$LINENO: checking for OpenGL library" >&5
15666 echo $ECHO_N "checking for OpenGL library... $ECHO_C" >&6
15667 if test "${ax_cv_check_gl_libgl+set}" = set; then
15668 echo $ECHO_N "(cached) $ECHO_C" >&6
15670 ax_cv_check_gl_libgl
="no"
15671 ax_save_CPPFLAGS
="${CPPFLAGS}"
15672 CPPFLAGS
="${GL_CFLAGS} ${CPPFLAGS}"
15673 ax_save_LIBS
="${LIBS}"
15675 ax_check_libs
="-lopengl32 -lGL"
15676 for ax_lib
in ${ax_check_libs}; do
15677 if test X
$ax_compiler_ms = Xyes
; then
15678 ax_try_lib
=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`
15680 ax_try_lib
="${ax_lib}"
15682 LIBS
="${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}"
15683 cat >conftest.
$ac_ext <<_ACEOF
15686 cat confdefs.h
>>conftest.
$ac_ext
15687 cat >>conftest.
$ac_ext <<_ACEOF
15688 /* end confdefs.h. */
15690 # if HAVE_WINDOWS_H && defined(_WIN32)
15691 # include <windows.h>
15693 # include <GL/gl.h>
15702 rm -f conftest.
$ac_objext conftest
$ac_exeext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15704 (eval $ac_link) 2>conftest.er1
15706 grep -v '^ *+' conftest.er1
>conftest.err
15708 cat conftest.err
>&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); } &&
15711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } &&
15717 { ac_try
='test -s conftest$ac_exeext'
15718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719 (eval $ac_try) 2>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; }; then
15723 ax_cv_check_gl_libgl
="${ax_try_lib}"; break
15725 echo "$as_me: failed program was:" >&5
15726 sed 's/^/| /' conftest.
$ac_ext >&5
15729 rm -f conftest.err conftest.
$ac_objext \
15730 conftest
$ac_exeext conftest.
$ac_ext
15732 LIBS
=${ax_save_LIBS}
15733 CPPFLAGS
=${ax_save_CPPFLAGS}
15735 echo "$as_me:$LINENO: result: $ax_cv_check_gl_libgl" >&5
15736 echo "${ECHO_T}$ax_cv_check_gl_libgl" >&6
15738 if test "X${ax_cv_check_gl_libgl}" = "Xno"; then
15743 GL_LIBS
="${ax_cv_check_gl_libgl} ${GL_LIBS}"
15746 ac_cpp
='$CPP $CPPFLAGS'
15747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15759 ac_cpp
='$CXXCPP $CPPFLAGS'
15760 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15761 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15762 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15763 if test -n "$ac_tool_prefix"; then
15764 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
15766 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15767 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15768 echo "$as_me:$LINENO: checking for $ac_word" >&5
15769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15770 if test "${ac_cv_prog_CXX+set}" = set; then
15771 echo $ECHO_N "(cached) $ECHO_C" >&6
15773 if test -n "$CXX"; then
15774 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15777 for as_dir
in $PATH
15780 test -z "$as_dir" && as_dir
=.
15781 for ac_exec_ext
in '' $ac_executable_extensions; do
15782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15783 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15792 CXX
=$ac_cv_prog_CXX
15793 if test -n "$CXX"; then
15794 echo "$as_me:$LINENO: result: $CXX" >&5
15795 echo "${ECHO_T}$CXX" >&6
15797 echo "$as_me:$LINENO: result: no" >&5
15798 echo "${ECHO_T}no" >&6
15801 test -n "$CXX" && break
15804 if test -z "$CXX"; then
15806 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
15808 # Extract the first word of "$ac_prog", so it can be a program name with args.
15809 set dummy
$ac_prog; ac_word
=$2
15810 echo "$as_me:$LINENO: checking for $ac_word" >&5
15811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15812 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15813 echo $ECHO_N "(cached) $ECHO_C" >&6
15815 if test -n "$ac_ct_CXX"; then
15816 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15819 for as_dir
in $PATH
15822 test -z "$as_dir" && as_dir
=.
15823 for ac_exec_ext
in '' $ac_executable_extensions; do
15824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15825 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15834 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15835 if test -n "$ac_ct_CXX"; then
15836 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15837 echo "${ECHO_T}$ac_ct_CXX" >&6
15839 echo "$as_me:$LINENO: result: no" >&5
15840 echo "${ECHO_T}no" >&6
15843 test -n "$ac_ct_CXX" && break
15845 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
15851 # Provide some information about the compiler.
15852 echo "$as_me:$LINENO:" \
15853 "checking for C++ compiler version" >&5
15854 ac_compiler
=`set X $ac_compile; echo $2`
15855 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15856 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }
15860 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15861 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); }
15865 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15866 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }
15871 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15872 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
15873 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 cat >conftest.
$ac_ext <<_ACEOF
15879 cat confdefs.h
>>conftest.
$ac_ext
15880 cat >>conftest.
$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15894 rm -f conftest.
$ac_objext
15895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15896 (eval $ac_compile) 2>conftest.er1
15898 grep -v '^ *+' conftest.er1
>conftest.err
15900 cat conftest.err
>&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); } &&
15903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15905 (eval $ac_try) 2>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); }; } &&
15909 { ac_try
='test -s conftest.$ac_objext'
15910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15911 (eval $ac_try) 2>&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); }; }; then
15915 ac_compiler_gnu
=yes
15917 echo "$as_me: failed program was:" >&5
15918 sed 's/^/| /' conftest.
$ac_ext >&5
15922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15923 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15926 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15927 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
15928 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15929 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15930 ac_save_CXXFLAGS
=$CXXFLAGS
15932 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15933 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
15934 if test "${ac_cv_prog_cxx_g+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 cat >conftest.
$ac_ext <<_ACEOF
15940 cat confdefs.h
>>conftest.
$ac_ext
15941 cat >>conftest.
$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15952 rm -f conftest.
$ac_objext
15953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15954 (eval $ac_compile) 2>conftest.er1
15956 grep -v '^ *+' conftest.er1
>conftest.err
15958 cat conftest.err
>&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); } &&
15961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15963 (eval $ac_try) 2>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); }; } &&
15967 { ac_try
='test -s conftest.$ac_objext'
15968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15969 (eval $ac_try) 2>&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); }; }; then
15973 ac_cv_prog_cxx_g
=yes
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.
$ac_ext >&5
15978 ac_cv_prog_cxx_g
=no
15980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15982 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15983 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
15984 if test "$ac_test_CXXFLAGS" = set; then
15985 CXXFLAGS
=$ac_save_CXXFLAGS
15986 elif test $ac_cv_prog_cxx_g = yes; then
15987 if test "$GXX" = yes; then
15993 if test "$GXX" = yes; then
15999 for ac_declaration
in \
16001 'extern "C" void std::exit (int) throw (); using std::exit;' \
16002 'extern "C" void std::exit (int); using std::exit;' \
16003 'extern "C" void exit (int) throw ();' \
16004 'extern "C" void exit (int);' \
16007 cat >conftest.
$ac_ext <<_ACEOF
16010 cat confdefs.h
>>conftest.
$ac_ext
16011 cat >>conftest.
$ac_ext <<_ACEOF
16012 /* end confdefs.h. */
16014 #include <stdlib.h>
16023 rm -f conftest.
$ac_objext
16024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16025 (eval $ac_compile) 2>conftest.er1
16027 grep -v '^ *+' conftest.er1
>conftest.err
16029 cat conftest.err
>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); } &&
16032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try
='test -s conftest.$ac_objext'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then
16046 echo "$as_me: failed program was:" >&5
16047 sed 's/^/| /' conftest.
$ac_ext >&5
16051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16052 cat >conftest.
$ac_ext <<_ACEOF
16055 cat confdefs.h
>>conftest.
$ac_ext
16056 cat >>conftest.
$ac_ext <<_ACEOF
16057 /* end confdefs.h. */
16067 rm -f conftest.
$ac_objext
16068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16069 (eval $ac_compile) 2>conftest.er1
16071 grep -v '^ *+' conftest.er1
>conftest.err
16073 cat conftest.err
>&5
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); } &&
16076 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16078 (eval $ac_try) 2>&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); }; } &&
16082 { ac_try
='test -s conftest.$ac_objext'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; }; then
16090 echo "$as_me: failed program was:" >&5
16091 sed 's/^/| /' conftest.
$ac_ext >&5
16094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16097 if test -n "$ac_declaration"; then
16098 echo '#ifdef __cplusplus' >>confdefs.h
16099 echo $ac_declaration >>confdefs.h
16100 echo '#endif' >>confdefs.h
16104 ac_cpp
='$CPP $CPPFLAGS'
16105 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16106 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16107 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16109 depcc
="$CXX" am_compiler_list
=
16111 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
16112 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
16113 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
16114 echo $ECHO_N "(cached) $ECHO_C" >&6
16116 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16117 # We make a subdir and do the tests there. Otherwise we can end up
16118 # making bogus files that we don't know about and never remove. For
16119 # instance it was reported that on HP-UX the gcc test will end up
16120 # making a dummy file named `D' -- because `-MD' means `put the output
16123 # Copy depcomp to subdir because otherwise we won't find it if we're
16124 # using a relative directory.
16125 cp "$am_depcomp" conftest.dir
16127 # We will build objects and dependencies in a subdirectory because
16128 # it helps to detect inapplicable dependency modes. For instance
16129 # both Tru64's cc and ICC support -MD to output dependencies as a
16130 # side effect of compilation, but ICC will put the dependencies in
16131 # the current directory while Tru64 will put them in the object
16135 am_cv_CXX_dependencies_compiler_type
=none
16136 if test "$am_compiler_list" = ""; then
16137 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16139 for depmode
in $am_compiler_list; do
16140 # Setup a source with many dependencies, because some compilers
16141 # like to wrap large dependency lists on column 80 (with \), and
16142 # we should not choose a depcomp mode which is confused by this.
16144 # We need to recreate these files for each test, as the compiler may
16145 # overwrite some of them when testing with obscure command lines.
16146 # This happens at least with the AIX C compiler.
16148 for i
in 1 2 3 4 5 6; do
16149 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16150 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16151 # Solaris 8's {/usr,}/bin/sh.
16152 touch sub
/conftst
$i.h
16154 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16158 # after this tag, mechanisms are not by side-effect, so they'll
16159 # only be used when explicitly requested
16160 if test "x$enable_dependency_tracking" = xyes
; then
16168 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16169 # mode. It turns out that the SunPro C++ compiler does not properly
16170 # handle `-M -o', and we need to detect this.
16171 if depmode
=$depmode \
16172 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
16173 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16174 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
16175 >/dev
/null
2>conftest.err
&&
16176 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16177 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
16178 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
16179 # icc doesn't choke on unknown options, it will just issue warnings
16180 # or remarks (even with -Werror). So we grep stderr for any message
16181 # that says an option was ignored or not supported.
16182 # When given -MP, icc 7.0 and 7.1 complain thusly:
16183 # icc: Command line warning: ignoring option '-M'; no argument required
16184 # The diagnosis changed in icc 8.0:
16185 # icc: Command line remark: option '-MP' not supported
16186 if (grep 'ignoring option' conftest.err
||
16187 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16188 am_cv_CXX_dependencies_compiler_type
=$depmode
16195 rm -rf conftest.dir
16197 am_cv_CXX_dependencies_compiler_type
=none
16201 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
16202 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
16203 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
16208 test "x$enable_dependency_tracking" != xno \
16209 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
16210 am__fastdepCXX_TRUE
=
16211 am__fastdepCXX_FALSE
='#'
16213 am__fastdepCXX_TRUE
='#'
16214 am__fastdepCXX_FALSE
=
16218 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
16219 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
16220 (test "X$CXX" != "Xg++"))) ; then
16222 ac_cpp
='$CXXCPP $CPPFLAGS'
16223 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16226 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16227 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16228 if test -z "$CXXCPP"; then
16229 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16230 echo $ECHO_N "(cached) $ECHO_C" >&6
16232 # Double quotes because CXXCPP needs to be expanded
16233 for CXXCPP
in "$CXX -E" "/lib/cpp"
16235 ac_preproc_ok
=false
16236 for ac_cxx_preproc_warn_flag
in '' yes
16238 # Use a header file that comes with gcc, so configuring glibc
16239 # with a fresh cross-compiler works.
16240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16241 # <limits.h> exists even on freestanding compilers.
16242 # On the NeXT, cc -E runs the code through the compiler's parser,
16243 # not just through cpp. "Syntax error" is here to catch this case.
16244 cat >conftest.
$ac_ext <<_ACEOF
16247 cat confdefs.h
>>conftest.
$ac_ext
16248 cat >>conftest.
$ac_ext <<_ACEOF
16249 /* end confdefs.h. */
16251 # include <limits.h>
16253 # include <assert.h>
16257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16258 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16260 grep -v '^ *+' conftest.er1
>conftest.err
16262 cat conftest.err
>&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } >/dev
/null
; then
16265 if test -s conftest.err
; then
16266 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16267 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16274 if test -z "$ac_cpp_err"; then
16277 echo "$as_me: failed program was:" >&5
16278 sed 's/^/| /' conftest.
$ac_ext >&5
16280 # Broken: fails on valid input.
16283 rm -f conftest.err conftest.
$ac_ext
16285 # OK, works on sane cases. Now check whether non-existent headers
16286 # can be detected and how.
16287 cat >conftest.
$ac_ext <<_ACEOF
16290 cat confdefs.h
>>conftest.
$ac_ext
16291 cat >>conftest.
$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16293 #include <ac_nonexistent.h>
16295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16296 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16298 grep -v '^ *+' conftest.er1
>conftest.err
16300 cat conftest.err
>&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); } >/dev
/null
; then
16303 if test -s conftest.err
; then
16304 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16305 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16312 if test -z "$ac_cpp_err"; then
16313 # Broken: success on invalid input.
16316 echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.
$ac_ext >&5
16319 # Passes both tests.
16323 rm -f conftest.err conftest.
$ac_ext
16326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16327 rm -f conftest.err conftest.
$ac_ext
16328 if $ac_preproc_ok; then
16333 ac_cv_prog_CXXCPP
=$CXXCPP
16336 CXXCPP
=$ac_cv_prog_CXXCPP
16338 ac_cv_prog_CXXCPP
=$CXXCPP
16340 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16341 echo "${ECHO_T}$CXXCPP" >&6
16342 ac_preproc_ok
=false
16343 for ac_cxx_preproc_warn_flag
in '' yes
16345 # Use a header file that comes with gcc, so configuring glibc
16346 # with a fresh cross-compiler works.
16347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16348 # <limits.h> exists even on freestanding compilers.
16349 # On the NeXT, cc -E runs the code through the compiler's parser,
16350 # not just through cpp. "Syntax error" is here to catch this case.
16351 cat >conftest.
$ac_ext <<_ACEOF
16354 cat confdefs.h
>>conftest.
$ac_ext
16355 cat >>conftest.
$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16358 # include <limits.h>
16360 # include <assert.h>
16364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16367 grep -v '^ *+' conftest.er1
>conftest.err
16369 cat conftest.err
>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } >/dev
/null
; then
16372 if test -s conftest.err
; then
16373 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16374 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16381 if test -z "$ac_cpp_err"; then
16384 echo "$as_me: failed program was:" >&5
16385 sed 's/^/| /' conftest.
$ac_ext >&5
16387 # Broken: fails on valid input.
16390 rm -f conftest.err conftest.
$ac_ext
16392 # OK, works on sane cases. Now check whether non-existent headers
16393 # can be detected and how.
16394 cat >conftest.
$ac_ext <<_ACEOF
16397 cat confdefs.h
>>conftest.
$ac_ext
16398 cat >>conftest.
$ac_ext <<_ACEOF
16399 /* end confdefs.h. */
16400 #include <ac_nonexistent.h>
16402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16403 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16405 grep -v '^ *+' conftest.er1
>conftest.err
16407 cat conftest.err
>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } >/dev
/null
; then
16410 if test -s conftest.err
; then
16411 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16412 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16419 if test -z "$ac_cpp_err"; then
16420 # Broken: success on invalid input.
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.
$ac_ext >&5
16426 # Passes both tests.
16430 rm -f conftest.err conftest.
$ac_ext
16433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16434 rm -f conftest.err conftest.
$ac_ext
16435 if $ac_preproc_ok; then
16438 _lt_caught_CXX_error
=yes
16442 ac_cpp
='$CPP $CPPFLAGS'
16443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16448 _lt_caught_CXX_error
=yes
16454 ac_cpp
='$CXXCPP $CPPFLAGS'
16455 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16456 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16457 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16458 if test -n "$ac_tool_prefix"; then
16459 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
16461 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16462 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16463 echo "$as_me:$LINENO: checking for $ac_word" >&5
16464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16465 if test "${ac_cv_prog_CXX+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 if test -n "$CXX"; then
16469 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16472 for as_dir
in $PATH
16475 test -z "$as_dir" && as_dir
=.
16476 for ac_exec_ext
in '' $ac_executable_extensions; do
16477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16478 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16487 CXX
=$ac_cv_prog_CXX
16488 if test -n "$CXX"; then
16489 echo "$as_me:$LINENO: result: $CXX" >&5
16490 echo "${ECHO_T}$CXX" >&6
16492 echo "$as_me:$LINENO: result: no" >&5
16493 echo "${ECHO_T}no" >&6
16496 test -n "$CXX" && break
16499 if test -z "$CXX"; then
16501 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
16503 # Extract the first word of "$ac_prog", so it can be a program name with args.
16504 set dummy
$ac_prog; ac_word
=$2
16505 echo "$as_me:$LINENO: checking for $ac_word" >&5
16506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16507 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 if test -n "$ac_ct_CXX"; then
16511 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16514 for as_dir
in $PATH
16517 test -z "$as_dir" && as_dir
=.
16518 for ac_exec_ext
in '' $ac_executable_extensions; do
16519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16520 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16529 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16530 if test -n "$ac_ct_CXX"; then
16531 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16532 echo "${ECHO_T}$ac_ct_CXX" >&6
16534 echo "$as_me:$LINENO: result: no" >&5
16535 echo "${ECHO_T}no" >&6
16538 test -n "$ac_ct_CXX" && break
16540 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
16546 # Provide some information about the compiler.
16547 echo "$as_me:$LINENO:" \
16548 "checking for C++ compiler version" >&5
16549 ac_compiler
=`set X $ac_compile; echo $2`
16550 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
16551 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); }
16555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
16556 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }
16560 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
16561 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }
16566 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16567 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
16568 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16569 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 cat >conftest.
$ac_ext <<_ACEOF
16574 cat confdefs.h
>>conftest.
$ac_ext
16575 cat >>conftest.
$ac_ext <<_ACEOF
16576 /* end confdefs.h. */
16589 rm -f conftest.
$ac_objext
16590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16591 (eval $ac_compile) 2>conftest.er1
16593 grep -v '^ *+' conftest.er1
>conftest.err
16595 cat conftest.err
>&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); } &&
16598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; } &&
16604 { ac_try
='test -s conftest.$ac_objext'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; }; then
16610 ac_compiler_gnu
=yes
16612 echo "$as_me: failed program was:" >&5
16613 sed 's/^/| /' conftest.
$ac_ext >&5
16617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16618 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16621 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16622 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
16623 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16624 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16625 ac_save_CXXFLAGS
=$CXXFLAGS
16627 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16628 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
16629 if test "${ac_cv_prog_cxx_g+set}" = set; then
16630 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 cat >conftest.
$ac_ext <<_ACEOF
16635 cat confdefs.h
>>conftest.
$ac_ext
16636 cat >>conftest.
$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16647 rm -f conftest.
$ac_objext
16648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16649 (eval $ac_compile) 2>conftest.er1
16651 grep -v '^ *+' conftest.er1
>conftest.err
16653 cat conftest.err
>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } &&
16656 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; } &&
16662 { ac_try
='test -s conftest.$ac_objext'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; }; then
16668 ac_cv_prog_cxx_g
=yes
16670 echo "$as_me: failed program was:" >&5
16671 sed 's/^/| /' conftest.
$ac_ext >&5
16673 ac_cv_prog_cxx_g
=no
16675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16677 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16678 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
16679 if test "$ac_test_CXXFLAGS" = set; then
16680 CXXFLAGS
=$ac_save_CXXFLAGS
16681 elif test $ac_cv_prog_cxx_g = yes; then
16682 if test "$GXX" = yes; then
16688 if test "$GXX" = yes; then
16694 for ac_declaration
in \
16696 'extern "C" void std::exit (int) throw (); using std::exit;' \
16697 'extern "C" void std::exit (int); using std::exit;' \
16698 'extern "C" void exit (int) throw ();' \
16699 'extern "C" void exit (int);' \
16702 cat >conftest.
$ac_ext <<_ACEOF
16705 cat confdefs.h
>>conftest.
$ac_ext
16706 cat >>conftest.
$ac_ext <<_ACEOF
16707 /* end confdefs.h. */
16709 #include <stdlib.h>
16718 rm -f conftest.
$ac_objext
16719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16720 (eval $ac_compile) 2>conftest.er1
16722 grep -v '^ *+' conftest.er1
>conftest.err
16724 cat conftest.err
>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); } &&
16727 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; } &&
16733 { ac_try
='test -s conftest.$ac_objext'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; }; then
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.
$ac_ext >&5
16746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16747 cat >conftest.
$ac_ext <<_ACEOF
16750 cat confdefs.h
>>conftest.
$ac_ext
16751 cat >>conftest.
$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16762 rm -f conftest.
$ac_objext
16763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16764 (eval $ac_compile) 2>conftest.er1
16766 grep -v '^ *+' conftest.er1
>conftest.err
16768 cat conftest.err
>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); } &&
16771 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; } &&
16777 { ac_try
='test -s conftest.$ac_objext'
16778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16779 (eval $ac_try) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); }; }; then
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.
$ac_ext >&5
16789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16792 if test -n "$ac_declaration"; then
16793 echo '#ifdef __cplusplus' >>confdefs.h
16794 echo $ac_declaration >>confdefs.h
16795 echo '#endif' >>confdefs.h
16799 ac_cpp
='$CPP $CPPFLAGS'
16800 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16801 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16802 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16804 depcc
="$CXX" am_compiler_list
=
16806 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
16807 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
16808 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
16809 echo $ECHO_N "(cached) $ECHO_C" >&6
16811 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16812 # We make a subdir and do the tests there. Otherwise we can end up
16813 # making bogus files that we don't know about and never remove. For
16814 # instance it was reported that on HP-UX the gcc test will end up
16815 # making a dummy file named `D' -- because `-MD' means `put the output
16818 # Copy depcomp to subdir because otherwise we won't find it if we're
16819 # using a relative directory.
16820 cp "$am_depcomp" conftest.dir
16822 # We will build objects and dependencies in a subdirectory because
16823 # it helps to detect inapplicable dependency modes. For instance
16824 # both Tru64's cc and ICC support -MD to output dependencies as a
16825 # side effect of compilation, but ICC will put the dependencies in
16826 # the current directory while Tru64 will put them in the object
16830 am_cv_CXX_dependencies_compiler_type
=none
16831 if test "$am_compiler_list" = ""; then
16832 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16834 for depmode
in $am_compiler_list; do
16835 # Setup a source with many dependencies, because some compilers
16836 # like to wrap large dependency lists on column 80 (with \), and
16837 # we should not choose a depcomp mode which is confused by this.
16839 # We need to recreate these files for each test, as the compiler may
16840 # overwrite some of them when testing with obscure command lines.
16841 # This happens at least with the AIX C compiler.
16843 for i
in 1 2 3 4 5 6; do
16844 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16845 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16846 # Solaris 8's {/usr,}/bin/sh.
16847 touch sub
/conftst
$i.h
16849 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16853 # after this tag, mechanisms are not by side-effect, so they'll
16854 # only be used when explicitly requested
16855 if test "x$enable_dependency_tracking" = xyes
; then
16863 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16864 # mode. It turns out that the SunPro C++ compiler does not properly
16865 # handle `-M -o', and we need to detect this.
16866 if depmode
=$depmode \
16867 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
16868 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16869 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
16870 >/dev
/null
2>conftest.err
&&
16871 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16872 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
16873 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
16874 # icc doesn't choke on unknown options, it will just issue warnings
16875 # or remarks (even with -Werror). So we grep stderr for any message
16876 # that says an option was ignored or not supported.
16877 # When given -MP, icc 7.0 and 7.1 complain thusly:
16878 # icc: Command line warning: ignoring option '-M'; no argument required
16879 # The diagnosis changed in icc 8.0:
16880 # icc: Command line remark: option '-MP' not supported
16881 if (grep 'ignoring option' conftest.err
||
16882 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16883 am_cv_CXX_dependencies_compiler_type
=$depmode
16890 rm -rf conftest.dir
16892 am_cv_CXX_dependencies_compiler_type
=none
16896 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
16897 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
16898 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
16903 test "x$enable_dependency_tracking" != xno \
16904 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
16905 am__fastdepCXX_TRUE
=
16906 am__fastdepCXX_FALSE
='#'
16908 am__fastdepCXX_TRUE
='#'
16909 am__fastdepCXX_FALSE
=
16914 ac_cpp
='$CXXCPP $CPPFLAGS'
16915 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16916 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16917 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16919 archive_cmds_need_lc_CXX
=no
16920 allow_undefined_flag_CXX
=
16921 always_export_symbols_CXX
=no
16922 archive_expsym_cmds_CXX
=
16923 export_dynamic_flag_spec_CXX
=
16924 hardcode_direct_CXX
=no
16925 hardcode_libdir_flag_spec_CXX
=
16926 hardcode_libdir_flag_spec_ld_CXX
=
16927 hardcode_libdir_separator_CXX
=
16928 hardcode_minus_L_CXX
=no
16929 hardcode_shlibpath_var_CXX
=unsupported
16930 hardcode_automatic_CXX
=no
16931 inherit_rpath_CXX
=no
16933 module_expsym_cmds_CXX
=
16934 link_all_deplibs_CXX
=unknown
16935 old_archive_cmds_CXX
=$old_archive_cmds
16936 no_undefined_flag_CXX
=
16937 whole_archive_flag_spec_CXX
=
16938 enable_shared_with_static_runtimes_CXX
=no
16940 # Source file extension for C++ test sources.
16943 # Object file extension for compiled C++ test sources.
16947 # No sense in running all these tests if we already determined that
16948 # the CXX compiler isn't working. Some variables (like enable_shared)
16949 # are currently assumed to apply to all compilers on this platform,
16950 # and will be corrupted by setting them based on a non-working compiler.
16951 if test "$_lt_caught_CXX_error" != yes; then
16952 # Code to be used in simple compile tests
16953 lt_simple_compile_test_code
="int some_variable = 0;\n"
16955 # Code to be used in simple link tests
16956 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
16958 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16965 # If no C compiler was specified, use CC.
16968 # If no C compiler flags were specified, use CFLAGS.
16969 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16971 # Allow CC to be a program name with arguments.
16975 # save warnings/boilerplate of simple test code
16976 ac_outfile
=conftest.
$ac_objext
16977 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16978 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
16979 _lt_compiler_boilerplate
=`cat conftest.err`
16982 ac_outfile
=conftest.
$ac_objext
16983 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16984 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
16985 _lt_linker_boilerplate
=`cat conftest.err`
16989 # Allow CC to be a program name with arguments.
16994 lt_save_with_gnu_ld
=$with_gnu_ld
16995 lt_save_path_LD
=$lt_cv_path_LD
16996 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16997 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
16999 $as_unset lt_cv_prog_gnu_ld
17001 if test -n "${lt_cv_path_LDCXX+set}"; then
17002 lt_cv_path_LD
=$lt_cv_path_LDCXX
17004 $as_unset lt_cv_path_LD
17006 test -z "${LDCXX+set}" || LD
=$LDCXX
17010 for cc_temp
in $compiler""; do
17012 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
17013 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
17018 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17021 if test -n "$compiler"; then
17022 # We don't want -fno-exception when compiling C++ code, so set the
17023 # no_builtin_flag separately
17024 if test "$GXX" = yes; then
17025 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
17027 lt_prog_compiler_no_builtin_flag_CXX
=
17030 if test "$GXX" = yes; then
17031 # Set up default GNU C++ configuration
17035 # Check whether --with-gnu-ld or --without-gnu-ld was given.
17036 if test "${with_gnu_ld+set}" = set; then
17037 withval
="$with_gnu_ld"
17038 test "$withval" = no
|| with_gnu_ld
=yes
17043 if test "$GCC" = yes; then
17044 # Check if gcc -print-prog-name=ld gives a path.
17045 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17046 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
17049 # gcc leaves a trailing carriage return which upsets mingw
17050 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17052 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
17055 # Accept absolute paths.
17057 re_direlt
='/[^/][^/]*/\.\./'
17058 # Canonicalize the pathname of ld
17059 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17060 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
17061 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17063 test -z "$LD" && LD
="$ac_prog"
17066 # If it fails, then pretend we aren't using GCC.
17070 # If it is relative, then search for the first ld in PATH.
17071 with_gnu_ld
=unknown
17074 elif test "$with_gnu_ld" = yes; then
17075 echo "$as_me:$LINENO: checking for GNU ld" >&5
17076 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
17078 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
17079 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
17081 if test "${lt_cv_path_LD+set}" = set; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17084 if test -z "$LD"; then
17085 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
17086 for ac_dir
in $PATH; do
17088 test -z "$ac_dir" && ac_dir
=.
17089 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17090 lt_cv_path_LD
="$ac_dir/$ac_prog"
17091 # Check to see if the program is GNU ld. I'd rather use --version,
17092 # but apparently some variants of GNU ld only accept -v.
17093 # Break only if it was the GNU/non-GNU ld that we prefer.
17094 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17095 *GNU
* | *'with BFD'*)
17096 test "$with_gnu_ld" != no
&& break
17099 test "$with_gnu_ld" != yes && break
17106 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
17110 LD
="$lt_cv_path_LD"
17111 if test -n "$LD"; then
17112 echo "$as_me:$LINENO: result: $LD" >&5
17113 echo "${ECHO_T}$LD" >&6
17115 echo "$as_me:$LINENO: result: no" >&5
17116 echo "${ECHO_T}no" >&6
17118 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
17119 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
17120 { (exit 1); exit 1; }; }
17121 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
17122 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
17123 if test "${lt_cv_prog_gnu_ld+set}" = set; then
17124 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17127 case `$LD -v 2>&1 </dev/null` in
17128 *GNU
* | *'with BFD'*)
17129 lt_cv_prog_gnu_ld
=yes
17132 lt_cv_prog_gnu_ld
=no
17136 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17137 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17138 with_gnu_ld
=$lt_cv_prog_gnu_ld
17146 # Check if GNU C++ uses GNU ld as the underlying linker, since the
17147 # archiving commands below assume that GNU ld is being used.
17148 if test "$with_gnu_ld" = yes; then
17149 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17150 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'
17152 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
17153 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
17155 # If archive_cmds runs LD, not CC, wlarc should be empty
17156 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17157 # investigate it a little bit more. (MM)
17160 # ancient GNU ld didn't support --whole-archive et. al.
17161 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17162 $GREP 'no-whole-archive' > /dev
/null
; then
17163 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17165 whole_archive_flag_spec_CXX
=
17171 # A generic and very simple default shared library creation
17172 # command for GNU C++ for the case where it uses the native
17173 # linker, instead of GNU ld. If possible, this setting should
17174 # overridden to take advantage of the native linker features on
17175 # the platform it is being used on.
17176 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17179 # Commands to make compiler produce verbose output that lists
17180 # what "hidden" libraries, object files and flags are used when
17181 # linking a shared library.
17182 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
17190 # PORTME: fill in a description of your system's C++ link characteristics
17191 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17192 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17196 # FIXME: insert proper C++ library support
17200 if test "$host_cpu" = ia64
; then
17201 # On IA64, the linker does run time linking by default, so we don't
17202 # have to do anything special.
17203 aix_use_runtimelinking
=no
17204 exp_sym_flag
='-Bexport'
17207 aix_use_runtimelinking
=no
17209 # Test if we are trying to use run time linking or normal
17210 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17211 # need to do runtime linking.
17212 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17213 for ld_flag
in $LDFLAGS; do
17216 aix_use_runtimelinking
=yes
17224 exp_sym_flag
='-bexport'
17225 no_entry_flag
='-bnoentry'
17228 # When large executables or shared objects are built, AIX ld can
17229 # have problems creating the table of contents. If linking a library
17230 # or program results in "error TOC overflow" add -mminimal-toc to
17231 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17232 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17234 archive_cmds_CXX
=''
17235 hardcode_direct_CXX
=yes
17236 hardcode_libdir_separator_CXX
=':'
17237 link_all_deplibs_CXX
=yes
17238 file_list_spec_CXX
='${wl}-f,'
17240 if test "$GXX" = yes; then
17241 case $host_os in aix4.
[012]|aix4.
[012].
*)
17242 # We only want to do this on AIX 4.2 and lower, the check
17243 # below for broken collect2 doesn't work under 4.3+
17244 collect2name
=`${CC} -print-prog-name=collect2`
17245 if test -f "$collect2name" &&
17246 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
17248 # We have reworked collect2
17249 hardcode_direct_CXX
=yes
17251 # We have old collect2
17252 hardcode_direct_CXX
=unsupported
17253 # It fails to find uninstalled libraries when the uninstalled
17254 # path is not listed in the libpath. Setting hardcode_minus_L
17255 # to unsupported forces relinking
17256 hardcode_minus_L_CXX
=yes
17257 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17258 hardcode_libdir_separator_CXX
=
17261 shared_flag
='-shared'
17262 if test "$aix_use_runtimelinking" = yes; then
17263 shared_flag
="$shared_flag "'${wl}-G'
17267 if test "$host_cpu" = ia64
; then
17268 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17269 # chokes on -Wl,-G. The following line is correct:
17272 if test "$aix_use_runtimelinking" = yes; then
17273 shared_flag
='${wl}-G'
17275 shared_flag
='${wl}-bM:SRE'
17280 # It seems that -bexpall does not export symbols beginning with
17281 # underscore (_), so it is better to generate a list of symbols to
17283 always_export_symbols_CXX
=yes
17284 if test "$aix_use_runtimelinking" = yes; then
17285 # Warning - without using the other runtime loading flags (-brtl),
17286 # -berok will link without error, but may produce a broken library.
17287 allow_undefined_flag_CXX
='-berok'
17288 # Determine the default libpath from the value encoded in an empty
17290 cat >conftest.
$ac_ext <<_ACEOF
17293 cat confdefs.h
>>conftest.
$ac_ext
17294 cat >>conftest.
$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17305 rm -f conftest.
$ac_objext conftest
$ac_exeext
17306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17307 (eval $ac_link) 2>conftest.er1
17309 grep -v '^ *+' conftest.er1
>conftest.err
17311 cat conftest.err
>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } &&
17314 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; } &&
17320 { ac_try
='test -s conftest$ac_exeext'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; }; then
17327 lt_aix_libpath_sed
='
17328 /Import File Strings/,/^$/ {
17334 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17335 # Check for a 64-bit object if we didn't find anything.
17336 if test -z "$aix_libpath"; then
17337 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.
$ac_ext >&5
17344 rm -f conftest.err conftest.
$ac_objext \
17345 conftest
$ac_exeext conftest.
$ac_ext
17346 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17348 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
17350 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17352 if test "$host_cpu" = ia64
; then
17353 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
17354 allow_undefined_flag_CXX
="-z nodefs"
17355 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"
17357 # Determine the default libpath from the value encoded in an
17358 # empty executable.
17359 cat >conftest.
$ac_ext <<_ACEOF
17362 cat confdefs.h
>>conftest.
$ac_ext
17363 cat >>conftest.
$ac_ext <<_ACEOF
17364 /* end confdefs.h. */
17374 rm -f conftest.
$ac_objext conftest
$ac_exeext
17375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17376 (eval $ac_link) 2>conftest.er1
17378 grep -v '^ *+' conftest.er1
>conftest.err
17380 cat conftest.err
>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } &&
17383 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try
='test -s conftest$ac_exeext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17396 lt_aix_libpath_sed
='
17397 /Import File Strings/,/^$/ {
17403 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17404 # Check for a 64-bit object if we didn't find anything.
17405 if test -z "$aix_libpath"; then
17406 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.
$ac_ext >&5
17413 rm -f conftest.err conftest.
$ac_objext \
17414 conftest
$ac_exeext conftest.
$ac_ext
17415 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17417 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
17418 # Warning - without using the other run time loading flags,
17419 # -berok will link without error, but may produce a broken library.
17420 no_undefined_flag_CXX
=' ${wl}-bernotok'
17421 allow_undefined_flag_CXX
=' ${wl}-berok'
17422 # Exported symbols can be pulled into shared objects from archives
17423 whole_archive_flag_spec_CXX
='$convenience'
17424 archive_cmds_need_lc_CXX
=yes
17425 # This is similar to how AIX traditionally builds its shared
17427 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'
17433 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
17434 allow_undefined_flag_CXX
=unsupported
17435 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17436 # support --undefined. This deserves some investigation. FIXME
17437 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17444 case $cc_basename in
17446 # FIXME: insert proper C++ library support
17452 cygwin
* | mingw
* | pw32
*)
17453 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17454 # as there is no search path for DLLs.
17455 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17456 allow_undefined_flag_CXX
=unsupported
17457 always_export_symbols_CXX
=no
17458 enable_shared_with_static_runtimes_CXX
=yes
17460 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
17461 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'
17462 # If the export-symbols file already is a .def file (1st line
17463 # is EXPORTS), use it as is; otherwise, prepend...
17464 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17465 cp $export_symbols $output_objdir/$soname.def;
17467 echo EXPORTS > $output_objdir/$soname.def;
17468 cat $export_symbols >> $output_objdir/$soname.def;
17470 $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'
17475 darwin
* | rhapsody
*)
17477 rhapsody
* | darwin1.
[012])
17478 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
17481 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
17483 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17486 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
17491 archive_cmds_need_lc_CXX
=no
17492 hardcode_direct_CXX
=no
17493 hardcode_automatic_CXX
=yes
17494 hardcode_shlibpath_var_CXX
=unsupported
17495 whole_archive_flag_spec_CXX
=''
17496 link_all_deplibs_CXX
=yes
17498 if test "$GXX" = yes ; then
17499 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
17500 echo $ECHO_N "(cached) $ECHO_C" >&6
17502 lt_cv_apple_cc_single_mod
=no
17503 if test -z "${LT_MULTI_MODULE}"; then
17504 # By default we will add the -single_module flag. You can override
17505 # by either setting the environment variable LT_MULTI_MODULE
17506 # non-empty at configure time, or by adding -multi-module to the
17508 echo "int foo(void){return 1;}" > conftest.c
17509 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
17510 -dynamiclib ${wl}-single_module conftest.c
17511 if test -f libconftest.dylib
; then
17512 lt_cv_apple_cc_single_mod
=yes
17513 rm libconftest.dylib
17515 rm conftest.
$ac_ext
17519 output_verbose_link_cmd
=echo
17520 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
17521 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17522 archive_expsym_cmds_CXX
='sed "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}'
17524 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'
17525 archive_expsym_cmds_CXX
='sed "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}'
17527 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17528 module_expsym_cmds_CXX
='sed "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}'
17530 case $cc_basename in
17532 output_verbose_link_cmd
=echo
17533 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'
17534 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17535 # Don't fix this by using the ld -exported_symbols_list flag,
17536 # it doesn't exist in older darwin lds
17537 archive_expsym_cmds_CXX
='sed "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}'
17538 module_expsym_cmds_CXX
='sed "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}'
17548 case $cc_basename in
17550 # FIXME: insert proper C++ library support
17554 # Green Hills C++ Compiler
17555 # FIXME: insert proper C++ library support
17559 # FIXME: insert proper C++ library support
17566 # C++ shared libraries reported to be fairly broken before
17572 archive_cmds_need_lc_CXX
=no
17575 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17576 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
17585 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
17586 hardcode_libdir_separator_CXX
=:
17587 export_dynamic_flag_spec_CXX
='${wl}-E'
17588 hardcode_direct_CXX
=yes
17589 hardcode_minus_L_CXX
=yes # Not in the search PATH,
17590 # but as the default
17591 # location of the library.
17593 case $cc_basename in
17595 # FIXME: insert proper C++ library support
17599 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'
17600 # Commands to make compiler produce verbose output that lists
17601 # what "hidden" libraries, object files and flags are used when
17602 # linking a shared library.
17604 # There doesn't appear to be a way to prevent this compiler from
17605 # explicitly linking system object files so we need to strip them
17606 # from the output so that they don't get included in the library
17608 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
17611 if test "$GXX" = yes; then
17612 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'
17614 # FIXME: insert proper C++ library support
17622 if test $with_gnu_ld = no
; then
17623 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
17624 hardcode_libdir_separator_CXX
=:
17630 export_dynamic_flag_spec_CXX
='${wl}-E'
17636 hardcode_direct_CXX
=no
17637 hardcode_shlibpath_var_CXX
=no
17640 hardcode_direct_CXX
=yes
17641 hardcode_minus_L_CXX
=yes # Not in the search PATH,
17642 # but as the default
17643 # location of the library.
17647 case $cc_basename in
17649 # FIXME: insert proper C++ library support
17655 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17658 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17661 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17664 # Commands to make compiler produce verbose output that lists
17665 # what "hidden" libraries, object files and flags are used when
17666 # linking a shared library.
17668 # There doesn't appear to be a way to prevent this compiler from
17669 # explicitly linking system object files so we need to strip them
17670 # from the output so that they don't get included in the library
17672 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 "X$list" | $Xsed'
17675 if test "$GXX" = yes; then
17676 if test $with_gnu_ld = no
; then
17679 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17682 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17685 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'
17690 # FIXME: insert proper C++ library support
17698 hardcode_direct_CXX
=no
17699 hardcode_shlibpath_var_CXX
=no
17700 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
17701 export_dynamic_flag_spec_CXX
='${wl}-E'
17702 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17703 # Instead, shared libraries are loaded at an image base (0x10000000 by
17704 # default) and relocated if they conflict, which is a slow very memory
17705 # consuming and fragmenting process. To avoid this, we pick a random,
17706 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17707 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17708 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'
17709 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'
17712 case $cc_basename in
17715 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
17717 # Archives containing C++ object files must be created using
17718 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
17719 # necessary to make sure instantiated templates are included
17721 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
17724 if test "$GXX" = yes; then
17725 if test "$with_gnu_ld" = no
; then
17726 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17728 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
17731 link_all_deplibs_CXX
=yes
17734 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
17735 hardcode_libdir_separator_CXX
=:
17736 inherit_rpath_CXX
=yes
17740 case $cc_basename in
17742 # Kuck and Associates, Inc. (KAI) C++ Compiler
17744 # KCC will only create a shared library if the output file
17745 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17746 # to its proper name (with version) after linking.
17747 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'
17748 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'
17749 # Commands to make compiler produce verbose output that lists
17750 # what "hidden" libraries, object files and flags are used when
17751 # linking a shared library.
17753 # There doesn't appear to be a way to prevent this compiler from
17754 # explicitly linking system object files so we need to strip them
17755 # from the output so that they don't get included in the library
17757 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 "X$list" | $Xsed'
17759 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
17760 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
17762 # Archives containing C++ object files must be created using
17763 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17764 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
17769 # version 8.0 and above of icpc choke on multiply defined symbols
17770 # if we add $predep_objects and $postdep_objects, however 7.1 and
17771 # earlier do not add the objects themselves.
17772 case `$CC -V 2>&1` in
17774 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17775 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'
17777 *) # Version 8.0 or newer
17780 ia64
*) tmp_idyn
=' -i_dynamic';;
17782 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17783 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'
17786 archive_cmds_need_lc_CXX
=no
17787 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
17788 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
17789 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
17792 # Portland Group C++ compiler
17795 prelink_cmds_CXX
='tpldir=Template.dir~
17797 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
17798 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
17799 old_archive_cmds_CXX
='tpldir=Template.dir~
17801 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
17802 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
17804 archive_cmds_CXX
='tpldir=Template.dir~
17806 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17807 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
17808 archive_expsym_cmds_CXX
='tpldir=Template.dir~
17810 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17811 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
17813 *) # Version 6 will use weak symbols
17814 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
17815 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'
17819 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
17820 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
17821 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'
17825 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17826 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'
17828 runpath_var
=LD_RUN_PATH
17829 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
17830 hardcode_libdir_separator_CXX
=:
17832 # Commands to make compiler produce verbose output that lists
17833 # what "hidden" libraries, object files and flags are used when
17834 # linking a shared library.
17836 # There doesn't appear to be a way to prevent this compiler from
17837 # explicitly linking system object files so we need to strip them
17838 # from the output so that they don't get included in the library
17840 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
17846 # FIXME: insert proper C++ library support
17851 # FIXME: insert proper C++ library support
17856 case $cc_basename in
17858 # FIXME: insert proper C++ library support
17862 # FIXME: insert proper C++ library support
17869 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
17870 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17872 hardcode_libdir_flag_spec_CXX
='-R$libdir'
17873 hardcode_direct_CXX
=yes
17874 hardcode_shlibpath_var_CXX
=no
17876 # Workaround some broken pre-1.5 toolchains
17877 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17885 # C++ shared libraries are fairly broken
17890 hardcode_direct_CXX
=yes
17891 hardcode_shlibpath_var_CXX
=no
17892 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17893 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
17894 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17895 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
17896 export_dynamic_flag_spec_CXX
='${wl}-E'
17897 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17899 output_verbose_link_cmd
=echo
17902 osf3
* | osf4
* | osf5
*)
17903 case $cc_basename in
17905 # Kuck and Associates, Inc. (KAI) C++ Compiler
17907 # KCC will only create a shared library if the output file
17908 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17909 # to its proper name (with version) after linking.
17910 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'
17912 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
17913 hardcode_libdir_separator_CXX
=:
17915 # Archives containing C++ object files must be created using
17916 # the KAI C++ compiler.
17918 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
17919 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
17923 # Rational C++ 2.4.1
17924 # FIXME: insert proper C++ library support
17930 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
17931 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
17932 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
17935 allow_undefined_flag_CXX
=' -expect_unresolved \*'
17936 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
17937 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17938 echo "-hidden">> $lib.exp~
17939 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
17941 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
17945 hardcode_libdir_separator_CXX
=:
17947 # Commands to make compiler produce verbose output that lists
17948 # what "hidden" libraries, object files and flags are used when
17949 # linking a shared library.
17951 # There doesn't appear to be a way to prevent this compiler from
17952 # explicitly linking system object files so we need to strip them
17953 # from the output so that they don't get included in the library
17955 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
17958 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
17959 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
17962 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 "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17965 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" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17969 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
17970 hardcode_libdir_separator_CXX
=:
17972 # Commands to make compiler produce verbose output that lists
17973 # what "hidden" libraries, object files and flags are used when
17974 # linking a shared library.
17975 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
17978 # FIXME: insert proper C++ library support
17986 # FIXME: insert proper C++ library support
17991 case $cc_basename in
17994 # FIXME: insert proper C++ library support
17999 # FIXME: insert proper C++ library support
18003 # FIXME: insert proper C++ library support
18010 case $cc_basename in
18012 # Sun C++ 4.2, 5.x and Centerline C++
18013 archive_cmds_need_lc_CXX
=yes
18014 no_undefined_flag_CXX
=' -zdefs'
18015 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18016 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18017 $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'
18019 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18020 hardcode_shlibpath_var_CXX
=no
18022 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18024 # The C++ compiler is used as linker so we must use $wl
18025 # flag to pass the commands to the underlying system
18026 # linker. We must also pass each convenience library through
18027 # to the system linker between allextract/defaultextract.
18028 # The C++ compiler will combine linker options so we
18029 # cannot just pass the convenience library names through
18031 # Supported since Solaris 2.6 (maybe 2.5.1?)
18032 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'
18035 link_all_deplibs_CXX
=yes
18037 output_verbose_link_cmd
='echo'
18039 # Archives containing C++ object files must be created using
18040 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18041 # necessary to make sure instantiated templates are included
18043 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
18046 # Green Hills C++ Compiler
18047 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18049 # The C++ compiler must be used to create the archive.
18050 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18053 # GNU C++ compiler with Solaris linker
18054 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
18055 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
18056 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
18057 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18058 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18059 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18061 # Commands to make compiler produce verbose output that lists
18062 # what "hidden" libraries, object files and flags are used when
18063 # linking a shared library.
18064 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18066 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18068 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18069 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18070 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18072 # Commands to make compiler produce verbose output that lists
18073 # what "hidden" libraries, object files and flags are used when
18074 # linking a shared library.
18075 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18078 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
18084 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18085 no_undefined_flag_CXX
='${wl}-z,text'
18086 archive_cmds_need_lc_CXX
=no
18087 hardcode_shlibpath_var_CXX
=no
18088 runpath_var
='LD_RUN_PATH'
18090 case $cc_basename in
18092 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18093 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18096 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18097 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18102 sysv5
* | sco3.2v5
* | sco5v6
*)
18103 # Note: We can NOT use -z defs as we might desire, because we do not
18104 # link with -lc, and that would cause any symbols used from libc to
18105 # always be unresolved, which means just about no library would
18106 # ever link correctly. If we're not using GNU ld we use -z text
18107 # though, which does catch some bad symbols but isn't as heavy-handed
18109 no_undefined_flag_CXX
='${wl}-z,text'
18110 allow_undefined_flag_CXX
='${wl}-z,nodefs'
18111 archive_cmds_need_lc_CXX
=no
18112 hardcode_shlibpath_var_CXX
=no
18113 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
18114 hardcode_libdir_separator_CXX
=':'
18115 link_all_deplibs_CXX
=yes
18116 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
18117 runpath_var
='LD_RUN_PATH'
18119 case $cc_basename in
18121 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18122 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18125 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18126 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18132 case $cc_basename in
18134 # NonStop-UX NCC 3.20
18135 # FIXME: insert proper C++ library support
18139 # FIXME: insert proper C++ library support
18146 # FIXME: insert proper C++ library support
18151 # FIXME: insert proper C++ library support
18156 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
18157 echo "${ECHO_T}$ld_shlibs_CXX" >&6
18158 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
18164 ## There is no encapsulation within the following macros, do not change
18165 ## the running order or otherwise move them around unless you know exactly
18166 ## what you are doing...
18167 # Dependencies to place before and after the object being linked:
18168 predep_objects_CXX
=
18169 postdep_objects_CXX
=
18172 compiler_lib_search_path_CXX
=
18174 cat > conftest.
$ac_ext <<_LT_EOF
18178 Foo (void) { a = 0; }
18184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18185 (eval $ac_compile) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; then
18189 # Parse the compiler output and extract the necessary
18190 # objects, libraries and library flags.
18192 # Sentinel used to keep track of whether or not we are before
18193 # the conftest object file.
18194 pre_test_object_deps_done
=no
18196 # The `*' in the case matches for architectures that use `case' in
18197 # $output_verbose_cmd can trigger glob expansion during the loop
18198 # eval without this substitution.
18199 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
18201 for p
in `eval $output_verbose_link_cmd`; do
18205 # Some compilers place space between "-{L,R}" and the path.
18206 # Remove the space.
18207 if test $p = "-L" ||
18208 test $p = "-R"; then
18215 if test "$pre_test_object_deps_done" = no
; then
18218 # Internal compiler library paths should come after those
18219 # provided the user. The postdeps already come after the
18220 # user supplied libs so there is no need to process them.
18221 if test -z "$compiler_lib_search_path_CXX"; then
18222 compiler_lib_search_path_CXX
="${prev}${p}"
18224 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
18227 # The "-l" case would never come before the object being
18228 # linked, so don't bother handling this case.
18231 if test -z "$postdeps_CXX"; then
18232 postdeps_CXX
="${prev}${p}"
18234 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
18240 # This assumes that the test object file only shows up
18241 # once in the compiler output.
18242 if test "$p" = "conftest.$objext"; then
18243 pre_test_object_deps_done
=yes
18247 if test "$pre_test_object_deps_done" = no
; then
18248 if test -z "$predep_objects_CXX"; then
18249 predep_objects_CXX
="$p"
18251 predep_objects_CXX
="$predep_objects_CXX $p"
18254 if test -z "$postdep_objects_CXX"; then
18255 postdep_objects_CXX
="$p"
18257 postdep_objects_CXX
="$postdep_objects_CXX $p"
18262 *) ;; # Ignore the rest.
18270 echo "libtool.m4: error: problem compiling CXX test program"
18273 $RM -f confest.
$objext
18275 # PORTME: override above test on systems where it is broken
18278 # Interix 3.5 installs completely hosed .la files for C++, so rather than
18279 # hack all around it, let's just trust "g++" to DTRT.
18280 predep_objects_CXX
=
18281 postdep_objects_CXX
=
18286 case $cc_basename in
18288 # Adding this requires a known-good setup of shared libraries for
18289 # Sun compiler versions before 5.6, else PIC objects from an old
18290 # archive will be linked into the output, leading to subtle bugs.
18291 postdeps_CXX
='-lCstd -lCrun'
18298 case " $postdeps_CXX " in
18299 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
18327 lt_prog_compiler_wl_CXX
=
18328 lt_prog_compiler_pic_CXX
=
18329 lt_prog_compiler_static_CXX
=
18331 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18332 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
18334 # C++ specific cases for pic, static, wl, etc.
18335 if test "$GXX" = yes; then
18336 lt_prog_compiler_wl_CXX
='-Wl,'
18337 lt_prog_compiler_static_CXX
='-static'
18341 # All AIX code is PIC.
18342 if test "$host_cpu" = ia64
; then
18343 # AIX 5 now supports IA64 processor
18344 lt_prog_compiler_static_CXX
='-Bstatic'
18348 if test "$host_cpu" = m68k
; then
18349 # FIXME: we need at least 68020 code to build shared libraries, but
18350 # adding the `-m68020' flag to GCC prevents building anything better,
18352 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
18355 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
18356 # PIC is the default for these OSes.
18358 mingw
* | os2
* | pw32
*)
18359 # This hack is so that the source file can tell whether it is being
18360 # built for inclusion in a dll (and should export symbols for example).
18361 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
18363 darwin
* | rhapsody
*)
18364 # PIC is the default on this platform
18365 # Common symbols not allowed in MH_DYLIB files
18366 lt_prog_compiler_pic_CXX
='-fno-common'
18369 # DJGPP does not support shared libraries at all
18370 lt_prog_compiler_pic_CXX
=
18373 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18374 # Instead, we relocate shared libraries at runtime.
18377 if test -d /usr
/nec
; then
18378 lt_prog_compiler_pic_CXX
=-Kconform_pic
18382 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18383 # not for PA HP-UX.
18388 lt_prog_compiler_pic_CXX
='-fPIC'
18393 # QNX uses GNU C++, but need to define -shared option too, otherwise
18394 # it will coredump.
18395 lt_prog_compiler_pic_CXX
='-fPIC -shared'
18398 lt_prog_compiler_pic_CXX
='-fPIC'
18404 # All AIX code is PIC.
18405 if test "$host_cpu" = ia64
; then
18406 # AIX 5 now supports IA64 processor
18407 lt_prog_compiler_static_CXX
='-Bstatic'
18409 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
18413 case $cc_basename in
18415 # Green Hills C++ Compiler
18416 # _LT_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"
18421 # PIC is the default on this platform
18422 # Common symbols not allowed in MH_DYLIB files
18423 case $cc_basename in
18425 lt_prog_compiler_pic_CXX
='-qnocommon'
18426 lt_prog_compiler_wl_CXX
='-Wl,'
18431 case $cc_basename in
18433 lt_prog_compiler_pic_CXX
='-KPIC'
18436 # Green Hills C++ Compiler
18437 lt_prog_compiler_pic_CXX
='-pic'
18443 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
18444 # FreeBSD uses GNU C++
18446 hpux9
* | hpux10
* | hpux11
*)
18447 case $cc_basename in
18449 lt_prog_compiler_wl_CXX
='-Wl,'
18450 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
18451 if test "$host_cpu" != ia64
; then
18452 lt_prog_compiler_pic_CXX
='+Z'
18456 lt_prog_compiler_wl_CXX
='-Wl,'
18457 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
18463 lt_prog_compiler_pic_CXX
='+Z'
18472 # This is c89, which is MS Visual C++ (no shared libs)
18473 # Anyone wants to do a port?
18475 irix5
* | irix6
* | nonstopux
*)
18476 case $cc_basename in
18478 lt_prog_compiler_wl_CXX
='-Wl,'
18479 lt_prog_compiler_static_CXX
='-non_shared'
18480 # CC pic flag -KPIC is the default.
18487 case $cc_basename in
18490 lt_prog_compiler_wl_CXX
='--backend -Wl,'
18491 lt_prog_compiler_pic_CXX
='-fPIC'
18495 lt_prog_compiler_wl_CXX
='-Wl,'
18496 lt_prog_compiler_pic_CXX
='-KPIC'
18497 lt_prog_compiler_static_CXX
='-static'
18500 # Portland Group C++ compiler
18501 lt_prog_compiler_wl_CXX
='-Wl,'
18502 lt_prog_compiler_pic_CXX
='-fpic'
18503 lt_prog_compiler_static_CXX
='-Bstatic'
18507 # Make sure the PIC flag is empty. It appears that all Alpha
18508 # Linux and Compaq Tru64 Unix objects are PIC.
18509 lt_prog_compiler_pic_CXX
=
18510 lt_prog_compiler_static_CXX
='-non_shared'
18521 case $cc_basename in
18523 lt_prog_compiler_pic_CXX
='-W c,exportall'
18532 # QNX uses GNU C++, but need to define -shared option too, otherwise
18533 # it will coredump.
18534 lt_prog_compiler_pic_CXX
='-fPIC -shared'
18536 osf3
* | osf4
* | osf5
*)
18537 case $cc_basename in
18539 lt_prog_compiler_wl_CXX
='--backend -Wl,'
18542 # Rational C++ 2.4.1
18543 lt_prog_compiler_pic_CXX
='-pic'
18546 # Digital/Compaq C++
18547 lt_prog_compiler_wl_CXX
='-Wl,'
18548 # Make sure the PIC flag is empty. It appears that all Alpha
18549 # Linux and Compaq Tru64 Unix objects are PIC.
18550 lt_prog_compiler_pic_CXX
=
18551 lt_prog_compiler_static_CXX
='-non_shared'
18560 case $cc_basename in
18562 # Sun C++ 4.2, 5.x and Centerline C++
18563 lt_prog_compiler_pic_CXX
='-KPIC'
18564 lt_prog_compiler_static_CXX
='-Bstatic'
18565 lt_prog_compiler_wl_CXX
='-Qoption ld '
18568 # Green Hills C++ Compiler
18569 lt_prog_compiler_pic_CXX
='-PIC'
18576 case $cc_basename in
18579 lt_prog_compiler_pic_CXX
='-pic'
18580 lt_prog_compiler_static_CXX
='-Bstatic'
18584 lt_prog_compiler_pic_CXX
='-pic'
18590 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
18591 case $cc_basename in
18593 lt_prog_compiler_wl_CXX
='-Wl,'
18594 lt_prog_compiler_pic_CXX
='-KPIC'
18595 lt_prog_compiler_static_CXX
='-Bstatic'
18600 case $cc_basename in
18602 # NonStop-UX NCC 3.20
18603 lt_prog_compiler_pic_CXX
='-KPIC'
18612 lt_prog_compiler_can_build_shared_CXX
=no
18618 # For platforms which do not support PIC, -DPIC is meaningless:
18620 lt_prog_compiler_pic_CXX
=
18623 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
18626 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
18627 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
18632 # Check to make sure the PIC flag actually works.
18634 if test -n "$lt_prog_compiler_pic_CXX"; then
18635 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
18636 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
18637 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18640 lt_prog_compiler_pic_works_CXX
=no
18641 ac_outfile
=conftest.
$ac_objext
18642 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18643 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
18644 # Insert the option either (1) after the last *FLAGS variable, or
18645 # (2) before a word containing "conftest.", or (3) at the end.
18646 # Note that $ac_compile itself does not contain backslashes and begins
18647 # with a dollar sign (not a hyphen), so the echo should work correctly.
18648 # The option is referenced via a variable to avoid confusing sed.
18649 lt_compile
=`echo "$ac_compile" | $SED \
18650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18652 -e 's:$: $lt_compiler_flag:'`
18653 (eval echo "\"\$as_me:18653: $lt_compile\"" >&5)
18654 (eval "$lt_compile" 2>conftest.err
)
18656 cat conftest.err
>&5
18657 echo "$as_me:18657: \$? = $ac_status" >&5
18658 if (exit $ac_status) && test -s "$ac_outfile"; then
18659 # The compiler can only warn and ignore the option if not recognized
18660 # So say no if there are warnings other than the usual output.
18661 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18662 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18663 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
18664 lt_prog_compiler_pic_works_CXX
=yes
18670 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
18671 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
18673 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
18674 case $lt_prog_compiler_pic_CXX in
18676 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
18679 lt_prog_compiler_pic_CXX
=
18680 lt_prog_compiler_can_build_shared_CXX
=no
18688 # Check to make sure the static flag actually works.
18690 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
18691 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18692 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
18693 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18696 lt_prog_compiler_static_works_CXX
=no
18697 save_LDFLAGS
="$LDFLAGS"
18698 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18699 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
18700 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18701 # The linker can only warn and ignore the option if not recognized
18702 # So say no if there are warnings
18703 if test -s conftest.err
; then
18704 # Append any errors to the config.log.
18705 cat conftest.err
1>&5
18706 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18707 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18708 if diff conftest.exp conftest.er2
>/dev
/null
; then
18709 lt_prog_compiler_static_works_CXX
=yes
18712 lt_prog_compiler_static_works_CXX
=yes
18716 LDFLAGS
="$save_LDFLAGS"
18719 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
18720 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
18722 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
18725 lt_prog_compiler_static_CXX
=
18731 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18732 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
18733 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18736 lt_cv_prog_compiler_c_o_CXX
=no
18737 $RM -r conftest
2>/dev
/null
18741 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18743 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18744 # Insert the option either (1) after the last *FLAGS variable, or
18745 # (2) before a word containing "conftest.", or (3) at the end.
18746 # Note that $ac_compile itself does not contain backslashes and begins
18747 # with a dollar sign (not a hyphen), so the echo should work correctly.
18748 lt_compile
=`echo "$ac_compile" | $SED \
18749 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18750 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18751 -e 's:$: $lt_compiler_flag:'`
18752 (eval echo "\"\$as_me:18752: $lt_compile\"" >&5)
18753 (eval "$lt_compile" 2>out
/conftest.err
)
18755 cat out
/conftest.err
>&5
18756 echo "$as_me:18756: \$? = $ac_status" >&5
18757 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18759 # The compiler can only warn and ignore the option if not recognized
18760 # So say no if there are warnings
18761 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
18762 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18763 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18764 lt_cv_prog_compiler_c_o_CXX
=yes
18769 # SGI C++ compiler will create directory out/ii_files/ for
18770 # template instantiation
18771 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
18772 $RM out
/* && rmdir out
18778 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18779 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
18783 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18784 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
18785 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
18786 echo $ECHO_N "(cached) $ECHO_C" >&6
18788 lt_cv_prog_compiler_c_o_CXX
=no
18789 $RM -r conftest
2>/dev
/null
18793 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18795 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18796 # Insert the option either (1) after the last *FLAGS variable, or
18797 # (2) before a word containing "conftest.", or (3) at the end.
18798 # Note that $ac_compile itself does not contain backslashes and begins
18799 # with a dollar sign (not a hyphen), so the echo should work correctly.
18800 lt_compile
=`echo "$ac_compile" | $SED \
18801 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18803 -e 's:$: $lt_compiler_flag:'`
18804 (eval echo "\"\$as_me:18804: $lt_compile\"" >&5)
18805 (eval "$lt_compile" 2>out
/conftest.err
)
18807 cat out
/conftest.err
>&5
18808 echo "$as_me:18808: \$? = $ac_status" >&5
18809 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18811 # The compiler can only warn and ignore the option if not recognized
18812 # So say no if there are warnings
18813 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
18814 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18815 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18816 lt_cv_prog_compiler_c_o_CXX
=yes
18821 # SGI C++ compiler will create directory out/ii_files/ for
18822 # template instantiation
18823 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
18824 $RM out
/* && rmdir out
18830 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18831 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
18836 hard_links
="nottested"
18837 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
18838 # do not overwrite the value of need_locks provided by the user
18839 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18840 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
18843 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18845 ln conftest.a conftest.b
2>&5 || hard_links
=no
18846 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18847 echo "$as_me:$LINENO: result: $hard_links" >&5
18848 echo "${ECHO_T}$hard_links" >&6
18849 if test "$hard_links" = no
; then
18850 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18851 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18860 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18861 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
18863 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18866 # If we're using GNU nm, then we don't want the "-C" option.
18867 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18868 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
18869 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'
18871 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'
18875 export_symbols_cmds_CXX
="$ltdll_cmds"
18878 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'
18881 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18885 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
18886 echo "${ECHO_T}$ld_shlibs_CXX" >&6
18887 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
18889 with_gnu_ld_CXX
=$with_gnu_ld
18897 # Do we need to explicitly link libc?
18899 case "x$archive_cmds_need_lc_CXX" in
18901 # Assume -lc should be added
18902 archive_cmds_need_lc_CXX
=yes
18904 if test "$enable_shared" = yes && test "$GCC" = yes; then
18905 case $archive_cmds_CXX in
18907 # FIXME: we may have to deal with multi-command sequences.
18910 # Test whether the compiler implicitly links with -lc since on some
18911 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18912 # to ld, don't add -lc before -lgcc.
18913 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18914 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18916 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18919 (eval $ac_compile) 2>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } 2>conftest.err
; then
18925 libobjs
=conftest.
$ac_objext
18927 wl
=$lt_prog_compiler_wl_CXX
18928 pic_flag
=$lt_prog_compiler_pic_CXX
18934 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
18935 allow_undefined_flag_CXX
=
18936 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
18937 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); }
18942 archive_cmds_need_lc_CXX
=no
18944 archive_cmds_need_lc_CXX
=yes
18946 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
18948 cat conftest.err
1>&5
18951 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
18952 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
19018 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19019 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
19021 library_names_spec
=
19022 libname_spec
='lib$name'
19026 postuninstall_cmds
=
19030 shlibpath_overrides_runpath
=unknown
19032 dynamic_linker
="$host_os ld.so"
19033 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19034 if test "$withGCC" = yes; then
19035 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19036 if $ECHO "$sys_lib_search_path_spec" | $GREP ';' >/dev
/null
; then
19037 # if the path contains ";" then we assume it to be the separator
19038 # otherwise default to the standard path separator (i.e. ":") - it is
19039 # assumed that no part of a normal pathname contains ";" but that should
19040 # okay in the real world where ";" in dirpaths is itself problematic.
19041 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19043 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19046 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19048 need_lib_prefix
=unknown
19049 hardcode_into_libs
=no
19051 # when you set need_version to no, make sure it does not cause -set_version
19052 # flags to be left without arguments
19053 need_version
=unknown
19058 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19059 shlibpath_var
=LIBPATH
19061 # AIX 3 has no versioning support, so we append a major version to the name.
19062 soname_spec
='${libname}${release}${shared_ext}$major'
19069 hardcode_into_libs
=yes
19070 if test "$host_cpu" = ia64
; then
19071 # AIX 5 supports IA64
19072 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19073 shlibpath_var
=LD_LIBRARY_PATH
19075 # With GCC up to 2.95.x, collect2 would create an import file
19076 # for dependence libraries. The import file would start with
19077 # the line `#! .'. This would cause the generated library to
19078 # depend on `.', always an invalid library. This was fixed in
19079 # development snapshots of GCC prior to 3.0.
19081 aix4
| aix4.
[01] | aix4.
[01].
*)
19082 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19084 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
19087 can_build_shared
=no
19091 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19092 # soname into executable. Probably we can add versioning support to
19093 # collect2, so additional links can be useful in future.
19094 if test "$aix_use_runtimelinking" = yes; then
19095 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19096 # instead of lib<name>.a to let people know that these are not
19097 # typical AIX shared libraries.
19098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19100 # We preserve .a as extension for shared libraries through AIX4.2
19101 # and later when we are not doing run time linking.
19102 library_names_spec
='${libname}${release}.a $libname.a'
19103 soname_spec
='${libname}${release}${shared_ext}$major'
19105 shlibpath_var
=LIBPATH
19110 if test "$host_cpu" = m68k
; then
19111 library_names_spec
='$libname.ixlibrary $libname.a'
19112 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19113 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'
19120 library_names_spec
='${libname}${shared_ext}'
19121 dynamic_linker
="$host_os ld.so"
19122 shlibpath_var
=LIBRARY_PATH
19128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19129 soname_spec
='${libname}${release}${shared_ext}$major'
19130 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19131 shlibpath_var
=LD_LIBRARY_PATH
19132 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19133 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19134 # the default ld.so.conf also contains /usr/contrib/lib and
19135 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19136 # libtool to hard-code these into programs
19139 cygwin
* | mingw
* | pw32
*)
19140 version_type
=windows
19145 case $withGCC,$host_os in
19146 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
19147 library_names_spec
='$libname.dll.a'
19148 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19149 postinstall_cmds
='base_file=`basename \${file}`~
19150 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19151 dldir=$destdir/`dirname \$dlpath`~
19152 test -d \$dldir || mkdir -p \$dldir~
19153 $install_prog $dir/$dlname \$dldir/$dlname~
19154 chmod a+x \$dldir/$dlname~
19155 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19156 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19158 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19159 dlpath=$dir/\$dldll~
19161 shlibpath_overrides_runpath
=yes
19165 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19166 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19167 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19170 # MinGW DLLs use traditional 'lib' prefix
19171 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19172 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19173 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
19174 # It is most probably a Windows format PATH printed by
19175 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19176 # path with ; separators, and with drive letters. We can handle the
19177 # drive letters (cygwin fileutils understands them), so leave them,
19178 # especially as we might pass files found there to a mingw objdump,
19179 # which wouldn't understand a cygwinified path. Ahh.
19180 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19182 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19186 # pw32 DLLs use 'pw' prefix rather than 'lib'
19187 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19193 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
19196 dynamic_linker
='Win32 ld.exe'
19197 # FIXME: first we should search . and the directory the executable is in
19201 darwin
* | rhapsody
*)
19202 dynamic_linker
="$host_os dyld"
19203 version_type
=darwin
19206 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19207 soname_spec
='${libname}${release}${major}$shared_ext'
19208 shlibpath_overrides_runpath
=yes
19209 shlibpath_var
=DYLD_LIBRARY_PATH
19210 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19211 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19212 if test "$withGCC" = yes; then
19213 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"`
19215 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
19217 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19225 soname_spec
='${libname}${release}${shared_ext}$major'
19226 shlibpath_var
=LD_LIBRARY_PATH
19237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19238 soname_spec
='${libname}${release}${shared_ext}$major'
19239 shlibpath_var
=LD_LIBRARY_PATH
19240 shlibpath_overrides_runpath
=no
19241 hardcode_into_libs
=yes
19242 dynamic_linker
='GNU ld.so'
19245 freebsd
* | dragonfly
*)
19246 # DragonFly does not have aout. When/if they implement a new
19247 # versioning mechanism, adjust this.
19248 if test -x /usr
/bin
/objformat
; then
19249 objformat
=`/usr/bin/objformat`
19252 freebsd
[123]*) objformat
=aout
;;
19253 *) objformat
=elf
;;
19256 version_type
=freebsd
-$objformat
19257 case $version_type in
19259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19264 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19268 shlibpath_var
=LD_LIBRARY_PATH
19271 shlibpath_overrides_runpath
=yes
19273 freebsd3.
[01]* | freebsdelf3.
[01]*)
19274 shlibpath_overrides_runpath
=yes
19275 hardcode_into_libs
=yes
19277 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19278 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19279 shlibpath_overrides_runpath
=no
19280 hardcode_into_libs
=yes
19282 freebsd
*) # from 4.6 on
19283 shlibpath_overrides_runpath
=yes
19284 hardcode_into_libs
=yes
19293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19294 soname_spec
='${libname}${release}${shared_ext}$major'
19295 shlibpath_var
=LD_LIBRARY_PATH
19296 hardcode_into_libs
=yes
19299 hpux9
* | hpux10
* | hpux11
*)
19300 # Give a soname corresponding to the major version so that dld.sl refuses to
19301 # link against other versions.
19308 hardcode_into_libs
=yes
19309 dynamic_linker
="$host_os dld.so"
19310 shlibpath_var
=LD_LIBRARY_PATH
19311 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19313 soname_spec
='${libname}${release}${shared_ext}$major'
19314 if test "X$HPUX_IA64_MODE" = X32
; then
19315 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19317 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19319 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19323 hardcode_into_libs
=yes
19324 dynamic_linker
="$host_os dld.sl"
19325 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19326 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19328 soname_spec
='${libname}${release}${shared_ext}$major'
19329 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19330 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19334 dynamic_linker
="$host_os dld.sl"
19335 shlibpath_var
=SHLIB_PATH
19336 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19338 soname_spec
='${libname}${release}${shared_ext}$major'
19341 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19342 postinstall_cmds
='chmod 555 $lib'
19349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19350 soname_spec
='${libname}${release}${shared_ext}$major'
19351 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19352 shlibpath_var
=LD_LIBRARY_PATH
19353 shlibpath_overrides_runpath
=no
19354 hardcode_into_libs
=yes
19357 irix5
* | irix6
* | nonstopux
*)
19359 nonstopux
*) version_type
=nonstopux
;;
19361 if test "$lt_cv_prog_gnu_ld" = yes; then
19369 soname_spec
='${libname}${release}${shared_ext}$major'
19370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19372 irix5
* | nonstopux
*)
19373 libsuff
= shlibsuff
=
19376 case $LD in # libtool.m4 will add one of these switches to LD
19377 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19378 libsuff
= shlibsuff
= libmagic
=32-bit;;
19379 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19380 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19381 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19382 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19383 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
19387 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19388 shlibpath_overrides_runpath
=no
19389 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19390 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19391 hardcode_into_libs
=yes
19394 # No shared lib support for Linux oldld, aout, or coff.
19395 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19399 # This must be Linux ELF.
19404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19405 soname_spec
='${libname}${release}${shared_ext}$major'
19406 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19407 shlibpath_var
=LD_LIBRARY_PATH
19408 shlibpath_overrides_runpath
=no
19409 # This implies no fast_install, which is unacceptable.
19410 # Some rework will be needed to allow for fast_install
19411 # before this can be enabled.
19412 hardcode_into_libs
=yes
19414 # Append ld.so.conf contents to the search path
19415 if test -f /etc
/ld.so.conf
; then
19416 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' ' '`
19417 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19420 # We used to test for /lib/ld.so.1 and disable shared libraries on
19421 # powerpc, because MkLinux only supported shared libraries with the
19422 # GNU dynamic linker. Since this was broken with cross compilers,
19423 # most powerpc-linux boxes support dynamic linking these days and
19424 # people can always --disable-shared, the test was removed, and we
19425 # assume the GNU/Linux dynamic linker is in use.
19426 dynamic_linker
='GNU/Linux ld.so'
19433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19434 soname_spec
='${libname}${release}${shared_ext}$major'
19435 shlibpath_var
=LD_LIBRARY_PATH
19436 shlibpath_overrides_runpath
=no
19437 hardcode_into_libs
=yes
19438 dynamic_linker
='GNU ld.so'
19445 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
19446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19447 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19448 dynamic_linker
='NetBSD (a.out) ld.so'
19450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19451 soname_spec
='${libname}${release}${shared_ext}$major'
19452 dynamic_linker
='NetBSD ld.elf_so'
19454 shlibpath_var
=LD_LIBRARY_PATH
19455 shlibpath_overrides_runpath
=yes
19456 hardcode_into_libs
=yes
19461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19462 shlibpath_var
=LD_LIBRARY_PATH
19463 shlibpath_overrides_runpath
=yes
19470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19471 soname_spec
='${libname}${release}${shared_ext}$major'
19472 shlibpath_var
=LD_LIBRARY_PATH
19473 shlibpath_overrides_runpath
=no
19474 hardcode_into_libs
=yes
19475 dynamic_linker
='ldqnx.so'
19480 sys_lib_dlsearch_path_spec
="/usr/lib"
19482 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19484 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
19485 *) need_version
=no
;;
19487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19488 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19489 shlibpath_var
=LD_LIBRARY_PATH
19490 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19492 openbsd2.
[89] | openbsd2.
[89].
*)
19493 shlibpath_overrides_runpath
=no
19496 shlibpath_overrides_runpath
=yes
19500 shlibpath_overrides_runpath
=yes
19505 libname_spec
='$name'
19508 library_names_spec
='$libname${shared_ext} $libname.a'
19509 dynamic_linker
='OS/2 ld.exe'
19510 shlibpath_var
=LIBPATH
19513 osf3
* | osf4
* | osf5
*)
19517 soname_spec
='${libname}${release}${shared_ext}$major'
19518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19519 shlibpath_var
=LD_LIBRARY_PATH
19520 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19521 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19533 soname_spec
='${libname}${release}${shared_ext}$major'
19534 shlibpath_var
=LD_LIBRARY_PATH
19535 shlibpath_overrides_runpath
=yes
19536 hardcode_into_libs
=yes
19537 # ldd complains unless libraries are executable
19538 postinstall_cmds
='chmod +x $lib'
19543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19544 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19545 shlibpath_var
=LD_LIBRARY_PATH
19546 shlibpath_overrides_runpath
=yes
19547 if test "$with_gnu_ld" = yes; then
19555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19556 soname_spec
='${libname}${release}${shared_ext}$major'
19557 shlibpath_var
=LD_LIBRARY_PATH
19558 case $host_vendor in
19560 shlibpath_overrides_runpath
=no
19562 runpath_var
=LD_RUN_PATH
19570 shlibpath_overrides_runpath
=no
19571 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19577 if test -d /usr
/nec
;then
19579 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19580 soname_spec
='$libname${shared_ext}.$major'
19581 shlibpath_var
=LD_LIBRARY_PATH
19585 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19586 version_type
=freebsd
-elf
19589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19590 soname_spec
='${libname}${release}${shared_ext}$major'
19591 shlibpath_var
=LD_LIBRARY_PATH
19592 shlibpath_overrides_runpath
=yes
19593 hardcode_into_libs
=yes
19594 if test "$with_gnu_ld" = yes; then
19595 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19597 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19600 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19604 sys_lib_dlsearch_path_spec
='/usr/lib'
19608 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
19612 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19613 shlibpath_var
=LD_LIBRARY_PATH
19614 shlibpath_overrides_runpath
=no
19615 hardcode_into_libs
=yes
19620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19621 soname_spec
='${libname}${release}${shared_ext}$major'
19622 shlibpath_var
=LD_LIBRARY_PATH
19629 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19630 echo "${ECHO_T}$dynamic_linker" >&6
19631 test "$dynamic_linker" = no
&& can_build_shared
=no
19633 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19634 if test "$GCC" = yes; then
19635 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19673 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19674 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19675 hardcode_action_CXX
=
19676 if test -n "$hardcode_libdir_flag_spec_CXX" ||
19677 test -n "$runpath_var_CXX" ||
19678 test "X$hardcode_automatic_CXX" = "Xyes" ; then
19680 # We can hardcode non-existent directories.
19681 if test "$hardcode_direct_CXX" != no
&&
19682 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19683 # have to relink, otherwise we might link with an installed library
19684 # when we should be linking with a yet-to-be-installed one
19685 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
19686 test "$hardcode_minus_L_CXX" != no
; then
19687 # Linking always hardcodes the temporary library directory.
19688 hardcode_action_CXX
=relink
19690 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19691 hardcode_action_CXX
=immediate
19694 # We cannot hardcode anything, or else we can only hardcode existing
19696 hardcode_action_CXX
=unsupported
19698 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
19699 echo "${ECHO_T}$hardcode_action_CXX" >&6
19701 if test "$hardcode_action_CXX" = relink
||
19702 test "$inherit_rpath_CXX" = yes; then
19703 # Fast installation is not supported
19704 enable_fast_install
=no
19705 elif test "$shlibpath_overrides_runpath" = yes ||
19706 test "$enable_shared" = no
; then
19707 # Fast installation is not necessary
19708 enable_fast_install
=needless
19717 fi # test -n "$compiler"
19723 with_gnu_ld
=$lt_save_with_gnu_ld
19724 lt_cv_path_LDCXX
=$lt_cv_path_LD
19725 lt_cv_path_LD
=$lt_save_path_LD
19726 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
19727 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
19728 fi # test "$_lt_caught_CXX_error" != yes
19731 ac_cpp
='$CPP $CPPFLAGS'
19732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19737 GLU_CFLAGS
="${GL_CFLAGS}"
19738 if test "X${with_apple_opengl_framework}" != "Xyes"; then
19739 echo "$as_me:$LINENO: checking for OpenGL Utility library" >&5
19740 echo $ECHO_N "checking for OpenGL Utility library... $ECHO_C" >&6
19741 if test "${ax_cv_check_glu_libglu+set}" = set; then
19742 echo $ECHO_N "(cached) $ECHO_C" >&6
19744 ax_cv_check_glu_libglu
="no"
19745 ax_save_CPPFLAGS
="${CPPFLAGS}"
19746 CPPFLAGS
="${GL_CFLAGS} ${CPPFLAGS}"
19747 ax_save_LIBS
="${LIBS}"
19749 ax_check_libs
="-lglu32 -lGLU"
19750 for ax_lib
in ${ax_check_libs}; do
19751 if test X
$ax_compiler_ms = Xyes
; then
19752 ax_try_lib
=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`
19754 ax_try_lib
="${ax_lib}"
19756 LIBS
="${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}"
19758 # libGLU typically links with libstdc++ on POSIX platforms. However,
19759 # setting the language to C++ means that test program source is named
19760 # "conftest.cc"; and Microsoft cl doesn't know what to do with such a
19764 ac_cpp
='$CXXCPP $CPPFLAGS'
19765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19769 if test X
$ax_compiler_ms = Xyes
; then
19771 ac_cpp
='$CPP $CPPFLAGS'
19772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19777 cat >conftest.
$ac_ext <<_ACEOF
19780 cat confdefs.h
>>conftest.
$ac_ext
19781 cat >>conftest.
$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19784 # if HAVE_WINDOWS_H && defined(_WIN32)
19785 # include <windows.h>
19787 # include <GL/glu.h>
19796 rm -f conftest.
$ac_objext conftest
$ac_exeext
19797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19798 (eval $ac_link) 2>conftest.er1
19800 grep -v '^ *+' conftest.er1
>conftest.err
19802 cat conftest.err
>&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); } &&
19805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807 (eval $ac_try) 2>&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); }; } &&
19811 { ac_try
='test -s conftest$ac_exeext'
19812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19813 (eval $ac_try) 2>&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); }; }; then
19817 ax_cv_check_glu_libglu
="${ax_try_lib}"; break
19819 echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.
$ac_ext >&5
19823 rm -f conftest.err conftest.
$ac_objext \
19824 conftest
$ac_exeext conftest.
$ac_ext
19825 if test X
$ax_compiler_ms = Xyes
; then
19827 ac_cpp
='$CXXCPP $CPPFLAGS'
19828 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19829 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19830 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19834 ac_cpp
='$CPP $CPPFLAGS'
19835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19840 LIBS
=${ax_save_LIBS}
19841 CPPFLAGS
=${ax_save_CPPFLAGS}
19843 echo "$as_me:$LINENO: result: $ax_cv_check_glu_libglu" >&5
19844 echo "${ECHO_T}$ax_cv_check_glu_libglu" >&6
19845 if test "X${ax_cv_check_glu_libglu}" = "Xno"; then
19850 GLU_LIBS
="${ax_cv_check_glu_libglu} ${GL_LIBS}"
19857 if test "X$with_apple_opengl_framework" = "Xyes"; then
19858 GLUT_CFLAGS
="${GLU_CFLAGS}"
19859 GLUT_LIBS
="-framework GLUT -lobjc ${GL_LIBS}"
19861 GLUT_CFLAGS
=${GLU_CFLAGS}
19862 GLUT_LIBS
=${GLU_LIBS}
19865 # If X is present, assume GLUT depends on it.
19867 if test "X${no_x}" != "Xyes"; then
19868 GLUT_LIBS
="${X_PRE_LIBS} -lXmu -lXi ${X_EXTRA_LIBS} ${GLUT_LIBS}"
19872 ac_cpp
='$CPP $CPPFLAGS'
19873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19878 ax_save_CPPFLAGS
="${CPPFLAGS}"
19879 CPPFLAGS
="${GLUT_CFLAGS} ${CPPFLAGS}"
19881 echo "$as_me:$LINENO: checking for GLUT library" >&5
19882 echo $ECHO_N "checking for GLUT library... $ECHO_C" >&6
19883 if test "${ax_cv_check_glut_libglut+set}" = set; then
19884 echo $ECHO_N "(cached) $ECHO_C" >&6
19886 ax_cv_check_glut_libglut
="no"
19887 ax_save_LIBS
="${LIBS}"
19889 ax_check_libs
="-lglut32 -lglut"
19890 for ax_lib
in ${ax_check_libs}; do
19891 if test X
$ax_compiler_ms = Xyes
; then
19892 ax_try_lib
=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`
19894 ax_try_lib
="${ax_lib}"
19896 LIBS
="${ax_try_lib} ${GLUT_LIBS} ${ax_save_LIBS}"
19897 cat >conftest.
$ac_ext <<_ACEOF
19900 cat confdefs.h
>>conftest.
$ac_ext
19901 cat >>conftest.
$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19904 # if HAVE_WINDOWS_H && defined(_WIN32)
19905 # include <windows.h>
19907 # include <GL/glut.h>
19916 rm -f conftest.
$ac_objext conftest
$ac_exeext
19917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19918 (eval $ac_link) 2>conftest.er1
19920 grep -v '^ *+' conftest.er1
>conftest.err
19922 cat conftest.err
>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); } &&
19925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; } &&
19931 { ac_try
='test -s conftest$ac_exeext'
19932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19933 (eval $ac_try) 2>&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); }; }; then
19937 ax_cv_check_glut_libglut
="${ax_try_lib}"; break
19939 echo "$as_me: failed program was:" >&5
19940 sed 's/^/| /' conftest.
$ac_ext >&5
19943 rm -f conftest.err conftest.
$ac_objext \
19944 conftest
$ac_exeext conftest.
$ac_ext
19947 LIBS
=${ax_save_LIBS}
19950 echo "$as_me:$LINENO: result: $ax_cv_check_glut_libglut" >&5
19951 echo "${ECHO_T}$ax_cv_check_glut_libglut" >&6
19952 CPPFLAGS
="${ax_save_CPPFLAGS}"
19954 ac_cpp
='$CPP $CPPFLAGS'
19955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19960 if test "X${ax_cv_check_glut_libglut}" = "Xno"; then
19965 GLUT_LIBS
="${ax_cv_check_glut_libglut} ${GLUT_LIBS}"
19973 if test "$no_x" != "yes" -a "$no_gl" != "yes" \
19974 -a "$no_glu" != "yes" -a "$no_glut" != "yes" ; then
19980 if test "$HAVE_OPENGL" = "yes"; then
19982 HAVE_OPENGL_FALSE
='#'
19984 HAVE_OPENGL_TRUE
='#'
19991 # Check whether --enable-strip-chopping or --disable-strip-chopping was given.
19992 if test "${enable_strip_chopping+set}" = set; then
19993 enableval
="$enable_strip_chopping"
19994 HAVE_STRIPCHOP
=$enableval
19999 # Check whether --with-default-strip-size or --without-default-strip-size was given.
20000 if test "${with_default_strip_size+set}" = set; then
20001 withval
="$with_default_strip_size"
20005 if test "$HAVE_STRIPCHOP" = "yes" \
20006 -a "x$with_default_strip_size" != "xno"; then
20008 cat >>confdefs.h
<<\_ACEOF
20009 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
20013 if test "x$with_default_strip_size" = "x" \
20014 -o "x$with_default_strip_size" = "xyes"; then
20015 with_default_strip_size
="8192"
20019 cat >>confdefs.h
<<_ACEOF
20020 #define STRIP_SIZE_DEFAULT $with_default_strip_size
20027 cat >>confdefs.h
<<\_ACEOF
20028 #define SUBIFD_SUPPORT 1
20033 # Check whether --enable-extrasample-as-alpha or --disable-extrasample-as-alpha was given.
20034 if test "${enable_extrasample_as_alpha+set}" = set; then
20035 enableval
="$enable_extrasample_as_alpha"
20036 HAVE_EXTRASAMPLE_AS_ALPHA
=$enableval
20038 HAVE_EXTRASAMPLE_AS_ALPHA
=yes
20041 if test "$HAVE_EXTRASAMPLE_AS_ALPHA" = "yes" ; then
20043 cat >>confdefs.h
<<\_ACEOF
20044 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
20050 # Check whether --enable-check-ycbcr-subsampling or --disable-check-ycbcr-subsampling was given.
20051 if test "${enable_check_ycbcr_subsampling+set}" = set; then
20052 enableval
="$enable_check_ycbcr_subsampling"
20053 CHECK_JPEG_YCBCR_SUBSAMPLING
=$enableval
20055 CHECK_JPEG_YCBCR_SUBSAMPLING
=yes
20058 if test "$CHECK_JPEG_YCBCR_SUBSAMPLING" = "yes" ; then
20060 cat >>confdefs.h
<<\_ACEOF
20061 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
20069 ac_config_headers
="$ac_config_headers libtiff/tif_config.h libtiff/tiffconf.h"
20072 ac_config_files
="$ac_config_files Makefile contrib/Makefile contrib/acorn/Makefile contrib/addtiffo/Makefile contrib/dbs/Makefile contrib/dbs/xtiff/Makefile contrib/iptcutil/Makefile contrib/mac-cw/Makefile contrib/mac-mpw/Makefile contrib/mfs/Makefile contrib/ojpeg/Makefile contrib/pds/Makefile contrib/ras/Makefile contrib/stream/Makefile contrib/tags/Makefile contrib/win_dib/Makefile html/Makefile html/images/Makefile html/man/Makefile libtiff/Makefile man/Makefile port/Makefile test/Makefile tools/Makefile"
20074 cat >confcache
<<\_ACEOF
20075 # This file is a shell script that caches the results of configure
20076 # tests run on this system so they can be shared between configure
20077 # scripts and configure runs, see configure's option --config-cache.
20078 # It is not useful on other systems. If it contains results you don't
20079 # want to keep, you may remove or edit it.
20081 # config.status only pays attention to the cache file if you give it
20082 # the --recheck option to rerun configure.
20084 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20085 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20086 # following values.
20090 # The following way of writing the cache mishandles newlines in values,
20091 # but we know of no workaround that is simple, portable, and efficient.
20092 # So, don't put newlines in cache variables' values.
20093 # Ultrix sh set writes to stderr and can't be redirected directly,
20094 # and sets the high bit in the cache file unless we assign to the vars.
20097 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20099 # `set' does not quote correctly, so add quotes (double-quote
20100 # substitution turns \\\\ into \\, and sed turns \\ into \).
20103 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20106 # `set' quotes correctly as required by POSIX, so do not add quotes.
20108 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20115 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20117 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20119 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20120 if test -w $cache_file; then
20121 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20122 cat confcache
>$cache_file
20124 echo "not updating unwritable cache $cache_file"
20129 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20130 # Let make expand exec_prefix.
20131 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20133 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20134 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20135 # trailing colons and then remove the whole line if VPATH becomes empty
20136 # (actually we leave an empty line to preserve line numbers).
20137 if test "x$srcdir" = x.
; then
20138 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20139 s/:*\$(srcdir):*/:/;
20140 s/:*\${srcdir}:*/:/;
20142 s/^\([^=]*=[ ]*\):*/\1/;
20148 DEFS
=-DHAVE_CONFIG_H
20152 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20153 # 1. Remove the extension, and $U if already installed.
20154 ac_i
=`echo "$ac_i" |
20155 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20157 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20158 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20160 LIBOBJS
=$ac_libobjs
20162 LTLIBOBJS
=$ac_ltlibobjs
20165 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20166 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20167 Usually this means the macro was only invoked conditionally." >&5
20168 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20169 Usually this means the macro was only invoked conditionally." >&2;}
20170 { (exit 1); exit 1; }; }
20172 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20173 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20174 Usually this means the macro was only invoked conditionally." >&5
20175 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20176 Usually this means the macro was only invoked conditionally." >&2;}
20177 { (exit 1); exit 1; }; }
20179 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20180 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20181 Usually this means the macro was only invoked conditionally." >&5
20182 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20183 Usually this means the macro was only invoked conditionally." >&2;}
20184 { (exit 1); exit 1; }; }
20186 if test -z "${HAVE_RPATH_TRUE}" && test -z "${HAVE_RPATH_FALSE}"; then
20187 { { echo "$as_me:$LINENO: error: conditional \"HAVE_RPATH\" was never defined.
20188 Usually this means the macro was only invoked conditionally." >&5
20189 echo "$as_me: error: conditional \"HAVE_RPATH\" was never defined.
20190 Usually this means the macro was only invoked conditionally." >&2;}
20191 { (exit 1); exit 1; }; }
20193 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
20194 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CXX\" was never defined.
20195 Usually this means the macro was only invoked conditionally." >&5
20196 echo "$as_me: error: conditional \"HAVE_CXX\" was never defined.
20197 Usually this means the macro was only invoked conditionally." >&2;}
20198 { (exit 1); exit 1; }; }
20200 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20201 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20202 Usually this means the macro was only invoked conditionally." >&5
20203 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20204 Usually this means the macro was only invoked conditionally." >&2;}
20205 { (exit 1); exit 1; }; }
20207 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20208 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20209 Usually this means the macro was only invoked conditionally." >&5
20210 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20211 Usually this means the macro was only invoked conditionally." >&2;}
20212 { (exit 1); exit 1; }; }
20214 if test -z "${HAVE_OPENGL_TRUE}" && test -z "${HAVE_OPENGL_FALSE}"; then
20215 { { echo "$as_me:$LINENO: error: conditional \"HAVE_OPENGL\" was never defined.
20216 Usually this means the macro was only invoked conditionally." >&5
20217 echo "$as_me: error: conditional \"HAVE_OPENGL\" was never defined.
20218 Usually this means the macro was only invoked conditionally." >&2;}
20219 { (exit 1); exit 1; }; }
20222 : ${CONFIG_STATUS=./config.status}
20223 ac_clean_files_save
=$ac_clean_files
20224 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20225 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20226 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20227 cat >$CONFIG_STATUS <<_ACEOF
20229 # Generated by $as_me.
20230 # Run this file to recreate the current configuration.
20231 # Compiler output produced by configure, useful for debugging
20232 # configure, is in config.log if it exists.
20235 ac_cs_recheck=false
20237 SHELL=\${CONFIG_SHELL-$SHELL}
20240 cat >>$CONFIG_STATUS <<\_ACEOF
20241 ## --------------------- ##
20242 ## M4sh Initialization. ##
20243 ## --------------------- ##
20245 # Be Bourne compatible
20246 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20249 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20250 # is contrary to our usage. Disable this feature.
20251 alias -g '${1+"$@"}'='"$@"'
20252 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20255 DUALCASE
=1; export DUALCASE
# for MKS sh
20257 # Support unset when possible.
20258 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
20265 # Work around bugs in pre-3.0 UWIN ksh.
20266 $as_unset ENV MAIL MAILPATH
20273 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20274 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20275 LC_TELEPHONE LC_TIME
20277 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20278 eval $as_var=C
; export $as_var
20284 # Required to use basename.
20285 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20291 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20292 as_basename
=basename
20298 # Name of the executable.
20299 as_me
=`$as_basename "$0" ||
20300 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20301 X"$0" : 'X\(//\)$' \| \
20302 X"$0" : 'X\(/\)$' \| \
20303 . : '\(.\)' 2>/dev/null ||
20305 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20306 /^X\/\(\/\/\)$/{ s//\1/; q; }
20307 /^X\/\(\/\).*/{ s//\1/; q; }
20311 # PATH needs CR, and LINENO needs CR and PATH.
20312 # Avoid depending upon Character Ranges.
20313 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20314 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20315 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20316 as_cr_digits
='0123456789'
20317 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20319 # The user is always right.
20320 if test "${PATH_SEPARATOR+set}" != set; then
20321 echo "#! /bin/sh" >conf$$.sh
20322 echo "exit 0" >>conf$$.sh
20324 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20333 as_lineno_1
=$LINENO
20334 as_lineno_2
=$LINENO
20335 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20336 test "x$as_lineno_1" != "x$as_lineno_2" &&
20337 test "x$as_lineno_3" = "x$as_lineno_2" || {
20338 # Find who we are. Look in the path if we contain no path at all
20341 *[\\/]* ) as_myself
=$0 ;;
20342 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20343 for as_dir
in $PATH
20346 test -z "$as_dir" && as_dir
=.
20347 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20352 # We did not find ourselves, most probably we were run as `sh COMMAND'
20353 # in which case we are not to be found in the path.
20354 if test "x$as_myself" = x
; then
20357 if test ! -f "$as_myself"; then
20358 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20359 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20360 { (exit 1); exit 1; }; }
20362 case $CONFIG_SHELL in
20364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20365 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20368 test -z "$as_dir" && as_dir
=.
20369 for as_base
in sh bash ksh sh5
; do
20372 if ("$as_dir/$as_base" -c '
20373 as_lineno_1=$LINENO
20374 as_lineno_2=$LINENO
20375 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20376 test "x$as_lineno_1" != "x$as_lineno_2" &&
20377 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20378 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
20379 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
20380 CONFIG_SHELL
=$as_dir/$as_base
20381 export CONFIG_SHELL
20382 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20390 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20391 # uniformly replaced by the line number. The first 'sed' inserts a
20392 # line-number line before each line; the second 'sed' does the real
20393 # work. The second script uses 'N' to pair each line-number line
20394 # with the numbered line, and appends trailing '-' during
20395 # substitution so that $LINENO is not a special case at line end.
20396 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20397 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20398 sed '=' <$as_myself |
20403 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20406 s,^['$as_cr_digits']*\n,,
20407 ' >$as_me.lineno
&&
20408 chmod +x
$as_me.lineno
||
20409 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20410 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20411 { (exit 1); exit 1; }; }
20413 # Don't try to exec as it changes $[0], causing all sort of problems
20414 # (the dirname of $[0] is not the place where we might find the
20415 # original and so on. Autoconf is especially sensible to this).
20417 # Exit status is that of the last command.
20422 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20423 *c
*,-n*) ECHO_N
= ECHO_C
='
20425 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20426 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20429 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20435 rm -f conf$$ conf$$.exe conf$$.
file
20437 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20438 # We could just check for DJGPP; but this test a) works b) is more generic
20439 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20440 if test -f conf$$.exe
; then
20441 # Don't use ln at all; we don't have any links
20446 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20451 rm -f conf$$ conf$$.exe conf$$.
file
20453 if mkdir -p .
2>/dev
/null
; then
20456 test -d .
/-p && rmdir .
/-p
20460 as_executable_p
="test -f"
20462 # Sed expression to map a string onto a valid CPP name.
20463 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20465 # Sed expression to map a string onto a valid variable name.
20466 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20470 # We need space, tab and new line, in precisely that order.
20480 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20481 # report actual input values of CONFIG_FILES etc. instead of their
20482 # values after options handling. Logging --version etc. is OK.
20486 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20487 ## Running $as_me. ##
20492 This file was extended by LibTIFF Software $as_me 3.8.2, which was
20493 generated by GNU Autoconf 2.59. Invocation command line was
20495 CONFIG_FILES = $CONFIG_FILES
20496 CONFIG_HEADERS = $CONFIG_HEADERS
20497 CONFIG_LINKS = $CONFIG_LINKS
20498 CONFIG_COMMANDS = $CONFIG_COMMANDS
20502 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20506 # Files that config.status was made for.
20507 if test -n "$ac_config_files"; then
20508 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20511 if test -n "$ac_config_headers"; then
20512 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20515 if test -n "$ac_config_links"; then
20516 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20519 if test -n "$ac_config_commands"; then
20520 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20523 cat >>$CONFIG_STATUS <<\_ACEOF
20526 \`$as_me' instantiates files from templates according to the
20527 current configuration.
20529 Usage: $0 [OPTIONS] [FILE]...
20531 -h, --help print this help, then exit
20532 -V, --version print version number, then exit
20533 -q, --quiet do not print progress messages
20534 -d, --debug don't remove temporary files
20535 --recheck update $as_me by reconfiguring in the same conditions
20536 --file=FILE[:TEMPLATE]
20537 instantiate the configuration file FILE
20538 --header=FILE[:TEMPLATE]
20539 instantiate the configuration header FILE
20541 Configuration files:
20544 Configuration headers:
20547 Configuration commands:
20550 Report bugs to <bug-autoconf@gnu.org>."
20553 cat >>$CONFIG_STATUS <<_ACEOF
20555 LibTIFF Software config.status 3.8.2
20556 configured by $0, generated by GNU Autoconf 2.59,
20557 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20559 Copyright (C) 2003 Free Software Foundation, Inc.
20560 This config.status script is free software; the Free Software Foundation
20561 gives unlimited permission to copy, distribute and modify it."
20566 cat >>$CONFIG_STATUS <<\_ACEOF
20567 # If no file are specified by the user, then we need to provide default
20568 # value. By we need to know if files were specified by the user.
20574 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20575 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20583 *) # This is not an option, so the user has probably given explicit
20586 ac_need_defaults
=false
;;
20590 # Handling of the options.
20592 cat >>$CONFIG_STATUS <<\_ACEOF
20593 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20595 --version | --vers* | -V )
20596 echo "$ac_cs_version"; exit 0 ;;
20598 # Conflict between --help and --header
20599 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20600 Try \`$0 --help' for more information." >&5
20601 echo "$as_me: error: ambiguous option: $1
20602 Try \`$0 --help' for more information." >&2;}
20603 { (exit 1); exit 1; }; };;
20604 --help | --hel | -h )
20605 echo "$ac_cs_usage"; exit 0 ;;
20606 --debug | --d* | -d )
20608 --file | --fil | --fi | --f )
20610 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20611 ac_need_defaults
=false
;;
20612 --header | --heade | --head | --hea )
20614 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20615 ac_need_defaults
=false
;;
20616 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20617 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20620 # This is an error.
20621 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20622 Try \`$0 --help' for more information." >&5
20623 echo "$as_me: error: unrecognized option: $1
20624 Try \`$0 --help' for more information." >&2;}
20625 { (exit 1); exit 1; }; } ;;
20627 *) ac_config_targets
="$ac_config_targets $1" ;;
20633 ac_configure_extra_args
=
20635 if $ac_cs_silent; then
20637 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20641 cat >>$CONFIG_STATUS <<_ACEOF
20642 if \$ac_cs_recheck; then
20643 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20644 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20649 cat >>$CONFIG_STATUS <<_ACEOF
20651 # INIT-COMMANDS section.
20654 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20657 # The HP-UX ksh and POSIX shell print the target directory to stdout
20658 # if CDPATH is set.
20659 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20661 sed_quote_subst='$sed_quote_subst'
20662 double_quote_subst='$double_quote_subst'
20663 delay_variable_subst='$delay_variable_subst'
20664 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20665 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20666 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20667 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20668 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20669 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20670 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20671 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20672 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20673 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20674 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20675 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20676 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20677 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20678 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20679 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20680 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20681 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20682 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20683 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20684 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20685 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20686 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20687 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20688 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20689 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20690 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20691 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20692 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20693 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20694 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20695 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20696 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20697 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20698 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20699 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20700 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20701 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20702 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20703 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20704 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
20705 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20706 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20707 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20708 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20709 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20710 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20711 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20712 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20713 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20714 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20715 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20716 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20717 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20718 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20719 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20720 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20721 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20722 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20723 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20724 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20725 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20726 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20727 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20728 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20729 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20730 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20731 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20732 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20733 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20734 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20735 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20736 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20737 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20738 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20739 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20740 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20741 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20742 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20743 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20744 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20745 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20746 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20747 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20748 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20749 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20750 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20751 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20752 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20753 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20754 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20755 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20756 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20757 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20758 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20759 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20760 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20761 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20762 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20763 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20764 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20765 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20766 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20767 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20768 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20769 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20770 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
20771 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20772 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20773 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20774 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20775 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20776 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20777 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20778 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20779 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20780 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20781 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20782 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20783 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20784 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20785 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20786 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20787 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20788 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20789 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20790 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20791 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20792 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20793 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20794 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20795 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20796 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20797 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20798 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20799 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20800 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20801 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20802 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20803 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20804 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20805 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20806 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20807 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20808 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20809 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20810 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20811 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20812 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20813 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20814 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20815 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20816 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20817 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20818 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20819 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20820 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20821 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20824 LTCFLAGS='$LTCFLAGS'
20825 compiler='$compiler_DEFAULT'
20827 # Quote evaled strings.
20836 deplibs_check_method \
20845 lt_cv_sys_global_symbol_pipe \
20846 lt_cv_sys_global_symbol_to_cdecl \
20847 lt_cv_sys_global_symbol_to_c_name_address \
20850 lt_prog_compiler_no_builtin_flag \
20851 lt_prog_compiler_wl \
20852 lt_prog_compiler_pic \
20853 lt_prog_compiler_static \
20854 lt_cv_prog_compiler_c_o \
20857 export_dynamic_flag_spec \
20858 whole_archive_flag_spec \
20860 allow_undefined_flag \
20861 no_undefined_flag \
20862 hardcode_libdir_flag_spec \
20863 hardcode_libdir_flag_spec_ld \
20864 hardcode_libdir_separator \
20869 variables_saved_for_relink \
20871 library_names_spec \
20880 compiler_lib_search_path \
20883 lt_prog_compiler_no_builtin_flag_CXX \
20884 lt_prog_compiler_wl_CXX \
20885 lt_prog_compiler_pic_CXX \
20886 lt_prog_compiler_static_CXX \
20887 lt_cv_prog_compiler_c_o_CXX \
20888 export_dynamic_flag_spec_CXX \
20889 whole_archive_flag_spec_CXX \
20891 allow_undefined_flag_CXX \
20892 no_undefined_flag_CXX \
20893 hardcode_libdir_flag_spec_CXX \
20894 hardcode_libdir_flag_spec_ld_CXX \
20895 hardcode_libdir_separator_CXX \
20896 fix_srcfile_path_CXX \
20897 exclude_expsyms_CXX \
20898 include_expsyms_CXX \
20899 file_list_spec_CXX \
20900 predep_objects_CXX \
20901 postdep_objects_CXX \
20904 compiler_lib_search_path_CXX; do
20905 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20906 *[\\\\\\\`\\"\\\$]*)
20907 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20910 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20915 # Double-quote double-evaled strings.
20916 for var in reload_cmds \
20917 old_postinstall_cmds \
20918 old_postuninstall_cmds \
20920 extract_expsyms_cmds \
20921 old_archive_from_new_cmds \
20922 old_archive_from_expsyms_cmds \
20924 archive_expsym_cmds \
20926 module_expsym_cmds \
20927 export_symbols_cmds \
20930 postuninstall_cmds \
20932 sys_lib_search_path_spec \
20933 sys_lib_dlsearch_path_spec \
20934 old_archive_cmds_CXX \
20935 old_archive_from_new_cmds_CXX \
20936 old_archive_from_expsyms_cmds_CXX \
20938 archive_expsym_cmds_CXX \
20940 module_expsym_cmds_CXX \
20941 export_symbols_cmds_CXX \
20942 prelink_cmds_CXX; do
20943 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20944 *[\\\\\\\`\\"\\\$]*)
20945 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20948 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20953 # Fix-up fallback echo if it was mangled by the above quoting rules.
20955 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20959 ac_aux_dir='$ac_aux_dir'
20960 xsi_shell='$xsi_shell'
20962 # See if we are running on zsh, and set the options which allow our
20963 # commands through without removal of \ escapes INIT.
20964 if test -n "\${ZSH_VERSION+set}" ; then
20965 setopt NO_GLOB_SUBST
20971 TIMESTAMP='$TIMESTAMP'
20984 cat >>$CONFIG_STATUS <<\_ACEOF
20985 for ac_config_target
in $ac_config_targets
20987 case "$ac_config_target" in
20988 # Handling of arguments.
20989 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20990 "contrib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/Makefile" ;;
20991 "contrib/acorn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/acorn/Makefile" ;;
20992 "contrib/addtiffo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/addtiffo/Makefile" ;;
20993 "contrib/dbs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/dbs/Makefile" ;;
20994 "contrib/dbs/xtiff/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/dbs/xtiff/Makefile" ;;
20995 "contrib/iptcutil/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/iptcutil/Makefile" ;;
20996 "contrib/mac-cw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/mac-cw/Makefile" ;;
20997 "contrib/mac-mpw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/mac-mpw/Makefile" ;;
20998 "contrib/mfs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/mfs/Makefile" ;;
20999 "contrib/ojpeg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/ojpeg/Makefile" ;;
21000 "contrib/pds/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/pds/Makefile" ;;
21001 "contrib/ras/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/ras/Makefile" ;;
21002 "contrib/stream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/stream/Makefile" ;;
21003 "contrib/tags/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/tags/Makefile" ;;
21004 "contrib/win_dib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/win_dib/Makefile" ;;
21005 "html/Makefile" ) CONFIG_FILES
="$CONFIG_FILES html/Makefile" ;;
21006 "html/images/Makefile" ) CONFIG_FILES
="$CONFIG_FILES html/images/Makefile" ;;
21007 "html/man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES html/man/Makefile" ;;
21008 "libtiff/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libtiff/Makefile" ;;
21009 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
21010 "port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES port/Makefile" ;;
21011 "test/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
21012 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21013 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21014 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21015 "libtiff/tif_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS libtiff/tif_config.h" ;;
21016 "libtiff/tiffconf.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS libtiff/tiffconf.h" ;;
21017 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21018 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21019 { (exit 1); exit 1; }; };;
21023 # If the user did not use the arguments to specify the items to instantiate,
21024 # then the envvar interface is used. Set only those that are not.
21025 # We use the long form for the default assignment because of an extremely
21026 # bizarre bug on SunOS 4.1.3.
21027 if $ac_need_defaults; then
21028 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21029 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21030 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21033 # Have a temporary directory for convenience. Make it in the build tree
21034 # simply because there is no reason to put it here, and in addition,
21035 # creating and moving files from /tmp can sometimes cause problems.
21036 # Create a temporary directory, and hook for its removal unless debugging.
21039 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21040 trap '{ (exit 1); exit 1; }' 1 2 13 15
21043 # Create a (secure) tmp directory for tmp files.
21046 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21047 test -n "$tmp" && test -d "$tmp"
21050 tmp
=.
/confstat$$
-$RANDOM
21051 (umask 077 && mkdir $tmp)
21054 echo "$me: cannot create a temporary directory in ." >&2
21055 { (exit 1); exit 1; }
21060 cat >>$CONFIG_STATUS <<_ACEOF
21063 # CONFIG_FILES section.
21066 # No need to generate the scripts if there are no CONFIG_FILES.
21067 # This happens for instance when ./config.status config.h
21068 if test -n "\$CONFIG_FILES"; then
21069 # Protect against being on the right side of a sed subst in config.status.
21070 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21071 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21072 s,@SHELL@,$SHELL,;t t
21073 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21074 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21075 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21076 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21077 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21078 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21079 s,@exec_prefix@,$exec_prefix,;t t
21080 s,@prefix@,$prefix,;t t
21081 s,@program_transform_name@,$program_transform_name,;t t
21082 s,@bindir@,$bindir,;t t
21083 s,@sbindir@,$sbindir,;t t
21084 s,@libexecdir@,$libexecdir,;t t
21085 s,@datadir@,$datadir,;t t
21086 s,@sysconfdir@,$sysconfdir,;t t
21087 s,@sharedstatedir@,$sharedstatedir,;t t
21088 s,@localstatedir@,$localstatedir,;t t
21089 s,@libdir@,$libdir,;t t
21090 s,@includedir@,$includedir,;t t
21091 s,@oldincludedir@,$oldincludedir,;t t
21092 s,@infodir@,$infodir,;t t
21093 s,@mandir@,$mandir,;t t
21094 s,@build_alias@,$build_alias,;t t
21095 s,@host_alias@,$host_alias,;t t
21096 s,@target_alias@,$target_alias,;t t
21097 s,@DEFS@,$DEFS,;t t
21098 s,@ECHO_C@,$ECHO_C,;t t
21099 s,@ECHO_N@,$ECHO_N,;t t
21100 s,@ECHO_T@,$ECHO_T,;t t
21101 s,@LIBS@,$LIBS,;t t
21102 s,@build@,$build,;t t
21103 s,@build_cpu@,$build_cpu,;t t
21104 s,@build_vendor@,$build_vendor,;t t
21105 s,@build_os@,$build_os,;t t
21106 s,@host@,$host,;t t
21107 s,@host_cpu@,$host_cpu,;t t
21108 s,@host_vendor@,$host_vendor,;t t
21109 s,@host_os@,$host_os,;t t
21110 s,@target@,$target,;t t
21111 s,@target_cpu@,$target_cpu,;t t
21112 s,@target_vendor@,$target_vendor,;t t
21113 s,@target_os@,$target_os,;t t
21114 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21115 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21116 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21117 s,@CYGPATH_W@,$CYGPATH_W,;t t
21118 s,@PACKAGE@,$PACKAGE,;t t
21119 s,@VERSION@,$VERSION,;t t
21120 s,@ACLOCAL@,$ACLOCAL,;t t
21121 s,@AUTOCONF@,$AUTOCONF,;t t
21122 s,@AUTOMAKE@,$AUTOMAKE,;t t
21123 s,@AUTOHEADER@,$AUTOHEADER,;t t
21124 s,@MAKEINFO@,$MAKEINFO,;t t
21125 s,@install_sh@,$install_sh,;t t
21126 s,@STRIP@,$STRIP,;t t
21127 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21128 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21129 s,@mkdir_p@,$mkdir_p,;t t
21131 s,@SET_MAKE@,$SET_MAKE,;t t
21132 s,@am__leading_dot@,$am__leading_dot,;t t
21133 s,@AMTAR@,$AMTAR,;t t
21134 s,@am__tar@,$am__tar,;t t
21135 s,@am__untar@,$am__untar,;t t
21136 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21137 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21138 s,@MAINT@,$MAINT,;t t
21139 s,@LIBTIFF_MAJOR_VERSION@,$LIBTIFF_MAJOR_VERSION,;t t
21140 s,@LIBTIFF_MINOR_VERSION@,$LIBTIFF_MINOR_VERSION,;t t
21141 s,@LIBTIFF_MICRO_VERSION@,$LIBTIFF_MICRO_VERSION,;t t
21142 s,@LIBTIFF_ALPHA_VERSION@,$LIBTIFF_ALPHA_VERSION,;t t
21143 s,@LIBTIFF_VERSION@,$LIBTIFF_VERSION,;t t
21144 s,@LIBTIFF_VERSION_INFO@,$LIBTIFF_VERSION_INFO,;t t
21145 s,@LIBTIFF_RELEASE_DATE@,$LIBTIFF_RELEASE_DATE,;t t
21147 s,@CFLAGS@,$CFLAGS,;t t
21148 s,@LDFLAGS@,$LDFLAGS,;t t
21149 s,@CPPFLAGS@,$CPPFLAGS,;t t
21150 s,@ac_ct_CC@,$ac_ct_CC,;t t
21151 s,@EXEEXT@,$EXEEXT,;t t
21152 s,@OBJEXT@,$OBJEXT,;t t
21153 s,@DEPDIR@,$DEPDIR,;t t
21154 s,@am__include@,$am__include,;t t
21155 s,@am__quote@,$am__quote,;t t
21156 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21157 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21158 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21159 s,@CCDEPMODE@,$CCDEPMODE,;t t
21160 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21161 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21162 s,@LN_S@,$LN_S,;t t
21163 s,@LIBTOOL@,$LIBTOOL,;t t
21165 s,@EGREP@,$EGREP,;t t
21166 s,@FGREP@,$FGREP,;t t
21167 s,@GREP@,$GREP,;t t
21169 s,@DUMPBIN@,$DUMPBIN,;t t
21170 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
21173 s,@ac_ct_AR@,$ac_ct_AR,;t t
21174 s,@RANLIB@,$RANLIB,;t t
21175 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21176 s,@lt_ECHO@,$lt_ECHO,;t t
21179 s,@ac_ct_AS@,$ac_ct_AS,;t t
21180 s,@DLLTOOL@,$DLLTOOL,;t t
21181 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21182 s,@OBJDUMP@,$OBJDUMP,;t t
21183 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
21184 s,@LIBOBJS@,$LIBOBJS,;t t
21185 s,@HAVE_RPATH_TRUE@,$HAVE_RPATH_TRUE,;t t
21186 s,@HAVE_RPATH_FALSE@,$HAVE_RPATH_FALSE,;t t
21187 s,@LIBTIFF_DOCDIR@,$LIBTIFF_DOCDIR,;t t
21188 s,@HAVE_CXX_TRUE@,$HAVE_CXX_TRUE,;t t
21189 s,@HAVE_CXX_FALSE@,$HAVE_CXX_FALSE,;t t
21190 s,@X_CFLAGS@,$X_CFLAGS,;t t
21191 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21192 s,@X_LIBS@,$X_LIBS,;t t
21193 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21194 s,@acx_pthread_config@,$acx_pthread_config,;t t
21195 s,@PTHREAD_CC@,$PTHREAD_CC,;t t
21196 s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
21197 s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
21198 s,@GL_CFLAGS@,$GL_CFLAGS,;t t
21199 s,@GL_LIBS@,$GL_LIBS,;t t
21201 s,@CXXFLAGS@,$CXXFLAGS,;t t
21202 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21203 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21204 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21205 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21206 s,@CXXCPP@,$CXXCPP,;t t
21207 s,@GLU_CFLAGS@,$GLU_CFLAGS,;t t
21208 s,@GLU_LIBS@,$GLU_LIBS,;t t
21209 s,@GLUT_CFLAGS@,$GLUT_CFLAGS,;t t
21210 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
21211 s,@HAVE_OPENGL_TRUE@,$HAVE_OPENGL_TRUE,;t t
21212 s,@HAVE_OPENGL_FALSE@,$HAVE_OPENGL_FALSE,;t t
21213 s,@LIBDIR@,$LIBDIR,;t t
21214 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21219 cat >>$CONFIG_STATUS <<\_ACEOF
21220 # Split the substitutions into bite-sized pieces for seds with
21221 # small command number limits, like on Digital OSF/1 and HP-UX.
21222 ac_max_sed_lines
=48
21223 ac_sed_frag
=1 # Number of current file.
21224 ac_beg
=1 # First line for current file.
21225 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21228 while $ac_more_lines; do
21229 if test $ac_beg -gt 1; then
21230 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21232 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21234 if test ! -s $tmp/subs.frag
; then
21235 ac_more_lines
=false
21237 # The purpose of the label and of the branching condition is to
21238 # speed up the sed processing (if there are no `@' at all, there
21239 # is no need to browse any of the substitutions).
21240 # These are the two extra sed commands mentioned above.
21242 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
21243 if test -z "$ac_sed_cmds"; then
21244 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21246 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21248 ac_sed_frag
=`expr $ac_sed_frag + 1`
21250 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21253 if test -z "$ac_sed_cmds"; then
21256 fi # test -n "$CONFIG_FILES"
21259 cat >>$CONFIG_STATUS <<\_ACEOF
21260 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21261 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21263 - | *:- | *:-:* ) # input from stdin
21265 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21266 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21267 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21268 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21269 * ) ac_file_in
=$ac_file.
in ;;
21272 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21273 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21274 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21275 X"$ac_file" : 'X\(//\)[^/]' \| \
21276 X"$ac_file" : 'X\(//\)$' \| \
21277 X"$ac_file" : 'X\(/\)' \| \
21278 . : '\(.\)' 2>/dev/null ||
21280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21281 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21282 /^X\(\/\/\)$/{ s//\1/; q; }
21283 /^X\(\/\).*/{ s//\1/; q; }
21285 { if $as_mkdir_p; then
21290 while test ! -d "$as_dir"; do
21291 as_dirs
="$as_dir $as_dirs"
21292 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21294 X"$as_dir" : 'X\(//\)[^/]' \| \
21295 X"$as_dir" : 'X\(//\)$' \| \
21296 X"$as_dir" : 'X\(/\)' \| \
21297 . : '\(.\)' 2>/dev/null ||
21299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21300 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21301 /^X\(\/\/\)$/{ s//\1/; q; }
21302 /^X\(\/\).*/{ s//\1/; q; }
21305 test ! -n "$as_dirs" || mkdir $as_dirs
21306 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21307 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21308 { (exit 1); exit 1; }; }; }
21312 if test "$ac_dir" != .
; then
21313 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21314 # A "../" for each directory in $ac_dir_suffix.
21315 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21317 ac_dir_suffix
= ac_top_builddir
=
21321 .
) # No --srcdir option. We are building in place.
21323 if test -z "$ac_top_builddir"; then
21326 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21328 [\\/]* | ?
:[\\/]* ) # Absolute path.
21329 ac_srcdir
=$srcdir$ac_dir_suffix;
21330 ac_top_srcdir
=$srcdir ;;
21331 *) # Relative path.
21332 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21333 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21336 # Do not use `cd foo && pwd` to compute absolute paths, because
21337 # the directories may not exist.
21339 .
) ac_abs_builddir
="$ac_dir";;
21342 .
) ac_abs_builddir
=`pwd`;;
21343 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21344 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21347 case $ac_abs_builddir in
21348 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21350 case ${ac_top_builddir}.
in
21351 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21352 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21353 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21356 case $ac_abs_builddir in
21357 .
) ac_abs_srcdir
=$ac_srcdir;;
21360 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21361 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21362 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21365 case $ac_abs_builddir in
21366 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21368 case $ac_top_srcdir in
21369 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21370 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21371 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21377 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21378 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21381 # Let's still pretend it is `configure' which instantiates (i.e., don't
21382 # use $as_me), people would be surprised to read:
21383 # /* config.h. Generated by config.status. */
21384 if test x
"$ac_file" = x
-; then
21387 configure_input
="$ac_file. "
21389 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21390 sed 's,.*/,,'` by configure."
21392 # First look for the input files in the build tree, otherwise in the
21394 ac_file_inputs
=`IFS=:
21395 for f in $ac_file_in; do
21397 -) echo $tmp/stdin ;;
21399 # Absolute (can't be DOS-style, as IFS=:)
21400 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21401 echo "$as_me: error: cannot find input file: $f" >&2;}
21402 { (exit 1); exit 1; }; }
21405 if test -f "$f"; then
21408 elif test -f "$srcdir/$f"; then
21413 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21414 echo "$as_me: error: cannot find input file: $f" >&2;}
21415 { (exit 1); exit 1; }; }
21418 done` || { (exit 1); exit 1; }
21420 if test x
"$ac_file" != x
-; then
21421 { echo "$as_me:$LINENO: creating $ac_file" >&5
21422 echo "$as_me: creating $ac_file" >&6;}
21426 cat >>$CONFIG_STATUS <<_ACEOF
21430 cat >>$CONFIG_STATUS <<\_ACEOF
21432 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21433 s
,@configure_input@
,$configure_input,;t t
21434 s
,@srcdir@
,$ac_srcdir,;t t
21435 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21436 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21437 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21438 s
,@builddir@
,$ac_builddir,;t t
21439 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21440 s
,@top_builddir@
,$ac_top_builddir,;t t
21441 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21442 s
,@INSTALL@
,$ac_INSTALL,;t t
21443 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21445 if test x"$ac_file" != x-; then
21446 mv $tmp/out $ac_file
21454 cat >>$CONFIG_STATUS <<\_ACEOF
21457 # CONFIG_HEADER section.
21460 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21461 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21463 # ac_d sets the value in "#define NAME VALUE" lines.
21464 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21465 ac_dB
='[ ].*$,\1#\2'
21468 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21469 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21470 ac_uB
='$,\1#\2define\3'
21474 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21475 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21477 - | *:- | *:-:* ) # input from stdin
21479 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21480 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21481 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21482 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21483 * ) ac_file_in
=$ac_file.
in ;;
21486 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21487 echo "$as_me: creating $ac_file" >&6;}
21489 # First look for the input files in the build tree, otherwise in the
21491 ac_file_inputs
=`IFS=:
21492 for f in $ac_file_in; do
21494 -) echo $tmp/stdin ;;
21496 # Absolute (can't be DOS-style, as IFS=:)
21497 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21498 echo "$as_me: error: cannot find input file: $f" >&2;}
21499 { (exit 1); exit 1; }; }
21500 # Do quote $f, to prevent DOS paths from being IFS'd.
21503 if test -f "$f"; then
21506 elif test -f "$srcdir/$f"; then
21511 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21512 echo "$as_me: error: cannot find input file: $f" >&2;}
21513 { (exit 1); exit 1; }; }
21516 done` || { (exit 1); exit 1; }
21517 # Remove the trailing spaces.
21518 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21522 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21523 # `conftest.undefs', that substitutes the proper values into
21524 # config.h.in to produce config.h. The first handles `#define'
21525 # templates, and the second `#undef' templates.
21526 # And first: Protect against being on the right side of a sed subst in
21527 # config.status. Protect against being in an unquoted here document
21528 # in config.status.
21529 rm -f conftest.defines conftest.undefs
21530 # Using a here document instead of a string reduces the quoting nightmare.
21531 # Putting comments in sed scripts is not portable.
21533 # `end' is used to avoid that the second main sed command (meant for
21534 # 0-ary CPP macros) applies to n-ary macro definitions.
21535 # See the Autoconf documentation for `clear'.
21536 cat >confdef2sed.
sed <<\_ACEOF
21541 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21543 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21546 # If some macros were called several times there might be several times
21547 # the same #defines, which is useless. Nevertheless, we may not want to
21548 # sort them, since we want the *last* AC-DEFINE to be honored.
21549 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21550 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21551 rm -f confdef2sed.sed
21553 # This sed command replaces #undef with comments. This is necessary, for
21554 # example, in the case of _POSIX_SOURCE, which is predefined and required
21555 # on some systems where configure will not decide to define it.
21556 cat >>conftest.undefs <<\_ACEOF
21557 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21560 # Break up conftest.defines because some shells have a limit on the size
21561 # of here documents, and old seds have small limits too (100 cmds).
21562 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21563 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21564 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21565 echo ' :' >>$CONFIG_STATUS
21566 rm -f conftest.tail
21567 while grep . conftest.defines >/dev/null
21569 # Write a limited-size here document to $tmp/defines.sed.
21570 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21571 # Speed up: don't consider the non `#define' lines.
21572 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21573 # Work around the forget-to-reset-the-flag bug.
21574 echo 't clr' >>$CONFIG_STATUS
21575 echo ': clr' >>$CONFIG_STATUS
21576 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21578 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21580 mv $tmp/out $tmp/in
21582 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21583 rm -f conftest.defines
21584 mv conftest.
tail conftest.defines
21586 rm -f conftest.defines
21587 echo ' fi # grep' >>$CONFIG_STATUS
21588 echo >>$CONFIG_STATUS
21590 # Break up conftest.undefs because some shells have a limit on the size
21591 # of here documents, and old seds have small limits too (100 cmds).
21592 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21593 rm -f conftest.
tail
21594 while grep . conftest.undefs
>/dev
/null
21596 # Write a limited-size here document to $tmp/undefs.sed.
21597 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21598 # Speed up: don't consider the non
`#undef'
21599 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21600 # Work around the forget-to-reset-the-flag bug.
21601 echo 't clr' >>$CONFIG_STATUS
21602 echo ': clr' >>$CONFIG_STATUS
21603 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21605 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21607 mv $tmp/out $tmp/in
21609 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21610 rm -f conftest.undefs
21611 mv conftest.tail conftest.undefs
21613 rm -f conftest.undefs
21615 cat >>$CONFIG_STATUS <<\_ACEOF
21616 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21617 # use $as_me), people would be surprised to read:
21618 # /* config.h. Generated by config.status. */
21619 if test x
"$ac_file" = x
-; then
21620 echo "/* Generated by configure. */" >$tmp/config.h
21622 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21624 cat $tmp/in >>$tmp/config.h
21626 if test x
"$ac_file" != x
-; then
21627 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21628 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21629 echo "$as_me: $ac_file is unchanged" >&6;}
21631 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21632 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21633 X"$ac_file" : 'X\(//\)[^/]' \| \
21634 X"$ac_file" : 'X\(//\)$' \| \
21635 X"$ac_file" : 'X\(/\)' \| \
21636 . : '\(.\)' 2>/dev/null ||
21638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21639 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21640 /^X\(\/\/\)$/{ s//\1/; q; }
21641 /^X\(\/\).*/{ s//\1/; q; }
21643 { if $as_mkdir_p; then
21648 while test ! -d "$as_dir"; do
21649 as_dirs
="$as_dir $as_dirs"
21650 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21651 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21652 X"$as_dir" : 'X\(//\)[^/]' \| \
21653 X"$as_dir" : 'X\(//\)$' \| \
21654 X"$as_dir" : 'X\(/\)' \| \
21655 . : '\(.\)' 2>/dev/null ||
21657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21658 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21659 /^X\(\/\/\)$/{ s//\1/; q; }
21660 /^X\(\/\).*/{ s//\1/; q; }
21663 test ! -n "$as_dirs" || mkdir $as_dirs
21664 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21665 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21666 { (exit 1); exit 1; }; }; }
21669 mv $tmp/config.h
$ac_file
21673 rm -f $tmp/config.h
21675 # Compute $ac_file's index in $config_headers.
21677 for _am_header
in $config_headers :; do
21678 case $_am_header in
21679 $ac_file | $ac_file:* )
21682 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21685 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21686 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21687 X$ac_file : 'X\(//\)[^/]' \| \
21688 X$ac_file : 'X\(//\)$' \| \
21689 X$ac_file : 'X\(/\)' \| \
21690 . : '\(.\)' 2>/dev/null ||
21692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21693 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21694 /^X\(\/\/\)$/{ s//\1/; q; }
21695 /^X\(\/\).*/{ s//\1/; q; }
21696 s/.*/./; q'`/stamp
-h$_am_stamp_count
21699 cat >>$CONFIG_STATUS <<\_ACEOF
21702 # CONFIG_COMMANDS section.
21704 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21705 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21706 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21707 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21708 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21709 X"$ac_dest" : 'X\(//\)[^/]' \| \
21710 X"$ac_dest" : 'X\(//\)$' \| \
21711 X"$ac_dest" : 'X\(/\)' \| \
21712 . : '\(.\)' 2>/dev/null ||
21714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21715 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21716 /^X\(\/\/\)$/{ s//\1/; q; }
21717 /^X\(\/\).*/{ s//\1/; q; }
21719 { if $as_mkdir_p; then
21724 while test ! -d "$as_dir"; do
21725 as_dirs
="$as_dir $as_dirs"
21726 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21728 X"$as_dir" : 'X\(//\)[^/]' \| \
21729 X"$as_dir" : 'X\(//\)$' \| \
21730 X"$as_dir" : 'X\(/\)' \| \
21731 . : '\(.\)' 2>/dev/null ||
21733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21734 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21735 /^X\(\/\/\)$/{ s//\1/; q; }
21736 /^X\(\/\).*/{ s//\1/; q; }
21739 test ! -n "$as_dirs" || mkdir $as_dirs
21740 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21741 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21742 { (exit 1); exit 1; }; }; }
21746 if test "$ac_dir" != .
; then
21747 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21748 # A "../" for each directory in $ac_dir_suffix.
21749 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21751 ac_dir_suffix
= ac_top_builddir
=
21755 .
) # No --srcdir option. We are building in place.
21757 if test -z "$ac_top_builddir"; then
21760 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21762 [\\/]* | ?
:[\\/]* ) # Absolute path.
21763 ac_srcdir
=$srcdir$ac_dir_suffix;
21764 ac_top_srcdir
=$srcdir ;;
21765 *) # Relative path.
21766 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21767 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21770 # Do not use `cd foo && pwd` to compute absolute paths, because
21771 # the directories may not exist.
21773 .
) ac_abs_builddir
="$ac_dir";;
21776 .
) ac_abs_builddir
=`pwd`;;
21777 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21778 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21781 case $ac_abs_builddir in
21782 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21784 case ${ac_top_builddir}.
in
21785 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21786 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21787 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21790 case $ac_abs_builddir in
21791 .
) ac_abs_srcdir
=$ac_srcdir;;
21794 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21795 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21796 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21799 case $ac_abs_builddir in
21800 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21802 case $ac_top_srcdir in
21803 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21804 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21805 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21810 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21811 echo "$as_me: executing $ac_dest commands" >&6;}
21813 depfiles
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
21814 # Strip MF so we end up with the name of the file.
21815 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21816 # Check whether this is an Automake generated Makefile or not.
21817 # We used to match only the files named `Makefile.in', but
21818 # some people rename them; so instead we look at the file content.
21819 # Grep'ing the first line is not enough: some people post-process
21820 # each Makefile.in and add a new line on top of each file to say so.
21821 # So let's grep whole file.
21822 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21823 dirpart
=`(dirname "$mf") 2>/dev/null ||
21824 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21825 X"$mf" : 'X\(//\)[^/]' \| \
21826 X"$mf" : 'X\(//\)$' \| \
21827 X"$mf" : 'X\(/\)' \| \
21828 . : '\(.\)' 2>/dev/null ||
21830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21831 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21832 /^X\(\/\/\)$/{ s//\1/; q; }
21833 /^X\(\/\).*/{ s//\1/; q; }
21838 # Extract the definition of DEPDIR, am__include, and am__quote
21839 # from the Makefile without running `make'.
21840 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21841 test -z "$DEPDIR" && continue
21842 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21843 test -z "am__include" && continue
21844 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21845 # When using ansi2knr, U may be empty or an underscore; expand it
21846 U
=`sed -n 's/^U = //p' < "$mf"`
21847 # Find all dependency output files, they are included files with
21848 # $(DEPDIR) in their names. We invoke sed twice because it is the
21849 # simplest approach to changing $(DEPDIR) to its actual value in the
21851 for file in `sed -n "
21852 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21853 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21854 # Make sure the directory exists.
21855 test -f "$dirpart/$file" && continue
21856 fdir
=`(dirname "$file") 2>/dev/null ||
21857 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21858 X"$file" : 'X\(//\)[^/]' \| \
21859 X"$file" : 'X\(//\)$' \| \
21860 X"$file" : 'X\(/\)' \| \
21861 . : '\(.\)' 2>/dev/null ||
21863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21864 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21865 /^X\(\/\/\)$/{ s//\1/; q; }
21866 /^X\(\/\).*/{ s//\1/; q; }
21868 { if $as_mkdir_p; then
21869 mkdir -p $dirpart/$fdir
21871 as_dir
=$dirpart/$fdir
21873 while test ! -d "$as_dir"; do
21874 as_dirs
="$as_dir $as_dirs"
21875 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21877 X"$as_dir" : 'X\(//\)[^/]' \| \
21878 X"$as_dir" : 'X\(//\)$' \| \
21879 X"$as_dir" : 'X\(/\)' \| \
21880 . : '\(.\)' 2>/dev/null ||
21882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21883 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21884 /^X\(\/\/\)$/{ s//\1/; q; }
21885 /^X\(\/\).*/{ s//\1/; q; }
21888 test ! -n "$as_dirs" || mkdir $as_dirs
21889 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21890 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21891 { (exit 1); exit 1; }; }; }
21893 # echo "creating $dirpart/$file"
21894 echo '# dummy' > "$dirpart/$file"
21900 # See if we are running on zsh, and set the options which allow our
21901 # commands through without removal of \ escapes.
21902 if test -n "${ZSH_VERSION+set}" ; then
21903 setopt NO_GLOB_SUBST
21906 cfgfile
="${ofile}T"
21907 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21910 cat <<_LT_EOF >> "$cfgfile"
21913 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21914 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
21915 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21916 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21918 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21919 # 2006 Free Software Foundation, Inc.
21921 # This file is part of GNU Libtool:
21922 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
21924 # This program is free software; you can redistribute it and/or modify
21925 # it under the terms of the GNU General Public License as published by
21926 # the Free Software Foundation; either version 2 of the License, or
21927 # (at your option) any later version.
21929 # This program is distributed in the hope that it will be useful, but
21930 # WITHOUT ANY WARRANTY; without even the implied warranty of
21931 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21932 # General Public License for more details.
21934 # You should have received a copy of the GNU General Public License
21935 # along with this program; if not, write to the Free Software
21936 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21938 # As a special exception to the GNU General Public License, if you
21939 # distribute this file as part of a program that contains a
21940 # configuration script generated by Autoconf, you may include it under
21941 # the same distribution terms that you use for the rest of that program.
21943 # TEST SUITE MARKER ## BEGIN SOURCABLE
21945 # The names of the tagged configurations supported by this script.
21946 available_tags="CXX "
21948 # ### BEGIN LIBTOOL CONFIG
21950 # Which release of libtool.m4 was used?
21951 macro_version=$macro_version
21952 macro_revision=$macro_revision
21954 # Whether or not to build shared libraries.
21955 build_libtool_libs=$enable_shared
21957 # Whether or not to build static libraries.
21958 build_old_libs=$enable_static
21960 # What type of objects to build.
21963 # Whether or not to optimize for fast installation.
21964 fast_install=$enable_fast_install
21967 host_alias=$host_alias
21971 # The build system.
21972 build_alias=$build_alias
21976 # A sed program that does not truncate output.
21979 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21980 Xsed="\$SED -e 1s/^X//"
21982 # A grep program that handles long lines.
21988 # A literal string matcher.
21991 # A BSD- or MS-compatible name lister.
21994 # Whether we need soft or hard links.
21997 # What is the maximum length of a command?
21998 max_cmd_len=$max_cmd_len
22000 # Object file suffix (normally "o").
22003 # Executable file suffix (normally "").
22006 # How to create reloadable object files.
22007 reload_flag=$lt_reload_flag
22008 reload_cmds=$lt_reload_cmds
22010 # Method to check whether dependent libraries are shared objects.
22011 deplibs_check_method=$lt_deplibs_check_method
22013 # Command to use when deplibs_check_method == "file_magic".
22014 file_magic_cmd=$lt_file_magic_cmd
22018 AR_FLAGS=$lt_AR_FLAGS
22020 # A symbol stripping program.
22023 # Commands used to install an old-style archive.
22025 old_postinstall_cmds=$lt_old_postinstall_cmds
22026 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22031 # LTCC compiler flags.
22032 LTCFLAGS=$lt_CFLAGS
22034 # Take the output of nm and produce a listing of raw symbols and C names.
22035 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22037 # Transform the output of nm in a proper C declaration.
22038 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22040 # Transform the output of nm in a C name address pair.
22041 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22043 # The name of the directory that contains temporary libtool files.
22046 # Shell to use when invoking shell scripts.
22049 # An echo program that does not interpret backslashes.
22052 # Used to examine libraries when file_magic_cmd begins with "file".
22053 MAGIC_CMD=$MAGIC_CMD
22055 # Must we lock files when doing compilation?
22056 need_locks=$lt_need_locks
22058 # Old archive suffix (normally "a").
22061 # Shared library suffix (normally ".so").
22062 shrext_cmds=$lt_shrext_cmds
22064 # The commands to extract the exported symbol list from a shared archive.
22065 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22067 # Variables whose values should be saved in libtool wrapper scripts and
22068 # restored at link time.
22069 variables_saved_for_relink=$lt_variables_saved_for_relink
22071 # Do we need the "lib" prefix for modules?
22072 need_lib_prefix=$need_lib_prefix
22074 # Do we need a version for libraries?
22075 need_version=$need_version
22077 # Library versioning type.
22078 version_type=$version_type
22080 # Shared library runtime path variable.
22081 runpath_var=$runpath_var
22083 # Shared library path variable.
22084 shlibpath_var=$shlibpath_var
22086 # Is shlibpath searched before the hard-coded library search path?
22087 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22089 # Format of library name prefix.
22090 libname_spec=$lt_libname_spec
22092 # List of archive names. First name is the real one, the rest are links.
22093 # The last name is the one that the linker finds with -lNAME
22094 library_names_spec=$lt_library_names_spec
22096 # The coded name of the library, if different from the real name.
22097 soname_spec=$lt_soname_spec
22099 # Command to use after installation of a shared archive.
22100 postinstall_cmds=$lt_postinstall_cmds
22102 # Command to use after uninstallation of a shared archive.
22103 postuninstall_cmds=$lt_postuninstall_cmds
22105 # Commands used to finish a libtool library installation in a directory.
22106 finish_cmds=$lt_finish_cmds
22108 # As "finish_cmds", except a single script fragment to be evaled but
22110 finish_eval=$lt_finish_eval
22112 # Whether we should hardcode library paths into libraries.
22113 hardcode_into_libs=$hardcode_into_libs
22115 # Compile-time system search path for libraries.
22116 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22118 # Run-time system search path for libraries.
22119 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22121 # Whether dlopen is supported.
22122 dlopen_support=$enable_dlopen
22124 # Whether dlopen of programs is supported.
22125 dlopen_self=$enable_dlopen_self
22127 # Whether dlopen of statically linked programs is supported.
22128 dlopen_self_static=$enable_dlopen_self_static
22130 # Commands to strip libraries.
22131 old_striplib=$lt_old_striplib
22132 striplib=$lt_striplib
22134 # Assembler program.
22137 # DLL creation program.
22140 # Object dumper program.
22144 # The linker used to build libraries.
22147 # Commands used to build an old-style archive.
22148 old_archive_cmds=$lt_old_archive_cmds
22150 # A language specific compiler.
22153 # Is the compiler the GNU compiler?
22156 # Compiler flag to turn off builtin functions.
22157 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22159 # How to pass a linker flag through the compiler.
22160 wl=$lt_lt_prog_compiler_wl
22162 # Additional compiler flags for building library objects.
22163 pic_flag=$lt_lt_prog_compiler_pic
22165 # Compiler flag to prevent dynamic linking.
22166 link_static_flag=$lt_lt_prog_compiler_static
22168 # Does compiler simultaneously support -c and -o options?
22169 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22171 # Whether or not to add -lc for building shared libraries.
22172 build_libtool_need_lc=$archive_cmds_need_lc
22174 # Whether or not to disallow shared libs when runtime libs are static.
22175 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22177 # Compiler flag to allow reflexive dlopens.
22178 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22180 # Compiler flag to generate shared objects directly from archives.
22181 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22183 # Create an old-style archive from a shared archive.
22184 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22186 # Create a temporary old-style archive to link instead of a shared archive.
22187 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22189 # Commands used to build a shared archive.
22190 archive_cmds=$lt_archive_cmds
22191 archive_expsym_cmds=$lt_archive_expsym_cmds
22193 # Commands used to build a loadable module if different from building
22194 # a shared archive.
22195 module_cmds=$lt_module_cmds
22196 module_expsym_cmds=$lt_module_expsym_cmds
22198 # Whether we are building with GNU ld or not.
22199 with_gnu_ld=$lt_with_gnu_ld
22201 # Flag that allows shared libraries with undefined symbols to be built.
22202 allow_undefined_flag=$lt_allow_undefined_flag
22204 # Flag that enforces no undefined symbols.
22205 no_undefined_flag=$lt_no_undefined_flag
22207 # Flag to hardcode \$libdir into a binary during linking.
22208 # This must work even if \$libdir does not exist
22209 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22211 # If ld is used when linking, flag to hardcode \$libdir into a binary
22212 # during linking. This must work even if \$libdir does not exist.
22213 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22215 # Whether we need a single "-rpath" flag with a separated argument.
22216 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22218 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22219 # DIR into the resulting binary.
22220 hardcode_direct=$hardcode_direct
22222 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22223 # into the resulting binary.
22224 hardcode_minus_L=$hardcode_minus_L
22226 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22227 # into the resulting binary.
22228 hardcode_shlibpath_var=$hardcode_shlibpath_var
22230 # Set to "yes" if building a shared library automatically hardcodes DIR
22231 # into the library and all subsequent libraries and executables linked
22233 hardcode_automatic=$hardcode_automatic
22235 # Set to yes if linker adds runtime paths of dependent libraries
22236 # to runtime path list.
22237 inherit_rpath=$inherit_rpath
22239 # Whether libtool must link a program against all its dependency libraries.
22240 link_all_deplibs=$link_all_deplibs
22242 # Fix the shell variable \$srcfile for the compiler.
22243 fix_srcfile_path=$lt_fix_srcfile_path
22245 # Set to "yes" if exported symbols are required.
22246 always_export_symbols=$always_export_symbols
22248 # The commands to list exported symbols.
22249 export_symbols_cmds=$lt_export_symbols_cmds
22251 # Symbols that should not be listed in the preloaded symbols.
22252 exclude_expsyms=$lt_exclude_expsyms
22254 # Symbols that must always be exported.
22255 include_expsyms=$lt_include_expsyms
22257 # Commands necessary for linking programs (against libraries) with templates.
22258 prelink_cmds=$lt_prelink_cmds
22260 # Specify filename containing input files.
22261 file_list_spec=$lt_file_list_spec
22263 # How to hardcode a shared library path into an executable.
22264 hardcode_action=$hardcode_action
22266 # Dependencies to place before and after the objects being linked to
22267 # create a shared library.
22268 predep_objects=$lt_predep_objects
22269 postdep_objects=$lt_postdep_objects
22270 predeps=$lt_predeps
22271 postdeps=$lt_postdeps
22273 # The library search path used internally by the compiler when linking
22274 # a shared library.
22275 compiler_lib_search_path=$lt_compiler_lib_search_path
22277 # ### END LIBTOOL CONFIG
22279 # The HP-UX ksh and POSIX shell print the target directory to stdout
22280 # if CDPATH is set.
22281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22287 cat <<\_LT_EOF
>> "$cfgfile"
22288 # AIX sometimes has problems with the GCC collect2 program. For some
22289 # reason, if we set the COLLECT_NAMES environment variable, the problems
22290 # vanish in a puff of smoke.
22291 if test "X${COLLECT_NAMES+set}" != Xset
; then
22293 export COLLECT_NAMES
22300 ltmain
="$ac_aux_dir/ltmain.sh"
22303 # We use sed instead of cat because bash on DJGPP gets confused if
22304 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22305 # text mode, it properly converts lines to CR/LF. This bash problem
22306 # is reportedly fixed, but why not run on old versions too?
22307 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22308 || (rm -f "$cfgfile"; exit 1)
22312 cat << \_LT_EOF
>> "$cfgfile"
22313 # func_dirname file append nondir_replacement
22314 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22315 # otherwise set result to NONDIR_REPLACEMENT.
22319 */*) func_dirname_result
="${1%/*}${2}" ;;
22320 * ) func_dirname_result
="${3}" ;;
22324 # func_basename file
22327 func_basename_result
="${1##*/}"
22330 # func_stripname prefix suffix name
22331 # strip PREFIX and SUFFIX off of NAME.
22332 # PREFIX and SUFFIX must not contain globbing or regex special
22333 # characters, hashes, percent signs, but SUFFIX may contain a leading
22334 # dot (in which case that matches only a dot).
22337 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22338 # positional parameters, so assign one to ordinary parameter first.
22339 func_stripname_result
=${3}
22340 func_stripname_result
=${func_stripname_result#"${1}"}
22341 func_stripname_result
=${func_stripname_result%"${2}"}
22345 *) # Bourne compatible functions.
22346 cat << \_LT_EOF
>> "$cfgfile"
22347 # func_dirname file append nondir_replacement
22348 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22349 # otherwise set result to NONDIR_REPLACEMENT.
22352 # Extract subdirectory from the argument.
22353 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22354 if test "X$func_dirname_result" = "X${1}"; then
22355 func_dirname_result
="${3}"
22357 func_dirname_result
="$func_dirname_result${2}"
22361 # func_basename file
22364 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
22367 # func_stripname prefix suffix name
22368 # strip PREFIX and SUFFIX off of NAME.
22369 # PREFIX and SUFFIX must not contain globbing or regex special
22370 # characters, hashes, percent signs, but SUFFIX may contain a leading
22371 # dot (in which case that matches only a dot).
22372 # func_strip_suffix prefix name
22376 .
*) func_stripname_result
=`$ECHO "X${3}" \
22377 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22378 *) func_stripname_result
=`$ECHO "X${3}" \
22379 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22386 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22387 || (rm -f "$cfgfile"; exit 1)
22389 mv -f "$cfgfile" "$ofile" ||
22390 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22394 cat <<_LT_EOF >> "$ofile"
22396 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22398 # The linker used to build libraries.
22401 # Commands used to build an old-style archive.
22402 old_archive_cmds=$lt_old_archive_cmds_CXX
22404 # A language specific compiler.
22405 CC=$lt_compiler_CXX
22407 # Is the compiler the GNU compiler?
22410 # Compiler flag to turn off builtin functions.
22411 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22413 # How to pass a linker flag through the compiler.
22414 wl=$lt_lt_prog_compiler_wl_CXX
22416 # Additional compiler flags for building library objects.
22417 pic_flag=$lt_lt_prog_compiler_pic_CXX
22419 # Compiler flag to prevent dynamic linking.
22420 link_static_flag=$lt_lt_prog_compiler_static_CXX
22422 # Does compiler simultaneously support -c and -o options?
22423 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22425 # Whether or not to add -lc for building shared libraries.
22426 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22428 # Whether or not to disallow shared libs when runtime libs are static.
22429 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22431 # Compiler flag to allow reflexive dlopens.
22432 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22434 # Compiler flag to generate shared objects directly from archives.
22435 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22437 # Create an old-style archive from a shared archive.
22438 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22440 # Create a temporary old-style archive to link instead of a shared archive.
22441 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22443 # Commands used to build a shared archive.
22444 archive_cmds=$lt_archive_cmds_CXX
22445 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22447 # Commands used to build a loadable module if different from building
22448 # a shared archive.
22449 module_cmds=$lt_module_cmds_CXX
22450 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22452 # Whether we are building with GNU ld or not.
22453 with_gnu_ld=$lt_with_gnu_ld_CXX
22455 # Flag that allows shared libraries with undefined symbols to be built.
22456 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22458 # Flag that enforces no undefined symbols.
22459 no_undefined_flag=$lt_no_undefined_flag_CXX
22461 # Flag to hardcode \$libdir into a binary during linking.
22462 # This must work even if \$libdir does not exist
22463 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22465 # If ld is used when linking, flag to hardcode \$libdir into a binary
22466 # during linking. This must work even if \$libdir does not exist.
22467 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22469 # Whether we need a single "-rpath" flag with a separated argument.
22470 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22472 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22473 # DIR into the resulting binary.
22474 hardcode_direct=$hardcode_direct_CXX
22476 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22477 # into the resulting binary.
22478 hardcode_minus_L=$hardcode_minus_L_CXX
22480 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22481 # into the resulting binary.
22482 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22484 # Set to "yes" if building a shared library automatically hardcodes DIR
22485 # into the library and all subsequent libraries and executables linked
22487 hardcode_automatic=$hardcode_automatic_CXX
22489 # Set to yes if linker adds runtime paths of dependent libraries
22490 # to runtime path list.
22491 inherit_rpath=$inherit_rpath_CXX
22493 # Whether libtool must link a program against all its dependency libraries.
22494 link_all_deplibs=$link_all_deplibs_CXX
22496 # Fix the shell variable \$srcfile for the compiler.
22497 fix_srcfile_path=$lt_fix_srcfile_path_CXX
22499 # Set to "yes" if exported symbols are required.
22500 always_export_symbols=$always_export_symbols_CXX
22502 # The commands to list exported symbols.
22503 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22505 # Symbols that should not be listed in the preloaded symbols.
22506 exclude_expsyms=$lt_exclude_expsyms_CXX
22508 # Symbols that must always be exported.
22509 include_expsyms=$lt_include_expsyms_CXX
22511 # Commands necessary for linking programs (against libraries) with templates.
22512 prelink_cmds=$lt_prelink_cmds_CXX
22514 # Specify filename containing input files.
22515 file_list_spec=$lt_file_list_spec_CXX
22517 # How to hardcode a shared library path into an executable.
22518 hardcode_action=$hardcode_action_CXX
22520 # Dependencies to place before and after the objects being linked to
22521 # create a shared library.
22522 predep_objects=$lt_predep_objects_CXX
22523 postdep_objects=$lt_postdep_objects_CXX
22524 predeps=$lt_predeps_CXX
22525 postdeps=$lt_postdeps_CXX
22527 # The library search path used internally by the compiler when linking
22528 # a shared library.
22529 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22531 # ### END LIBTOOL TAG CONFIG: CXX
22539 cat >>$CONFIG_STATUS <<\_ACEOF
22541 { (exit 0); exit 0; }
22543 chmod +x
$CONFIG_STATUS
22544 ac_clean_files
=$ac_clean_files_save
22547 # configure is writing to config.log, and then calls config.status.
22548 # config.status does its own redirection, appending to config.log.
22549 # Unfortunately, on DOS this fails, as config.log is still kept open
22550 # by configure, so config.status won't be able to write to it; its
22551 # output is simply discarded. So we exec the FD to /dev/null,
22552 # effectively closing config.log, so it can be properly (re)opened and
22553 # appended to by config.status. When coming back to configure, we
22554 # need to make the FD available again.
22555 if test "$no_create" != yes; then
22557 ac_config_status_args
=
22558 test "$silent" = yes &&
22559 ac_config_status_args
="$ac_config_status_args --quiet"
22561 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22563 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22564 # would make configure fail if this is the last instruction.
22565 $ac_cs_success || { (exit 1); exit 1; }
22571 echo "Libtiff is now configured for ${host}"
22573 echo " Installation directory: ${prefix}"
22574 echo " Documentation directory: ${LIBTIFF_DOCDIR}"
22575 echo " C compiler: ${CC} ${CFLAGS}"
22576 echo " C++ compiler: ${CXX} ${CXXFLAGS}"
22577 echo " Enable runtime linker paths: ${HAVE_RPATH}"
22578 echo " Support Microsoft Document Imaging: ${HAVE_MDI}"
22580 echo " Support for internal codecs:"
22581 echo " CCITT Group 3 & 4 algorithms: ${HAVE_CCITT}"
22582 echo " Macintosh PackBits algorithm: ${HAVE_PACKBITS}"
22583 echo " LZW algorithm: ${HAVE_LZW}"
22584 echo " ThunderScan 4-bit RLE algorithm: ${HAVE_THUNDER}"
22585 echo " NeXT 2-bit RLE algorithm: ${HAVE_NEXT}"
22586 echo " LogLuv high dynamic range encoding: ${HAVE_LOGLUV}"
22588 echo " Support for external codecs:"
22589 echo " ZLIB support: ${HAVE_ZLIB}"
22590 echo " Pixar log-format algorithm: ${HAVE_PIXARLOG}"
22591 echo " JPEG support: ${HAVE_JPEG}"
22592 echo " Old JPEG support: ${HAVE_OJPEG}"
22594 echo " C++ support: ${HAVE_CXX}"
22596 echo " OpenGL support: ${HAVE_OPENGL}"