2 # Guess values for system-dependent variables and create Makefiles. 
   3 # Generated by GNU Autoconf 2.61 for LibTIFF Software 3.8.2. 
   5 # Report bugs to <tiff@lists.maptools.org>. 
   7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
   8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
   9 # This configure script is free software; the Free Software Foundation 
  10 # gives unlimited permission to copy, distribute and modify it. 
  11 ## --------------------- ## 
  12 ## M4sh Initialization.  ## 
  13 ## --------------------- ## 
  15 # Be more Bourne compatible 
  16 DUALCASE
=1; export DUALCASE 
# for MKS sh 
  17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null 
2>&1; then 
  20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
  21   # is contrary to our usage.  Disable this feature. 
  22   alias -g '${1+"$@"}'='"$@"' 
  25   case `(set -o) 2>/dev/null` in 
  26   *posix
*) set -o posix 
;; 
  35 # Avoid depending upon Character Ranges. 
  36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz' 
  37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
  38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS 
  39 as_cr_digits
='0123456789' 
  40 as_cr_alnum
=$as_cr_Letters$as_cr_digits 
  42 # The user is always right. 
  43 if test "${PATH_SEPARATOR+set}" != set; then 
  44   echo "#! /bin/sh" >conf$$.sh
 
  45   echo  "exit 0"   >>conf$$.sh
 
  47   if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null 
2>&1; then 
  55 # Support unset when possible. 
  56 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null 
2>&1; then 
  64 # We need space, tab and new line, in precisely that order.  Quoting is 
  65 # there to prevent editors from complaining about space-tab. 
  66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 
  67 # splitting by setting IFS to empty value.) 
  72 # Find who we are.  Look in the path if we contain no directory separator. 
  74   *[\\/]* ) as_myself
=$0 ;; 
  75   *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
  79   test -z "$as_dir" && as_dir
=.
 
  80   test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break 
  86 # We did not find ourselves, most probably we were run as `sh COMMAND' 
  87 # in which case we are not to be found in the path. 
  88 if test "x$as_myself" = x
; then 
  91 if test ! -f "$as_myself"; then 
  92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
  96 # Work around bugs in pre-3.0 UWIN ksh. 
  97 for as_var 
in ENV MAIL MAILPATH
 
  98 do ($as_unset $as_var) >/dev
/null 
2>&1 && $as_unset $as_var 
 106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
 107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
 110   if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
 111     eval $as_var=C
; export $as_var 
 113     ($as_unset $as_var) >/dev
/null 
2>&1 && $as_unset $as_var 
 117 # Required to use basename. 
 118 if expr a 
: '\(a\)' >/dev
/null 
2>&1 && 
 119    test "X`expr 00001 : '.*\(...\)'`" = X001
; then 
 125 if (basename -- /) >/dev
/null 
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 
 132 # Name of the executable. 
 133 as_me
=`$as_basename -- "$0" || 
 134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
 135          X"$0" : 'X\(//\)$' \| \ 
 136          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
 138     sed '/^.*\/\([^/][^/]*\)\/*$/{ 
 156 if test "x$CONFIG_SHELL" = x
; then 
 157   if (eval ":") 2>/dev
/null
; then 
 163   if test $as_have_required = yes &&     (eval ": 
 173 as_func_ret_success () { 
 176 as_func_ret_failure () { 
 181 if as_func_success; then 
 185   echo as_func_success failed. 
 188 if as_func_failure; then 
 190   echo as_func_failure succeeded. 
 193 if as_func_ret_success; then 
 197   echo as_func_ret_success failed. 
 200 if as_func_ret_failure; then 
 202   echo as_func_ret_failure succeeded. 
 205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
 209   echo positional parameters were not saved. 
 212 test \$exitcode = 0) || { (exit 1); exit 1; } 
 217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 
 218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 
 219 ") 2> /dev
/null
; then 
 223     as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
 224 for as_dir 
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH 
 227   test -z "$as_dir" && as_dir
=.
 
 230            for as_base 
in sh bash ksh sh5
; do 
 231              as_candidate_shells
="$as_candidate_shells $as_dir/$as_base" 
 238       for as_shell 
in $as_candidate_shells $SHELL; do 
 239          # Try only shells that exist, to save several forks. 
 240          if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
 241                 { ("$as_shell") 2> /dev
/null 
<<\_ASEOF
 
 242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null 
2>&1; then 
 245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
 246   # is contrary to our usage.  Disable this feature. 
 247   alias -g '${1+"$@"}'='"$@"' 
 250   case `(set -o) 2>/dev/null` in 
 251   *posix
*) set -o posix 
;; 
 260   CONFIG_SHELL
=$as_shell 
 262                if { "$as_shell" 2> /dev
/null 
<<\_ASEOF
 
 263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null 
2>&1; then 
 266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
 267   # is contrary to our usage.  Disable this feature. 
 268   alias -g '${1+"$@"}'='"$@"' 
 271   case `(set -o) 2>/dev/null` in 
 272   *posix
*) set -o posix 
;; 
 288 as_func_ret_success 
() { 
 291 as_func_ret_failure 
() { 
 296 if as_func_success
; then 
 300   echo as_func_success failed.
 
 303 if as_func_failure
; then 
 305   echo as_func_failure succeeded.
 
 308 if as_func_ret_success
; then 
 312   echo as_func_ret_success failed.
 
 315 if as_func_ret_failure
; then 
 317   echo as_func_ret_failure succeeded.
 
 320 if ( set x
; as_func_ret_success y 
&& test x 
= "$1" ); then 
 324   echo positional parameters were not saved.
 
 327 test $exitcode = 0) || { (exit 1); exit 1; } 
 332   test "x$as_lineno_1" != "x$as_lineno_2" && 
 333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 
 344       if test "x$CONFIG_SHELL" != x
; then 
 345   for as_var 
in BASH_ENV ENV
 
 346         do ($as_unset $as_var) >/dev
/null 
2>&1 && $as_unset $as_var 
 349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
 353     if test $as_have_required = no
; then 
 354   echo This 
script requires a shell 
more modern than all the
 
 355       echo shells that I found on your system.  Please 
install a
 
 356       echo modern shell
, or manually run the 
script under such a
 
 357       echo shell 
if you 
do have one.
 
 358       { (exit 1); exit 1; } 
 368 (eval "as_func_return () { 
 377 as_func_ret_success () { 
 380 as_func_ret_failure () { 
 385 if as_func_success; then 
 389   echo as_func_success failed. 
 392 if as_func_failure; then 
 394   echo as_func_failure succeeded. 
 397 if as_func_ret_success; then 
 401   echo as_func_ret_success failed. 
 404 if as_func_ret_failure; then 
 406   echo as_func_ret_failure succeeded. 
 409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
 413   echo positional parameters were not saved. 
 416 test \$exitcode = 0") || { 
 417   echo No shell found that supports shell functions.
 
 418   echo Please tell autoconf@gnu.org about your system
, 
 419   echo including any error possibly output before this
 
 427   test "x$as_lineno_1" != "x$as_lineno_2" && 
 428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
 430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
 431   # uniformly replaced by the line number.  The first 'sed' inserts a 
 432   # line-number line after each line using $LINENO; the second 'sed' 
 433   # does the real work.  The second script uses 'N' to pair each 
 434   # line-number line with the line containing $LINENO, and appends 
 435   # trailing '-' during substitution so that $LINENO is not a special 
 437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
 438   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
 439   # E. McMahon (1931-1989) for sed's syntax.  :-) 
 451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
 455   chmod +x 
"$as_me.lineno" || 
 456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
 457    { (exit 1); exit 1; }; } 
 459   # Don't try to exec as it changes $[0], causing all sort of problems 
 460   # (the dirname of $[0] is not the place where we might find the 
 461   # original and so on.  Autoconf is especially sensitive to this). 
 463   # Exit status is that of the last command. 
 468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null 
2>&1; then 
 474 ECHO_C
= ECHO_N
= ECHO_T
= 
 478   *c
*) ECHO_T
=' ';;     # ECHO_T is single tab character. 
 485 if expr a 
: '\(a\)' >/dev
/null 
2>&1 && 
 486    test "X`expr 00001 : '.*\(...\)'`" = X001
; then 
 492 rm -f conf$$ conf$$.exe conf$$.
file 
 493 if test -d conf$$.dir
; then 
 494   rm -f conf$$.dir
/conf$$.
file 
 500 if ln -s conf$$.
file conf$$ 
2>/dev
/null
; then 
 502   # ... but there are two gotchas: 
 503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
 504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
 505   # In both cases, we have to default to `cp -p'. 
 506   ln -s conf$$.
file conf$$.dir 
2>/dev
/null 
&& test ! -f conf$$.exe 
|| 
 508 elif ln conf$$.
file conf$$ 
2>/dev
/null
; then 
 513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file 
 514 rmdir conf$$.dir 
2>/dev
/null
 
 516 if mkdir -p . 
2>/dev
/null
; then 
 519   test -d .
/-p && rmdir .
/-p 
 523 if test -x / >/dev
/null 
2>&1; then 
 526   if ls -dL / >/dev
/null 
2>&1; then 
 533       if test -d "$1"; then 
 539         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
 540         ???[sx]*):;;*)false;;esac;fi 
 544 as_executable_p
=$as_test_x 
 546 # Sed expression to map a string onto a valid CPP name. 
 547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
 549 # Sed expression to map a string onto a valid variable name. 
 550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
 555 # Check that we are running under the correct shell. 
 556 SHELL
=${CONFIG_SHELL-/bin/sh} 
 560   # Remove one level of quotation (which was required for Make). 
 561   ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 
 566 if test "X$1" = X
--no-reexec; then 
 567   # Discard the --no-reexec flag, and continue. 
 569 elif test "X$1" = X
--fallback-echo; then 
 570   # Avoid inline document here, it may be left over 
 572 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 
 573   # Yippee, $ECHO works! 
 576   # Restart under the correct shell. 
 577   exec $SHELL "$0" --no-reexec ${1+"$@"} 
 580 if test "X$1" = X
--fallback-echo; then 
 581   # used as fallback echo 
 589 # The HP-UX ksh and POSIX shell print the target directory to stdout 
 591 (unset CDPATH
) >/dev
/null 
2>&1 && unset CDPATH
 
 593 if test -z "$lt_ECHO"; then 
 594   if test "X${echo_test_string+set}" != Xset
; then 
 595     # find a string as large as possible, as long as the shell can cope with it 
 596     for cmd 
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 
 597       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
 598       if { echo_test_string
=`eval $cmd`; } 2>/dev
/null 
&& 
 599          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
 
 606   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 
 607      echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 
 608      test "X$echo_testing_string" = "X$echo_test_string"; then 
 611     # The Solaris, AIX, and Digital Unix default echo programs unquote 
 612     # backslashes.  This makes it impossible to quote backslashes using 
 613     #   echo "$something" | sed 's/\\/\\\\/g' 
 615     # So, first we look for a working echo in the user's PATH. 
 617     lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR 
 618     for dir 
in $PATH /usr
/ucb
; do 
 620       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 
 621          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 
 622          echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` && 
 623          test "X$echo_testing_string" = "X$echo_test_string"; then 
 630     if test "X$ECHO" = Xecho
; then 
 631       # We didn't find a better echo, so look for alternatives. 
 632       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 
 633          echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` && 
 634          test "X$echo_testing_string" = "X$echo_test_string"; then 
 635         # This shell has a builtin print -r that does the trick. 
 637       elif { test -f /bin
/ksh 
|| test -f /bin
/ksh
$ac_exeext; } && 
 638            test "X$CONFIG_SHELL" != X
/bin
/ksh
; then 
 639         # If we have ksh, try running configure again with it. 
 640         ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh} 
 641         export ORIGINAL_CONFIG_SHELL
 
 642         CONFIG_SHELL
=/bin
/ksh
 
 644         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 
 648         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 
 649            echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 
 650            test "X$echo_testing_string" = "X$echo_test_string"; then 
 653         elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 
 654              test "X$echo_testing_string" = 'X\t' && 
 655              echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
 656              test "X$echo_testing_string" = "X$echo_test_string"; then 
 657           CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL 
 659           SHELL
="$CONFIG_SHELL" 
 661           ECHO
="$CONFIG_SHELL $0 --fallback-echo" 
 662         elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 
 663              test "X$echo_testing_string" = 'X\t' && 
 664              echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
 665              test "X$echo_testing_string" = "X$echo_test_string"; then 
 666           ECHO
="$CONFIG_SHELL $0 --fallback-echo" 
 668           # maybe with a smaller string... 
 671           for cmd 
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 
 672             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
 
 679           if test "$prev" != 'sed 50q "$0"'; then 
 680             echo_test_string
=`eval $prev` 
 681             export echo_test_string
 
 682             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 
 684             # Oops.  We lost completely, so just stick with echo. 
 693 # Copy echo and quote the copy suitably for passing to libtool from 
 694 # the Makefile, instead of quoting the original, which is used later. 
 696 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 
 697    lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo" 
 703 exec 7<&0 </dev
/null 
6>&1 
 706 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 
 707 # so uname gets run too. 
 708 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q` 
 713 ac_default_prefix
=/usr
/local 
 715 ac_config_libobj_dir
=.
 
 721 SHELL
=${CONFIG_SHELL-/bin/sh} 
 723 # Identity of this package. 
 724 PACKAGE_NAME
='LibTIFF Software' 
 725 PACKAGE_TARNAME
='tiff' 
 726 PACKAGE_VERSION
='3.8.2' 
 727 PACKAGE_STRING
='LibTIFF Software 3.8.2' 
 728 PACKAGE_BUGREPORT
='tiff@lists.maptools.org' 
 730 # Factoring default headers for most tests. 
 731 ac_includes_default
="\ 
 733 #ifdef HAVE_SYS_TYPES_H 
 734 # include <sys/types.h> 
 736 #ifdef HAVE_SYS_STAT_H 
 737 # include <sys/stat.h> 
 743 # ifdef HAVE_STDLIB_H 
 748 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 
 753 #ifdef HAVE_STRINGS_H 
 754 # include <strings.h> 
 756 #ifdef HAVE_INTTYPES_H 
 757 # include <inttypes.h> 
 775 program_transform_name 
 824 INSTALL_STRIP_PROGRAM 
 833 MAINTAINER_MODE_FALSE 
 835 LIBTIFF_MAJOR_VERSION 
 836 LIBTIFF_MINOR_VERSION 
 837 LIBTIFF_MICRO_VERSION 
 838 LIBTIFF_ALPHA_VERSION 
 908       ac_precious_vars
='build_alias 
 924 # Initialize some variables set by options. 
 926 ac_init_version
=false
 
 927 # The variables have the same names as the options, with 
 928 # dashes changed to underlines. 
 936 program_transform_name
=s
,x
,x
, 
 944 # Installation directory options. 
 945 # These are left unexpanded so users can "make install exec_prefix=/foo" 
 946 # and all the variables that are supposed to be based on exec_prefix 
 947 # by default will actually change. 
 948 # Use braces instead of parens because sh, perl, etc. also accept them. 
 949 # (The list follows the same order as the GNU Coding Standards.) 
 950 bindir
='${exec_prefix}/bin' 
 951 sbindir
='${exec_prefix}/sbin' 
 952 libexecdir
='${exec_prefix}/libexec' 
 953 datarootdir
='${prefix}/share' 
 954 datadir
='${datarootdir}' 
 955 sysconfdir
='${prefix}/etc' 
 956 sharedstatedir
='${prefix}/com' 
 957 localstatedir
='${prefix}/var' 
 958 includedir
='${prefix}/include' 
 959 oldincludedir
='/usr/include' 
 960 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}' 
 961 infodir
='${datarootdir}/info' 
 966 libdir
='${exec_prefix}/lib' 
 967 localedir
='${datarootdir}/locale' 
 968 mandir
='${datarootdir}/man' 
 974   # If the previous option needs an argument, assign it. 
 975   if test -n "$ac_prev"; then 
 976     eval $ac_prev=\
$ac_option 
 982   *=*)  ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 
 986   # Accept the important Cygnus configure options, so we can diagnose typos. 
 988   case $ac_dashdash$ac_option in 
 992   -bindir | --bindir | --bindi | --bind | --bin | --bi) 
 994   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 
 997   -build | --build | --buil | --bui | --bu) 
 998     ac_prev
=build_alias 
;; 
 999   -build=* | --build=* | --buil=* | --bui=* | --bu=*) 
1000     build_alias
=$ac_optarg ;; 
1002   -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1003   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 
1004     ac_prev
=cache_file 
;; 
1005   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1006   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 
1007     cache_file
=$ac_optarg ;; 
1009   --config-cache | -C) 
1010     cache_file
=config.cache 
;; 
1012   -datadir | --datadir | --datadi | --datad) 
1014   -datadir=* | --datadir=* | --datadi=* | --datad=*) 
1015     datadir
=$ac_optarg ;; 
1017   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1018   | --dataroo | --dataro | --datar) 
1019     ac_prev
=datarootdir 
;; 
1020   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1021   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 
1022     datarootdir
=$ac_optarg ;; 
1024   -disable-* | --disable-*) 
1025     ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
1026     # Reject names that are not valid shell variable names. 
1027     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null 
&& 
1028       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
1029    { (exit 1); exit 1; }; } 
1030     ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'` 
1031     eval enable_
$ac_feature=no 
;; 
1033   -docdir | --docdir | --docdi | --doc | --do) 
1035   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 
1036     docdir
=$ac_optarg ;; 
1038   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 
1040   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 
1041     dvidir
=$ac_optarg ;; 
1043   -enable-* | --enable-*) 
1044     ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
1045     # Reject names that are not valid shell variable names. 
1046     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null 
&& 
1047       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
1048    { (exit 1); exit 1; }; } 
1049     ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'` 
1050     eval enable_
$ac_feature=\
$ac_optarg ;; 
1052   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1053   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1054   | --exec | --exe | --ex) 
1055     ac_prev
=exec_prefix 
;; 
1056   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1057   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1058   | --exec=* | --exe=* | --ex=*) 
1059     exec_prefix
=$ac_optarg ;; 
1061   -gas | --gas | --ga | --g) 
1062     # Obsolete; use --with-gas. 
1065   -help | --help | --hel | --he | -h) 
1066     ac_init_help
=long 
;; 
1067   -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*) 
1068     ac_init_help
=recursive 
;; 
1069   -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*) 
1070     ac_init_help
=short 
;; 
1072   -host | --host | --hos | --ho) 
1073     ac_prev
=host_alias 
;; 
1074   -host=* | --host=* | --hos=* | --ho=*) 
1075     host_alias
=$ac_optarg ;; 
1077   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 
1079   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1081     htmldir
=$ac_optarg ;; 
1083   -includedir | --includedir | --includedi | --included | --include \
 
1084   | --includ | --inclu | --incl | --inc) 
1085     ac_prev
=includedir 
;; 
1086   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1087   | --includ=* | --inclu=* | --incl=* | --inc=*) 
1088     includedir
=$ac_optarg ;; 
1090   -infodir | --infodir | --infodi | --infod | --info | --inf) 
1092   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 
1093     infodir
=$ac_optarg ;; 
1095   -libdir | --libdir | --libdi | --libd) 
1097   -libdir=* | --libdir=* | --libdi=* | --libd=*) 
1098     libdir
=$ac_optarg ;; 
1100   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1101   | --libexe | --libex | --libe) 
1102     ac_prev
=libexecdir 
;; 
1103   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1104   | --libexe=* | --libex=* | --libe=*) 
1105     libexecdir
=$ac_optarg ;; 
1107   -localedir | --localedir | --localedi | --localed | --locale) 
1108     ac_prev
=localedir 
;; 
1109   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 
1110     localedir
=$ac_optarg ;; 
1112   -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1113   | --localstate | --localstat | --localsta | --localst | --locals) 
1114     ac_prev
=localstatedir 
;; 
1115   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1116   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 
1117     localstatedir
=$ac_optarg ;; 
1119   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 
1121   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 
1122     mandir
=$ac_optarg ;; 
1124   -nfp | --nfp | --nf) 
1125     # Obsolete; use --without-fp. 
1128   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1129   | --no-cr | --no-c | -n) 
1132   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1133   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 
1136   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1137   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1138   | --oldin | --oldi | --old | --ol | --o) 
1139     ac_prev
=oldincludedir 
;; 
1140   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1141   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1142   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 
1143     oldincludedir
=$ac_optarg ;; 
1145   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 
1147   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 
1148     prefix
=$ac_optarg ;; 
1150   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1151   | --program-pre | --program-pr | --program-p) 
1152     ac_prev
=program_prefix 
;; 
1153   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1154   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 
1155     program_prefix
=$ac_optarg ;; 
1157   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1158   | --program-suf | --program-su | --program-s) 
1159     ac_prev
=program_suffix 
;; 
1160   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1161   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 
1162     program_suffix
=$ac_optarg ;; 
1164   -program-transform-name | --program-transform-name \
 
1165   | --program-transform-nam | --program-transform-na \
 
1166   | --program-transform-n | --program-transform- \
 
1167   | --program-transform | --program-transfor \
 
1168   | --program-transfo | --program-transf \
 
1169   | --program-trans | --program-tran \
 
1170   | --progr-tra | --program-tr | --program-t) 
1171     ac_prev
=program_transform_name 
;; 
1172   -program-transform-name=* | --program-transform-name=* \
 
1173   | --program-transform-nam=* | --program-transform-na=* \
 
1174   | --program-transform-n=* | --program-transform-=* \
 
1175   | --program-transform=* | --program-transfor=* \
 
1176   | --program-transfo=* | --program-transf=* \
 
1177   | --program-trans=* | --program-tran=* \
 
1178   | --progr-tra=* | --program-tr=* | --program-t=*) 
1179     program_transform_name
=$ac_optarg ;; 
1181   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 
1183   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 
1184     pdfdir
=$ac_optarg ;; 
1186   -psdir | --psdir | --psdi | --psd | --ps) 
1188   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 
1191   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1192   | -silent | --silent | --silen | --sile | --sil) 
1195   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 
1197   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1199     sbindir
=$ac_optarg ;; 
1201   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1202   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1203   | --sharedst | --shareds | --shared | --share | --shar \
 
1205     ac_prev
=sharedstatedir 
;; 
1206   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1207   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1208   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1210     sharedstatedir
=$ac_optarg ;; 
1212   -site | --site | --sit) 
1214   -site=* | --site=* | --sit=*) 
1217   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 
1219   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 
1220     srcdir
=$ac_optarg ;; 
1222   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1223   | --syscon | --sysco | --sysc | --sys | --sy) 
1224     ac_prev
=sysconfdir 
;; 
1225   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1226   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 
1227     sysconfdir
=$ac_optarg ;; 
1229   -target | --target | --targe | --targ | --tar | --ta | --t) 
1230     ac_prev
=target_alias 
;; 
1231   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 
1232     target_alias
=$ac_optarg ;; 
1234   -v | -verbose | --verbose | --verbos | --verbo | --verb) 
1237   -version | --version | --versio | --versi | --vers | -V) 
1238     ac_init_version
=: ;; 
1241     ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
1242     # Reject names that are not valid shell variable names. 
1243     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null 
&& 
1244       { echo "$as_me: error: invalid package name: $ac_package" >&2 
1245    { (exit 1); exit 1; }; } 
1246     ac_package
=`echo $ac_package | sed 's/[-.]/_/g'` 
1247     eval with_
$ac_package=\
$ac_optarg ;; 
1249   -without-* | --without-*) 
1250     ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
1251     # Reject names that are not valid shell variable names. 
1252     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null 
&& 
1253       { echo "$as_me: error: invalid package name: $ac_package" >&2 
1254    { (exit 1); exit 1; }; } 
1255     ac_package
=`echo $ac_package | sed 's/[-.]/_/g'` 
1256     eval with_
$ac_package=no 
;; 
1259     # Obsolete; use --with-x. 
1262   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1263   | --x-incl | --x-inc | --x-in | --x-i) 
1264     ac_prev
=x_includes 
;; 
1265   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1266   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 
1267     x_includes
=$ac_optarg ;; 
1269   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1270   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 
1271     ac_prev
=x_libraries 
;; 
1272   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1273   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 
1274     x_libraries
=$ac_optarg ;; 
1276   -*) { echo "$as_me: error: unrecognized option: $ac_option 
1277 Try \`$0 --help' for more information." >&2 
1278    { (exit 1); exit 1; }; } 
1282     ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='` 
1283     # Reject names that are not valid shell variable names. 
1284     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null 
&& 
1285       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
1286    { (exit 1); exit 1; }; } 
1287     eval $ac_envvar=\
$ac_optarg 
1288     export $ac_envvar ;; 
1291     # FIXME: should be removed in autoconf 3.0. 
1292     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
1293     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null 
&& 
1294       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
1295     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
1301 if test -n "$ac_prev"; then 
1302   ac_option
=--`echo $ac_prev | sed 's/_/-/g'` 
1303   { echo "$as_me: error: missing argument to $ac_option" >&2 
1304    { (exit 1); exit 1; }; } 
1307 # Be sure to have absolute directory names. 
1308 for ac_var 
in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1309                 datadir sysconfdir sharedstatedir localstatedir includedir \
 
1310                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1311                 libdir localedir mandir
 
1313   eval ac_val
=\$
$ac_var 
1315     [\\/$
]* | ?
:[\\/]* )  continue;; 
1316     NONE 
| '' ) case $ac_var in *prefix 
) continue;; esac;; 
1318   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
1319    { (exit 1); exit 1; }; } 
1322 # There might be people who depend on the old broken behavior: `$host' 
1323 # used to hold the argument of --host etc. 
1324 # FIXME: To remove some day. 
1327 target
=$target_alias 
1329 # FIXME: To remove some day. 
1330 if test "x$host_alias" != x
; then 
1331   if test "x$build_alias" = x
; then 
1332     cross_compiling
=maybe
 
1333     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
1334     If a cross compiler is detected then cross compile mode will be used." >&2 
1335   elif test "x$build_alias" != "x$host_alias"; then 
1341 test -n "$host_alias" && ac_tool_prefix
=$host_alias- 
1343 test "$silent" = yes && exec 6>/dev
/null
 
1346 ac_pwd
=`pwd` && test -n "$ac_pwd" && 
1347 ac_ls_di
=`ls -di .` && 
1348 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` || 
1349   { echo "$as_me: error: Working directory cannot be determined" >&2 
1350    { (exit 1); exit 1; }; } 
1351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
1352   { echo "$as_me: error: pwd does not report name of working directory" >&2 
1353    { (exit 1); exit 1; }; } 
1356 # Find the source files, if location was not specified. 
1357 if test -z "$srcdir"; then 
1358   ac_srcdir_defaulted
=yes 
1359   # Try the directory containing this script, then the parent directory. 
1360   ac_confdir
=`$as_dirname -- "$0" || 
1361 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
1362          X"$0" : 'X\(//\)[^/]' \| \ 
1363          X"$0" : 'X\(//\)$' \| \ 
1364          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
1366     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
1384   if test ! -r "$srcdir/$ac_unique_file"; then 
1388   ac_srcdir_defaulted
=no
 
1390 if test ! -r "$srcdir/$ac_unique_file"; then 
1391   test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .." 
1392   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
1393    { (exit 1); exit 1; }; } 
1395 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work" 
1397         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 
1398    { (exit 1); exit 1; }; } 
1400 # When building in place, set srcdir=. 
1401 if test "$ac_abs_confdir" = "$ac_pwd"; then 
1404 # Remove unnecessary trailing slashes from srcdir. 
1405 # Double slashes in file names in object file debugging info 
1406 # mess up M-x gdb in Emacs. 
1408 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 
1410 for ac_var 
in $ac_precious_vars; do 
1411   eval ac_env_
${ac_var}_set
=\
${${ac_var}+set} 
1412   eval ac_env_
${ac_var}_value
=\$
${ac_var} 
1413   eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set} 
1414   eval ac_cv_env_
${ac_var}_value
=\$
${ac_var} 
1418 # Report the --help message. 
1420 if test "$ac_init_help" = "long"; then 
1421   # Omit some internal or obsolete options to make the list less imposing. 
1422   # This message is too long to be a string in the A/UX 3.1 sh. 
1424 \`configure' configures LibTIFF Software 3.8.2 to adapt to many kinds of systems. 
1426 Usage: $0 [OPTION]... [VAR=VALUE]... 
1428 To assign environment variables (e.g., CC, CFLAGS...), specify them as 
1429 VAR=VALUE.  See below for descriptions of some of the useful variables. 
1431 Defaults for the options are specified in brackets. 
1434   -h, --help              display this help and exit 
1435       --help=short        display options specific to this package 
1436       --help=recursive    display the short help of all the included packages 
1437   -V, --version           display version information and exit 
1438   -q, --quiet, --silent   do not print \`checking...' messages 
1439       --cache-file=FILE   cache test results in FILE [disabled] 
1440   -C, --config-cache      alias for \`--cache-file=config.cache' 
1441   -n, --no-create         do not create output files 
1442       --srcdir=DIR        find the sources in DIR [configure dir or \`..'] 
1444 Installation directories: 
1445   --prefix=PREFIX         install architecture-independent files in PREFIX 
1446                           [$ac_default_prefix] 
1447   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
1450 By default, \`make install' will install all the files in 
1451 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify 
1452 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 
1453 for instance \`--prefix=\$HOME'. 
1455 For better control, use the options below. 
1457 Fine tuning of the installation directories: 
1458   --bindir=DIR           user executables [EPREFIX/bin] 
1459   --sbindir=DIR          system admin executables [EPREFIX/sbin] 
1460   --libexecdir=DIR       program executables [EPREFIX/libexec] 
1461   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
1462   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
1463   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
1464   --libdir=DIR           object code libraries [EPREFIX/lib] 
1465   --includedir=DIR       C header files [PREFIX/include] 
1466   --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
1467   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share] 
1468   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR] 
1469   --infodir=DIR          info documentation [DATAROOTDIR/info] 
1470   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale] 
1471   --mandir=DIR           man documentation [DATAROOTDIR/man] 
1472   --docdir=DIR           documentation root [DATAROOTDIR/doc/tiff] 
1473   --htmldir=DIR          html documentation [DOCDIR] 
1474   --dvidir=DIR           dvi documentation [DOCDIR] 
1475   --pdfdir=DIR           pdf documentation [DOCDIR] 
1476   --psdir=DIR            ps documentation [DOCDIR] 
1482   --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1483   --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1484   --program-transform-name=PROGRAM   run 
sed PROGRAM on installed program names
 
1487   --x-includes=DIR    X include files are 
in DIR
 
1488   --x-libraries=DIR   X library files are 
in DIR
 
1491   --build=BUILD     configure 
for building on BUILD 
[guessed
] 
1492   --host=HOST       cross
-compile to build programs to run on HOST 
[BUILD
] 
1496 if test -n "$ac_init_help"; then 
1497   case $ac_init_help in 
1498      short 
| recursive 
) echo "Configuration of LibTIFF Software 3.8.2:";; 
1503   --disable-FEATURE       do not include FEATURE 
(same as 
--enable-FEATURE=no
) 
1504   --enable-FEATURE[=ARG
]  include FEATURE 
[ARG
=yes] 
1505   --enable-maintainer-mode  enable make rules and dependencies not useful
 
1506                           (and sometimes confusing
) to the casual installer
 
1507   --disable-dependency-tracking  speeds up one
-time build
 
1508   --enable-dependency-tracking   do not reject slow dependency extractors
 
1509   --enable-shared[=PKGS
]  build shared libraries 
[default
=yes] 
1510   --enable-static[=PKGS
]  build static libraries 
[default
=yes] 
1511   --enable-fast-install[=PKGS
] 
1512                           optimize 
for fast installation 
[default
=yes] 
1513   --disable-libtool-lock  avoid locking 
(might 
break parallel builds
) 
1514   --enable-rpath          Enable runtime linker paths 
(-R libtool option
) 
1515   --disable-largefile     omit support 
for large files
 
1516   --disable-ccitt         disable support 
for CCITT Group 
3 & 4 algorithms
 
1517   --disable-packbits      disable support 
for Macintosh PackBits algorithm
 
1518   --disable-lzw           disable support 
for LZW algorithm
 
1519   --disable-thunder       disable support 
for ThunderScan 
4-bit RLE algorithm
 
1520   --disable-next          disable support 
for NeXT 
2-bit RLE algorithm
 
1521   --disable-logluv        disable support 
for LogLuv high dynamic range
 
1523   --disable-mdi           disable support 
for Microsoft Document Imaging
 
1524   --disable-zlib          disable Zlib usage 
(required 
for Deflate
 
1525                           compression
, enabled by default
) 
1526   --disable-pixarlog      disable support 
for Pixar log
-format algorithm
 
1528   --disable-jpeg          disable IJG JPEG library usage 
(required 
for JPEG
 
1529                           compression
, enabled by default
) 
1530   --enable-old-jpeg       enable support 
for Old JPEG compresson 
(read 
1531                           contrib
/ojpeg
/README first
! Compilation fails with
 
1532                           unpatched IJG JPEG library
) 
1533   --enable-cxx            enable C
++ stream API building 
(requires C
++ 
1535   --disable-strip-chopping 
1536                           disable support 
for strip chopping 
(whether or not
 
1537                           to convert single
-strip uncompressed images to
 
1538                           mutiple strips of specified size to reduce memory
 
1540   --disable-extrasample-as-alpha 
1541                           the RGBA interface will treat a fourth sample with
 
1542                           no EXTRASAMPLE_ value as being ASSOCALPHA. Many
 
1543                           packages produce RGBA files but don
't mark the alpha 
1545   --disable-check-ycbcr-subsampling 
1546                           disable picking up YCbCr subsampling info from the 
1547                           JPEG data stream to support files lacking the tag 
1550   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
1551   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) 
1552   --with-pic              try to use only PIC/non-PIC objects [default=use 
1554   --with-gnu-ld           assume the C compiler uses GNU ld [default=no] 
1555   --with-docdir=DIR       directory where documentation should be installed 
1556   --with-zlib-include-dir=DIR 
1557                           location of Zlib headers 
1558   --with-zlib-lib-dir=DIR location of Zlib library binary 
1559   --with-jpeg-include-dir=DIR 
1560                           location of IJG JPEG library headers 
1561   --with-jpeg-lib-dir=DIR location of IJG JPEG library binary 
1562   --with-x                use the X Window System 
1563   --with-apple-opengl-framework 
1564                           use Apple OpenGL framework (Mac OS X only) 
1565   --with-default-strip-size=SIZE 
1566                           default size of the strip in bytes (when strip 
1567                           chopping enabled) [default=8192] 
1569 Some influential environment variables: 
1570   CC          C compiler command 
1571   CFLAGS      C compiler flags 
1572   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
1573               nonstandard directory <lib dir> 
1574   LIBS        libraries to pass to the linker, e.g. -l<library> 
1575   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
1576               you have headers in a nonstandard directory <include dir> 
1578   XMKMF       Path to xmkmf, Makefile generator for X Window System 
1579   CXX         C++ compiler command 
1580   CXXFLAGS    C++ compiler flags 
1581   CXXCPP      C++ preprocessor 
1583 Use these variables to override the choices made by `configure' or to 
help 
1584 it to 
find libraries and programs with nonstandard names
/locations.
 
1586 Report bugs to 
<tiff@lists.maptools.org
>.
 
1591 if test "$ac_init_help" = "recursive"; then 
1592   # If there are subdirs, report their specific --help. 
1593   for ac_dir 
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue 
1594     test -d "$ac_dir" || continue 
1598 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;; 
1600   ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
1601   # A ".." for each directory in $ac_dir_suffix. 
1602   ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
1603   case $ac_top_builddir_sub in 
1604   "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;; 
1605   *)  ac_top_build_prefix
=$ac_top_builddir_sub/ ;; 
1608 ac_abs_top_builddir
=$ac_pwd 
1609 ac_abs_builddir
=$ac_pwd$ac_dir_suffix 
1610 # for backward compatibility: 
1611 ac_top_builddir
=$ac_top_build_prefix 
1614   .
)  # We are building in place. 
1616     ac_top_srcdir
=$ac_top_builddir_sub 
1617     ac_abs_top_srcdir
=$ac_pwd ;; 
1618   [\\/]* | ?
:[\\/]* )  # Absolute name. 
1619     ac_srcdir
=$srcdir$ac_dir_suffix; 
1620     ac_top_srcdir
=$srcdir 
1621     ac_abs_top_srcdir
=$srcdir ;; 
1623     ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix 
1624     ac_top_srcdir
=$ac_top_build_prefix$srcdir 
1625     ac_abs_top_srcdir
=$ac_pwd/$srcdir ;; 
1627 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix 
1629     cd "$ac_dir" || { ac_status
=$?
; continue; } 
1630     # Check for guested configure. 
1631     if test -f "$ac_srcdir/configure.gnu"; then 
1633       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1634     elif test -f "$ac_srcdir/configure"; then 
1636       $SHELL "$ac_srcdir/configure" --help=recursive
 
1638       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
1640     cd "$ac_pwd" || { ac_status
=$?
; break; } 
1644 test -n "$ac_init_help" && exit $ac_status 
1645 if $ac_init_version; then 
1647 LibTIFF Software configure 
3.8.2 
1648 generated by GNU Autoconf 
2.61 
1650 Copyright 
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
1651 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
 
1652 This configure 
script is free software
; the Free Software Foundation
 
1653 gives unlimited permission to copy
, distribute and modify it.
 
1657 cat >config.log 
<<_ACEOF 
1658 This file contains any messages produced by compilers while 
1659 running configure, to aid debugging if configure makes a mistake. 
1661 It was created by LibTIFF Software $as_me 3.8.2, which was 
1662 generated by GNU Autoconf 2.61.  Invocation command line was 
1674 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 
1675 uname -m = `(uname -m) 2>/dev/null || echo unknown` 
1676 uname -r = `(uname -r) 2>/dev/null || echo unknown` 
1677 uname -s = `(uname -s) 2>/dev/null || echo unknown` 
1678 uname -v = `(uname -v) 2>/dev/null || echo unknown` 
1680 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 
1681 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` 
1683 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` 
1684 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` 
1685 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 
1686 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown` 
1687 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` 
1688 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` 
1689 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` 
1693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1697   test -z "$as_dir" && as_dir
=.
 
1698   echo "PATH: $as_dir" 
1714 # Keep a trace of the command line. 
1715 # Strip out --no-create and --no-recursion so they do not pile up. 
1716 # Strip out --silent because we don't want to record it for future runs. 
1717 # Also quote any args containing shell meta-characters. 
1718 # Make two passes to allow for proper duplicate-argument suppression. 
1722 ac_must_keep_next
=false
 
1728     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 
1729     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1730     | -silent | --silent | --silen | --sile | --sil) 
1733       ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
1736     1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;; 
1738       ac_configure_args1
="$ac_configure_args1 '$ac_arg'" 
1739       if test $ac_must_keep_next = true
; then 
1740         ac_must_keep_next
=false 
# Got value, back to normal. 
1743           *=* | --config-cache | -C | -disable-* | --disable-* \
 
1744           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1745           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1746           | -with-* | --with-* | -without-* | --without-* | --x) 
1747             case "$ac_configure_args0 " in 
1748               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 
1751           -* ) ac_must_keep_next
=true 
;; 
1754       ac_configure_args
="$ac_configure_args '$ac_arg'" 
1759 $as_unset ac_configure_args0 
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; } 
1760 $as_unset ac_configure_args1 
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; } 
1762 # When interrupted or exit'd, cleanup temporary files, and complete 
1763 # config.log.  We remove comments because anyway the quotes in there 
1764 # would cause problems or look ugly. 
1765 # WARNING: Use '\'' to represent an apostrophe within the trap. 
1766 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 
1767 trap 'exit_status=$? 
1768   # Save into config.log some information that might help in debugging. 
1773 ## ---------------- ## 
1774 ## Cache variables. ## 
1775 ## ---------------- ## 
1778     # The following way of writing the cache mishandles newlines in values, 
1780   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 
1781     eval ac_val=\$$ac_var 
1785       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
1786 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
1789       _ | IFS | as_nl) ;; #( 
1790       *) $as_unset $ac_var ;; 
1795     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 
1796     *${as_nl}ac_space=\ *) 
1798         "s/'\''/'\''\\\\'\'''\''/g; 
1799           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 
1802       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 
1810 ## ----------------- ## 
1811 ## Output variables. ## 
1812 ## ----------------- ## 
1815     for ac_var in $ac_subst_vars 
1817       eval ac_val=\$$ac_var 
1819       *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
1821       echo "$ac_var='\''$ac_val'\''" 
1825     if test -n "$ac_subst_files"; then 
1827 ## ------------------- ## 
1828 ## File substitutions. ## 
1829 ## ------------------- ## 
1832       for ac_var 
in $ac_subst_files 
1834         eval ac_val
=\$
$ac_var 
1836         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
1838         echo "$ac_var='\''$ac_val'\''" 
1843     if test -s confdefs.h; then 
1853     test "$ac_signal" != 0 && 
1854       echo "$as_me: caught signal $ac_signal" 
1855     echo "$as_me: exit $exit_status" 
1857   rm -f core *.core core.conftest.* && 
1858     rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 
1861 for ac_signal 
in 1 2 13 15; do 
1862   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
1866 # confdefs.h avoids OS command line length limits that DEFS can exceed. 
1867 rm -f -r conftest
* confdefs.h
 
1869 # Predefined preprocessor variables. 
1871 cat >>confdefs.h 
<<_ACEOF 
1872 #define PACKAGE_NAME "$PACKAGE_NAME" 
1876 cat >>confdefs.h 
<<_ACEOF 
1877 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
1881 cat >>confdefs.h 
<<_ACEOF 
1882 #define PACKAGE_VERSION "$PACKAGE_VERSION" 
1886 cat >>confdefs.h 
<<_ACEOF 
1887 #define PACKAGE_STRING "$PACKAGE_STRING" 
1891 cat >>confdefs.h 
<<_ACEOF 
1892 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
1896 # Let the site file select an alternate cache file if it wants to. 
1897 # Prefer explicitly selected file to automatically selected ones. 
1898 if test -n "$CONFIG_SITE"; then 
1899   set x 
"$CONFIG_SITE" 
1900 elif test "x$prefix" != xNONE
; then 
1901   set x 
"$prefix/share/config.site" "$prefix/etc/config.site" 
1903   set x 
"$ac_default_prefix/share/config.site" \
 
1904         "$ac_default_prefix/etc/config.site" 
1909   if test -r "$ac_site_file"; then 
1910     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
1911 echo "$as_me: loading site script $ac_site_file" >&6;} 
1912     sed 's/^/| /' "$ac_site_file" >&5 
1917 if test -r "$cache_file"; then 
1918   # Some versions of bash will fail to source /dev/null (special 
1919   # files actually), so we avoid doing that. 
1920   if test -f "$cache_file"; then 
1921     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
1922 echo "$as_me: loading cache $cache_file" >&6;} 
1924       [\\/]* | ?
:[\\/]* ) . 
"$cache_file";; 
1925       *)                      . 
"./$cache_file";; 
1929   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
1930 echo "$as_me: creating cache $cache_file" >&6;} 
1934 # Check that the precious variables saved in the cache have kept the same 
1936 ac_cache_corrupted
=false
 
1937 for ac_var 
in $ac_precious_vars; do 
1938   eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
 
1939   eval ac_new_set
=\
$ac_env_${ac_var}_set
 
1940   eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
 
1941   eval ac_new_val
=\
$ac_env_${ac_var}_value
 
1942   case $ac_old_set,$ac_new_set in 
1944       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
1945 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
1946       ac_cache_corrupted
=: ;; 
1948       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
1949 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
1950       ac_cache_corrupted
=: ;; 
1953       if test "x$ac_old_val" != "x$ac_new_val"; then 
1954         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
1955 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
1956         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
1957 echo "$as_me:   former value:  $ac_old_val" >&2;} 
1958         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
1959 echo "$as_me:   current value: $ac_new_val" >&2;} 
1960         ac_cache_corrupted
=: 
1963   # Pass precious variables to config.status. 
1964   if test "$ac_new_set" = set; then 
1966     *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
1967     *) ac_arg
=$ac_var=$ac_new_val ;; 
1969     case " $ac_configure_args " in 
1970       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
1971       *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;; 
1975 if $ac_cache_corrupted; then 
1976   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
1977 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
1978   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
1979 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
1980    { (exit 1); exit 1; }; } 
2008 ac_cpp
='$CPP $CPPFLAGS' 
2009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
2010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
2011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
2015 for ac_dir 
in config 
"$srcdir"/config
; do 
2016   if test -f "$ac_dir/install-sh"; then 
2018     ac_install_sh
="$ac_aux_dir/install-sh -c" 
2020   elif test -f "$ac_dir/install.sh"; then 
2022     ac_install_sh
="$ac_aux_dir/install.sh -c" 
2024   elif test -f "$ac_dir/shtool"; then 
2026     ac_install_sh
="$ac_aux_dir/shtool install -c" 
2030 if test -z "$ac_aux_dir"; then 
2031   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 
2032 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} 
2033    { (exit 1); exit 1; }; } 
2036 # These three variables are undocumented and unsupported, 
2037 # and are intended to be withdrawn in a future Autoconf release. 
2038 # They can cause serious problems if a builder's source tree is in a directory 
2039 # whose full name contains unusual characters. 
2040 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var. 
2041 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var. 
2042 ac_configure
="$SHELL $ac_aux_dir/configure"  # Please don't use this var. 
2047 ac_cpp
='$CPP $CPPFLAGS' 
2048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
2049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
2050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
2053 # Make sure we can run config.sub. 
2054 $SHELL "$ac_aux_dir/config.sub" sun4 
>/dev
/null 
2>&1 || 
2055   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
2056 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
2057    { (exit 1); exit 1; }; } 
2059 { echo "$as_me:$LINENO: checking build system type" >&5 
2060 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
2061 if test "${ac_cv_build+set}" = set; then 
2062   echo $ECHO_N "(cached) $ECHO_C" >&6 
2064   ac_build_alias
=$build_alias 
2065 test "x$ac_build_alias" = x 
&& 
2066   ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"` 
2067 test "x$ac_build_alias" = x 
&& 
2068   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
2069 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
2070    { (exit 1); exit 1; }; } 
2071 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
2072   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
2073 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
2074    { (exit 1); exit 1; }; } 
2077 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
2078 echo "${ECHO_T}$ac_cv_build" >&6; } 
2079 case $ac_cv_build in 
2081 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
2082 echo "$as_me: error: invalid value of canonical build" >&2;} 
2083    { (exit 1); exit 1; }; };; 
2086 ac_save_IFS
=$IFS; IFS
='-' 
2092 # Remember, the first character of IFS is used to create $*, 
2093 # except with old shells: 
2096 case $build_os in *\ 
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac 
2099 { echo "$as_me:$LINENO: checking host system type" >&5 
2100 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
2101 if test "${ac_cv_host+set}" = set; then 
2102   echo $ECHO_N "(cached) $ECHO_C" >&6 
2104   if test "x$host_alias" = x
; then 
2105   ac_cv_host
=$ac_cv_build 
2107   ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
2108     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
2109 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
2110    { (exit 1); exit 1; }; } 
2114 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
2115 echo "${ECHO_T}$ac_cv_host" >&6; } 
2118 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
2119 echo "$as_me: error: invalid value of canonical host" >&2;} 
2120    { (exit 1); exit 1; }; };; 
2123 ac_save_IFS
=$IFS; IFS
='-' 
2129 # Remember, the first character of IFS is used to create $*, 
2130 # except with old shells: 
2133 case $host_os in *\ 
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac 
2137 am__api_version
="1.9" 
2138 # Find a good install program.  We prefer a C program (faster), 
2139 # so one script is as good as another.  But avoid the broken or 
2140 # incompatible versions: 
2141 # SysV /etc/install, /usr/sbin/install 
2142 # SunOS /usr/etc/install 
2143 # IRIX /sbin/install 
2145 # AmigaOS /C/install, which installs bootblocks on floppy discs 
2146 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 
2147 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 
2148 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 
2149 # OS/2's system install, which has a completely different semantic 
2150 # ./install, which can be erroneously created by make from ./install.sh. 
2151 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 
2152 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 
2153 if test -z "$INSTALL"; then 
2154 if test "${ac_cv_path_install+set}" = set; then 
2155   echo $ECHO_N "(cached) $ECHO_C" >&6 
2157   as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2161   test -z "$as_dir" && as_dir
=.
 
2162   # Account for people who put trailing slashes in PATH elements. 
2164   .
/ | .
// | /cC
/* | \
 
2165   /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
 
2166   ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
 
2169     # OSF1 and SCO ODT 3.0 have their own names for install. 
2170     # Don't use installbsd from OSF since it installs stuff as root 
2172     for ac_prog 
in ginstall scoinst 
install; do 
2173       for ac_exec_ext 
in '' $ac_executable_extensions; do 
2174         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 
2175           if test $ac_prog = install && 
2176             grep dspmsg 
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null 
2>&1; then 
2177             # AIX install.  It has an incompatible calling convention. 
2179           elif test $ac_prog = install && 
2180             grep pwplus 
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null 
2>&1; then 
2181             # program-specific install script used by HP pwplus--don't use. 
2184             ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c" 
2197   if test "${ac_cv_path_install+set}" = set; then 
2198     INSTALL
=$ac_cv_path_install 
2200     # As a last resort, use the slow shell script.  Don't cache a 
2201     # value for INSTALL within a source directory, because that will 
2202     # break other packages using the cache if that directory is 
2203     # removed, or if the value is a relative name. 
2204     INSTALL
=$ac_install_sh 
2207 { echo "$as_me:$LINENO: result: $INSTALL" >&5 
2208 echo "${ECHO_T}$INSTALL" >&6; } 
2210 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 
2211 # It thinks the first close brace ends the variable substitution. 
2212 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}' 
2214 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}' 
2216 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644' 
2218 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 
2219 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 
2222 echo timestamp 
> conftest.
file 
2223 # Do `set' in a subshell so we don't clobber the current shell's 
2224 # arguments.  Must try -L first in case configure is actually a 
2225 # symlink; some systems play weird games with the mod time of symlinks 
2226 # (eg FreeBSD returns the mod time of the symlink's containing 
2229    set X 
`ls -Lt $srcdir/configure conftest.file 2> /dev/null` 
2230    if test "$*" = "X"; then 
2232       set X 
`ls -t $srcdir/configure conftest.file` 
2235    if test "$*" != "X $srcdir/configure conftest.file" \
 
2236       && test "$*" != "X conftest.file $srcdir/configure"; then 
2238       # If neither matched, then we have a broken ls.  This can happen 
2239       # if, for instance, CONFIG_SHELL is bash and it inherits a 
2240       # broken ls alias from the environment.  This has actually 
2241       # happened.  Such a system could not be considered "sane". 
2242       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken 
2243 alias in your environment" >&5 
2244 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken 
2245 alias in your environment" >&2;} 
2246    { (exit 1); exit 1; }; } 
2249    test "$2" = conftest.
file 
2255    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 
2256 Check your system clock" >&5 
2257 echo "$as_me: error: newly created file is older than distributed files! 
2258 Check your system clock" >&2;} 
2259    { (exit 1); exit 1; }; } 
2261 { echo "$as_me:$LINENO: result: yes" >&5 
2262 echo "${ECHO_T}yes" >&6; } 
2263 test "$program_prefix" != NONE 
&& 
2264   program_transform_name
="s&^&$program_prefix&;$program_transform_name" 
2265 # Use a double $ so make ignores it. 
2266 test "$program_suffix" != NONE 
&& 
2267   program_transform_name
="s&\$&$program_suffix&;$program_transform_name" 
2268 # Double any \ or $.  echo might interpret backslashes. 
2269 # By default was `s,x,x', remove it if useless. 
2270 cat <<\_ACEOF 
>conftest.
sed 
2271 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
// 
2273 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed` 
2276 # expand $ac_aux_dir to an absolute path 
2277 am_aux_dir
=`cd $ac_aux_dir && pwd` 
2279 test x
"${MISSING+set}" = xset 
|| MISSING
="\${SHELL} $am_aux_dir/missing" 
2280 # Use eval to expand $SHELL 
2281 if eval "$MISSING --run true"; then 
2282   am_missing_run
="$MISSING --run " 
2285   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 
2286 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 
2289 if mkdir -p --version . 
>/dev
/null 
2>&1 && test ! -d .
/--version; then 
2290   # We used to keeping the `.' as first argument, in order to 
2291   # allow $(mkdir_p) to be used without argument.  As in 
2292   #   $(mkdir_p) $(somedir) 
2293   # where $(somedir) is conditionally defined.  However this is wrong 
2295   #  1. if the package is installed by a user who cannot write `.' 
2296   #     make install will fail, 
2297   #  2. the above comment should most certainly read 
2298   #     $(mkdir_p) $(DESTDIR)$(somedir) 
2299   #     so it does not work when $(somedir) is undefined and 
2300   #     $(DESTDIR) is not. 
2301   #  To support the latter case, we have to write 
2302   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 
2303   #  so the `.' trick is pointless. 
2304   mkdir_p
='mkdir -p --' 
2306   # On NextStep and OpenStep, the `mkdir' command does not 
2307   # recognize any option.  It will interpret all options as 
2308   # directories to create, and then abort because `.' already 
2310   for d 
in .
/-p .
/--version; 
2312     test -d $d && rmdir $d 
2314   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 
2315   if test -f "$ac_aux_dir/mkinstalldirs"; then 
2316     mkdir_p
='$(mkinstalldirs)' 
2318     mkdir_p
='$(install_sh) -d' 
2322 for ac_prog 
in gawk mawk nawk 
awk 
2324   # Extract the first word of "$ac_prog", so it can be a program name with args. 
2325 set dummy 
$ac_prog; ac_word
=$2 
2326 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
2327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
2328 if test "${ac_cv_prog_AWK+set}" = set; then 
2329   echo $ECHO_N "(cached) $ECHO_C" >&6 
2331   if test -n "$AWK"; then 
2332   ac_cv_prog_AWK
="$AWK" # Let the user override the test. 
2334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2338   test -z "$as_dir" && as_dir
=.
 
2339   for ac_exec_ext 
in '' $ac_executable_extensions; do 
2340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2341     ac_cv_prog_AWK
="$ac_prog" 
2342     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
2352 if test -n "$AWK"; then 
2353   { echo "$as_me:$LINENO: result: $AWK" >&5 
2354 echo "${ECHO_T}$AWK" >&6; } 
2356   { echo "$as_me:$LINENO: result: no" >&5 
2357 echo "${ECHO_T}no" >&6; } 
2361   test -n "$AWK" && break 
2364 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 
2365 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 
2366 set x 
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 
2367 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then 
2368   echo $ECHO_N "(cached) $ECHO_C" >&6 
2370   cat >conftest.
make <<\_ACEOF
 
2373         @
echo '@@@%%%=$(MAKE)=@@@%%%' 
2375 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 
2376 case `${MAKE-make} -f conftest.make 2>/dev/null` in 
2378     eval ac_cv_prog_make_
${ac_make}_set
=yes;; 
2380     eval ac_cv_prog_make_
${ac_make}_set
=no
;; 
2384 if eval test \
$ac_cv_prog_make_${ac_make}_set 
= yes; then 
2385   { echo "$as_me:$LINENO: result: yes" >&5 
2386 echo "${ECHO_T}yes" >&6; } 
2389   { echo "$as_me:$LINENO: result: no" >&5 
2390 echo "${ECHO_T}no" >&6; } 
2391   SET_MAKE
="MAKE=${MAKE-make}" 
2394 rm -rf .tst 
2>/dev
/null
 
2395 mkdir .tst 
2>/dev
/null
 
2396 if test -d .tst
; then 
2401 rmdir .tst 
2>/dev
/null
 
2403 # test to see if srcdir already configured 
2404 if test "`cd $srcdir && pwd`" != "`pwd`" && 
2405    test -f $srcdir/config.status
; then 
2406   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 
2407 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 
2408    { (exit 1); exit 1; }; } 
2411 # test whether we have cygpath 
2412 if test -z "$CYGPATH_W"; then 
2413   if (cygpath 
--version) >/dev
/null 
2>/dev
/null
; then 
2414     CYGPATH_W
='cygpath -w' 
2421 # Define the identity of the package. 
2426 cat >>confdefs.h 
<<_ACEOF 
2427 #define PACKAGE "$PACKAGE" 
2431 cat >>confdefs.h 
<<_ACEOF 
2432 #define VERSION "$VERSION" 
2435 # Some tools Automake needs. 
2437 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 
2440 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 
2443 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 
2446 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"} 
2449 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"} 
2451 install_sh
=${install_sh-"$am_aux_dir/install-sh"} 
2453 # Installed binaries are usually stripped using `strip' when the user 
2454 # run `make install-strip'.  However `strip' might not be the right 
2455 # tool to use in cross-compilation environments, therefore Automake 
2456 # will honor the `STRIP' environment variable to overrule this program. 
2457 if test "$cross_compiling" != no
; then 
2458   if test -n "$ac_tool_prefix"; then 
2459   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 
2460 set dummy 
${ac_tool_prefix}strip
; ac_word
=$2 
2461 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
2462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
2463 if test "${ac_cv_prog_STRIP+set}" = set; then 
2464   echo $ECHO_N "(cached) $ECHO_C" >&6 
2466   if test -n "$STRIP"; then 
2467   ac_cv_prog_STRIP
="$STRIP" # Let the user override the test. 
2469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2473   test -z "$as_dir" && as_dir
=.
 
2474   for ac_exec_ext 
in '' $ac_executable_extensions; do 
2475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2476     ac_cv_prog_STRIP
="${ac_tool_prefix}strip" 
2477     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
2486 STRIP
=$ac_cv_prog_STRIP 
2487 if test -n "$STRIP"; then 
2488   { echo "$as_me:$LINENO: result: $STRIP" >&5 
2489 echo "${ECHO_T}$STRIP" >&6; } 
2491   { echo "$as_me:$LINENO: result: no" >&5 
2492 echo "${ECHO_T}no" >&6; } 
2497 if test -z "$ac_cv_prog_STRIP"; then 
2499   # Extract the first word of "strip", so it can be a program name with args. 
2500 set dummy strip
; ac_word
=$2 
2501 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
2502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
2503 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 
2504   echo $ECHO_N "(cached) $ECHO_C" >&6 
2506   if test -n "$ac_ct_STRIP"; then 
2507   ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test. 
2509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2513   test -z "$as_dir" && as_dir
=.
 
2514   for ac_exec_ext 
in '' $ac_executable_extensions; do 
2515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2516     ac_cv_prog_ac_ct_STRIP
="strip" 
2517     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
2526 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP 
2527 if test -n "$ac_ct_STRIP"; then 
2528   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 
2529 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 
2531   { echo "$as_me:$LINENO: result: no" >&5 
2532 echo "${ECHO_T}no" >&6; } 
2535   if test "x$ac_ct_STRIP" = x
; then 
2538     case $cross_compiling:$ac_tool_warned in 
2540 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
2541 whose name does not start with the host triplet.  If you think this 
2542 configuration is useful to you, please write to autoconf@gnu.org." >&5 
2543 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
2544 whose name does not start with the host triplet.  If you think this 
2545 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
2546 ac_tool_warned
=yes ;; 
2551   STRIP
="$ac_cv_prog_STRIP" 
2555 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s" 
2557 # We need awk for the "check" target.  The system "awk" is bad on 
2559 # Always define AMTAR for backward compatibility. 
2561 AMTAR
=${AMTAR-"${am_missing_run}tar"} 
2563 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -' 
2569 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 
2570 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 
2571     # Check whether --enable-maintainer-mode was given. 
2572 if test "${enable_maintainer_mode+set}" = set; then 
2573   enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval 
2575   USE_MAINTAINER_MODE
=no
 
2578   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 
2579 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 
2582 if test $USE_MAINTAINER_MODE = yes; then 
2583   MAINTAINER_MODE_TRUE
= 
2584   MAINTAINER_MODE_FALSE
='#' 
2586   MAINTAINER_MODE_TRUE
='#' 
2587   MAINTAINER_MODE_FALSE
= 
2590   MAINT
=$MAINTAINER_MODE_TRUE 
2594 LIBTIFF_MAJOR_VERSION
=3 
2595 LIBTIFF_MINOR_VERSION
=8 
2596 LIBTIFF_MICRO_VERSION
=2 
2597 LIBTIFF_ALPHA_VERSION
= 
2598 LIBTIFF_VERSION
=$LIBTIFF_MAJOR_VERSION.
$LIBTIFF_MINOR_VERSION.
$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION 
2599 LIBTIFF_RELEASE_DATE
=`date +"%Y%m%d"` 
2601 # This is a special hack for OpenBSD and MirOS systems. The dynamic linker 
2602 # in OpenBSD uses some special semantics for shared libraries. Their soname 
2603 # contains only two numbers, major and minor. 
2604 # See http://bugzilla.remotesensing.org/show_bug.cgi?id=838 for details. 
2605 case "$target_os" in 
2607         LIBTIFF_VERSION_INFO
=$LIBTIFF_MAJOR_VERSION$LIBTIFF_MINOR_VERSION:$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION:0 
2610         LIBTIFF_VERSION_INFO
=$LIBTIFF_MAJOR_VERSION:$LIBTIFF_MINOR_VERSION:$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION 
2623 ac_cpp
='$CPP $CPPFLAGS' 
2624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
2625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
2626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
2627 if test -n "$ac_tool_prefix"; then 
2628   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
2629 set dummy 
${ac_tool_prefix}gcc
; ac_word
=$2 
2630 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
2631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
2632 if test "${ac_cv_prog_CC+set}" = set; then 
2633   echo $ECHO_N "(cached) $ECHO_C" >&6 
2635   if test -n "$CC"; then 
2636   ac_cv_prog_CC
="$CC" # Let the user override the test. 
2638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2642   test -z "$as_dir" && as_dir
=.
 
2643   for ac_exec_ext 
in '' $ac_executable_extensions; do 
2644   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2645     ac_cv_prog_CC
="${ac_tool_prefix}gcc" 
2646     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
2656 if test -n "$CC"; then 
2657   { echo "$as_me:$LINENO: result: $CC" >&5 
2658 echo "${ECHO_T}$CC" >&6; } 
2660   { echo "$as_me:$LINENO: result: no" >&5 
2661 echo "${ECHO_T}no" >&6; } 
2666 if test -z "$ac_cv_prog_CC"; then 
2668   # Extract the first word of "gcc", so it can be a program name with args. 
2669 set dummy gcc
; ac_word
=$2 
2670 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
2671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
2672 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
2673   echo $ECHO_N "(cached) $ECHO_C" >&6 
2675   if test -n "$ac_ct_CC"; then 
2676   ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test. 
2678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2682   test -z "$as_dir" && as_dir
=.
 
2683   for ac_exec_ext 
in '' $ac_executable_extensions; do 
2684   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2685     ac_cv_prog_ac_ct_CC
="gcc" 
2686     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
2695 ac_ct_CC
=$ac_cv_prog_ac_ct_CC 
2696 if test -n "$ac_ct_CC"; then 
2697   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
2698 echo "${ECHO_T}$ac_ct_CC" >&6; } 
2700   { echo "$as_me:$LINENO: result: no" >&5 
2701 echo "${ECHO_T}no" >&6; } 
2704   if test "x$ac_ct_CC" = x
; then 
2707     case $cross_compiling:$ac_tool_warned in 
2709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
2710 whose name does not start with the host triplet.  If you think this 
2711 configuration is useful to you, please write to autoconf@gnu.org." >&5 
2712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
2713 whose name does not start with the host triplet.  If you think this 
2714 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
2715 ac_tool_warned
=yes ;; 
2723 if test -z "$CC"; then 
2724           if test -n "$ac_tool_prefix"; then 
2725     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
2726 set dummy 
${ac_tool_prefix}cc
; ac_word
=$2 
2727 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
2728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
2729 if test "${ac_cv_prog_CC+set}" = set; then 
2730   echo $ECHO_N "(cached) $ECHO_C" >&6 
2732   if test -n "$CC"; then 
2733   ac_cv_prog_CC
="$CC" # Let the user override the test. 
2735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2739   test -z "$as_dir" && as_dir
=.
 
2740   for ac_exec_ext 
in '' $ac_executable_extensions; do 
2741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2742     ac_cv_prog_CC
="${ac_tool_prefix}cc" 
2743     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
2753 if test -n "$CC"; then 
2754   { echo "$as_me:$LINENO: result: $CC" >&5 
2755 echo "${ECHO_T}$CC" >&6; } 
2757   { echo "$as_me:$LINENO: result: no" >&5 
2758 echo "${ECHO_T}no" >&6; } 
2764 if test -z "$CC"; then 
2765   # Extract the first word of "cc", so it can be a program name with args. 
2766 set dummy cc
; ac_word
=$2 
2767 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
2768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
2769 if test "${ac_cv_prog_CC+set}" = set; then 
2770   echo $ECHO_N "(cached) $ECHO_C" >&6 
2772   if test -n "$CC"; then 
2773   ac_cv_prog_CC
="$CC" # Let the user override the test. 
2776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2780   test -z "$as_dir" && as_dir
=.
 
2781   for ac_exec_ext 
in '' $ac_executable_extensions; do 
2782   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2783     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
2784        ac_prog_rejected
=yes 
2788     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
2795 if test $ac_prog_rejected = yes; then 
2796   # We found a bogon in the path, so make sure we never use it. 
2797   set dummy 
$ac_cv_prog_CC 
2799   if test $# != 0; then 
2800     # We chose a different compiler from the bogus one. 
2801     # However, it has the same basename, so the bogon will be chosen 
2802     # first if we set CC to just the basename; use the full file name. 
2804     ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@" 
2810 if test -n "$CC"; then 
2811   { echo "$as_me:$LINENO: result: $CC" >&5 
2812 echo "${ECHO_T}$CC" >&6; } 
2814   { echo "$as_me:$LINENO: result: no" >&5 
2815 echo "${ECHO_T}no" >&6; } 
2820 if test -z "$CC"; then 
2821   if test -n "$ac_tool_prefix"; then 
2822   for ac_prog 
in cl.exe
 
2824     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
2825 set dummy 
$ac_tool_prefix$ac_prog; ac_word
=$2 
2826 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
2828 if test "${ac_cv_prog_CC+set}" = set; then 
2829   echo $ECHO_N "(cached) $ECHO_C" >&6 
2831   if test -n "$CC"; then 
2832   ac_cv_prog_CC
="$CC" # Let the user override the test. 
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2838   test -z "$as_dir" && as_dir
=.
 
2839   for ac_exec_ext 
in '' $ac_executable_extensions; do 
2840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2841     ac_cv_prog_CC
="$ac_tool_prefix$ac_prog" 
2842     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
2852 if test -n "$CC"; then 
2853   { echo "$as_me:$LINENO: result: $CC" >&5 
2854 echo "${ECHO_T}$CC" >&6; } 
2856   { echo "$as_me:$LINENO: result: no" >&5 
2857 echo "${ECHO_T}no" >&6; } 
2861     test -n "$CC" && break 
2864 if test -z "$CC"; then 
2866   for ac_prog 
in cl.exe
 
2868   # Extract the first word of "$ac_prog", so it can be a program name with args. 
2869 set dummy 
$ac_prog; ac_word
=$2 
2870 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
2871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
2872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
2873   echo $ECHO_N "(cached) $ECHO_C" >&6 
2875   if test -n "$ac_ct_CC"; then 
2876   ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test. 
2878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2882   test -z "$as_dir" && as_dir
=.
 
2883   for ac_exec_ext 
in '' $ac_executable_extensions; do 
2884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2885     ac_cv_prog_ac_ct_CC
="$ac_prog" 
2886     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
2895 ac_ct_CC
=$ac_cv_prog_ac_ct_CC 
2896 if test -n "$ac_ct_CC"; then 
2897   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
2898 echo "${ECHO_T}$ac_ct_CC" >&6; } 
2900   { echo "$as_me:$LINENO: result: no" >&5 
2901 echo "${ECHO_T}no" >&6; } 
2905   test -n "$ac_ct_CC" && break 
2908   if test "x$ac_ct_CC" = x
; then 
2911     case $cross_compiling:$ac_tool_warned in 
2913 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
2914 whose name does not start with the host triplet.  If you think this 
2915 configuration is useful to you, please write to autoconf@gnu.org." >&5 
2916 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
2917 whose name does not start with the host triplet.  If you think this 
2918 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
2919 ac_tool_warned
=yes ;; 
2928 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
2929 See \`config.log' for more details." >&5 
2930 echo "$as_me: error: no acceptable C compiler found in \$PATH 
2931 See \`config.log' for more details." >&2;} 
2932    { (exit 1); exit 1; }; } 
2934 # Provide some information about the compiler. 
2935 echo "$as_me:$LINENO: checking for C compiler version" >&5 
2936 ac_compiler
=`set X $ac_compile; echo $2` 
2937 { (ac_try
="$ac_compiler --version >&5" 
2939   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
2940   *) ac_try_echo=$ac_try;; 
2942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
2943   (eval "$ac_compiler --version >&5") 2>&5 
2945   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2946   (exit $ac_status); } 
2947 { (ac_try="$ac_compiler -v >&5" 
2949   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
2950   *) ac_try_echo
=$ac_try;; 
2952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
2953   (eval "$ac_compiler -v >&5") 2>&5 
2955   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2956   (exit $ac_status); } 
2957 { (ac_try
="$ac_compiler -V >&5" 
2959   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
2960   *) ac_try_echo=$ac_try;; 
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
2963   (eval "$ac_compiler -V >&5") 2>&5 
2965   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2966   (exit $ac_status); } 
2968 cat >conftest.$ac_ext <<_ACEOF 
2971 cat confdefs.h >>conftest.$ac_ext 
2972 cat >>conftest.$ac_ext <<_ACEOF 
2973 /* end confdefs.h.  */ 
2983 ac_clean_files_save=$ac_clean_files 
2984 ac_clean_files="$ac_clean_files a.out a.exe b.out" 
2985 # Try to create an executable without -o first, disregard a.out. 
2986 # It will help us diagnose broken compilers, and finding out an intuition 
2988 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
2989 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 
2990 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
2992 # List of possible output files, starting from the most likely. 
2993 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*) 
2994 # only as a last resort.  b.out is created by i960 compilers. 
2995 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
' 
2997 # The IRIX 6 linker writes into existing files which may not be 
2998 # executable, retaining their permissions.  Remove them first so a 
2999 # subsequent execution test works. 
3001 for ac_file in $ac_files 
3004     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
3005     * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
3010 if { (ac_try="$ac_link_default" 
3012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
3013   *) ac_try_echo=$ac_try;; 
3015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
3016   (eval "$ac_link_default") 2>&5 
3018   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3019   (exit $ac_status); }; then 
3020   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3021 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
3022 # in a Makefile.  We should not override ac_cv_exeext if it was cached, 
3023 # so that the user can short-circuit this test for compilers unknown to 
3025 for ac_file 
in $ac_files '' 
3027   test -f "$ac_file" || continue 
3029     *.
$ac_ext | *.xcoff 
| *.tds 
| *.d 
| *.pdb 
| *.xSYM 
| *.bb 
| *.bbg 
| *.map 
| *.inf 
| *.o 
| *.obj 
) 
3032         # We found the default executable, but exeext='' is most 
3036         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
; 
3038            ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'` 
3040         # We set ac_cv_exeext here because the later test for it is not 
3041         # safe: cross compilers may not add the suffix if given an `-o' 
3042         # argument, so we may need to know it at that point already. 
3043         # Even if this section looks crufty: it has the advantage of 
3050 test "$ac_cv_exeext" = no 
&& ac_cv_exeext
= 
3056 { echo "$as_me:$LINENO: result: $ac_file" >&5 
3057 echo "${ECHO_T}$ac_file" >&6; } 
3058 if test -z "$ac_file"; then 
3059   echo "$as_me: failed program was:" >&5 
3060 sed 's/^/| /' conftest.
$ac_ext >&5 
3062 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 
3063 See \`config.log' for more details." >&5 
3064 echo "$as_me: error: C compiler cannot create executables 
3065 See \`config.log' for more details." >&2;} 
3066    { (exit 77); exit 77; }; } 
3069 ac_exeext
=$ac_cv_exeext 
3071 # Check that the compiler produces executables we can run.  If not, either 
3072 # the compiler is broken, or we cross compile. 
3073 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
3074 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 
3075 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
3076 # If not cross compiling, check that we can run a simple program. 
3077 if test "$cross_compiling" != yes; then 
3078   if { ac_try
='./$ac_file' 
3079   { (case "(($ac_try" in 
3080   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
3081   *) ac_try_echo=$ac_try;; 
3083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
3084   (eval "$ac_try") 2>&5 
3086   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3087   (exit $ac_status); }; }; then 
3090     if test "$cross_compiling" = maybe; then 
3093         { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
3094 If you meant to cross compile, use \`--host'. 
3095 See \`config.log' for more details.
" >&5 
3096 echo "$as_me: error
: cannot run C compiled programs.
 
3097 If you meant to cross compile
, use \
`--host'. 
3098 See \`config.log
' for more details." >&2;} 
3099    { (exit 1); exit 1; }; } 
3103 { echo "$as_me:$LINENO: result: yes" >&5 
3104 echo "${ECHO_T}yes" >&6; } 
3106 rm -f a.out a.exe conftest$ac_cv_exeext b.out 
3107 ac_clean_files=$ac_clean_files_save 
3108 # Check that the compiler produces executables we can run.  If not, either 
3109 # the compiler is broken, or we cross compile. 
3110 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
3111 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 
3112 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 
3113 echo "${ECHO_T}$cross_compiling" >&6; } 
3115 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 
3116 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 
3117 if { (ac_try="$ac_link" 
3119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
3120   *) ac_try_echo=$ac_try;; 
3122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
3123   (eval "$ac_link") 2>&5 
3125   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3126   (exit $ac_status); }; then 
3127   # If both `conftest.exe' and 
`conftest' are `present
' (well, observable) 
3128 # catch `conftest.exe'.  For instance with Cygwin
, `ls conftest' will 
3129 # work properly (i.e., refer to `conftest.exe
'), while it won't with
 
3131 for ac_file 
in conftest.exe conftest conftest.
*; do 
3132   test -f "$ac_file" || continue 
3134     *.
$ac_ext | *.xcoff 
| *.tds 
| *.d 
| *.pdb 
| *.xSYM 
| *.bb 
| *.bbg 
| *.map 
| *.inf 
| *.o 
| *.obj 
) ;; 
3135     *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'` 
3141   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
3142 See \`config.log' for more details." >&5 
3143 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
3144 See \`config.log' for more details." >&2;} 
3145    { (exit 1); exit 1; }; } 
3148 rm -f conftest
$ac_cv_exeext 
3149 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
3150 echo "${ECHO_T}$ac_cv_exeext" >&6; } 
3152 rm -f conftest.
$ac_ext 
3153 EXEEXT
=$ac_cv_exeext 
3155 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 
3156 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 
3157 if test "${ac_cv_objext+set}" = set; then 
3158   echo $ECHO_N "(cached) $ECHO_C" >&6 
3160   cat >conftest.
$ac_ext <<_ACEOF 
3163 cat confdefs.h 
>>conftest.
$ac_ext 
3164 cat >>conftest.
$ac_ext <<_ACEOF 
3165 /* end confdefs.h.  */ 
3175 rm -f conftest.o conftest.obj
 
3176 if { (ac_try
="$ac_compile" 
3178   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
3179   *) ac_try_echo=$ac_try;; 
3181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
3182   (eval "$ac_compile") 2>&5 
3184   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3185   (exit $ac_status); }; then 
3186   for ac_file in conftest.o conftest.obj conftest.*; do 
3187   test -f "$ac_file" || continue; 
3189     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 
3190     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
3195   echo "$as_me: failed program was:" >&5 
3196 sed 's/^/| /' conftest.$ac_ext >&5 
3198 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
3199 See \`config.log
' for more details." >&5 
3200 echo "$as_me: error: cannot compute suffix of object files: cannot compile 
3201 See \`config.log' for more details.
" >&2;} 
3202    { (exit 1); exit 1; }; } 
3205 rm -f conftest.$ac_cv_objext conftest.$ac_ext 
3207 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5 
3208 echo "${ECHO_T}$ac_cv_objext" >&6; } 
3209 OBJEXT=$ac_cv_objext 
3211 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5 
3212 echo $ECHO_N "checking whether we are using the GNU C compiler... 
$ECHO_C" >&6; } 
3213 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
3214   echo $ECHO_N "(cached
) $ECHO_C" >&6 
3216   cat >conftest.$ac_ext <<_ACEOF 
3219 cat confdefs.h >>conftest.$ac_ext 
3220 cat >>conftest.$ac_ext <<_ACEOF 
3221 /* end confdefs.h.  */ 
3234 rm -f conftest.$ac_objext 
3235 if { (ac_try="$ac_compile" 
3237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
3238   *) ac_try_echo=$ac_try;; 
3240 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5 
3241   (eval "$ac_compile") 2>conftest.er1 
3243   grep -v '^ *+' conftest.er1 >conftest.err 
3245   cat conftest.err >&5 
3246   echo "$as_me:$LINENO: \$? 
= $ac_status" >&5 
3247   (exit $ac_status); } && { 
3248          test -z "$ac_c_werror_flag" || 
3249          test ! -s conftest.err 
3250        } && test -s conftest.$ac_objext; then 
3253   echo "$as_me: failed program was
:" >&5 
3254 sed 's/^/| /' conftest.$ac_ext >&5 
3259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
3260 ac_cv_c_compiler_gnu=$ac_compiler_gnu 
3263 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5 
3264 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 
3265 GCC=`test $ac_compiler_gnu = yes && echo yes` 
3266 ac_test_CFLAGS=${CFLAGS+set} 
3267 ac_save_CFLAGS=$CFLAGS 
3268 { echo "$as_me:$LINENO: checking whether 
$CC accepts 
-g" >&5 
3269 echo $ECHO_N "checking whether 
$CC accepts 
-g... 
$ECHO_C" >&6; } 
3270 if test "${ac_cv_prog_cc_g+set}" = set; then 
3271   echo $ECHO_N "(cached
) $ECHO_C" >&6 
3273   ac_save_c_werror_flag=$ac_c_werror_flag 
3274    ac_c_werror_flag=yes 
3277    cat >conftest.$ac_ext <<_ACEOF 
3280 cat confdefs.h >>conftest.$ac_ext 
3281 cat >>conftest.$ac_ext <<_ACEOF 
3282 /* end confdefs.h.  */ 
3292 rm -f conftest.$ac_objext 
3293 if { (ac_try="$ac_compile" 
3295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
3296   *) ac_try_echo=$ac_try;; 
3298 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5 
3299   (eval "$ac_compile") 2>conftest.er1 
3301   grep -v '^ *+' conftest.er1 >conftest.err 
3303   cat conftest.err >&5 
3304   echo "$as_me:$LINENO: \$? 
= $ac_status" >&5 
3305   (exit $ac_status); } && { 
3306          test -z "$ac_c_werror_flag" || 
3307          test ! -s conftest.err 
3308        } && test -s conftest.$ac_objext; then 
3311   echo "$as_me: failed program was
:" >&5 
3312 sed 's/^/| /' conftest.$ac_ext >&5 
3315       cat >conftest.$ac_ext <<_ACEOF 
3318 cat confdefs.h >>conftest.$ac_ext 
3319 cat >>conftest.$ac_ext <<_ACEOF 
3320 /* end confdefs.h.  */ 
3330 rm -f conftest.$ac_objext 
3331 if { (ac_try="$ac_compile" 
3333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
3334   *) ac_try_echo=$ac_try;; 
3336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5 
3337   (eval "$ac_compile") 2>conftest.er1 
3339   grep -v '^ *+' conftest.er1 >conftest.err 
3341   cat conftest.err >&5 
3342   echo "$as_me:$LINENO: \$? 
= $ac_status" >&5 
3343   (exit $ac_status); } && { 
3344          test -z "$ac_c_werror_flag" || 
3345          test ! -s conftest.err 
3346        } && test -s conftest.$ac_objext; then 
3349   echo "$as_me: failed program was
:" >&5 
3350 sed 's/^/| /' conftest.$ac_ext >&5 
3352         ac_c_werror_flag=$ac_save_c_werror_flag 
3354          cat >conftest.$ac_ext <<_ACEOF 
3357 cat confdefs.h >>conftest.$ac_ext 
3358 cat >>conftest.$ac_ext <<_ACEOF 
3359 /* end confdefs.h.  */ 
3369 rm -f conftest.$ac_objext 
3370 if { (ac_try="$ac_compile" 
3372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
3373   *) ac_try_echo=$ac_try;; 
3375 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5 
3376   (eval "$ac_compile") 2>conftest.er1 
3378   grep -v '^ *+' conftest.er1 >conftest.err 
3380   cat conftest.err >&5 
3381   echo "$as_me:$LINENO: \$? 
= $ac_status" >&5 
3382   (exit $ac_status); } && { 
3383          test -z "$ac_c_werror_flag" || 
3384          test ! -s conftest.err 
3385        } && test -s conftest.$ac_objext; then 
3388   echo "$as_me: failed program was
:" >&5 
3389 sed 's/^/| /' conftest.$ac_ext >&5 
3394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
3397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
3401    ac_c_werror_flag=$ac_save_c_werror_flag 
3403 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5 
3404 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 
3405 if test "$ac_test_CFLAGS" = set; then 
3406   CFLAGS=$ac_save_CFLAGS 
3407 elif test $ac_cv_prog_cc_g = yes; then 
3408   if test "$GCC" = yes; then 
3414   if test "$GCC" = yes; then 
3420 { echo "$as_me:$LINENO: checking 
for $CC option to accept ISO C89
" >&5 
3421 echo $ECHO_N "checking 
for $CC option to accept ISO C89... 
$ECHO_C" >&6; } 
3422 if test "${ac_cv_prog_cc_c89+set}" = set; then 
3423   echo $ECHO_N "(cached
) $ECHO_C" >&6 
3425   ac_cv_prog_cc_c89=no 
3427 cat >conftest.$ac_ext <<_ACEOF 
3430 cat confdefs.h >>conftest.$ac_ext 
3431 cat >>conftest.$ac_ext <<_ACEOF 
3432 /* end confdefs.h.  */ 
3435 #include <sys/types.h> 
3436 #include <sys/stat.h> 
3437 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
3438 struct buf { int x; }; 
3439 FILE * (*rcsopen) (struct buf *, struct stat *, int); 
3440 static char *e (p, i) 
3446 static char *f (char * (*g) (char **, int), char **p, ...) 
3451   s = g (p, va_arg (v,int)); 
3456 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has 
3457    function prototypes and stuff, but not '\xHH' hex character constants. 
3458    These don't provoke an error unfortunately, instead are silently treated 
3459    as 'x'.  The following induces an error, until -std is added to get 
3460    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an 
3461    array size at least.  It's necessary to write '\x00'==0 to get something 
3462    that's true only with -std.  */ 
3463 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 
3465 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 
3466    inside strings and character constants.  */ 
3468 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 
3470 int test (int i, double x); 
3471 struct s1 {int (*f) (int a);}; 
3472 struct s2 {int (*f) (double a);}; 
3473 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 
3479 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; 
3484 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 
3485         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 
3487   CC="$ac_save_CC $ac_arg" 
3488   rm -f conftest.$ac_objext 
3489 if { (ac_try="$ac_compile" 
3491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
3492   *) ac_try_echo=$ac_try;; 
3494 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5 
3495   (eval "$ac_compile") 2>conftest.er1 
3497   grep -v '^ *+' conftest.er1 >conftest.err 
3499   cat conftest.err >&5 
3500   echo "$as_me:$LINENO: \$? 
= $ac_status" >&5 
3501   (exit $ac_status); } && { 
3502          test -z "$ac_c_werror_flag" || 
3503          test ! -s conftest.err 
3504        } && test -s conftest.$ac_objext; then 
3505   ac_cv_prog_cc_c89=$ac_arg 
3507   echo "$as_me: failed program was
:" >&5 
3508 sed 's/^/| /' conftest.$ac_ext >&5 
3513 rm -f core conftest.err conftest.$ac_objext 
3514   test "x
$ac_cv_prog_cc_c89" != "xno
" && break 
3516 rm -f conftest.$ac_ext 
3521 case "x
$ac_cv_prog_cc_c89" in 
3523     { echo "$as_me:$LINENO: result
: none needed
" >&5 
3524 echo "${ECHO_T}none needed
" >&6; } ;; 
3526     { echo "$as_me:$LINENO: result
: unsupported
" >&5 
3527 echo "${ECHO_T}unsupported
" >&6; } ;; 
3529     CC="$CC $ac_cv_prog_cc_c89" 
3530     { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5 
3531 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 
3536 ac_cpp='$CPP $CPPFLAGS' 
3537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
3538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
3539 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
3540 DEPDIR="${am__leading_dot}deps
" 
3542 ac_config_commands="$ac_config_commands depfiles
" 
3545 am_make=${MAKE-make} 
3546 cat > confinc << 'END' 
3551 # If we don't find an include directive, just comment out the code. 
3552 { echo "$as_me:$LINENO: checking 
for style of include used by 
$am_make" >&5 
3553 echo $ECHO_N "checking 
for style of include used by 
$am_make... 
$ECHO_C" >&6; } 
3557 # First try GNU make style include. 
3558 echo "include confinc" > confmf
 
3559 # We grep out `Entering directory' and `Leaving directory' 
3560 # messages which can occur if `w' ends up in MAKEFLAGS. 
3561 # In particular we don't look at `^make:' because GNU make might 
3562 # be invoked under some other name (usually "gmake"), in which 
3563 # case it prints its new name instead of `make'. 
3564 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 
3569 # Now try BSD make style include. 
3570 if test "$am__include" = "#"; then 
3571    echo '.include "confinc"' > confmf
 
3572    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 
3573       am__include
=.include
 
3580 { echo "$as_me:$LINENO: result: $_am_result" >&5 
3581 echo "${ECHO_T}$_am_result" >&6; } 
3582 rm -f confinc confmf
 
3584 # Check whether --enable-dependency-tracking was given. 
3585 if test "${enable_dependency_tracking+set}" = set; then 
3586   enableval
=$enable_dependency_tracking; 
3589 if test "x$enable_dependency_tracking" != xno
; then 
3590   am_depcomp
="$ac_aux_dir/depcomp" 
3595 if test "x$enable_dependency_tracking" != xno; then 
3606 depcc
="$CC"   am_compiler_list
= 
3608 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 
3609 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 
3610 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 
3611   echo $ECHO_N "(cached) $ECHO_C" >&6 
3613   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 
3614   # We make a subdir and do the tests there.  Otherwise we can end up 
3615   # making bogus files that we don't know about and never remove.  For 
3616   # instance it was reported that on HP-UX the gcc test will end up 
3617   # making a dummy file named `D' -- because `-MD' means `put the output 
3620   # Copy depcomp to subdir because otherwise we won't find it if we're 
3621   # using a relative directory. 
3622   cp "$am_depcomp" conftest.dir
 
3624   # We will build objects and dependencies in a subdirectory because 
3625   # it helps to detect inapplicable dependency modes.  For instance 
3626   # both Tru64's cc and ICC support -MD to output dependencies as a 
3627   # side effect of compilation, but ICC will put the dependencies in 
3628   # the current directory while Tru64 will put them in the object 
3632   am_cv_CC_dependencies_compiler_type
=none
 
3633   if test "$am_compiler_list" = ""; then 
3634      am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 
3636   for depmode 
in $am_compiler_list; do 
3637     # Setup a source with many dependencies, because some compilers 
3638     # like to wrap large dependency lists on column 80 (with \), and 
3639     # we should not choose a depcomp mode which is confused by this. 
3641     # We need to recreate these files for each test, as the compiler may 
3642     # overwrite some of them when testing with obscure command lines. 
3643     # This happens at least with the AIX C compiler. 
3645     for i 
in 1 2 3 4 5 6; do 
3646       echo '#include "conftst'$i'.h"' >> sub
/conftest.c
 
3647       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 
3648       # Solaris 8's {/usr,}/bin/sh. 
3649       touch sub
/conftst
$i.h
 
3651     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3655       # after this tag, mechanisms are not by side-effect, so they'll 
3656       # only be used when explicitly requested 
3657       if test "x$enable_dependency_tracking" = xyes
; then 
3665     # We check with `-c' and `-o' for the sake of the "dashmstdout" 
3666     # mode.  It turns out that the SunPro C++ compiler does not properly 
3667     # handle `-M -o', and we need to detect this. 
3668     if depmode
=$depmode \
 
3669        source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
 
3670        depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
 
3671        $SHELL .
/depcomp 
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
 
3672          >/dev
/null 
2>conftest.err 
&& 
3673        grep sub
/conftst6.h sub
/conftest.Po 
> /dev
/null 
2>&1 && 
3674        grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po 
> /dev
/null 
2>&1 && 
3675        ${MAKE-make} -s -f confmf 
> /dev
/null 
2>&1; then 
3676       # icc doesn't choke on unknown options, it will just issue warnings 
3677       # or remarks (even with -Werror).  So we grep stderr for any message 
3678       # that says an option was ignored or not supported. 
3679       # When given -MP, icc 7.0 and 7.1 complain thusly: 
3680       #   icc: Command line warning: ignoring option '-M'; no argument required 
3681       # The diagnosis changed in icc 8.0: 
3682       #   icc: Command line remark: option '-MP' not supported 
3683       if (grep 'ignoring option' conftest.err 
|| 
3684           grep 'not supported' conftest.err
) >/dev
/null 
2>&1; then :; else 
3685         am_cv_CC_dependencies_compiler_type
=$depmode 
3694   am_cv_CC_dependencies_compiler_type
=none
 
3698 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 
3699 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 
3700 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type 
3705   test "x$enable_dependency_tracking" != xno \
 
3706   && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then 
3708   am__fastdepCC_FALSE
='#' 
3710   am__fastdepCC_TRUE
='#' 
3711   am__fastdepCC_FALSE
= 
3715 if test "x$CC" != xcc
; then 
3716   { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5 
3717 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; } 
3719   { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5 
3720 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; } 
3722 set dummy 
$CC; ac_cc
=`echo $2 | 
3723                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 
3724 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o
; eval "test \"\${$as_var+set}\" = set"; }; then 
3725   echo $ECHO_N "(cached) $ECHO_C" >&6 
3727   cat >conftest.
$ac_ext <<_ACEOF 
3730 cat confdefs.h 
>>conftest.
$ac_ext 
3731 cat >>conftest.
$ac_ext <<_ACEOF 
3732 /* end confdefs.h.  */ 
3742 # Make sure it works both with $CC and with simple cc. 
3743 # We do the test twice because some compilers refuse to overwrite an 
3744 # existing .o file with -o, though they will create one. 
3745 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 
3747 if { (case "(($ac_try" in 
3748   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
3749   *) ac_try_echo=$ac_try;; 
3751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
3752   (eval "$ac_try") 2>&5 
3754   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3755   (exit $ac_status); } && 
3756    test -f conftest2.$ac_objext && { (case "(($ac_try" in 
3757   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
3758   *) ac_try_echo
=$ac_try;; 
3760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
3761   (eval "$ac_try") 2>&5 
3763   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3764   (exit $ac_status); }; 
3766   eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes 
3767   if test "x$CC" != xcc
; then 
3768     # Test first that cc exists at all. 
3769     if { ac_try
='cc -c conftest.$ac_ext >&5' 
3770   { (case "(($ac_try" in 
3771   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
3772   *) ac_try_echo=$ac_try;; 
3774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
3775   (eval "$ac_try") 2>&5 
3777   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3778   (exit $ac_status); }; }; then 
3779       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 
3781       if { (case "(($ac_try" in 
3782   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
3783   *) ac_try_echo
=$ac_try;; 
3785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
3786   (eval "$ac_try") 2>&5 
3788   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3789   (exit $ac_status); } && 
3790          test -f conftest2.
$ac_objext && { (case "(($ac_try" in 
3791   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
3792   *) ac_try_echo=$ac_try;; 
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
3795   (eval "$ac_try") 2>&5 
3797   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3798   (exit $ac_status); }; 
3803         # cc exists but doesn't like -o. 
3804         eval ac_cv_prog_cc_${ac_cc}_c_o=no 
3809   eval ac_cv_prog_cc_${ac_cc}_c_o=no 
3811 rm -f core conftest* 
3814 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 
3815   { echo "$as_me:$LINENO: result: yes" >&5 
3816 echo "${ECHO_T}yes" >&6; } 
3818   { echo "$as_me:$LINENO: result: no" >&5 
3819 echo "${ECHO_T}no" >&6; } 
3821 cat >>confdefs.h <<\_ACEOF 
3822 #define NO_MINUS_C_MINUS_O 1 
3827 # FIXME: we rely on the cache variable name because 
3828 # there is no other way. 
3830 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 
3831 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then 
3832    # Losing compiler, so override with the script. 
3833    # FIXME: It is wrong to rewrite CC. 
3834    # But if we don't then we get into trouble of one sort or another. 
3835    # A longer-term fix would be to have automake use am__CC in this case, 
3836    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 
3837    CC="$am_aux_dir/compile $CC" 
3843   if test -z "$ansi"; then 
3844     msg="for C compiler warning flags" 
3846     msg="for C compiler warning and ANSI conformance flags" 
3848   { echo "$as_me:$LINENO: checking $msg" >&5 
3849 echo $ECHO_N "checking $msg... $ECHO_C" >&6; } 
3850 if test "${vl_cv_prog_cc_warnings+set}" = set; then 
3851   echo $ECHO_N "(cached) $ECHO_C" >&6 
3854     if test -n "$CC"; then 
3855       cat > conftest.c <<EOF 
3856 int main(int argc, char **argv) { return 0; } 
3859             if test "$GCC" = "yes"; then 
3860         if test -z "$ansi"; then 
3861           vl_cv_prog_cc_warnings="-Wall -W" 
3863           vl_cv_prog_cc_warnings="-Wall -W -ansi -pedantic" 
3867             elif $CC -V 2>&1 | grep -i "WorkShop" > /dev/null 2>&1 && 
3868            $CC -c -v -Xc conftest.c > /dev/null 2>&1 && 
3869            test -f conftest.o; then 
3870         if test -z "$ansi"; then 
3871           vl_cv_prog_cc_warnings="-v" 
3873           vl_cv_prog_cc_warnings="-v -Xc" 
3876             elif $CC -V 2>&1 | grep -i "Digital UNIX Compiler" > /dev/null 2>&1 && 
3877            $CC -c -verbose -w0 -warnprotos -std1 conftest.c > /dev/null 2>&1 && 
3878            test -f conftest.o; then 
3879         if test -z "$ansi"; then 
3880           vl_cv_prog_cc_warnings="-verbose -w0 -warnprotos" 
3882           vl_cv_prog_cc_warnings="-verbose -w0 -warnprotos -std1" 
3885             elif $CC 2>&1 | grep -i "C for AIX Compiler" > /dev/null 2>&1 && 
3886            $CC -c -qlanglvl=ansi -qinfo=all conftest.c > /dev/null 2>&1 && 
3887            test -f conftest.o; then 
3888         if test -z "$ansi"; then 
3889           vl_cv_prog_cc_warnings="-qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" 
3891           vl_cv_prog_cc_warnings="-qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd -qlanglvl=ansi" 
3894             elif $CC -version 2>&1 | grep -i "MIPSpro Compilers" > /dev/null 2>&1 && 
3895            $CC -c -fullwarn -ansi -ansiE conftest.c > /dev/null 2>&1 && 
3896            test -f conftest.o; then 
3897         if test -z "$ansi"; then 
3898           vl_cv_prog_cc_warnings="-fullwarn" 
3900           vl_cv_prog_cc_warnings="-fullwarn -ansi -ansiE" 
3903             elif what $CC 2>&1 | grep -i "HP C Compiler" > /dev/null 2>&1 && 
3904            $CC -c -Aa +w1 conftest.c > /dev/null 2>&1 && 
3905            test -f conftest.o; then 
3906         if test -z "$ansi"; then 
3907           vl_cv_prog_cc_warnings="+w1" 
3909           vl_cv_prog_cc_warnings="+w1 -Aa" 
3912             elif $CC -V 2>&1 | grep "/SX" > /dev/null 2>&1 && 
3913            $CC -c -pvctl,fullmsg -Xc conftest.c > /dev/null 2>&1 && 
3914            test -f conftest.o; then 
3915         if test -z "$ansi"; then 
3916           vl_cv_prog_cc_warnings="-pvctl,fullmsg" 
3918           vl_cv_prog_cc_warnings="-pvctl,fullmsg -Xc" 
3921             elif $CC -V 2>&1 | grep -i "Cray" > /dev/null 2>&1 && 
3922            $CC -c -h msglevel 2 conftest.c > /dev/null 2>&1 && 
3923            test -f conftest.o; then 
3924         if test -z "$ansi"; then 
3925           vl_cv_prog_cc_warnings="-h msglevel 2" 
3927           vl_cv_prog_cc_warnings="-h msglevel 2 -h conform" 
3933     if test -n "$vl_cv_prog_cc_warnings"; then 
3934       CFLAGS="$CFLAGS $vl_cv_prog_cc_warnings" 
3936       vl_cv_prog_cc_warnings="unknown" 
3940 { echo "$as_me:$LINENO: result: $vl_cv_prog_cc_warnings" >&5 
3941 echo "${ECHO_T}$vl_cv_prog_cc_warnings" >&6; } 
3944 # Find a good install program.  We prefer a C program (faster), 
3945 # so one script is as good as another.  But avoid the broken or 
3946 # incompatible versions: 
3947 # SysV /etc/install, /usr/sbin/install 
3948 # SunOS /usr/etc/install 
3949 # IRIX /sbin/install 
3951 # AmigaOS /C/install, which installs bootblocks on floppy discs 
3952 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 
3953 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 
3954 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 
3955 # OS/2's system install, which has a completely different semantic 
3956 # ./install, which can be erroneously created by make from ./install.sh. 
3957 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 
3958 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 
3959 if test -z "$INSTALL"; then 
3960 if test "${ac_cv_path_install+set}" = set; then 
3961   echo $ECHO_N "(cached) $ECHO_C" >&6 
3963   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
3967   test -z "$as_dir" && as_dir=. 
3968   # Account for people who put trailing slashes in PATH elements. 
3970   ./ | .// | /cC/* | \ 
3971   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 
3972   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 
3975     # OSF1 and SCO ODT 3.0 have their own names for install. 
3976     # Don't use installbsd from OSF since it installs stuff as root 
3978     for ac_prog in ginstall scoinst install; do 
3979       for ac_exec_ext in '' $ac_executable_extensions; do 
3980         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 
3981           if test $ac_prog = install && 
3982             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 
3983             # AIX install.  It has an incompatible calling convention. 
3985           elif test $ac_prog = install && 
3986             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 
3987             # program-specific install script used by HP pwplus--don't use. 
3990             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 
4003   if test "${ac_cv_path_install+set}" = set; then 
4004     INSTALL=$ac_cv_path_install 
4006     # As a last resort, use the slow shell script.  Don't cache a 
4007     # value for INSTALL within a source directory, because that will 
4008     # break other packages using the cache if that directory is 
4009     # removed, or if the value is a relative name. 
4010     INSTALL=$ac_install_sh 
4013 { echo "$as_me:$LINENO: result: $INSTALL" >&5 
4014 echo "${ECHO_T}$INSTALL" >&6; } 
4016 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 
4017 # It thinks the first close brace ends the variable substitution. 
4018 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 
4020 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 
4022 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 
4024 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 
4025 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 
4027 if test "$LN_S" = "ln -s"; then 
4028   { echo "$as_me:$LINENO: result: yes" >&5 
4029 echo "${ECHO_T}yes" >&6; } 
4031   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 
4032 echo "${ECHO_T}no, using $LN_S" >&6; } 
4037 macro_version='2.1a' 
4038 macro_revision='1.2248' 
4051 ltmain="$ac_aux_dir/ltmain.sh" 
4061 # Check whether --enable-shared was given. 
4062 if test "${enable_shared+set}" = set; then 
4063   enableval=$enable_shared; p=${PACKAGE-default} 
4065     yes) enable_shared=yes ;; 
4066     no) enable_shared=no ;; 
4069       # Look at the argument we got.  We use all the common list separators. 
4070       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 
4071       for pkg in $enableval; do 
4073         if test "X$pkg" = "X$p"; then 
4092 # Check whether --enable-static was given. 
4093 if test "${enable_static+set}" = set; then 
4094   enableval=$enable_static; p=${PACKAGE-default} 
4096     yes) enable_static=yes ;; 
4097     no) enable_static=no ;; 
4100       # Look at the argument we got.  We use all the common list separators. 
4101       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 
4102       for pkg in $enableval; do 
4104         if test "X$pkg" = "X$p"; then 
4124 # Check whether --with-pic was given. 
4125 if test "${with_pic+set}" = set; then 
4126   withval=$with_pic; pic_mode="$withval" 
4132 test -z "$pic_mode" && pic_mode=default 
4140 # Check whether --enable-fast-install was given. 
4141 if test "${enable_fast_install+set}" = set; then 
4142   enableval=$enable_fast_install; p=${PACKAGE-default} 
4144     yes) enable_fast_install=yes ;; 
4145     no) enable_fast_install=no ;; 
4147       enable_fast_install=no 
4148       # Look at the argument we got.  We use all the common list separators. 
4149       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 
4150       for pkg in $enableval; do 
4152         if test "X$pkg" = "X$p"; then 
4153           enable_fast_install=yes 
4160   enable_fast_install=yes 
4171 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 
4172 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } 
4173 if test "${ac_cv_path_SED+set}" = set; then 
4174   echo $ECHO_N "(cached) $ECHO_C" >&6 
4176             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 
4177      for ac_i in 1 2 3 4 5 6 7; do 
4178        ac_script="$ac_script$as_nl$ac_script" 
4180      echo "$ac_script" | sed 99q >conftest.sed 
4181      $as_unset ac_script || ac_script= 
4182      # Extract the first word of "sed gsed" to use in msg output 
4183 if test -z "$SED"; then 
4184 set dummy sed gsed; ac_prog_name=$2 
4185 if test "${ac_cv_path_SED+set}" = set; then 
4186   echo $ECHO_N "(cached) $ECHO_C" >&6 
4188   ac_path_SED_found=false 
4189 # Loop through the user's path and test for each of PROGNAME-LIST 
4190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
4194   test -z "$as_dir" && as_dir=. 
4195   for ac_prog in sed gsed; do 
4196   for ac_exec_ext in '' $ac_executable_extensions; do 
4197     ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 
4198     { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 
4199     # Check for GNU ac_path_SED and select it if it is found. 
4200   # Check for GNU $ac_path_SED 
4201 case `"$ac_path_SED" --version 2>&1` in 
4203   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 
4206   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
4209     cat "conftest.in" "conftest.in" >"conftest.tmp" 
4210     mv "conftest.tmp" "conftest.in" 
4211     cp "conftest.in" "conftest.nl" 
4212     echo '' >> "conftest.nl" 
4213     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 
4214     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
4215     ac_count=`expr $ac_count + 1` 
4216     if test $ac_count -gt ${ac_path_SED_max-0}; then 
4217       # Best one so far, save it but keep looking for a better one 
4218       ac_cv_path_SED="$ac_path_SED" 
4219       ac_path_SED_max=$ac_count 
4221     # 10*(2^10) chars as input seems more than enough 
4222     test $ac_count -gt 10 && break 
4224   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 
4228     $ac_path_SED_found && break 3 
4238 SED="$ac_cv_path_SED" 
4239 if test -z "$SED"; then 
4240   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 
4241 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 
4242    { (exit 1); exit 1; }; } 
4250 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 
4251 echo "${ECHO_T}$ac_cv_path_SED" >&6; } 
4252  SED="$ac_cv_path_SED" 
4255 test -z "$SED" && SED=sed 
4267 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
4268 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 
4269 if test "${ac_cv_path_GREP+set}" = set; then 
4270   echo $ECHO_N "(cached) $ECHO_C" >&6 
4272   # Extract the first word of "grep ggrep" to use in msg output 
4273 if test -z "$GREP"; then 
4274 set dummy grep ggrep; ac_prog_name=$2 
4275 if test "${ac_cv_path_GREP+set}" = set; then 
4276   echo $ECHO_N "(cached) $ECHO_C" >&6 
4278   ac_path_GREP_found=false 
4279 # Loop through the user's path and test for each of PROGNAME-LIST 
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
4281 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
4284   test -z "$as_dir" && as_dir=. 
4285   for ac_prog in grep ggrep; do 
4286   for ac_exec_ext in '' $ac_executable_extensions; do 
4287     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
4288     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
4289     # Check for GNU ac_path_GREP and select it if it is found. 
4290   # Check for GNU $ac_path_GREP 
4291 case `"$ac_path_GREP" --version 2>&1` in 
4293   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 
4296   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
4299     cat "conftest.in" "conftest.in" >"conftest.tmp" 
4300     mv "conftest.tmp" "conftest.in" 
4301     cp "conftest.in" "conftest.nl" 
4302     echo 'GREP' >> "conftest.nl" 
4303     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
4304     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
4305     ac_count=`expr $ac_count + 1` 
4306     if test $ac_count -gt ${ac_path_GREP_max-0}; then 
4307       # Best one so far, save it but keep looking for a better one 
4308       ac_cv_path_GREP="$ac_path_GREP" 
4309       ac_path_GREP_max=$ac_count 
4311     # 10*(2^10) chars as input seems more than enough 
4312     test $ac_count -gt 10 && break 
4314   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 
4318     $ac_path_GREP_found && break 3 
4328 GREP="$ac_cv_path_GREP" 
4329 if test -z "$GREP"; then 
4330   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
4331 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
4332    { (exit 1); exit 1; }; } 
4336   ac_cv_path_GREP=$GREP 
4341 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
4342 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 
4343  GREP="$ac_cv_path_GREP" 
4346 { echo "$as_me:$LINENO: checking for egrep" >&5 
4347 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 
4348 if test "${ac_cv_path_EGREP+set}" = set; then 
4349   echo $ECHO_N "(cached) $ECHO_C" >&6 
4351   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
4352    then ac_cv_path_EGREP="$GREP -E" 
4354      # Extract the first word of "egrep" to use in msg output 
4355 if test -z "$EGREP"; then 
4356 set dummy egrep; ac_prog_name=$2 
4357 if test "${ac_cv_path_EGREP+set}" = set; then 
4358   echo $ECHO_N "(cached) $ECHO_C" >&6 
4360   ac_path_EGREP_found=false 
4361 # Loop through the user's path and test for each of PROGNAME-LIST 
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
4363 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
4366   test -z "$as_dir" && as_dir=. 
4367   for ac_prog in egrep; do 
4368   for ac_exec_ext in '' $ac_executable_extensions; do 
4369     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
4370     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
4371     # Check for GNU ac_path_EGREP and select it if it is found. 
4372   # Check for GNU $ac_path_EGREP 
4373 case `"$ac_path_EGREP" --version 2>&1` in 
4375   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 
4378   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
4381     cat "conftest.in" "conftest.in" >"conftest.tmp" 
4382     mv "conftest.tmp" "conftest.in" 
4383     cp "conftest.in" "conftest.nl" 
4384     echo 'EGREP' >> "conftest.nl" 
4385     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
4386     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
4387     ac_count=`expr $ac_count + 1` 
4388     if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
4389       # Best one so far, save it but keep looking for a better one 
4390       ac_cv_path_EGREP="$ac_path_EGREP" 
4391       ac_path_EGREP_max=$ac_count 
4393     # 10*(2^10) chars as input seems more than enough 
4394     test $ac_count -gt 10 && break 
4396   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 
4400     $ac_path_EGREP_found && break 3 
4410 EGREP="$ac_cv_path_EGREP" 
4411 if test -z "$EGREP"; then 
4412   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
4413 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
4414    { (exit 1); exit 1; }; } 
4418   ac_cv_path_EGREP=$EGREP 
4424 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
4425 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 
4426  EGREP="$ac_cv_path_EGREP" 
4429 { echo "$as_me:$LINENO: checking for fgrep" >&5 
4430 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; } 
4431 if test "${ac_cv_path_FGREP+set}" = set; then 
4432   echo $ECHO_N "(cached) $ECHO_C" >&6 
4434   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 
4435    then ac_cv_path_FGREP="$GREP -F" 
4437      # Extract the first word of "fgrep" to use in msg output 
4438 if test -z "$FGREP"; then 
4439 set dummy fgrep; ac_prog_name=$2 
4440 if test "${ac_cv_path_FGREP+set}" = set; then 
4441   echo $ECHO_N "(cached) $ECHO_C" >&6 
4443   ac_path_FGREP_found=false 
4444 # Loop through the user's path and test for each of PROGNAME-LIST 
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
4446 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
4449   test -z "$as_dir" && as_dir=. 
4450   for ac_prog in fgrep; do 
4451   for ac_exec_ext in '' $ac_executable_extensions; do 
4452     ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 
4453     { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 
4454     # Check for GNU ac_path_FGREP and select it if it is found. 
4455   # Check for GNU $ac_path_FGREP 
4456 case `"$ac_path_FGREP" --version 2>&1` in 
4458   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 
4461   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
4464     cat "conftest.in" "conftest.in" >"conftest.tmp" 
4465     mv "conftest.tmp" "conftest.in" 
4466     cp "conftest.in" "conftest.nl" 
4467     echo 'FGREP' >> "conftest.nl" 
4468     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 
4469     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
4470     ac_count=`expr $ac_count + 1` 
4471     if test $ac_count -gt ${ac_path_FGREP_max-0}; then 
4472       # Best one so far, save it but keep looking for a better one 
4473       ac_cv_path_FGREP="$ac_path_FGREP" 
4474       ac_path_FGREP_max=$ac_count 
4476     # 10*(2^10) chars as input seems more than enough 
4477     test $ac_count -gt 10 && break 
4479   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 
4483     $ac_path_FGREP_found && break 3 
4493 FGREP="$ac_cv_path_FGREP" 
4494 if test -z "$FGREP"; then 
4495   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
4496 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
4497    { (exit 1); exit 1; }; } 
4501   ac_cv_path_FGREP=$FGREP 
4507 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 
4508 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; } 
4509  FGREP="$ac_cv_path_FGREP" 
4512 test -z "$GREP" && GREP=grep 
4532 # Check whether --with-gnu-ld was given. 
4533 if test "${with_gnu_ld+set}" = set; then 
4534   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 
4540 if test "$GCC" = yes; then 
4541   # Check if gcc -print-prog-name=ld gives a path. 
4542   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 
4543 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } 
4546     # gcc leaves a trailing carriage return which upsets mingw 
4547     ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;; 
4549     ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;; 
4552     # Accept absolute paths. 
4554       re_direlt='/[^/][^/]*/\.\./' 
4555       # Canonicalize the pathname of ld 
4556       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 
4557       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 
4558         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 
4560       test -z "$LD" && LD="$ac_prog" 
4563     # If it fails, then pretend we aren't using GCC. 
4567     # If it is relative, then search for the first ld in PATH. 
4571 elif test "$with_gnu_ld" = yes; then 
4572   { echo "$as_me:$LINENO: checking for GNU ld" >&5 
4573 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 
4575   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 
4576 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 
4578 if test "${lt_cv_path_LD+set}" = set; then 
4579   echo $ECHO_N "(cached) $ECHO_C" >&6 
4581   if test -z "$LD"; then 
4582   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
4583   for ac_dir in $PATH; do 
4585     test -z "$ac_dir" && ac_dir=. 
4586     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 
4587       lt_cv_path_LD="$ac_dir/$ac_prog" 
4588       # Check to see if the program is GNU ld.  I'd rather use --version, 
4589       # but apparently some variants of GNU ld only accept -v. 
4590       # Break only if it was the GNU/non-GNU ld that we prefer. 
4591       case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in 
4592       *GNU* | *'with BFD'*) 
4593         test "$with_gnu_ld" != no && break 
4596         test "$with_gnu_ld" != yes && break 
4603   lt_cv_path_LD="$LD" # Let the user override the test with a path. 
4608 if test -n "$LD"; then 
4609   { echo "$as_me:$LINENO: result: $LD" >&5 
4610 echo "${ECHO_T}$LD" >&6; } 
4612   { echo "$as_me:$LINENO: result: no" >&5 
4613 echo "${ECHO_T}no" >&6; } 
4615 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 
4616 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 
4617    { (exit 1); exit 1; }; } 
4618 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 
4619 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 
4620 if test "${lt_cv_prog_gnu_ld+set}" = set; then 
4621   echo $ECHO_N "(cached) $ECHO_C" >&6 
4623   # I'd rather use --version here, but apparently some GNU lds only accept -v. 
4624 case `$LD -v 2>&1 </dev
/null
` in 
4625 *GNU* | *'with BFD'*) 
4626   lt_cv_prog_gnu_ld=yes 
4629   lt_cv_prog_gnu_ld=no 
4633 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 
4634 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } 
4635 with_gnu_ld=$lt_cv_prog_gnu_ld 
4646 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 
4647 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; } 
4648 if test "${lt_cv_path_NM+set}" = set; then 
4649   echo $ECHO_N "(cached) $ECHO_C" >&6 
4651   if test -n "$NM"; then 
4652   # Let the user override the test. 
4655   lt_nm_to_check="${ac_tool_prefix}nm" 
4656   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
4657     lt_nm_to_check="$lt_nm_to_check nm" 
4659   for lt_tmp_nm in $lt_nm_to_check; do 
4660     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
4661     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 
4663       test -z "$ac_dir" && ac_dir=. 
4664       tmp_nm="$ac_dir/$lt_tmp_nm" 
4665       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 
4666         # Check to see if the nm accepts a BSD-compat flag. 
4667         # Adding the `sed 1q
' prevents false positives on HP-UX, which says: 
4668         #   nm: unknown option "B" ignored 
4669         # Tru64's nm complains that 
/dev
/null is an invalid object 
file 
4670         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 
4671         */dev
/null
* | *'Invalid file or object type'*) 
4672           lt_cv_path_NM
="$tmp_nm -B" 
4676           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 
4678             lt_cv_path_NM
="$tmp_nm -p" 
4682             lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 
4683             continue # so that we can try to find one that supports BSD flags 
4692   : ${lt_cv_path_NM=no} 
4695 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 
4696 echo "${ECHO_T}$lt_cv_path_NM" >&6; } 
4697 if test "$lt_cv_path_NM" != "no"; then 
4700   # Didn't find any BSD compatible name lister, look for dumpbin. 
4701   if test -n "$ac_tool_prefix"; then 
4702   for ac_prog 
in "dumpbin -symbols" "link -dump -symbols" 
4704     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
4705 set dummy 
$ac_tool_prefix$ac_prog; ac_word
=$2 
4706 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
4707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
4708 if test "${ac_cv_prog_DUMPBIN+set}" = set; then 
4709   echo $ECHO_N "(cached) $ECHO_C" >&6 
4711   if test -n "$DUMPBIN"; then 
4712   ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test. 
4714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4718   test -z "$as_dir" && as_dir
=.
 
4719   for ac_exec_ext 
in '' $ac_executable_extensions; do 
4720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
4721     ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog" 
4722     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
4731 DUMPBIN
=$ac_cv_prog_DUMPBIN 
4732 if test -n "$DUMPBIN"; then 
4733   { echo "$as_me:$LINENO: result: $DUMPBIN" >&5 
4734 echo "${ECHO_T}$DUMPBIN" >&6; } 
4736   { echo "$as_me:$LINENO: result: no" >&5 
4737 echo "${ECHO_T}no" >&6; } 
4741     test -n "$DUMPBIN" && break 
4744 if test -z "$DUMPBIN"; then 
4745   ac_ct_DUMPBIN
=$DUMPBIN 
4746   for ac_prog 
in "dumpbin -symbols" "link -dump -symbols" 
4748   # Extract the first word of "$ac_prog", so it can be a program name with args. 
4749 set dummy 
$ac_prog; ac_word
=$2 
4750 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
4751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
4752 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 
4753   echo $ECHO_N "(cached) $ECHO_C" >&6 
4755   if test -n "$ac_ct_DUMPBIN"; then 
4756   ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test. 
4758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4762   test -z "$as_dir" && as_dir
=.
 
4763   for ac_exec_ext 
in '' $ac_executable_extensions; do 
4764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
4765     ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog" 
4766     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
4775 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN 
4776 if test -n "$ac_ct_DUMPBIN"; then 
4777   { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 
4778 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; } 
4780   { echo "$as_me:$LINENO: result: no" >&5 
4781 echo "${ECHO_T}no" >&6; } 
4785   test -n "$ac_ct_DUMPBIN" && break 
4788   if test "x$ac_ct_DUMPBIN" = x
; then 
4791     case $cross_compiling:$ac_tool_warned in 
4793 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
4794 whose name does not start with the host triplet.  If you think this 
4795 configuration is useful to you, please write to autoconf@gnu.org." >&5 
4796 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
4797 whose name does not start with the host triplet.  If you think this 
4798 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
4799 ac_tool_warned
=yes ;; 
4801     DUMPBIN
=$ac_ct_DUMPBIN 
4806   if test "$DUMPBIN" != ":"; then 
4810 test -z "$NM" && NM
=nm
 
4817 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 
4818 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; } 
4819 if test "${lt_cv_nm_interface+set}" = set; then 
4820   echo $ECHO_N "(cached) $ECHO_C" >&6 
4822   lt_cv_nm_interface
="BSD nm" 
4823   echo "int some_variable = 0;" > conftest.
$ac_ext 
4824   (eval echo "\"\$as_me:4824: $ac_compile\"" >&5) 
4825   (eval "$ac_compile" 2>conftest.err
) 
4826   cat conftest.err 
>&5 
4827   (eval echo "\"\$as_me:4827: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 
4828   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err 
> conftest.out
) 
4829   cat conftest.err 
>&5 
4830   (eval echo "\"\$as_me:4830: output\"" >&5) 
4831   cat conftest.out 
>&5 
4832   if $GREP 'External.*some_variable' conftest.out 
> /dev
/null
; then 
4833     lt_cv_nm_interface
="MS dumpbin" 
4837 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 
4838 echo "${ECHO_T}$lt_cv_nm_interface" >&6; } 
4840 # find the maximum length of command line arguments 
4841 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 
4842 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } 
4843 if test "${lt_cv_sys_max_cmd_len+set}" = set; then 
4844   echo $ECHO_N "(cached) $ECHO_C" >&6 
4851     # On DJGPP, this test can blow up pretty badly due to problems in libc 
4852     # (any single argument exceeding 2000 bytes causes a buffer overrun 
4853     # during glob expansion).  Even if it were fixed, the result of this 
4854     # check would be larger than it should be. 
4855     lt_cv_sys_max_cmd_len
=12288;    # 12K is about right 
4859     # Under GNU Hurd, this test is not required because there is 
4860     # no limit to the length of command line arguments. 
4861     # Libtool will interpret -1 as no limit whatsoever 
4862     lt_cv_sys_max_cmd_len
=-1; 
4866     # On Win9x/ME, this test blows up -- it succeeds, but takes 
4867     # about 5 minutes as the teststring grows exponentially. 
4868     # Worse, since 9x/ME are not pre-emptively multitasking, 
4869     # you end up with a "frozen" computer, even though with patience 
4870     # the test eventually succeeds (with a max line length of 256k). 
4871     # Instead, let's just punt: use the minimum linelength reported by 
4872     # all of the supported platforms: 8192 (on NT/2K/XP). 
4873     lt_cv_sys_max_cmd_len
=8192; 
4877     # On AmigaOS with pdksh, this test takes hours, literally. 
4878     # So we just punt and use a minimum line length of 8192. 
4879     lt_cv_sys_max_cmd_len
=8192; 
4882   netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*) 
4883     # This has been around since 386BSD, at least.  Likely further. 
4884     if test -x /sbin
/sysctl
; then 
4885       lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax` 
4886     elif test -x /usr
/sbin
/sysctl
; then 
4887       lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax` 
4889       lt_cv_sys_max_cmd_len
=65536       # usable default for all BSDs 
4891     # And add a safety zone 
4892     lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4` 
4893     lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3` 
4897     # We know the value 262144 and hardcode it with a safety zone (like BSD) 
4898     lt_cv_sys_max_cmd_len
=196608 
4902     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 
4903     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 
4904     # nice to cause kernel panics so lets avoid the loop below. 
4905     # First set a reasonable default. 
4906     lt_cv_sys_max_cmd_len
=16384 
4908     if test -x /sbin
/sysconfig
; then 
4909       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 
4910         *1*) lt_cv_sys_max_cmd_len
=-1 ;; 
4915     lt_cv_sys_max_cmd_len
=102400 
4917   sysv5
* | sco5v6
* | sysv4.2uw2
*) 
4918     kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 
4919     if test -n "$kargmax"; then 
4920       lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[         ]//'` 
4922       lt_cv_sys_max_cmd_len
=32768 
4926     # Make teststring a little bigger before we do anything with it. 
4927     # a 1K string should be a reasonable start. 
4928     for i 
in 1 2 3 4 5 6 7 8 ; do 
4929       teststring
=$teststring$teststring 
4931     SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}} 
4932     # If test is not a shell built-in, we'll probably end up computing a 
4933     # maximum length that is only half of the actual maximum length, but 
4935     while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4936                = "XX$teststring$teststring"; } >/dev
/null 
2>&1 && 
4937             test $i != 17 # 1/2 MB should be enough 
4940       teststring
=$teststring$teststring 
4942     # Only check the string length outside the loop. 
4943     lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1` 
4945     # Add a significant safety factor because C++ compilers can tack on massive 
4946     # amounts of additional arguments before passing them to the linker. 
4947     # It appears as though 1/2 is a usable value. 
4948     lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2` 
4954 if test -n $lt_cv_sys_max_cmd_len ; then 
4955   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 
4956 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } 
4958   { echo "$as_me:$LINENO: result: none" >&5 
4959 echo "${ECHO_T}none" >&6; } 
4961 max_cmd_len
=$lt_cv_sys_max_cmd_len 
4973 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 
4974 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; } 
4975 # Try some XSI features 
4978   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4979       = c
,a
/b
,, ) >/dev
/null 
2>&1 \
 
4981 { echo "$as_me:$LINENO: result: $xsi_shell" >&5 
4982 echo "${ECHO_T}$xsi_shell" >&6; } 
4985 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 
4986 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } 
4987 if test "${lt_cv_ld_reload_flag+set}" = set; then 
4988   echo $ECHO_N "(cached) $ECHO_C" >&6 
4990   lt_cv_ld_reload_flag
='-r' 
4992 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 
4993 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } 
4994 reload_flag
=$lt_cv_ld_reload_flag 
4995 case $reload_flag in 
4997 *) reload_flag
=" $reload_flag" ;; 
4999 reload_cmds
='$LD$reload_flag -o $output$reload_objs' 
5002     if test "$GCC" = yes; then 
5003       reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 
5005       reload_cmds
='$LD$reload_flag -o $output$reload_objs' 
5019 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 
5020 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; } 
5021 if test "${lt_cv_deplibs_check_method+set}" = set; then 
5022   echo $ECHO_N "(cached) $ECHO_C" >&6 
5024   lt_cv_file_magic_cmd
='$MAGIC_CMD' 
5025 lt_cv_file_magic_test_file
= 
5026 lt_cv_deplibs_check_method
='unknown' 
5027 # Need to set the preceding variable on all platforms that support 
5028 # interlibrary dependencies. 
5029 # 'none' -- dependencies not supported. 
5030 # `unknown' -- same as none, but documents that we really don't know. 
5031 # 'pass_all' -- all dependencies passed with no checks. 
5032 # 'test_compile' -- check by making test program. 
5033 # 'file_magic [[regex]]' -- check by looking for files in library path 
5034 # which responds to the $file_magic_cmd with a given extended regex. 
5035 # If you have `file' or equivalent on your system and you're not sure 
5036 # whether `pass_all' will *always* work, you probably want this one. 
5040   lt_cv_deplibs_check_method
=pass_all
 
5044   lt_cv_deplibs_check_method
=pass_all
 
5048   lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 
5049   lt_cv_file_magic_cmd
='/usr/bin/file -L' 
5050   lt_cv_file_magic_test_file
=/shlib
/libc.so
 
5054   # func_win32_libid is a shell function defined in ltmain.sh 
5055   lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL' 
5056   lt_cv_file_magic_cmd
='func_win32_libid' 
5059   # Base MSYS/MinGW do not provide the 'file' command needed by 
5060   # func_win32_libid shell function, so use a weaker test based on 'objdump'. 
5062   lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?' 
5063   lt_cv_file_magic_cmd
='$OBJDUMP -f' 
5066 darwin
* | rhapsody
*) 
5067   lt_cv_deplibs_check_method
=pass_all
 
5070 freebsd
* | kfreebsd
*-gnu | dragonfly
*) 
5071   if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
> /dev
/null
; then 
5074       # Not sure whether the presence of OpenBSD here was a mistake. 
5075       # Let's accept both of them until this is cleared up. 
5076       lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 
5077       lt_cv_file_magic_cmd
=/usr
/bin
/file 
5078       lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*` 
5082     lt_cv_deplibs_check_method
=pass_all
 
5087   lt_cv_deplibs_check_method
=pass_all
 
5090 hpux10.20
* | hpux11
*) 
5091   lt_cv_file_magic_cmd
=/usr
/bin
/file 
5094     lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 
5095     lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
 
5098     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]' 
5099     lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
 
5102     lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 
5103     lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
 
5109   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 
5110   lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$' 
5113 irix5
* | irix6
* | nonstopux
*) 
5115   *-32|*"-32 ") libmagic
=32-bit;; 
5116   *-n32|*"-n32 ") libmagic
=N32
;; 
5117   *-64|*"-64 ") libmagic
=64-bit;; 
5118   *) libmagic
=never
-match;; 
5120   lt_cv_deplibs_check_method
=pass_all
 
5123 # This must be Linux ELF. 
5125   lt_cv_deplibs_check_method
=pass_all
 
5128 netbsd
* | knetbsd
*-gnu) 
5129   if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
> /dev
/null
; then 
5130     lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 
5132     lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$' 
5137   lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 
5138   lt_cv_file_magic_cmd
=/usr
/bin
/file 
5139   lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
 
5143   lt_cv_deplibs_check_method
=pass_all
 
5147   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
5148     lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 
5150     lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 
5154 osf3
* | osf4
* | osf5
*) 
5155   lt_cv_deplibs_check_method
=pass_all
 
5159   lt_cv_deplibs_check_method
=pass_all
 
5163   lt_cv_deplibs_check_method
=pass_all
 
5166 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*) 
5167   lt_cv_deplibs_check_method
=pass_all
 
5171   case $host_vendor in 
5173     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]' 
5174     lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*` 
5177     lt_cv_deplibs_check_method
=pass_all
 
5180     lt_cv_file_magic_cmd
='/bin/file' 
5181     lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 
5184     lt_cv_file_magic_cmd
='/bin/file' 
5185     lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 
5186     lt_cv_file_magic_test_file
=/lib
/libc.so
 
5189     lt_cv_deplibs_check_method
=pass_all
 
5192     lt_cv_deplibs_check_method
=pass_all
 
5198   lt_cv_deplibs_check_method
=pass_all
 
5203 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 
5204 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } 
5205 file_magic_cmd
=$lt_cv_file_magic_cmd 
5206 deplibs_check_method
=$lt_cv_deplibs_check_method 
5207 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
 
5220 if test -n "$ac_tool_prefix"; then 
5221   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 
5222 set dummy 
${ac_tool_prefix}ar; ac_word
=$2 
5223 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
5225 if test "${ac_cv_prog_AR+set}" = set; then 
5226   echo $ECHO_N "(cached) $ECHO_C" >&6 
5228   if test -n "$AR"; then 
5229   ac_cv_prog_AR
="$AR" # Let the user override the test. 
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5235   test -z "$as_dir" && as_dir
=.
 
5236   for ac_exec_ext 
in '' $ac_executable_extensions; do 
5237   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5238     ac_cv_prog_AR
="${ac_tool_prefix}ar" 
5239     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
5249 if test -n "$AR"; then 
5250   { echo "$as_me:$LINENO: result: $AR" >&5 
5251 echo "${ECHO_T}$AR" >&6; } 
5253   { echo "$as_me:$LINENO: result: no" >&5 
5254 echo "${ECHO_T}no" >&6; } 
5259 if test -z "$ac_cv_prog_AR"; then 
5261   # Extract the first word of "ar", so it can be a program name with args. 
5262 set dummy 
ar; ac_word
=$2 
5263 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
5264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
5265 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 
5266   echo $ECHO_N "(cached) $ECHO_C" >&6 
5268   if test -n "$ac_ct_AR"; then 
5269   ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test. 
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5275   test -z "$as_dir" && as_dir
=.
 
5276   for ac_exec_ext 
in '' $ac_executable_extensions; do 
5277   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5278     ac_cv_prog_ac_ct_AR
="ar" 
5279     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
5288 ac_ct_AR
=$ac_cv_prog_ac_ct_AR 
5289 if test -n "$ac_ct_AR"; then 
5290   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 
5291 echo "${ECHO_T}$ac_ct_AR" >&6; } 
5293   { echo "$as_me:$LINENO: result: no" >&5 
5294 echo "${ECHO_T}no" >&6; } 
5297   if test "x$ac_ct_AR" = x
; then 
5300     case $cross_compiling:$ac_tool_warned in 
5302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
5303 whose name does not start with the host triplet.  If you think this 
5304 configuration is useful to you, please write to autoconf@gnu.org." >&5 
5305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
5306 whose name does not start with the host triplet.  If you think this 
5307 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
5308 ac_tool_warned
=yes ;; 
5316 test -z "$AR" && AR
=ar 
5317 test -z "$AR_FLAGS" && AR_FLAGS
=cru
 
5329 if test -n "$ac_tool_prefix"; then 
5330   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 
5331 set dummy 
${ac_tool_prefix}strip
; ac_word
=$2 
5332 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
5333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
5334 if test "${ac_cv_prog_STRIP+set}" = set; then 
5335   echo $ECHO_N "(cached) $ECHO_C" >&6 
5337   if test -n "$STRIP"; then 
5338   ac_cv_prog_STRIP
="$STRIP" # Let the user override the test. 
5340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5344   test -z "$as_dir" && as_dir
=.
 
5345   for ac_exec_ext 
in '' $ac_executable_extensions; do 
5346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5347     ac_cv_prog_STRIP
="${ac_tool_prefix}strip" 
5348     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
5357 STRIP
=$ac_cv_prog_STRIP 
5358 if test -n "$STRIP"; then 
5359   { echo "$as_me:$LINENO: result: $STRIP" >&5 
5360 echo "${ECHO_T}$STRIP" >&6; } 
5362   { echo "$as_me:$LINENO: result: no" >&5 
5363 echo "${ECHO_T}no" >&6; } 
5368 if test -z "$ac_cv_prog_STRIP"; then 
5370   # Extract the first word of "strip", so it can be a program name with args. 
5371 set dummy strip
; ac_word
=$2 
5372 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
5373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
5374 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 
5375   echo $ECHO_N "(cached) $ECHO_C" >&6 
5377   if test -n "$ac_ct_STRIP"; then 
5378   ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test. 
5380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5384   test -z "$as_dir" && as_dir
=.
 
5385   for ac_exec_ext 
in '' $ac_executable_extensions; do 
5386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5387     ac_cv_prog_ac_ct_STRIP
="strip" 
5388     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
5397 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP 
5398 if test -n "$ac_ct_STRIP"; then 
5399   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 
5400 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 
5402   { echo "$as_me:$LINENO: result: no" >&5 
5403 echo "${ECHO_T}no" >&6; } 
5406   if test "x$ac_ct_STRIP" = x
; then 
5409     case $cross_compiling:$ac_tool_warned in 
5411 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
5412 whose name does not start with the host triplet.  If you think this 
5413 configuration is useful to you, please write to autoconf@gnu.org." >&5 
5414 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
5415 whose name does not start with the host triplet.  If you think this 
5416 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
5417 ac_tool_warned
=yes ;; 
5422   STRIP
="$ac_cv_prog_STRIP" 
5425 test -z "$STRIP" && STRIP
=: 
5432 if test -n "$ac_tool_prefix"; then 
5433   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 
5434 set dummy 
${ac_tool_prefix}ranlib
; ac_word
=$2 
5435 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
5436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
5437 if test "${ac_cv_prog_RANLIB+set}" = set; then 
5438   echo $ECHO_N "(cached) $ECHO_C" >&6 
5440   if test -n "$RANLIB"; then 
5441   ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test. 
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5447   test -z "$as_dir" && as_dir
=.
 
5448   for ac_exec_ext 
in '' $ac_executable_extensions; do 
5449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5450     ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib" 
5451     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
5460 RANLIB
=$ac_cv_prog_RANLIB 
5461 if test -n "$RANLIB"; then 
5462   { echo "$as_me:$LINENO: result: $RANLIB" >&5 
5463 echo "${ECHO_T}$RANLIB" >&6; } 
5465   { echo "$as_me:$LINENO: result: no" >&5 
5466 echo "${ECHO_T}no" >&6; } 
5471 if test -z "$ac_cv_prog_RANLIB"; then 
5472   ac_ct_RANLIB
=$RANLIB 
5473   # Extract the first word of "ranlib", so it can be a program name with args. 
5474 set dummy ranlib
; ac_word
=$2 
5475 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
5476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
5477 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 
5478   echo $ECHO_N "(cached) $ECHO_C" >&6 
5480   if test -n "$ac_ct_RANLIB"; then 
5481   ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test. 
5483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5487   test -z "$as_dir" && as_dir
=.
 
5488   for ac_exec_ext 
in '' $ac_executable_extensions; do 
5489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5490     ac_cv_prog_ac_ct_RANLIB
="ranlib" 
5491     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
5500 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB 
5501 if test -n "$ac_ct_RANLIB"; then 
5502   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 
5503 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 
5505   { echo "$as_me:$LINENO: result: no" >&5 
5506 echo "${ECHO_T}no" >&6; } 
5509   if test "x$ac_ct_RANLIB" = x
; then 
5512     case $cross_compiling:$ac_tool_warned in 
5514 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
5515 whose name does not start with the host triplet.  If you think this 
5516 configuration is useful to you, please write to autoconf@gnu.org." >&5 
5517 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
5518 whose name does not start with the host triplet.  If you think this 
5519 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
5520 ac_tool_warned
=yes ;; 
5522     RANLIB
=$ac_ct_RANLIB 
5525   RANLIB
="$ac_cv_prog_RANLIB" 
5528 test -z "$RANLIB" && RANLIB
=: 
5535 # Determine commands to create old-style static archives. 
5536 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' 
5537 old_postinstall_cmds
='chmod 644 $oldlib' 
5538 old_postuninstall_cmds
= 
5540 if test -n "$RANLIB"; then 
5543     old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 
5546     old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib" 
5549   old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib" 
5585 # If no C compiler was specified, use CC. 
5588 # If no C compiler flags were specified, use CFLAGS. 
5589 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"} 
5591 # Allow CC to be a program name with arguments. 
5595 # Check for command to grab the raw symbol name followed by C symbol from nm. 
5596 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 
5597 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } 
5598 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 
5599   echo $ECHO_N "(cached) $ECHO_C" >&6 
5602 # These are sane defaults that work on at least a few old systems. 
5603 # [They come from Ultrix.  What could be older than Ultrix?!! ;)] 
5605 # Character class describing NM global symbol codes. 
5606 symcode
='[BCDEGRST]' 
5608 # Regexp to match symbols that can be accessed directly from C. 
5609 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)' 
5611 # Define system-specific variables. 
5616 cygwin
* | mingw
* | pw32
*) 
5617   symcode
='[ABCDGISTW]' 
5620   if test "$host_cpu" = ia64
; then 
5621     symcode
='[ABCDEGRST]' 
5625   symcode
='[BCDEGRST]' 
5628   symcode
='[BCDEGQRST]' 
5639 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*) 
5647 # If we're using GNU nm, then use its standard symbol codes. 
5648 case `$NM -V 2>&1` in 
5649 *GNU
* | *'with BFD'*) 
5650   symcode
='[ABCDGIRSTW]' ;; 
5653 # Transform an extracted symbol line into a proper C declaration. 
5654 # Some systems (esp. on ia64) link data and code symbols differently, 
5655 # so use this general approach. 
5656 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 
5658 # Transform an extracted symbol line into symbol name and symbol address 
5659 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'" 
5661 # Handle CRLF in mingw tool chain 
5665   opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 
5669 # Try without a prefix underscore, then with it. 
5670 for ac_symprfx 
in "" "_"; do 
5672   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 
5673   symxfrm
="\\1 $ac_symprfx\\2 \\2" 
5675   # Write the raw and C identifiers. 
5676   if test "$lt_cv_nm_interface" = "MS dumpbin"; then 
5677     # Fake it for dumpbin and say T for any non-static function 
5678     # and D for any global variable. 
5679     # Also find C++ and __fastcall symbols from MSVC++, 
5680     # which start with @ or ?. 
5681     lt_cv_sys_global_symbol_pipe
="$AWK '"\
 
5682 "     {last_section=section; section=\$ 3};"\
 
5683 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5684 "     \$ 0!~/External *\|/{next};"\
 
5685 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5686 "     {if(hide[section]) next};"\
 
5687 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5688 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5689 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5690 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5691 "     ' prfx=^$ac_symprfx" 
5693     lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 
5696   # Check to see that the pipe works correctly. 
5700   cat > conftest.
$ac_ext <<_LT_EOF 
5705 void nm_test_func(){} 
5709 int main(){nm_test_var='a';nm_test_func();return(0);} 
5712   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
5713   (eval $ac_compile) 2>&5 
5715   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
5716   (exit $ac_status); }; then 
5717     # Now try to grab the symbols. 
5719     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 
5720   (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5 
5722   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
5723   (exit $ac_status); } && test -s "$nlist"; then 
5724       # Try sorting and uniquifying the output. 
5725       if sort "$nlist" | uniq > "$nlist"T
; then 
5726         mv -f "$nlist"T 
"$nlist" 
5731       # Make sure that we snagged all the symbols we need. 
5732       if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then 
5733         if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then 
5734           cat <<_LT_EOF > conftest.$ac_ext 
5740           # Now generate the symbol file. 
5741           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 
5743           cat <<_LT_EOF >> conftest.$ac_ext 
5745 /* The mapping between symbol names and symbols.  */ 
5750 lt__PROGRAM__LTX_preloaded_symbols[] = 
5752   { "@PROGRAM@", (void *) 0 }, 
5754           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main 
>> conftest.
$ac_ext 
5755           cat <<\_LT_EOF 
>> conftest.
$ac_ext 
5759 /* This works around a problem 
in FreeBSD linker 
*/ 
5760 #ifdef FREEBSD_WORKAROUND 
5761 static const void 
*lt_preloaded_setup
() { 
5762   return lt__PROGRAM__LTX_preloaded_symbols
; 
5770           # Now try linking the two files. 
5771           mv conftest.
$ac_objext conftstm.
$ac_objext 
5772           lt_save_LIBS
="$LIBS" 
5773           lt_save_CFLAGS
="$CFLAGS" 
5774           LIBS
="conftstm.$ac_objext" 
5775           CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag" 
5776           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
5777   (eval $ac_link) 2>&5 
5779   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
5780   (exit $ac_status); } && test -s conftest
${ac_exeext}; then 
5783           LIBS
="$lt_save_LIBS" 
5784           CFLAGS
="$lt_save_CFLAGS" 
5786           echo "cannot find nm_test_func in $nlist" >&5 
5789         echo "cannot find nm_test_var in $nlist" >&5 
5792       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 
5795     echo "$progname: failed program was:" >&5 
5796     cat conftest.
$ac_ext >&5 
5798   rm -f conftest
* conftst
* 
5800   # Do not use the global_symbol_pipe unless it works. 
5801   if test "$pipe_works" = yes; then 
5804     lt_cv_sys_global_symbol_pipe
= 
5810 if test -z "$lt_cv_sys_global_symbol_pipe"; then 
5811   lt_cv_sys_global_symbol_to_cdecl
= 
5813 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 
5814   { echo "$as_me:$LINENO: result: failed" >&5 
5815 echo "${ECHO_T}failed" >&6; } 
5817   { echo "$as_me:$LINENO: result: ok" >&5 
5818 echo "${ECHO_T}ok" >&6; } 
5838 # Check whether --enable-libtool-lock was given. 
5839 if test "${enable_libtool_lock+set}" = set; then 
5840   enableval
=$enable_libtool_lock; 
5843 test "x$enable_libtool_lock" != xno 
&& enable_libtool_lock
=yes 
5845 # Some flags need to be propagated to the compiler or linker for good 
5849   # Find out which ABI we are using. 
5850   echo 'int i;' > conftest.
$ac_ext 
5851   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
5852   (eval $ac_compile) 2>&5 
5854   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
5855   (exit $ac_status); }; then 
5856     case `/usr/bin/file conftest.$ac_objext` in 
5868   # Find out which ABI we are using. 
5869   echo '#line 5869 "configure"' > conftest.
$ac_ext 
5870   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
5871   (eval $ac_compile) 2>&5 
5873   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
5874   (exit $ac_status); }; then 
5875     if test "$lt_cv_prog_gnu_ld" = yes; then 
5876       case `/usr/bin/file conftest.$ac_objext` in 
5878           LD
="${LD-ld} -melf32bsmip" 
5881           LD
="${LD-ld} -melf32bmipn32" 
5884           LD
="${LD-ld} -melf64bmip" 
5888       case `/usr/bin/file conftest.$ac_objext` in 
5904 x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*) 
5905   # Find out which ABI we are using. 
5906   echo 'int i;' > conftest.
$ac_ext 
5907   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
5908   (eval $ac_compile) 2>&5 
5910   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
5911   (exit $ac_status); }; then 
5912     case `/usr/bin/file conftest.o` in 
5916             LD
="${LD-ld} -m elf_i386" 
5918           ppc64
-*linux
*|powerpc64
-*linux
*) 
5919             LD
="${LD-ld} -m elf32ppclinux" 
5922             LD
="${LD-ld} -m elf_s390" 
5925             LD
="${LD-ld} -m elf32_sparc" 
5932             LD
="${LD-ld} -m elf_x86_64" 
5934           ppc
*-*linux
*|powerpc
*-*linux
*) 
5935             LD
="${LD-ld} -m elf64ppc" 
5937           s390
*-*linux
*|s390
*-*tpf
*) 
5938             LD
="${LD-ld} -m elf64_s390" 
5941             LD
="${LD-ld} -m elf64_sparc" 
5951   # On SCO OpenServer 5, we need -belf to get full-featured binaries. 
5952   SAVE_CFLAGS
="$CFLAGS" 
5953   CFLAGS
="$CFLAGS -belf" 
5954   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 
5955 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } 
5956 if test "${lt_cv_cc_needs_belf+set}" = set; then 
5957   echo $ECHO_N "(cached) $ECHO_C" >&6 
5960 ac_cpp
='$CPP $CPPFLAGS' 
5961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
5962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
5963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
5965      cat >conftest.
$ac_ext <<_ACEOF 
5968 cat confdefs.h 
>>conftest.
$ac_ext 
5969 cat >>conftest.
$ac_ext <<_ACEOF 
5970 /* end confdefs.h.  */ 
5980 rm -f conftest.
$ac_objext conftest
$ac_exeext 
5981 if { (ac_try
="$ac_link" 
5983   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
5984   *) ac_try_echo=$ac_try;; 
5986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
5987   (eval "$ac_link") 2>conftest.er1 
5989   grep -v '^ *+' conftest.er1 >conftest.err 
5991   cat conftest.err >&5 
5992   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
5993   (exit $ac_status); } && { 
5994          test -z "$ac_c_werror_flag" || 
5995          test ! -s conftest.err 
5996        } && test -s conftest$ac_exeext && 
5997        $as_test_x conftest$ac_exeext; then 
5998   lt_cv_cc_needs_belf=yes 
6000   echo "$as_me: failed program was:" >&5 
6001 sed 's/^/| /' conftest.$ac_ext >&5 
6003         lt_cv_cc_needs_belf=no 
6006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
6007       conftest$ac_exeext conftest.$ac_ext 
6009 ac_cpp='$CPP $CPPFLAGS' 
6010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
6011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
6012 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
6015 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 
6016 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } 
6017   if test x"$lt_cv_cc_needs_belf" != x"yes"; then 
6018     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 
6019     CFLAGS="$SAVE_CFLAGS" 
6023   # Find out which ABI we are using. 
6024   echo 'int i;' > conftest.$ac_ext 
6025   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
6026   (eval $ac_compile) 2>&5 
6028   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6029   (exit $ac_status); }; then 
6030     case `/usr
/bin
/file conftest.o
` in 
6032       case $lt_cv_prog_gnu_ld in 
6033       yes*) LD="${LD-ld} -m elf64_sparc" ;; 
6034       *)    LD="${LD-ld} -64" ;; 
6043 need_locks="$enable_libtool_lock" 
6046 ac_cpp='$CPP $CPPFLAGS' 
6047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
6048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
6049 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
6050 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
6051 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 
6052 # On Suns, sometimes $CPP names a directory. 
6053 if test -n "$CPP" && test -d "$CPP"; then 
6056 if test -z "$CPP"; then 
6057   if test "${ac_cv_prog_CPP+set}" = set; then 
6058   echo $ECHO_N "(cached) $ECHO_C" >&6 
6060       # Double quotes because CPP needs to be expanded 
6061     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 
6064 for ac_c_preproc_warn_flag in '' yes 
6066   # Use a header file that comes with gcc, so configuring glibc 
6067   # with a fresh cross-compiler works. 
6068   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
6069   # <limits.h> exists even on freestanding compilers. 
6070   # On the NeXT, cc -E runs the code through the compiler's parser, 
6071   # not just through cpp. "Syntax error" is here to catch this case. 
6072   cat >conftest.$ac_ext <<_ACEOF 
6075 cat confdefs.h >>conftest.$ac_ext 
6076 cat >>conftest.$ac_ext <<_ACEOF 
6077 /* end confdefs.h.  */ 
6079 # include <limits.h> 
6081 # include <assert.h> 
6085 if { (ac_try="$ac_cpp conftest.$ac_ext" 
6087   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
6088   *) ac_try_echo
=$ac_try;; 
6090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
6091   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6093   grep -v '^ *+' conftest.er1 
>conftest.err
 
6095   cat conftest.err 
>&5 
6096   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6097   (exit $ac_status); } >/dev
/null 
&& { 
6098          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
6099          test ! -s conftest.err
 
6103   echo "$as_me: failed program was:" >&5 
6104 sed 's/^/| /' conftest.
$ac_ext >&5 
6106   # Broken: fails on valid input. 
6110 rm -f conftest.err conftest.
$ac_ext 
6112   # OK, works on sane cases.  Now check whether nonexistent headers 
6113   # can be detected and how. 
6114   cat >conftest.
$ac_ext <<_ACEOF 
6117 cat confdefs.h 
>>conftest.
$ac_ext 
6118 cat >>conftest.
$ac_ext <<_ACEOF 
6119 /* end confdefs.h.  */ 
6120 #include <ac_nonexistent.h> 
6122 if { (ac_try
="$ac_cpp conftest.$ac_ext" 
6124   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
6125   *) ac_try_echo=$ac_try;; 
6127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
6128   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
6130   grep -v '^ *+' conftest.er1 >conftest.err 
6132   cat conftest.err >&5 
6133   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6134   (exit $ac_status); } >/dev/null && { 
6135          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
6136          test ! -s conftest.err 
6138   # Broken: success on invalid input. 
6141   echo "$as_me: failed program was:" >&5 
6142 sed 's/^/| /' conftest.$ac_ext >&5 
6144   # Passes both tests. 
6149 rm -f conftest.err conftest.$ac_ext 
6152 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6153 rm -f conftest.err conftest.
$ac_ext 
6154 if $ac_preproc_ok; then 
6166 { echo "$as_me:$LINENO: result: $CPP" >&5 
6167 echo "${ECHO_T}$CPP" >&6; } 
6169 for ac_c_preproc_warn_flag 
in '' yes 
6171   # Use a header file that comes with gcc, so configuring glibc 
6172   # with a fresh cross-compiler works. 
6173   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
6174   # <limits.h> exists even on freestanding compilers. 
6175   # On the NeXT, cc -E runs the code through the compiler's parser, 
6176   # not just through cpp. "Syntax error" is here to catch this case. 
6177   cat >conftest.
$ac_ext <<_ACEOF 
6180 cat confdefs.h 
>>conftest.
$ac_ext 
6181 cat >>conftest.
$ac_ext <<_ACEOF 
6182 /* end confdefs.h.  */ 
6184 # include <limits.h> 
6186 # include <assert.h> 
6190 if { (ac_try
="$ac_cpp conftest.$ac_ext" 
6192   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
6193   *) ac_try_echo=$ac_try;; 
6195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
6196   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
6198   grep -v '^ *+' conftest.er1 >conftest.err 
6200   cat conftest.err >&5 
6201   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6202   (exit $ac_status); } >/dev/null && { 
6203          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
6204          test ! -s conftest.err 
6208   echo "$as_me: failed program was:" >&5 
6209 sed 's/^/| /' conftest.$ac_ext >&5 
6211   # Broken: fails on valid input. 
6215 rm -f conftest.err conftest.$ac_ext 
6217   # OK, works on sane cases.  Now check whether nonexistent headers 
6218   # can be detected and how. 
6219   cat >conftest.$ac_ext <<_ACEOF 
6222 cat confdefs.h >>conftest.$ac_ext 
6223 cat >>conftest.$ac_ext <<_ACEOF 
6224 /* end confdefs.h.  */ 
6225 #include <ac_nonexistent.h> 
6227 if { (ac_try="$ac_cpp conftest.$ac_ext" 
6229   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
6230   *) ac_try_echo
=$ac_try;; 
6232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
6233   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6235   grep -v '^ *+' conftest.er1 
>conftest.err
 
6237   cat conftest.err 
>&5 
6238   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6239   (exit $ac_status); } >/dev
/null 
&& { 
6240          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
6241          test ! -s conftest.err
 
6243   # Broken: success on invalid input. 
6246   echo "$as_me: failed program was:" >&5 
6247 sed 's/^/| /' conftest.
$ac_ext >&5 
6249   # Passes both tests. 
6254 rm -f conftest.err conftest.
$ac_ext 
6257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
6258 rm -f conftest.err conftest.
$ac_ext 
6259 if $ac_preproc_ok; then 
6262   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
6263 See \`config.log' for more details." >&5 
6264 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
6265 See \`config.log' for more details." >&2;} 
6266    { (exit 1); exit 1; }; } 
6270 ac_cpp
='$CPP $CPPFLAGS' 
6271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
6272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
6273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
6276 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
6277 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 
6278 if test "${ac_cv_header_stdc+set}" = set; then 
6279   echo $ECHO_N "(cached) $ECHO_C" >&6 
6281   cat >conftest.
$ac_ext <<_ACEOF 
6284 cat confdefs.h 
>>conftest.
$ac_ext 
6285 cat >>conftest.
$ac_ext <<_ACEOF 
6286 /* end confdefs.h.  */ 
6300 rm -f conftest.
$ac_objext 
6301 if { (ac_try
="$ac_compile" 
6303   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
6304   *) ac_try_echo=$ac_try;; 
6306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
6307   (eval "$ac_compile") 2>conftest.er1 
6309   grep -v '^ *+' conftest.er1 >conftest.err 
6311   cat conftest.err >&5 
6312   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6313   (exit $ac_status); } && { 
6314          test -z "$ac_c_werror_flag" || 
6315          test ! -s conftest.err 
6316        } && test -s conftest.$ac_objext; then 
6317   ac_cv_header_stdc=yes 
6319   echo "$as_me: failed program was:" >&5 
6320 sed 's/^/| /' conftest.$ac_ext >&5 
6322         ac_cv_header_stdc=no 
6325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
6327 if test $ac_cv_header_stdc = yes; then 
6328   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
6329   cat >conftest.$ac_ext <<_ACEOF 
6332 cat confdefs.h >>conftest.$ac_ext 
6333 cat >>conftest.$ac_ext <<_ACEOF 
6334 /* end confdefs.h.  */ 
6338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
6339   $EGREP "memchr" >/dev/null 2>&1; then 
6342   ac_cv_header_stdc=no 
6348 if test $ac_cv_header_stdc = yes; then 
6349   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
6350   cat >conftest.$ac_ext <<_ACEOF 
6353 cat confdefs.h >>conftest.$ac_ext 
6354 cat >>conftest.$ac_ext <<_ACEOF 
6355 /* end confdefs.h.  */ 
6359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
6360   $EGREP "free" >/dev/null 2>&1; then 
6363   ac_cv_header_stdc=no 
6369 if test $ac_cv_header_stdc = yes; then 
6370   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
6371   if test "$cross_compiling" = yes; then 
6374   cat >conftest.$ac_ext <<_ACEOF 
6377 cat confdefs.h >>conftest.$ac_ext 
6378 cat >>conftest.$ac_ext <<_ACEOF 
6379 /* end confdefs.h.  */ 
6382 #if ((' ' & 0x0FF) == 0x020) 
6383 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
6384 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
6386 # define ISLOWER(c) \ 
6387                    (('a' <= (c) && (c) <= 'i') \ 
6388                      || ('j' <= (c) && (c) <= 'r') \ 
6389                      || ('s' <= (c) && (c) <= 'z')) 
6390 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
6393 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
6398   for (i = 0; i < 256; i++) 
6399     if (XOR (islower (i), ISLOWER (i)) 
6400         || toupper (i) != TOUPPER (i)) 
6405 rm -f conftest$ac_exeext 
6406 if { (ac_try="$ac_link" 
6408   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
6409   *) ac_try_echo
=$ac_try;; 
6411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
6412   (eval "$ac_link") 2>&5 
6414   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6415   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
6416   { (case "(($ac_try" in 
6417   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
6418   *) ac_try_echo=$ac_try;; 
6420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
6421   (eval "$ac_try") 2>&5 
6423   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6424   (exit $ac_status); }; }; then 
6427   echo "$as_me: program exited with status $ac_status" >&5 
6428 echo "$as_me: failed program was:" >&5 
6429 sed 's/^/| /' conftest.$ac_ext >&5 
6432 ac_cv_header_stdc=no 
6434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
6440 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
6441 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 
6442 if test $ac_cv_header_stdc = yes; then 
6444 cat >>confdefs.h <<\_ACEOF 
6445 #define STDC_HEADERS 1 
6450 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 
6460 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
6461                   inttypes.h stdint.h unistd.h 
6463 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
6464 { echo "$as_me:$LINENO: checking for $ac_header" >&5 
6465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
6466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
6467   echo $ECHO_N "(cached) $ECHO_C" >&6 
6469   cat >conftest.$ac_ext <<_ACEOF 
6472 cat confdefs.h >>conftest.$ac_ext 
6473 cat >>conftest.$ac_ext <<_ACEOF 
6474 /* end confdefs.h.  */ 
6475 $ac_includes_default 
6477 #include <$ac_header> 
6479 rm -f conftest.$ac_objext 
6480 if { (ac_try="$ac_compile" 
6482   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
6483   *) ac_try_echo
=$ac_try;; 
6485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
6486   (eval "$ac_compile") 2>conftest.er1
 
6488   grep -v '^ *+' conftest.er1 
>conftest.err
 
6490   cat conftest.err 
>&5 
6491   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6492   (exit $ac_status); } && { 
6493          test -z "$ac_c_werror_flag" || 
6494          test ! -s conftest.err
 
6495        } && test -s conftest.
$ac_objext; then 
6496   eval "$as_ac_Header=yes" 
6498   echo "$as_me: failed program was:" >&5 
6499 sed 's/^/| /' conftest.
$ac_ext >&5 
6501         eval "$as_ac_Header=no" 
6504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
6506 ac_res
=`eval echo '${'$as_ac_Header'}'` 
6507                { echo "$as_me:$LINENO: result: $ac_res" >&5 
6508 echo "${ECHO_T}$ac_res" >&6; } 
6509 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
6510   cat >>confdefs.h 
<<_ACEOF 
6511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
6520 for ac_header 
in dlfcn.h
 
6522 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
6523 { echo "$as_me:$LINENO: checking for $ac_header" >&5 
6524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
6525 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
6526   echo $ECHO_N "(cached) $ECHO_C" >&6 
6528   cat >conftest.
$ac_ext <<_ACEOF 
6531 cat confdefs.h 
>>conftest.
$ac_ext 
6532 cat >>conftest.
$ac_ext <<_ACEOF 
6533 /* end confdefs.h.  */ 
6534 $ac_includes_default 
6536 #include <$ac_header> 
6538 rm -f conftest.
$ac_objext 
6539 if { (ac_try
="$ac_compile" 
6541   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
6542   *) ac_try_echo=$ac_try;; 
6544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
6545   (eval "$ac_compile") 2>conftest.er1 
6547   grep -v '^ *+' conftest.er1 >conftest.err 
6549   cat conftest.err >&5 
6550   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6551   (exit $ac_status); } && { 
6552          test -z "$ac_c_werror_flag" || 
6553          test ! -s conftest.err 
6554        } && test -s conftest.$ac_objext; then 
6555   eval "$as_ac_Header=yes" 
6557   echo "$as_me: failed program was:" >&5 
6558 sed 's/^/| /' conftest.$ac_ext >&5 
6560         eval "$as_ac_Header=no" 
6563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
6565 ac_res=`eval echo '${'$as_ac_Header'}'` 
6566                { echo "$as_me:$LINENO: result: $ac_res" >&5 
6567 echo "${ECHO_T}$ac_res" >&6; } 
6568 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
6569   cat >>confdefs.h <<_ACEOF 
6570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
6579 # This can be used to rebuild libtool when needed 
6580 LIBTOOL_DEPS="$ltmain" 
6582 # Always use our own libtool. 
6583 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 
6609 test -z "$LN_S" && LN_S="ln -s" 
6624 if test -n "${ZSH_VERSION+set}" ; then 
6625    setopt NO_GLOB_SUBST 
6628 { echo "$as_me:$LINENO: checking for objdir" >&5 
6629 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } 
6630 if test "${lt_cv_objdir+set}" = set; then 
6631   echo $ECHO_N "(cached) $ECHO_C" >&6 
6633   rm -f .libs 2>/dev/null 
6634 mkdir .libs 2>/dev/null 
6635 if test -d .libs; then 
6638   # MS-DOS does not allow filenames that begin with a dot. 
6641 rmdir .libs 2>/dev/null 
6643 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 
6644 echo "${ECHO_T}$lt_cv_objdir" >&6; } 
6645 objdir=$lt_cv_objdir 
6651 cat >>confdefs.h <<_ACEOF 
6652 #define LT_OBJDIR "$lt_cv_objdir/" 
6673   # AIX sometimes has problems with the GCC collect2 program.  For some 
6674   # reason, if we set the COLLECT_NAMES environment variable, the problems 
6675   # vanish in a puff of smoke. 
6676   if test "X${COLLECT_NAMES+set}" != Xset; then 
6678     export COLLECT_NAMES 
6683 # Sed substitution that helps us do robust quoting.  It backslashifies 
6684 # metacharacters that are still active within double-quoted strings. 
6685 Xsed='sed -e 1s/^X//' 
6686 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
' 
6688 # Same as above, but do not quote variable references. 
6689 double_quote_subst='s
/\
(["`\\]\)/\\\1/g' 
6691 # Sed substitution to delay expansion of an escaped shell variable in a 
6692 # double_quote_subst'ed string. 
6693 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 
6695 # Sed substitution to delay expansion of an escaped single quote. 
6696 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 
6698 # Sed substitution to avoid accidental globbing in evaled expressions 
6699 no_glob_subst='s/\*/\\\*/g' 
6703 can_build_shared=yes 
6705 # All known linkers require a `.a' archive for static linking (except MSVC, 
6706 # which needs '.lib'). 
6709 with_gnu_ld="$lt_cv_prog_gnu_ld" 
6712 old_CFLAGS="$CFLAGS" 
6714 # Set sane defaults for various variables 
6715 test -z "$CC" && CC=cc 
6716 test -z "$LTCC" && LTCC=$CC 
6717 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 
6718 test -z "$LD" && LD=ld 
6719 test -z "$ac_objext" && ac_objext=o 
6721 for cc_temp in $compiler""; do 
6723     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 
6724     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 
6729 cc_basename=`$ECHO "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"` 
6732 # Only perform the check for file, if the check method requires it 
6733 test -z "$MAGIC_CMD" && MAGIC_CMD=file 
6734 case $deplibs_check_method in 
6736   if test "$file_magic_cmd" = '$MAGIC_CMD'; then 
6737     { echo "$as_me:$LINENO: checking 
for ${ac_tool_prefix}file" >&5 
6738 echo $ECHO_N "checking 
for ${ac_tool_prefix}file... 
$ECHO_C" >&6; } 
6739 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 
6740   echo $ECHO_N "(cached
) $ECHO_C" >&6 
6744   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 
6747   lt_save_MAGIC_CMD="$MAGIC_CMD" 
6748   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
6749   ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH" 
6750   for ac_dir in $ac_dummy; do 
6752     test -z "$ac_dir" && ac_dir=. 
6753     if test -f $ac_dir/${ac_tool_prefix}file; then 
6754       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 
6755       if test -n "$file_magic_test_file"; then 
6756         case $deplibs_check_method in 
6758           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"` 
6759           MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 
6760           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 
6761             $EGREP "$file_magic_regex" > /dev/null; then 
6766 *** Warning: the command libtool uses to detect shared libraries, 
6767 *** $file_magic_cmd, produces output that libtool cannot recognize. 
6768 *** The result is that libtool may fail to recognize shared libraries 
6769 *** as such.  This will affect the creation of libtool libraries that 
6770 *** depend on shared libraries, but programs linked with such libtool 
6771 *** libraries will work regardless of this problem.  Nevertheless, you 
6772 *** may want to report the problem to your system manager and/or to 
6773 *** bug-libtool@gnu.org 
6783   MAGIC_CMD="$lt_save_MAGIC_CMD" 
6788 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 
6789 if test -n "$MAGIC_CMD"; then 
6790   { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5 
6791 echo "${ECHO_T}$MAGIC_CMD" >&6; } 
6793   { echo "$as_me:$LINENO: result
: no
" >&5 
6794 echo "${ECHO_T}no
" >&6; } 
6801 if test -z "$lt_cv_path_MAGIC_CMD"; then 
6802   if test -n "$ac_tool_prefix"; then 
6803     { echo "$as_me:$LINENO: checking 
for file" >&5 
6804 echo $ECHO_N "checking 
for file... 
$ECHO_C" >&6; } 
6805 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 
6806   echo $ECHO_N "(cached
) $ECHO_C" >&6 
6810   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 
6813   lt_save_MAGIC_CMD="$MAGIC_CMD" 
6814   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
6815   ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH" 
6816   for ac_dir in $ac_dummy; do 
6818     test -z "$ac_dir" && ac_dir=. 
6819     if test -f $ac_dir/file; then 
6820       lt_cv_path_MAGIC_CMD="$ac_dir/file" 
6821       if test -n "$file_magic_test_file"; then 
6822         case $deplibs_check_method in 
6824           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"` 
6825           MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 
6826           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 
6827             $EGREP "$file_magic_regex" > /dev/null; then 
6832 *** Warning: the command libtool uses to detect shared libraries, 
6833 *** $file_magic_cmd, produces output that libtool cannot recognize. 
6834 *** The result is that libtool may fail to recognize shared libraries 
6835 *** as such.  This will affect the creation of libtool libraries that 
6836 *** depend on shared libraries, but programs linked with such libtool 
6837 *** libraries will work regardless of this problem.  Nevertheless, you 
6838 *** may want to report the problem to your system manager and/or to 
6839 *** bug-libtool@gnu.org 
6849   MAGIC_CMD="$lt_save_MAGIC_CMD" 
6854 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 
6855 if test -n "$MAGIC_CMD"; then 
6856   { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5 
6857 echo "${ECHO_T}$MAGIC_CMD" >&6; } 
6859   { echo "$as_me:$LINENO: result
: no
" >&5 
6860 echo "${ECHO_T}no
" >&6; } 
6873 # Use C for the default configuration in the libtool script 
6877 ac_cpp='$CPP $CPPFLAGS' 
6878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
6879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
6880 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
6883 # Source file extension for C test sources. 
6886 # Object file extension for compiled C test sources. 
6890 # Code to be used in simple compile tests 
6891 lt_simple_compile_test_code="int some_variable 
= 0;\n" 
6893 # Code to be used in simple link tests 
6894 lt_simple_link_test_code='int main(){return(0);}\n' 
6902 # If no C compiler was specified, use CC. 
6905 # If no C compiler flags were specified, use CFLAGS. 
6906 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 
6908 # Allow CC to be a program name with arguments. 
6911 # Save the default compiler, since it gets overwritten when the other 
6912 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 
6913 compiler_DEFAULT=$CC 
6915 # save warnings/boilerplate of simple test code 
6916 ac_outfile=conftest.$ac_objext 
6917 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 
6918 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
6919 _lt_compiler_boilerplate=`cat conftest.err` 
6922 ac_outfile=conftest.$ac_objext 
6923 printf "$lt_simple_link_test_code" >conftest.$ac_ext 
6924 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
6925 _lt_linker_boilerplate=`cat conftest.err` 
6930 ## There is no encapsulation within the following macros, do not change 
6931 ## the running order or otherwise move them around unless you know exactly 
6932 ## what you are doing... 
6933 if test -n "$compiler"; then 
6935 lt_prog_compiler_no_builtin_flag= 
6937 if test "$GCC" = yes; then 
6938   lt_prog_compiler_no_builtin_flag=' -fno-builtin' 
6940   { echo "$as_me:$LINENO: checking 
if $compiler supports 
-fno-rtti -fno-exceptions" >&5 
6941 echo $ECHO_N "checking 
if $compiler supports 
-fno-rtti -fno-exceptions... 
$ECHO_C" >&6; } 
6942 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 
6943   echo $ECHO_N "(cached
) $ECHO_C" >&6 
6945   lt_cv_prog_compiler_rtti_exceptions=no 
6946    ac_outfile=conftest.$ac_objext 
6947    printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
6948    lt_compiler_flag="-fno-rtti -fno-exceptions" 
6949    # Insert the option either (1) after the last *FLAGS variable, or 
6950    # (2) before a word containing "conftest.
", or (3) at the end. 
6951    # Note that $ac_compile itself does not contain backslashes and begins 
6952    # with a dollar sign (not a hyphen), so the echo should work correctly. 
6953    # The option is referenced via a variable to avoid confusing sed. 
6954    lt_compile=`echo "$ac_compile" | $SED \ 
6955    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
6956    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
6957    -e 's:$: $lt_compiler_flag:'` 
6958    (eval echo "\"\
$as_me:6958: $lt_compile\"" >&5) 
6959    (eval "$lt_compile" 2>conftest.err) 
6961    cat conftest.err >&5 
6962    echo "$as_me:6962: \$? 
= $ac_status" >&5 
6963    if (exit $ac_status) && test -s "$ac_outfile"; then 
6964      # The compiler can only warn and ignore the option if not recognized 
6965      # So say no if there are warnings other than the usual output. 
6966      $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 
6967      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
6968      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 
6969        lt_cv_prog_compiler_rtti_exceptions=yes 
6975 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5 
6976 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } 
6978 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 
6979     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 
6991   lt_prog_compiler_wl= 
6992 lt_prog_compiler_pic= 
6993 lt_prog_compiler_static= 
6995 { echo "$as_me:$LINENO: checking 
for $compiler option to produce PIC
" >&5 
6996 echo $ECHO_N "checking 
for $compiler option to produce PIC... 
$ECHO_C" >&6; } 
6998   if test "$GCC" = yes; then 
6999     lt_prog_compiler_wl='-Wl,' 
7000     lt_prog_compiler_static='-static' 
7004       # All AIX code is PIC. 
7005       if test "$host_cpu" = ia64; then 
7006         # AIX 5 now supports IA64 processor 
7007         lt_prog_compiler_static='-Bstatic' 
7012       if test "$host_cpu" = m68k; then 
7013         # FIXME: we need at least 68020 code to build shared libraries, but 
7014         # adding the `-m68020' flag to GCC prevents building anything better, 
7016         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 
7020     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
7021       # PIC is the default for these OSes. 
7024     mingw* | pw32* | os2*) 
7025       # This hack is so that the source file can tell whether it is being 
7026       # built for inclusion in a dll (and should export symbols for example). 
7027       lt_prog_compiler_pic='-DDLL_EXPORT' 
7030     darwin* | rhapsody*) 
7031       # PIC is the default on this platform 
7032       # Common symbols not allowed in MH_DYLIB files 
7033       lt_prog_compiler_pic='-fno-common' 
7037       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 
7044         lt_prog_compiler_pic='-fPIC' 
7050       # Interix 3.x gcc -fpic/-fPIC options generate broken code. 
7051       # Instead, we relocate shared libraries at runtime. 
7055       # Just because we use GCC doesn't mean we suddenly get shared libraries 
7056       # on systems that don't support them. 
7057       lt_prog_compiler_can_build_shared=no 
7062       # QNX uses GNU C++, but need to define -shared option too, otherwise 
7064       lt_prog_compiler_pic='-fPIC -shared' 
7068       if test -d /usr/nec; then 
7069         lt_prog_compiler_pic=-Kconform_pic 
7074       lt_prog_compiler_pic='-fPIC' 
7078     # PORTME Check for flag to pass linker flags through the system compiler. 
7081       lt_prog_compiler_wl='-Wl,' 
7082       if test "$host_cpu" = ia64; then 
7083         # AIX 5 now supports IA64 processor 
7084         lt_prog_compiler_static='-Bstatic' 
7086         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 
7090       # PIC is the default on this platform 
7091       # Common symbols not allowed in MH_DYLIB files 
7092       case $cc_basename in 
7094         lt_prog_compiler_pic='-qnocommon' 
7095         lt_prog_compiler_wl='-Wl,' 
7100     mingw* | pw32* | os2*) 
7101       # This hack is so that the source file can tell whether it is being 
7102       # built for inclusion in a dll (and should export symbols for example). 
7103       lt_prog_compiler_pic='-DDLL_EXPORT' 
7106     hpux9* | hpux10* | hpux11*) 
7107       lt_prog_compiler_wl='-Wl,' 
7108       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 
7115         lt_prog_compiler_pic='+Z' 
7118       # Is there a better lt_prog_compiler_static that works with the bundled CC? 
7119       lt_prog_compiler_static='${wl}-a ${wl}archive' 
7122     irix5* | irix6* | nonstopux*) 
7123       lt_prog_compiler_wl='-Wl,' 
7124       # PIC (with -KPIC) is the default. 
7125       lt_prog_compiler_static='-non_shared' 
7129       case $cc_basename in 
7131         lt_prog_compiler_wl='-Wl,' 
7132         lt_prog_compiler_pic='-KPIC' 
7133         lt_prog_compiler_static='-static' 
7135       pgcc* | pgf77* | pgf90* | pgf95*) 
7136         # Portland Group compilers (*not* the Pentium gcc compiler, 
7137         # which looks to be a dead project) 
7138         lt_prog_compiler_wl='-Wl,' 
7139         lt_prog_compiler_pic='-fpic' 
7140         lt_prog_compiler_static='-Bstatic' 
7143         lt_prog_compiler_wl='-Wl,' 
7144         # All Alpha code is PIC. 
7145         lt_prog_compiler_static='-non_shared' 
7151       lt_prog_compiler_pic='-KPIC' 
7152       lt_prog_compiler_static='-Bstatic' 
7156       # QNX uses GNU C++, but need to define -shared option too, otherwise 
7158       lt_prog_compiler_pic='-fPIC -shared' 
7161     osf3* | osf4* | osf5*) 
7162       lt_prog_compiler_wl='-Wl,' 
7163       # All OSF/1 code is PIC. 
7164       lt_prog_compiler_static='-non_shared' 
7168       lt_prog_compiler_static='-non_shared' 
7172       lt_prog_compiler_pic='-KPIC' 
7173       lt_prog_compiler_static='-Bstatic' 
7174       case $cc_basename in 
7176         lt_prog_compiler_wl='-Qoption ld ';; 
7178         lt_prog_compiler_wl='-Wl,';; 
7183       lt_prog_compiler_wl='-Qoption ld ' 
7184       lt_prog_compiler_pic='-PIC' 
7185       lt_prog_compiler_static='-Bstatic' 
7188     sysv4 | sysv4.2uw2* | sysv4.3*) 
7189       lt_prog_compiler_wl='-Wl,' 
7190       lt_prog_compiler_pic='-KPIC' 
7191       lt_prog_compiler_static='-Bstatic' 
7195       if test -d /usr/nec ;then 
7196         lt_prog_compiler_pic='-Kconform_pic' 
7197         lt_prog_compiler_static='-Bstatic' 
7201     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 
7202       lt_prog_compiler_wl='-Wl,' 
7203       lt_prog_compiler_pic='-KPIC' 
7204       lt_prog_compiler_static='-Bstatic' 
7208       lt_prog_compiler_wl='-Wl,' 
7209       lt_prog_compiler_can_build_shared=no 
7213       lt_prog_compiler_pic='-pic' 
7214       lt_prog_compiler_static='-Bstatic' 
7218       lt_prog_compiler_can_build_shared=no 
7224   # For platforms which do not support PIC, -DPIC is meaningless: 
7226     lt_prog_compiler_pic= 
7229     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 
7232 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5 
7233 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } 
7241 # Check to make sure the PIC flag actually works. 
7243 if test -n "$lt_prog_compiler_pic"; then 
7244   { echo "$as_me:$LINENO: checking 
if $compiler PIC flag 
$lt_prog_compiler_pic works
" >&5 
7245 echo $ECHO_N "checking 
if $compiler PIC flag 
$lt_prog_compiler_pic works... 
$ECHO_C" >&6; } 
7246 if test "${lt_prog_compiler_pic_works+set}" = set; then 
7247   echo $ECHO_N "(cached
) $ECHO_C" >&6 
7249   lt_prog_compiler_pic_works=no 
7250    ac_outfile=conftest.$ac_objext 
7251    printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
7252    lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 
7253    # Insert the option either (1) after the last *FLAGS variable, or 
7254    # (2) before a word containing "conftest.
", or (3) at the end. 
7255    # Note that $ac_compile itself does not contain backslashes and begins 
7256    # with a dollar sign (not a hyphen), so the echo should work correctly. 
7257    # The option is referenced via a variable to avoid confusing sed. 
7258    lt_compile=`echo "$ac_compile" | $SED \ 
7259    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
7260    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
7261    -e 's:$: $lt_compiler_flag:'` 
7262    (eval echo "\"\
$as_me:7262: $lt_compile\"" >&5) 
7263    (eval "$lt_compile" 2>conftest.err) 
7265    cat conftest.err >&5 
7266    echo "$as_me:7266: \$? 
= $ac_status" >&5 
7267    if (exit $ac_status) && test -s "$ac_outfile"; then 
7268      # The compiler can only warn and ignore the option if not recognized 
7269      # So say no if there are warnings other than the usual output. 
7270      $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 
7271      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
7272      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 
7273        lt_prog_compiler_pic_works=yes 
7279 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5 
7280 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } 
7282 if test x"$lt_prog_compiler_pic_works" = xyes; then 
7283     case $lt_prog_compiler_pic in 
7285      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 
7288     lt_prog_compiler_pic= 
7289      lt_prog_compiler_can_build_shared=no 
7300 # Check to make sure the static flag actually works. 
7302 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 
7303 { echo "$as_me:$LINENO: checking 
if $compiler static flag 
$lt_tmp_static_flag works
" >&5 
7304 echo $ECHO_N "checking 
if $compiler static flag 
$lt_tmp_static_flag works... 
$ECHO_C" >&6; } 
7305 if test "${lt_prog_compiler_static_works+set}" = set; then 
7306   echo $ECHO_N "(cached
) $ECHO_C" >&6 
7308   lt_prog_compiler_static_works=no 
7309    save_LDFLAGS="$LDFLAGS" 
7310    LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 
7311    printf "$lt_simple_link_test_code" > conftest.$ac_ext 
7312    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 
7313      # The linker can only warn and ignore the option if not recognized 
7314      # So say no if there are warnings 
7315      if test -s conftest.err; then 
7316        # Append any errors to the config.log. 
7317        cat conftest.err 1>&5 
7318        $ECHO "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 
7319        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
7320        if diff conftest.exp conftest.er2 >/dev/null; then 
7321          lt_prog_compiler_static_works=yes 
7324        lt_prog_compiler_static_works=yes 
7328    LDFLAGS="$save_LDFLAGS" 
7331 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5 
7332 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } 
7334 if test x"$lt_prog_compiler_static_works" = xyes; then 
7337     lt_prog_compiler_static= 
7346   { echo "$as_me:$LINENO: checking 
if $compiler supports 
-c -o file.
$ac_objext" >&5 
7347 echo $ECHO_N "checking 
if $compiler supports 
-c -o file.
$ac_objext... 
$ECHO_C" >&6; } 
7348 if test "${lt_cv_prog_compiler_c_o+set}" = set; then 
7349   echo $ECHO_N "(cached
) $ECHO_C" >&6 
7351   lt_cv_prog_compiler_c_o=no 
7352    $RM -r conftest 2>/dev/null 
7356    printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
7358    lt_compiler_flag="-o out
/conftest2.
$ac_objext" 
7359    # Insert the option either (1) after the last *FLAGS variable, or 
7360    # (2) before a word containing "conftest.
", or (3) at the end. 
7361    # Note that $ac_compile itself does not contain backslashes and begins 
7362    # with a dollar sign (not a hyphen), so the echo should work correctly. 
7363    lt_compile=`echo "$ac_compile" | $SED \ 
7364    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
7365    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
7366    -e 's:$: $lt_compiler_flag:'` 
7367    (eval echo "\"\
$as_me:7367: $lt_compile\"" >&5) 
7368    (eval "$lt_compile" 2>out/conftest.err) 
7370    cat out/conftest.err >&5 
7371    echo "$as_me:7371: \$? 
= $ac_status" >&5 
7372    if (exit $ac_status) && test -s out/conftest2.$ac_objext 
7374      # The compiler can only warn and ignore the option if not recognized 
7375      # So say no if there are warnings 
7376      $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 
7377      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 
7378      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 
7379        lt_cv_prog_compiler_c_o=yes 
7384    # SGI C++ compiler will create directory out/ii_files/ for 
7385    # template instantiation 
7386    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 
7387    $RM out/* && rmdir out 
7393 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5 
7394 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } 
7401   { echo "$as_me:$LINENO: checking 
if $compiler supports 
-c -o file.
$ac_objext" >&5 
7402 echo $ECHO_N "checking 
if $compiler supports 
-c -o file.
$ac_objext... 
$ECHO_C" >&6; } 
7403 if test "${lt_cv_prog_compiler_c_o+set}" = set; then 
7404   echo $ECHO_N "(cached
) $ECHO_C" >&6 
7406   lt_cv_prog_compiler_c_o=no 
7407    $RM -r conftest 2>/dev/null 
7411    printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
7413    lt_compiler_flag="-o out
/conftest2.
$ac_objext" 
7414    # Insert the option either (1) after the last *FLAGS variable, or 
7415    # (2) before a word containing "conftest.
", or (3) at the end. 
7416    # Note that $ac_compile itself does not contain backslashes and begins 
7417    # with a dollar sign (not a hyphen), so the echo should work correctly. 
7418    lt_compile=`echo "$ac_compile" | $SED \ 
7419    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
7420    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
7421    -e 's:$: $lt_compiler_flag:'` 
7422    (eval echo "\"\
$as_me:7422: $lt_compile\"" >&5) 
7423    (eval "$lt_compile" 2>out/conftest.err) 
7425    cat out/conftest.err >&5 
7426    echo "$as_me:7426: \$? 
= $ac_status" >&5 
7427    if (exit $ac_status) && test -s out/conftest2.$ac_objext 
7429      # The compiler can only warn and ignore the option if not recognized 
7430      # So say no if there are warnings 
7431      $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 
7432      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 
7433      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 
7434        lt_cv_prog_compiler_c_o=yes 
7439    # SGI C++ compiler will create directory out/ii_files/ for 
7440    # template instantiation 
7441    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 
7442    $RM out/* && rmdir out 
7448 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5 
7449 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } 
7454 hard_links="nottested
" 
7455 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 
7456   # do not overwrite the value of need_locks provided by the user 
7457   { echo "$as_me:$LINENO: checking 
if we can lock with hard links
" >&5 
7458 echo $ECHO_N "checking 
if we can lock with hard links... 
$ECHO_C" >&6; } 
7461   ln conftest.a conftest.b 2>/dev/null && hard_links=no 
7463   ln conftest.a conftest.b 2>&5 || hard_links=no 
7464   ln conftest.a conftest.b 2>/dev/null && hard_links=no 
7465   { echo "$as_me:$LINENO: result
: $hard_links" >&5 
7466 echo "${ECHO_T}$hard_links" >&6; } 
7467   if test "$hard_links" = no; then 
7468     { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5 
7469 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;} 
7481   { echo "$as_me:$LINENO: checking whether the 
$compiler linker 
($LD) supports shared libraries
" >&5 
7482 echo $ECHO_N "checking whether the 
$compiler linker 
($LD) supports shared libraries... 
$ECHO_C" >&6; } 
7485   allow_undefined_flag= 
7486   always_export_symbols=no 
7488   archive_expsym_cmds= 
7489   enable_shared_with_static_runtimes=no 
7490   export_dynamic_flag_spec= 
7491   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 
7492   hardcode_automatic=no 
7494   hardcode_libdir_flag_spec= 
7495   hardcode_libdir_flag_spec_ld= 
7496   hardcode_libdir_separator= 
7498   hardcode_shlibpath_var=unsupported 
7500   link_all_deplibs=unknown 
7503   old_archive_from_new_cmds= 
7504   old_archive_from_expsyms_cmds= 
7505   thread_safe_flag_spec= 
7506   whole_archive_flag_spec= 
7507   # include_expsyms should be a list of space-separated symbols to be *always* 
7508   # included in the symbol list 
7510   # exclude_expsyms can be an extended regexp of symbols to exclude 
7511   # it will be wrapped by ` (' and `)$', so one must not match beginning or 
7512   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 
7513   # as well as any symbol that contains `d'. 
7514   exclude_expsyms="_GLOBAL_OFFSET_TABLE_
" 
7515   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 
7516   # platforms (ab)use it in PIC code, but their linkers get confused if 
7517   # the symbol is explicitly referenced.  Since portable code cannot 
7518   # rely on this symbol name, it's probably fine to never include it in 
7519   # preloaded symbol tables. 
7520   extract_expsyms_cmds= 
7523   cygwin* | mingw* | pw32*) 
7524     # FIXME: the MSVC++ port hasn't been tested in a loooong time 
7525     # When not using gcc, we currently assume that we are using 
7526     # Microsoft Visual C++. 
7527     if test "$GCC" != yes; then 
7532     # we just hope/assume this is gcc and not c89 (= MSVC++) 
7541   if test "$with_gnu_ld" = yes; then 
7542     # If archive_cmds runs LD, not CC, wlarc should be empty 
7545     # Set some defaults for GNU ld with shared library support. These 
7546     # are reset later if shared libraries are not supported. Putting them 
7547     # here allows them to be overridden if necessary. 
7548     runpath_var=LD_RUN_PATH 
7549     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 
7550     export_dynamic_flag_spec='${wl}--export-dynamic' 
7551     # ancient GNU ld didn't support --whole-archive et. al. 
7552     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 
7553       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
7555       whole_archive_flag_spec= 
7557     supports_anon_versioning=no 
7558     case `$LD -v 2>&1` in 
7559       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 
7560       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 
7561       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 
7562       *\ 2.11.*) ;; # other 2.11 versions 
7563       *) supports_anon_versioning=yes ;; 
7566     # See if GNU ld supports shared libraries. 
7568     aix3* | aix4* | aix5*) 
7569       # On AIX/PPC, the GNU linker is very broken 
7570       if test "$host_cpu" != ia64; then 
7574 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 
7575 *** to be unable to reliably create shared libraries on AIX. 
7576 *** Therefore, libtool is disabling shared libraries support.  If you 
7577 *** really care for shared libraries, you may want to modify your PATH 
7578 *** so that a non-GNU linker is found, and then restart. 
7585       if test "$host_cpu" = m68k; then 
7586         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)' 
7587         hardcode_libdir_flag_spec
='-L$libdir' 
7588         hardcode_minus_L
=yes 
7591       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports 
7592       # that the semantics of dynamic libraries on AmigaOS, at least up 
7593       # to version 4, is to share data among multiple programs linked 
7594       # with the same dynamic library.  Since this doesn't match the 
7595       # behavior of shared libraries on other platforms, we can't use 
7601       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then 
7602         allow_undefined_flag
=unsupported
 
7603         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
7604         # support --undefined.  This deserves some investigation.  FIXME 
7605         archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7611     cygwin
* | mingw
* | pw32
*) 
7612       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 
7613       # as there is no search path for DLLs. 
7614       hardcode_libdir_flag_spec
='-L$libdir' 
7615       allow_undefined_flag
=unsupported
 
7616       always_export_symbols
=no
 
7617       enable_shared_with_static_runtimes
=yes 
7618       export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' 
7620       if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then 
7621         archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
7622         # If the export-symbols file already is a .def file (1st line 
7623         # is EXPORTS), use it as is; otherwise, prepend... 
7624         archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 
7625           cp $export_symbols $output_objdir/$soname.def; 
7627           echo EXPORTS > $output_objdir/$soname.def; 
7628           cat $export_symbols >> $output_objdir/$soname.def; 
7630         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
7638       hardcode_shlibpath_var
=no
 
7639       hardcode_libdir_flag_spec
='${wl}-rpath,$libdir' 
7640       export_dynamic_flag_spec
='${wl}-E' 
7641       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 
7642       # Instead, shared libraries are loaded at an image base (0x10000000 by 
7643       # default) and relocated if they conflict, which is a slow very memory 
7644       # consuming and fragmenting process.  To avoid this, we pick a random, 
7645       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 
7646       # time.  Moving up from 0x10000000 also allows more sbrk(2) space. 
7647       archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 
7648       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' 
7653       if test "$host_os" = linux
-dietlibc; then 
7654         case $cc_basename in 
7655           diet\ 
*) tmp_diet
=yes;;       # linux-dietlibc with static linking (!diet-dyn) 
7658       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
 
7659          && test "$tmp_diet" = no
 
7662         case $cc_basename,$host_cpu in 
7663         pgcc
*)                          # Portland Group C compiler 
7664           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' 
7665           tmp_addflag
=' $pic_flag' 
7667         pgf77
* | pgf90
* | pgf95
*)       # Portland Group f77 and f90 compilers 
7668           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' 
7669           tmp_addflag
=' $pic_flag -Mnomain' ;; 
7670         ecc
*,ia64
* | icc
*,ia64
*)        # Intel C compiler on ia64 
7671           tmp_addflag
=' -i_dynamic' ;; 
7672         efc
*,ia64
* | ifort
*,ia64
*)      # Intel Fortran compiler on ia64 
7673           tmp_addflag
=' -i_dynamic -nofor_main' ;; 
7674         ifc
* | ifort
*)                  # Intel Fortran compiler 
7675           tmp_addflag
=' -nofor_main' ;; 
7678         archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7680         if test "x$supports_anon_versioning" = xyes
; then 
7681           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' 
7689       if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
>/dev
/null
; then 
7690         archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 
7693         archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7694         archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
7699       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then 
7703 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 
7704 *** create shared libraries on Solaris systems.  Therefore, libtool 
7705 *** is disabling shared libraries support.  We urge you to upgrade GNU 
7706 *** binutils to release 2.9.1 or newer.  Another option is to modify 
7707 *** your PATH or compiler configuration so that the native linker is 
7708 *** used, and then restart. 
7711       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then 
7712         archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7713         archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
7719     sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*) 
7720       case `$LD -v 2>&1` in 
7721         *\ 
[01].
* | *\ 
2.
[0-9].
* | *\ 
2.1[0-5].
*) 
7725 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 
7726 *** reliably create shared libraries on SCO systems.  Therefore, libtool 
7727 *** is disabling shared libraries support.  We urge you to upgrade GNU 
7728 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify 
7729 *** your PATH or compiler configuration so that the native linker is 
7730 *** used, and then restart. 
7735           # For security reasons, it is highly recommended that you always 
7736           # use absolute paths for naming shared libraries, and exclude the 
7737           # DT_RUNPATH tag from executables and libraries.  But doing so 
7738           # requires that you compile everything twice, which is a pain. 
7739           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then 
7740             hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
7741             archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7742             archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
7751       archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
7754       hardcode_shlibpath_var
=no
 
7758       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then 
7759         archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7760         archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
7767     if test "$ld_shlibs" = no
; then 
7769       hardcode_libdir_flag_spec
= 
7770       export_dynamic_flag_spec
= 
7771       whole_archive_flag_spec
= 
7774     # PORTME fill in a description of your system's linker (not GNU ld) 
7777       allow_undefined_flag
=unsupported
 
7778       always_export_symbols
=yes 
7779       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' 
7780       # Note: this linker hardcodes the directories in LIBPATH if there 
7781       # are no directories specified by -L. 
7782       hardcode_minus_L
=yes 
7783       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 
7784         # Neither direct hardcoding nor static linking is supported with a 
7786         hardcode_direct
=unsupported
 
7791       if test "$host_cpu" = ia64
; then 
7792         # On IA64, the linker does run time linking by default, so we don't 
7793         # have to do anything special. 
7794         aix_use_runtimelinking
=no
 
7795         exp_sym_flag
='-Bexport' 
7798         # If we're using GNU nm, then we don't want the "-C" option. 
7799         # -C means demangle to AIX nm, but means don't demangle with GNU nm 
7800         if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then 
7801           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' 
7803           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' 
7805         aix_use_runtimelinking
=no
 
7807         # Test if we are trying to use run time linking or normal 
7808         # AIX style linking. If -brtl is somewhere in LDFLAGS, we 
7809         # need to do runtime linking. 
7810         case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*) 
7811           for ld_flag 
in $LDFLAGS; do 
7812           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 
7813             aix_use_runtimelinking
=yes 
7820         exp_sym_flag
='-bexport' 
7821         no_entry_flag
='-bnoentry' 
7824       # When large executables or shared objects are built, AIX ld can 
7825       # have problems creating the table of contents.  If linking a library 
7826       # or program results in "error TOC overflow" add -mminimal-toc to 
7827       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not 
7828       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 
7832       hardcode_libdir_separator
=':' 
7833       link_all_deplibs
=yes 
7834       file_list_spec
='${wl}-f,' 
7836       if test "$GCC" = yes; then 
7837         case $host_os in aix4.
[012]|aix4.
[012].
*) 
7838         # We only want to do this on AIX 4.2 and lower, the check 
7839         # below for broken collect2 doesn't work under 4.3+ 
7840           collect2name
=`${CC} -print-prog-name=collect2` 
7841           if test -f "$collect2name" && 
7842            strings "$collect2name" | $GREP resolve_lib_name 
>/dev
/null
 
7844           # We have reworked collect2 
7847           # We have old collect2 
7848           hardcode_direct
=unsupported
 
7849           # It fails to find uninstalled libraries when the uninstalled 
7850           # path is not listed in the libpath.  Setting hardcode_minus_L 
7851           # to unsupported forces relinking 
7852           hardcode_minus_L
=yes 
7853           hardcode_libdir_flag_spec
='-L$libdir' 
7854           hardcode_libdir_separator
= 
7858         shared_flag
='-shared' 
7859         if test "$aix_use_runtimelinking" = yes; then 
7860           shared_flag
="$shared_flag "'${wl}-G' 
7864         if test "$host_cpu" = ia64
; then 
7865         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 
7866         # chokes on -Wl,-G. The following line is correct: 
7869           if test "$aix_use_runtimelinking" = yes; then 
7870             shared_flag
='${wl}-G' 
7872             shared_flag
='${wl}-bM:SRE' 
7877       # It seems that -bexpall does not export symbols beginning with 
7878       # underscore (_), so it is better to generate a list of symbols to export. 
7879       always_export_symbols
=yes 
7880       if test "$aix_use_runtimelinking" = yes; then 
7881         # Warning - without using the other runtime loading flags (-brtl), 
7882         # -berok will link without error, but may produce a broken library. 
7883         allow_undefined_flag
='-berok' 
7884         # Determine the default libpath from the value encoded in an 
7886         cat >conftest.
$ac_ext <<_ACEOF 
7889 cat confdefs.h 
>>conftest.
$ac_ext 
7890 cat >>conftest.
$ac_ext <<_ACEOF 
7891 /* end confdefs.h.  */ 
7901 rm -f conftest.
$ac_objext conftest
$ac_exeext 
7902 if { (ac_try
="$ac_link" 
7904   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
7905   *) ac_try_echo=$ac_try;; 
7907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
7908   (eval "$ac_link") 2>conftest.er1 
7910   grep -v '^ *+' conftest.er1 >conftest.err 
7912   cat conftest.err >&5 
7913   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7914   (exit $ac_status); } && { 
7915          test -z "$ac_c_werror_flag" || 
7916          test ! -s conftest.err 
7917        } && test -s conftest$ac_exeext && 
7918        $as_test_x conftest$ac_exeext; then 
7920 lt_aix_libpath_sed=' 
7921     /Import File Strings/,/^$/ { 
7927 aix_libpath=`dump 
-H conftest
$ac_exeext 2>/dev
/null 
| $SED -n -e "$lt_aix_libpath_sed"` 
7928 # Check for a 64-bit object if we didn't find anything. 
7929 if test -z "$aix_libpath"; then 
7930   aix_libpath=`dump 
-HX64 conftest
$ac_exeext 2>/dev
/null 
| $SED -n -e "$lt_aix_libpath_sed"` 
7933   echo "$as_me: failed program was:" >&5 
7934 sed 's/^/| /' conftest.$ac_ext >&5 
7939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
7940       conftest$ac_exeext conftest.$ac_ext 
7941 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 
7943         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 
7944         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" 
7946         if test "$host_cpu" = ia64; then 
7947           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 
7948           allow_undefined_flag="-z nodefs" 
7949           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" 
7951          # Determine the default libpath from the value encoded in an 
7953          cat >conftest.$ac_ext <<_ACEOF 
7956 cat confdefs.h >>conftest.$ac_ext 
7957 cat >>conftest.$ac_ext <<_ACEOF 
7958 /* end confdefs.h.  */ 
7968 rm -f conftest.$ac_objext conftest$ac_exeext 
7969 if { (ac_try="$ac_link" 
7971   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
7972   *) ac_try_echo
=$ac_try;; 
7974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
7975   (eval "$ac_link") 2>conftest.er1
 
7977   grep -v '^ *+' conftest.er1 
>conftest.err
 
7979   cat conftest.err 
>&5 
7980   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7981   (exit $ac_status); } && { 
7982          test -z "$ac_c_werror_flag" || 
7983          test ! -s conftest.err
 
7984        } && test -s conftest
$ac_exeext && 
7985        $as_test_x conftest
$ac_exeext; then 
7987 lt_aix_libpath_sed
=' 
7988     /Import File Strings/,/^$/ { 
7994 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
7995 # Check for a 64-bit object if we didn't find anything. 
7996 if test -z "$aix_libpath"; then 
7997   aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
8000   echo "$as_me: failed program was:" >&5 
8001 sed 's/^/| /' conftest.
$ac_ext >&5 
8006 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
8007       conftest
$ac_exeext conftest.
$ac_ext 
8008 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi 
8010          hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath" 
8011           # Warning - without using the other run time loading flags, 
8012           # -berok will link without error, but may produce a broken library. 
8013           no_undefined_flag
=' ${wl}-bernotok' 
8014           allow_undefined_flag
=' ${wl}-berok' 
8015           # Exported symbols can be pulled into shared objects from archives 
8016           whole_archive_flag_spec
='$convenience' 
8017           archive_cmds_need_lc
=yes 
8018           # This is similar to how AIX traditionally builds its shared libraries. 
8019           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' 
8025       if test "$host_cpu" = m68k
; then 
8026         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)' 
8027         hardcode_libdir_flag_spec
='-L$libdir' 
8028         hardcode_minus_L
=yes 
8030       # see comment about different semantics on the GNU ld section 
8035       export_dynamic_flag_spec
=-rdynamic 
8038     cygwin
* | mingw
* | pw32
*) 
8039       # When not using gcc, we currently assume that we are using 
8040       # Microsoft Visual C++. 
8041       # hardcode_libdir_flag_spec is actually meaningless, as there is 
8042       # no search path for DLLs. 
8043       hardcode_libdir_flag_spec
=' ' 
8044       allow_undefined_flag
=unsupported
 
8045       # Tell ltmain to make .lib files, not .a files. 
8047       # Tell ltmain to make .dll files, not .so files. 
8049       # FIXME: Setting linknames here is a bad hack. 
8050       archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 
8051       # The linker will automatically build a .lib file if we build a DLL. 
8052       old_archive_from_new_cmds
='true' 
8053       # FIXME: Should let the user specify the lib program. 
8054       old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs' 
8055       fix_srcfile_path
='`cygpath -w "$srcfile"`' 
8056       enable_shared_with_static_runtimes
=yes 
8059     darwin
* | rhapsody
*) 
8061       rhapsody
* | darwin1.
[012]) 
8062         allow_undefined_flag
='${wl}-undefined ${wl}suppress' 
8065         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 
8067           allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 
8070           allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup' 
8075       archive_cmds_need_lc
=no
 
8077       hardcode_automatic
=yes 
8078       hardcode_shlibpath_var
=unsupported
 
8079       whole_archive_flag_spec
='' 
8080       link_all_deplibs
=yes 
8081       if test "$GCC" = yes ; then 
8082         if test "${lt_cv_apple_cc_single_mod+set}" = set; then 
8083   echo $ECHO_N "(cached) $ECHO_C" >&6 
8085   lt_cv_apple_cc_single_mod
=no
 
8086         if test -z "${LT_MULTI_MODULE}"; then 
8087           # By default we will add the -single_module flag. You can override 
8088           # by either setting the environment variable LT_MULTI_MODULE 
8089           # non-empty at configure time, or by adding -multi-module to the 
8091           echo "int foo(void){return 1;}" > conftest.c
 
8092           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8093               -dynamiclib ${wl}-single_module conftest.c
 
8094           if test -f libconftest.dylib
; then 
8095               lt_cv_apple_cc_single_mod
=yes 
8096               rm libconftest.dylib
 
8102         output_verbose_link_cmd
=echo 
8103         if test "X$lt_cv_apple_cc_single_mod" = Xyes 
; then 
8104           archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 
8105           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}' 
8107           archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 
8108           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}' 
8110         module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
8111         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}' 
8113         case $cc_basename in 
8115           output_verbose_link_cmd
=echo 
8116           archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring' 
8117           module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
8118           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 
8119           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}' 
8120           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}' 
8130       archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8131       hardcode_libdir_flag_spec
='-L$libdir' 
8132       hardcode_shlibpath_var
=no
 
8139     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 
8140     # support.  Future versions do this automatically, but an explicit c++rt0.o 
8141     # does not break anything, and helps significantly (at the cost of a little 
8144       archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 
8145       hardcode_libdir_flag_spec
='-R$libdir' 
8147       hardcode_shlibpath_var
=no
 
8150     # Unfortunately, older versions of FreeBSD 2 do not have this feature. 
8152       archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
8154       hardcode_minus_L
=yes 
8155       hardcode_shlibpath_var
=no
 
8158     # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 
8159     freebsd
* | kfreebsd
*-gnu | dragonfly
*) 
8160       archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 
8161       hardcode_libdir_flag_spec
='-R$libdir' 
8163       hardcode_shlibpath_var
=no
 
8167       if test "$GCC" = yes; then 
8168         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' 
8170         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' 
8172       hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir' 
8173       hardcode_libdir_separator
=: 
8176       # hardcode_minus_L: Not really in the search PATH, 
8177       # but as the default location of the library. 
8178       hardcode_minus_L
=yes 
8179       export_dynamic_flag_spec
='${wl}-E' 
8183       if test "$GCC" = yes -a "$with_gnu_ld" = no
; then 
8184         archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
8186         archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 
8188       if test "$with_gnu_ld" = no
; then 
8189         hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir' 
8190         hardcode_libdir_flag_spec_ld
='+b $libdir' 
8191         hardcode_libdir_separator
=: 
8193         export_dynamic_flag_spec
='${wl}-E' 
8194         # hardcode_minus_L: Not really in the search PATH, 
8195         # but as the default location of the library. 
8196         hardcode_minus_L
=yes 
8201       if test "$GCC" = yes -a "$with_gnu_ld" = no
; then 
8204           archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
8207           archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 
8210           archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
8216           archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
8219           archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 
8222           archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
8226       if test "$with_gnu_ld" = no
; then 
8227         hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir' 
8228         hardcode_libdir_separator
=: 
8233           hardcode_shlibpath_var
=no
 
8237           export_dynamic_flag_spec
='${wl}-E' 
8239           # hardcode_minus_L: Not really in the search PATH, 
8240           # but as the default location of the library. 
8241           hardcode_minus_L
=yes 
8247     irix5
* | irix6
* | nonstopux
*) 
8248       if test "$GCC" = yes; then 
8249         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' 
8250         # Try to use the -exported_symbol ld option, if it does not 
8251         # work, assume that -exports_file does not work either and 
8252         # implicitly export all symbols. 
8253         save_LDFLAGS
="$LDFLAGS" 
8254         LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 
8255         cat >conftest.
$ac_ext <<_ACEOF 
8258 rm -f conftest.
$ac_objext conftest
$ac_exeext 
8259 if { (ac_try
="$ac_link" 
8261   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
8262   *) ac_try_echo=$ac_try;; 
8264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
8265   (eval "$ac_link") 2>conftest.er1 
8267   grep -v '^ *+' conftest.er1 >conftest.err 
8269   cat conftest.err >&5 
8270   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8271   (exit $ac_status); } && { 
8272          test -z "$ac_c_werror_flag" || 
8273          test ! -s conftest.err 
8274        } && test -s conftest$ac_exeext && 
8275        $as_test_x conftest$ac_exeext; then 
8276   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' 
8279   echo "$as_me: failed program was:" >&5 
8280 sed 's/^/| /' conftest.$ac_ext >&5 
8285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
8286       conftest$ac_exeext conftest.$ac_ext 
8287         LDFLAGS="$save_LDFLAGS" 
8289         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' 
8290         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' 
8292       archive_cmds_need_lc='no' 
8293       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 
8294       hardcode_libdir_separator=: 
8296       link_all_deplibs=yes 
8300       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 
8301         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out 
8303         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF 
8305       hardcode_libdir_flag_spec='-R$libdir' 
8307       hardcode_shlibpath_var=no 
8311       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8313       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 
8314       hardcode_libdir_separator=: 
8315       hardcode_shlibpath_var=no 
8323       hardcode_shlibpath_var=no 
8324       if test -z "`echo __ELF__ 
| $CC -E - | $GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
8325         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 
8326         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 
8327         hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 
8328         export_dynamic_flag_spec='${wl}-E' 
8331         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 
8332           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
8333           hardcode_libdir_flag_spec='-R$libdir' 
8336           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 
8337           hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 
8344       hardcode_libdir_flag_spec='-L$libdir' 
8345       hardcode_minus_L=yes 
8346       allow_undefined_flag=unsupported 
8347       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' 
8348       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 
8352       if test "$GCC" = yes; then 
8353         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 
8354         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' 
8356         allow_undefined_flag=' -expect_unresolved \*' 
8357         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' 
8359       archive_cmds_need_lc='no' 
8360       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 
8361       hardcode_libdir_separator=: 
8364     osf4* | osf5*)      # as osf3* with the addition of -msym flag 
8365       if test "$GCC" = yes; then 
8366         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 
8367         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' 
8368         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 
8370         allow_undefined_flag=' -expect_unresolved \*' 
8371         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' 
8372         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~ 
8373         $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' 
8375         # Both c and cxx compiler support -rpath directly 
8376         hardcode_libdir_flag_spec='-rpath $libdir' 
8378       archive_cmds_need_lc='no' 
8379       hardcode_libdir_separator=: 
8383       no_undefined_flag=' -z defs' 
8384       if test "$GCC" = yes; then 
8386         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
8387         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
8388           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 
8390         case `$CC -V 2>&1` in 
8393           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8394           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
8395           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 
8399           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 
8400           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
8401           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 
8405       hardcode_libdir_flag_spec='-R$libdir' 
8406       hardcode_shlibpath_var=no 
8408       solaris2.[0-5] | solaris2.[0-5].*) ;; 
8410         # The compiler driver will combine linker options so we 
8411         # cannot just pass the convenience library names through 
8412         # without $wl, iff we do not link with $LD. 
8413         # Luckily, gcc supports the same syntax we need for Sun Studio. 
8414         # Supported since Solaris 2.6 (maybe 2.5.1?) 
8417           whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; 
8419           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' ;; 
8422       link_all_deplibs=yes 
8426       if test "x$host_vendor" = xsequent; then 
8427         # Use $CC to link under sequent, because it throws in some extra .o 
8428         # files that make .init and .fini sections work. 
8429         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 
8431         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 
8433       hardcode_libdir_flag_spec='-L$libdir' 
8435       hardcode_minus_L=yes 
8436       hardcode_shlibpath_var=no 
8440       case $host_vendor in 
8442           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8443           hardcode_direct=yes # is this really true??? 
8446           ## LD is ld it makes a PLAMLIB 
8447           ## CC just makes a GrossModule. 
8448           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 
8449           reload_cmds='$CC -r -o $output$reload_objs' 
8453           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8454           hardcode_direct=no #Motorola manual says yes, but my tests say they lie 
8457       runpath_var='LD_RUN_PATH' 
8458       hardcode_shlibpath_var=no 
8462       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8463       hardcode_shlibpath_var=no 
8464       export_dynamic_flag_spec='-Bexport' 
8468       if test -d /usr/nec; then 
8469         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8470         hardcode_shlibpath_var=no 
8471         runpath_var=LD_RUN_PATH 
8472         hardcode_runpath_var=yes 
8477     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 
8478       no_undefined_flag='${wl}-z,text' 
8479       archive_cmds_need_lc=no 
8480       hardcode_shlibpath_var=no 
8481       runpath_var='LD_RUN_PATH' 
8483       if test "$GCC" = yes; then 
8484         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8485         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8487         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8488         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8492     sysv5* | sco3.2v5* | sco5v6*) 
8493       # Note: We can NOT use -z defs as we might desire, because we do not 
8494       # link with -lc, and that would cause any symbols used from libc to 
8495       # always be unresolved, which means just about no library would 
8496       # ever link correctly.  If we're not using GNU ld we use -z text 
8497       # though, which does catch some bad symbols but isn't as heavy-handed 
8499       no_undefined_flag='${wl}-z,text' 
8500       allow_undefined_flag='${wl}-z,nodefs' 
8501       archive_cmds_need_lc=no 
8502       hardcode_shlibpath_var=no 
8503       hardcode_libdir_flag_spec='${wl}-R,$libdir' 
8504       hardcode_libdir_separator=':' 
8505       link_all_deplibs=yes 
8506       export_dynamic_flag_spec='${wl}-Bexport' 
8507       runpath_var='LD_RUN_PATH' 
8509       if test "$GCC" = yes; then 
8510         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8511         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8513         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8514         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8519       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8520       hardcode_libdir_flag_spec='-L$libdir' 
8521       hardcode_shlibpath_var=no 
8529     if test x$host_vendor = xsni; then 
8531       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 
8532         export_dynamic_flag_spec='${wl}-Blargedynsym' 
8538 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5 
8539 echo "${ECHO_T}$ld_shlibs" >&6; } 
8540 test "$ld_shlibs" = no && can_build_shared=no 
8542 with_gnu_ld=$with_gnu_ld 
8559 # Do we need to explicitly link libc? 
8561 case "x$archive_cmds_need_lc" in 
8563   # Assume -lc should be added 
8564   archive_cmds_need_lc=yes 
8566   if test "$enable_shared" = yes && test "$GCC" = yes; then 
8567     case $archive_cmds in 
8569       # FIXME: we may have to deal with multi-command sequences. 
8572       # Test whether the compiler implicitly links with -lc since on some 
8573       # systems, -lgcc has to come before -lc. If gcc already passes -lc 
8574       # to ld, don't add -lc before -lgcc. 
8575       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 
8576 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 
8578       printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
8580       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8581   (eval $ac_compile) 2>&5 
8583   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8584   (exit $ac_status); } 2>conftest.err; then 
8587         libobjs=conftest.$ac_objext 
8589         wl=$lt_prog_compiler_wl 
8590         pic_flag=$lt_prog_compiler_pic 
8596         lt_save_allow_undefined_flag=$allow_undefined_flag 
8597         allow_undefined_flag= 
8598         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 
8599   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 
8601   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8602   (exit $ac_status); } 
8604           archive_cmds_need_lc=no 
8606           archive_cmds_need_lc=yes 
8608         allow_undefined_flag=$lt_save_allow_undefined_flag 
8610         cat conftest.err 1>&5 
8613       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 
8614 echo "${ECHO_T}$archive_cmds_need_lc" >&6; } 
8767   { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 
8768 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 
8771 libname_spec='lib$name' 
8779 shlibpath_overrides_runpath=unknown 
8781 dynamic_linker="$host_os ld.so" 
8782 sys_lib_dlsearch_path_spec="/lib /usr/lib" 
8783 if test "$withGCC" = yes; then 
8784   sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
8785   if $ECHO "$sys_lib_search_path_spec" | $GREP ';' >/dev/null ; then 
8786     # if the path contains ";" then we assume it to be the separator 
8787     # otherwise default to the standard path separator (i.e. ":") - it is 
8788     # assumed that no part of a normal pathname contains ";" but that should 
8789     # okay in the real world where ";" in dirpaths is itself problematic. 
8790     sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
8792     sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
8795   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 
8797 need_lib_prefix=unknown 
8798 hardcode_into_libs=no 
8800 # when you set need_version to no, make sure it does not cause -set_version 
8801 # flags to be left without arguments 
8802 need_version=unknown 
8807   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 
8808   shlibpath_var=LIBPATH 
8810   # AIX 3 has no versioning support, so we append a major version to the name. 
8811   soname_spec='${libname}${release}${shared_ext}$major' 
8818   hardcode_into_libs=yes 
8819   if test "$host_cpu" = ia64; then 
8820     # AIX 5 supports IA64 
8821     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 
8822     shlibpath_var=LD_LIBRARY_PATH 
8824     # With GCC up to 2.95.x, collect2 would create an import file 
8825     # for dependence libraries.  The import file would start with 
8826     # the line `#! .'.  This would cause the generated library to 
8827     # depend on `.', always an invalid library.  This was fixed in 
8828     # development snapshots of GCC prior to 3.0. 
8830       aix4 
| aix4.
[01] | aix4.
[01].
*) 
8831       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 
8833            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then 
8840     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 
8841     # soname into executable. Probably we can add versioning support to 
8842     # collect2, so additional links can be useful in future. 
8843     if test "$aix_use_runtimelinking" = yes; then 
8844       # If using run time linking (on AIX 4.2 or later) use lib<name>.so 
8845       # instead of lib<name>.a to let people know that these are not 
8846       # typical AIX shared libraries. 
8847       library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
8849       # We preserve .a as extension for shared libraries through AIX4.2 
8850       # and later when we are not doing run time linking. 
8851       library_names_spec
='${libname}${release}.a $libname.a' 
8852       soname_spec
='${libname}${release}${shared_ext}$major' 
8854     shlibpath_var
=LIBPATH
 
8859   if test "$host_cpu" = m68k
; then 
8860     library_names_spec
='$libname.ixlibrary $libname.a' 
8861     # Create ${libname}_ixlibrary.a entries in /sys/libs. 
8862     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' 
8869   library_names_spec
='${libname}${shared_ext}' 
8870   dynamic_linker
="$host_os ld.so" 
8871   shlibpath_var
=LIBRARY_PATH
 
8877   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
8878   soname_spec
='${libname}${release}${shared_ext}$major' 
8879   finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir' 
8880   shlibpath_var
=LD_LIBRARY_PATH
 
8881   sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 
8882   sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib" 
8883   # the default ld.so.conf also contains /usr/contrib/lib and 
8884   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 
8885   # libtool to hard-code these into programs 
8888 cygwin
* | mingw
* | pw32
*) 
8889   version_type
=windows
 
8894   case $withGCC,$host_os in 
8895   yes,cygwin
* | yes,mingw
* | yes,pw32
*) 
8896     library_names_spec
='$libname.dll.a' 
8897     # DLL is installed to $(libdir)/../bin by postinstall_cmds 
8898     postinstall_cmds
='base_file=`basename \${file}`~ 
8899       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 
8900       dldir=$destdir/`dirname \$dlpath`~ 
8901       test -d \$dldir || mkdir -p \$dldir~ 
8902       $install_prog $dir/$dlname \$dldir/$dlname~ 
8903       chmod a+x \$dldir/$dlname~ 
8904       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 
8905         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 
8907     postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
8908       dlpath=$dir/\$dldll~ 
8910     shlibpath_overrides_runpath
=yes 
8914       # Cygwin DLLs use 'cyg' prefix rather than 'lib' 
8915       soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
8916       sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib" 
8919       # MinGW DLLs use traditional 'lib' prefix 
8920       soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
8921       sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
8922       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then 
8923         # It is most probably a Windows format PATH printed by 
8924         # mingw gcc, but we are running on Cygwin. Gcc prints its search 
8925         # path with ; separators, and with drive letters. We can handle the 
8926         # drive letters (cygwin fileutils understands them), so leave them, 
8927         # especially as we might pass files found there to a mingw objdump, 
8928         # which wouldn't understand a cygwinified path. Ahh. 
8929         sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
8931         sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
8935       # pw32 DLLs use 'pw' prefix rather than 'lib' 
8936       library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
8942     library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib' 
8945   dynamic_linker
='Win32 ld.exe' 
8946   # FIXME: first we should search . and the directory the executable is in 
8950 darwin
* | rhapsody
*) 
8951   dynamic_linker
="$host_os dyld" 
8955   library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 
8956   soname_spec
='${libname}${release}${major}$shared_ext' 
8957   shlibpath_overrides_runpath
=yes 
8958   shlibpath_var
=DYLD_LIBRARY_PATH
 
8959   shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`' 
8960   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 
8961   if test "$withGCC" = yes; then 
8962     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"` 
8964     sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib' 
8966   sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib' 
8973   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 
8974   soname_spec
='${libname}${release}${shared_ext}$major' 
8975   shlibpath_var
=LD_LIBRARY_PATH
 
8986   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
8987   soname_spec
='${libname}${release}${shared_ext}$major' 
8988   shlibpath_var
=LD_LIBRARY_PATH
 
8989   shlibpath_overrides_runpath
=no
 
8990   hardcode_into_libs
=yes 
8991   dynamic_linker
='GNU ld.so' 
8994 freebsd
* | dragonfly
*) 
8995   # DragonFly does not have aout.  When/if they implement a new 
8996   # versioning mechanism, adjust this. 
8997   if test -x /usr
/bin
/objformat
; then 
8998     objformat
=`/usr/bin/objformat` 
9001     freebsd
[123]*) objformat
=aout 
;; 
9005   version_type
=freebsd
-$objformat 
9006   case $version_type in 
9008       library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
9013       library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 
9017   shlibpath_var
=LD_LIBRARY_PATH
 
9020     shlibpath_overrides_runpath
=yes 
9022   freebsd3.
[01]* | freebsdelf3.
[01]*) 
9023     shlibpath_overrides_runpath
=yes 
9024     hardcode_into_libs
=yes 
9026   freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
 
9027   freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1) 
9028     shlibpath_overrides_runpath
=no
 
9029     hardcode_into_libs
=yes 
9031   freebsd
*) # from 4.6 on 
9032     shlibpath_overrides_runpath
=yes 
9033     hardcode_into_libs
=yes 
9042   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 
9043   soname_spec
='${libname}${release}${shared_ext}$major' 
9044   shlibpath_var
=LD_LIBRARY_PATH
 
9045   hardcode_into_libs
=yes 
9048 hpux9
* | hpux10
* | hpux11
*) 
9049   # Give a soname corresponding to the major version so that dld.sl refuses to 
9050   # link against other versions. 
9057     hardcode_into_libs
=yes 
9058     dynamic_linker
="$host_os dld.so" 
9059     shlibpath_var
=LD_LIBRARY_PATH
 
9060     shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified. 
9061     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9062     soname_spec
='${libname}${release}${shared_ext}$major' 
9063     if test "X$HPUX_IA64_MODE" = X32
; then 
9064       sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 
9066       sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64" 
9068     sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec 
9072     hardcode_into_libs
=yes 
9073     dynamic_linker
="$host_os dld.sl" 
9074     shlibpath_var
=LD_LIBRARY_PATH 
# How should we handle SHLIB_PATH 
9075     shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified. 
9076     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9077     soname_spec
='${libname}${release}${shared_ext}$major' 
9078     sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 
9079     sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec 
9083     dynamic_linker
="$host_os dld.sl" 
9084     shlibpath_var
=SHLIB_PATH
 
9085     shlibpath_overrides_runpath
=no 
# +s is required to enable SHLIB_PATH 
9086     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9087     soname_spec
='${libname}${release}${shared_ext}$major' 
9090   # HP-UX runs *really* slowly unless shared libraries are mode 555. 
9091   postinstall_cmds
='chmod 555 $lib' 
9098   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
9099   soname_spec
='${libname}${release}${shared_ext}$major' 
9100   dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)' 
9101   shlibpath_var
=LD_LIBRARY_PATH
 
9102   shlibpath_overrides_runpath
=no
 
9103   hardcode_into_libs
=yes 
9106 irix5
* | irix6
* | nonstopux
*) 
9108     nonstopux
*) version_type
=nonstopux 
;; 
9110         if test "$lt_cv_prog_gnu_ld" = yes; then 
9118   soname_spec
='${libname}${release}${shared_ext}$major' 
9119   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 
9121   irix5
* | nonstopux
*) 
9125     case $LD in # libtool.m4 will add one of these switches to LD 
9126     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 
9127       libsuff
= shlibsuff
= libmagic
=32-bit;; 
9128     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 
9129       libsuff
=32 shlibsuff
=N32 libmagic
=N32
;; 
9130     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 
9131       libsuff
=64 shlibsuff
=64 libmagic
=64-bit;; 
9132     *) libsuff
= shlibsuff
= libmagic
=never
-match;; 
9136   shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
 
9137   shlibpath_overrides_runpath
=no
 
9138   sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 
9139   sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}" 
9140   hardcode_into_libs
=yes 
9143 # No shared lib support for Linux oldld, aout, or coff. 
9144 linux
*oldld
* | linux
*aout
* | linux
*coff
*) 
9148 # This must be Linux ELF. 
9153   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9154   soname_spec
='${libname}${release}${shared_ext}$major' 
9155   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir' 
9156   shlibpath_var
=LD_LIBRARY_PATH
 
9157   shlibpath_overrides_runpath
=no
 
9158   # This implies no fast_install, which is unacceptable. 
9159   # Some rework will be needed to allow for fast_install 
9160   # before this can be enabled. 
9161   hardcode_into_libs
=yes 
9163   # Append ld.so.conf contents to the search path 
9164   if test -f /etc
/ld.so.conf
; then 
9165     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' ' '` 
9166     sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra" 
9169   # We used to test for /lib/ld.so.1 and disable shared libraries on 
9170   # powerpc, because MkLinux only supported shared libraries with the 
9171   # GNU dynamic linker.  Since this was broken with cross compilers, 
9172   # most powerpc-linux boxes support dynamic linking these days and 
9173   # people can always --disable-shared, the test was removed, and we 
9174   # assume the GNU/Linux dynamic linker is in use. 
9175   dynamic_linker
='GNU/Linux ld.so' 
9182   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
9183   soname_spec
='${libname}${release}${shared_ext}$major' 
9184   shlibpath_var
=LD_LIBRARY_PATH
 
9185   shlibpath_overrides_runpath
=no
 
9186   hardcode_into_libs
=yes 
9187   dynamic_linker
='GNU ld.so' 
9194   if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
>/dev
/null
; then 
9195     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
9196     finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
9197     dynamic_linker
='NetBSD (a.out) ld.so' 
9199     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
9200     soname_spec
='${libname}${release}${shared_ext}$major' 
9201     dynamic_linker
='NetBSD ld.elf_so' 
9203   shlibpath_var
=LD_LIBRARY_PATH
 
9204   shlibpath_overrides_runpath
=yes 
9205   hardcode_into_libs
=yes 
9210   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9211   shlibpath_var
=LD_LIBRARY_PATH
 
9212   shlibpath_overrides_runpath
=yes 
9219   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9220   soname_spec
='${libname}${release}${shared_ext}$major' 
9221   shlibpath_var
=LD_LIBRARY_PATH
 
9222   shlibpath_overrides_runpath
=no
 
9223   hardcode_into_libs
=yes 
9224   dynamic_linker
='ldqnx.so' 
9229   sys_lib_dlsearch_path_spec
="/usr/lib" 
9231   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 
9233     openbsd3.3 
| openbsd3.3.
*)  need_version
=yes ;; 
9234     *)                          need_version
=no  
;; 
9236   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
9237   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
9238   shlibpath_var
=LD_LIBRARY_PATH
 
9239   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
9241       openbsd2.
[89] | openbsd2.
[89].
*) 
9242         shlibpath_overrides_runpath
=no
 
9245         shlibpath_overrides_runpath
=yes 
9249     shlibpath_overrides_runpath
=yes 
9254   libname_spec
='$name' 
9257   library_names_spec
='$libname${shared_ext} $libname.a' 
9258   dynamic_linker
='OS/2 ld.exe' 
9259   shlibpath_var
=LIBPATH
 
9262 osf3
* | osf4
* | osf5
*) 
9266   soname_spec
='${libname}${release}${shared_ext}$major' 
9267   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9268   shlibpath_var
=LD_LIBRARY_PATH
 
9269   sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
9270   sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec" 
9281   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9282   soname_spec
='${libname}${release}${shared_ext}$major' 
9283   shlibpath_var
=LD_LIBRARY_PATH
 
9284   shlibpath_overrides_runpath
=yes 
9285   hardcode_into_libs
=yes 
9286   # ldd complains unless libraries are executable 
9287   postinstall_cmds
='chmod +x $lib' 
9292   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
9293   finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir' 
9294   shlibpath_var
=LD_LIBRARY_PATH
 
9295   shlibpath_overrides_runpath
=yes 
9296   if test "$with_gnu_ld" = yes; then 
9304   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9305   soname_spec
='${libname}${release}${shared_ext}$major' 
9306   shlibpath_var
=LD_LIBRARY_PATH
 
9307   case $host_vendor in 
9309       shlibpath_overrides_runpath
=no
 
9311       runpath_var
=LD_RUN_PATH
 
9319       shlibpath_overrides_runpath
=no
 
9320       sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib' 
9326   if test -d /usr
/nec 
;then 
9328     library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 
9329     soname_spec
='$libname${shared_ext}.$major' 
9330     shlibpath_var
=LD_LIBRARY_PATH
 
9334 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*) 
9335   version_type
=freebsd
-elf 
9338   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
9339   soname_spec
='${libname}${release}${shared_ext}$major' 
9340   shlibpath_var
=LD_LIBRARY_PATH
 
9341   shlibpath_overrides_runpath
=yes 
9342   hardcode_into_libs
=yes 
9343   if test "$with_gnu_ld" = yes; then 
9344     sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 
9346     sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib' 
9349         sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib" 
9353   sys_lib_dlsearch_path_spec
='/usr/lib' 
9357   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux. 
9361   library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9362   shlibpath_var
=LD_LIBRARY_PATH
 
9363   shlibpath_overrides_runpath
=no
 
9364   hardcode_into_libs
=yes 
9369   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9370   soname_spec
='${libname}${release}${shared_ext}$major' 
9371   shlibpath_var
=LD_LIBRARY_PATH
 
9378 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 
9379 echo "${ECHO_T}$dynamic_linker" >&6; } 
9380 test "$dynamic_linker" = no 
&& can_build_shared
=no
 
9382 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var" 
9383 if test "$GCC" = yes; then 
9384   variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
9473   { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 
9474 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 
9476 if test -n "$hardcode_libdir_flag_spec" || 
9477    test -n "$runpath_var" || 
9478    test "X$hardcode_automatic" = "Xyes" ; then 
9480   # We can hardcode non-existent directories. 
9481   if test "$hardcode_direct" != no 
&& 
9482      # If the only mechanism to avoid hardcoding is shlibpath_var, we 
9483      # have to relink, otherwise we might link with an installed library 
9484      # when we should be linking with a yet-to-be-installed one 
9485      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 
9486      test "$hardcode_minus_L" != no
; then 
9487     # Linking always hardcodes the temporary library directory. 
9488     hardcode_action
=relink
 
9490     # We can link without hardcoding, and we can hardcode nonexisting dirs. 
9491     hardcode_action
=immediate
 
9494   # We cannot hardcode anything, or else we can only hardcode existing 
9496   hardcode_action
=unsupported
 
9498 { echo "$as_me:$LINENO: result: $hardcode_action" >&5 
9499 echo "${ECHO_T}$hardcode_action" >&6; } 
9501 if test "$hardcode_action" = relink 
|| 
9502    test "$inherit_rpath" = yes; then 
9503   # Fast installation is not supported 
9504   enable_fast_install
=no
 
9505 elif test "$shlibpath_overrides_runpath" = yes || 
9506      test "$enable_shared" = no
; then 
9507   # Fast installation is not necessary 
9508   enable_fast_install
=needless
 
9516   if test "x$enable_dlopen" != xyes
; then 
9517   enable_dlopen
=unknown
 
9518   enable_dlopen_self
=unknown
 
9519   enable_dlopen_self_static
=unknown
 
9526     lt_cv_dlopen
="load_add_on" 
9528     lt_cv_dlopen_self
=yes 
9532     lt_cv_dlopen
="LoadLibrary" 
9537     lt_cv_dlopen
="dlopen" 
9542   # if libdl is installed we need to link against it 
9543     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 
9544 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 
9545 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 
9546   echo $ECHO_N "(cached) $ECHO_C" >&6 
9548   ac_check_lib_save_LIBS
=$LIBS 
9550 cat >conftest.
$ac_ext <<_ACEOF 
9553 cat confdefs.h 
>>conftest.
$ac_ext 
9554 cat >>conftest.
$ac_ext <<_ACEOF 
9555 /* end confdefs.h.  */ 
9557 /* Override any GCC internal prototype to avoid an error. 
9558    Use char because int might match the return type of a GCC 
9559    builtin and then its argument prototype would still apply.  */ 
9572 rm -f conftest.
$ac_objext conftest
$ac_exeext 
9573 if { (ac_try
="$ac_link" 
9575   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
9576   *) ac_try_echo=$ac_try;; 
9578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
9579   (eval "$ac_link") 2>conftest.er1 
9581   grep -v '^ *+' conftest.er1 >conftest.err 
9583   cat conftest.err >&5 
9584   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9585   (exit $ac_status); } && { 
9586          test -z "$ac_c_werror_flag" || 
9587          test ! -s conftest.err 
9588        } && test -s conftest$ac_exeext && 
9589        $as_test_x conftest$ac_exeext; then 
9590   ac_cv_lib_dl_dlopen=yes 
9592   echo "$as_me: failed program was:" >&5 
9593 sed 's/^/| /' conftest.$ac_ext >&5 
9595         ac_cv_lib_dl_dlopen=no 
9598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
9599       conftest$ac_exeext conftest.$ac_ext 
9600 LIBS=$ac_check_lib_save_LIBS 
9602 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 
9603 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 
9604 if test $ac_cv_lib_dl_dlopen = yes; then 
9605   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 
9610     lt_cv_dlopen_self=yes 
9617     { echo "$as_me:$LINENO: checking for shl_load" >&5 
9618 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } 
9619 if test "${ac_cv_func_shl_load+set}" = set; then 
9620   echo $ECHO_N "(cached) $ECHO_C" >&6 
9622   cat >conftest.$ac_ext <<_ACEOF 
9625 cat confdefs.h >>conftest.$ac_ext 
9626 cat >>conftest.$ac_ext <<_ACEOF 
9627 /* end confdefs.h.  */ 
9628 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 
9629    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
9630 #define shl_load innocuous_shl_load 
9632 /* System header to define __stub macros and hopefully few prototypes, 
9633     which can conflict with char shl_load (); below. 
9634     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
9635     <limits.h> exists even on freestanding compilers.  */ 
9638 # include <limits.h> 
9640 # include <assert.h> 
9645 /* Override any GCC internal prototype to avoid an error. 
9646    Use char because int might match the return type of a GCC 
9647    builtin and then its argument prototype would still apply.  */ 
9652 /* The GNU C library defines this for functions which it implements 
9653     to always fail with ENOSYS.  Some functions are actually named 
9654     something starting with __ and the normal name is an alias.  */ 
9655 #if defined __stub_shl_load || defined __stub___shl_load 
9667 rm -f conftest.$ac_objext conftest$ac_exeext 
9668 if { (ac_try="$ac_link" 
9670   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
9671   *) ac_try_echo
=$ac_try;; 
9673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
9674   (eval "$ac_link") 2>conftest.er1
 
9676   grep -v '^ *+' conftest.er1 
>conftest.err
 
9678   cat conftest.err 
>&5 
9679   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9680   (exit $ac_status); } && { 
9681          test -z "$ac_c_werror_flag" || 
9682          test ! -s conftest.err
 
9683        } && test -s conftest
$ac_exeext && 
9684        $as_test_x conftest
$ac_exeext; then 
9685   ac_cv_func_shl_load
=yes 
9687   echo "$as_me: failed program was:" >&5 
9688 sed 's/^/| /' conftest.
$ac_ext >&5 
9690         ac_cv_func_shl_load
=no
 
9693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
9694       conftest
$ac_exeext conftest.
$ac_ext 
9696 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 
9697 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } 
9698 if test $ac_cv_func_shl_load = yes; then 
9699   lt_cv_dlopen
="shl_load" 
9701   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 
9702 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 
9703 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 
9704   echo $ECHO_N "(cached) $ECHO_C" >&6 
9706   ac_check_lib_save_LIBS
=$LIBS 
9708 cat >conftest.
$ac_ext <<_ACEOF 
9711 cat confdefs.h 
>>conftest.
$ac_ext 
9712 cat >>conftest.
$ac_ext <<_ACEOF 
9713 /* end confdefs.h.  */ 
9715 /* Override any GCC internal prototype to avoid an error. 
9716    Use char because int might match the return type of a GCC 
9717    builtin and then its argument prototype would still apply.  */ 
9730 rm -f conftest.
$ac_objext conftest
$ac_exeext 
9731 if { (ac_try
="$ac_link" 
9733   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
9734   *) ac_try_echo=$ac_try;; 
9736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
9737   (eval "$ac_link") 2>conftest.er1 
9739   grep -v '^ *+' conftest.er1 >conftest.err 
9741   cat conftest.err >&5 
9742   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9743   (exit $ac_status); } && { 
9744          test -z "$ac_c_werror_flag" || 
9745          test ! -s conftest.err 
9746        } && test -s conftest$ac_exeext && 
9747        $as_test_x conftest$ac_exeext; then 
9748   ac_cv_lib_dld_shl_load=yes 
9750   echo "$as_me: failed program was:" >&5 
9751 sed 's/^/| /' conftest.$ac_ext >&5 
9753         ac_cv_lib_dld_shl_load=no 
9756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
9757       conftest$ac_exeext conftest.$ac_ext 
9758 LIBS=$ac_check_lib_save_LIBS 
9760 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 
9761 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 
9762 if test $ac_cv_lib_dld_shl_load = yes; then 
9763   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 
9765   { echo "$as_me:$LINENO: checking for dlopen" >&5 
9766 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } 
9767 if test "${ac_cv_func_dlopen+set}" = set; then 
9768   echo $ECHO_N "(cached) $ECHO_C" >&6 
9770   cat >conftest.$ac_ext <<_ACEOF 
9773 cat confdefs.h >>conftest.$ac_ext 
9774 cat >>conftest.$ac_ext <<_ACEOF 
9775 /* end confdefs.h.  */ 
9776 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 
9777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
9778 #define dlopen innocuous_dlopen 
9780 /* System header to define __stub macros and hopefully few prototypes, 
9781     which can conflict with char dlopen (); below. 
9782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
9783     <limits.h> exists even on freestanding compilers.  */ 
9786 # include <limits.h> 
9788 # include <assert.h> 
9793 /* Override any GCC internal prototype to avoid an error. 
9794    Use char because int might match the return type of a GCC 
9795    builtin and then its argument prototype would still apply.  */ 
9800 /* The GNU C library defines this for functions which it implements 
9801     to always fail with ENOSYS.  Some functions are actually named 
9802     something starting with __ and the normal name is an alias.  */ 
9803 #if defined __stub_dlopen || defined __stub___dlopen 
9815 rm -f conftest.$ac_objext conftest$ac_exeext 
9816 if { (ac_try="$ac_link" 
9818   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
9819   *) ac_try_echo
=$ac_try;; 
9821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
9822   (eval "$ac_link") 2>conftest.er1
 
9824   grep -v '^ *+' conftest.er1 
>conftest.err
 
9826   cat conftest.err 
>&5 
9827   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9828   (exit $ac_status); } && { 
9829          test -z "$ac_c_werror_flag" || 
9830          test ! -s conftest.err
 
9831        } && test -s conftest
$ac_exeext && 
9832        $as_test_x conftest
$ac_exeext; then 
9833   ac_cv_func_dlopen
=yes 
9835   echo "$as_me: failed program was:" >&5 
9836 sed 's/^/| /' conftest.
$ac_ext >&5 
9838         ac_cv_func_dlopen
=no
 
9841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
9842       conftest
$ac_exeext conftest.
$ac_ext 
9844 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 
9845 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } 
9846 if test $ac_cv_func_dlopen = yes; then 
9847   lt_cv_dlopen
="dlopen" 
9849   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 
9850 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 
9851 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 
9852   echo $ECHO_N "(cached) $ECHO_C" >&6 
9854   ac_check_lib_save_LIBS
=$LIBS 
9856 cat >conftest.
$ac_ext <<_ACEOF 
9859 cat confdefs.h 
>>conftest.
$ac_ext 
9860 cat >>conftest.
$ac_ext <<_ACEOF 
9861 /* end confdefs.h.  */ 
9863 /* Override any GCC internal prototype to avoid an error. 
9864    Use char because int might match the return type of a GCC 
9865    builtin and then its argument prototype would still apply.  */ 
9878 rm -f conftest.
$ac_objext conftest
$ac_exeext 
9879 if { (ac_try
="$ac_link" 
9881   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
9882   *) ac_try_echo=$ac_try;; 
9884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
9885   (eval "$ac_link") 2>conftest.er1 
9887   grep -v '^ *+' conftest.er1 >conftest.err 
9889   cat conftest.err >&5 
9890   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9891   (exit $ac_status); } && { 
9892          test -z "$ac_c_werror_flag" || 
9893          test ! -s conftest.err 
9894        } && test -s conftest$ac_exeext && 
9895        $as_test_x conftest$ac_exeext; then 
9896   ac_cv_lib_dl_dlopen=yes 
9898   echo "$as_me: failed program was:" >&5 
9899 sed 's/^/| /' conftest.$ac_ext >&5 
9901         ac_cv_lib_dl_dlopen=no 
9904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
9905       conftest$ac_exeext conftest.$ac_ext 
9906 LIBS=$ac_check_lib_save_LIBS 
9908 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 
9909 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 
9910 if test $ac_cv_lib_dl_dlopen = yes; then 
9911   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 
9913   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 
9914 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } 
9915 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 
9916   echo $ECHO_N "(cached) $ECHO_C" >&6 
9918   ac_check_lib_save_LIBS=$LIBS 
9920 cat >conftest.$ac_ext <<_ACEOF 
9923 cat confdefs.h >>conftest.$ac_ext 
9924 cat >>conftest.$ac_ext <<_ACEOF 
9925 /* end confdefs.h.  */ 
9927 /* Override any GCC internal prototype to avoid an error. 
9928    Use char because int might match the return type of a GCC 
9929    builtin and then its argument prototype would still apply.  */ 
9942 rm -f conftest.$ac_objext conftest$ac_exeext 
9943 if { (ac_try="$ac_link" 
9945   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
9946   *) ac_try_echo
=$ac_try;; 
9948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
9949   (eval "$ac_link") 2>conftest.er1
 
9951   grep -v '^ *+' conftest.er1 
>conftest.err
 
9953   cat conftest.err 
>&5 
9954   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9955   (exit $ac_status); } && { 
9956          test -z "$ac_c_werror_flag" || 
9957          test ! -s conftest.err
 
9958        } && test -s conftest
$ac_exeext && 
9959        $as_test_x conftest
$ac_exeext; then 
9960   ac_cv_lib_svld_dlopen
=yes 
9962   echo "$as_me: failed program was:" >&5 
9963 sed 's/^/| /' conftest.
$ac_ext >&5 
9965         ac_cv_lib_svld_dlopen
=no
 
9968 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
9969       conftest
$ac_exeext conftest.
$ac_ext 
9970 LIBS
=$ac_check_lib_save_LIBS 
9972 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 
9973 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } 
9974 if test $ac_cv_lib_svld_dlopen = yes; then 
9975   lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld" 
9977   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 
9978 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } 
9979 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 
9980   echo $ECHO_N "(cached) $ECHO_C" >&6 
9982   ac_check_lib_save_LIBS
=$LIBS 
9984 cat >conftest.
$ac_ext <<_ACEOF 
9987 cat confdefs.h 
>>conftest.
$ac_ext 
9988 cat >>conftest.
$ac_ext <<_ACEOF 
9989 /* end confdefs.h.  */ 
9991 /* Override any GCC internal prototype to avoid an error. 
9992    Use char because int might match the return type of a GCC 
9993    builtin and then its argument prototype would still apply.  */ 
10001 return dld_link (); 
10006 rm -f conftest.
$ac_objext conftest
$ac_exeext 
10007 if { (ac_try
="$ac_link" 
10008 case "(($ac_try" in 
10009   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
10010   *) ac_try_echo=$ac_try;; 
10012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
10013   (eval "$ac_link") 2>conftest.er1 
10015   grep -v '^ *+' conftest.er1 >conftest.err 
10017   cat conftest.err >&5 
10018   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
10019   (exit $ac_status); } && { 
10020          test -z "$ac_c_werror_flag" || 
10021          test ! -s conftest.err 
10022        } && test -s conftest$ac_exeext && 
10023        $as_test_x conftest$ac_exeext; then 
10024   ac_cv_lib_dld_dld_link=yes 
10026   echo "$as_me: failed program was:" >&5 
10027 sed 's/^/| /' conftest.$ac_ext >&5 
10029         ac_cv_lib_dld_dld_link=no 
10032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
10033       conftest$ac_exeext conftest.$ac_ext 
10034 LIBS=$ac_check_lib_save_LIBS 
10036 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 
10037 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } 
10038 if test $ac_cv_lib_dld_dld_link = yes; then 
10039   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 
10060   if test "x$lt_cv_dlopen" != xno; then 
10066   case $lt_cv_dlopen in 
10068     save_CPPFLAGS="$CPPFLAGS" 
10069     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 
10071     save_LDFLAGS="$LDFLAGS" 
10072     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 
10075     LIBS="$lt_cv_dlopen_libs $LIBS" 
10077     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 
10078 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } 
10079 if test "${lt_cv_dlopen_self+set}" = set; then 
10080   echo $ECHO_N "(cached) $ECHO_C" >&6 
10082           if test "$cross_compiling" = yes; then : 
10083   lt_cv_dlopen_self=cross 
10085   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 
10086   lt_status=$lt_dlunknown 
10087   cat > conftest.$ac_ext <<_LT_EOF 
10088 #line 10088 "configure" 
10089 #include "confdefs.h" 
10098 #  define LT_DLGLOBAL           RTLD_GLOBAL 
10101 #    define LT_DLGLOBAL         DL_GLOBAL 
10103 #    define LT_DLGLOBAL         0 
10107 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 
10108    find out it does not work in some platform. */ 
10109 #ifndef LT_DLLAZY_OR_NOW 
10111 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY 
10114 #      define LT_DLLAZY_OR_NOW          DL_LAZY 
10117 #        define LT_DLLAZY_OR_NOW        RTLD_NOW 
10120 #          define LT_DLLAZY_OR_NOW      DL_NOW 
10122 #          define LT_DLLAZY_OR_NOW      0 
10130 extern "C" void exit (int); 
10133 void fnord() { int i=42;} 
10136   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 
10137   int status = $lt_dlunknown; 
10141       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; 
10142       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 
10143       /* dlclose (self); */ 
10151   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
10152   (eval $ac_link) 2>&5 
10154   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
10155   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 
10156     (./conftest; exit; ) >&5 2>/dev/null 
10158     case x$lt_status in 
10159       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 
10160       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 
10161       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 
10164     # compilation failed 
10165     lt_cv_dlopen_self=no 
10172 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 
10173 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } 
10175     if test "x$lt_cv_dlopen_self" = xyes; then 
10176       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 
10177       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 
10178 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } 
10179 if test "${lt_cv_dlopen_self_static+set}" = set; then 
10180   echo $ECHO_N "(cached) $ECHO_C" >&6 
10182           if test "$cross_compiling" = yes; then : 
10183   lt_cv_dlopen_self_static=cross 
10185   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 
10186   lt_status=$lt_dlunknown 
10187   cat > conftest.$ac_ext <<_LT_EOF 
10188 #line 10188 "configure" 
10189 #include "confdefs.h" 
10198 #  define LT_DLGLOBAL           RTLD_GLOBAL 
10201 #    define LT_DLGLOBAL         DL_GLOBAL 
10203 #    define LT_DLGLOBAL         0 
10207 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 
10208    find out it does not work in some platform. */ 
10209 #ifndef LT_DLLAZY_OR_NOW 
10211 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY 
10214 #      define LT_DLLAZY_OR_NOW          DL_LAZY 
10217 #        define LT_DLLAZY_OR_NOW        RTLD_NOW 
10220 #          define LT_DLLAZY_OR_NOW      DL_NOW 
10222 #          define LT_DLLAZY_OR_NOW      0 
10230 extern "C" void exit (int); 
10233 void fnord() { int i=42;} 
10236   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 
10237   int status = $lt_dlunknown; 
10241       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; 
10242       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 
10243       /* dlclose (self); */ 
10251   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
10252   (eval $ac_link) 2>&5 
10254   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
10255   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 
10256     (./conftest; exit; ) >&5 2>/dev/null 
10258     case x$lt_status in 
10259       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 
10260       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 
10261       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 
10264     # compilation failed 
10265     lt_cv_dlopen_self_static=no 
10272 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 
10273 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } 
10276     CPPFLAGS="$save_CPPFLAGS" 
10277     LDFLAGS="$save_LDFLAGS" 
10282   case $lt_cv_dlopen_self in 
10283   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 
10284   *) enable_dlopen_self=unknown ;; 
10287   case $lt_cv_dlopen_self_static in 
10288   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 
10289   *) enable_dlopen_self_static=unknown ;; 
10311 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 
10312 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } 
10313 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 
10314   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 
10315   test -z "$striplib" && striplib="$STRIP --strip-unneeded" 
10316   { echo "$as_me:$LINENO: result: yes" >&5 
10317 echo "${ECHO_T}yes" >&6; } 
10319 # FIXME - insert some real tests, host_os isn't really good enough 
10322     if test -n "$STRIP" ; then 
10323       striplib="$STRIP -x" 
10324       old_striplib="$STRIP -S" 
10325       { echo "$as_me:$LINENO: result: yes" >&5 
10326 echo "${ECHO_T}yes" >&6; } 
10328       { echo "$as_me:$LINENO: result: no" >&5 
10329 echo "${ECHO_T}no" >&6; } 
10333     { echo "$as_me:$LINENO: result: no" >&5 
10334 echo "${ECHO_T}no" >&6; } 
10350   # Report which library types will actually be built 
10351   { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 
10352 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } 
10353   { echo "$as_me:$LINENO: result: $can_build_shared" >&5 
10354 echo "${ECHO_T}$can_build_shared" >&6; } 
10356   { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 
10357 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } 
10358   test "$can_build_shared" = "no" && enable_shared=no 
10360   # On AIX, shared libraries and static libraries use the same namespace, and 
10361   # are all built from PIC. 
10364     test "$enable_shared" = yes && enable_static=no 
10365     if test -n "$RANLIB"; then 
10366       archive_cmds="$archive_cmds~\$RANLIB \$lib" 
10367       postinstall_cmds='$RANLIB $lib' 
10372     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 
10373       test "$enable_shared" = yes && enable_static=no 
10377   { echo "$as_me:$LINENO: result: $enable_shared" >&5 
10378 echo "${ECHO_T}$enable_shared" >&6; } 
10380   { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 
10381 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } 
10382   # Make sure either enable_shared or enable_static is yes. 
10383   test "$enable_shared" = yes || enable_static=yes 
10384   { echo "$as_me:$LINENO: result: $enable_static" >&5 
10385 echo "${ECHO_T}$enable_static" >&6; } 
10392 ac_cpp='$CPP $CPPFLAGS' 
10393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
10394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
10395 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
10411         ac_config_commands="$ac_config_commands libtool" 
10416 # Only expand once: 
10419 enable_win32_dll=yes 
10422 *-*-cygwin* | *-*-mingw* | *-*-pw32*) 
10423   if test -n "$ac_tool_prefix"; then 
10424   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 
10425 set dummy ${ac_tool_prefix}as; ac_word=$2 
10426 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
10427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
10428 if test "${ac_cv_prog_AS+set}" = set; then 
10429   echo $ECHO_N "(cached) $ECHO_C" >&6 
10431   if test -n "$AS"; then 
10432   ac_cv_prog_AS="$AS" # Let the user override the test. 
10434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
10435 for as_dir in $PATH 
10438   test -z "$as_dir" && as_dir=. 
10439   for ac_exec_ext in '' $ac_executable_extensions; do 
10440   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10441     ac_cv_prog_AS="${ac_tool_prefix}as" 
10442     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
10452 if test -n "$AS"; then 
10453   { echo "$as_me:$LINENO: result: $AS" >&5 
10454 echo "${ECHO_T}$AS" >&6; } 
10456   { echo "$as_me:$LINENO: result: no" >&5 
10457 echo "${ECHO_T}no" >&6; } 
10462 if test -z "$ac_cv_prog_AS"; then 
10464   # Extract the first word of "as", so it can be a program name with args. 
10465 set dummy as; ac_word=$2 
10466 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
10467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
10468 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then 
10469   echo $ECHO_N "(cached) $ECHO_C" >&6 
10471   if test -n "$ac_ct_AS"; then 
10472   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 
10474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
10475 for as_dir in $PATH 
10478   test -z "$as_dir" && as_dir=. 
10479   for ac_exec_ext in '' $ac_executable_extensions; do 
10480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10481     ac_cv_prog_ac_ct_AS="as" 
10482     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
10491 ac_ct_AS=$ac_cv_prog_ac_ct_AS 
10492 if test -n "$ac_ct_AS"; then 
10493   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 
10494 echo "${ECHO_T}$ac_ct_AS" >&6; } 
10496   { echo "$as_me:$LINENO: result: no" >&5 
10497 echo "${ECHO_T}no" >&6; } 
10500   if test "x$ac_ct_AS" = x; then 
10503     case $cross_compiling:$ac_tool_warned in 
10505 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
10506 whose name does not start with the host triplet.  If you think this 
10507 configuration is useful to you, please write to autoconf@gnu.org." >&5 
10508 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
10509 whose name does not start with the host triplet.  If you think this 
10510 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
10511 ac_tool_warned=yes ;; 
10516   AS="$ac_cv_prog_AS" 
10519   if test -n "$ac_tool_prefix"; then 
10520   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 
10521 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 
10522 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
10523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
10524 if test "${ac_cv_prog_DLLTOOL+set}" = set; then 
10525   echo $ECHO_N "(cached) $ECHO_C" >&6 
10527   if test -n "$DLLTOOL"; then 
10528   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 
10530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
10531 for as_dir in $PATH 
10534   test -z "$as_dir" && as_dir=. 
10535   for ac_exec_ext in '' $ac_executable_extensions; do 
10536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10537     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 
10538     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
10547 DLLTOOL=$ac_cv_prog_DLLTOOL 
10548 if test -n "$DLLTOOL"; then 
10549   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5 
10550 echo "${ECHO_T}$DLLTOOL" >&6; } 
10552   { echo "$as_me:$LINENO: result: no" >&5 
10553 echo "${ECHO_T}no" >&6; } 
10558 if test -z "$ac_cv_prog_DLLTOOL"; then 
10559   ac_ct_DLLTOOL=$DLLTOOL 
10560   # Extract the first word of "dlltool", so it can be a program name with args. 
10561 set dummy dlltool; ac_word=$2 
10562 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
10563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
10564 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then 
10565   echo $ECHO_N "(cached) $ECHO_C" >&6 
10567   if test -n "$ac_ct_DLLTOOL"; then 
10568   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 
10570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
10571 for as_dir in $PATH 
10574   test -z "$as_dir" && as_dir=. 
10575   for ac_exec_ext in '' $ac_executable_extensions; do 
10576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10577     ac_cv_prog_ac_ct_DLLTOOL="dlltool" 
10578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
10587 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 
10588 if test -n "$ac_ct_DLLTOOL"; then 
10589   { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 
10590 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; } 
10592   { echo "$as_me:$LINENO: result: no" >&5 
10593 echo "${ECHO_T}no" >&6; } 
10596   if test "x$ac_ct_DLLTOOL" = x; then 
10599     case $cross_compiling:$ac_tool_warned in 
10601 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
10602 whose name does not start with the host triplet.  If you think this 
10603 configuration is useful to you, please write to autoconf@gnu.org." >&5 
10604 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
10605 whose name does not start with the host triplet.  If you think this 
10606 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
10607 ac_tool_warned=yes ;; 
10609     DLLTOOL=$ac_ct_DLLTOOL 
10612   DLLTOOL="$ac_cv_prog_DLLTOOL" 
10615   if test -n "$ac_tool_prefix"; then 
10616   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 
10617 set dummy ${ac_tool_prefix}objdump; ac_word=$2 
10618 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
10619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
10620 if test "${ac_cv_prog_OBJDUMP+set}" = set; then 
10621   echo $ECHO_N "(cached) $ECHO_C" >&6 
10623   if test -n "$OBJDUMP"; then 
10624   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 
10626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
10627 for as_dir in $PATH 
10630   test -z "$as_dir" && as_dir=. 
10631   for ac_exec_ext in '' $ac_executable_extensions; do 
10632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10633     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 
10634     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
10643 OBJDUMP=$ac_cv_prog_OBJDUMP 
10644 if test -n "$OBJDUMP"; then 
10645   { echo "$as_me:$LINENO: result: $OBJDUMP" >&5 
10646 echo "${ECHO_T}$OBJDUMP" >&6; } 
10648   { echo "$as_me:$LINENO: result: no" >&5 
10649 echo "${ECHO_T}no" >&6; } 
10654 if test -z "$ac_cv_prog_OBJDUMP"; then 
10655   ac_ct_OBJDUMP=$OBJDUMP 
10656   # Extract the first word of "objdump", so it can be a program name with args. 
10657 set dummy objdump; ac_word=$2 
10658 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
10659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
10660 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 
10661   echo $ECHO_N "(cached) $ECHO_C" >&6 
10663   if test -n "$ac_ct_OBJDUMP"; then 
10664   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 
10666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
10667 for as_dir in $PATH 
10670   test -z "$as_dir" && as_dir=. 
10671   for ac_exec_ext in '' $ac_executable_extensions; do 
10672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10673     ac_cv_prog_ac_ct_OBJDUMP="objdump" 
10674     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
10683 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 
10684 if test -n "$ac_ct_OBJDUMP"; then 
10685   { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 
10686 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; } 
10688   { echo "$as_me:$LINENO: result: no" >&5 
10689 echo "${ECHO_T}no" >&6; } 
10692   if test "x$ac_ct_OBJDUMP" = x; then 
10695     case $cross_compiling:$ac_tool_warned in 
10697 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
10698 whose name does not start with the host triplet.  If you think this 
10699 configuration is useful to you, please write to autoconf@gnu.org." >&5 
10700 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
10701 whose name does not start with the host triplet.  If you think this 
10702 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
10703 ac_tool_warned=yes ;; 
10705     OBJDUMP=$ac_ct_OBJDUMP 
10708   OBJDUMP="$ac_cv_prog_OBJDUMP" 
10714 test -z "$AS" && AS=as 
10720 test -z "$DLLTOOL" && DLLTOOL=dlltool 
10726 test -z "$OBJDUMP" && OBJDUMP=objdump 
10736 { echo "$as_me:$LINENO: checking for main in -lc" >&5 
10737 echo $ECHO_N "checking for main in -lc... $ECHO_C" >&6; } 
10738 if test "${ac_cv_lib_c_main+set}" = set; then 
10739   echo $ECHO_N "(cached) $ECHO_C" >&6 
10741   ac_check_lib_save_LIBS=$LIBS 
10743 cat >conftest.$ac_ext <<_ACEOF 
10746 cat confdefs.h >>conftest.$ac_ext 
10747 cat >>conftest.$ac_ext <<_ACEOF 
10748 /* end confdefs.h.  */ 
10759 rm -f conftest.$ac_objext conftest$ac_exeext 
10760 if { (ac_try="$ac_link" 
10761 case "(($ac_try" in 
10762   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
10763   *) ac_try_echo
=$ac_try;; 
10765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
10766   (eval "$ac_link") 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          test -z "$ac_c_werror_flag" || 
10774          test ! -s conftest.err
 
10775        } && test -s conftest
$ac_exeext && 
10776        $as_test_x conftest
$ac_exeext; then 
10777   ac_cv_lib_c_main
=yes 
10779   echo "$as_me: failed program was:" >&5 
10780 sed 's/^/| /' conftest.
$ac_ext >&5 
10782         ac_cv_lib_c_main
=no
 
10785 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
10786       conftest
$ac_exeext conftest.
$ac_ext 
10787 LIBS
=$ac_check_lib_save_LIBS 
10789 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_main" >&5 
10790 echo "${ECHO_T}$ac_cv_lib_c_main" >&6; } 
10791 if test $ac_cv_lib_c_main = yes; then 
10792   cat >>confdefs.h 
<<_ACEOF 
10793 #define HAVE_LIBC 1 
10801 case "$target_os" in 
10802     cygwin
* | mingw32
* | beos
* | darwin
*) 
10806 { echo "$as_me:$LINENO: checking for main in -lm" >&5 
10807 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 
10808 if test "${ac_cv_lib_m_main+set}" = set; then 
10809   echo $ECHO_N "(cached) $ECHO_C" >&6 
10811   ac_check_lib_save_LIBS
=$LIBS 
10813 cat >conftest.
$ac_ext <<_ACEOF 
10816 cat confdefs.h 
>>conftest.
$ac_ext 
10817 cat >>conftest.
$ac_ext <<_ACEOF 
10818 /* end confdefs.h.  */ 
10829 rm -f conftest.
$ac_objext conftest
$ac_exeext 
10830 if { (ac_try
="$ac_link" 
10831 case "(($ac_try" in 
10832   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
10833   *) ac_try_echo=$ac_try;; 
10835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
10836   (eval "$ac_link") 2>conftest.er1 
10838   grep -v '^ *+' conftest.er1 >conftest.err 
10840   cat conftest.err >&5 
10841   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
10842   (exit $ac_status); } && { 
10843          test -z "$ac_c_werror_flag" || 
10844          test ! -s conftest.err 
10845        } && test -s conftest$ac_exeext && 
10846        $as_test_x conftest$ac_exeext; then 
10847   ac_cv_lib_m_main=yes 
10849   echo "$as_me: failed program was:" >&5 
10850 sed 's/^/| /' conftest.$ac_ext >&5 
10852         ac_cv_lib_m_main=no 
10855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
10856       conftest$ac_exeext conftest.$ac_ext 
10857 LIBS=$ac_check_lib_save_LIBS 
10859 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 
10860 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } 
10861 if test $ac_cv_lib_m_main = yes; then 
10862   cat >>confdefs.h <<_ACEOF 
10863 #define HAVE_LIBM 1 
10880 for ac_header in assert.h fcntl.h limits.h malloc.h search.h sys/time.h unistd.h 
10882 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
10883 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
10884   { echo "$as_me:$LINENO: checking for $ac_header" >&5 
10885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
10886 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
10887   echo $ECHO_N "(cached) $ECHO_C" >&6 
10889 ac_res=`eval echo '${'$as_ac_Header'}'` 
10890                { echo "$as_me:$LINENO: result: $ac_res" >&5 
10891 echo "${ECHO_T}$ac_res" >&6; } 
10893   # Is the header compilable? 
10894 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 
10895 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 
10896 cat >conftest.$ac_ext <<_ACEOF 
10899 cat confdefs.h >>conftest.$ac_ext 
10900 cat >>conftest.$ac_ext <<_ACEOF 
10901 /* end confdefs.h.  */ 
10902 $ac_includes_default 
10903 #include <$ac_header> 
10905 rm -f conftest.$ac_objext 
10906 if { (ac_try="$ac_compile" 
10907 case "(($ac_try" in 
10908   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
10909   *) ac_try_echo
=$ac_try;; 
10911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
10912   (eval "$ac_compile") 2>conftest.er1
 
10914   grep -v '^ *+' conftest.er1 
>conftest.err
 
10916   cat conftest.err 
>&5 
10917   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
10918   (exit $ac_status); } && { 
10919          test -z "$ac_c_werror_flag" || 
10920          test ! -s conftest.err
 
10921        } && test -s conftest.
$ac_objext; then 
10922   ac_header_compiler
=yes 
10924   echo "$as_me: failed program was:" >&5 
10925 sed 's/^/| /' conftest.
$ac_ext >&5 
10927         ac_header_compiler
=no
 
10930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
10931 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
10932 echo "${ECHO_T}$ac_header_compiler" >&6; } 
10934 # Is the header present? 
10935 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 
10936 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 
10937 cat >conftest.
$ac_ext <<_ACEOF 
10940 cat confdefs.h 
>>conftest.
$ac_ext 
10941 cat >>conftest.
$ac_ext <<_ACEOF 
10942 /* end confdefs.h.  */ 
10943 #include <$ac_header> 
10945 if { (ac_try
="$ac_cpp conftest.$ac_ext" 
10946 case "(($ac_try" in 
10947   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
10948   *) ac_try_echo=$ac_try;; 
10950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
10951   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
10953   grep -v '^ *+' conftest.er1 >conftest.err 
10955   cat conftest.err >&5 
10956   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
10957   (exit $ac_status); } >/dev/null && { 
10958          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
10959          test ! -s conftest.err 
10961   ac_header_preproc=yes 
10963   echo "$as_me: failed program was:" >&5 
10964 sed 's/^/| /' conftest.$ac_ext >&5 
10966   ac_header_preproc=no 
10969 rm -f conftest.err conftest.$ac_ext 
10970 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
10971 echo "${ECHO_T}$ac_header_preproc" >&6; } 
10973 # So?  What about this header? 
10974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
10976     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
10977 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
10978     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 
10979 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 
10980     ac_header_preproc=yes 
10983     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 
10984 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 
10985     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 
10986 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} 
10987     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 
10988 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 
10989     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 
10990 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} 
10991     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
10992 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
10993     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 
10994 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 
10996 ## -------------------------------------- ## 
10997 ## Report this to tiff@lists.maptools.org ## 
10998 ## -------------------------------------- ## 
11000      ) | sed "s/^/$as_me: WARNING:     /" >&2 
11003 { echo "$as_me:$LINENO: checking for $ac_header" >&5 
11004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
11005 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
11006   echo $ECHO_N "(cached) $ECHO_C" >&6 
11008   eval "$as_ac_Header=\$ac_header_preproc" 
11010 ac_res=`eval echo '${'$as_ac_Header'}'` 
11011                { echo "$as_me:$LINENO: result: $ac_res" >&5 
11012 echo "${ECHO_T}$ac_res" >&6; } 
11015 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
11016   cat >>confdefs.h <<_ACEOF 
11017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
11025 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 
11026 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 
11027 if test "${ac_cv_c_const+set}" = set; then 
11028   echo $ECHO_N "(cached) $ECHO_C" >&6 
11030   cat >conftest.$ac_ext <<_ACEOF 
11033 cat confdefs.h >>conftest.$ac_ext 
11034 cat >>conftest.$ac_ext <<_ACEOF 
11035 /* end confdefs.h.  */ 
11040 /* FIXME: Include the comments suggested by Paul. */ 
11041 #ifndef __cplusplus 
11042   /* Ultrix mips cc rejects this.  */ 
11043   typedef int charset[2]; 
11045   /* SunOS 4.1.1 cc rejects this.  */ 
11046   char const *const *pcpcc; 
11048   /* NEC SVR4.0.2 mips cc rejects this.  */ 
11049   struct point {int x, y;}; 
11050   static struct point const zero = {0,0}; 
11051   /* AIX XL C 1.02.0.0 rejects this. 
11052      It does not let you subtract one const X* pointer from another in 
11053      an arm of an if-expression whose if-part is not a constant 
11055   const char *g = "string"; 
11056   pcpcc = &g + (g ? g-g : 0); 
11057   /* HPUX 7.0 cc rejects these. */ 
11059   ppc = (char**) pcpcc; 
11060   pcpcc = (char const *const *) ppc; 
11061   { /* SCO 3.2v4 cc rejects this.  */ 
11063     char const *s = 0 ? (char *) 0 : (char const *) 0; 
11068   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ 
11069     int x[] = {25, 17}; 
11070     const int *foo = &x[0]; 
11073   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 
11074     typedef const int *iptr; 
11078   { /* AIX XL C 1.02.0.0 rejects this saying 
11079        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 
11080     struct s { int j; const int *ap[3]; }; 
11081     struct s *b; b->j = 5; 
11083   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 
11084     const int foo = 10; 
11085     if (!foo) return 0; 
11087   return !cs[0] && !zero.x; 
11094 rm -f conftest.$ac_objext 
11095 if { (ac_try="$ac_compile" 
11096 case "(($ac_try" in 
11097   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
11098   *) ac_try_echo
=$ac_try;; 
11100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11101   (eval "$ac_compile") 2>conftest.er1
 
11103   grep -v '^ *+' conftest.er1 
>conftest.err
 
11105   cat conftest.err 
>&5 
11106   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11107   (exit $ac_status); } && { 
11108          test -z "$ac_c_werror_flag" || 
11109          test ! -s conftest.err
 
11110        } && test -s conftest.
$ac_objext; then 
11113   echo "$as_me: failed program was:" >&5 
11114 sed 's/^/| /' conftest.
$ac_ext >&5 
11119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
11121 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 
11122 echo "${ECHO_T}$ac_cv_c_const" >&6; } 
11123 if test $ac_cv_c_const = no
; then 
11125 cat >>confdefs.h 
<<\_ACEOF
 
11131 { echo "$as_me:$LINENO: checking for inline" >&5 
11132 echo $ECHO_N "checking for inline... $ECHO_C" >&6; } 
11133 if test "${ac_cv_c_inline+set}" = set; then 
11134   echo $ECHO_N "(cached) $ECHO_C" >&6 
11137 for ac_kw 
in inline __inline__ __inline
; do 
11138   cat >conftest.
$ac_ext <<_ACEOF 
11141 cat confdefs.h 
>>conftest.
$ac_ext 
11142 cat >>conftest.
$ac_ext <<_ACEOF 
11143 /* end confdefs.h.  */ 
11144 #ifndef __cplusplus 
11146 static $ac_kw foo_t static_foo () {return 0; } 
11147 $ac_kw foo_t foo () {return 0; } 
11151 rm -f conftest.
$ac_objext 
11152 if { (ac_try
="$ac_compile" 
11153 case "(($ac_try" in 
11154   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
11155   *) ac_try_echo=$ac_try;; 
11157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11158   (eval "$ac_compile") 2>conftest.er1 
11160   grep -v '^ *+' conftest.er1 >conftest.err 
11162   cat conftest.err >&5 
11163   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11164   (exit $ac_status); } && { 
11165          test -z "$ac_c_werror_flag" || 
11166          test ! -s conftest.err 
11167        } && test -s conftest.$ac_objext; then 
11168   ac_cv_c_inline=$ac_kw 
11170   echo "$as_me: failed program was:" >&5 
11171 sed 's/^/| /' conftest.$ac_ext >&5 
11176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
11177   test "$ac_cv_c_inline" != no && break 
11181 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 
11182 echo "${ECHO_T}$ac_cv_c_inline" >&6; } 
11185 case $ac_cv_c_inline in 
11188     case $ac_cv_c_inline in 
11190       *) ac_val=$ac_cv_c_inline;; 
11192     cat >>confdefs.h <<_ACEOF 
11193 #ifndef __cplusplus 
11194 #define inline $ac_val 
11200 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
11201 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 
11202 if test "${ac_cv_c_bigendian+set}" = set; then 
11203   echo $ECHO_N "(cached) $ECHO_C" >&6 
11205   # See if sys/param.h defines the BYTE_ORDER macro. 
11206 cat >conftest.$ac_ext <<_ACEOF 
11209 cat confdefs.h >>conftest.$ac_ext 
11210 cat >>conftest.$ac_ext <<_ACEOF 
11211 /* end confdefs.h.  */ 
11212 #include <sys/types.h> 
11213 #include <sys/param.h> 
11218 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 
11219         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 
11220  bogus endian macros 
11227 rm -f conftest.$ac_objext 
11228 if { (ac_try="$ac_compile" 
11229 case "(($ac_try" in 
11230   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
11231   *) ac_try_echo
=$ac_try;; 
11233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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          test -z "$ac_c_werror_flag" || 
11242          test ! -s conftest.err
 
11243        } && test -s conftest.
$ac_objext; then 
11244   # It does; now see whether it defined to BIG_ENDIAN or not. 
11245 cat >conftest.
$ac_ext <<_ACEOF 
11248 cat confdefs.h 
>>conftest.
$ac_ext 
11249 cat >>conftest.
$ac_ext <<_ACEOF 
11250 /* end confdefs.h.  */ 
11251 #include <sys/types.h> 
11252 #include <sys/param.h> 
11257 #if BYTE_ORDER != BIG_ENDIAN 
11265 rm -f conftest.
$ac_objext 
11266 if { (ac_try
="$ac_compile" 
11267 case "(($ac_try" in 
11268   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
11269   *) ac_try_echo=$ac_try;; 
11271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11272   (eval "$ac_compile") 2>conftest.er1 
11274   grep -v '^ *+' conftest.er1 >conftest.err 
11276   cat conftest.err >&5 
11277   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11278   (exit $ac_status); } && { 
11279          test -z "$ac_c_werror_flag" || 
11280          test ! -s conftest.err 
11281        } && test -s conftest.$ac_objext; then 
11282   ac_cv_c_bigendian=yes 
11284   echo "$as_me: failed program was:" >&5 
11285 sed 's/^/| /' conftest.$ac_ext >&5 
11287         ac_cv_c_bigendian=no 
11290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
11292   echo "$as_me: failed program was:" >&5 
11293 sed 's/^/| /' conftest.$ac_ext >&5 
11295         # It does not; compile a test program. 
11296 if test "$cross_compiling" = yes; then 
11297   # try to guess the endianness by grepping values into an object file 
11298   ac_cv_c_bigendian=unknown 
11299   cat >conftest.$ac_ext <<_ACEOF 
11302 cat confdefs.h >>conftest.$ac_ext 
11303 cat >>conftest.$ac_ext <<_ACEOF 
11304 /* end confdefs.h.  */ 
11305 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
11306 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
11307 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
11308 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
11309 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
11310 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
11314  _ascii (); _ebcdic (); 
11319 rm -f conftest.$ac_objext 
11320 if { (ac_try="$ac_compile" 
11321 case "(($ac_try" in 
11322   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
11323   *) ac_try_echo
=$ac_try;; 
11325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11326   (eval "$ac_compile") 2>conftest.er1
 
11328   grep -v '^ *+' conftest.er1 
>conftest.err
 
11330   cat conftest.err 
>&5 
11331   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11332   (exit $ac_status); } && { 
11333          test -z "$ac_c_werror_flag" || 
11334          test ! -s conftest.err
 
11335        } && test -s conftest.
$ac_objext; then 
11336   if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null 
; then 
11337   ac_cv_c_bigendian
=yes 
11339 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null 
; then 
11340   if test "$ac_cv_c_bigendian" = unknown
; then 
11341     ac_cv_c_bigendian
=no
 
11343     # finding both strings is unlikely to happen, but who knows? 
11344     ac_cv_c_bigendian
=unknown
 
11348   echo "$as_me: failed program was:" >&5 
11349 sed 's/^/| /' conftest.
$ac_ext >&5 
11354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
11356   cat >conftest.
$ac_ext <<_ACEOF 
11359 cat confdefs.h 
>>conftest.
$ac_ext 
11360 cat >>conftest.
$ac_ext <<_ACEOF 
11361 /* end confdefs.h.  */ 
11362 $ac_includes_default 
11367   /* Are we little or big endian?  From Harbison&Steele.  */ 
11371     char c[sizeof (long int)]; 
11374   return u.c[sizeof (long int) - 1] == 1; 
11380 rm -f conftest
$ac_exeext 
11381 if { (ac_try
="$ac_link" 
11382 case "(($ac_try" in 
11383   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
11384   *) ac_try_echo=$ac_try;; 
11386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11387   (eval "$ac_link") 2>&5 
11389   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11390   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
11391   { (case "(($ac_try" in 
11392   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
11393   *) ac_try_echo
=$ac_try;; 
11395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11396   (eval "$ac_try") 2>&5 
11398   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11399   (exit $ac_status); }; }; then 
11400   ac_cv_c_bigendian
=no
 
11402   echo "$as_me: program exited with status $ac_status" >&5 
11403 echo "$as_me: failed program was:" >&5 
11404 sed 's/^/| /' conftest.
$ac_ext >&5 
11406 ( exit $ac_status ) 
11407 ac_cv_c_bigendian
=yes 
11409 rm -f core 
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext 
11415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
11417 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
11418 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 
11419 case $ac_cv_c_bigendian in 
11422 cat >>confdefs.h 
<<\_ACEOF
 
11423 #define WORDS_BIGENDIAN 1 
11429     { { echo "$as_me:$LINENO: error: unknown endianness 
11430 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
11431 echo "$as_me: error: unknown endianness 
11432 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
11433    { (exit 1); exit 1; }; } ;; 
11436 { echo "$as_me:$LINENO: checking for off_t" >&5 
11437 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; } 
11438 if test "${ac_cv_type_off_t+set}" = set; then 
11439   echo $ECHO_N "(cached) $ECHO_C" >&6 
11441   cat >conftest.
$ac_ext <<_ACEOF 
11444 cat confdefs.h 
>>conftest.
$ac_ext 
11445 cat >>conftest.
$ac_ext <<_ACEOF 
11446 /* end confdefs.h.  */ 
11447 $ac_includes_default 
11448 typedef off_t ac__type_new_; 
11452 if ((ac__type_new_ *) 0) 
11454 if (sizeof (ac__type_new_)) 
11460 rm -f conftest.
$ac_objext 
11461 if { (ac_try
="$ac_compile" 
11462 case "(($ac_try" in 
11463   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
11464   *) ac_try_echo=$ac_try;; 
11466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11467   (eval "$ac_compile") 2>conftest.er1 
11469   grep -v '^ *+' conftest.er1 >conftest.err 
11471   cat conftest.err >&5 
11472   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11473   (exit $ac_status); } && { 
11474          test -z "$ac_c_werror_flag" || 
11475          test ! -s conftest.err 
11476        } && test -s conftest.$ac_objext; then 
11477   ac_cv_type_off_t=yes 
11479   echo "$as_me: failed program was:" >&5 
11480 sed 's/^/| /' conftest.$ac_ext >&5 
11482         ac_cv_type_off_t=no 
11485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
11487 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 
11488 echo "${ECHO_T}$ac_cv_type_off_t" >&6; } 
11489 if test $ac_cv_type_off_t = yes; then 
11493 cat >>confdefs.h <<_ACEOF 
11494 #define off_t long int 
11499 { echo "$as_me:$LINENO: checking for size_t" >&5 
11500 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 
11501 if test "${ac_cv_type_size_t+set}" = set; then 
11502   echo $ECHO_N "(cached) $ECHO_C" >&6 
11504   cat >conftest.$ac_ext <<_ACEOF 
11507 cat confdefs.h >>conftest.$ac_ext 
11508 cat >>conftest.$ac_ext <<_ACEOF 
11509 /* end confdefs.h.  */ 
11510 $ac_includes_default 
11511 typedef size_t ac__type_new_; 
11515 if ((ac__type_new_ *) 0) 
11517 if (sizeof (ac__type_new_)) 
11523 rm -f conftest.$ac_objext 
11524 if { (ac_try="$ac_compile" 
11525 case "(($ac_try" in 
11526   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
11527   *) ac_try_echo
=$ac_try;; 
11529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11530   (eval "$ac_compile") 2>conftest.er1
 
11532   grep -v '^ *+' conftest.er1 
>conftest.err
 
11534   cat conftest.err 
>&5 
11535   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11536   (exit $ac_status); } && { 
11537          test -z "$ac_c_werror_flag" || 
11538          test ! -s conftest.err
 
11539        } && test -s conftest.
$ac_objext; then 
11540   ac_cv_type_size_t
=yes 
11542   echo "$as_me: failed program was:" >&5 
11543 sed 's/^/| /' conftest.
$ac_ext >&5 
11545         ac_cv_type_size_t
=no
 
11548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
11550 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 
11551 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 
11552 if test $ac_cv_type_size_t = yes; then 
11556 cat >>confdefs.h 
<<_ACEOF 
11557 #define size_t unsigned int 
11562 { echo "$as_me:$LINENO: checking for int" >&5 
11563 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 
11564 if test "${ac_cv_type_int+set}" = set; then 
11565   echo $ECHO_N "(cached) $ECHO_C" >&6 
11567   cat >conftest.
$ac_ext <<_ACEOF 
11570 cat confdefs.h 
>>conftest.
$ac_ext 
11571 cat >>conftest.
$ac_ext <<_ACEOF 
11572 /* end confdefs.h.  */ 
11573 $ac_includes_default 
11574 typedef int ac__type_new_; 
11578 if ((ac__type_new_ *) 0) 
11580 if (sizeof (ac__type_new_)) 
11586 rm -f conftest.
$ac_objext 
11587 if { (ac_try
="$ac_compile" 
11588 case "(($ac_try" in 
11589   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
11590   *) ac_try_echo=$ac_try;; 
11592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11593   (eval "$ac_compile") 2>conftest.er1 
11595   grep -v '^ *+' conftest.er1 >conftest.err 
11597   cat conftest.err >&5 
11598   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11599   (exit $ac_status); } && { 
11600          test -z "$ac_c_werror_flag" || 
11601          test ! -s conftest.err 
11602        } && test -s conftest.$ac_objext; then 
11605   echo "$as_me: failed program was:" >&5 
11606 sed 's/^/| /' conftest.$ac_ext >&5 
11611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
11613 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 
11614 echo "${ECHO_T}$ac_cv_type_int" >&6; } 
11616 # The cast to long int works around a bug in the HP C Compiler 
11617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 
11618 # declarations like `int a3
[[(sizeof 
(unsigned char
)) >= 0]];'. 
11619 # This bug is HP SR number 8606223364. 
11620 { echo "$as_me:$LINENO: checking size of int" >&5 
11621 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 
11622 if test "${ac_cv_sizeof_int+set}" = set; then 
11623   echo $ECHO_N "(cached) $ECHO_C" >&6 
11625   if test "$cross_compiling" = yes; then 
11626   # Depending upon the size, compute the lo and hi bounds. 
11627 cat >conftest.$ac_ext <<_ACEOF 
11630 cat confdefs.h >>conftest.$ac_ext 
11631 cat >>conftest.$ac_ext <<_ACEOF 
11632 /* end confdefs.h.  */ 
11633 $ac_includes_default 
11634    typedef int ac__type_sizeof_; 
11638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 
11645 rm -f conftest.$ac_objext 
11646 if { (ac_try="$ac_compile" 
11647 case "(($ac_try" in 
11648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
11649   *) ac_try_echo=$ac_try;; 
11651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11652   (eval "$ac_compile") 2>conftest.er1 
11654   grep -v '^ 
*+' conftest.er1 >conftest.err 
11656   cat conftest.err >&5 
11657   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11658   (exit $ac_status); } && { 
11659          test -z "$ac_c_werror_flag" || 
11660          test ! -s conftest.err 
11661        } && test -s conftest.$ac_objext; then 
11664     cat >conftest.$ac_ext <<_ACEOF 
11667 cat confdefs.h >>conftest.$ac_ext 
11668 cat >>conftest.$ac_ext <<_ACEOF 
11669 /* end confdefs.h.  */ 
11670 $ac_includes_default 
11671    typedef int ac__type_sizeof_; 
11675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 
11682 rm -f conftest.$ac_objext 
11683 if { (ac_try="$ac_compile" 
11684 case "(($ac_try" in 
11685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
11686   *) ac_try_echo=$ac_try;; 
11688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11689   (eval "$ac_compile") 2>conftest.er1 
11691   grep -v '^ 
*+' conftest.er1 >conftest.err 
11693   cat conftest.err >&5 
11694   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11695   (exit $ac_status); } && { 
11696          test -z "$ac_c_werror_flag" || 
11697          test ! -s conftest.err 
11698        } && test -s conftest.$ac_objext; then 
11699   ac_hi=$ac_mid; break 
11701   echo "$as_me: failed program was:" >&5 
11702 sed 's
/^
/| /' conftest.$ac_ext >&5 
11704         ac_lo=`expr $ac_mid + 1` 
11705                         if test $ac_lo -le $ac_mid; then 
11709                         ac_mid=`expr 2 '*' $ac_mid + 1` 
11712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
11715   echo "$as_me: failed program was:" >&5 
11716 sed 's
/^
/| /' conftest.$ac_ext >&5 
11718         cat >conftest.$ac_ext <<_ACEOF 
11721 cat confdefs.h >>conftest.$ac_ext 
11722 cat >>conftest.$ac_ext <<_ACEOF 
11723 /* end confdefs.h.  */ 
11724 $ac_includes_default 
11725    typedef int ac__type_sizeof_; 
11729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 
11736 rm -f conftest.$ac_objext 
11737 if { (ac_try="$ac_compile" 
11738 case "(($ac_try" in 
11739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
11740   *) ac_try_echo=$ac_try;; 
11742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11743   (eval "$ac_compile") 2>conftest.er1 
11745   grep -v '^ 
*+' conftest.er1 >conftest.err 
11747   cat conftest.err >&5 
11748   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11749   (exit $ac_status); } && { 
11750          test -z "$ac_c_werror_flag" || 
11751          test ! -s conftest.err 
11752        } && test -s conftest.$ac_objext; then 
11755     cat >conftest.$ac_ext <<_ACEOF 
11758 cat confdefs.h >>conftest.$ac_ext 
11759 cat >>conftest.$ac_ext <<_ACEOF 
11760 /* end confdefs.h.  */ 
11761 $ac_includes_default 
11762    typedef int ac__type_sizeof_; 
11766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 
11773 rm -f conftest.$ac_objext 
11774 if { (ac_try="$ac_compile" 
11775 case "(($ac_try" in 
11776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
11777   *) ac_try_echo=$ac_try;; 
11779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11780   (eval "$ac_compile") 2>conftest.er1 
11782   grep -v '^ 
*+' conftest.er1 >conftest.err 
11784   cat conftest.err >&5 
11785   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11786   (exit $ac_status); } && { 
11787          test -z "$ac_c_werror_flag" || 
11788          test ! -s conftest.err 
11789        } && test -s conftest.$ac_objext; then 
11790   ac_lo=$ac_mid; break 
11792   echo "$as_me: failed program was:" >&5 
11793 sed 's
/^
/| /' conftest.$ac_ext >&5 
11795         ac_hi=`expr '(' $ac_mid ')' - 1` 
11796                         if test $ac_mid -le $ac_hi; then 
11800                         ac_mid=`expr 2 '*' $ac_mid` 
11803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
11806   echo "$as_me: failed program was:" >&5 
11807 sed 's
/^
/| /' conftest.$ac_ext >&5 
11812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
11815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
11816 # Binary search between lo and hi bounds. 
11817 while test "x$ac_lo" != "x$ac_hi"; do 
11818   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 
11819   cat >conftest.$ac_ext <<_ACEOF 
11822 cat confdefs.h >>conftest.$ac_ext 
11823 cat >>conftest.$ac_ext <<_ACEOF 
11824 /* end confdefs.h.  */ 
11825 $ac_includes_default 
11826    typedef int ac__type_sizeof_; 
11830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 
11837 rm -f conftest.$ac_objext 
11838 if { (ac_try="$ac_compile" 
11839 case "(($ac_try" in 
11840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
11841   *) ac_try_echo=$ac_try;; 
11843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11844   (eval "$ac_compile") 2>conftest.er1 
11846   grep -v '^ 
*+' conftest.er1 >conftest.err 
11848   cat conftest.err >&5 
11849   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11850   (exit $ac_status); } && { 
11851          test -z "$ac_c_werror_flag" || 
11852          test ! -s conftest.err 
11853        } && test -s conftest.$ac_objext; then 
11856   echo "$as_me: failed program was:" >&5 
11857 sed 's
/^
/| /' conftest.$ac_ext >&5 
11859         ac_lo=`expr '(' $ac_mid ')' + 1` 
11862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
11865 ?*) ac_cv_sizeof_int=$ac_lo;; 
11866 '') if test "$ac_cv_type_int" = yes; then 
11867      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 
11868 See \`config.log' for more details.
" >&5 
11869 echo "$as_me: error
: cannot compute sizeof 
(int
) 
11870 See \
`config.log' for more details." >&2;} 
11871    { (exit 77); exit 77; }; } 
11877   cat >conftest.$ac_ext <<_ACEOF 
11880 cat confdefs.h >>conftest.$ac_ext 
11881 cat >>conftest.$ac_ext <<_ACEOF 
11882 /* end confdefs.h.  */ 
11883 $ac_includes_default 
11884    typedef int ac__type_sizeof_; 
11885 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 
11886 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 
11888 #include <stdlib.h> 
11893   FILE *f = fopen ("conftest.val", "w"); 
11896   if (((long int) (sizeof (ac__type_sizeof_))) < 0) 
11898       long int i = longval (); 
11899       if (i != ((long int) (sizeof (ac__type_sizeof_)))) 
11901       fprintf (f, "%ld\n", i); 
11905       unsigned long int i = ulongval (); 
11906       if (i != ((long int) (sizeof (ac__type_sizeof_)))) 
11908       fprintf (f, "%lu\n", i); 
11910   return ferror (f) || fclose (f) != 0; 
11916 rm -f conftest$ac_exeext 
11917 if { (ac_try="$ac_link" 
11918 case "(($ac_try" in 
11919   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
11920   *) ac_try_echo
=$ac_try;; 
11922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11923   (eval "$ac_link") 2>&5 
11925   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11926   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
11927   { (case "(($ac_try" in 
11928   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
11929   *) ac_try_echo=$ac_try;; 
11931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
11932   (eval "$ac_try") 2>&5 
11934   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
11935   (exit $ac_status); }; }; then 
11936   ac_cv_sizeof_int=`cat conftest.val
` 
11938   echo "$as_me: program exited with status $ac_status" >&5 
11939 echo "$as_me: failed program was:" >&5 
11940 sed 's/^/| /' conftest.$ac_ext >&5 
11942 ( exit $ac_status ) 
11943 if test "$ac_cv_type_int" = yes; then 
11944      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 
11945 See \`config.log
' for more details." >&5 
11946 echo "$as_me: error: cannot compute sizeof (int) 
11947 See \`config.log' for more details.
" >&2;} 
11948    { (exit 77); exit 77; }; } 
11953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
11957 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_int" >&5 
11958 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 
11962 cat >>confdefs.h <<_ACEOF 
11963 #define SIZEOF_INT $ac_cv_sizeof_int 
11967 { echo "$as_me:$LINENO: checking 
for long
" >&5 
11968 echo $ECHO_N "checking 
for long... 
$ECHO_C" >&6; } 
11969 if test "${ac_cv_type_long+set}" = set; then 
11970   echo $ECHO_N "(cached
) $ECHO_C" >&6 
11972   cat >conftest.$ac_ext <<_ACEOF 
11975 cat confdefs.h >>conftest.$ac_ext 
11976 cat >>conftest.$ac_ext <<_ACEOF 
11977 /* end confdefs.h.  */ 
11978 $ac_includes_default 
11979 typedef long ac__type_new_; 
11983 if ((ac__type_new_ *) 0) 
11985 if (sizeof (ac__type_new_)) 
11991 rm -f conftest.$ac_objext 
11992 if { (ac_try="$ac_compile" 
11993 case "(($ac_try" in 
11994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
11995   *) ac_try_echo=$ac_try;; 
11997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5 
11998   (eval "$ac_compile") 2>conftest.er1 
12000   grep -v '^ *+' conftest.er1 >conftest.err 
12002   cat conftest.err >&5 
12003   echo "$as_me:$LINENO: \$? 
= $ac_status" >&5 
12004   (exit $ac_status); } && { 
12005          test -z "$ac_c_werror_flag" || 
12006          test ! -s conftest.err 
12007        } && test -s conftest.$ac_objext; then 
12008   ac_cv_type_long=yes 
12010   echo "$as_me: failed program was
:" >&5 
12011 sed 's/^/| /' conftest.$ac_ext >&5 
12016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
12018 { echo "$as_me:$LINENO: result
: $ac_cv_type_long" >&5 
12019 echo "${ECHO_T}$ac_cv_type_long" >&6; } 
12021 # The cast to long int works around a bug in the HP C Compiler 
12022 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 
12023 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 
12024 # This bug is HP SR number 8606223364. 
12025 { echo "$as_me:$LINENO: checking size of long
" >&5 
12026 echo $ECHO_N "checking size of long... 
$ECHO_C" >&6; } 
12027 if test "${ac_cv_sizeof_long+set}" = set; then 
12028   echo $ECHO_N "(cached
) $ECHO_C" >&6 
12030   if test "$cross_compiling" = yes; then 
12031   # Depending upon the size, compute the lo and hi bounds. 
12032 cat >conftest.$ac_ext <<_ACEOF 
12035 cat confdefs.h >>conftest.$ac_ext 
12036 cat >>conftest.$ac_ext <<_ACEOF 
12037 /* end confdefs.h.  */ 
12038 $ac_includes_default 
12039    typedef long ac__type_sizeof_; 
12043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 
12050 rm -f conftest.$ac_objext 
12051 if { (ac_try="$ac_compile" 
12052 case "(($ac_try" in 
12053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
12054   *) ac_try_echo=$ac_try;; 
12056 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5 
12057   (eval "$ac_compile") 2>conftest.er1 
12059   grep -v '^ *+' conftest.er1 >conftest.err 
12061   cat conftest.err >&5 
12062   echo "$as_me:$LINENO: \$? 
= $ac_status" >&5 
12063   (exit $ac_status); } && { 
12064          test -z "$ac_c_werror_flag" || 
12065          test ! -s conftest.err 
12066        } && test -s conftest.$ac_objext; then 
12069     cat >conftest.$ac_ext <<_ACEOF 
12072 cat confdefs.h >>conftest.$ac_ext 
12073 cat >>conftest.$ac_ext <<_ACEOF 
12074 /* end confdefs.h.  */ 
12075 $ac_includes_default 
12076    typedef long ac__type_sizeof_; 
12080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 
12087 rm -f conftest.$ac_objext 
12088 if { (ac_try="$ac_compile" 
12089 case "(($ac_try" in 
12090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
12091   *) ac_try_echo=$ac_try;; 
12093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5 
12094   (eval "$ac_compile") 2>conftest.er1 
12096   grep -v '^ *+' conftest.er1 >conftest.err 
12098   cat conftest.err >&5 
12099   echo "$as_me:$LINENO: \$? 
= $ac_status" >&5 
12100   (exit $ac_status); } && { 
12101          test -z "$ac_c_werror_flag" || 
12102          test ! -s conftest.err 
12103        } && test -s conftest.$ac_objext; then 
12104   ac_hi=$ac_mid; break 
12106   echo "$as_me: failed program was
:" >&5 
12107 sed 's/^/| /' conftest.$ac_ext >&5 
12109         ac_lo=`expr $ac_mid + 1` 
12110                         if test $ac_lo -le $ac_mid; then 
12114                         ac_mid=`expr 2 '*' $ac_mid + 1` 
12117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
12120   echo "$as_me: failed program was
:" >&5 
12121 sed 's/^/| /' conftest.$ac_ext >&5 
12123         cat >conftest.$ac_ext <<_ACEOF 
12126 cat confdefs.h >>conftest.$ac_ext 
12127 cat >>conftest.$ac_ext <<_ACEOF 
12128 /* end confdefs.h.  */ 
12129 $ac_includes_default 
12130    typedef long ac__type_sizeof_; 
12134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 
12141 rm -f conftest.$ac_objext 
12142 if { (ac_try="$ac_compile" 
12143 case "(($ac_try" in 
12144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
12145   *) ac_try_echo=$ac_try;; 
12147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5 
12148   (eval "$ac_compile") 2>conftest.er1 
12150   grep -v '^ *+' conftest.er1 >conftest.err 
12152   cat conftest.err >&5 
12153   echo "$as_me:$LINENO: \$? 
= $ac_status" >&5 
12154   (exit $ac_status); } && { 
12155          test -z "$ac_c_werror_flag" || 
12156          test ! -s conftest.err 
12157        } && test -s conftest.$ac_objext; then 
12160     cat >conftest.$ac_ext <<_ACEOF 
12163 cat confdefs.h >>conftest.$ac_ext 
12164 cat >>conftest.$ac_ext <<_ACEOF 
12165 /* end confdefs.h.  */ 
12166 $ac_includes_default 
12167    typedef long ac__type_sizeof_; 
12171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 
12178 rm -f conftest.$ac_objext 
12179 if { (ac_try="$ac_compile" 
12180 case "(($ac_try" in 
12181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
12182   *) ac_try_echo=$ac_try;; 
12184 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5 
12185   (eval "$ac_compile") 2>conftest.er1 
12187   grep -v '^ *+' conftest.er1 >conftest.err 
12189   cat conftest.err >&5 
12190   echo "$as_me:$LINENO: \$? 
= $ac_status" >&5 
12191   (exit $ac_status); } && { 
12192          test -z "$ac_c_werror_flag" || 
12193          test ! -s conftest.err 
12194        } && test -s conftest.$ac_objext; then 
12195   ac_lo=$ac_mid; break 
12197   echo "$as_me: failed program was
:" >&5 
12198 sed 's/^/| /' conftest.$ac_ext >&5 
12200         ac_hi=`expr '(' $ac_mid ')' - 1` 
12201                         if test $ac_mid -le $ac_hi; then 
12205                         ac_mid=`expr 2 '*' $ac_mid` 
12208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
12211   echo "$as_me: failed program was
:" >&5 
12212 sed 's/^/| /' conftest.$ac_ext >&5 
12217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
12220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
12221 # Binary search between lo and hi bounds. 
12222 while test "x
$ac_lo" != "x
$ac_hi"; do 
12223   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 
12224   cat >conftest.$ac_ext <<_ACEOF 
12227 cat confdefs.h >>conftest.$ac_ext 
12228 cat >>conftest.$ac_ext <<_ACEOF 
12229 /* end confdefs.h.  */ 
12230 $ac_includes_default 
12231    typedef long ac__type_sizeof_; 
12235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 
12242 rm -f conftest.$ac_objext 
12243 if { (ac_try="$ac_compile" 
12244 case "(($ac_try" in 
12245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
12246   *) ac_try_echo=$ac_try;; 
12248 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5 
12249   (eval "$ac_compile") 2>conftest.er1 
12251   grep -v '^ *+' conftest.er1 >conftest.err 
12253   cat conftest.err >&5 
12254   echo "$as_me:$LINENO: \$? 
= $ac_status" >&5 
12255   (exit $ac_status); } && { 
12256          test -z "$ac_c_werror_flag" || 
12257          test ! -s conftest.err 
12258        } && test -s conftest.$ac_objext; then 
12261   echo "$as_me: failed program was
:" >&5 
12262 sed 's/^/| /' conftest.$ac_ext >&5 
12264         ac_lo=`expr '(' $ac_mid ')' + 1` 
12267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
12270 ?*) ac_cv_sizeof_long=$ac_lo;; 
12271 '') if test "$ac_cv_type_long" = yes; then 
12272      { { echo "$as_me:$LINENO: error
: cannot compute sizeof 
(long
) 
12273 See \
`config.log' for more details." >&5 
12274 echo "$as_me: error: cannot compute sizeof (long) 
12275 See \`config.log
' for more details." >&2;} 
12276    { (exit 77); exit 77; }; } 
12278      ac_cv_sizeof_long=0 
12282   cat >conftest.$ac_ext <<_ACEOF 
12285 cat confdefs.h >>conftest.$ac_ext 
12286 cat >>conftest.$ac_ext <<_ACEOF 
12287 /* end confdefs.h.  */ 
12288 $ac_includes_default 
12289    typedef long ac__type_sizeof_; 
12290 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 
12291 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 
12293 #include <stdlib.h> 
12298   FILE *f = fopen ("conftest.val", "w"); 
12301   if (((long int) (sizeof (ac__type_sizeof_))) < 0) 
12303       long int i = longval (); 
12304       if (i != ((long int) (sizeof (ac__type_sizeof_)))) 
12306       fprintf (f, "%ld\n", i); 
12310       unsigned long int i = ulongval (); 
12311       if (i != ((long int) (sizeof (ac__type_sizeof_)))) 
12313       fprintf (f, "%lu\n", i); 
12315   return ferror (f) || fclose (f) != 0; 
12321 rm -f conftest$ac_exeext 
12322 if { (ac_try="$ac_link" 
12323 case "(($ac_try" in 
12324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
12325   *) ac_try_echo=$ac_try;; 
12327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
12328   (eval "$ac_link") 2>&5 
12330   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
12331   (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext' 
12332   { (case "(($ac_try" in 
12333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
12334   *) ac_try_echo=$ac_try;; 
12336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
12337   (eval "$ac_try") 2>&5 
12339   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
12340   (exit $ac_status); }; }; then 
12341   ac_cv_sizeof_long=`cat conftest.val` 
12343   echo "$as_me: program exited with status $ac_status" >&5 
12344 echo "$as_me: failed program was:" >&5 
12345 sed 's
/^
/| /' conftest.$ac_ext >&5 
12347 ( exit $ac_status ) 
12348 if test "$ac_cv_type_long" = yes; then 
12349      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 
12350 See \`config.log' for more details.
" >&5 
12351 echo "$as_me: error
: cannot compute sizeof 
(long
) 
12352 See \
`config.log' for more details." >&2;} 
12353    { (exit 77); exit 77; }; } 
12355      ac_cv_sizeof_long=0 
12358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
12362 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 
12363 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 
12367 cat >>confdefs.h <<_ACEOF 
12368 #define SIZEOF_LONG $ac_cv_sizeof_long 
12372 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 
12373 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 
12374 if test "${ac_cv_header_time+set}" = set; then 
12375   echo $ECHO_N "(cached) $ECHO_C" >&6 
12377   cat >conftest.$ac_ext <<_ACEOF 
12380 cat confdefs.h >>conftest.$ac_ext 
12381 cat >>conftest.$ac_ext <<_ACEOF 
12382 /* end confdefs.h.  */ 
12383 #include <sys/types.h> 
12384 #include <sys/time.h> 
12390 if ((struct tm *) 0) 
12396 rm -f conftest.$ac_objext 
12397 if { (ac_try="$ac_compile" 
12398 case "(($ac_try" in 
12399   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
12400   *) ac_try_echo
=$ac_try;; 
12402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
12403   (eval "$ac_compile") 2>conftest.er1
 
12405   grep -v '^ *+' conftest.er1 
>conftest.err
 
12407   cat conftest.err 
>&5 
12408   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
12409   (exit $ac_status); } && { 
12410          test -z "$ac_c_werror_flag" || 
12411          test ! -s conftest.err
 
12412        } && test -s conftest.
$ac_objext; then 
12413   ac_cv_header_time
=yes 
12415   echo "$as_me: failed program was:" >&5 
12416 sed 's/^/| /' conftest.
$ac_ext >&5 
12418         ac_cv_header_time
=no
 
12421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
12423 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 
12424 echo "${ECHO_T}$ac_cv_header_time" >&6; } 
12425 if test $ac_cv_header_time = yes; then 
12427 cat >>confdefs.h 
<<\_ACEOF
 
12428 #define TIME_WITH_SYS_TIME 1 
12433 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 
12434 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 
12435 if test "${ac_cv_struct_tm+set}" = set; then 
12436   echo $ECHO_N "(cached) $ECHO_C" >&6 
12438   cat >conftest.
$ac_ext <<_ACEOF 
12441 cat confdefs.h 
>>conftest.
$ac_ext 
12442 cat >>conftest.
$ac_ext <<_ACEOF 
12443 /* end confdefs.h.  */ 
12444 #include <sys/types.h> 
12451                                      int *p = &tm.tm_sec; 
12457 rm -f conftest.
$ac_objext 
12458 if { (ac_try
="$ac_compile" 
12459 case "(($ac_try" in 
12460   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
12461   *) ac_try_echo=$ac_try;; 
12463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
12464   (eval "$ac_compile") 2>conftest.er1 
12466   grep -v '^ *+' conftest.er1 >conftest.err 
12468   cat conftest.err >&5 
12469   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
12470   (exit $ac_status); } && { 
12471          test -z "$ac_c_werror_flag" || 
12472          test ! -s conftest.err 
12473        } && test -s conftest.$ac_objext; then 
12474   ac_cv_struct_tm=time.h 
12476   echo "$as_me: failed program was:" >&5 
12477 sed 's/^/| /' conftest.$ac_ext >&5 
12479         ac_cv_struct_tm=sys/time.h 
12482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
12484 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 
12485 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 
12486 if test $ac_cv_struct_tm = sys/time.h; then 
12488 cat >>confdefs.h <<\_ACEOF 
12489 #define TM_IN_SYS_TIME 1 
12494 { echo "$as_me:$LINENO: checking for int8" >&5 
12495 echo $ECHO_N "checking for int8... $ECHO_C" >&6; } 
12496 if test "${ac_cv_type_int8+set}" = set; then 
12497   echo $ECHO_N "(cached) $ECHO_C" >&6 
12499   cat >conftest.$ac_ext <<_ACEOF 
12502 cat confdefs.h >>conftest.$ac_ext 
12503 cat >>conftest.$ac_ext <<_ACEOF 
12504 /* end confdefs.h.  */ 
12506 #if HAVE_INTTYPES_H 
12507 # include <inttypes.h> 
12511 typedef int8 ac__type_new_; 
12515 if ((ac__type_new_ *) 0) 
12517 if (sizeof (ac__type_new_)) 
12523 rm -f conftest.$ac_objext 
12524 if { (ac_try="$ac_compile" 
12525 case "(($ac_try" in 
12526   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
12527   *) ac_try_echo
=$ac_try;; 
12529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
12530   (eval "$ac_compile") 2>conftest.er1
 
12532   grep -v '^ *+' conftest.er1 
>conftest.err
 
12534   cat conftest.err 
>&5 
12535   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
12536   (exit $ac_status); } && { 
12537          test -z "$ac_c_werror_flag" || 
12538          test ! -s conftest.err
 
12539        } && test -s conftest.
$ac_objext; then 
12540   ac_cv_type_int8
=yes 
12542   echo "$as_me: failed program was:" >&5 
12543 sed 's/^/| /' conftest.
$ac_ext >&5 
12548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
12550 { echo "$as_me:$LINENO: result: $ac_cv_type_int8" >&5 
12551 echo "${ECHO_T}$ac_cv_type_int8" >&6; } 
12552 if test $ac_cv_type_int8 = yes; then 
12554 cat >>confdefs.h 
<<_ACEOF 
12555 #define HAVE_INT8 1 
12560 { echo "$as_me:$LINENO: checking for int16" >&5 
12561 echo $ECHO_N "checking for int16... $ECHO_C" >&6; } 
12562 if test "${ac_cv_type_int16+set}" = set; then 
12563   echo $ECHO_N "(cached) $ECHO_C" >&6 
12565   cat >conftest.
$ac_ext <<_ACEOF 
12568 cat confdefs.h 
>>conftest.
$ac_ext 
12569 cat >>conftest.
$ac_ext <<_ACEOF 
12570 /* end confdefs.h.  */ 
12572 #if HAVE_INTTYPES_H 
12573 # include <inttypes.h> 
12577 typedef int16 ac__type_new_; 
12581 if ((ac__type_new_ *) 0) 
12583 if (sizeof (ac__type_new_)) 
12589 rm -f conftest.
$ac_objext 
12590 if { (ac_try
="$ac_compile" 
12591 case "(($ac_try" in 
12592   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
12593   *) ac_try_echo=$ac_try;; 
12595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
12596   (eval "$ac_compile") 2>conftest.er1 
12598   grep -v '^ *+' conftest.er1 >conftest.err 
12600   cat conftest.err >&5 
12601   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
12602   (exit $ac_status); } && { 
12603          test -z "$ac_c_werror_flag" || 
12604          test ! -s conftest.err 
12605        } && test -s conftest.$ac_objext; then 
12606   ac_cv_type_int16=yes 
12608   echo "$as_me: failed program was:" >&5 
12609 sed 's/^/| /' conftest.$ac_ext >&5 
12611         ac_cv_type_int16=no 
12614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
12616 { echo "$as_me:$LINENO: result: $ac_cv_type_int16" >&5 
12617 echo "${ECHO_T}$ac_cv_type_int16" >&6; } 
12618 if test $ac_cv_type_int16 = yes; then 
12620 cat >>confdefs.h <<_ACEOF 
12621 #define HAVE_INT16 1 
12626 { echo "$as_me:$LINENO: checking for int32" >&5 
12627 echo $ECHO_N "checking for int32... $ECHO_C" >&6; } 
12628 if test "${ac_cv_type_int32+set}" = set; then 
12629   echo $ECHO_N "(cached) $ECHO_C" >&6 
12631   cat >conftest.$ac_ext <<_ACEOF 
12634 cat confdefs.h >>conftest.$ac_ext 
12635 cat >>conftest.$ac_ext <<_ACEOF 
12636 /* end confdefs.h.  */ 
12638 #if HAVE_INTTYPES_H 
12639 # include <inttypes.h> 
12643 typedef int32 ac__type_new_; 
12647 if ((ac__type_new_ *) 0) 
12649 if (sizeof (ac__type_new_)) 
12655 rm -f conftest.$ac_objext 
12656 if { (ac_try="$ac_compile" 
12657 case "(($ac_try" in 
12658   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
12659   *) ac_try_echo
=$ac_try;; 
12661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
12662   (eval "$ac_compile") 2>conftest.er1
 
12664   grep -v '^ *+' conftest.er1 
>conftest.err
 
12666   cat conftest.err 
>&5 
12667   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
12668   (exit $ac_status); } && { 
12669          test -z "$ac_c_werror_flag" || 
12670          test ! -s conftest.err
 
12671        } && test -s conftest.
$ac_objext; then 
12672   ac_cv_type_int32
=yes 
12674   echo "$as_me: failed program was:" >&5 
12675 sed 's/^/| /' conftest.
$ac_ext >&5 
12677         ac_cv_type_int32
=no
 
12680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
12682 { echo "$as_me:$LINENO: result: $ac_cv_type_int32" >&5 
12683 echo "${ECHO_T}$ac_cv_type_int32" >&6; } 
12684 if test $ac_cv_type_int32 = yes; then 
12686 cat >>confdefs.h 
<<_ACEOF 
12687 #define HAVE_INT32 1 
12705 for ac_func 
in floor isascii memmove memset mmap pow sqrt strchr strrchr strstr strtol
 
12707 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
12708 { echo "$as_me:$LINENO: checking for $ac_func" >&5 
12709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 
12710 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 
12711   echo $ECHO_N "(cached) $ECHO_C" >&6 
12713   cat >conftest.
$ac_ext <<_ACEOF 
12716 cat confdefs.h 
>>conftest.
$ac_ext 
12717 cat >>conftest.
$ac_ext <<_ACEOF 
12718 /* end confdefs.h.  */ 
12719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 
12720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
12721 #define $ac_func innocuous_$ac_func 
12723 /* System header to define __stub macros and hopefully few prototypes, 
12724     which can conflict with char $ac_func (); below. 
12725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
12726     <limits.h> exists even on freestanding compilers.  */ 
12729 # include <limits.h> 
12731 # include <assert.h> 
12736 /* Override any GCC internal prototype to avoid an error. 
12737    Use char because int might match the return type of a GCC 
12738    builtin and then its argument prototype would still apply.  */ 
12743 /* The GNU C library defines this for functions which it implements 
12744     to always fail with ENOSYS.  Some functions are actually named 
12745     something starting with __ and the normal name is an alias.  */ 
12746 #if defined __stub_$ac_func || defined __stub___$ac_func 
12753 return $ac_func (); 
12758 rm -f conftest.
$ac_objext conftest
$ac_exeext 
12759 if { (ac_try
="$ac_link" 
12760 case "(($ac_try" in 
12761   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
12762   *) ac_try_echo=$ac_try;; 
12764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
12765   (eval "$ac_link") 2>conftest.er1 
12767   grep -v '^ *+' conftest.er1 >conftest.err 
12769   cat conftest.err >&5 
12770   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
12771   (exit $ac_status); } && { 
12772          test -z "$ac_c_werror_flag" || 
12773          test ! -s conftest.err 
12774        } && test -s conftest$ac_exeext && 
12775        $as_test_x conftest$ac_exeext; then 
12776   eval "$as_ac_var=yes" 
12778   echo "$as_me: failed program was:" >&5 
12779 sed 's/^/| /' conftest.$ac_ext >&5 
12781         eval "$as_ac_var=no" 
12784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
12785       conftest$ac_exeext conftest.$ac_ext 
12787 ac_res=`eval echo '${'$as_ac_var'}'` 
12788                { echo "$as_me:$LINENO: result: $ac_res" >&5 
12789 echo "${ECHO_T}$ac_res" >&6; } 
12790 if test `eval echo '${'$as_ac_var'}'` = yes; then 
12791   cat >>confdefs.h <<_ACEOF 
12792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 
12800 for ac_func in getopt 
12802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
12803 { echo "$as_me:$LINENO: checking for $ac_func" >&5 
12804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 
12805 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 
12806   echo $ECHO_N "(cached) $ECHO_C" >&6 
12808   cat >conftest.$ac_ext <<_ACEOF 
12811 cat confdefs.h >>conftest.$ac_ext 
12812 cat >>conftest.$ac_ext <<_ACEOF 
12813 /* end confdefs.h.  */ 
12814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 
12815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
12816 #define $ac_func innocuous_$ac_func 
12818 /* System header to define __stub macros and hopefully few prototypes, 
12819     which can conflict with char $ac_func (); below. 
12820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
12821     <limits.h> exists even on freestanding compilers.  */ 
12824 # include <limits.h> 
12826 # include <assert.h> 
12831 /* Override any GCC internal prototype to avoid an error. 
12832    Use char because int might match the return type of a GCC 
12833    builtin and then its argument prototype would still apply.  */ 
12838 /* The GNU C library defines this for functions which it implements 
12839     to always fail with ENOSYS.  Some functions are actually named 
12840     something starting with __ and the normal name is an alias.  */ 
12841 #if defined __stub_$ac_func || defined __stub___$ac_func 
12848 return $ac_func (); 
12853 rm -f conftest.$ac_objext conftest$ac_exeext 
12854 if { (ac_try="$ac_link" 
12855 case "(($ac_try" in 
12856   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
12857   *) ac_try_echo
=$ac_try;; 
12859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
12860   (eval "$ac_link") 2>conftest.er1
 
12862   grep -v '^ *+' conftest.er1 
>conftest.err
 
12864   cat conftest.err 
>&5 
12865   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
12866   (exit $ac_status); } && { 
12867          test -z "$ac_c_werror_flag" || 
12868          test ! -s conftest.err
 
12869        } && test -s conftest
$ac_exeext && 
12870        $as_test_x conftest
$ac_exeext; then 
12871   eval "$as_ac_var=yes" 
12873   echo "$as_me: failed program was:" >&5 
12874 sed 's/^/| /' conftest.
$ac_ext >&5 
12876         eval "$as_ac_var=no" 
12879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
12880       conftest
$ac_exeext conftest.
$ac_ext 
12882 ac_res
=`eval echo '${'$as_ac_var'}'` 
12883                { echo "$as_me:$LINENO: result: $ac_res" >&5 
12884 echo "${ECHO_T}$ac_res" >&6; } 
12885 if test `eval echo '${'$as_ac_var'}'` = yes; then 
12886   cat >>confdefs.h 
<<_ACEOF 
12887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 
12891   case " $LIBOBJS " in 
12892   *" $ac_func.$ac_objext "* ) ;; 
12893   *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" 
12902 for ac_func 
in strcasecmp
 
12904 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
12905 { echo "$as_me:$LINENO: checking for $ac_func" >&5 
12906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 
12907 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 
12908   echo $ECHO_N "(cached) $ECHO_C" >&6 
12910   cat >conftest.
$ac_ext <<_ACEOF 
12913 cat confdefs.h 
>>conftest.
$ac_ext 
12914 cat >>conftest.
$ac_ext <<_ACEOF 
12915 /* end confdefs.h.  */ 
12916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 
12917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
12918 #define $ac_func innocuous_$ac_func 
12920 /* System header to define __stub macros and hopefully few prototypes, 
12921     which can conflict with char $ac_func (); below. 
12922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
12923     <limits.h> exists even on freestanding compilers.  */ 
12926 # include <limits.h> 
12928 # include <assert.h> 
12933 /* Override any GCC internal prototype to avoid an error. 
12934    Use char because int might match the return type of a GCC 
12935    builtin and then its argument prototype would still apply.  */ 
12940 /* The GNU C library defines this for functions which it implements 
12941     to always fail with ENOSYS.  Some functions are actually named 
12942     something starting with __ and the normal name is an alias.  */ 
12943 #if defined __stub_$ac_func || defined __stub___$ac_func 
12950 return $ac_func (); 
12955 rm -f conftest.
$ac_objext conftest
$ac_exeext 
12956 if { (ac_try
="$ac_link" 
12957 case "(($ac_try" in 
12958   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
12959   *) ac_try_echo=$ac_try;; 
12961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
12962   (eval "$ac_link") 2>conftest.er1 
12964   grep -v '^ *+' conftest.er1 >conftest.err 
12966   cat conftest.err >&5 
12967   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
12968   (exit $ac_status); } && { 
12969          test -z "$ac_c_werror_flag" || 
12970          test ! -s conftest.err 
12971        } && test -s conftest$ac_exeext && 
12972        $as_test_x conftest$ac_exeext; then 
12973   eval "$as_ac_var=yes" 
12975   echo "$as_me: failed program was:" >&5 
12976 sed 's/^/| /' conftest.$ac_ext >&5 
12978         eval "$as_ac_var=no" 
12981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
12982       conftest$ac_exeext conftest.$ac_ext 
12984 ac_res=`eval echo '${'$as_ac_var'}'` 
12985                { echo "$as_me:$LINENO: result: $ac_res" >&5 
12986 echo "${ECHO_T}$ac_res" >&6; } 
12987 if test `eval echo '${'$as_ac_var'}'` = yes; then 
12988   cat >>confdefs.h <<_ACEOF 
12989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 
12993   case " $LIBOBJS " in 
12994   *" $ac_func.$ac_objext "* ) ;; 
12995   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 
13004 for ac_func in strtoul 
13006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
13007 { echo "$as_me:$LINENO: checking for $ac_func" >&5 
13008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 
13009 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 
13010   echo $ECHO_N "(cached) $ECHO_C" >&6 
13012   cat >conftest.$ac_ext <<_ACEOF 
13015 cat confdefs.h >>conftest.$ac_ext 
13016 cat >>conftest.$ac_ext <<_ACEOF 
13017 /* end confdefs.h.  */ 
13018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 
13019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
13020 #define $ac_func innocuous_$ac_func 
13022 /* System header to define __stub macros and hopefully few prototypes, 
13023     which can conflict with char $ac_func (); below. 
13024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
13025     <limits.h> exists even on freestanding compilers.  */ 
13028 # include <limits.h> 
13030 # include <assert.h> 
13035 /* Override any GCC internal prototype to avoid an error. 
13036    Use char because int might match the return type of a GCC 
13037    builtin and then its argument prototype would still apply.  */ 
13042 /* The GNU C library defines this for functions which it implements 
13043     to always fail with ENOSYS.  Some functions are actually named 
13044     something starting with __ and the normal name is an alias.  */ 
13045 #if defined __stub_$ac_func || defined __stub___$ac_func 
13052 return $ac_func (); 
13057 rm -f conftest.$ac_objext conftest$ac_exeext 
13058 if { (ac_try="$ac_link" 
13059 case "(($ac_try" in 
13060   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
13061   *) ac_try_echo
=$ac_try;; 
13063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
13064   (eval "$ac_link") 2>conftest.er1
 
13066   grep -v '^ *+' conftest.er1 
>conftest.err
 
13068   cat conftest.err 
>&5 
13069   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
13070   (exit $ac_status); } && { 
13071          test -z "$ac_c_werror_flag" || 
13072          test ! -s conftest.err
 
13073        } && test -s conftest
$ac_exeext && 
13074        $as_test_x conftest
$ac_exeext; then 
13075   eval "$as_ac_var=yes" 
13077   echo "$as_me: failed program was:" >&5 
13078 sed 's/^/| /' conftest.
$ac_ext >&5 
13080         eval "$as_ac_var=no" 
13083 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
13084       conftest
$ac_exeext conftest.
$ac_ext 
13086 ac_res
=`eval echo '${'$as_ac_var'}'` 
13087                { echo "$as_me:$LINENO: result: $ac_res" >&5 
13088 echo "${ECHO_T}$ac_res" >&6; } 
13089 if test `eval echo '${'$as_ac_var'}'` = yes; then 
13090   cat >>confdefs.h 
<<_ACEOF 
13091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 
13095   case " $LIBOBJS " in 
13096   *" $ac_func.$ac_objext "* ) ;; 
13097   *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" 
13106 for ac_func 
in lfind
 
13108 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
13109 { echo "$as_me:$LINENO: checking for $ac_func" >&5 
13110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 
13111 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 
13112   echo $ECHO_N "(cached) $ECHO_C" >&6 
13114   cat >conftest.
$ac_ext <<_ACEOF 
13117 cat confdefs.h 
>>conftest.
$ac_ext 
13118 cat >>conftest.
$ac_ext <<_ACEOF 
13119 /* end confdefs.h.  */ 
13120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 
13121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
13122 #define $ac_func innocuous_$ac_func 
13124 /* System header to define __stub macros and hopefully few prototypes, 
13125     which can conflict with char $ac_func (); below. 
13126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
13127     <limits.h> exists even on freestanding compilers.  */ 
13130 # include <limits.h> 
13132 # include <assert.h> 
13137 /* Override any GCC internal prototype to avoid an error. 
13138    Use char because int might match the return type of a GCC 
13139    builtin and then its argument prototype would still apply.  */ 
13144 /* The GNU C library defines this for functions which it implements 
13145     to always fail with ENOSYS.  Some functions are actually named 
13146     something starting with __ and the normal name is an alias.  */ 
13147 #if defined __stub_$ac_func || defined __stub___$ac_func 
13154 return $ac_func (); 
13159 rm -f conftest.
$ac_objext conftest
$ac_exeext 
13160 if { (ac_try
="$ac_link" 
13161 case "(($ac_try" in 
13162   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
13163   *) ac_try_echo=$ac_try;; 
13165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
13166   (eval "$ac_link") 2>conftest.er1 
13168   grep -v '^ *+' conftest.er1 >conftest.err 
13170   cat conftest.err >&5 
13171   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
13172   (exit $ac_status); } && { 
13173          test -z "$ac_c_werror_flag" || 
13174          test ! -s conftest.err 
13175        } && test -s conftest$ac_exeext && 
13176        $as_test_x conftest$ac_exeext; then 
13177   eval "$as_ac_var=yes" 
13179   echo "$as_me: failed program was:" >&5 
13180 sed 's/^/| /' conftest.$ac_ext >&5 
13182         eval "$as_ac_var=no" 
13185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
13186       conftest$ac_exeext conftest.$ac_ext 
13188 ac_res=`eval echo '${'$as_ac_var'}'` 
13189                { echo "$as_me:$LINENO: result: $ac_res" >&5 
13190 echo "${ECHO_T}$ac_res" >&6; } 
13191 if test `eval echo '${'$as_ac_var'}'` = yes; then 
13192   cat >>confdefs.h <<_ACEOF 
13193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 
13197   case " $LIBOBJS " in 
13198   *" $ac_func.$ac_objext "* ) ;; 
13199   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 
13208 { echo "$as_me:$LINENO: checking native cpu bit order" >&5 
13209 echo $ECHO_N "checking native cpu bit order... $ECHO_C" >&6; } 
13210 case "$target_cpu" in 
13212         HOST_FILLORDER=FILLORDER_LSB2MSB 
13213         { echo "$as_me:$LINENO: result: lsb2msb" >&5 
13214 echo "${ECHO_T}lsb2msb" >&6; } 
13217         HOST_FILLORDER=FILLORDER_MSB2LSB 
13218         { echo "$as_me:$LINENO: result: msb2lsb" >&5 
13219 echo "${ECHO_T}msb2lsb" >&6; } 
13223 cat >>confdefs.h <<_ACEOF 
13224 #define HOST_FILLORDER $HOST_FILLORDER 
13228 if test "$ac_cv_c_bigendian" = yes ; then 
13234 cat >>confdefs.h <<_ACEOF 
13235 #define HOST_BIGENDIAN $HOST_BIGENDIAN 
13240 #AC_DEFINE_UNQUOTED(_POSIX_C_SOURCE, $_POSIX_C_SOURCE, [Define this macro to a positive integer to control which POSIX functionality is made available.]) 
13244 cat >>confdefs.h <<_ACEOF 
13245 #define HAVE_IEEEFP $HAVE_IEEEFP 
13250 # Check whether --enable-rpath was given. 
13251 if test "${enable_rpath+set}" = set; then 
13252   enableval=$enable_rpath; HAVE_RPATH=$enableval 
13259 if test "$HAVE_RPATH" = "yes"; then 
13261   HAVE_RPATH_FALSE='#' 
13263   HAVE_RPATH_TRUE='#' 
13269 # Check whether --enable-largefile was given. 
13270 if test "${enable_largefile+set}" = set; then 
13271   enableval=$enable_largefile; 
13274 if test "$enable_largefile" != no; then 
13276   { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 
13277 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } 
13278 if test "${ac_cv_sys_largefile_CC+set}" = set; then 
13279   echo $ECHO_N "(cached) $ECHO_C" >&6 
13281   ac_cv_sys_largefile_CC=no 
13282      if test "$GCC" != yes; then 
13285          # IRIX 6.2 and later do not support large files by default, 
13286          # so use the C compiler's -n32 option if that helps. 
13287          cat >conftest.$ac_ext <<_ACEOF 
13290 cat confdefs.h >>conftest.$ac_ext 
13291 cat >>conftest.$ac_ext <<_ACEOF 
13292 /* end confdefs.h.  */ 
13293 #include <sys/types.h> 
13294  /* Check that off_t can represent 2**63 - 1 correctly. 
13295     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
13296     since some C++ compilers masquerading as C compilers 
13297     incorrectly reject 9223372036854775807.  */ 
13298 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
13299   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
13300                        && LARGE_OFF_T % 2147483647 == 1) 
13310          rm -f conftest.$ac_objext 
13311 if { (ac_try="$ac_compile" 
13312 case "(($ac_try" in 
13313   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
13314   *) ac_try_echo
=$ac_try;; 
13316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
13317   (eval "$ac_compile") 2>conftest.er1
 
13319   grep -v '^ *+' conftest.er1 
>conftest.err
 
13321   cat conftest.err 
>&5 
13322   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
13323   (exit $ac_status); } && { 
13324          test -z "$ac_c_werror_flag" || 
13325          test ! -s conftest.err
 
13326        } && test -s conftest.
$ac_objext; then 
13329   echo "$as_me: failed program was:" >&5 
13330 sed 's/^/| /' conftest.
$ac_ext >&5 
13335 rm -f core conftest.err conftest.
$ac_objext 
13337          rm -f conftest.
$ac_objext 
13338 if { (ac_try
="$ac_compile" 
13339 case "(($ac_try" in 
13340   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
13341   *) ac_try_echo=$ac_try;; 
13343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
13344   (eval "$ac_compile") 2>conftest.er1 
13346   grep -v '^ *+' conftest.er1 >conftest.err 
13348   cat conftest.err >&5 
13349   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
13350   (exit $ac_status); } && { 
13351          test -z "$ac_c_werror_flag" || 
13352          test ! -s conftest.err 
13353        } && test -s conftest.$ac_objext; then 
13354   ac_cv_sys_largefile_CC=' -n32'; break 
13356   echo "$as_me: failed program was:" >&5 
13357 sed 's/^/| /' conftest.$ac_ext >&5 
13362 rm -f core conftest.err conftest.$ac_objext 
13366        rm -f conftest.$ac_ext 
13369 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 
13370 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } 
13371   if test "$ac_cv_sys_largefile_CC" != no; then 
13372     CC=$CC$ac_cv_sys_largefile_CC 
13375   { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 
13376 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } 
13377 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 
13378   echo $ECHO_N "(cached) $ECHO_C" >&6 
13381   cat >conftest.$ac_ext <<_ACEOF 
13384 cat confdefs.h >>conftest.$ac_ext 
13385 cat >>conftest.$ac_ext <<_ACEOF 
13386 /* end confdefs.h.  */ 
13387 #include <sys/types.h> 
13388  /* Check that off_t can represent 2**63 - 1 correctly. 
13389     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
13390     since some C++ compilers masquerading as C compilers 
13391     incorrectly reject 9223372036854775807.  */ 
13392 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
13393   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
13394                        && LARGE_OFF_T % 2147483647 == 1) 
13404 rm -f conftest.$ac_objext 
13405 if { (ac_try="$ac_compile" 
13406 case "(($ac_try" in 
13407   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
13408   *) ac_try_echo
=$ac_try;; 
13410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
13411   (eval "$ac_compile") 2>conftest.er1
 
13413   grep -v '^ *+' conftest.er1 
>conftest.err
 
13415   cat conftest.err 
>&5 
13416   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
13417   (exit $ac_status); } && { 
13418          test -z "$ac_c_werror_flag" || 
13419          test ! -s conftest.err
 
13420        } && test -s conftest.
$ac_objext; then 
13421   ac_cv_sys_file_offset_bits
=no
; break 
13423   echo "$as_me: failed program was:" >&5 
13424 sed 's/^/| /' conftest.
$ac_ext >&5 
13429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
13430   cat >conftest.
$ac_ext <<_ACEOF 
13433 cat confdefs.h 
>>conftest.
$ac_ext 
13434 cat >>conftest.
$ac_ext <<_ACEOF 
13435 /* end confdefs.h.  */ 
13436 #define _FILE_OFFSET_BITS 64 
13437 #include <sys/types.h> 
13438  /* Check that off_t can represent 2**63 - 1 correctly. 
13439     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
13440     since some C++ compilers masquerading as C compilers 
13441     incorrectly reject 9223372036854775807.  */ 
13442 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
13443   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
13444                        && LARGE_OFF_T % 2147483647 == 1) 
13454 rm -f conftest.
$ac_objext 
13455 if { (ac_try
="$ac_compile" 
13456 case "(($ac_try" in 
13457   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
13458   *) ac_try_echo=$ac_try;; 
13460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
13461   (eval "$ac_compile") 2>conftest.er1 
13463   grep -v '^ *+' conftest.er1 >conftest.err 
13465   cat conftest.err >&5 
13466   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
13467   (exit $ac_status); } && { 
13468          test -z "$ac_c_werror_flag" || 
13469          test ! -s conftest.err 
13470        } && test -s conftest.$ac_objext; then 
13471   ac_cv_sys_file_offset_bits=64; break 
13473   echo "$as_me: failed program was:" >&5 
13474 sed 's/^/| /' conftest.$ac_ext >&5 
13479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
13480   ac_cv_sys_file_offset_bits=unknown 
13484 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 
13485 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } 
13486 case $ac_cv_sys_file_offset_bits in #( 
13489 cat >>confdefs.h <<_ACEOF 
13490 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 
13495   if test $ac_cv_sys_file_offset_bits = unknown; then 
13496     { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 
13497 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } 
13498 if test "${ac_cv_sys_large_files+set}" = set; then 
13499   echo $ECHO_N "(cached) $ECHO_C" >&6 
13502   cat >conftest.$ac_ext <<_ACEOF 
13505 cat confdefs.h >>conftest.$ac_ext 
13506 cat >>conftest.$ac_ext <<_ACEOF 
13507 /* end confdefs.h.  */ 
13508 #include <sys/types.h> 
13509  /* Check that off_t can represent 2**63 - 1 correctly. 
13510     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
13511     since some C++ compilers masquerading as C compilers 
13512     incorrectly reject 9223372036854775807.  */ 
13513 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
13514   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
13515                        && LARGE_OFF_T % 2147483647 == 1) 
13525 rm -f conftest.$ac_objext 
13526 if { (ac_try="$ac_compile" 
13527 case "(($ac_try" in 
13528   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
13529   *) ac_try_echo
=$ac_try;; 
13531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
13532   (eval "$ac_compile") 2>conftest.er1
 
13534   grep -v '^ *+' conftest.er1 
>conftest.err
 
13536   cat conftest.err 
>&5 
13537   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
13538   (exit $ac_status); } && { 
13539          test -z "$ac_c_werror_flag" || 
13540          test ! -s conftest.err
 
13541        } && test -s conftest.
$ac_objext; then 
13542   ac_cv_sys_large_files
=no
; break 
13544   echo "$as_me: failed program was:" >&5 
13545 sed 's/^/| /' conftest.
$ac_ext >&5 
13550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
13551   cat >conftest.
$ac_ext <<_ACEOF 
13554 cat confdefs.h 
>>conftest.
$ac_ext 
13555 cat >>conftest.
$ac_ext <<_ACEOF 
13556 /* end confdefs.h.  */ 
13557 #define _LARGE_FILES 1 
13558 #include <sys/types.h> 
13559  /* Check that off_t can represent 2**63 - 1 correctly. 
13560     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
13561     since some C++ compilers masquerading as C compilers 
13562     incorrectly reject 9223372036854775807.  */ 
13563 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
13564   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
13565                        && LARGE_OFF_T % 2147483647 == 1) 
13575 rm -f conftest.
$ac_objext 
13576 if { (ac_try
="$ac_compile" 
13577 case "(($ac_try" in 
13578   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
13579   *) ac_try_echo=$ac_try;; 
13581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
13582   (eval "$ac_compile") 2>conftest.er1 
13584   grep -v '^ *+' conftest.er1 >conftest.err 
13586   cat conftest.err >&5 
13587   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
13588   (exit $ac_status); } && { 
13589          test -z "$ac_c_werror_flag" || 
13590          test ! -s conftest.err 
13591        } && test -s conftest.$ac_objext; then 
13592   ac_cv_sys_large_files=1; break 
13594   echo "$as_me: failed program was:" >&5 
13595 sed 's/^/| /' conftest.$ac_ext >&5 
13600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
13601   ac_cv_sys_large_files=unknown 
13605 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 
13606 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } 
13607 case $ac_cv_sys_large_files in #( 
13610 cat >>confdefs.h <<_ACEOF 
13611 #define _LARGE_FILES $ac_cv_sys_large_files 
13621 LIBTIFF_DOCDIR=\${prefix}/share/doc/${PACKAGE}-${LIBTIFF_VERSION} 
13624 # Check whether --with-docdir was given. 
13625 if test "${with_docdir+set}" = set; then 
13626   withval=$with_docdir; 
13629 if test "x$with_docdir" != "x" ; then 
13630   LIBTIFF_DOCDIR=$with_docdir 
13636 # Check whether --enable-ccitt was given. 
13637 if test "${enable_ccitt+set}" = set; then 
13638   enableval=$enable_ccitt; HAVE_CCITT=$enableval 
13644 if test "$HAVE_CCITT" = "yes" ; then 
13646 cat >>confdefs.h <<\_ACEOF 
13647 #define CCITT_SUPPORT 1 
13652 # Check whether --enable-packbits was given. 
13653 if test "${enable_packbits+set}" = set; then 
13654   enableval=$enable_packbits; HAVE_PACKBITS=$enableval 
13660 if test "$HAVE_PACKBITS" = "yes" ; then 
13662 cat >>confdefs.h <<\_ACEOF 
13663 #define PACKBITS_SUPPORT 1 
13668 # Check whether --enable-lzw was given. 
13669 if test "${enable_lzw+set}" = set; then 
13670   enableval=$enable_lzw; HAVE_LZW=$enableval 
13676 if test "$HAVE_LZW" = "yes" ; then 
13678 cat >>confdefs.h <<\_ACEOF 
13679 #define LZW_SUPPORT 1 
13684 # Check whether --enable-thunder was given. 
13685 if test "${enable_thunder+set}" = set; then 
13686   enableval=$enable_thunder; HAVE_THUNDER=$enableval 
13692 if test "$HAVE_THUNDER" = "yes" ; then 
13694 cat >>confdefs.h <<\_ACEOF 
13695 #define THUNDER_SUPPORT 1 
13702 # Check whether --enable-next was given. 
13703 if test "${enable_next+set}" = set; then 
13704   enableval=$enable_next; HAVE_NEXT=$enableval 
13710 if test "$HAVE_NEXT" = "yes" ; then 
13712 cat >>confdefs.h <<\_ACEOF 
13713 #define NEXT_SUPPORT 1 
13718 # Check whether --enable-logluv was given. 
13719 if test "${enable_logluv+set}" = set; then 
13720   enableval=$enable_logluv; HAVE_LOGLUV=$enableval 
13726 if test "$HAVE_LOGLUV" = "yes" ; then 
13728 cat >>confdefs.h <<\_ACEOF 
13729 #define LOGLUV_SUPPORT 1 
13735 # Check whether --enable-mdi was given. 
13736 if test "${enable_mdi+set}" = set; then 
13737   enableval=$enable_mdi; HAVE_MDI=$enableval 
13743 if test "$HAVE_MDI" = "yes" ; then 
13745 cat >>confdefs.h <<\_ACEOF 
13746 #define MDI_SUPPORT 1 
13754 # Check whether --enable-zlib was given. 
13755 if test "${enable_zlib+set}" = set; then 
13756   enableval=$enable_zlib; 
13760 # Check whether --with-zlib-include-dir was given. 
13761 if test "${with_zlib_include_dir+set}" = set; then 
13762   withval=$with_zlib_include_dir; 
13766 # Check whether --with-zlib-lib-dir was given. 
13767 if test "${with_zlib_lib_dir+set}" = set; then 
13768   withval=$with_zlib_lib_dir; 
13772 if test "x$enable_zlib" != "xno" ; then 
13774   if test "x$with_zlib_lib_dir" != "x" ; then 
13775     LDFLAGS="-L$with_zlib_lib_dir $LDFLAGS" 
13778   { echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 
13779 echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6; } 
13780 if test "${ac_cv_lib_z_inflateEnd+set}" = set; then 
13781   echo $ECHO_N "(cached) $ECHO_C" >&6 
13783   ac_check_lib_save_LIBS=$LIBS 
13785 cat >conftest.$ac_ext <<_ACEOF 
13788 cat confdefs.h >>conftest.$ac_ext 
13789 cat >>conftest.$ac_ext <<_ACEOF 
13790 /* end confdefs.h.  */ 
13792 /* Override any GCC internal prototype to avoid an error. 
13793    Use char because int might match the return type of a GCC 
13794    builtin and then its argument prototype would still apply.  */ 
13798 char inflateEnd (); 
13802 return inflateEnd (); 
13807 rm -f conftest.$ac_objext conftest$ac_exeext 
13808 if { (ac_try="$ac_link" 
13809 case "(($ac_try" in 
13810   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
13811   *) ac_try_echo
=$ac_try;; 
13813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
13814   (eval "$ac_link") 2>conftest.er1
 
13816   grep -v '^ *+' conftest.er1 
>conftest.err
 
13818   cat conftest.err 
>&5 
13819   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
13820   (exit $ac_status); } && { 
13821          test -z "$ac_c_werror_flag" || 
13822          test ! -s conftest.err
 
13823        } && test -s conftest
$ac_exeext && 
13824        $as_test_x conftest
$ac_exeext; then 
13825   ac_cv_lib_z_inflateEnd
=yes 
13827   echo "$as_me: failed program was:" >&5 
13828 sed 's/^/| /' conftest.
$ac_ext >&5 
13830         ac_cv_lib_z_inflateEnd
=no
 
13833 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
13834       conftest
$ac_exeext conftest.
$ac_ext 
13835 LIBS
=$ac_check_lib_save_LIBS 
13837 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 
13838 echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6; } 
13839 if test $ac_cv_lib_z_inflateEnd = yes; then 
13845   if test "$zlib_lib" = "no" -a "x$with_zlib_lib_dir" != "x"; then 
13846     { { echo "$as_me:$LINENO: error: Zlib library not found at $with_zlib_lib_dir" >&5 
13847 echo "$as_me: error: Zlib library not found at $with_zlib_lib_dir" >&2;} 
13848    { (exit 1); exit 1; }; } 
13851   if test "x$with_zlib_include_dir" != "x" ; then 
13852     CPPFLAGS
="-I$with_zlib_include_dir $CPPFLAGS" 
13854   if test "${ac_cv_header_zlib_h+set}" = set; then 
13855   { echo "$as_me:$LINENO: checking for zlib.h" >&5 
13856 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } 
13857 if test "${ac_cv_header_zlib_h+set}" = set; then 
13858   echo $ECHO_N "(cached) $ECHO_C" >&6 
13860 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 
13861 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } 
13863   # Is the header compilable? 
13864 { echo "$as_me:$LINENO: checking zlib.h usability" >&5 
13865 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; } 
13866 cat >conftest.
$ac_ext <<_ACEOF 
13869 cat confdefs.h 
>>conftest.
$ac_ext 
13870 cat >>conftest.
$ac_ext <<_ACEOF 
13871 /* end confdefs.h.  */ 
13872 $ac_includes_default 
13875 rm -f conftest.
$ac_objext 
13876 if { (ac_try
="$ac_compile" 
13877 case "(($ac_try" in 
13878   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
13879   *) ac_try_echo=$ac_try;; 
13881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
13882   (eval "$ac_compile") 2>conftest.er1 
13884   grep -v '^ *+' conftest.er1 >conftest.err 
13886   cat conftest.err >&5 
13887   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
13888   (exit $ac_status); } && { 
13889          test -z "$ac_c_werror_flag" || 
13890          test ! -s conftest.err 
13891        } && test -s conftest.$ac_objext; then 
13892   ac_header_compiler=yes 
13894   echo "$as_me: failed program was:" >&5 
13895 sed 's/^/| /' conftest.$ac_ext >&5 
13897         ac_header_compiler=no 
13900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
13901 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
13902 echo "${ECHO_T}$ac_header_compiler" >&6; } 
13904 # Is the header present? 
13905 { echo "$as_me:$LINENO: checking zlib.h presence" >&5 
13906 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; } 
13907 cat >conftest.$ac_ext <<_ACEOF 
13910 cat confdefs.h >>conftest.$ac_ext 
13911 cat >>conftest.$ac_ext <<_ACEOF 
13912 /* end confdefs.h.  */ 
13915 if { (ac_try="$ac_cpp conftest.$ac_ext" 
13916 case "(($ac_try" in 
13917   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
13918   *) ac_try_echo
=$ac_try;; 
13920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
13921   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
13923   grep -v '^ *+' conftest.er1 
>conftest.err
 
13925   cat conftest.err 
>&5 
13926   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
13927   (exit $ac_status); } >/dev
/null 
&& { 
13928          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
13929          test ! -s conftest.err
 
13931   ac_header_preproc
=yes 
13933   echo "$as_me: failed program was:" >&5 
13934 sed 's/^/| /' conftest.
$ac_ext >&5 
13936   ac_header_preproc
=no
 
13939 rm -f conftest.err conftest.
$ac_ext 
13940 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
13941 echo "${ECHO_T}$ac_header_preproc" >&6; } 
13943 # So?  What about this header? 
13944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
13946     { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
13947 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
13948     { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 
13949 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} 
13950     ac_header_preproc
=yes 
13953     { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 
13954 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} 
13955     { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5 
13956 echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;} 
13957     { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 
13958 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} 
13959     { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
13960 echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
13961     { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 
13962 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} 
13963     { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 
13964 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} 
13966 ## -------------------------------------- ## 
13967 ## Report this to tiff@lists.maptools.org ## 
13968 ## -------------------------------------- ## 
13970      ) | sed "s/^/$as_me: WARNING:     /" >&2 
13973 { echo "$as_me:$LINENO: checking for zlib.h" >&5 
13974 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } 
13975 if test "${ac_cv_header_zlib_h+set}" = set; then 
13976   echo $ECHO_N "(cached) $ECHO_C" >&6 
13978   ac_cv_header_zlib_h
=$ac_header_preproc 
13980 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 
13981 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } 
13984 if test $ac_cv_header_zlib_h = yes; then 
13991   if test "$zlib_h" = "no" -a "x$with_zlib_include_dir" != "x" ; then 
13992     { { echo "$as_me:$LINENO: error: Zlib headers not found at $with_zlib_include_dir" >&5 
13993 echo "$as_me: error: Zlib headers not found at $with_zlib_include_dir" >&2;} 
13994    { (exit 1); exit 1; }; } 
13997   if test "$zlib_lib" = "yes" -a "$zlib_h" = "yes" ; then 
14003 if test "$HAVE_ZLIB" = "yes" ; then 
14005 cat >>confdefs.h 
<<\_ACEOF
 
14006 #define ZIP_SUPPORT 1 
14011   if test "$HAVE_RPATH" = "yes" -a "x$with_zlib_lib_dir" != "x" ; then 
14012     LIBDIR
="-R $with_zlib_lib_dir $LIBDIR" 
14018 # Check whether --enable-pixarlog was given. 
14019 if test "${enable_pixarlog+set}" = set; then 
14020   enableval
=$enable_pixarlog; HAVE_PIXARLOG
=$enableval 
14026 if test "$HAVE_ZLIB" = "yes" -a "$HAVE_PIXARLOG" = "yes" ; then 
14028 cat >>confdefs.h 
<<\_ACEOF
 
14029 #define PIXARLOG_SUPPORT 1 
14039 # Check whether --enable-jpeg was given. 
14040 if test "${enable_jpeg+set}" = set; then 
14041   enableval
=$enable_jpeg; 
14045 # Check whether --with-jpeg-include-dir was given. 
14046 if test "${with_jpeg_include_dir+set}" = set; then 
14047   withval
=$with_jpeg_include_dir; 
14051 # Check whether --with-jpeg-lib-dir was given. 
14052 if test "${with_jpeg_lib_dir+set}" = set; then 
14053   withval
=$with_jpeg_lib_dir; 
14057 if test "x$enable_jpeg" != "xno" ; then 
14059   if test "x$with_jpeg_lib_dir" != "x" ; then 
14060     LDFLAGS
="-L$with_jpeg_lib_dir $LDFLAGS" 
14064   { echo "$as_me:$LINENO: checking for jpeg_read_scanlines in -ljpeg" >&5 
14065 echo $ECHO_N "checking for jpeg_read_scanlines in -ljpeg... $ECHO_C" >&6; } 
14066 if test "${ac_cv_lib_jpeg_jpeg_read_scanlines+set}" = set; then 
14067   echo $ECHO_N "(cached) $ECHO_C" >&6 
14069   ac_check_lib_save_LIBS
=$LIBS 
14070 LIBS
="-ljpeg  $LIBS" 
14071 cat >conftest.
$ac_ext <<_ACEOF 
14074 cat confdefs.h 
>>conftest.
$ac_ext 
14075 cat >>conftest.
$ac_ext <<_ACEOF 
14076 /* end confdefs.h.  */ 
14078 /* Override any GCC internal prototype to avoid an error. 
14079    Use char because int might match the return type of a GCC 
14080    builtin and then its argument prototype would still apply.  */ 
14084 char jpeg_read_scanlines (); 
14088 return jpeg_read_scanlines (); 
14093 rm -f conftest.
$ac_objext conftest
$ac_exeext 
14094 if { (ac_try
="$ac_link" 
14095 case "(($ac_try" in 
14096   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
14097   *) ac_try_echo=$ac_try;; 
14099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
14100   (eval "$ac_link") 2>conftest.er1 
14102   grep -v '^ *+' conftest.er1 >conftest.err 
14104   cat conftest.err >&5 
14105   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
14106   (exit $ac_status); } && { 
14107          test -z "$ac_c_werror_flag" || 
14108          test ! -s conftest.err 
14109        } && test -s conftest$ac_exeext && 
14110        $as_test_x conftest$ac_exeext; then 
14111   ac_cv_lib_jpeg_jpeg_read_scanlines=yes 
14113   echo "$as_me: failed program was:" >&5 
14114 sed 's/^/| /' conftest.$ac_ext >&5 
14116         ac_cv_lib_jpeg_jpeg_read_scanlines=no 
14119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
14120       conftest$ac_exeext conftest.$ac_ext 
14121 LIBS=$ac_check_lib_save_LIBS 
14123 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_scanlines" >&5 
14124 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_scanlines" >&6; } 
14125 if test $ac_cv_lib_jpeg_jpeg_read_scanlines = yes; then 
14131   if test "$jpeg_lib" = "no" -a "x$with_jpeg_lib_dir" != "x" ; then 
14132     { { echo "$as_me:$LINENO: error: IJG JPEG library not found at $with_jpeg_lib_dir" >&5 
14133 echo "$as_me: error: IJG JPEG library not found at $with_jpeg_lib_dir" >&2;} 
14134    { (exit 1); exit 1; }; } 
14137   if test "x$with_jpeg_include_dir" != "x" ; then 
14138     CPPFLAGS="-I$with_jpeg_include_dir $CPPFLAGS" 
14140   if test "${ac_cv_header_jpeglib_h+set}" = set; then 
14141   { echo "$as_me:$LINENO: checking for jpeglib.h" >&5 
14142 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; } 
14143 if test "${ac_cv_header_jpeglib_h+set}" = set; then 
14144   echo $ECHO_N "(cached) $ECHO_C" >&6 
14146 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5 
14147 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; } 
14149   # Is the header compilable? 
14150 { echo "$as_me:$LINENO: checking jpeglib.h usability" >&5 
14151 echo $ECHO_N "checking jpeglib.h usability... $ECHO_C" >&6; } 
14152 cat >conftest.$ac_ext <<_ACEOF 
14155 cat confdefs.h >>conftest.$ac_ext 
14156 cat >>conftest.$ac_ext <<_ACEOF 
14157 /* end confdefs.h.  */ 
14158 $ac_includes_default 
14159 #include <jpeglib.h> 
14161 rm -f conftest.$ac_objext 
14162 if { (ac_try="$ac_compile" 
14163 case "(($ac_try" in 
14164   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
14165   *) ac_try_echo
=$ac_try;; 
14167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
14168   (eval "$ac_compile") 2>conftest.er1
 
14170   grep -v '^ *+' conftest.er1 
>conftest.err
 
14172   cat conftest.err 
>&5 
14173   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
14174   (exit $ac_status); } && { 
14175          test -z "$ac_c_werror_flag" || 
14176          test ! -s conftest.err
 
14177        } && test -s conftest.
$ac_objext; then 
14178   ac_header_compiler
=yes 
14180   echo "$as_me: failed program was:" >&5 
14181 sed 's/^/| /' conftest.
$ac_ext >&5 
14183         ac_header_compiler
=no
 
14186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
14187 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
14188 echo "${ECHO_T}$ac_header_compiler" >&6; } 
14190 # Is the header present? 
14191 { echo "$as_me:$LINENO: checking jpeglib.h presence" >&5 
14192 echo $ECHO_N "checking jpeglib.h presence... $ECHO_C" >&6; } 
14193 cat >conftest.
$ac_ext <<_ACEOF 
14196 cat confdefs.h 
>>conftest.
$ac_ext 
14197 cat >>conftest.
$ac_ext <<_ACEOF 
14198 /* end confdefs.h.  */ 
14199 #include <jpeglib.h> 
14201 if { (ac_try
="$ac_cpp conftest.$ac_ext" 
14202 case "(($ac_try" in 
14203   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
14204   *) ac_try_echo=$ac_try;; 
14206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
14207   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
14209   grep -v '^ *+' conftest.er1 >conftest.err 
14211   cat conftest.err >&5 
14212   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
14213   (exit $ac_status); } >/dev/null && { 
14214          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
14215          test ! -s conftest.err 
14217   ac_header_preproc=yes 
14219   echo "$as_me: failed program was:" >&5 
14220 sed 's/^/| /' conftest.$ac_ext >&5 
14222   ac_header_preproc=no 
14225 rm -f conftest.err conftest.$ac_ext 
14226 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
14227 echo "${ECHO_T}$ac_header_preproc" >&6; } 
14229 # So?  What about this header? 
14230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
14232     { echo "$as_me:$LINENO: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
14233 echo "$as_me: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
14234     { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the compiler's result" >&5 
14235 echo "$as_me: WARNING: jpeglib.h: proceeding with the compiler's result" >&2;} 
14236     ac_header_preproc=yes 
14239     { echo "$as_me:$LINENO: WARNING: jpeglib.h: present but cannot be compiled" >&5 
14240 echo "$as_me: WARNING: jpeglib.h: present but cannot be compiled" >&2;} 
14241     { echo "$as_me:$LINENO: WARNING: jpeglib.h:     check for missing prerequisite headers?" >&5 
14242 echo "$as_me: WARNING: jpeglib.h:     check for missing prerequisite headers?" >&2;} 
14243     { echo "$as_me:$LINENO: WARNING: jpeglib.h: see the Autoconf documentation" >&5 
14244 echo "$as_me: WARNING: jpeglib.h: see the Autoconf documentation" >&2;} 
14245     { echo "$as_me:$LINENO: WARNING: jpeglib.h:     section \"Present But Cannot Be Compiled\"" >&5 
14246 echo "$as_me: WARNING: jpeglib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
14247     { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&5 
14248 echo "$as_me: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&2;} 
14249     { echo "$as_me:$LINENO: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&5 
14250 echo "$as_me: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&2;} 
14252 ## -------------------------------------- ## 
14253 ## Report this to tiff@lists.maptools.org ## 
14254 ## -------------------------------------- ## 
14256      ) | sed "s/^/$as_me: WARNING:     /" >&2 
14259 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5 
14260 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; } 
14261 if test "${ac_cv_header_jpeglib_h+set}" = set; then 
14262   echo $ECHO_N "(cached) $ECHO_C" >&6 
14264   ac_cv_header_jpeglib_h=$ac_header_preproc 
14266 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5 
14267 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; } 
14270 if test $ac_cv_header_jpeglib_h = yes; then 
14277   if test "$jpeg_h" = "no" -a "x$with_jpeg_include_dir" != "x" ; then 
14278     { { echo "$as_me:$LINENO: error: IJG JPEG library headers not found at $with_jpeg_include_dir" >&5 
14279 echo "$as_me: error: IJG JPEG library headers not found at $with_jpeg_include_dir" >&2;} 
14280    { (exit 1); exit 1; }; } 
14283   if test "$jpeg_lib" = "yes" -a "$jpeg_h" = "yes" ; then 
14289 if test "$HAVE_JPEG" = "yes" ; then 
14291 cat >>confdefs.h <<\_ACEOF 
14292 #define JPEG_SUPPORT 1 
14295   LIBS="-ljpeg $LIBS" 
14297   if test "$HAVE_RPATH" = "yes" -a "x$with_jpeg_lib_dir" != "x" ; then 
14298     LIBDIR="-R $with_jpeg_lib_dir $LIBDIR" 
14304 # Check whether --enable-old-jpeg was given. 
14305 if test "${enable_old_jpeg+set}" = set; then 
14306   enableval=$enable_old_jpeg; HAVE_OJPEG=$enableval 
14312 if test "$HAVE_JPEG" = "yes" -a "$HAVE_OJPEG" = "yes" ; then 
14314 cat >>confdefs.h <<\_ACEOF 
14315 #define OJPEG_SUPPORT 1 
14323 # Check whether --enable-cxx was given. 
14324 if test "${enable_cxx+set}" = set; then 
14325   enableval=$enable_cxx; HAVE_CXX=$enableval 
14331 if test "$HAVE_CXX" = "yes" ; then 
14333 cat >>confdefs.h <<\_ACEOF 
14334 #define CXX_SUPPORT 1 
14343 if test "$HAVE_CXX" = "yes"; then 
14355 { echo "$as_me:$LINENO: checking for X" >&5 
14356 echo $ECHO_N "checking for X... $ECHO_C" >&6; } 
14359 # Check whether --with-x was given. 
14360 if test "${with_x+set}" = set; then 
14364 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. 
14365 if test "x$with_x" = xno; then 
14366   # The user explicitly disabled X. 
14369   case $x_includes,$x_libraries in #( 
14370     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 
14371 echo "$as_me: error: Cannot use X directory names containing '" >&2;} 
14372    { (exit 1); exit 1; }; };; #( 
14373     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 
14374   echo $ECHO_N "(cached) $ECHO_C" >&6 
14376   # One or both of the vars are not set, and there is no cached value. 
14377 ac_x_includes=no ac_x_libraries=no 
14378 rm -f -r conftest.dir 
14379 if mkdir conftest.dir; then 
14381   cat >Imakefile <<'_ACEOF' 
14383         @echo incroot='${INCROOT}' 
14385         @echo usrlibdir='${USRLIBDIR}' 
14387         @echo libdir='${LIBDIR}' 
14389   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 
14390     # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 
14391     for ac_var in incroot usrlibdir libdir; do 
14392       eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null 
| sed -n 's/^$ac_var=//p'\
`" 
14394     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 
14395     for ac_extension in a so sl; do 
14396       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 
14397          test -f "$ac_im_libdir/libX11.$ac_extension"; then 
14398         ac_im_usrlibdir=$ac_im_libdir; break 
14401     # Screen out bogus values from the imake configuration.  They are 
14402     # bogus both because they are the default anyway, and because 
14403     # using them would break gcc on systems where it needs fixed includes. 
14404     case $ac_im_incroot in 
14405         /usr/include) ac_x_includes= ;; 
14406         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 
14408     case $ac_im_usrlibdir in 
14409         /usr/lib | /lib) ;; 
14410         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 
14414   rm -f -r conftest.dir 
14417 # Standard set of common directories for X headers. 
14418 # Check X11 before X11Rn because it is often a symlink to the current release. 
14430 /usr/local/X11/include 
14431 /usr/local/X11R6/include 
14432 /usr/local/X11R5/include 
14433 /usr/local/X11R4/include 
14435 /usr/local/include/X11 
14436 /usr/local/include/X11R6 
14437 /usr/local/include/X11R5 
14438 /usr/local/include/X11R4 
14442 /usr/XFree86/include/X11 
14446 /usr/unsupported/include 
14447 /usr/athena/include 
14448 /usr/local/x11r5/include 
14449 /usr/lpp/Xamples/include 
14451 /usr/openwin/include 
14452 /usr/openwin/share/include' 
14454 if test "$ac_x_includes" = no; then 
14455   # Guess where to find include files, by looking for Xlib.h. 
14456   # First, try using that file with no special directory specified. 
14457   cat >conftest.$ac_ext <<_ACEOF 
14460 cat confdefs.h >>conftest.$ac_ext 
14461 cat >>conftest.$ac_ext <<_ACEOF 
14462 /* end confdefs.h.  */ 
14463 #include <X11/Xlib.h> 
14465 if { (ac_try="$ac_cpp conftest.$ac_ext" 
14466 case "(($ac_try" in 
14467   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
14468   *) ac_try_echo
=$ac_try;; 
14470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
14471   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
14473   grep -v '^ *+' conftest.er1 
>conftest.err
 
14475   cat conftest.err 
>&5 
14476   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
14477   (exit $ac_status); } >/dev
/null 
&& { 
14478          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
14479          test ! -s conftest.err
 
14481   # We can compile using X headers with no special include directory. 
14484   echo "$as_me: failed program was:" >&5 
14485 sed 's/^/| /' conftest.
$ac_ext >&5 
14487   for ac_dir 
in $ac_x_header_dirs; do 
14488   if test -r "$ac_dir/X11/Xlib.h"; then 
14489     ac_x_includes
=$ac_dir 
14495 rm -f conftest.err conftest.
$ac_ext 
14496 fi # $ac_x_includes = no 
14498 if test "$ac_x_libraries" = no
; then 
14499   # Check for the libraries. 
14500   # See if we find them without any special options. 
14501   # Don't add to $LIBS permanently. 
14504   cat >conftest.
$ac_ext <<_ACEOF 
14507 cat confdefs.h 
>>conftest.
$ac_ext 
14508 cat >>conftest.
$ac_ext <<_ACEOF 
14509 /* end confdefs.h.  */ 
14510 #include <X11/Xlib.h> 
14519 rm -f conftest.
$ac_objext conftest
$ac_exeext 
14520 if { (ac_try
="$ac_link" 
14521 case "(($ac_try" in 
14522   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
14523   *) ac_try_echo=$ac_try;; 
14525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
14526   (eval "$ac_link") 2>conftest.er1 
14528   grep -v '^ *+' conftest.er1 >conftest.err 
14530   cat conftest.err >&5 
14531   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
14532   (exit $ac_status); } && { 
14533          test -z "$ac_c_werror_flag" || 
14534          test ! -s conftest.err 
14535        } && test -s conftest$ac_exeext && 
14536        $as_test_x conftest$ac_exeext; then 
14538 # We can link X programs with no special library path. 
14541   echo "$as_me: failed program was:" >&5 
14542 sed 's/^/| /' conftest.$ac_ext >&5 
14545 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
` 
14547   # Don't even attempt the hair of trying to link an X program! 
14548   for ac_extension in a so sl; do 
14549     if test -r "$ac_dir/libX11.$ac_extension"; then 
14550       ac_x_libraries=$ac_dir 
14557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
14558       conftest$ac_exeext conftest.$ac_ext 
14559 fi # $ac_x_libraries = no 
14561 case $ac_x_includes,$ac_x_libraries in #( 
14562   no,* | *,no | *\'*) 
14563     # Didn't find X, or a directory has "'" in its name. 
14564     ac_cv_have_x="have_x=no";; #( 
14566     # Record where we found X for the cache. 
14567     ac_cv_have_x="have_x=yes\ 
14568         ac_x_includes='$ac_x_includes'\ 
14569         ac_x_libraries='$ac_x_libraries'" 
14575   eval "$ac_cv_have_x" 
14578 if test "$have_x" != yes; then 
14579   { echo "$as_me:$LINENO: result: $have_x" >&5 
14580 echo "${ECHO_T}$have_x" >&6; } 
14583   # If each of the values was on the command line, it overrides each guess. 
14584   test "x$x_includes" = xNONE && x_includes=$ac_x_includes 
14585   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 
14586   # Update the cache value to reflect the command line values. 
14587   ac_cv_have_x="have_x=yes\ 
14588         ac_x_includes='$x_includes'\ 
14589         ac_x_libraries='$x_libraries'" 
14590   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 
14591 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } 
14594 if test "$no_x" = yes; then 
14595   # Not all programs may use this symbol, but it does not hurt to define it. 
14597 cat >>confdefs.h <<\_ACEOF 
14598 #define X_DISPLAY_MISSING 1 
14601   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= 
14603   if test -n "$x_includes"; then 
14604     X_CFLAGS="$X_CFLAGS -I$x_includes" 
14607   # It would also be nice to do this for all -L options, not just this one. 
14608   if test -n "$x_libraries"; then 
14609     X_LIBS="$X_LIBS -L$x_libraries" 
14610     # For Solaris; some versions of Sun CC require a space after -R and 
14611     # others require no space.  Words are not sufficient . . . . 
14612     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 
14613 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; } 
14614     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" 
14615     ac_xsave_c_werror_flag=$ac_c_werror_flag 
14616     ac_c_werror_flag=yes 
14617     cat >conftest.$ac_ext <<_ACEOF 
14620 cat confdefs.h >>conftest.$ac_ext 
14621 cat >>conftest.$ac_ext <<_ACEOF 
14622 /* end confdefs.h.  */ 
14632 rm -f conftest.$ac_objext conftest$ac_exeext 
14633 if { (ac_try="$ac_link" 
14634 case "(($ac_try" in 
14635   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
14636   *) ac_try_echo
=$ac_try;; 
14638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
14639   (eval "$ac_link") 2>conftest.er1
 
14641   grep -v '^ *+' conftest.er1 
>conftest.err
 
14643   cat conftest.err 
>&5 
14644   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
14645   (exit $ac_status); } && { 
14646          test -z "$ac_c_werror_flag" || 
14647          test ! -s conftest.err
 
14648        } && test -s conftest
$ac_exeext && 
14649        $as_test_x conftest
$ac_exeext; then 
14650   { echo "$as_me:$LINENO: result: no" >&5 
14651 echo "${ECHO_T}no" >&6; } 
14652        X_LIBS
="$X_LIBS -R$x_libraries" 
14654   echo "$as_me: failed program was:" >&5 
14655 sed 's/^/| /' conftest.
$ac_ext >&5 
14657         LIBS
="$ac_xsave_LIBS -R $x_libraries" 
14658        cat >conftest.
$ac_ext <<_ACEOF 
14661 cat confdefs.h 
>>conftest.
$ac_ext 
14662 cat >>conftest.
$ac_ext <<_ACEOF 
14663 /* end confdefs.h.  */ 
14673 rm -f conftest.
$ac_objext conftest
$ac_exeext 
14674 if { (ac_try
="$ac_link" 
14675 case "(($ac_try" in 
14676   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
14677   *) ac_try_echo=$ac_try;; 
14679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
14680   (eval "$ac_link") 2>conftest.er1 
14682   grep -v '^ *+' conftest.er1 >conftest.err 
14684   cat conftest.err >&5 
14685   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
14686   (exit $ac_status); } && { 
14687          test -z "$ac_c_werror_flag" || 
14688          test ! -s conftest.err 
14689        } && test -s conftest$ac_exeext && 
14690        $as_test_x conftest$ac_exeext; then 
14691   { echo "$as_me:$LINENO: result: yes" >&5 
14692 echo "${ECHO_T}yes" >&6; } 
14693           X_LIBS="$X_LIBS -R $x_libraries" 
14695   echo "$as_me: failed program was:" >&5 
14696 sed 's/^/| /' conftest.$ac_ext >&5 
14698         { echo "$as_me:$LINENO: result: neither works" >&5 
14699 echo "${ECHO_T}neither works" >&6; } 
14702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
14703       conftest$ac_exeext conftest.$ac_ext 
14706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
14707       conftest$ac_exeext conftest.$ac_ext 
14708     ac_c_werror_flag=$ac_xsave_c_werror_flag 
14709     LIBS=$ac_xsave_LIBS 
14712   # Check for system-dependent libraries X programs must link with. 
14713   # Do this before checking for the system-independent R6 libraries 
14714   # (-lICE), since we may need -lsocket or whatever for X linking. 
14716   if test "$ISC" = yes; then 
14717     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" 
14719     # Martyn Johnson says this is needed for Ultrix, if the X 
14720     # libraries were built with DECnet support.  And Karl Berry says 
14721     # the Alpha needs dnet_stub (dnet does not exist). 
14722     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" 
14723     cat >conftest.$ac_ext <<_ACEOF 
14726 cat confdefs.h >>conftest.$ac_ext 
14727 cat >>conftest.$ac_ext <<_ACEOF 
14728 /* end confdefs.h.  */ 
14730 /* Override any GCC internal prototype to avoid an error. 
14731    Use char because int might match the return type of a GCC 
14732    builtin and then its argument prototype would still apply.  */ 
14736 char XOpenDisplay (); 
14740 return XOpenDisplay (); 
14745 rm -f conftest.$ac_objext conftest$ac_exeext 
14746 if { (ac_try="$ac_link" 
14747 case "(($ac_try" in 
14748   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
14749   *) ac_try_echo
=$ac_try;; 
14751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
14752   (eval "$ac_link") 2>conftest.er1
 
14754   grep -v '^ *+' conftest.er1 
>conftest.err
 
14756   cat conftest.err 
>&5 
14757   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
14758   (exit $ac_status); } && { 
14759          test -z "$ac_c_werror_flag" || 
14760          test ! -s conftest.err
 
14761        } && test -s conftest
$ac_exeext && 
14762        $as_test_x conftest
$ac_exeext; then 
14765   echo "$as_me: failed program was:" >&5 
14766 sed 's/^/| /' conftest.
$ac_ext >&5 
14768         { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 
14769 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; } 
14770 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 
14771   echo $ECHO_N "(cached) $ECHO_C" >&6 
14773   ac_check_lib_save_LIBS
=$LIBS 
14774 LIBS
="-ldnet  $LIBS" 
14775 cat >conftest.
$ac_ext <<_ACEOF 
14778 cat confdefs.h 
>>conftest.
$ac_ext 
14779 cat >>conftest.
$ac_ext <<_ACEOF 
14780 /* end confdefs.h.  */ 
14782 /* Override any GCC internal prototype to avoid an error. 
14783    Use char because int might match the return type of a GCC 
14784    builtin and then its argument prototype would still apply.  */ 
14792 return dnet_ntoa (); 
14797 rm -f conftest.
$ac_objext conftest
$ac_exeext 
14798 if { (ac_try
="$ac_link" 
14799 case "(($ac_try" in 
14800   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
14801   *) ac_try_echo=$ac_try;; 
14803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
14804   (eval "$ac_link") 2>conftest.er1 
14806   grep -v '^ *+' conftest.er1 >conftest.err 
14808   cat conftest.err >&5 
14809   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
14810   (exit $ac_status); } && { 
14811          test -z "$ac_c_werror_flag" || 
14812          test ! -s conftest.err 
14813        } && test -s conftest$ac_exeext && 
14814        $as_test_x conftest$ac_exeext; then 
14815   ac_cv_lib_dnet_dnet_ntoa=yes 
14817   echo "$as_me: failed program was:" >&5 
14818 sed 's/^/| /' conftest.$ac_ext >&5 
14820         ac_cv_lib_dnet_dnet_ntoa=no 
14823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
14824       conftest$ac_exeext conftest.$ac_ext 
14825 LIBS=$ac_check_lib_save_LIBS 
14827 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 
14828 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; } 
14829 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 
14830   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 
14833     if test $ac_cv_lib_dnet_dnet_ntoa = no; then 
14834       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 
14835 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; } 
14836 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then 
14837   echo $ECHO_N "(cached) $ECHO_C" >&6 
14839   ac_check_lib_save_LIBS=$LIBS 
14840 LIBS="-ldnet_stub  $LIBS" 
14841 cat >conftest.$ac_ext <<_ACEOF 
14844 cat confdefs.h >>conftest.$ac_ext 
14845 cat >>conftest.$ac_ext <<_ACEOF 
14846 /* end confdefs.h.  */ 
14848 /* Override any GCC internal prototype to avoid an error. 
14849    Use char because int might match the return type of a GCC 
14850    builtin and then its argument prototype would still apply.  */ 
14858 return dnet_ntoa (); 
14863 rm -f conftest.$ac_objext conftest$ac_exeext 
14864 if { (ac_try="$ac_link" 
14865 case "(($ac_try" in 
14866   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
14867   *) ac_try_echo
=$ac_try;; 
14869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
14870   (eval "$ac_link") 2>conftest.er1
 
14872   grep -v '^ *+' conftest.er1 
>conftest.err
 
14874   cat conftest.err 
>&5 
14875   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
14876   (exit $ac_status); } && { 
14877          test -z "$ac_c_werror_flag" || 
14878          test ! -s conftest.err
 
14879        } && test -s conftest
$ac_exeext && 
14880        $as_test_x conftest
$ac_exeext; then 
14881   ac_cv_lib_dnet_stub_dnet_ntoa
=yes 
14883   echo "$as_me: failed program was:" >&5 
14884 sed 's/^/| /' conftest.
$ac_ext >&5 
14886         ac_cv_lib_dnet_stub_dnet_ntoa
=no
 
14889 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
14890       conftest
$ac_exeext conftest.
$ac_ext 
14891 LIBS
=$ac_check_lib_save_LIBS 
14893 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 
14894 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 
14895 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then 
14896   X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub" 
14902 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
14903       conftest
$ac_exeext conftest.
$ac_ext 
14904     LIBS
="$ac_xsave_LIBS" 
14906     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, 
14907     # to get the SysV transport functions. 
14908     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) 
14910     # The nsl library prevents programs from opening the X display 
14911     # on Irix 5.2, according to T.E. Dickey. 
14912     # The functions gethostbyname, getservbyname, and inet_addr are 
14913     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 
14914     { echo "$as_me:$LINENO: checking for gethostbyname" >&5 
14915 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; } 
14916 if test "${ac_cv_func_gethostbyname+set}" = set; then 
14917   echo $ECHO_N "(cached) $ECHO_C" >&6 
14919   cat >conftest.
$ac_ext <<_ACEOF 
14922 cat confdefs.h 
>>conftest.
$ac_ext 
14923 cat >>conftest.
$ac_ext <<_ACEOF 
14924 /* end confdefs.h.  */ 
14925 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. 
14926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
14927 #define gethostbyname innocuous_gethostbyname 
14929 /* System header to define __stub macros and hopefully few prototypes, 
14930     which can conflict with char gethostbyname (); below. 
14931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
14932     <limits.h> exists even on freestanding compilers.  */ 
14935 # include <limits.h> 
14937 # include <assert.h> 
14940 #undef gethostbyname 
14942 /* Override any GCC internal prototype to avoid an error. 
14943    Use char because int might match the return type of a GCC 
14944    builtin and then its argument prototype would still apply.  */ 
14948 char gethostbyname (); 
14949 /* The GNU C library defines this for functions which it implements 
14950     to always fail with ENOSYS.  Some functions are actually named 
14951     something starting with __ and the normal name is an alias.  */ 
14952 #if defined __stub_gethostbyname || defined __stub___gethostbyname 
14959 return gethostbyname (); 
14964 rm -f conftest.
$ac_objext conftest
$ac_exeext 
14965 if { (ac_try
="$ac_link" 
14966 case "(($ac_try" in 
14967   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
14968   *) ac_try_echo=$ac_try;; 
14970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
14971   (eval "$ac_link") 2>conftest.er1 
14973   grep -v '^ *+' conftest.er1 >conftest.err 
14975   cat conftest.err >&5 
14976   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
14977   (exit $ac_status); } && { 
14978          test -z "$ac_c_werror_flag" || 
14979          test ! -s conftest.err 
14980        } && test -s conftest$ac_exeext && 
14981        $as_test_x conftest$ac_exeext; then 
14982   ac_cv_func_gethostbyname=yes 
14984   echo "$as_me: failed program was:" >&5 
14985 sed 's/^/| /' conftest.$ac_ext >&5 
14987         ac_cv_func_gethostbyname=no 
14990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
14991       conftest$ac_exeext conftest.$ac_ext 
14993 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 
14994 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; } 
14996     if test $ac_cv_func_gethostbyname = no; then 
14997       { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 
14998 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } 
14999 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 
15000   echo $ECHO_N "(cached) $ECHO_C" >&6 
15002   ac_check_lib_save_LIBS=$LIBS 
15004 cat >conftest.$ac_ext <<_ACEOF 
15007 cat confdefs.h >>conftest.$ac_ext 
15008 cat >>conftest.$ac_ext <<_ACEOF 
15009 /* end confdefs.h.  */ 
15011 /* Override any GCC internal prototype to avoid an error. 
15012    Use char because int might match the return type of a GCC 
15013    builtin and then its argument prototype would still apply.  */ 
15017 char gethostbyname (); 
15021 return gethostbyname (); 
15026 rm -f conftest.$ac_objext conftest$ac_exeext 
15027 if { (ac_try="$ac_link" 
15028 case "(($ac_try" in 
15029   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
15030   *) ac_try_echo
=$ac_try;; 
15032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15033   (eval "$ac_link") 2>conftest.er1
 
15035   grep -v '^ *+' conftest.er1 
>conftest.err
 
15037   cat conftest.err 
>&5 
15038   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15039   (exit $ac_status); } && { 
15040          test -z "$ac_c_werror_flag" || 
15041          test ! -s conftest.err
 
15042        } && test -s conftest
$ac_exeext && 
15043        $as_test_x conftest
$ac_exeext; then 
15044   ac_cv_lib_nsl_gethostbyname
=yes 
15046   echo "$as_me: failed program was:" >&5 
15047 sed 's/^/| /' conftest.
$ac_ext >&5 
15049         ac_cv_lib_nsl_gethostbyname
=no
 
15052 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
15053       conftest
$ac_exeext conftest.
$ac_ext 
15054 LIBS
=$ac_check_lib_save_LIBS 
15056 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 
15057 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } 
15058 if test $ac_cv_lib_nsl_gethostbyname = yes; then 
15059   X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl" 
15062       if test $ac_cv_lib_nsl_gethostbyname = no
; then 
15063         { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 
15064 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; } 
15065 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then 
15066   echo $ECHO_N "(cached) $ECHO_C" >&6 
15068   ac_check_lib_save_LIBS
=$LIBS 
15070 cat >conftest.
$ac_ext <<_ACEOF 
15073 cat confdefs.h 
>>conftest.
$ac_ext 
15074 cat >>conftest.
$ac_ext <<_ACEOF 
15075 /* end confdefs.h.  */ 
15077 /* Override any GCC internal prototype to avoid an error. 
15078    Use char because int might match the return type of a GCC 
15079    builtin and then its argument prototype would still apply.  */ 
15083 char gethostbyname (); 
15087 return gethostbyname (); 
15092 rm -f conftest.
$ac_objext conftest
$ac_exeext 
15093 if { (ac_try
="$ac_link" 
15094 case "(($ac_try" in 
15095   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
15096   *) ac_try_echo=$ac_try;; 
15098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15099   (eval "$ac_link") 2>conftest.er1 
15101   grep -v '^ *+' conftest.er1 >conftest.err 
15103   cat conftest.err >&5 
15104   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15105   (exit $ac_status); } && { 
15106          test -z "$ac_c_werror_flag" || 
15107          test ! -s conftest.err 
15108        } && test -s conftest$ac_exeext && 
15109        $as_test_x conftest$ac_exeext; then 
15110   ac_cv_lib_bsd_gethostbyname=yes 
15112   echo "$as_me: failed program was:" >&5 
15113 sed 's/^/| /' conftest.$ac_ext >&5 
15115         ac_cv_lib_bsd_gethostbyname=no 
15118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
15119       conftest$ac_exeext conftest.$ac_ext 
15120 LIBS=$ac_check_lib_save_LIBS 
15122 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 
15123 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; } 
15124 if test $ac_cv_lib_bsd_gethostbyname = yes; then 
15125   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 
15131     # lieder@skyler.mavd.honeywell.com says without -lsocket, 
15132     # socket/setsockopt and other routines are undefined under SCO ODT 
15133     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary 
15134     # on later versions), says Simon Leinen: it contains gethostby* 
15135     # variants that don't use the name server (or something).  -lsocket 
15136     # must be given before -lnsl if both are needed.  We assume that 
15137     # if connect needs -lnsl, so does gethostbyname. 
15138     { echo "$as_me:$LINENO: checking for connect" >&5 
15139 echo $ECHO_N "checking for connect... $ECHO_C" >&6; } 
15140 if test "${ac_cv_func_connect+set}" = set; then 
15141   echo $ECHO_N "(cached) $ECHO_C" >&6 
15143   cat >conftest.$ac_ext <<_ACEOF 
15146 cat confdefs.h >>conftest.$ac_ext 
15147 cat >>conftest.$ac_ext <<_ACEOF 
15148 /* end confdefs.h.  */ 
15149 /* Define connect to an innocuous variant, in case <limits.h> declares connect. 
15150    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
15151 #define connect innocuous_connect 
15153 /* System header to define __stub macros and hopefully few prototypes, 
15154     which can conflict with char connect (); below. 
15155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
15156     <limits.h> exists even on freestanding compilers.  */ 
15159 # include <limits.h> 
15161 # include <assert.h> 
15166 /* Override any GCC internal prototype to avoid an error. 
15167    Use char because int might match the return type of a GCC 
15168    builtin and then its argument prototype would still apply.  */ 
15173 /* The GNU C library defines this for functions which it implements 
15174     to always fail with ENOSYS.  Some functions are actually named 
15175     something starting with __ and the normal name is an alias.  */ 
15176 #if defined __stub_connect || defined __stub___connect 
15188 rm -f conftest.$ac_objext conftest$ac_exeext 
15189 if { (ac_try="$ac_link" 
15190 case "(($ac_try" in 
15191   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
15192   *) ac_try_echo
=$ac_try;; 
15194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15195   (eval "$ac_link") 2>conftest.er1
 
15197   grep -v '^ *+' conftest.er1 
>conftest.err
 
15199   cat conftest.err 
>&5 
15200   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15201   (exit $ac_status); } && { 
15202          test -z "$ac_c_werror_flag" || 
15203          test ! -s conftest.err
 
15204        } && test -s conftest
$ac_exeext && 
15205        $as_test_x conftest
$ac_exeext; then 
15206   ac_cv_func_connect
=yes 
15208   echo "$as_me: failed program was:" >&5 
15209 sed 's/^/| /' conftest.
$ac_ext >&5 
15211         ac_cv_func_connect
=no
 
15214 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
15215       conftest
$ac_exeext conftest.
$ac_ext 
15217 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 
15218 echo "${ECHO_T}$ac_cv_func_connect" >&6; } 
15220     if test $ac_cv_func_connect = no
; then 
15221       { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 
15222 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; } 
15223 if test "${ac_cv_lib_socket_connect+set}" = set; then 
15224   echo $ECHO_N "(cached) $ECHO_C" >&6 
15226   ac_check_lib_save_LIBS
=$LIBS 
15227 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS" 
15228 cat >conftest.
$ac_ext <<_ACEOF 
15231 cat confdefs.h 
>>conftest.
$ac_ext 
15232 cat >>conftest.
$ac_ext <<_ACEOF 
15233 /* end confdefs.h.  */ 
15235 /* Override any GCC internal prototype to avoid an error. 
15236    Use char because int might match the return type of a GCC 
15237    builtin and then its argument prototype would still apply.  */ 
15250 rm -f conftest.
$ac_objext conftest
$ac_exeext 
15251 if { (ac_try
="$ac_link" 
15252 case "(($ac_try" in 
15253   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
15254   *) ac_try_echo=$ac_try;; 
15256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15257   (eval "$ac_link") 2>conftest.er1 
15259   grep -v '^ *+' conftest.er1 >conftest.err 
15261   cat conftest.err >&5 
15262   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15263   (exit $ac_status); } && { 
15264          test -z "$ac_c_werror_flag" || 
15265          test ! -s conftest.err 
15266        } && test -s conftest$ac_exeext && 
15267        $as_test_x conftest$ac_exeext; then 
15268   ac_cv_lib_socket_connect=yes 
15270   echo "$as_me: failed program was:" >&5 
15271 sed 's/^/| /' conftest.$ac_ext >&5 
15273         ac_cv_lib_socket_connect=no 
15276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
15277       conftest$ac_exeext conftest.$ac_ext 
15278 LIBS=$ac_check_lib_save_LIBS 
15280 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 
15281 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; } 
15282 if test $ac_cv_lib_socket_connect = yes; then 
15283   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 
15288     # Guillermo Gomez says -lposix is necessary on A/UX. 
15289     { echo "$as_me:$LINENO: checking for remove" >&5 
15290 echo $ECHO_N "checking for remove... $ECHO_C" >&6; } 
15291 if test "${ac_cv_func_remove+set}" = set; then 
15292   echo $ECHO_N "(cached) $ECHO_C" >&6 
15294   cat >conftest.$ac_ext <<_ACEOF 
15297 cat confdefs.h >>conftest.$ac_ext 
15298 cat >>conftest.$ac_ext <<_ACEOF 
15299 /* end confdefs.h.  */ 
15300 /* Define remove to an innocuous variant, in case <limits.h> declares remove. 
15301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
15302 #define remove innocuous_remove 
15304 /* System header to define __stub macros and hopefully few prototypes, 
15305     which can conflict with char remove (); below. 
15306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
15307     <limits.h> exists even on freestanding compilers.  */ 
15310 # include <limits.h> 
15312 # include <assert.h> 
15317 /* Override any GCC internal prototype to avoid an error. 
15318    Use char because int might match the return type of a GCC 
15319    builtin and then its argument prototype would still apply.  */ 
15324 /* The GNU C library defines this for functions which it implements 
15325     to always fail with ENOSYS.  Some functions are actually named 
15326     something starting with __ and the normal name is an alias.  */ 
15327 #if defined __stub_remove || defined __stub___remove 
15339 rm -f conftest.$ac_objext conftest$ac_exeext 
15340 if { (ac_try="$ac_link" 
15341 case "(($ac_try" in 
15342   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
15343   *) ac_try_echo
=$ac_try;; 
15345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15346   (eval "$ac_link") 2>conftest.er1
 
15348   grep -v '^ *+' conftest.er1 
>conftest.err
 
15350   cat conftest.err 
>&5 
15351   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15352   (exit $ac_status); } && { 
15353          test -z "$ac_c_werror_flag" || 
15354          test ! -s conftest.err
 
15355        } && test -s conftest
$ac_exeext && 
15356        $as_test_x conftest
$ac_exeext; then 
15357   ac_cv_func_remove
=yes 
15359   echo "$as_me: failed program was:" >&5 
15360 sed 's/^/| /' conftest.
$ac_ext >&5 
15362         ac_cv_func_remove
=no
 
15365 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
15366       conftest
$ac_exeext conftest.
$ac_ext 
15368 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 
15369 echo "${ECHO_T}$ac_cv_func_remove" >&6; } 
15371     if test $ac_cv_func_remove = no
; then 
15372       { echo "$as_me:$LINENO: checking for remove in -lposix" >&5 
15373 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; } 
15374 if test "${ac_cv_lib_posix_remove+set}" = set; then 
15375   echo $ECHO_N "(cached) $ECHO_C" >&6 
15377   ac_check_lib_save_LIBS
=$LIBS 
15378 LIBS
="-lposix  $LIBS" 
15379 cat >conftest.
$ac_ext <<_ACEOF 
15382 cat confdefs.h 
>>conftest.
$ac_ext 
15383 cat >>conftest.
$ac_ext <<_ACEOF 
15384 /* end confdefs.h.  */ 
15386 /* Override any GCC internal prototype to avoid an error. 
15387    Use char because int might match the return type of a GCC 
15388    builtin and then its argument prototype would still apply.  */ 
15401 rm -f conftest.
$ac_objext conftest
$ac_exeext 
15402 if { (ac_try
="$ac_link" 
15403 case "(($ac_try" in 
15404   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
15405   *) ac_try_echo=$ac_try;; 
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15408   (eval "$ac_link") 2>conftest.er1 
15410   grep -v '^ *+' conftest.er1 >conftest.err 
15412   cat conftest.err >&5 
15413   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15414   (exit $ac_status); } && { 
15415          test -z "$ac_c_werror_flag" || 
15416          test ! -s conftest.err 
15417        } && test -s conftest$ac_exeext && 
15418        $as_test_x conftest$ac_exeext; then 
15419   ac_cv_lib_posix_remove=yes 
15421   echo "$as_me: failed program was:" >&5 
15422 sed 's/^/| /' conftest.$ac_ext >&5 
15424         ac_cv_lib_posix_remove=no 
15427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
15428       conftest$ac_exeext conftest.$ac_ext 
15429 LIBS=$ac_check_lib_save_LIBS 
15431 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 
15432 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; } 
15433 if test $ac_cv_lib_posix_remove = yes; then 
15434   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 
15439     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 
15440     { echo "$as_me:$LINENO: checking for shmat" >&5 
15441 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; } 
15442 if test "${ac_cv_func_shmat+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.  */ 
15451 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat. 
15452    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
15453 #define shmat innocuous_shmat 
15455 /* System header to define __stub macros and hopefully few prototypes, 
15456     which can conflict with char shmat (); below. 
15457     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
15458     <limits.h> exists even on freestanding compilers.  */ 
15461 # include <limits.h> 
15463 # include <assert.h> 
15468 /* Override any GCC internal prototype to avoid an error. 
15469    Use char because int might match the return type of a GCC 
15470    builtin and then its argument prototype would still apply.  */ 
15475 /* The GNU C library defines this for functions which it implements 
15476     to always fail with ENOSYS.  Some functions are actually named 
15477     something starting with __ and the normal name is an alias.  */ 
15478 #if defined __stub_shmat || defined __stub___shmat 
15490 rm -f conftest.$ac_objext conftest$ac_exeext 
15491 if { (ac_try="$ac_link" 
15492 case "(($ac_try" in 
15493   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
15494   *) ac_try_echo
=$ac_try;; 
15496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15497   (eval "$ac_link") 2>conftest.er1
 
15499   grep -v '^ *+' conftest.er1 
>conftest.err
 
15501   cat conftest.err 
>&5 
15502   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15503   (exit $ac_status); } && { 
15504          test -z "$ac_c_werror_flag" || 
15505          test ! -s conftest.err
 
15506        } && test -s conftest
$ac_exeext && 
15507        $as_test_x conftest
$ac_exeext; then 
15508   ac_cv_func_shmat
=yes 
15510   echo "$as_me: failed program was:" >&5 
15511 sed 's/^/| /' conftest.
$ac_ext >&5 
15513         ac_cv_func_shmat
=no
 
15516 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
15517       conftest
$ac_exeext conftest.
$ac_ext 
15519 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 
15520 echo "${ECHO_T}$ac_cv_func_shmat" >&6; } 
15522     if test $ac_cv_func_shmat = no
; then 
15523       { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 
15524 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; } 
15525 if test "${ac_cv_lib_ipc_shmat+set}" = set; then 
15526   echo $ECHO_N "(cached) $ECHO_C" >&6 
15528   ac_check_lib_save_LIBS
=$LIBS 
15530 cat >conftest.
$ac_ext <<_ACEOF 
15533 cat confdefs.h 
>>conftest.
$ac_ext 
15534 cat >>conftest.
$ac_ext <<_ACEOF 
15535 /* end confdefs.h.  */ 
15537 /* Override any GCC internal prototype to avoid an error. 
15538    Use char because int might match the return type of a GCC 
15539    builtin and then its argument prototype would still apply.  */ 
15552 rm -f conftest.
$ac_objext conftest
$ac_exeext 
15553 if { (ac_try
="$ac_link" 
15554 case "(($ac_try" in 
15555   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
15556   *) ac_try_echo=$ac_try;; 
15558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15559   (eval "$ac_link") 2>conftest.er1 
15561   grep -v '^ *+' conftest.er1 >conftest.err 
15563   cat conftest.err >&5 
15564   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15565   (exit $ac_status); } && { 
15566          test -z "$ac_c_werror_flag" || 
15567          test ! -s conftest.err 
15568        } && test -s conftest$ac_exeext && 
15569        $as_test_x conftest$ac_exeext; then 
15570   ac_cv_lib_ipc_shmat=yes 
15572   echo "$as_me: failed program was:" >&5 
15573 sed 's/^/| /' conftest.$ac_ext >&5 
15575         ac_cv_lib_ipc_shmat=no 
15578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
15579       conftest$ac_exeext conftest.$ac_ext 
15580 LIBS=$ac_check_lib_save_LIBS 
15582 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 
15583 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; } 
15584 if test $ac_cv_lib_ipc_shmat = yes; then 
15585   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 
15591   # Check for libraries that X11R6 Xt/Xaw programs need. 
15592   ac_save_LDFLAGS=$LDFLAGS 
15593   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" 
15594   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to 
15595   # check for ICE first), but we must link in the order -lSM -lICE or 
15596   # we get undefined symbols.  So assume we have SM if we have ICE. 
15597   # These have to be linked with before -lX11, unlike the other 
15598   # libraries we check for below, so use a different variable. 
15599   # John Interrante, Karl Berry 
15600   { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 
15601 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; } 
15602 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then 
15603   echo $ECHO_N "(cached) $ECHO_C" >&6 
15605   ac_check_lib_save_LIBS=$LIBS 
15606 LIBS="-lICE $X_EXTRA_LIBS $LIBS" 
15607 cat >conftest.$ac_ext <<_ACEOF 
15610 cat confdefs.h >>conftest.$ac_ext 
15611 cat >>conftest.$ac_ext <<_ACEOF 
15612 /* end confdefs.h.  */ 
15614 /* Override any GCC internal prototype to avoid an error. 
15615    Use char because int might match the return type of a GCC 
15616    builtin and then its argument prototype would still apply.  */ 
15620 char IceConnectionNumber (); 
15624 return IceConnectionNumber (); 
15629 rm -f conftest.$ac_objext conftest$ac_exeext 
15630 if { (ac_try="$ac_link" 
15631 case "(($ac_try" in 
15632   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
15633   *) ac_try_echo
=$ac_try;; 
15635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15636   (eval "$ac_link") 2>conftest.er1
 
15638   grep -v '^ *+' conftest.er1 
>conftest.err
 
15640   cat conftest.err 
>&5 
15641   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15642   (exit $ac_status); } && { 
15643          test -z "$ac_c_werror_flag" || 
15644          test ! -s conftest.err
 
15645        } && test -s conftest
$ac_exeext && 
15646        $as_test_x conftest
$ac_exeext; then 
15647   ac_cv_lib_ICE_IceConnectionNumber
=yes 
15649   echo "$as_me: failed program was:" >&5 
15650 sed 's/^/| /' conftest.
$ac_ext >&5 
15652         ac_cv_lib_ICE_IceConnectionNumber
=no
 
15655 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
15656       conftest
$ac_exeext conftest.
$ac_ext 
15657 LIBS
=$ac_check_lib_save_LIBS 
15659 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 
15660 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 
15661 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then 
15662   X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE" 
15665   LDFLAGS
=$ac_save_LDFLAGS 
15674 ac_cpp
='$CPP $CPPFLAGS' 
15675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
15676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
15677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
15681 # We used to check for pthread.h first, but this fails if pthread.h 
15682 # requires special compiler flags (e.g. on True64 or Sequent). 
15683 # It gets checked for in the link test anyway. 
15685 # First of all, check if the user has set any of the PTHREAD_LIBS, 
15686 # etcetera environment variables, and if threads linking works using 
15688 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then 
15689         save_CFLAGS
="$CFLAGS" 
15690         CFLAGS
="$CFLAGS $PTHREAD_CFLAGS" 
15692         LIBS
="$PTHREAD_LIBS $LIBS" 
15693         { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 
15694 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; } 
15695         cat >conftest.
$ac_ext <<_ACEOF 
15698 cat confdefs.h 
>>conftest.
$ac_ext 
15699 cat >>conftest.
$ac_ext <<_ACEOF 
15700 /* end confdefs.h.  */ 
15702 /* Override any GCC internal prototype to avoid an error. 
15703    Use char because int might match the return type of a GCC 
15704    builtin and then its argument prototype would still apply.  */ 
15708 char pthread_join (); 
15712 return pthread_join (); 
15717 rm -f conftest.
$ac_objext conftest
$ac_exeext 
15718 if { (ac_try
="$ac_link" 
15719 case "(($ac_try" in 
15720   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
15721   *) ac_try_echo=$ac_try;; 
15723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15724   (eval "$ac_link") 2>conftest.er1 
15726   grep -v '^ *+' conftest.er1 >conftest.err 
15728   cat conftest.err >&5 
15729   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15730   (exit $ac_status); } && { 
15731          test -z "$ac_c_werror_flag" || 
15732          test ! -s conftest.err 
15733        } && test -s conftest$ac_exeext && 
15734        $as_test_x conftest$ac_exeext; then 
15737   echo "$as_me: failed program was:" >&5 
15738 sed 's/^/| /' conftest.$ac_ext >&5 
15743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
15744       conftest$ac_exeext conftest.$ac_ext 
15745         { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5 
15746 echo "${ECHO_T}$acx_pthread_ok" >&6; } 
15747         if test x"$acx_pthread_ok" = xno; then 
15752         CFLAGS="$save_CFLAGS" 
15755 # We must check for the threads library under a number of different 
15756 # names; the ordering is very important because some systems 
15757 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the 
15758 # libraries is broken (non-POSIX). 
15760 # Create a list of thread flags to try.  Items starting with a "-" are 
15761 # C compiler flags, and other items are library names, except for "none" 
15762 # which indicates that we try without any flags at all, and "pthread-config" 
15763 # which is a program returning the flags for the Pth emulation library. 
15765 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" 
15767 # The ordering *is* (sometimes) important.  Some notes on the 
15768 # individual items follow: 
15770 # pthreads: AIX (must check this before -lpthread) 
15771 # none: in case threads are in libc; should be tried before -Kthread and 
15772 #       other compiler flags to prevent continual compiler warnings 
15773 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) 
15774 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) 
15775 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) 
15776 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) 
15777 # -pthreads: Solaris/gcc 
15778 # -mthreads: Mingw32/gcc, Lynx/gcc 
15779 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it 
15780 #      doesn't hurt to check since this sometimes defines pthreads too; 
15781 #      also defines -D_REENTRANT) 
15782 # pthread: Linux, etcetera 
15783 # --thread-safe: KAI C++ 
15784 # pthread-config: use pthread-config program (for GNU Pth library) 
15786 case "${host_cpu}-${host_os}" in 
15789         # On Solaris (at least, for some versions), libc contains stubbed 
15790         # (non-functional) versions of the pthreads routines, so link-based 
15791         # tests will erroneously succeed.  (We need to link with -pthread or 
15792         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather 
15793         # a function called by this macro, so we could check for that, but 
15794         # who knows whether they'll stub that too in a future libc.)  So, 
15795         # we'll just look for -pthreads and -lpthread first: 
15797         acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags" 
15801 if test x"$acx_pthread_ok" = xno; then 
15802 for flag in $acx_pthread_flags; do 
15806                 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5 
15807 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; } 
15811                 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5 
15812 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; } 
15813                 PTHREAD_CFLAGS="$flag" 
15817                 # Extract the first word of "pthread-config", so it can be a program name with args. 
15818 set dummy pthread-config; ac_word=$2 
15819 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
15820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
15821 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then 
15822   echo $ECHO_N "(cached) $ECHO_C" >&6 
15824   if test -n "$acx_pthread_config"; then 
15825   ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test. 
15827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
15828 for as_dir in $PATH 
15831   test -z "$as_dir" && as_dir=. 
15832   for ac_exec_ext in '' $ac_executable_extensions; do 
15833   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
15834     ac_cv_prog_acx_pthread_config="yes" 
15835     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
15842   test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no" 
15845 acx_pthread_config=$ac_cv_prog_acx_pthread_config 
15846 if test -n "$acx_pthread_config"; then 
15847   { echo "$as_me:$LINENO: result: $acx_pthread_config" >&5 
15848 echo "${ECHO_T}$acx_pthread_config" >&6; } 
15850   { echo "$as_me:$LINENO: result: no" >&5 
15851 echo "${ECHO_T}no" >&6; } 
15855                 if test x"$acx_pthread_config" = xno; then continue; fi 
15856                 PTHREAD_CFLAGS="`pthread
-config --cflags`" 
15857                 PTHREAD_LIBS="`pthread
-config --ldflags` `pthread
-config --libs`" 
15861                 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5 
15862 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; } 
15863                 PTHREAD_LIBS="-l$flag" 
15868         save_CFLAGS="$CFLAGS" 
15869         LIBS="$PTHREAD_LIBS $LIBS" 
15870         CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 
15872         # Check for various functions.  We must include pthread.h, 
15873         # since some functions may be macros.  (On the Sequent, we 
15874         # need a special flag -Kthread to make this header compile.) 
15875         # We check for pthread_join because it is in -lpthread on IRIX 
15876         # while pthread_create is in libc.  We check for pthread_attr_init 
15877         # due to DEC craziness with -lpthreads.  We check for 
15878         # pthread_cleanup_push because it is one of the few pthread 
15879         # functions on Solaris that doesn't have a non-functional libc stub. 
15880         # We try pthread_create on general principles. 
15881         cat >conftest.$ac_ext <<_ACEOF 
15884 cat confdefs.h >>conftest.$ac_ext 
15885 cat >>conftest.$ac_ext <<_ACEOF 
15886 /* end confdefs.h.  */ 
15887 #include <pthread.h> 
15891 pthread_t th; pthread_join(th, 0); 
15892                      pthread_attr_init(0); pthread_cleanup_push(0, 0); 
15893                      pthread_create(0,0,0,0); pthread_cleanup_pop(0); 
15898 rm -f conftest.$ac_objext conftest$ac_exeext 
15899 if { (ac_try="$ac_link" 
15900 case "(($ac_try" in 
15901   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
15902   *) ac_try_echo
=$ac_try;; 
15904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15905   (eval "$ac_link") 2>conftest.er1
 
15907   grep -v '^ *+' conftest.er1 
>conftest.err
 
15909   cat conftest.err 
>&5 
15910   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15911   (exit $ac_status); } && { 
15912          test -z "$ac_c_werror_flag" || 
15913          test ! -s conftest.err
 
15914        } && test -s conftest
$ac_exeext && 
15915        $as_test_x conftest
$ac_exeext; then 
15918   echo "$as_me: failed program was:" >&5 
15919 sed 's/^/| /' conftest.
$ac_ext >&5 
15924 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
15925       conftest
$ac_exeext conftest.
$ac_ext 
15928         CFLAGS
="$save_CFLAGS" 
15930         { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5 
15931 echo "${ECHO_T}$acx_pthread_ok" >&6; } 
15932         if test "x$acx_pthread_ok" = xyes
; then 
15941 # Various other checks: 
15942 if test "x$acx_pthread_ok" = xyes
; then 
15944         LIBS
="$PTHREAD_LIBS $LIBS" 
15945         save_CFLAGS
="$CFLAGS" 
15946         CFLAGS
="$CFLAGS $PTHREAD_CFLAGS" 
15948         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. 
15949         { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5 
15950 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; } 
15952         for attr 
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do 
15953             cat >conftest.
$ac_ext <<_ACEOF 
15956 cat confdefs.h 
>>conftest.
$ac_ext 
15957 cat >>conftest.
$ac_ext <<_ACEOF 
15958 /* end confdefs.h.  */ 
15959 #include <pthread.h> 
15968 rm -f conftest.
$ac_objext conftest
$ac_exeext 
15969 if { (ac_try
="$ac_link" 
15970 case "(($ac_try" in 
15971   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
15972   *) ac_try_echo=$ac_try;; 
15974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
15975   (eval "$ac_link") 2>conftest.er1 
15977   grep -v '^ *+' conftest.er1 >conftest.err 
15979   cat conftest.err >&5 
15980   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
15981   (exit $ac_status); } && { 
15982          test -z "$ac_c_werror_flag" || 
15983          test ! -s conftest.err 
15984        } && test -s conftest$ac_exeext && 
15985        $as_test_x conftest$ac_exeext; then 
15986   attr_name=$attr; break 
15988   echo "$as_me: failed program was:" >&5 
15989 sed 's/^/| /' conftest.$ac_ext >&5 
15994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
15995       conftest$ac_exeext conftest.$ac_ext 
15997         { echo "$as_me:$LINENO: result: $attr_name" >&5 
15998 echo "${ECHO_T}$attr_name" >&6; } 
15999         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then 
16001 cat >>confdefs.h <<_ACEOF 
16002 #define PTHREAD_CREATE_JOINABLE $attr_name 
16007         { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5 
16008 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; } 
16010         case "${host_cpu}-${host_os}" in 
16011             *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; 
16012             *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; 
16014         { echo "$as_me:$LINENO: result: ${flag}" >&5 
16015 echo "${ECHO_T}${flag}" >&6; } 
16016         if test "x$flag" != xno; then 
16017             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" 
16021         CFLAGS="$save_CFLAGS" 
16023         # More AIX lossage: must compile with cc_r 
16024         # Extract the first word of "cc_r", so it can be a program name with args. 
16025 set dummy cc_r; ac_word=$2 
16026 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
16027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
16028 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then 
16029   echo $ECHO_N "(cached) $ECHO_C" >&6 
16031   if test -n "$PTHREAD_CC"; then 
16032   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. 
16034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
16035 for as_dir in $PATH 
16038   test -z "$as_dir" && as_dir=. 
16039   for ac_exec_ext in '' $ac_executable_extensions; do 
16040   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
16041     ac_cv_prog_PTHREAD_CC="cc_r" 
16042     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
16049   test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}" 
16052 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC 
16053 if test -n "$PTHREAD_CC"; then 
16054   { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5 
16055 echo "${ECHO_T}$PTHREAD_CC" >&6; } 
16057   { echo "$as_me:$LINENO: result: no" >&5 
16058 echo "${ECHO_T}no" >&6; } 
16070 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: 
16071 if test x"$acx_pthread_ok" = xyes; then 
16073 cat >>confdefs.h <<\_ACEOF 
16074 #define HAVE_PTHREAD 1 
16083 ac_cpp='$CPP $CPPFLAGS' 
16084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
16085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
16086 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
16091 # There isn't a reliable way to know we should use the Apple OpenGL framework 
16092 # without a configure option.  A Mac OS X user may have installed an 
16093 # alternative GL implementation (e.g., Mesa), which may or may not depend on X. 
16096 # Check whether --with-apple-opengl-framework was given. 
16097 if test "${with_apple_opengl_framework+set}" = set; then 
16098   withval=$with_apple_opengl_framework; 
16101 if test "X$with_apple_opengl_framework" = "Xyes"; then 
16103 cat >>confdefs.h <<\_ACEOF 
16104 #define HAVE_APPLE_OPENGL_FRAMEWORK 1 
16107   GL_LIBS="-framework OpenGL" 
16110 ac_cpp='$CPP $CPPFLAGS' 
16111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
16112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
16113 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
16116   { echo "$as_me:$LINENO: checking whether we are using the Microsoft C compiler" >&5 
16117 echo $ECHO_N "checking whether we are using the Microsoft C compiler... $ECHO_C" >&6; } 
16118 if test "${ax_cv_c_compiler_ms+set}" = set; then 
16119   echo $ECHO_N "(cached) $ECHO_C" >&6 
16121   cat >conftest.$ac_ext <<_ACEOF 
16124 cat confdefs.h >>conftest.$ac_ext 
16125 cat >>conftest.$ac_ext <<_ACEOF 
16126 /* end confdefs.h.  */ 
16139 rm -f conftest.$ac_objext 
16140 if { (ac_try="$ac_compile" 
16141 case "(($ac_try" in 
16142   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
16143   *) ac_try_echo
=$ac_try;; 
16145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16146   (eval "$ac_compile") 2>conftest.er1
 
16148   grep -v '^ *+' conftest.er1 
>conftest.err
 
16150   cat conftest.err 
>&5 
16151   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16152   (exit $ac_status); } && { 
16153          test -z "$ac_c_werror_flag" || 
16154          test ! -s conftest.err
 
16155        } && test -s conftest.
$ac_objext; then 
16158   echo "$as_me: failed program was:" >&5 
16159 sed 's/^/| /' conftest.
$ac_ext >&5 
16164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
16165 ax_cv_c_compiler_ms
=$ax_compiler_ms 
16168 { echo "$as_me:$LINENO: result: $ax_cv_c_compiler_ms" >&5 
16169 echo "${ECHO_T}$ax_cv_c_compiler_ms" >&6; } 
16170   if test X
$ax_compiler_ms = Xno
; then 
16171     GL_CFLAGS
="${PTHREAD_CFLAGS}" 
16172     GL_LIBS
="${PTHREAD_LIBS} -lm" 
16176   # Use x_includes and x_libraries if they have been set (presumably by 
16179   if test "X$no_x" != "Xyes"; then 
16180     if test -n "$x_includes"; then 
16181       GL_CFLAGS
="-I${x_includes} ${GL_CFLAGS}" 
16183     if test -n "$x_libraries"; then 
16184       GL_LIBS
="-L${x_libraries} -lX11 ${GL_LIBS}" 
16189 for ac_header 
in windows.h
 
16191 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
16192 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
16193   { echo "$as_me:$LINENO: checking for $ac_header" >&5 
16194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
16195 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
16196   echo $ECHO_N "(cached) $ECHO_C" >&6 
16198 ac_res
=`eval echo '${'$as_ac_Header'}'` 
16199                { echo "$as_me:$LINENO: result: $ac_res" >&5 
16200 echo "${ECHO_T}$ac_res" >&6; } 
16202   # Is the header compilable? 
16203 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 
16204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 
16205 cat >conftest.
$ac_ext <<_ACEOF 
16208 cat confdefs.h 
>>conftest.
$ac_ext 
16209 cat >>conftest.
$ac_ext <<_ACEOF 
16210 /* end confdefs.h.  */ 
16211 $ac_includes_default 
16212 #include <$ac_header> 
16214 rm -f conftest.
$ac_objext 
16215 if { (ac_try
="$ac_compile" 
16216 case "(($ac_try" in 
16217   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
16218   *) ac_try_echo=$ac_try;; 
16220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16221   (eval "$ac_compile") 2>conftest.er1 
16223   grep -v '^ *+' conftest.er1 >conftest.err 
16225   cat conftest.err >&5 
16226   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16227   (exit $ac_status); } && { 
16228          test -z "$ac_c_werror_flag" || 
16229          test ! -s conftest.err 
16230        } && test -s conftest.$ac_objext; then 
16231   ac_header_compiler=yes 
16233   echo "$as_me: failed program was:" >&5 
16234 sed 's/^/| /' conftest.$ac_ext >&5 
16236         ac_header_compiler=no 
16239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
16240 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
16241 echo "${ECHO_T}$ac_header_compiler" >&6; } 
16243 # Is the header present? 
16244 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 
16245 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 
16246 cat >conftest.$ac_ext <<_ACEOF 
16249 cat confdefs.h >>conftest.$ac_ext 
16250 cat >>conftest.$ac_ext <<_ACEOF 
16251 /* end confdefs.h.  */ 
16252 #include <$ac_header> 
16254 if { (ac_try="$ac_cpp conftest.$ac_ext" 
16255 case "(($ac_try" in 
16256   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
16257   *) ac_try_echo
=$ac_try;; 
16259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16260   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
16262   grep -v '^ *+' conftest.er1 
>conftest.err
 
16264   cat conftest.err 
>&5 
16265   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16266   (exit $ac_status); } >/dev
/null 
&& { 
16267          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
16268          test ! -s conftest.err
 
16270   ac_header_preproc
=yes 
16272   echo "$as_me: failed program was:" >&5 
16273 sed 's/^/| /' conftest.
$ac_ext >&5 
16275   ac_header_preproc
=no
 
16278 rm -f conftest.err conftest.
$ac_ext 
16279 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
16280 echo "${ECHO_T}$ac_header_preproc" >&6; } 
16282 # So?  What about this header? 
16283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
16285     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
16286 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
16287     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 
16288 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 
16289     ac_header_preproc
=yes 
16292     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 
16293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 
16294     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 
16295 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} 
16296     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 
16297 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 
16298     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 
16299 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} 
16300     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
16301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
16302     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 
16303 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 
16305 ## -------------------------------------- ## 
16306 ## Report this to tiff@lists.maptools.org ## 
16307 ## -------------------------------------- ## 
16309      ) | sed "s/^/$as_me: WARNING:     /" >&2 
16312 { echo "$as_me:$LINENO: checking for $ac_header" >&5 
16313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
16314 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
16315   echo $ECHO_N "(cached) $ECHO_C" >&6 
16317   eval "$as_ac_Header=\$ac_header_preproc" 
16319 ac_res
=`eval echo '${'$as_ac_Header'}'` 
16320                { echo "$as_me:$LINENO: result: $ac_res" >&5 
16321 echo "${ECHO_T}$ac_res" >&6; } 
16324 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
16325   cat >>confdefs.h 
<<_ACEOF 
16326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
16334   { echo "$as_me:$LINENO: checking for OpenGL library" >&5 
16335 echo $ECHO_N "checking for OpenGL library... $ECHO_C" >&6; } 
16336 if test "${ax_cv_check_gl_libgl+set}" = set; then 
16337   echo $ECHO_N "(cached) $ECHO_C" >&6 
16339   ax_cv_check_gl_libgl
="no" 
16340   ax_save_CPPFLAGS
="${CPPFLAGS}" 
16341   CPPFLAGS
="${GL_CFLAGS} ${CPPFLAGS}" 
16342   ax_save_LIBS
="${LIBS}" 
16344   ax_check_libs
="-lopengl32 -lGL" 
16345   for ax_lib 
in ${ax_check_libs}; do 
16346     if test X
$ax_compiler_ms = Xyes
; then 
16347       ax_try_lib
=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'` 
16349       ax_try_lib
="${ax_lib}" 
16351     LIBS
="${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}" 
16352     cat >conftest.
$ac_ext <<_ACEOF 
16355 cat confdefs.h 
>>conftest.
$ac_ext 
16356 cat >>conftest.
$ac_ext <<_ACEOF 
16357 /* end confdefs.h.  */ 
16359 # if HAVE_WINDOWS_H && defined(_WIN32) 
16360 #   include <windows.h> 
16362 # include <GL/gl.h> 
16371 rm -f conftest.
$ac_objext conftest
$ac_exeext 
16372 if { (ac_try
="$ac_link" 
16373 case "(($ac_try" in 
16374   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
16375   *) ac_try_echo=$ac_try;; 
16377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16378   (eval "$ac_link") 2>conftest.er1 
16380   grep -v '^ *+' conftest.er1 >conftest.err 
16382   cat conftest.err >&5 
16383   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16384   (exit $ac_status); } && { 
16385          test -z "$ac_c_werror_flag" || 
16386          test ! -s conftest.err 
16387        } && test -s conftest$ac_exeext && 
16388        $as_test_x conftest$ac_exeext; then 
16389   ax_cv_check_gl_libgl="${ax_try_lib}"; break 
16391   echo "$as_me: failed program was:" >&5 
16392 sed 's/^/| /' conftest.$ac_ext >&5 
16397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
16398       conftest$ac_exeext conftest.$ac_ext 
16400   LIBS=${ax_save_LIBS} 
16401   CPPFLAGS=${ax_save_CPPFLAGS} 
16403 { echo "$as_me:$LINENO: result: $ax_cv_check_gl_libgl" >&5 
16404 echo "${ECHO_T}$ax_cv_check_gl_libgl" >&6; } 
16406   if test "X${ax_cv_check_gl_libgl}" = "Xno"; then 
16411     GL_LIBS="${ax_cv_check_gl_libgl} ${GL_LIBS}" 
16414 ac_cpp='$CPP $CPPFLAGS' 
16415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
16416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
16417 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
16427 ac_cpp='$CXXCPP $CPPFLAGS' 
16428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
16429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
16430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 
16431 if test -z "$CXX"; then 
16432   if test -n "$CCC"; then 
16435     if test -n "$ac_tool_prefix"; then 
16436   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 
16438     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
16439 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
16440 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
16441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
16442 if test "${ac_cv_prog_CXX+set}" = set; then 
16443   echo $ECHO_N "(cached) $ECHO_C" >&6 
16445   if test -n "$CXX"; then 
16446   ac_cv_prog_CXX="$CXX" # Let the user override the test. 
16448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
16449 for as_dir in $PATH 
16452   test -z "$as_dir" && as_dir=. 
16453   for ac_exec_ext in '' $ac_executable_extensions; do 
16454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
16455     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
16456     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
16465 CXX=$ac_cv_prog_CXX 
16466 if test -n "$CXX"; then 
16467   { echo "$as_me:$LINENO: result: $CXX" >&5 
16468 echo "${ECHO_T}$CXX" >&6; } 
16470   { echo "$as_me:$LINENO: result: no" >&5 
16471 echo "${ECHO_T}no" >&6; } 
16475     test -n "$CXX" && break 
16478 if test -z "$CXX"; then 
16480   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 
16482   # Extract the first word of "$ac_prog", so it can be a program name with args. 
16483 set dummy $ac_prog; ac_word=$2 
16484 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
16485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
16486 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
16487   echo $ECHO_N "(cached) $ECHO_C" >&6 
16489   if test -n "$ac_ct_CXX"; then 
16490   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 
16492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
16493 for as_dir in $PATH 
16496   test -z "$as_dir" && as_dir=. 
16497   for ac_exec_ext in '' $ac_executable_extensions; do 
16498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
16499     ac_cv_prog_ac_ct_CXX="$ac_prog" 
16500     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
16509 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
16510 if test -n "$ac_ct_CXX"; then 
16511   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
16512 echo "${ECHO_T}$ac_ct_CXX" >&6; } 
16514   { echo "$as_me:$LINENO: result: no" >&5 
16515 echo "${ECHO_T}no" >&6; } 
16519   test -n "$ac_ct_CXX" && break 
16522   if test "x$ac_ct_CXX" = x; then 
16525     case $cross_compiling:$ac_tool_warned in 
16527 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
16528 whose name does not start with the host triplet.  If you think this 
16529 configuration is useful to you, please write to autoconf@gnu.org." >&5 
16530 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
16531 whose name does not start with the host triplet.  If you think this 
16532 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
16533 ac_tool_warned=yes ;; 
16541 # Provide some information about the compiler. 
16542 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
16543 ac_compiler=`set X 
$ac_compile; echo $2` 
16544 { (ac_try="$ac_compiler --version >&5" 
16545 case "(($ac_try" in 
16546   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
16547   *) ac_try_echo
=$ac_try;; 
16549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16550   (eval "$ac_compiler --version >&5") 2>&5 
16552   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16553   (exit $ac_status); } 
16554 { (ac_try
="$ac_compiler -v >&5" 
16555 case "(($ac_try" in 
16556   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
16557   *) ac_try_echo=$ac_try;; 
16559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16560   (eval "$ac_compiler -v >&5") 2>&5 
16562   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16563   (exit $ac_status); } 
16564 { (ac_try="$ac_compiler -V >&5" 
16565 case "(($ac_try" in 
16566   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
16567   *) ac_try_echo
=$ac_try;; 
16569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16570   (eval "$ac_compiler -V >&5") 2>&5 
16572   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16573   (exit $ac_status); } 
16575 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
16576 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
16577 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
16578   echo $ECHO_N "(cached) $ECHO_C" >&6 
16580   cat >conftest.
$ac_ext <<_ACEOF 
16583 cat confdefs.h 
>>conftest.
$ac_ext 
16584 cat >>conftest.
$ac_ext <<_ACEOF 
16585 /* end confdefs.h.  */ 
16598 rm -f conftest.
$ac_objext 
16599 if { (ac_try
="$ac_compile" 
16600 case "(($ac_try" in 
16601   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
16602   *) ac_try_echo=$ac_try;; 
16604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16605   (eval "$ac_compile") 2>conftest.er1 
16607   grep -v '^ *+' conftest.er1 >conftest.err 
16609   cat conftest.err >&5 
16610   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16611   (exit $ac_status); } && { 
16612          test -z "$ac_cxx_werror_flag" || 
16613          test ! -s conftest.err 
16614        } && test -s conftest.$ac_objext; then 
16615   ac_compiler_gnu=yes 
16617   echo "$as_me: failed program was:" >&5 
16618 sed 's/^/| /' conftest.$ac_ext >&5 
16623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
16624 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
16627 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
16628 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
16629 GXX=`test $ac_compiler_gnu = yes && echo yes` 
16630 ac_test_CXXFLAGS=${CXXFLAGS+set} 
16631 ac_save_CXXFLAGS=$CXXFLAGS 
16632 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
16633 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
16634 if test "${ac_cv_prog_cxx_g+set}" = set; then 
16635   echo $ECHO_N "(cached) $ECHO_C" >&6 
16637   ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
16638    ac_cxx_werror_flag=yes 
16639    ac_cv_prog_cxx_g=no 
16641    cat >conftest.$ac_ext <<_ACEOF 
16644 cat confdefs.h >>conftest.$ac_ext 
16645 cat >>conftest.$ac_ext <<_ACEOF 
16646 /* end confdefs.h.  */ 
16656 rm -f conftest.$ac_objext 
16657 if { (ac_try="$ac_compile" 
16658 case "(($ac_try" in 
16659   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
16660   *) ac_try_echo
=$ac_try;; 
16662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16663   (eval "$ac_compile") 2>conftest.er1
 
16665   grep -v '^ *+' conftest.er1 
>conftest.err
 
16667   cat conftest.err 
>&5 
16668   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16669   (exit $ac_status); } && { 
16670          test -z "$ac_cxx_werror_flag" || 
16671          test ! -s conftest.err
 
16672        } && test -s conftest.
$ac_objext; then 
16673   ac_cv_prog_cxx_g
=yes 
16675   echo "$as_me: failed program was:" >&5 
16676 sed 's/^/| /' conftest.
$ac_ext >&5 
16679       cat >conftest.
$ac_ext <<_ACEOF 
16682 cat confdefs.h 
>>conftest.
$ac_ext 
16683 cat >>conftest.
$ac_ext <<_ACEOF 
16684 /* end confdefs.h.  */ 
16694 rm -f conftest.
$ac_objext 
16695 if { (ac_try
="$ac_compile" 
16696 case "(($ac_try" in 
16697   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
16698   *) ac_try_echo=$ac_try;; 
16700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16701   (eval "$ac_compile") 2>conftest.er1 
16703   grep -v '^ *+' conftest.er1 >conftest.err 
16705   cat conftest.err >&5 
16706   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16707   (exit $ac_status); } && { 
16708          test -z "$ac_cxx_werror_flag" || 
16709          test ! -s conftest.err 
16710        } && test -s conftest.$ac_objext; then 
16713   echo "$as_me: failed program was:" >&5 
16714 sed 's/^/| /' conftest.$ac_ext >&5 
16716         ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
16718          cat >conftest.$ac_ext <<_ACEOF 
16721 cat confdefs.h >>conftest.$ac_ext 
16722 cat >>conftest.$ac_ext <<_ACEOF 
16723 /* end confdefs.h.  */ 
16733 rm -f conftest.$ac_objext 
16734 if { (ac_try="$ac_compile" 
16735 case "(($ac_try" in 
16736   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
16737   *) ac_try_echo
=$ac_try;; 
16739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16740   (eval "$ac_compile") 2>conftest.er1
 
16742   grep -v '^ *+' conftest.er1 
>conftest.err
 
16744   cat conftest.err 
>&5 
16745   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16746   (exit $ac_status); } && { 
16747          test -z "$ac_cxx_werror_flag" || 
16748          test ! -s conftest.err
 
16749        } && test -s conftest.
$ac_objext; then 
16750   ac_cv_prog_cxx_g
=yes 
16752   echo "$as_me: failed program was:" >&5 
16753 sed 's/^/| /' conftest.
$ac_ext >&5 
16758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
16761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
16764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
16765    ac_cxx_werror_flag
=$ac_save_cxx_werror_flag 
16767 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
16768 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
16769 if test "$ac_test_CXXFLAGS" = set; then 
16770   CXXFLAGS
=$ac_save_CXXFLAGS 
16771 elif test $ac_cv_prog_cxx_g = yes; then 
16772   if test "$GXX" = yes; then 
16778   if test "$GXX" = yes; then 
16785 ac_cpp
='$CPP $CPPFLAGS' 
16786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
16787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
16788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
16790 depcc
="$CXX"  am_compiler_list
= 
16792 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 
16793 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 
16794 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 
16795   echo $ECHO_N "(cached) $ECHO_C" >&6 
16797   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 
16798   # We make a subdir and do the tests there.  Otherwise we can end up 
16799   # making bogus files that we don't know about and never remove.  For 
16800   # instance it was reported that on HP-UX the gcc test will end up 
16801   # making a dummy file named `D' -- because `-MD' means `put the output 
16804   # Copy depcomp to subdir because otherwise we won't find it if we're 
16805   # using a relative directory. 
16806   cp "$am_depcomp" conftest.dir
 
16808   # We will build objects and dependencies in a subdirectory because 
16809   # it helps to detect inapplicable dependency modes.  For instance 
16810   # both Tru64's cc and ICC support -MD to output dependencies as a 
16811   # side effect of compilation, but ICC will put the dependencies in 
16812   # the current directory while Tru64 will put them in the object 
16816   am_cv_CXX_dependencies_compiler_type
=none
 
16817   if test "$am_compiler_list" = ""; then 
16818      am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 
16820   for depmode 
in $am_compiler_list; do 
16821     # Setup a source with many dependencies, because some compilers 
16822     # like to wrap large dependency lists on column 80 (with \), and 
16823     # we should not choose a depcomp mode which is confused by this. 
16825     # We need to recreate these files for each test, as the compiler may 
16826     # overwrite some of them when testing with obscure command lines. 
16827     # This happens at least with the AIX C compiler. 
16829     for i 
in 1 2 3 4 5 6; do 
16830       echo '#include "conftst'$i'.h"' >> sub
/conftest.c
 
16831       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 
16832       # Solaris 8's {/usr,}/bin/sh. 
16833       touch sub
/conftst
$i.h
 
16835     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
16839       # after this tag, mechanisms are not by side-effect, so they'll 
16840       # only be used when explicitly requested 
16841       if test "x$enable_dependency_tracking" = xyes
; then 
16849     # We check with `-c' and `-o' for the sake of the "dashmstdout" 
16850     # mode.  It turns out that the SunPro C++ compiler does not properly 
16851     # handle `-M -o', and we need to detect this. 
16852     if depmode
=$depmode \
 
16853        source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
 
16854        depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
 
16855        $SHELL .
/depcomp 
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
 
16856          >/dev
/null 
2>conftest.err 
&& 
16857        grep sub
/conftst6.h sub
/conftest.Po 
> /dev
/null 
2>&1 && 
16858        grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po 
> /dev
/null 
2>&1 && 
16859        ${MAKE-make} -s -f confmf 
> /dev
/null 
2>&1; then 
16860       # icc doesn't choke on unknown options, it will just issue warnings 
16861       # or remarks (even with -Werror).  So we grep stderr for any message 
16862       # that says an option was ignored or not supported. 
16863       # When given -MP, icc 7.0 and 7.1 complain thusly: 
16864       #   icc: Command line warning: ignoring option '-M'; no argument required 
16865       # The diagnosis changed in icc 8.0: 
16866       #   icc: Command line remark: option '-MP' not supported 
16867       if (grep 'ignoring option' conftest.err 
|| 
16868           grep 'not supported' conftest.err
) >/dev
/null 
2>&1; then :; else 
16869         am_cv_CXX_dependencies_compiler_type
=$depmode 
16876   rm -rf conftest.dir
 
16878   am_cv_CXX_dependencies_compiler_type
=none
 
16882 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 
16883 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } 
16884 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type 
16889   test "x$enable_dependency_tracking" != xno \
 
16890   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then 
16891   am__fastdepCXX_TRUE
= 
16892   am__fastdepCXX_FALSE
='#' 
16894   am__fastdepCXX_TRUE
='#' 
16895   am__fastdepCXX_FALSE
= 
16899 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 
16900     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 
16901     (test "X$CXX" != "Xg++"))) ; then 
16903 ac_cpp
='$CXXCPP $CPPFLAGS' 
16904 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
16905 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
16906 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu 
16907 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 
16908 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } 
16909 if test -z "$CXXCPP"; then 
16910   if test "${ac_cv_prog_CXXCPP+set}" = set; then 
16911   echo $ECHO_N "(cached) $ECHO_C" >&6 
16913       # Double quotes because CXXCPP needs to be expanded 
16914     for CXXCPP 
in "$CXX -E" "/lib/cpp" 
16916       ac_preproc_ok
=false
 
16917 for ac_cxx_preproc_warn_flag 
in '' yes 
16919   # Use a header file that comes with gcc, so configuring glibc 
16920   # with a fresh cross-compiler works. 
16921   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
16922   # <limits.h> exists even on freestanding compilers. 
16923   # On the NeXT, cc -E runs the code through the compiler's parser, 
16924   # not just through cpp. "Syntax error" is here to catch this case. 
16925   cat >conftest.
$ac_ext <<_ACEOF 
16928 cat confdefs.h 
>>conftest.
$ac_ext 
16929 cat >>conftest.
$ac_ext <<_ACEOF 
16930 /* end confdefs.h.  */ 
16932 # include <limits.h> 
16934 # include <assert.h> 
16938 if { (ac_try
="$ac_cpp conftest.$ac_ext" 
16939 case "(($ac_try" in 
16940   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
16941   *) ac_try_echo=$ac_try;; 
16943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16944   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
16946   grep -v '^ *+' conftest.er1 >conftest.err 
16948   cat conftest.err >&5 
16949   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16950   (exit $ac_status); } >/dev/null && { 
16951          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 
16952          test ! -s conftest.err 
16956   echo "$as_me: failed program was:" >&5 
16957 sed 's/^/| /' conftest.$ac_ext >&5 
16959   # Broken: fails on valid input. 
16963 rm -f conftest.err conftest.$ac_ext 
16965   # OK, works on sane cases.  Now check whether nonexistent headers 
16966   # can be detected and how. 
16967   cat >conftest.$ac_ext <<_ACEOF 
16970 cat confdefs.h >>conftest.$ac_ext 
16971 cat >>conftest.$ac_ext <<_ACEOF 
16972 /* end confdefs.h.  */ 
16973 #include <ac_nonexistent.h> 
16975 if { (ac_try="$ac_cpp conftest.$ac_ext" 
16976 case "(($ac_try" in 
16977   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
16978   *) ac_try_echo
=$ac_try;; 
16980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
16981   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
16983   grep -v '^ *+' conftest.er1 
>conftest.err
 
16985   cat conftest.err 
>&5 
16986   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
16987   (exit $ac_status); } >/dev
/null 
&& { 
16988          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 
16989          test ! -s conftest.err
 
16991   # Broken: success on invalid input. 
16994   echo "$as_me: failed program was:" >&5 
16995 sed 's/^/| /' conftest.
$ac_ext >&5 
16997   # Passes both tests. 
17002 rm -f conftest.err conftest.
$ac_ext 
17005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
17006 rm -f conftest.err conftest.
$ac_ext 
17007 if $ac_preproc_ok; then 
17012     ac_cv_prog_CXXCPP
=$CXXCPP 
17015   CXXCPP
=$ac_cv_prog_CXXCPP 
17017   ac_cv_prog_CXXCPP
=$CXXCPP 
17019 { echo "$as_me:$LINENO: result: $CXXCPP" >&5 
17020 echo "${ECHO_T}$CXXCPP" >&6; } 
17021 ac_preproc_ok
=false
 
17022 for ac_cxx_preproc_warn_flag 
in '' yes 
17024   # Use a header file that comes with gcc, so configuring glibc 
17025   # with a fresh cross-compiler works. 
17026   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
17027   # <limits.h> exists even on freestanding compilers. 
17028   # On the NeXT, cc -E runs the code through the compiler's parser, 
17029   # not just through cpp. "Syntax error" is here to catch this case. 
17030   cat >conftest.
$ac_ext <<_ACEOF 
17033 cat confdefs.h 
>>conftest.
$ac_ext 
17034 cat >>conftest.
$ac_ext <<_ACEOF 
17035 /* end confdefs.h.  */ 
17037 # include <limits.h> 
17039 # include <assert.h> 
17043 if { (ac_try
="$ac_cpp conftest.$ac_ext" 
17044 case "(($ac_try" in 
17045   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
17046   *) ac_try_echo=$ac_try;; 
17048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
17049   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
17051   grep -v '^ *+' conftest.er1 >conftest.err 
17053   cat conftest.err >&5 
17054   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
17055   (exit $ac_status); } >/dev/null && { 
17056          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 
17057          test ! -s conftest.err 
17061   echo "$as_me: failed program was:" >&5 
17062 sed 's/^/| /' conftest.$ac_ext >&5 
17064   # Broken: fails on valid input. 
17068 rm -f conftest.err conftest.$ac_ext 
17070   # OK, works on sane cases.  Now check whether nonexistent headers 
17071   # can be detected and how. 
17072   cat >conftest.$ac_ext <<_ACEOF 
17075 cat confdefs.h >>conftest.$ac_ext 
17076 cat >>conftest.$ac_ext <<_ACEOF 
17077 /* end confdefs.h.  */ 
17078 #include <ac_nonexistent.h> 
17080 if { (ac_try="$ac_cpp conftest.$ac_ext" 
17081 case "(($ac_try" in 
17082   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
17083   *) ac_try_echo
=$ac_try;; 
17085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
17086   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
17088   grep -v '^ *+' conftest.er1 
>conftest.err
 
17090   cat conftest.err 
>&5 
17091   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
17092   (exit $ac_status); } >/dev
/null 
&& { 
17093          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 
17094          test ! -s conftest.err
 
17096   # Broken: success on invalid input. 
17099   echo "$as_me: failed program was:" >&5 
17100 sed 's/^/| /' conftest.
$ac_ext >&5 
17102   # Passes both tests. 
17107 rm -f conftest.err conftest.
$ac_ext 
17110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
17111 rm -f conftest.err conftest.
$ac_ext 
17112 if $ac_preproc_ok; then 
17115   _lt_caught_CXX_error
=yes 
17119 ac_cpp
='$CPP $CPPFLAGS' 
17120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
17121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
17122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
17125   _lt_caught_CXX_error
=yes 
17131 ac_cpp
='$CXXCPP $CPPFLAGS' 
17132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
17133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
17134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu 
17135 if test -z "$CXX"; then 
17136   if test -n "$CCC"; then 
17139     if test -n "$ac_tool_prefix"; then 
17140   for ac_prog 
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
 
17142     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
17143 set dummy 
$ac_tool_prefix$ac_prog; ac_word
=$2 
17144 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
17145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
17146 if test "${ac_cv_prog_CXX+set}" = set; then 
17147   echo $ECHO_N "(cached) $ECHO_C" >&6 
17149   if test -n "$CXX"; then 
17150   ac_cv_prog_CXX
="$CXX" # Let the user override the test. 
17152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
17153 for as_dir 
in $PATH 
17156   test -z "$as_dir" && as_dir
=.
 
17157   for ac_exec_ext 
in '' $ac_executable_extensions; do 
17158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
17159     ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog" 
17160     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
17169 CXX
=$ac_cv_prog_CXX 
17170 if test -n "$CXX"; then 
17171   { echo "$as_me:$LINENO: result: $CXX" >&5 
17172 echo "${ECHO_T}$CXX" >&6; } 
17174   { echo "$as_me:$LINENO: result: no" >&5 
17175 echo "${ECHO_T}no" >&6; } 
17179     test -n "$CXX" && break 
17182 if test -z "$CXX"; then 
17184   for ac_prog 
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
 
17186   # Extract the first word of "$ac_prog", so it can be a program name with args. 
17187 set dummy 
$ac_prog; ac_word
=$2 
17188 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
17189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
17190 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
17191   echo $ECHO_N "(cached) $ECHO_C" >&6 
17193   if test -n "$ac_ct_CXX"; then 
17194   ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test. 
17196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
17197 for as_dir 
in $PATH 
17200   test -z "$as_dir" && as_dir
=.
 
17201   for ac_exec_ext 
in '' $ac_executable_extensions; do 
17202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
17203     ac_cv_prog_ac_ct_CXX
="$ac_prog" 
17204     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
17213 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX 
17214 if test -n "$ac_ct_CXX"; then 
17215   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
17216 echo "${ECHO_T}$ac_ct_CXX" >&6; } 
17218   { echo "$as_me:$LINENO: result: no" >&5 
17219 echo "${ECHO_T}no" >&6; } 
17223   test -n "$ac_ct_CXX" && break 
17226   if test "x$ac_ct_CXX" = x
; then 
17229     case $cross_compiling:$ac_tool_warned in 
17231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
17232 whose name does not start with the host triplet.  If you think this 
17233 configuration is useful to you, please write to autoconf@gnu.org." >&5 
17234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
17235 whose name does not start with the host triplet.  If you think this 
17236 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
17237 ac_tool_warned
=yes ;; 
17245 # Provide some information about the compiler. 
17246 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
17247 ac_compiler
=`set X $ac_compile; echo $2` 
17248 { (ac_try
="$ac_compiler --version >&5" 
17249 case "(($ac_try" in 
17250   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
17251   *) ac_try_echo=$ac_try;; 
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
17254   (eval "$ac_compiler --version >&5") 2>&5 
17256   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
17257   (exit $ac_status); } 
17258 { (ac_try="$ac_compiler -v >&5" 
17259 case "(($ac_try" in 
17260   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
17261   *) ac_try_echo
=$ac_try;; 
17263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
17264   (eval "$ac_compiler -v >&5") 2>&5 
17266   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
17267   (exit $ac_status); } 
17268 { (ac_try
="$ac_compiler -V >&5" 
17269 case "(($ac_try" in 
17270   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
17271   *) ac_try_echo=$ac_try;; 
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
17274   (eval "$ac_compiler -V >&5") 2>&5 
17276   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
17277   (exit $ac_status); } 
17279 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
17280 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
17281 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
17282   echo $ECHO_N "(cached) $ECHO_C" >&6 
17284   cat >conftest.$ac_ext <<_ACEOF 
17287 cat confdefs.h >>conftest.$ac_ext 
17288 cat >>conftest.$ac_ext <<_ACEOF 
17289 /* end confdefs.h.  */ 
17302 rm -f conftest.$ac_objext 
17303 if { (ac_try="$ac_compile" 
17304 case "(($ac_try" in 
17305   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
17306   *) ac_try_echo
=$ac_try;; 
17308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
17309   (eval "$ac_compile") 2>conftest.er1
 
17311   grep -v '^ *+' conftest.er1 
>conftest.err
 
17313   cat conftest.err 
>&5 
17314   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
17315   (exit $ac_status); } && { 
17316          test -z "$ac_cxx_werror_flag" || 
17317          test ! -s conftest.err
 
17318        } && test -s conftest.
$ac_objext; then 
17319   ac_compiler_gnu
=yes 
17321   echo "$as_me: failed program was:" >&5 
17322 sed 's/^/| /' conftest.
$ac_ext >&5 
17327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
17328 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu 
17331 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
17332 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
17333 GXX
=`test $ac_compiler_gnu = yes && echo yes` 
17334 ac_test_CXXFLAGS
=${CXXFLAGS+set} 
17335 ac_save_CXXFLAGS
=$CXXFLAGS 
17336 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
17337 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
17338 if test "${ac_cv_prog_cxx_g+set}" = set; then 
17339   echo $ECHO_N "(cached) $ECHO_C" >&6 
17341   ac_save_cxx_werror_flag
=$ac_cxx_werror_flag 
17342    ac_cxx_werror_flag
=yes 
17343    ac_cv_prog_cxx_g
=no
 
17345    cat >conftest.
$ac_ext <<_ACEOF 
17348 cat confdefs.h 
>>conftest.
$ac_ext 
17349 cat >>conftest.
$ac_ext <<_ACEOF 
17350 /* end confdefs.h.  */ 
17360 rm -f conftest.
$ac_objext 
17361 if { (ac_try
="$ac_compile" 
17362 case "(($ac_try" in 
17363   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
17364   *) ac_try_echo=$ac_try;; 
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
17367   (eval "$ac_compile") 2>conftest.er1 
17369   grep -v '^ *+' conftest.er1 >conftest.err 
17371   cat conftest.err >&5 
17372   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
17373   (exit $ac_status); } && { 
17374          test -z "$ac_cxx_werror_flag" || 
17375          test ! -s conftest.err 
17376        } && test -s conftest.$ac_objext; then 
17377   ac_cv_prog_cxx_g=yes 
17379   echo "$as_me: failed program was:" >&5 
17380 sed 's/^/| /' conftest.$ac_ext >&5 
17383       cat >conftest.$ac_ext <<_ACEOF 
17386 cat confdefs.h >>conftest.$ac_ext 
17387 cat >>conftest.$ac_ext <<_ACEOF 
17388 /* end confdefs.h.  */ 
17398 rm -f conftest.$ac_objext 
17399 if { (ac_try="$ac_compile" 
17400 case "(($ac_try" in 
17401   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
17402   *) ac_try_echo
=$ac_try;; 
17404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
17405   (eval "$ac_compile") 2>conftest.er1
 
17407   grep -v '^ *+' conftest.er1 
>conftest.err
 
17409   cat conftest.err 
>&5 
17410   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
17411   (exit $ac_status); } && { 
17412          test -z "$ac_cxx_werror_flag" || 
17413          test ! -s conftest.err
 
17414        } && test -s conftest.
$ac_objext; then 
17417   echo "$as_me: failed program was:" >&5 
17418 sed 's/^/| /' conftest.
$ac_ext >&5 
17420         ac_cxx_werror_flag
=$ac_save_cxx_werror_flag 
17422          cat >conftest.
$ac_ext <<_ACEOF 
17425 cat confdefs.h 
>>conftest.
$ac_ext 
17426 cat >>conftest.
$ac_ext <<_ACEOF 
17427 /* end confdefs.h.  */ 
17437 rm -f conftest.
$ac_objext 
17438 if { (ac_try
="$ac_compile" 
17439 case "(($ac_try" in 
17440   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
17441   *) ac_try_echo=$ac_try;; 
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
17444   (eval "$ac_compile") 2>conftest.er1 
17446   grep -v '^ *+' conftest.er1 >conftest.err 
17448   cat conftest.err >&5 
17449   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
17450   (exit $ac_status); } && { 
17451          test -z "$ac_cxx_werror_flag" || 
17452          test ! -s conftest.err 
17453        } && test -s conftest.$ac_objext; then 
17454   ac_cv_prog_cxx_g=yes 
17456   echo "$as_me: failed program was:" >&5 
17457 sed 's/^/| /' conftest.$ac_ext >&5 
17462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
17465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
17469    ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
17471 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
17472 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
17473 if test "$ac_test_CXXFLAGS" = set; then 
17474   CXXFLAGS=$ac_save_CXXFLAGS 
17475 elif test $ac_cv_prog_cxx_g = yes; then 
17476   if test "$GXX" = yes; then 
17482   if test "$GXX" = yes; then 
17489 ac_cpp='$CPP $CPPFLAGS' 
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
17494 depcc="$CXX"  am_compiler_list= 
17496 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 
17497 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 
17498 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 
17499   echo $ECHO_N "(cached) $ECHO_C" >&6 
17501   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 
17502   # We make a subdir and do the tests there.  Otherwise we can end up 
17503   # making bogus files that we don't know about and never remove.  For 
17504   # instance it was reported that on HP-UX the gcc test will end up 
17505   # making a dummy file named `D
' -- because `-MD' means 
`put the output 
17508   # Copy depcomp to subdir because otherwise we won't find it if we're 
17509   # using a relative directory. 
17510   cp "$am_depcomp" conftest.dir 
17512   # We will build objects and dependencies in a subdirectory because 
17513   # it helps to detect inapplicable dependency modes.  For instance 
17514   # both Tru64's cc and ICC support -MD to output dependencies as a 
17515   # side effect of compilation, but ICC will put the dependencies in 
17516   # the current directory while Tru64 will put them in the object 
17520   am_cv_CXX_dependencies_compiler_type=none 
17521   if test "$am_compiler_list" = ""; then 
17522      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
` 
17524   for depmode in $am_compiler_list; do 
17525     # Setup a source with many dependencies, because some compilers 
17526     # like to wrap large dependency lists on column 80 (with \), and 
17527     # we should not choose a depcomp mode which is confused by this. 
17529     # We need to recreate these files for each test, as the compiler may 
17530     # overwrite some of them when testing with obscure command lines. 
17531     # This happens at least with the AIX C compiler. 
17533     for i in 1 2 3 4 5 6; do 
17534       echo '#include "conftst'$i'.h"' >> sub/conftest.c 
17535       # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with 
17536       # Solaris 8's 
{/usr
,}/bin
/sh.
 
17537       touch sub
/conftst
$i.h
 
17539     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
17543       # after this tag, mechanisms are not by side-effect, so they'll 
17544       # only be used when explicitly requested 
17545       if test "x$enable_dependency_tracking" = xyes
; then 
17553     # We check with `-c' and `-o' for the sake of the "dashmstdout" 
17554     # mode.  It turns out that the SunPro C++ compiler does not properly 
17555     # handle `-M -o', and we need to detect this. 
17556     if depmode
=$depmode \
 
17557        source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
 
17558        depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
 
17559        $SHELL .
/depcomp 
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
 
17560          >/dev
/null 
2>conftest.err 
&& 
17561        grep sub
/conftst6.h sub
/conftest.Po 
> /dev
/null 
2>&1 && 
17562        grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po 
> /dev
/null 
2>&1 && 
17563        ${MAKE-make} -s -f confmf 
> /dev
/null 
2>&1; then 
17564       # icc doesn't choke on unknown options, it will just issue warnings 
17565       # or remarks (even with -Werror).  So we grep stderr for any message 
17566       # that says an option was ignored or not supported. 
17567       # When given -MP, icc 7.0 and 7.1 complain thusly: 
17568       #   icc: Command line warning: ignoring option '-M'; no argument required 
17569       # The diagnosis changed in icc 8.0: 
17570       #   icc: Command line remark: option '-MP' not supported 
17571       if (grep 'ignoring option' conftest.err 
|| 
17572           grep 'not supported' conftest.err
) >/dev
/null 
2>&1; then :; else 
17573         am_cv_CXX_dependencies_compiler_type
=$depmode 
17580   rm -rf conftest.dir
 
17582   am_cv_CXX_dependencies_compiler_type
=none
 
17586 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 
17587 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } 
17588 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type 
17593   test "x$enable_dependency_tracking" != xno \
 
17594   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then 
17595   am__fastdepCXX_TRUE
= 
17596   am__fastdepCXX_FALSE
='#' 
17598   am__fastdepCXX_TRUE
='#' 
17599   am__fastdepCXX_FALSE
= 
17604 ac_cpp
='$CXXCPP $CPPFLAGS' 
17605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
17606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
17607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu 
17609 archive_cmds_need_lc_CXX
=no
 
17610 allow_undefined_flag_CXX
= 
17611 always_export_symbols_CXX
=no
 
17612 archive_expsym_cmds_CXX
= 
17613 export_dynamic_flag_spec_CXX
= 
17614 hardcode_direct_CXX
=no
 
17615 hardcode_libdir_flag_spec_CXX
= 
17616 hardcode_libdir_flag_spec_ld_CXX
= 
17617 hardcode_libdir_separator_CXX
= 
17618 hardcode_minus_L_CXX
=no
 
17619 hardcode_shlibpath_var_CXX
=unsupported
 
17620 hardcode_automatic_CXX
=no
 
17621 inherit_rpath_CXX
=no
 
17623 module_expsym_cmds_CXX
= 
17624 link_all_deplibs_CXX
=unknown
 
17625 old_archive_cmds_CXX
=$old_archive_cmds 
17626 no_undefined_flag_CXX
= 
17627 whole_archive_flag_spec_CXX
= 
17628 enable_shared_with_static_runtimes_CXX
=no
 
17630 # Source file extension for C++ test sources. 
17633 # Object file extension for compiled C++ test sources. 
17637 # No sense in running all these tests if we already determined that 
17638 # the CXX compiler isn't working.  Some variables (like enable_shared) 
17639 # are currently assumed to apply to all compilers on this platform, 
17640 # and will be corrupted by setting them based on a non-working compiler. 
17641 if test "$_lt_caught_CXX_error" != yes; then 
17642   # Code to be used in simple compile tests 
17643   lt_simple_compile_test_code
="int some_variable = 0;\n" 
17645   # Code to be used in simple link tests 
17646   lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n' 
17648   # ltmain only uses $CC for tagged configurations so make sure $CC is set. 
17655 # If no C compiler was specified, use CC. 
17658 # If no C compiler flags were specified, use CFLAGS. 
17659 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"} 
17661 # Allow CC to be a program name with arguments. 
17665   # save warnings/boilerplate of simple test code 
17666   ac_outfile
=conftest.
$ac_objext 
17667 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext 
17668 eval "$ac_compile" 2>&1 >/dev
/null 
| $SED '/^$/d; /^ *+/d' >conftest.err
 
17669 _lt_compiler_boilerplate
=`cat conftest.err` 
17672   ac_outfile
=conftest.
$ac_objext 
17673 printf "$lt_simple_link_test_code" >conftest.
$ac_ext 
17674 eval "$ac_link" 2>&1 >/dev
/null 
| $SED '/^$/d; /^ *+/d' >conftest.err
 
17675 _lt_linker_boilerplate
=`cat conftest.err` 
17679   # Allow CC to be a program name with arguments. 
17684   lt_save_with_gnu_ld
=$with_gnu_ld 
17685   lt_save_path_LD
=$lt_cv_path_LD 
17686   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 
17687     lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx 
17689     $as_unset lt_cv_prog_gnu_ld
 
17691   if test -n "${lt_cv_path_LDCXX+set}"; then 
17692     lt_cv_path_LD
=$lt_cv_path_LDCXX 
17694     $as_unset lt_cv_path_LD
 
17696   test -z "${LDCXX+set}" || LD
=$LDCXX 
17700   for cc_temp 
in $compiler""; do 
17702     compile 
| *[\\/]compile 
| ccache 
| *[\\/]ccache 
) ;; 
17703     distcc 
| *[\\/]distcc 
| purify 
| *[\\/]purify 
) ;; 
17708 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 
17711   if test -n "$compiler"; then 
17712     # We don't want -fno-exception when compiling C++ code, so set the 
17713     # no_builtin_flag separately 
17714     if test "$GXX" = yes; then 
17715       lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin' 
17717       lt_prog_compiler_no_builtin_flag_CXX
= 
17720     if test "$GXX" = yes; then 
17721       # Set up default GNU C++ configuration 
17725 # Check whether --with-gnu-ld was given. 
17726 if test "${with_gnu_ld+set}" = set; then 
17727   withval
=$with_gnu_ld; test "$withval" = no 
|| with_gnu_ld
=yes 
17733 if test "$GCC" = yes; then 
17734   # Check if gcc -print-prog-name=ld gives a path. 
17735   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 
17736 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } 
17739     # gcc leaves a trailing carriage return which upsets mingw 
17740     ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 
17742     ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;; 
17745     # Accept absolute paths. 
17747       re_direlt
='/[^/][^/]*/\.\./' 
17748       # Canonicalize the pathname of ld 
17749       ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 
17750       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null 
2>&1; do 
17751         ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 
17753       test -z "$LD" && LD
="$ac_prog" 
17756     # If it fails, then pretend we aren't using GCC. 
17760     # If it is relative, then search for the first ld in PATH. 
17761     with_gnu_ld
=unknown
 
17764 elif test "$with_gnu_ld" = yes; then 
17765   { echo "$as_me:$LINENO: checking for GNU ld" >&5 
17766 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 
17768   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 
17769 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 
17771 if test "${lt_cv_path_LD+set}" = set; then 
17772   echo $ECHO_N "(cached) $ECHO_C" >&6 
17774   if test -z "$LD"; then 
17775   lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR 
17776   for ac_dir 
in $PATH; do 
17778     test -z "$ac_dir" && ac_dir
=.
 
17779     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 
17780       lt_cv_path_LD
="$ac_dir/$ac_prog" 
17781       # Check to see if the program is GNU ld.  I'd rather use --version, 
17782       # but apparently some variants of GNU ld only accept -v. 
17783       # Break only if it was the GNU/non-GNU ld that we prefer. 
17784       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 
17785       *GNU
* | *'with BFD'*) 
17786         test "$with_gnu_ld" != no 
&& break 
17789         test "$with_gnu_ld" != yes && break 
17796   lt_cv_path_LD
="$LD" # Let the user override the test with a path. 
17800 LD
="$lt_cv_path_LD" 
17801 if test -n "$LD"; then 
17802   { echo "$as_me:$LINENO: result: $LD" >&5 
17803 echo "${ECHO_T}$LD" >&6; } 
17805   { echo "$as_me:$LINENO: result: no" >&5 
17806 echo "${ECHO_T}no" >&6; } 
17808 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 
17809 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 
17810    { (exit 1); exit 1; }; } 
17811 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 
17812 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 
17813 if test "${lt_cv_prog_gnu_ld+set}" = set; then 
17814   echo $ECHO_N "(cached) $ECHO_C" >&6 
17816   # I'd rather use --version here, but apparently some GNU lds only accept -v. 
17817 case `$LD -v 2>&1 </dev/null` in 
17818 *GNU
* | *'with BFD'*) 
17819   lt_cv_prog_gnu_ld
=yes 
17822   lt_cv_prog_gnu_ld
=no
 
17826 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 
17827 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } 
17828 with_gnu_ld
=$lt_cv_prog_gnu_ld 
17836       # Check if GNU C++ uses GNU ld as the underlying linker, since the 
17837       # archiving commands below assume that GNU ld is being used. 
17838       if test "$with_gnu_ld" = yes; then 
17839         archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
17840         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' 
17842         hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir' 
17843         export_dynamic_flag_spec_CXX
='${wl}--export-dynamic' 
17845         # If archive_cmds runs LD, not CC, wlarc should be empty 
17846         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 
17847         #     investigate it a little bit more. (MM) 
17850         # ancient GNU ld didn't support --whole-archive et. al. 
17851         if eval "`$CC -print-prog-name=ld` --help 2>&1" | 
17852           $GREP 'no-whole-archive' > /dev
/null
; then 
17853           whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
17855           whole_archive_flag_spec_CXX
= 
17861         # A generic and very simple default shared library creation 
17862         # command for GNU C++ for the case where it uses the native 
17863         # linker, instead of GNU ld.  If possible, this setting should 
17864         # overridden to take advantage of the native linker features on 
17865         # the platform it is being used on. 
17866         archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 
17869       # Commands to make compiler produce verbose output that lists 
17870       # what "hidden" libraries, object files and flags are used when 
17871       # linking a shared library. 
17872       output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
17880     # PORTME: fill in a description of your system's C++ link characteristics 
17881     { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 
17882 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 
17886         # FIXME: insert proper C++ library support 
17890         if test "$host_cpu" = ia64
; then 
17891           # On IA64, the linker does run time linking by default, so we don't 
17892           # have to do anything special. 
17893           aix_use_runtimelinking
=no
 
17894           exp_sym_flag
='-Bexport' 
17897           aix_use_runtimelinking
=no
 
17899           # Test if we are trying to use run time linking or normal 
17900           # AIX style linking. If -brtl is somewhere in LDFLAGS, we 
17901           # need to do runtime linking. 
17902           case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*) 
17903             for ld_flag 
in $LDFLAGS; do 
17906                 aix_use_runtimelinking
=yes 
17914           exp_sym_flag
='-bexport' 
17915           no_entry_flag
='-bnoentry' 
17918         # When large executables or shared objects are built, AIX ld can 
17919         # have problems creating the table of contents.  If linking a library 
17920         # or program results in "error TOC overflow" add -mminimal-toc to 
17921         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not 
17922         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 
17924         archive_cmds_CXX
='' 
17925         hardcode_direct_CXX
=yes 
17926         hardcode_libdir_separator_CXX
=':' 
17927         link_all_deplibs_CXX
=yes 
17928         file_list_spec_CXX
='${wl}-f,' 
17930         if test "$GXX" = yes; then 
17931           case $host_os in aix4.
[012]|aix4.
[012].
*) 
17932           # We only want to do this on AIX 4.2 and lower, the check 
17933           # below for broken collect2 doesn't work under 4.3+ 
17934           collect2name
=`${CC} -print-prog-name=collect2` 
17935           if test -f "$collect2name" && 
17936              strings "$collect2name" | $GREP resolve_lib_name 
>/dev
/null
 
17938             # We have reworked collect2 
17939             hardcode_direct_CXX
=yes 
17941             # We have old collect2 
17942             hardcode_direct_CXX
=unsupported
 
17943             # It fails to find uninstalled libraries when the uninstalled 
17944             # path is not listed in the libpath.  Setting hardcode_minus_L 
17945             # to unsupported forces relinking 
17946             hardcode_minus_L_CXX
=yes 
17947             hardcode_libdir_flag_spec_CXX
='-L$libdir' 
17948             hardcode_libdir_separator_CXX
= 
17951           shared_flag
='-shared' 
17952           if test "$aix_use_runtimelinking" = yes; then 
17953             shared_flag
="$shared_flag "'${wl}-G' 
17957           if test "$host_cpu" = ia64
; then 
17958           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 
17959           # chokes on -Wl,-G. The following line is correct: 
17962             if test "$aix_use_runtimelinking" = yes; then 
17963               shared_flag
='${wl}-G' 
17965               shared_flag
='${wl}-bM:SRE' 
17970         # It seems that -bexpall does not export symbols beginning with 
17971         # underscore (_), so it is better to generate a list of symbols to 
17973         always_export_symbols_CXX
=yes 
17974         if test "$aix_use_runtimelinking" = yes; then 
17975           # Warning - without using the other runtime loading flags (-brtl), 
17976           # -berok will link without error, but may produce a broken library. 
17977           allow_undefined_flag_CXX
='-berok' 
17978           # Determine the default libpath from the value encoded in an empty 
17980           cat >conftest.
$ac_ext <<_ACEOF 
17983 cat confdefs.h 
>>conftest.
$ac_ext 
17984 cat >>conftest.
$ac_ext <<_ACEOF 
17985 /* end confdefs.h.  */ 
17995 rm -f conftest.
$ac_objext conftest
$ac_exeext 
17996 if { (ac_try
="$ac_link" 
17997 case "(($ac_try" in 
17998   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
17999   *) ac_try_echo=$ac_try;; 
18001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
18002   (eval "$ac_link") 2>conftest.er1 
18004   grep -v '^ *+' conftest.er1 >conftest.err 
18006   cat conftest.err >&5 
18007   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
18008   (exit $ac_status); } && { 
18009          test -z "$ac_cxx_werror_flag" || 
18010          test ! -s conftest.err 
18011        } && test -s conftest$ac_exeext && 
18012        $as_test_x conftest$ac_exeext; then 
18014 lt_aix_libpath_sed=' 
18015     /Import File Strings/,/^$/ { 
18021 aix_libpath=`dump 
-H conftest
$ac_exeext 2>/dev
/null 
| $SED -n -e "$lt_aix_libpath_sed"` 
18022 # Check for a 64-bit object if we didn't find anything. 
18023 if test -z "$aix_libpath"; then 
18024   aix_libpath=`dump 
-HX64 conftest
$ac_exeext 2>/dev
/null 
| $SED -n -e "$lt_aix_libpath_sed"` 
18027   echo "$as_me: failed program was:" >&5 
18028 sed 's/^/| /' conftest.$ac_ext >&5 
18033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
18034       conftest$ac_exeext conftest.$ac_ext 
18035 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 
18037           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 
18039           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" 
18041           if test "$host_cpu" = ia64; then 
18042             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 
18043             allow_undefined_flag_CXX="-z nodefs" 
18044             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" 
18046             # Determine the default libpath from the value encoded in an 
18047             # empty executable. 
18048             cat >conftest.$ac_ext <<_ACEOF 
18051 cat confdefs.h >>conftest.$ac_ext 
18052 cat >>conftest.$ac_ext <<_ACEOF 
18053 /* end confdefs.h.  */ 
18063 rm -f conftest.$ac_objext conftest$ac_exeext 
18064 if { (ac_try="$ac_link" 
18065 case "(($ac_try" in 
18066   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
18067   *) ac_try_echo
=$ac_try;; 
18069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
18070   (eval "$ac_link") 2>conftest.er1
 
18072   grep -v '^ *+' conftest.er1 
>conftest.err
 
18074   cat conftest.err 
>&5 
18075   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
18076   (exit $ac_status); } && { 
18077          test -z "$ac_cxx_werror_flag" || 
18078          test ! -s conftest.err
 
18079        } && test -s conftest
$ac_exeext && 
18080        $as_test_x conftest
$ac_exeext; then 
18082 lt_aix_libpath_sed
=' 
18083     /Import File Strings/,/^$/ { 
18089 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
18090 # Check for a 64-bit object if we didn't find anything. 
18091 if test -z "$aix_libpath"; then 
18092   aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
18095   echo "$as_me: failed program was:" >&5 
18096 sed 's/^/| /' conftest.
$ac_ext >&5 
18101 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
18102       conftest
$ac_exeext conftest.
$ac_ext 
18103 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi 
18105             hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath" 
18106             # Warning - without using the other run time loading flags, 
18107             # -berok will link without error, but may produce a broken library. 
18108             no_undefined_flag_CXX
=' ${wl}-bernotok' 
18109             allow_undefined_flag_CXX
=' ${wl}-berok' 
18110             # Exported symbols can be pulled into shared objects from archives 
18111             whole_archive_flag_spec_CXX
='$convenience' 
18112             archive_cmds_need_lc_CXX
=yes 
18113             # This is similar to how AIX traditionally builds its shared 
18115             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' 
18121         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then 
18122           allow_undefined_flag_CXX
=unsupported
 
18123           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
18124           # support --undefined.  This deserves some investigation.  FIXME 
18125           archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
18132         case $cc_basename in 
18134           # FIXME: insert proper C++ library support 
18140       cygwin
* | mingw
* | pw32
*) 
18141         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 
18142         # as there is no search path for DLLs. 
18143         hardcode_libdir_flag_spec_CXX
='-L$libdir' 
18144         allow_undefined_flag_CXX
=unsupported
 
18145         always_export_symbols_CXX
=no
 
18146         enable_shared_with_static_runtimes_CXX
=yes 
18148         if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then 
18149           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' 
18150           # If the export-symbols file already is a .def file (1st line 
18151           # is EXPORTS), use it as is; otherwise, prepend... 
18152           archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 
18153             cp $export_symbols $output_objdir/$soname.def; 
18155             echo EXPORTS > $output_objdir/$soname.def; 
18156             cat $export_symbols >> $output_objdir/$soname.def; 
18158           $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' 
18163       darwin
* | rhapsody
*) 
18165           rhapsody
* | darwin1.
[012]) 
18166             allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress' 
18169             case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 
18171                 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 
18174                 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup' 
18179         archive_cmds_need_lc_CXX
=no
 
18180         hardcode_direct_CXX
=no
 
18181         hardcode_automatic_CXX
=yes 
18182         hardcode_shlibpath_var_CXX
=unsupported
 
18183         whole_archive_flag_spec_CXX
='' 
18184         link_all_deplibs_CXX
=yes 
18186         if test "$GXX" = yes ; then 
18187           if test "${lt_cv_apple_cc_single_mod+set}" = set; then 
18188   echo $ECHO_N "(cached) $ECHO_C" >&6 
18190   lt_cv_apple_cc_single_mod
=no
 
18191           if test -z "${LT_MULTI_MODULE}"; then 
18192             # By default we will add the -single_module flag. You can override 
18193             # by either setting the environment variable LT_MULTI_MODULE 
18194             # non-empty at configure time, or by adding -multi-module to the 
18196             echo "int foo(void){return 1;}" > conftest.c
 
18197             $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
18198                 -dynamiclib ${wl}-single_module conftest.c
 
18199             if test -f libconftest.dylib
; then 
18200                 lt_cv_apple_cc_single_mod
=yes 
18201                 rm libconftest.dylib
 
18203             rm conftest.
$ac_ext 
18207           output_verbose_link_cmd
=echo 
18208           if test "X$lt_cv_apple_cc_single_mod" = Xyes 
; then 
18209            archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 
18210             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}' 
18212             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' 
18213             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}' 
18215           module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
18216           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}' 
18218           case $cc_basename in 
18220               output_verbose_link_cmd
=echo 
18221               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' 
18222               module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
18223               # Don't fix this by using the ld -exported_symbols_list flag, 
18224               # it doesn't exist in older darwin lds 
18225               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}' 
18226               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}' 
18236         case $cc_basename in 
18238             # FIXME: insert proper C++ library support 
18242             # Green Hills C++ Compiler 
18243             # FIXME: insert proper C++ library support 
18247             # FIXME: insert proper C++ library support 
18254         # C++ shared libraries reported to be fairly broken before 
18260         archive_cmds_need_lc_CXX
=no
 
18263       freebsd
* | kfreebsd
*-gnu | dragonfly
*) 
18264         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 
18273         hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir' 
18274         hardcode_libdir_separator_CXX
=: 
18275         export_dynamic_flag_spec_CXX
='${wl}-E' 
18276         hardcode_direct_CXX
=yes 
18277         hardcode_minus_L_CXX
=yes # Not in the search PATH, 
18278                                              # but as the default 
18279                                              # location of the library. 
18281         case $cc_basename in 
18283             # FIXME: insert proper C++ library support 
18287             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' 
18288             # Commands to make compiler produce verbose output that lists 
18289             # what "hidden" libraries, object files and flags are used when 
18290             # linking a shared library. 
18292             # There doesn't appear to be a way to prevent this compiler from 
18293             # explicitly linking system object files so we need to strip them 
18294             # from the output so that they don't get included in the library 
18296             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' 
18299             if test "$GXX" = yes; then 
18300               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' 
18302               # FIXME: insert proper C++ library support 
18310         if test $with_gnu_ld = no
; then 
18311           hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir' 
18312           hardcode_libdir_separator_CXX
=: 
18318               export_dynamic_flag_spec_CXX
='${wl}-E' 
18324             hardcode_direct_CXX
=no
 
18325             hardcode_shlibpath_var_CXX
=no
 
18328             hardcode_direct_CXX
=yes 
18329             hardcode_minus_L_CXX
=yes # Not in the search PATH, 
18330                                                  # but as the default 
18331                                                  # location of the library. 
18335         case $cc_basename in 
18337             # FIXME: insert proper C++ library support 
18343                 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
18346                 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
18349                 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
18352             # Commands to make compiler produce verbose output that lists 
18353             # what "hidden" libraries, object files and flags are used when 
18354             # linking a shared library. 
18356             # There doesn't appear to be a way to prevent this compiler from 
18357             # explicitly linking system object files so we need to strip them 
18358             # from the output so that they don't get included in the library 
18360             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' 
18363             if test "$GXX" = yes; then 
18364               if test $with_gnu_ld = no
; then 
18367                     archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
18370                     archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
18373                     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' 
18378               # FIXME: insert proper C++ library support 
18386         hardcode_direct_CXX
=no
 
18387         hardcode_shlibpath_var_CXX
=no
 
18388         hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir' 
18389         export_dynamic_flag_spec_CXX
='${wl}-E' 
18390         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 
18391         # Instead, shared libraries are loaded at an image base (0x10000000 by 
18392         # default) and relocated if they conflict, which is a slow very memory 
18393         # consuming and fragmenting process.  To avoid this, we pick a random, 
18394         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 
18395         # time.  Moving up from 0x10000000 also allows more sbrk(2) space. 
18396         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' 
18397         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' 
18400         case $cc_basename in 
18403             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' 
18405             # Archives containing C++ object files must be created using 
18406             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is 
18407             # necessary to make sure instantiated templates are included 
18409             old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs' 
18412             if test "$GXX" = yes; then 
18413               if test "$with_gnu_ld" = no
; then 
18414                 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' 
18416                 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' 
18419             link_all_deplibs_CXX
=yes 
18422         hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir' 
18423         hardcode_libdir_separator_CXX
=: 
18424         inherit_rpath_CXX
=yes 
18428         case $cc_basename in 
18430             # Kuck and Associates, Inc. (KAI) C++ Compiler 
18432             # KCC will only create a shared library if the output file 
18433             # ends with ".so" (or ".sl" for HP-UX), so rename the library 
18434             # to its proper name (with version) after linking. 
18435             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' 
18436             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' 
18437             # Commands to make compiler produce verbose output that lists 
18438             # what "hidden" libraries, object files and flags are used when 
18439             # linking a shared library. 
18441             # There doesn't appear to be a way to prevent this compiler from 
18442             # explicitly linking system object files so we need to strip them 
18443             # from the output so that they don't get included in the library 
18445             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' 
18447             hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir' 
18448             export_dynamic_flag_spec_CXX
='${wl}--export-dynamic' 
18450             # Archives containing C++ object files must be created using 
18451             # "CC -Bstatic", where "CC" is the KAI C++ compiler. 
18452             old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' 
18457             # version 8.0 and above of icpc choke on multiply defined symbols 
18458             # if we add $predep_objects and $postdep_objects, however 7.1 and 
18459             # earlier do not add the objects themselves. 
18460             case `$CC -V 2>&1` in 
18462                 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
18463                 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' 
18465               *)  # Version 8.0 or newer 
18468                   ia64
*) tmp_idyn
=' -i_dynamic';; 
18470                 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
18471                 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' 
18474             archive_cmds_need_lc_CXX
=no
 
18475             hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir' 
18476             export_dynamic_flag_spec_CXX
='${wl}--export-dynamic' 
18477             whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 
18480             # Portland Group C++ compiler 
18483               prelink_cmds_CXX
='tpldir=Template.dir~ 
18485                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 
18486                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' 
18487               old_archive_cmds_CXX
='tpldir=Template.dir~ 
18489                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 
18490                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ 
18492               archive_cmds_CXX
='tpldir=Template.dir~ 
18494                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 
18495                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 
18496               archive_expsym_cmds_CXX
='tpldir=Template.dir~ 
18498                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 
18499                 $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' 
18501             *) # Version 6 will use weak symbols 
18502               archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 
18503               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' 
18507             hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir' 
18508             export_dynamic_flag_spec_CXX
='${wl}--export-dynamic' 
18509             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' 
18513             archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
18514             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' 
18516             runpath_var
=LD_RUN_PATH
 
18517             hardcode_libdir_flag_spec_CXX
='-rpath $libdir' 
18518             hardcode_libdir_separator_CXX
=: 
18520             # Commands to make compiler produce verbose output that lists 
18521             # what "hidden" libraries, object files and flags are used when 
18522             # linking a shared library. 
18524             # There doesn't appear to be a way to prevent this compiler from 
18525             # explicitly linking system object files so we need to strip them 
18526             # from the output so that they don't get included in the library 
18528             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' 
18534         # FIXME: insert proper C++ library support 
18539         # FIXME: insert proper C++ library support 
18544         case $cc_basename in 
18546             # FIXME: insert proper C++ library support 
18550             # FIXME: insert proper C++ library support 
18557         if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
>/dev
/null
; then 
18558           archive_cmds_CXX
='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 
18560           hardcode_libdir_flag_spec_CXX
='-R$libdir' 
18561           hardcode_direct_CXX
=yes 
18562           hardcode_shlibpath_var_CXX
=no
 
18564         # Workaround some broken pre-1.5 toolchains 
18565         output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 
18573         # C++ shared libraries are fairly broken 
18578         hardcode_direct_CXX
=yes 
18579         hardcode_shlibpath_var_CXX
=no
 
18580         archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 
18581         hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir' 
18582         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
18583           archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 
18584           export_dynamic_flag_spec_CXX
='${wl}-E' 
18585           whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
18587         output_verbose_link_cmd
=echo 
18590       osf3
* | osf4
* | osf5
*) 
18591         case $cc_basename in 
18593             # Kuck and Associates, Inc. (KAI) C++ Compiler 
18595             # KCC will only create a shared library if the output file 
18596             # ends with ".so" (or ".sl" for HP-UX), so rename the library 
18597             # to its proper name (with version) after linking. 
18598             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' 
18600             hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir' 
18601             hardcode_libdir_separator_CXX
=: 
18603             # Archives containing C++ object files must be created using 
18604             # the KAI C++ compiler. 
18606               osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;; 
18607               *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;; 
18611             # Rational C++ 2.4.1 
18612             # FIXME: insert proper C++ library support 
18618                 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*' 
18619                 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' 
18620                 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir' 
18623                 allow_undefined_flag_CXX
=' -expect_unresolved \*' 
18624                 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' 
18625                 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 
18626                   echo "-hidden">> $lib.exp~ 
18627                   $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~ 
18629                 hardcode_libdir_flag_spec_CXX
='-rpath $libdir' 
18633             hardcode_libdir_separator_CXX
=: 
18635             # Commands to make compiler produce verbose output that lists 
18636             # what "hidden" libraries, object files and flags are used when 
18637             # linking a shared library. 
18639             # There doesn't appear to be a way to prevent this compiler from 
18640             # explicitly linking system object files so we need to strip them 
18641             # from the output so that they don't get included in the library 
18643             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' 
18646             if test "$GXX" = yes && test "$with_gnu_ld" = no
; then 
18647               allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*' 
18650                   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' 
18653                   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' 
18657               hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir' 
18658               hardcode_libdir_separator_CXX
=: 
18660               # Commands to make compiler produce verbose output that lists 
18661               # what "hidden" libraries, object files and flags are used when 
18662               # linking a shared library. 
18663               output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
18666               # FIXME: insert proper C++ library support 
18674         # FIXME: insert proper C++ library support 
18679         case $cc_basename in 
18682             # FIXME: insert proper C++ library support 
18687             # FIXME: insert proper C++ library support 
18691             # FIXME: insert proper C++ library support 
18698         case $cc_basename in 
18700             # Sun C++ 4.2, 5.x and Centerline C++ 
18701             archive_cmds_need_lc_CXX
=yes 
18702             no_undefined_flag_CXX
=' -zdefs' 
18703             archive_cmds_CXX
='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
18704             archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
18705               $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' 
18707             hardcode_libdir_flag_spec_CXX
='-R$libdir' 
18708             hardcode_shlibpath_var_CXX
=no
 
18710               solaris2.
[0-5] | solaris2.
[0-5].
*) ;; 
18712                 # The C++ compiler is used as linker so we must use $wl 
18713                 # flag to pass the commands to the underlying system 
18714                 # linker. We must also pass each convenience library through 
18715                 # to the system linker between allextract/defaultextract. 
18716                 # The C++ compiler will combine linker options so we 
18717                 # cannot just pass the convenience library names through 
18719                 # Supported since Solaris 2.6 (maybe 2.5.1?) 
18720                 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' 
18723             link_all_deplibs_CXX
=yes 
18725             output_verbose_link_cmd
='echo' 
18727             # Archives containing C++ object files must be created using 
18728             # "CC -xar", where "CC" is the Sun C++ compiler.  This is 
18729             # necessary to make sure instantiated templates are included 
18731             old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs' 
18734             # Green Hills C++ Compiler 
18735             archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 
18737             # The C++ compiler must be used to create the archive. 
18738             old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 
18741             # GNU C++ compiler with Solaris linker 
18742             if test "$GXX" = yes && test "$with_gnu_ld" = no
; then 
18743               no_undefined_flag_CXX
=' ${wl}-z ${wl}defs' 
18744               if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then 
18745                 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 
18746                 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
18747                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 
18749                 # Commands to make compiler produce verbose output that lists 
18750                 # what "hidden" libraries, object files and flags are used when 
18751                 # linking a shared library. 
18752                 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
18754                 # g++ 2.7 appears to require `-G' NOT `-shared' on this 
18756                 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 
18757                 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
18758                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 
18760                 # Commands to make compiler produce verbose output that lists 
18761                 # what "hidden" libraries, object files and flags are used when 
18762                 # linking a shared library. 
18763                 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
18766               hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir' 
18772     sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*) 
18773       no_undefined_flag_CXX
='${wl}-z,text' 
18774       archive_cmds_need_lc_CXX
=no
 
18775       hardcode_shlibpath_var_CXX
=no
 
18776       runpath_var
='LD_RUN_PATH' 
18778       case $cc_basename in 
18780           archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
18781           archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
18784           archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
18785           archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
18790       sysv5
* | sco3.2v5
* | sco5v6
*) 
18791         # Note: We can NOT use -z defs as we might desire, because we do not 
18792         # link with -lc, and that would cause any symbols used from libc to 
18793         # always be unresolved, which means just about no library would 
18794         # ever link correctly.  If we're not using GNU ld we use -z text 
18795         # though, which does catch some bad symbols but isn't as heavy-handed 
18797         no_undefined_flag_CXX
='${wl}-z,text' 
18798         allow_undefined_flag_CXX
='${wl}-z,nodefs' 
18799         archive_cmds_need_lc_CXX
=no
 
18800         hardcode_shlibpath_var_CXX
=no
 
18801         hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir' 
18802         hardcode_libdir_separator_CXX
=':' 
18803         link_all_deplibs_CXX
=yes 
18804         export_dynamic_flag_spec_CXX
='${wl}-Bexport' 
18805         runpath_var
='LD_RUN_PATH' 
18807         case $cc_basename in 
18809             archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
18810             archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
18813             archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
18814             archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
18820         case $cc_basename in 
18822             # NonStop-UX NCC 3.20 
18823             # FIXME: insert proper C++ library support 
18827             # FIXME: insert proper C++ library support 
18834         # FIXME: insert proper C++ library support 
18839         # FIXME: insert proper C++ library support 
18844     { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 
18845 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 
18846     test "$ld_shlibs_CXX" = no 
&& can_build_shared
=no
 
18852     ## There is no encapsulation within the following macros, do not change 
18853     ## the running order or otherwise move them around unless you know exactly 
18854     ## what you are doing... 
18855     # Dependencies to place before and after the object being linked: 
18856 predep_objects_CXX
= 
18857 postdep_objects_CXX
= 
18860 compiler_lib_search_path_CXX
= 
18862 cat > conftest.
$ac_ext <<_LT_EOF 
18866   Foo (void) { a = 0; } 
18872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
18873   (eval $ac_compile) 2>&5 
18875   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
18876   (exit $ac_status); }; then 
18877   # Parse the compiler output and extract the necessary 
18878   # objects, libraries and library flags. 
18880   # Sentinel used to keep track of whether or not we are before 
18881   # the conftest object file. 
18882   pre_test_object_deps_done
=no
 
18884   # The `*' in the case matches for architectures that use `case' in 
18885   # $output_verbose_cmd can trigger glob expansion during the loop 
18886   # eval without this substitution. 
18887   output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` 
18889   for p 
in `eval $output_verbose_link_cmd`; do 
18893        # Some compilers place space between "-{L,R}" and the path. 
18894        # Remove the space. 
18895        if test $p = "-L" || 
18896           test $p = "-R"; then 
18903        if test "$pre_test_object_deps_done" = no
; then 
18906            # Internal compiler library paths should come after those 
18907            # provided the user.  The postdeps already come after the 
18908            # user supplied libs so there is no need to process them. 
18909            if test -z "$compiler_lib_search_path_CXX"; then 
18910              compiler_lib_search_path_CXX
="${prev}${p}" 
18912              compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}" 
18915          # The "-l" case would never come before the object being 
18916          # linked, so don't bother handling this case. 
18919          if test -z "$postdeps_CXX"; then 
18920            postdeps_CXX
="${prev}${p}" 
18922            postdeps_CXX
="${postdeps_CXX} ${prev}${p}" 
18928        # This assumes that the test object file only shows up 
18929        # once in the compiler output. 
18930        if test "$p" = "conftest.$objext"; then 
18931          pre_test_object_deps_done
=yes 
18935        if test "$pre_test_object_deps_done" = no
; then 
18936          if test -z "$predep_objects_CXX"; then 
18937            predep_objects_CXX
="$p" 
18939            predep_objects_CXX
="$predep_objects_CXX $p" 
18942          if test -z "$postdep_objects_CXX"; then 
18943            postdep_objects_CXX
="$p" 
18945            postdep_objects_CXX
="$postdep_objects_CXX $p" 
18950     *) ;; # Ignore the rest. 
18958   echo "libtool.m4: error: problem compiling CXX test program" 
18961 $RM -f confest.
$objext 
18963 # PORTME: override above test on systems where it is broken 
18966   # Interix 3.5 installs completely hosed .la files for C++, so rather than 
18967   # hack all around it, let's just trust "g++" to DTRT. 
18968   predep_objects_CXX
= 
18969   postdep_objects_CXX
= 
18974   case $cc_basename in 
18976     # Adding this requires a known-good setup of shared libraries for 
18977     # Sun compiler versions before 5.6, else PIC objects from an old 
18978     # archive will be linked into the output, leading to subtle bugs. 
18979     postdeps_CXX
='-lCstd -lCrun' 
18986 case " $postdeps_CXX " in 
18987 *" -lc "*) archive_cmds_need_lc_CXX
=no 
;; 
19015     lt_prog_compiler_wl_CXX
= 
19016 lt_prog_compiler_pic_CXX
= 
19017 lt_prog_compiler_static_CXX
= 
19019 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 
19020 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 
19022   # C++ specific cases for pic, static, wl, etc. 
19023   if test "$GXX" = yes; then 
19024     lt_prog_compiler_wl_CXX
='-Wl,' 
19025     lt_prog_compiler_static_CXX
='-static' 
19029       # All AIX code is PIC. 
19030       if test "$host_cpu" = ia64
; then 
19031         # AIX 5 now supports IA64 processor 
19032         lt_prog_compiler_static_CXX
='-Bstatic' 
19036       if test "$host_cpu" = m68k
; then 
19037         # FIXME: we need at least 68020 code to build shared libraries, but 
19038         # adding the `-m68020' flag to GCC prevents building anything better, 
19040         lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4' 
19043     beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*) 
19044       # PIC is the default for these OSes. 
19046     mingw
* | os2
* | pw32
*) 
19047       # This hack is so that the source file can tell whether it is being 
19048       # built for inclusion in a dll (and should export symbols for example). 
19049       lt_prog_compiler_pic_CXX
='-DDLL_EXPORT' 
19051     darwin
* | rhapsody
*) 
19052       # PIC is the default on this platform 
19053       # Common symbols not allowed in MH_DYLIB files 
19054       lt_prog_compiler_pic_CXX
='-fno-common' 
19057       # DJGPP does not support shared libraries at all 
19058       lt_prog_compiler_pic_CXX
= 
19061       # Interix 3.x gcc -fpic/-fPIC options generate broken code. 
19062       # Instead, we relocate shared libraries at runtime. 
19065       if test -d /usr
/nec
; then 
19066         lt_prog_compiler_pic_CXX
=-Kconform_pic 
19070       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 
19071       # not for PA HP-UX. 
19076         lt_prog_compiler_pic_CXX
='-fPIC' 
19081       # QNX uses GNU C++, but need to define -shared option too, otherwise 
19082       # it will coredump. 
19083       lt_prog_compiler_pic_CXX
='-fPIC -shared' 
19086       lt_prog_compiler_pic_CXX
='-fPIC' 
19092         # All AIX code is PIC. 
19093         if test "$host_cpu" = ia64
; then 
19094           # AIX 5 now supports IA64 processor 
19095           lt_prog_compiler_static_CXX
='-Bstatic' 
19097           lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp' 
19101         case $cc_basename in 
19103           # Green Hills C++ Compiler 
19104           # _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" 
19109         # PIC is the default on this platform 
19110         # Common symbols not allowed in MH_DYLIB files 
19111         case $cc_basename in 
19113           lt_prog_compiler_pic_CXX
='-qnocommon' 
19114           lt_prog_compiler_wl_CXX
='-Wl,' 
19119         case $cc_basename in 
19121             lt_prog_compiler_pic_CXX
='-KPIC' 
19124             # Green Hills C++ Compiler 
19125             lt_prog_compiler_pic_CXX
='-pic' 
19131       freebsd
* | kfreebsd
*-gnu | dragonfly
*) 
19132         # FreeBSD uses GNU C++ 
19134       hpux9
* | hpux10
* | hpux11
*) 
19135         case $cc_basename in 
19137             lt_prog_compiler_wl_CXX
='-Wl,' 
19138             lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive' 
19139             if test "$host_cpu" != ia64
; then 
19140               lt_prog_compiler_pic_CXX
='+Z' 
19144             lt_prog_compiler_wl_CXX
='-Wl,' 
19145             lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive' 
19151               lt_prog_compiler_pic_CXX
='+Z' 
19160         # This is c89, which is MS Visual C++ (no shared libs) 
19161         # Anyone wants to do a port? 
19163       irix5
* | irix6
* | nonstopux
*) 
19164         case $cc_basename in 
19166             lt_prog_compiler_wl_CXX
='-Wl,' 
19167             lt_prog_compiler_static_CXX
='-non_shared' 
19168             # CC pic flag -KPIC is the default. 
19175         case $cc_basename in 
19178             lt_prog_compiler_wl_CXX
='--backend -Wl,' 
19179             lt_prog_compiler_pic_CXX
='-fPIC' 
19183             lt_prog_compiler_wl_CXX
='-Wl,' 
19184             lt_prog_compiler_pic_CXX
='-KPIC' 
19185             lt_prog_compiler_static_CXX
='-static' 
19188             # Portland Group C++ compiler 
19189             lt_prog_compiler_wl_CXX
='-Wl,' 
19190             lt_prog_compiler_pic_CXX
='-fpic' 
19191             lt_prog_compiler_static_CXX
='-Bstatic' 
19195             # Make sure the PIC flag is empty.  It appears that all Alpha 
19196             # Linux and Compaq Tru64 Unix objects are PIC. 
19197             lt_prog_compiler_pic_CXX
= 
19198             lt_prog_compiler_static_CXX
='-non_shared' 
19209         case $cc_basename in 
19211             lt_prog_compiler_pic_CXX
='-W c,exportall' 
19220         # QNX uses GNU C++, but need to define -shared option too, otherwise 
19221         # it will coredump. 
19222         lt_prog_compiler_pic_CXX
='-fPIC -shared' 
19224       osf3
* | osf4
* | osf5
*) 
19225         case $cc_basename in 
19227             lt_prog_compiler_wl_CXX
='--backend -Wl,' 
19230             # Rational C++ 2.4.1 
19231             lt_prog_compiler_pic_CXX
='-pic' 
19234             # Digital/Compaq C++ 
19235             lt_prog_compiler_wl_CXX
='-Wl,' 
19236             # Make sure the PIC flag is empty.  It appears that all Alpha 
19237             # Linux and Compaq Tru64 Unix objects are PIC. 
19238             lt_prog_compiler_pic_CXX
= 
19239             lt_prog_compiler_static_CXX
='-non_shared' 
19248         case $cc_basename in 
19250             # Sun C++ 4.2, 5.x and Centerline C++ 
19251             lt_prog_compiler_pic_CXX
='-KPIC' 
19252             lt_prog_compiler_static_CXX
='-Bstatic' 
19253             lt_prog_compiler_wl_CXX
='-Qoption ld ' 
19256             # Green Hills C++ Compiler 
19257             lt_prog_compiler_pic_CXX
='-PIC' 
19264         case $cc_basename in 
19267             lt_prog_compiler_pic_CXX
='-pic' 
19268             lt_prog_compiler_static_CXX
='-Bstatic' 
19272             lt_prog_compiler_pic_CXX
='-pic' 
19278       sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*) 
19279         case $cc_basename in 
19281             lt_prog_compiler_wl_CXX
='-Wl,' 
19282             lt_prog_compiler_pic_CXX
='-KPIC' 
19283             lt_prog_compiler_static_CXX
='-Bstatic' 
19288         case $cc_basename in 
19290             # NonStop-UX NCC 3.20 
19291             lt_prog_compiler_pic_CXX
='-KPIC' 
19300         lt_prog_compiler_can_build_shared_CXX
=no
 
19306   # For platforms which do not support PIC, -DPIC is meaningless: 
19308     lt_prog_compiler_pic_CXX
= 
19311     lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC" 
19314 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 
19315 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } 
19320 # Check to make sure the PIC flag actually works. 
19322 if test -n "$lt_prog_compiler_pic_CXX"; then 
19323   { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 
19324 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } 
19325 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then 
19326   echo $ECHO_N "(cached) $ECHO_C" >&6 
19328   lt_prog_compiler_pic_works_CXX
=no
 
19329    ac_outfile
=conftest.
$ac_objext 
19330    printf "$lt_simple_compile_test_code" > conftest.
$ac_ext 
19331    lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" 
19332    # Insert the option either (1) after the last *FLAGS variable, or 
19333    # (2) before a word containing "conftest.", or (3) at the end. 
19334    # Note that $ac_compile itself does not contain backslashes and begins 
19335    # with a dollar sign (not a hyphen), so the echo should work correctly. 
19336    # The option is referenced via a variable to avoid confusing sed. 
19337    lt_compile
=`echo "$ac_compile" | $SED \ 
19338    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
19339    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
19340    -e 's:$: $lt_compiler_flag:'` 
19341    (eval echo "\"\$as_me:19341: $lt_compile\"" >&5) 
19342    (eval "$lt_compile" 2>conftest.err
) 
19344    cat conftest.err 
>&5 
19345    echo "$as_me:19345: \$? = $ac_status" >&5 
19346    if (exit $ac_status) && test -s "$ac_outfile"; then 
19347      # The compiler can only warn and ignore the option if not recognized 
19348      # So say no if there are warnings other than the usual output. 
19349      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
19350      $SED '/^$/d; /^ *+/d' conftest.err 
>conftest.er2
 
19351      if test ! -s conftest.er2 
|| diff conftest.exp conftest.er2 
>/dev
/null
; then 
19352        lt_prog_compiler_pic_works_CXX
=yes 
19358 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 
19359 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } 
19361 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then 
19362     case $lt_prog_compiler_pic_CXX in 
19364      *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;; 
19367     lt_prog_compiler_pic_CXX
= 
19368      lt_prog_compiler_can_build_shared_CXX
=no
 
19376 # Check to make sure the static flag actually works. 
19378 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\" 
19379 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 
19380 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 
19381 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then 
19382   echo $ECHO_N "(cached) $ECHO_C" >&6 
19384   lt_prog_compiler_static_works_CXX
=no
 
19385    save_LDFLAGS
="$LDFLAGS" 
19386    LDFLAGS
="$LDFLAGS $lt_tmp_static_flag" 
19387    printf "$lt_simple_link_test_code" > conftest.
$ac_ext 
19388    if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then 
19389      # The linker can only warn and ignore the option if not recognized 
19390      # So say no if there are warnings 
19391      if test -s conftest.err
; then 
19392        # Append any errors to the config.log. 
19393        cat conftest.err 
1>&5 
19394        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
19395        $SED '/^$/d; /^ *+/d' conftest.err 
>conftest.er2
 
19396        if diff conftest.exp conftest.er2 
>/dev
/null
; then 
19397          lt_prog_compiler_static_works_CXX
=yes 
19400        lt_prog_compiler_static_works_CXX
=yes 
19404    LDFLAGS
="$save_LDFLAGS" 
19407 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 
19408 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } 
19410 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then 
19413     lt_prog_compiler_static_CXX
= 
19419     { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 
19420 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 
19421 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 
19422   echo $ECHO_N "(cached) $ECHO_C" >&6 
19424   lt_cv_prog_compiler_c_o_CXX
=no
 
19425    $RM -r conftest 
2>/dev
/null
 
19429    printf "$lt_simple_compile_test_code" > conftest.
$ac_ext 
19431    lt_compiler_flag
="-o out/conftest2.$ac_objext" 
19432    # Insert the option either (1) after the last *FLAGS variable, or 
19433    # (2) before a word containing "conftest.", or (3) at the end. 
19434    # Note that $ac_compile itself does not contain backslashes and begins 
19435    # with a dollar sign (not a hyphen), so the echo should work correctly. 
19436    lt_compile
=`echo "$ac_compile" | $SED \ 
19437    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
19438    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
19439    -e 's:$: $lt_compiler_flag:'` 
19440    (eval echo "\"\$as_me:19440: $lt_compile\"" >&5) 
19441    (eval "$lt_compile" 2>out
/conftest.err
) 
19443    cat out
/conftest.err 
>&5 
19444    echo "$as_me:19444: \$? = $ac_status" >&5 
19445    if (exit $ac_status) && test -s out
/conftest2.
$ac_objext 
19447      # The compiler can only warn and ignore the option if not recognized 
19448      # So say no if there are warnings 
19449      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
 
19450      $SED '/^$/d; /^ *+/d' out
/conftest.err 
>out
/conftest.er2
 
19451      if test ! -s out
/conftest.er2 
|| diff out
/conftest.exp out
/conftest.er2 
>/dev
/null
; then 
19452        lt_cv_prog_compiler_c_o_CXX
=yes 
19457    # SGI C++ compiler will create directory out/ii_files/ for 
19458    # template instantiation 
19459    test -d out
/ii_files 
&& $RM out
/ii_files
/* && rmdir out
/ii_files
 
19460    $RM out
/* && rmdir out
 
19466 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 
19467 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } 
19471     { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 
19472 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 
19473 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 
19474   echo $ECHO_N "(cached) $ECHO_C" >&6 
19476   lt_cv_prog_compiler_c_o_CXX
=no
 
19477    $RM -r conftest 
2>/dev
/null
 
19481    printf "$lt_simple_compile_test_code" > conftest.
$ac_ext 
19483    lt_compiler_flag
="-o out/conftest2.$ac_objext" 
19484    # Insert the option either (1) after the last *FLAGS variable, or 
19485    # (2) before a word containing "conftest.", or (3) at the end. 
19486    # Note that $ac_compile itself does not contain backslashes and begins 
19487    # with a dollar sign (not a hyphen), so the echo should work correctly. 
19488    lt_compile
=`echo "$ac_compile" | $SED \ 
19489    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
19490    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
19491    -e 's:$: $lt_compiler_flag:'` 
19492    (eval echo "\"\$as_me:19492: $lt_compile\"" >&5) 
19493    (eval "$lt_compile" 2>out
/conftest.err
) 
19495    cat out
/conftest.err 
>&5 
19496    echo "$as_me:19496: \$? = $ac_status" >&5 
19497    if (exit $ac_status) && test -s out
/conftest2.
$ac_objext 
19499      # The compiler can only warn and ignore the option if not recognized 
19500      # So say no if there are warnings 
19501      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
 
19502      $SED '/^$/d; /^ *+/d' out
/conftest.err 
>out
/conftest.er2
 
19503      if test ! -s out
/conftest.er2 
|| diff out
/conftest.exp out
/conftest.er2 
>/dev
/null
; then 
19504        lt_cv_prog_compiler_c_o_CXX
=yes 
19509    # SGI C++ compiler will create directory out/ii_files/ for 
19510    # template instantiation 
19511    test -d out
/ii_files 
&& $RM out
/ii_files
/* && rmdir out
/ii_files
 
19512    $RM out
/* && rmdir out
 
19518 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 
19519 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } 
19524 hard_links
="nottested" 
19525 if test "$lt_cv_prog_compiler_c_o_CXX" = no 
&& test "$need_locks" != no
; then 
19526   # do not overwrite the value of need_locks provided by the user 
19527   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 
19528 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 
19531   ln conftest.a conftest.b 
2>/dev
/null 
&& hard_links
=no
 
19533   ln conftest.a conftest.b 
2>&5 || hard_links
=no
 
19534   ln conftest.a conftest.b 
2>/dev
/null 
&& hard_links
=no
 
19535   { echo "$as_me:$LINENO: result: $hard_links" >&5 
19536 echo "${ECHO_T}$hard_links" >&6; } 
19537   if test "$hard_links" = no
; then 
19538     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 
19539 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 
19548     { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 
19549 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 
19551   export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 
19554     # If we're using GNU nm, then we don't want the "-C" option. 
19555     # -C means demangle to AIX nm, but means don't demangle with GNU nm 
19556     if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then 
19557       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' 
19559       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' 
19563     export_symbols_cmds_CXX
="$ltdll_cmds" 
19566     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' 
19569     export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 
19573 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 
19574 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 
19575 test "$ld_shlibs_CXX" = no 
&& can_build_shared
=no
 
19577 with_gnu_ld_CXX
=$with_gnu_ld 
19585 # Do we need to explicitly link libc? 
19587 case "x$archive_cmds_need_lc_CXX" in 
19589   # Assume -lc should be added 
19590   archive_cmds_need_lc_CXX
=yes 
19592   if test "$enable_shared" = yes && test "$GCC" = yes; then 
19593     case $archive_cmds_CXX in 
19595       # FIXME: we may have to deal with multi-command sequences. 
19598       # Test whether the compiler implicitly links with -lc since on some 
19599       # systems, -lgcc has to come before -lc. If gcc already passes -lc 
19600       # to ld, don't add -lc before -lgcc. 
19601       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 
19602 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 
19604       printf "$lt_simple_compile_test_code" > conftest.
$ac_ext 
19606       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
19607   (eval $ac_compile) 2>&5 
19609   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
19610   (exit $ac_status); } 2>conftest.err
; then 
19613         libobjs
=conftest.
$ac_objext 
19615         wl
=$lt_prog_compiler_wl_CXX 
19616         pic_flag
=$lt_prog_compiler_pic_CXX 
19622         lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX 
19623         allow_undefined_flag_CXX
= 
19624         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 
19625   (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null 
2\
>\
&1) 2>&5 
19627   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
19628   (exit $ac_status); } 
19630           archive_cmds_need_lc_CXX
=no
 
19632           archive_cmds_need_lc_CXX
=yes 
19634         allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag 
19636         cat conftest.err 
1>&5 
19639       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 
19640 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } 
19706     { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 
19707 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 
19709 library_names_spec
= 
19710 libname_spec
='lib$name' 
19714 postuninstall_cmds
= 
19718 shlibpath_overrides_runpath
=unknown
 
19720 dynamic_linker
="$host_os ld.so" 
19721 sys_lib_dlsearch_path_spec
="/lib /usr/lib" 
19722 if test "$withGCC" = yes; then 
19723   sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
19724   if $ECHO "$sys_lib_search_path_spec" | $GREP ';' >/dev
/null 
; then 
19725     # if the path contains ";" then we assume it to be the separator 
19726     # otherwise default to the standard path separator (i.e. ":") - it is 
19727     # assumed that no part of a normal pathname contains ";" but that should 
19728     # okay in the real world where ";" in dirpaths is itself problematic. 
19729     sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
19731     sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
19734   sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib" 
19736 need_lib_prefix
=unknown
 
19737 hardcode_into_libs
=no
 
19739 # when you set need_version to no, make sure it does not cause -set_version 
19740 # flags to be left without arguments 
19741 need_version
=unknown
 
19746   library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a' 
19747   shlibpath_var
=LIBPATH
 
19749   # AIX 3 has no versioning support, so we append a major version to the name. 
19750   soname_spec
='${libname}${release}${shared_ext}$major' 
19757   hardcode_into_libs
=yes 
19758   if test "$host_cpu" = ia64
; then 
19759     # AIX 5 supports IA64 
19760     library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 
19761     shlibpath_var
=LD_LIBRARY_PATH
 
19763     # With GCC up to 2.95.x, collect2 would create an import file 
19764     # for dependence libraries.  The import file would start with 
19765     # the line `#! .'.  This would cause the generated library to 
19766     # depend on `.', always an invalid library.  This was fixed in 
19767     # development snapshots of GCC prior to 3.0. 
19769       aix4 
| aix4.
[01] | aix4.
[01].
*) 
19770       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 
19772            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then 
19775         can_build_shared
=no
 
19779     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 
19780     # soname into executable. Probably we can add versioning support to 
19781     # collect2, so additional links can be useful in future. 
19782     if test "$aix_use_runtimelinking" = yes; then 
19783       # If using run time linking (on AIX 4.2 or later) use lib<name>.so 
19784       # instead of lib<name>.a to let people know that these are not 
19785       # typical AIX shared libraries. 
19786       library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
19788       # We preserve .a as extension for shared libraries through AIX4.2 
19789       # and later when we are not doing run time linking. 
19790       library_names_spec
='${libname}${release}.a $libname.a' 
19791       soname_spec
='${libname}${release}${shared_ext}$major' 
19793     shlibpath_var
=LIBPATH
 
19798   if test "$host_cpu" = m68k
; then 
19799     library_names_spec
='$libname.ixlibrary $libname.a' 
19800     # Create ${libname}_ixlibrary.a entries in /sys/libs. 
19801     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' 
19808   library_names_spec
='${libname}${shared_ext}' 
19809   dynamic_linker
="$host_os ld.so" 
19810   shlibpath_var
=LIBRARY_PATH
 
19816   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
19817   soname_spec
='${libname}${release}${shared_ext}$major' 
19818   finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir' 
19819   shlibpath_var
=LD_LIBRARY_PATH
 
19820   sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 
19821   sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib" 
19822   # the default ld.so.conf also contains /usr/contrib/lib and 
19823   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 
19824   # libtool to hard-code these into programs 
19827 cygwin
* | mingw
* | pw32
*) 
19828   version_type
=windows
 
19833   case $withGCC,$host_os in 
19834   yes,cygwin
* | yes,mingw
* | yes,pw32
*) 
19835     library_names_spec
='$libname.dll.a' 
19836     # DLL is installed to $(libdir)/../bin by postinstall_cmds 
19837     postinstall_cmds
='base_file=`basename \${file}`~ 
19838       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 
19839       dldir=$destdir/`dirname \$dlpath`~ 
19840       test -d \$dldir || mkdir -p \$dldir~ 
19841       $install_prog $dir/$dlname \$dldir/$dlname~ 
19842       chmod a+x \$dldir/$dlname~ 
19843       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 
19844         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 
19846     postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
19847       dlpath=$dir/\$dldll~ 
19849     shlibpath_overrides_runpath
=yes 
19853       # Cygwin DLLs use 'cyg' prefix rather than 'lib' 
19854       soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
19855       sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib" 
19858       # MinGW DLLs use traditional 'lib' prefix 
19859       soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
19860       sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
19861       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then 
19862         # It is most probably a Windows format PATH printed by 
19863         # mingw gcc, but we are running on Cygwin. Gcc prints its search 
19864         # path with ; separators, and with drive letters. We can handle the 
19865         # drive letters (cygwin fileutils understands them), so leave them, 
19866         # especially as we might pass files found there to a mingw objdump, 
19867         # which wouldn't understand a cygwinified path. Ahh. 
19868         sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
19870         sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
19874       # pw32 DLLs use 'pw' prefix rather than 'lib' 
19875       library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
19881     library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib' 
19884   dynamic_linker
='Win32 ld.exe' 
19885   # FIXME: first we should search . and the directory the executable is in 
19889 darwin
* | rhapsody
*) 
19890   dynamic_linker
="$host_os dyld" 
19891   version_type
=darwin
 
19894   library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 
19895   soname_spec
='${libname}${release}${major}$shared_ext' 
19896   shlibpath_overrides_runpath
=yes 
19897   shlibpath_var
=DYLD_LIBRARY_PATH
 
19898   shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`' 
19899   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 
19900   if test "$withGCC" = yes; then 
19901     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"` 
19903     sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib' 
19905   sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib' 
19912   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 
19913   soname_spec
='${libname}${release}${shared_ext}$major' 
19914   shlibpath_var
=LD_LIBRARY_PATH
 
19925   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
19926   soname_spec
='${libname}${release}${shared_ext}$major' 
19927   shlibpath_var
=LD_LIBRARY_PATH
 
19928   shlibpath_overrides_runpath
=no
 
19929   hardcode_into_libs
=yes 
19930   dynamic_linker
='GNU ld.so' 
19933 freebsd
* | dragonfly
*) 
19934   # DragonFly does not have aout.  When/if they implement a new 
19935   # versioning mechanism, adjust this. 
19936   if test -x /usr
/bin
/objformat
; then 
19937     objformat
=`/usr/bin/objformat` 
19940     freebsd
[123]*) objformat
=aout 
;; 
19941     *) objformat
=elf 
;; 
19944   version_type
=freebsd
-$objformat 
19945   case $version_type in 
19947       library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
19952       library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 
19956   shlibpath_var
=LD_LIBRARY_PATH
 
19959     shlibpath_overrides_runpath
=yes 
19961   freebsd3.
[01]* | freebsdelf3.
[01]*) 
19962     shlibpath_overrides_runpath
=yes 
19963     hardcode_into_libs
=yes 
19965   freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
 
19966   freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1) 
19967     shlibpath_overrides_runpath
=no
 
19968     hardcode_into_libs
=yes 
19970   freebsd
*) # from 4.6 on 
19971     shlibpath_overrides_runpath
=yes 
19972     hardcode_into_libs
=yes 
19981   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 
19982   soname_spec
='${libname}${release}${shared_ext}$major' 
19983   shlibpath_var
=LD_LIBRARY_PATH
 
19984   hardcode_into_libs
=yes 
19987 hpux9
* | hpux10
* | hpux11
*) 
19988   # Give a soname corresponding to the major version so that dld.sl refuses to 
19989   # link against other versions. 
19996     hardcode_into_libs
=yes 
19997     dynamic_linker
="$host_os dld.so" 
19998     shlibpath_var
=LD_LIBRARY_PATH
 
19999     shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified. 
20000     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
20001     soname_spec
='${libname}${release}${shared_ext}$major' 
20002     if test "X$HPUX_IA64_MODE" = X32
; then 
20003       sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 
20005       sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64" 
20007     sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec 
20011     hardcode_into_libs
=yes 
20012     dynamic_linker
="$host_os dld.sl" 
20013     shlibpath_var
=LD_LIBRARY_PATH 
# How should we handle SHLIB_PATH 
20014     shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified. 
20015     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
20016     soname_spec
='${libname}${release}${shared_ext}$major' 
20017     sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 
20018     sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec 
20022     dynamic_linker
="$host_os dld.sl" 
20023     shlibpath_var
=SHLIB_PATH
 
20024     shlibpath_overrides_runpath
=no 
# +s is required to enable SHLIB_PATH 
20025     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
20026     soname_spec
='${libname}${release}${shared_ext}$major' 
20029   # HP-UX runs *really* slowly unless shared libraries are mode 555. 
20030   postinstall_cmds
='chmod 555 $lib' 
20037   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
20038   soname_spec
='${libname}${release}${shared_ext}$major' 
20039   dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)' 
20040   shlibpath_var
=LD_LIBRARY_PATH
 
20041   shlibpath_overrides_runpath
=no
 
20042   hardcode_into_libs
=yes 
20045 irix5
* | irix6
* | nonstopux
*) 
20047     nonstopux
*) version_type
=nonstopux 
;; 
20049         if test "$lt_cv_prog_gnu_ld" = yes; then 
20057   soname_spec
='${libname}${release}${shared_ext}$major' 
20058   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 
20060   irix5
* | nonstopux
*) 
20061     libsuff
= shlibsuff
= 
20064     case $LD in # libtool.m4 will add one of these switches to LD 
20065     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 
20066       libsuff
= shlibsuff
= libmagic
=32-bit;; 
20067     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 
20068       libsuff
=32 shlibsuff
=N32 libmagic
=N32
;; 
20069     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 
20070       libsuff
=64 shlibsuff
=64 libmagic
=64-bit;; 
20071     *) libsuff
= shlibsuff
= libmagic
=never
-match;; 
20075   shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
 
20076   shlibpath_overrides_runpath
=no
 
20077   sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 
20078   sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}" 
20079   hardcode_into_libs
=yes 
20082 # No shared lib support for Linux oldld, aout, or coff. 
20083 linux
*oldld
* | linux
*aout
* | linux
*coff
*) 
20087 # This must be Linux ELF. 
20092   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
20093   soname_spec
='${libname}${release}${shared_ext}$major' 
20094   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir' 
20095   shlibpath_var
=LD_LIBRARY_PATH
 
20096   shlibpath_overrides_runpath
=no
 
20097   # This implies no fast_install, which is unacceptable. 
20098   # Some rework will be needed to allow for fast_install 
20099   # before this can be enabled. 
20100   hardcode_into_libs
=yes 
20102   # Append ld.so.conf contents to the search path 
20103   if test -f /etc
/ld.so.conf
; then 
20104     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' ' '` 
20105     sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra" 
20108   # We used to test for /lib/ld.so.1 and disable shared libraries on 
20109   # powerpc, because MkLinux only supported shared libraries with the 
20110   # GNU dynamic linker.  Since this was broken with cross compilers, 
20111   # most powerpc-linux boxes support dynamic linking these days and 
20112   # people can always --disable-shared, the test was removed, and we 
20113   # assume the GNU/Linux dynamic linker is in use. 
20114   dynamic_linker
='GNU/Linux ld.so' 
20121   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
20122   soname_spec
='${libname}${release}${shared_ext}$major' 
20123   shlibpath_var
=LD_LIBRARY_PATH
 
20124   shlibpath_overrides_runpath
=no
 
20125   hardcode_into_libs
=yes 
20126   dynamic_linker
='GNU ld.so' 
20133   if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
>/dev
/null
; then 
20134     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
20135     finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
20136     dynamic_linker
='NetBSD (a.out) ld.so' 
20138     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
20139     soname_spec
='${libname}${release}${shared_ext}$major' 
20140     dynamic_linker
='NetBSD ld.elf_so' 
20142   shlibpath_var
=LD_LIBRARY_PATH
 
20143   shlibpath_overrides_runpath
=yes 
20144   hardcode_into_libs
=yes 
20149   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
20150   shlibpath_var
=LD_LIBRARY_PATH
 
20151   shlibpath_overrides_runpath
=yes 
20158   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
20159   soname_spec
='${libname}${release}${shared_ext}$major' 
20160   shlibpath_var
=LD_LIBRARY_PATH
 
20161   shlibpath_overrides_runpath
=no
 
20162   hardcode_into_libs
=yes 
20163   dynamic_linker
='ldqnx.so' 
20168   sys_lib_dlsearch_path_spec
="/usr/lib" 
20170   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 
20172     openbsd3.3 
| openbsd3.3.
*)  need_version
=yes ;; 
20173     *)                          need_version
=no  
;; 
20175   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
20176   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
20177   shlibpath_var
=LD_LIBRARY_PATH
 
20178   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
20180       openbsd2.
[89] | openbsd2.
[89].
*) 
20181         shlibpath_overrides_runpath
=no
 
20184         shlibpath_overrides_runpath
=yes 
20188     shlibpath_overrides_runpath
=yes 
20193   libname_spec
='$name' 
20196   library_names_spec
='$libname${shared_ext} $libname.a' 
20197   dynamic_linker
='OS/2 ld.exe' 
20198   shlibpath_var
=LIBPATH
 
20201 osf3
* | osf4
* | osf5
*) 
20205   soname_spec
='${libname}${release}${shared_ext}$major' 
20206   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
20207   shlibpath_var
=LD_LIBRARY_PATH
 
20208   sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
20209   sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec" 
20220   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
20221   soname_spec
='${libname}${release}${shared_ext}$major' 
20222   shlibpath_var
=LD_LIBRARY_PATH
 
20223   shlibpath_overrides_runpath
=yes 
20224   hardcode_into_libs
=yes 
20225   # ldd complains unless libraries are executable 
20226   postinstall_cmds
='chmod +x $lib' 
20231   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
20232   finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir' 
20233   shlibpath_var
=LD_LIBRARY_PATH
 
20234   shlibpath_overrides_runpath
=yes 
20235   if test "$with_gnu_ld" = yes; then 
20243   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
20244   soname_spec
='${libname}${release}${shared_ext}$major' 
20245   shlibpath_var
=LD_LIBRARY_PATH
 
20246   case $host_vendor in 
20248       shlibpath_overrides_runpath
=no
 
20250       runpath_var
=LD_RUN_PATH
 
20258       shlibpath_overrides_runpath
=no
 
20259       sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib' 
20265   if test -d /usr
/nec 
;then 
20267     library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 
20268     soname_spec
='$libname${shared_ext}.$major' 
20269     shlibpath_var
=LD_LIBRARY_PATH
 
20273 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*) 
20274   version_type
=freebsd
-elf 
20277   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
20278   soname_spec
='${libname}${release}${shared_ext}$major' 
20279   shlibpath_var
=LD_LIBRARY_PATH
 
20280   shlibpath_overrides_runpath
=yes 
20281   hardcode_into_libs
=yes 
20282   if test "$with_gnu_ld" = yes; then 
20283     sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 
20285     sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib' 
20288         sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib" 
20292   sys_lib_dlsearch_path_spec
='/usr/lib' 
20296   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux. 
20300   library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
20301   shlibpath_var
=LD_LIBRARY_PATH
 
20302   shlibpath_overrides_runpath
=no
 
20303   hardcode_into_libs
=yes 
20308   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
20309   soname_spec
='${libname}${release}${shared_ext}$major' 
20310   shlibpath_var
=LD_LIBRARY_PATH
 
20317 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 
20318 echo "${ECHO_T}$dynamic_linker" >&6; } 
20319 test "$dynamic_linker" = no 
&& can_build_shared
=no
 
20321 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var" 
20322 if test "$GCC" = yes; then 
20323   variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
20361     { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 
20362 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 
20363 hardcode_action_CXX
= 
20364 if test -n "$hardcode_libdir_flag_spec_CXX" || 
20365    test -n "$runpath_var_CXX" || 
20366    test "X$hardcode_automatic_CXX" = "Xyes" ; then 
20368   # We can hardcode non-existent directories. 
20369   if test "$hardcode_direct_CXX" != no 
&& 
20370      # If the only mechanism to avoid hardcoding is shlibpath_var, we 
20371      # have to relink, otherwise we might link with an installed library 
20372      # when we should be linking with a yet-to-be-installed one 
20373      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 
20374      test "$hardcode_minus_L_CXX" != no
; then 
20375     # Linking always hardcodes the temporary library directory. 
20376     hardcode_action_CXX
=relink
 
20378     # We can link without hardcoding, and we can hardcode nonexisting dirs. 
20379     hardcode_action_CXX
=immediate
 
20382   # We cannot hardcode anything, or else we can only hardcode existing 
20384   hardcode_action_CXX
=unsupported
 
20386 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 
20387 echo "${ECHO_T}$hardcode_action_CXX" >&6; } 
20389 if test "$hardcode_action_CXX" = relink 
|| 
20390    test "$inherit_rpath_CXX" = yes; then 
20391   # Fast installation is not supported 
20392   enable_fast_install
=no
 
20393 elif test "$shlibpath_overrides_runpath" = yes || 
20394      test "$enable_shared" = no
; then 
20395   # Fast installation is not necessary 
20396   enable_fast_install
=needless
 
20405   fi # test -n "$compiler" 
20411   with_gnu_ld
=$lt_save_with_gnu_ld 
20412   lt_cv_path_LDCXX
=$lt_cv_path_LD 
20413   lt_cv_path_LD
=$lt_save_path_LD 
20414   lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld 
20415   lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld 
20416 fi # test "$_lt_caught_CXX_error" != yes 
20419 ac_cpp
='$CPP $CPPFLAGS' 
20420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
20421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
20422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
20425 GLU_CFLAGS
="${GL_CFLAGS}" 
20426 if test "X${with_apple_opengl_framework}" != "Xyes"; then 
20427   { echo "$as_me:$LINENO: checking for OpenGL Utility library" >&5 
20428 echo $ECHO_N "checking for OpenGL Utility library... $ECHO_C" >&6; } 
20429 if test "${ax_cv_check_glu_libglu+set}" = set; then 
20430   echo $ECHO_N "(cached) $ECHO_C" >&6 
20432   ax_cv_check_glu_libglu
="no" 
20433   ax_save_CPPFLAGS
="${CPPFLAGS}" 
20434   CPPFLAGS
="${GL_CFLAGS} ${CPPFLAGS}" 
20435   ax_save_LIBS
="${LIBS}" 
20437   ax_check_libs
="-lglu32 -lGLU" 
20438   for ax_lib 
in ${ax_check_libs}; do 
20439     if test X
$ax_compiler_ms = Xyes
; then 
20440       ax_try_lib
=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'` 
20442       ax_try_lib
="${ax_lib}" 
20444     LIBS
="${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}" 
20446     # libGLU typically links with libstdc++ on POSIX platforms. However, 
20447     # setting the language to C++ means that test program source is named 
20448     # "conftest.cc"; and Microsoft cl doesn't know what to do with such a 
20452 ac_cpp
='$CXXCPP $CPPFLAGS' 
20453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
20454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
20455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu 
20457     if test X
$ax_compiler_ms = Xyes
; then 
20459 ac_cpp
='$CPP $CPPFLAGS' 
20460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
20461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
20462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
20465     cat >conftest.
$ac_ext <<_ACEOF 
20468 cat confdefs.h 
>>conftest.
$ac_ext 
20469 cat >>conftest.
$ac_ext <<_ACEOF 
20470 /* end confdefs.h.  */ 
20472 # if HAVE_WINDOWS_H && defined(_WIN32) 
20473 #   include <windows.h> 
20475 # include <GL/glu.h> 
20484 rm -f conftest.
$ac_objext conftest
$ac_exeext 
20485 if { (ac_try
="$ac_link" 
20486 case "(($ac_try" in 
20487   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
20488   *) ac_try_echo=$ac_try;; 
20490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
20491   (eval "$ac_link") 2>conftest.er1 
20493   grep -v '^ *+' conftest.er1 >conftest.err 
20495   cat conftest.err >&5 
20496   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
20497   (exit $ac_status); } && { 
20498          test -z "$ac_c_werror_flag" || 
20499          test ! -s conftest.err 
20500        } && test -s conftest$ac_exeext && 
20501        $as_test_x conftest$ac_exeext; then 
20502   ax_cv_check_glu_libglu="${ax_try_lib}"; break 
20504   echo "$as_me: failed program was:" >&5 
20505 sed 's/^/| /' conftest.$ac_ext >&5 
20510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
20511       conftest$ac_exeext conftest.$ac_ext 
20512     if test X$ax_compiler_ms = Xyes; then 
20514 ac_cpp='$CXXCPP $CPPFLAGS' 
20515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
20516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
20517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 
20521 ac_cpp='$CPP $CPPFLAGS' 
20522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
20523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
20524 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
20527   LIBS=${ax_save_LIBS} 
20528   CPPFLAGS=${ax_save_CPPFLAGS} 
20530 { echo "$as_me:$LINENO: result: $ax_cv_check_glu_libglu" >&5 
20531 echo "${ECHO_T}$ax_cv_check_glu_libglu" >&6; } 
20532   if test "X${ax_cv_check_glu_libglu}" = "Xno"; then 
20537     GLU_LIBS="${ax_cv_check_glu_libglu} ${GL_LIBS}" 
20544 if test "X$with_apple_opengl_framework" = "Xyes"; then 
20545   GLUT_CFLAGS="${GLU_CFLAGS}" 
20546   GLUT_LIBS="-framework GLUT -lobjc ${GL_LIBS}" 
20548   GLUT_CFLAGS=${GLU_CFLAGS} 
20549   GLUT_LIBS=${GLU_LIBS} 
20552   # If X is present, assume GLUT depends on it. 
20554   if test "X${no_x}" != "Xyes"; then 
20555     GLUT_LIBS="${X_PRE_LIBS} -lXmu -lXi ${X_EXTRA_LIBS} ${GLUT_LIBS}" 
20559 ac_cpp='$CPP $CPPFLAGS' 
20560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
20561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
20562 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
20565   ax_save_CPPFLAGS="${CPPFLAGS}" 
20566   CPPFLAGS="${GLUT_CFLAGS} ${CPPFLAGS}" 
20568   { echo "$as_me:$LINENO: checking for GLUT library" >&5 
20569 echo $ECHO_N "checking for GLUT library... $ECHO_C" >&6; } 
20570 if test "${ax_cv_check_glut_libglut+set}" = set; then 
20571   echo $ECHO_N "(cached) $ECHO_C" >&6 
20573   ax_cv_check_glut_libglut="no" 
20574   ax_save_LIBS="${LIBS}" 
20576   ax_check_libs="-lglut32 -lglut" 
20577   for ax_lib in ${ax_check_libs}; do 
20578     if test X$ax_compiler_ms = Xyes; then 
20579       ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'` 
20581       ax_try_lib="${ax_lib}" 
20583     LIBS="${ax_try_lib} ${GLUT_LIBS} ${ax_save_LIBS}" 
20584     cat >conftest.$ac_ext <<_ACEOF 
20587 cat confdefs.h >>conftest.$ac_ext 
20588 cat >>conftest.$ac_ext <<_ACEOF 
20589 /* end confdefs.h.  */ 
20591 # if HAVE_WINDOWS_H && defined(_WIN32) 
20592 #   include <windows.h> 
20594 # include <GL/glut.h> 
20603 rm -f conftest.$ac_objext conftest$ac_exeext 
20604 if { (ac_try="$ac_link" 
20605 case "(($ac_try" in 
20606   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
20607   *) ac_try_echo
=$ac_try;; 
20609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
20610   (eval "$ac_link") 2>conftest.er1
 
20612   grep -v '^ *+' conftest.er1 
>conftest.err
 
20614   cat conftest.err 
>&5 
20615   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
20616   (exit $ac_status); } && { 
20617          test -z "$ac_c_werror_flag" || 
20618          test ! -s conftest.err
 
20619        } && test -s conftest
$ac_exeext && 
20620        $as_test_x conftest
$ac_exeext; then 
20621   ax_cv_check_glut_libglut
="${ax_try_lib}"; break 
20623   echo "$as_me: failed program was:" >&5 
20624 sed 's/^/| /' conftest.
$ac_ext >&5 
20629 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
 
20630       conftest
$ac_exeext conftest.
$ac_ext 
20633   LIBS
=${ax_save_LIBS} 
20636 { echo "$as_me:$LINENO: result: $ax_cv_check_glut_libglut" >&5 
20637 echo "${ECHO_T}$ax_cv_check_glut_libglut" >&6; } 
20638   CPPFLAGS
="${ax_save_CPPFLAGS}" 
20640 ac_cpp
='$CPP $CPPFLAGS' 
20641 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
20642 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
20643 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
20646   if test "X${ax_cv_check_glut_libglut}" = "Xno"; then 
20651     GLUT_LIBS
="${ax_cv_check_glut_libglut} ${GLUT_LIBS}" 
20659 if test "$no_x" != "yes" -a "$no_gl" != "yes" \
 
20660         -a "$no_glu" != "yes" -a "$no_glut" != "yes" ; then 
20666 if test "$HAVE_OPENGL" = "yes"; then 
20668   HAVE_OPENGL_FALSE
='#' 
20670   HAVE_OPENGL_TRUE
='#' 
20677 # Check whether --enable-strip-chopping was given. 
20678 if test "${enable_strip_chopping+set}" = set; then 
20679   enableval
=$enable_strip_chopping; HAVE_STRIPCHOP
=$enableval 
20685 # Check whether --with-default-strip-size was given. 
20686 if test "${with_default_strip_size+set}" = set; then 
20687   withval
=$with_default_strip_size; 
20691 if test "$HAVE_STRIPCHOP" = "yes" \
 
20692         -a "x$with_default_strip_size" != "xno"; then 
20694 cat >>confdefs.h 
<<\_ACEOF
 
20695 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP 
20699   if test "x$with_default_strip_size" = "x" \
 
20700           -o "x$with_default_strip_size" = "xyes"; then 
20701     with_default_strip_size
="8192" 
20705 cat >>confdefs.h 
<<_ACEOF 
20706 #define STRIP_SIZE_DEFAULT $with_default_strip_size 
20713 cat >>confdefs.h 
<<\_ACEOF
 
20714 #define SUBIFD_SUPPORT 1 
20719 # Check whether --enable-extrasample-as-alpha was given. 
20720 if test "${enable_extrasample_as_alpha+set}" = set; then 
20721   enableval
=$enable_extrasample_as_alpha; HAVE_EXTRASAMPLE_AS_ALPHA
=$enableval 
20723   HAVE_EXTRASAMPLE_AS_ALPHA
=yes 
20727 if test "$HAVE_EXTRASAMPLE_AS_ALPHA" = "yes" ; then 
20729 cat >>confdefs.h 
<<\_ACEOF
 
20730 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1 
20736 # Check whether --enable-check-ycbcr-subsampling was given. 
20737 if test "${enable_check_ycbcr_subsampling+set}" = set; then 
20738   enableval
=$enable_check_ycbcr_subsampling; CHECK_JPEG_YCBCR_SUBSAMPLING
=$enableval 
20740   CHECK_JPEG_YCBCR_SUBSAMPLING
=yes 
20744 if test "$CHECK_JPEG_YCBCR_SUBSAMPLING" = "yes" ; then 
20746 cat >>confdefs.h 
<<\_ACEOF
 
20747 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1 
20755 ac_config_headers
="$ac_config_headers libtiff/tif_config.h libtiff/tiffconf.h" 
20758 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" 
20760 cat >confcache 
<<\_ACEOF
 
20761 # This file is a shell script that caches the results of configure 
20762 # tests run on this system so they can be shared between configure 
20763 # scripts and configure runs, see configure's option --config-cache. 
20764 # It is not useful on other systems.  If it contains results you don't 
20765 # want to keep, you may remove or edit it. 
20767 # config.status only pays attention to the cache file if you give it 
20768 # the --recheck option to rerun configure. 
20770 # `ac_cv_env_foo' variables (set or unset) will be overridden when 
20771 # loading this file, other *unset* `ac_cv_foo' will be assigned the 
20772 # following values. 
20776 # The following way of writing the cache mishandles newlines in values, 
20777 # but we know of no workaround that is simple, portable, and efficient. 
20778 # So, we kill variables containing newlines. 
20779 # Ultrix sh set writes to stderr and can't be redirected directly, 
20780 # and sets the high bit in the cache file unless we assign to the vars. 
20782   for ac_var 
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 
20783     eval ac_val
=\$
$ac_var 
20787       *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
20788 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
20791       _ 
| IFS 
| as_nl
) ;; #( 
20792       *) $as_unset $ac_var ;; 
20798     case $as_nl`(ac_space=' '; set) 2>&1` in #( 
20799     *${as_nl}ac_space
=\ 
*) 
20800       # `set' does not quote correctly, so add quotes (double-quote 
20801       # substitution turns \\\\ into \\, and sed turns \\ into \). 
20804           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 
20807       # `set' quotes correctly as required by POSIX, so do not add quotes. 
20808       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 
20817      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 
20819      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 
20821 if diff "$cache_file" confcache 
>/dev
/null 
2>&1; then :; else 
20822   if test -w "$cache_file"; then 
20823     test "x$cache_file" != "x/dev/null" && 
20824       { echo "$as_me:$LINENO: updating cache $cache_file" >&5 
20825 echo "$as_me: updating cache $cache_file" >&6;} 
20826     cat confcache 
>$cache_file 
20828     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 
20829 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
20834 test "x$prefix" = xNONE 
&& prefix
=$ac_default_prefix 
20835 # Let make expand exec_prefix. 
20836 test "x$exec_prefix" = xNONE 
&& exec_prefix
='${prefix}' 
20838 DEFS
=-DHAVE_CONFIG_H 
20842 for ac_i 
in : $LIBOBJS; do test "x$ac_i" = x
: && continue 
20843   # 1. Remove the extension, and $U if already installed. 
20844   ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//' 
20845   ac_i
=`echo "$ac_i" | sed "$ac_script"` 
20846   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
20847   #    will be set to the directory where LIBOBJS objects are built. 
20848   ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
20849   ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 
20851 LIBOBJS
=$ac_libobjs 
20853 LTLIBOBJS
=$ac_ltlibobjs 
20856 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 
20857   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 
20858 Usually this means the macro was only invoked conditionally." >&5 
20859 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 
20860 Usually this means the macro was only invoked conditionally." >&2;} 
20861    { (exit 1); exit 1; }; } 
20863 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 
20864   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 
20865 Usually this means the macro was only invoked conditionally." >&5 
20866 echo "$as_me: error: conditional \"AMDEP\" was never defined. 
20867 Usually this means the macro was only invoked conditionally." >&2;} 
20868    { (exit 1); exit 1; }; } 
20870 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 
20871   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 
20872 Usually this means the macro was only invoked conditionally." >&5 
20873 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 
20874 Usually this means the macro was only invoked conditionally." >&2;} 
20875    { (exit 1); exit 1; }; } 
20877 if test -z "${HAVE_RPATH_TRUE}" && test -z "${HAVE_RPATH_FALSE}"; then 
20878   { { echo "$as_me:$LINENO: error: conditional \"HAVE_RPATH\" was never defined. 
20879 Usually this means the macro was only invoked conditionally." >&5 
20880 echo "$as_me: error: conditional \"HAVE_RPATH\" was never defined. 
20881 Usually this means the macro was only invoked conditionally." >&2;} 
20882    { (exit 1); exit 1; }; } 
20884 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then 
20885   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CXX\" was never defined. 
20886 Usually this means the macro was only invoked conditionally." >&5 
20887 echo "$as_me: error: conditional \"HAVE_CXX\" was never defined. 
20888 Usually this means the macro was only invoked conditionally." >&2;} 
20889    { (exit 1); exit 1; }; } 
20891 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 
20892   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 
20893 Usually this means the macro was only invoked conditionally." >&5 
20894 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 
20895 Usually this means the macro was only invoked conditionally." >&2;} 
20896    { (exit 1); exit 1; }; } 
20898 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 
20899   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 
20900 Usually this means the macro was only invoked conditionally." >&5 
20901 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 
20902 Usually this means the macro was only invoked conditionally." >&2;} 
20903    { (exit 1); exit 1; }; } 
20905 if test -z "${HAVE_OPENGL_TRUE}" && test -z "${HAVE_OPENGL_FALSE}"; then 
20906   { { echo "$as_me:$LINENO: error: conditional \"HAVE_OPENGL\" was never defined. 
20907 Usually this means the macro was only invoked conditionally." >&5 
20908 echo "$as_me: error: conditional \"HAVE_OPENGL\" was never defined. 
20909 Usually this means the macro was only invoked conditionally." >&2;} 
20910    { (exit 1); exit 1; }; } 
20913 : ${CONFIG_STATUS=./config.status} 
20914 ac_clean_files_save
=$ac_clean_files 
20915 ac_clean_files
="$ac_clean_files $CONFIG_STATUS" 
20916 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
20917 echo "$as_me: creating $CONFIG_STATUS" >&6;} 
20918 cat >$CONFIG_STATUS <<_ACEOF 
20920 # Generated by $as_me. 
20921 # Run this file to recreate the current configuration. 
20922 # Compiler output produced by configure, useful for debugging 
20923 # configure, is in config.log if it exists. 
20926 ac_cs_recheck=false 
20928 SHELL=\${CONFIG_SHELL-$SHELL} 
20931 cat >>$CONFIG_STATUS <<\_ACEOF
 
20932 ## --------------------- ## 
20933 ## M4sh Initialization.  ## 
20934 ## --------------------- ## 
20936 # Be more Bourne compatible 
20937 DUALCASE
=1; export DUALCASE 
# for MKS sh 
20938 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null 
2>&1; then 
20941   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
20942   # is contrary to our usage.  Disable this feature. 
20943   alias -g '${1+"$@"}'='"$@"' 
20944   setopt NO_GLOB_SUBST
 
20946   case `(set -o) 2>/dev/null` in 
20947   *posix
*) set -o posix 
;; 
20956 # Avoid depending upon Character Ranges. 
20957 as_cr_letters
='abcdefghijklmnopqrstuvwxyz' 
20958 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
20959 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS 
20960 as_cr_digits
='0123456789' 
20961 as_cr_alnum
=$as_cr_Letters$as_cr_digits 
20963 # The user is always right. 
20964 if test "${PATH_SEPARATOR+set}" != set; then 
20965   echo "#! /bin/sh" >conf$$.sh
 
20966   echo  "exit 0"   >>conf$$.sh
 
20968   if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null 
2>&1; then 
20976 # Support unset when possible. 
20977 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null 
2>&1; then 
20985 # We need space, tab and new line, in precisely that order.  Quoting is 
20986 # there to prevent editors from complaining about space-tab. 
20987 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 
20988 # splitting by setting IFS to empty value.) 
20993 # Find who we are.  Look in the path if we contain no directory separator. 
20995   *[\\/]* ) as_myself
=$0 ;; 
20996   *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
20997 for as_dir 
in $PATH 
21000   test -z "$as_dir" && as_dir
=.
 
21001   test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break 
21007 # We did not find ourselves, most probably we were run as `sh COMMAND' 
21008 # in which case we are not to be found in the path. 
21009 if test "x$as_myself" = x
; then 
21012 if test ! -f "$as_myself"; then 
21013   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
21014   { (exit 1); exit 1; } 
21017 # Work around bugs in pre-3.0 UWIN ksh. 
21018 for as_var 
in ENV MAIL MAILPATH
 
21019 do ($as_unset $as_var) >/dev
/null 
2>&1 && $as_unset $as_var 
21027   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
21028   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
21029   LC_TELEPHONE LC_TIME
 
21031   if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
21032     eval $as_var=C
; export $as_var 
21034     ($as_unset $as_var) >/dev
/null 
2>&1 && $as_unset $as_var 
21038 # Required to use basename. 
21039 if expr a 
: '\(a\)' >/dev
/null 
2>&1 && 
21040    test "X`expr 00001 : '.*\(...\)'`" = X001
; then 
21046 if (basename -- /) >/dev
/null 
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 
21047   as_basename
=basename 
21053 # Name of the executable. 
21054 as_me
=`$as_basename -- "$0" || 
21055 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
21056          X"$0" : 'X\(//\)$' \| \ 
21057          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
21059     sed '/^.*\/\([^/][^/]*\)\/*$/{ 
21078   as_lineno_1
=$LINENO 
21079   as_lineno_2
=$LINENO 
21080   test "x$as_lineno_1" != "x$as_lineno_2" && 
21081   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
21083   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
21084   # uniformly replaced by the line number.  The first 'sed' inserts a 
21085   # line-number line after each line using $LINENO; the second 'sed' 
21086   # does the real work.  The second script uses 'N' to pair each 
21087   # line-number line with the line containing $LINENO, and appends 
21088   # trailing '-' during substitution so that $LINENO is not a special 
21089   # case at line end. 
21090   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
21091   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
21092   # E. McMahon (1931-1989) for sed's syntax.  :-) 
21104       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
21107     ' >$as_me.lineno 
&& 
21108   chmod +x 
"$as_me.lineno" || 
21109     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
21110    { (exit 1); exit 1; }; } 
21112   # Don't try to exec as it changes $[0], causing all sort of problems 
21113   # (the dirname of $[0] is not the place where we might find the 
21114   # original and so on.  Autoconf is especially sensitive to this). 
21115   . 
"./$as_me.lineno" 
21116   # Exit status is that of the last command. 
21121 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null 
2>&1; then 
21127 ECHO_C
= ECHO_N
= ECHO_T
= 
21128 case `echo -n x` in 
21130   case `echo 'x\c'` in 
21131   *c
*) ECHO_T
=' ';;     # ECHO_T is single tab character. 
21138 if expr a 
: '\(a\)' >/dev
/null 
2>&1 && 
21139    test "X`expr 00001 : '.*\(...\)'`" = X001
; then 
21145 rm -f conf$$ conf$$.exe conf$$.
file 
21146 if test -d conf$$.dir
; then 
21147   rm -f conf$$.dir
/conf$$.
file 
21153 if ln -s conf$$.
file conf$$ 
2>/dev
/null
; then 
21155   # ... but there are two gotchas: 
21156   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
21157   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
21158   # In both cases, we have to default to `cp -p'. 
21159   ln -s conf$$.
file conf$$.dir 
2>/dev
/null 
&& test ! -f conf$$.exe 
|| 
21161 elif ln conf$$.
file conf$$ 
2>/dev
/null
; then 
21166 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file 
21167 rmdir conf$$.dir 
2>/dev
/null
 
21169 if mkdir -p . 
2>/dev
/null
; then 
21172   test -d .
/-p && rmdir .
/-p 
21176 if test -x / >/dev
/null 
2>&1; then 
21177   as_test_x
='test -x' 
21179   if ls -dL / >/dev
/null 
2>&1; then 
21186       if test -d "$1"; then 
21192         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
21193         ???[sx]*):;;*)false;;esac;fi 
21197 as_executable_p
=$as_test_x 
21199 # Sed expression to map a string onto a valid CPP name. 
21200 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
21202 # Sed expression to map a string onto a valid variable name. 
21203 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
21208 # Save the log message, to keep $[0] and so on meaningful, and to 
21209 # report actual input values of CONFIG_FILES etc. instead of their 
21210 # values after options handling. 
21212 This file was extended by LibTIFF Software $as_me 3.8.2, which was 
21213 generated by GNU Autoconf 2.61.  Invocation command line was 
21215   CONFIG_FILES    = $CONFIG_FILES 
21216   CONFIG_HEADERS  = $CONFIG_HEADERS 
21217   CONFIG_LINKS    = $CONFIG_LINKS 
21218   CONFIG_COMMANDS = $CONFIG_COMMANDS 
21221 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
21226 cat >>$CONFIG_STATUS <<_ACEOF 
21227 # Files that config.status was made for. 
21228 config_files="$ac_config_files" 
21229 config_headers="$ac_config_headers" 
21230 config_commands="$ac_config_commands" 
21234 cat >>$CONFIG_STATUS <<\_ACEOF
 
21236 \`$as_me' instantiates files from templates according to the 
21237 current configuration. 
21239 Usage: $0 [OPTIONS] [FILE]... 
21241   -h, --help       print this help, then exit 
21242   -V, --version    print version number and configuration settings, then exit 
21243   -q, --quiet      do not print progress messages 
21244   -d, --debug      don't remove temporary files 
21245       --recheck    update $as_me by reconfiguring in the same conditions 
21246   --file=FILE[:TEMPLATE] 
21247                    instantiate the configuration file FILE 
21248   --header=FILE[:TEMPLATE] 
21249                    instantiate the configuration header FILE 
21251 Configuration files: 
21254 Configuration headers: 
21257 Configuration commands: 
21260 Report bugs to <bug-autoconf@gnu.org>." 
21263 cat >>$CONFIG_STATUS <<_ACEOF 
21265 LibTIFF Software config.status 3.8.2 
21266 configured by $0, generated by GNU Autoconf 2.61, 
21267   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
21269 Copyright (C) 2006 Free Software Foundation, Inc. 
21270 This config.status script is free software; the Free Software Foundation 
21271 gives unlimited permission to copy, distribute and modify it." 
21278 cat >>$CONFIG_STATUS <<\_ACEOF
 
21279 # If no file are specified by the user, then we need to provide default 
21280 # value.  By we need to know if files were specified by the user. 
21286     ac_option
=`expr "X$1" : 'X\([^=]*\)='` 
21287     ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'` 
21298   # Handling of the options. 
21299   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
21301   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
21302     echo "$ac_cs_version"; exit ;; 
21303   --debug | --debu | --deb | --de | --d | -d ) 
21305   --file | --fil | --fi | --f ) 
21307     CONFIG_FILES
="$CONFIG_FILES $ac_optarg" 
21308     ac_need_defaults
=false
;; 
21309   --header | --heade | --head | --hea ) 
21311     CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg" 
21312     ac_need_defaults
=false
;; 
21314     # Conflict between --help and --header 
21315     { echo "$as_me: error: ambiguous option: $1 
21316 Try \`$0 --help' for more information." >&2 
21317    { (exit 1); exit 1; }; };; 
21318   --help | --hel | -h ) 
21319     echo "$ac_cs_usage"; exit ;; 
21320   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
21321   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
21324   # This is an error. 
21325   -*) { echo "$as_me: error: unrecognized option: $1 
21326 Try \`$0 --help' for more information." >&2 
21327    { (exit 1); exit 1; }; } ;; 
21329   *) ac_config_targets
="$ac_config_targets $1" 
21330      ac_need_defaults
=false 
;; 
21336 ac_configure_extra_args
= 
21338 if $ac_cs_silent; then 
21340   ac_configure_extra_args
="$ac_configure_extra_args --silent" 
21344 cat >>$CONFIG_STATUS <<_ACEOF 
21345 if \$ac_cs_recheck; then 
21346   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
21347   CONFIG_SHELL=$SHELL 
21348   export CONFIG_SHELL 
21349   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
21353 cat >>$CONFIG_STATUS <<\_ACEOF
 
21357   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
21358 ## Running $as_me. ## 
21364 cat >>$CONFIG_STATUS <<_ACEOF 
21368 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 
21371 # The HP-UX ksh and POSIX shell print the target directory to stdout 
21372 # if CDPATH is set. 
21373 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
21375 sed_quote_subst='$sed_quote_subst' 
21376 double_quote_subst='$double_quote_subst' 
21377 delay_variable_subst='$delay_variable_subst' 
21378 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 
21379 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 
21380 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 
21381 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 
21382 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 
21383 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 
21384 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 
21385 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 
21386 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 
21387 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 
21388 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 
21389 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 
21390 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 
21391 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 
21392 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 
21393 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 
21394 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 
21395 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 
21396 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 
21397 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 
21398 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 
21399 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 
21400 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 
21401 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 
21402 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21403 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 
21404 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 
21405 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 
21406 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 
21407 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 
21408 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 
21409 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21410 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21411 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21412 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 
21413 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 
21414 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 
21415 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 
21416 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 
21417 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 
21418 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"`' 
21419 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 
21420 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 
21421 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 
21422 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 
21423 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 
21424 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 
21425 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 
21426 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 
21427 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 
21428 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 
21429 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 
21430 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21431 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21432 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 
21433 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 
21434 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 
21435 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 
21436 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21437 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21438 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21439 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21440 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21441 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21442 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 
21443 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 
21444 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 
21445 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 
21446 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 
21447 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 
21448 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 
21449 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 
21450 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 
21451 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 
21452 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 
21453 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 
21454 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 
21455 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 
21456 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21457 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 
21458 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 
21459 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21460 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 
21461 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 
21462 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 
21463 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 
21464 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 
21465 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 
21466 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 
21467 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 
21468 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 
21469 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 
21470 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 
21471 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21472 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21473 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
21474 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 
21475 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 
21476 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 
21477 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 
21478 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 
21479 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 
21480 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 
21481 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 
21482 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 
21483 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 
21484 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' 
21485 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' 
21486 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 
21487 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' 
21488 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' 
21489 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' 
21490 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' 
21491 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' 
21492 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21493 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21494 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21495 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21496 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21497 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21498 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21499 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21500 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21501 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21502 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21503 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21504 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21505 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21506 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21507 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21508 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21509 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21510 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21511 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21512 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21513 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21514 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21515 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21516 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21517 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21518 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21519 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21520 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21521 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21522 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21523 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21524 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21525 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21526 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21527 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21528 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21529 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21530 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21531 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21532 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21533 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21534 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21535 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
21538 LTCFLAGS='$LTCFLAGS' 
21539 compiler='$compiler_DEFAULT' 
21541 # Quote evaled strings. 
21550 deplibs_check_method \ 
21559 lt_cv_sys_global_symbol_pipe \ 
21560 lt_cv_sys_global_symbol_to_cdecl \ 
21561 lt_cv_sys_global_symbol_to_c_name_address \ 
21564 lt_prog_compiler_no_builtin_flag \ 
21565 lt_prog_compiler_wl \ 
21566 lt_prog_compiler_pic \ 
21567 lt_prog_compiler_static \ 
21568 lt_cv_prog_compiler_c_o \ 
21571 export_dynamic_flag_spec \ 
21572 whole_archive_flag_spec \ 
21574 allow_undefined_flag \ 
21575 no_undefined_flag \ 
21576 hardcode_libdir_flag_spec \ 
21577 hardcode_libdir_flag_spec_ld \ 
21578 hardcode_libdir_separator \ 
21583 variables_saved_for_relink \ 
21585 library_names_spec \ 
21594 compiler_lib_search_path \ 
21597 lt_prog_compiler_no_builtin_flag_CXX \ 
21598 lt_prog_compiler_wl_CXX \ 
21599 lt_prog_compiler_pic_CXX \ 
21600 lt_prog_compiler_static_CXX \ 
21601 lt_cv_prog_compiler_c_o_CXX \ 
21602 export_dynamic_flag_spec_CXX \ 
21603 whole_archive_flag_spec_CXX \ 
21605 allow_undefined_flag_CXX \ 
21606 no_undefined_flag_CXX \ 
21607 hardcode_libdir_flag_spec_CXX \ 
21608 hardcode_libdir_flag_spec_ld_CXX \ 
21609 hardcode_libdir_separator_CXX \ 
21610 fix_srcfile_path_CXX \ 
21611 exclude_expsyms_CXX \ 
21612 include_expsyms_CXX \ 
21613 file_list_spec_CXX \ 
21614 predep_objects_CXX \ 
21615 postdep_objects_CXX \ 
21618 compiler_lib_search_path_CXX; do 
21619     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 
21620     *[\\\\\\\`\\"\\\$]*) 
21621       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 
21624       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 
21629 # Double-quote double-evaled strings. 
21630 for var in reload_cmds \ 
21631 old_postinstall_cmds \ 
21632 old_postuninstall_cmds \ 
21634 extract_expsyms_cmds \ 
21635 old_archive_from_new_cmds \ 
21636 old_archive_from_expsyms_cmds \ 
21638 archive_expsym_cmds \ 
21640 module_expsym_cmds \ 
21641 export_symbols_cmds \ 
21644 postuninstall_cmds \ 
21646 sys_lib_search_path_spec \ 
21647 sys_lib_dlsearch_path_spec \ 
21648 old_archive_cmds_CXX \ 
21649 old_archive_from_new_cmds_CXX \ 
21650 old_archive_from_expsyms_cmds_CXX \ 
21652 archive_expsym_cmds_CXX \ 
21654 module_expsym_cmds_CXX \ 
21655 export_symbols_cmds_CXX \ 
21656 prelink_cmds_CXX; do 
21657     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 
21658     *[\\\\\\\`\\"\\\$]*) 
21659       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 
21662       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 
21667 # Fix-up fallback echo if it was mangled by the above quoting rules. 
21669 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 
21673 ac_aux_dir='$ac_aux_dir' 
21674 xsi_shell='$xsi_shell' 
21676 # See if we are running on zsh, and set the options which allow our 
21677 # commands through without removal of \ escapes INIT. 
21678 if test -n "\${ZSH_VERSION+set}" ; then 
21679    setopt NO_GLOB_SUBST 
21685     TIMESTAMP='$TIMESTAMP' 
21696 cat >>$CONFIG_STATUS <<\_ACEOF
 
21698 # Handling of arguments. 
21699 for ac_config_target 
in $ac_config_targets 
21701   case $ac_config_target in 
21702     "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;; 
21703     "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;; 
21704     "libtiff/tif_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS libtiff/tif_config.h" ;; 
21705     "libtiff/tiffconf.h") CONFIG_HEADERS
="$CONFIG_HEADERS libtiff/tiffconf.h" ;; 
21706     "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;; 
21707     "contrib/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/Makefile" ;; 
21708     "contrib/acorn/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/acorn/Makefile" ;; 
21709     "contrib/addtiffo/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/addtiffo/Makefile" ;; 
21710     "contrib/dbs/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/dbs/Makefile" ;; 
21711     "contrib/dbs/xtiff/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/dbs/xtiff/Makefile" ;; 
21712     "contrib/iptcutil/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/iptcutil/Makefile" ;; 
21713     "contrib/mac-cw/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/mac-cw/Makefile" ;; 
21714     "contrib/mac-mpw/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/mac-mpw/Makefile" ;; 
21715     "contrib/mfs/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/mfs/Makefile" ;; 
21716     "contrib/ojpeg/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/ojpeg/Makefile" ;; 
21717     "contrib/pds/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/pds/Makefile" ;; 
21718     "contrib/ras/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/ras/Makefile" ;; 
21719     "contrib/stream/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/stream/Makefile" ;; 
21720     "contrib/tags/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/tags/Makefile" ;; 
21721     "contrib/win_dib/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/win_dib/Makefile" ;; 
21722     "html/Makefile") CONFIG_FILES
="$CONFIG_FILES html/Makefile" ;; 
21723     "html/images/Makefile") CONFIG_FILES
="$CONFIG_FILES html/images/Makefile" ;; 
21724     "html/man/Makefile") CONFIG_FILES
="$CONFIG_FILES html/man/Makefile" ;; 
21725     "libtiff/Makefile") CONFIG_FILES
="$CONFIG_FILES libtiff/Makefile" ;; 
21726     "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;; 
21727     "port/Makefile") CONFIG_FILES
="$CONFIG_FILES port/Makefile" ;; 
21728     "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;; 
21729     "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;; 
21731   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
21732 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
21733    { (exit 1); exit 1; }; };; 
21738 # If the user did not use the arguments to specify the items to instantiate, 
21739 # then the envvar interface is used.  Set only those that are not. 
21740 # We use the long form for the default assignment because of an extremely 
21741 # bizarre bug on SunOS 4.1.3. 
21742 if $ac_need_defaults; then 
21743   test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files 
21744   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers 
21745   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands 
21748 # Have a temporary directory for convenience.  Make it in the build tree 
21749 # simply because there is no reason against having it here, and in addition, 
21750 # creating and moving files from /tmp can sometimes cause problems. 
21751 # Hook for its removal unless debugging. 
21752 # Note that there is a small window in which the directory will not be cleaned: 
21753 # after its creation but before its name has been assigned to `$tmp'. 
21757   trap 'exit_status=$? 
21758   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
21760   trap '{ (exit 1); exit 1; }' 1 2 13 15 
21762 # Create a (secure) tmp directory for tmp files. 
21765   tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
21766   test -n "$tmp" && test -d "$tmp" 
21769   tmp
=.
/conf$$
-$RANDOM 
21770   (umask 077 && mkdir "$tmp") 
21773    echo "$me: cannot create a temporary directory in ." >&2 
21774    { (exit 1); exit 1; } 
21778 # Set up the sed scripts for CONFIG_FILES section. 
21781 # No need to generate the scripts if there are no CONFIG_FILES. 
21782 # This happens for instance when ./config.status config.h 
21783 if test -n "$CONFIG_FILES"; then 
21790 for ac_last_try 
in false false false false false 
:; do 
21791   cat >conf$
$subs.
sed <<_ACEOF 
21792 SHELL!$SHELL$ac_delim 
21793 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 
21794 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 
21795 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 
21796 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 
21797 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 
21798 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 
21799 exec_prefix!$exec_prefix$ac_delim 
21800 prefix!$prefix$ac_delim 
21801 program_transform_name!$program_transform_name$ac_delim 
21802 bindir!$bindir$ac_delim 
21803 sbindir!$sbindir$ac_delim 
21804 libexecdir!$libexecdir$ac_delim 
21805 datarootdir!$datarootdir$ac_delim 
21806 datadir!$datadir$ac_delim 
21807 sysconfdir!$sysconfdir$ac_delim 
21808 sharedstatedir!$sharedstatedir$ac_delim 
21809 localstatedir!$localstatedir$ac_delim 
21810 includedir!$includedir$ac_delim 
21811 oldincludedir!$oldincludedir$ac_delim 
21812 docdir!$docdir$ac_delim 
21813 infodir!$infodir$ac_delim 
21814 htmldir!$htmldir$ac_delim 
21815 dvidir!$dvidir$ac_delim 
21816 pdfdir!$pdfdir$ac_delim 
21817 psdir!$psdir$ac_delim 
21818 libdir!$libdir$ac_delim 
21819 localedir!$localedir$ac_delim 
21820 mandir!$mandir$ac_delim 
21821 DEFS!$DEFS$ac_delim 
21822 ECHO_C!$ECHO_C$ac_delim 
21823 ECHO_N!$ECHO_N$ac_delim 
21824 ECHO_T!$ECHO_T$ac_delim 
21825 LIBS!$LIBS$ac_delim 
21826 build_alias!$build_alias$ac_delim 
21827 host_alias!$host_alias$ac_delim 
21828 target_alias!$target_alias$ac_delim 
21829 build!$build$ac_delim 
21830 build_cpu!$build_cpu$ac_delim 
21831 build_vendor!$build_vendor$ac_delim 
21832 build_os!$build_os$ac_delim 
21833 host!$host$ac_delim 
21834 host_cpu!$host_cpu$ac_delim 
21835 host_vendor!$host_vendor$ac_delim 
21836 host_os!$host_os$ac_delim 
21837 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 
21838 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 
21839 INSTALL_DATA!$INSTALL_DATA$ac_delim 
21840 CYGPATH_W!$CYGPATH_W$ac_delim 
21841 PACKAGE!$PACKAGE$ac_delim 
21842 VERSION!$VERSION$ac_delim 
21843 ACLOCAL!$ACLOCAL$ac_delim 
21844 AUTOCONF!$AUTOCONF$ac_delim 
21845 AUTOMAKE!$AUTOMAKE$ac_delim 
21846 AUTOHEADER!$AUTOHEADER$ac_delim 
21847 MAKEINFO!$MAKEINFO$ac_delim 
21848 install_sh!$install_sh$ac_delim 
21849 STRIP!$STRIP$ac_delim 
21850 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 
21851 mkdir_p!$mkdir_p$ac_delim 
21853 SET_MAKE!$SET_MAKE$ac_delim 
21854 am__leading_dot!$am__leading_dot$ac_delim 
21855 AMTAR!$AMTAR$ac_delim 
21856 am__tar!$am__tar$ac_delim 
21857 am__untar!$am__untar$ac_delim 
21858 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 
21859 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 
21860 MAINT!$MAINT$ac_delim 
21861 LIBTIFF_MAJOR_VERSION!$LIBTIFF_MAJOR_VERSION$ac_delim 
21862 LIBTIFF_MINOR_VERSION!$LIBTIFF_MINOR_VERSION$ac_delim 
21863 LIBTIFF_MICRO_VERSION!$LIBTIFF_MICRO_VERSION$ac_delim 
21864 LIBTIFF_ALPHA_VERSION!$LIBTIFF_ALPHA_VERSION$ac_delim 
21865 LIBTIFF_VERSION!$LIBTIFF_VERSION$ac_delim 
21866 LIBTIFF_VERSION_INFO!$LIBTIFF_VERSION_INFO$ac_delim 
21867 LIBTIFF_RELEASE_DATE!$LIBTIFF_RELEASE_DATE$ac_delim 
21869 CFLAGS!$CFLAGS$ac_delim 
21870 LDFLAGS!$LDFLAGS$ac_delim 
21871 CPPFLAGS!$CPPFLAGS$ac_delim 
21872 ac_ct_CC!$ac_ct_CC$ac_delim 
21873 EXEEXT!$EXEEXT$ac_delim 
21874 OBJEXT!$OBJEXT$ac_delim 
21875 DEPDIR!$DEPDIR$ac_delim 
21876 am__include!$am__include$ac_delim 
21877 am__quote!$am__quote$ac_delim 
21878 AMDEP_TRUE!$AMDEP_TRUE$ac_delim 
21879 AMDEP_FALSE!$AMDEP_FALSE$ac_delim 
21880 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 
21881 CCDEPMODE!$CCDEPMODE$ac_delim 
21882 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 
21883 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 
21884 LN_S!$LN_S$ac_delim 
21885 LIBTOOL!$LIBTOOL$ac_delim 
21887 GREP!$GREP$ac_delim 
21888 EGREP!$EGREP$ac_delim 
21891   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 
21893   elif $ac_last_try; then 
21894     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
21895 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
21896    { (exit 1); exit 1; }; } 
21898     ac_delim
="$ac_delim!$ac_delim _$ac_delim!! " 
21902 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
21903 if test -n "$ac_eof"; then 
21904   ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q` 
21905   ac_eof
=`expr $ac_eof + 1` 
21908 cat >>$CONFIG_STATUS <<_ACEOF 
21909 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 
21910 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
21913 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
21914 s/^/s,@/; s/!/@,|#_!!_#|/ 
21917 s/'"$ac_delim"'$/,g/; t 
21919 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
21920 ' >>$CONFIG_STATUS <conf$
$subs.
sed 
21921 rm -f conf$
$subs.
sed 
21922 cat >>$CONFIG_STATUS <<_ACEOF 
21928 for ac_last_try 
in false false false false false 
:; do 
21929   cat >conf$
$subs.
sed <<_ACEOF 
21930 FGREP!$FGREP$ac_delim 
21932 DUMPBIN!$DUMPBIN$ac_delim 
21933 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim 
21936 RANLIB!$RANLIB$ac_delim 
21937 lt_ECHO!$lt_ECHO$ac_delim 
21940 DLLTOOL!$DLLTOOL$ac_delim 
21941 OBJDUMP!$OBJDUMP$ac_delim 
21942 LIBOBJS!$LIBOBJS$ac_delim 
21943 HAVE_RPATH_TRUE!$HAVE_RPATH_TRUE$ac_delim 
21944 HAVE_RPATH_FALSE!$HAVE_RPATH_FALSE$ac_delim 
21945 LIBTIFF_DOCDIR!$LIBTIFF_DOCDIR$ac_delim 
21946 HAVE_CXX_TRUE!$HAVE_CXX_TRUE$ac_delim 
21947 HAVE_CXX_FALSE!$HAVE_CXX_FALSE$ac_delim 
21948 XMKMF!$XMKMF$ac_delim 
21949 X_CFLAGS!$X_CFLAGS$ac_delim 
21950 X_PRE_LIBS!$X_PRE_LIBS$ac_delim 
21951 X_LIBS!$X_LIBS$ac_delim 
21952 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim 
21953 acx_pthread_config!$acx_pthread_config$ac_delim 
21954 PTHREAD_CC!$PTHREAD_CC$ac_delim 
21955 PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim 
21956 PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim 
21957 GL_CFLAGS!$GL_CFLAGS$ac_delim 
21958 GL_LIBS!$GL_LIBS$ac_delim 
21960 CXXFLAGS!$CXXFLAGS$ac_delim 
21961 ac_ct_CXX!$ac_ct_CXX$ac_delim 
21962 CXXDEPMODE!$CXXDEPMODE$ac_delim 
21963 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim 
21964 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim 
21965 CXXCPP!$CXXCPP$ac_delim 
21966 GLU_CFLAGS!$GLU_CFLAGS$ac_delim 
21967 GLU_LIBS!$GLU_LIBS$ac_delim 
21968 GLUT_CFLAGS!$GLUT_CFLAGS$ac_delim 
21969 GLUT_LIBS!$GLUT_LIBS$ac_delim 
21970 HAVE_OPENGL_TRUE!$HAVE_OPENGL_TRUE$ac_delim 
21971 HAVE_OPENGL_FALSE!$HAVE_OPENGL_FALSE$ac_delim 
21972 LIBDIR!$LIBDIR$ac_delim 
21973 LTLIBOBJS!$LTLIBOBJS$ac_delim 
21976   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then 
21978   elif $ac_last_try; then 
21979     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
21980 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
21981    { (exit 1); exit 1; }; } 
21983     ac_delim
="$ac_delim!$ac_delim _$ac_delim!! " 
21987 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
21988 if test -n "$ac_eof"; then 
21989   ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q` 
21990   ac_eof
=`expr $ac_eof + 1` 
21993 cat >>$CONFIG_STATUS <<_ACEOF 
21994 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 
21995 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
21998 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
21999 s/^/s,@/; s/!/@,|#_!!_#|/ 
22002 s/'"$ac_delim"'$/,g/; t 
22004 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
22005 ' >>$CONFIG_STATUS <conf$
$subs.
sed 
22006 rm -f conf$
$subs.
sed 
22007 cat >>$CONFIG_STATUS <<_ACEOF 
22014 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
22015 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
22016 # trailing colons and then remove the whole line if VPATH becomes empty 
22017 # (actually we leave an empty line to preserve line numbers). 
22018 if test "x$srcdir" = x.
; then 
22019   ac_vpsub
='/^[  ]*VPATH[        ]*=/{ 
22020 s/:*\$(srcdir):*/:/ 
22021 s/:*\${srcdir}:*/:/ 
22023 s/^\([^=]*=[     ]*\):*/\1/ 
22029 cat >>$CONFIG_STATUS <<\_ACEOF
 
22030 fi # test -n "$CONFIG_FILES" 
22033 for ac_tag 
in  :F 
$CONFIG_FILES  :H 
$CONFIG_HEADERS    :C 
$CONFIG_COMMANDS 
22036   :[FHLC
]) ac_mode
=$ac_tag; continue;; 
22038   case $ac_mode$ac_tag in 
22040   :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
22041 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
22042    { (exit 1); exit 1; }; };; 
22043   :[FH
]-) ac_tag
=-:-;; 
22044   :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;; 
22061       -) ac_f
="$tmp/stdin";; 
22062       *) # Look for the file first in the build tree, then in the source tree 
22063          # (if the path is not absolute).  The absolute path cannot be DOS-style, 
22064          # because $ac_f cannot contain `:'. 
22068            *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";; 
22070            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
22071 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
22072    { (exit 1); exit 1; }; };; 
22074       ac_file_inputs
="$ac_file_inputs $ac_f" 
22077     # Let's still pretend it is `configure' which instantiates (i.e., don't 
22078     # use $as_me), people would be surprised to read: 
22079     #    /* config.h.  Generated by config.status.  */ 
22080     configure_input
="Generated from "`IFS=: 
22081           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 
22082     if test x
"$ac_file" != x
-; then 
22083       configure_input
="$ac_file.  $configure_input" 
22084       { echo "$as_me:$LINENO: creating $ac_file" >&5 
22085 echo "$as_me: creating $ac_file" >&6;} 
22089     *:-:* | *:-) cat >"$tmp/stdin";; 
22094   ac_dir
=`$as_dirname -- "$ac_file" || 
22095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
22096          X"$ac_file" : 'X\(//\)[^/]' \| \ 
22097          X"$ac_file" : 'X\(//\)$' \| \ 
22098          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
22100     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
22104           /^X\(\/\/\)[^/].*/{ 
22119   -*) as_dir
=.
/$as_dir;; 
22121   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
22125       *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
22126       *) as_qdir
=$as_dir;; 
22128       as_dirs
="'$as_qdir' $as_dirs" 
22129       as_dir
=`$as_dirname -- "$as_dir" || 
22130 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
22131          X"$as_dir" : 'X\(//\)[^/]' \| \ 
22132          X"$as_dir" : 'X\(//\)$' \| \ 
22133          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
22135     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
22139           /^X\(\/\/\)[^/].*/{ 
22152       test -d "$as_dir" && break 
22154     test -z "$as_dirs" || eval "mkdir $as_dirs" 
22155   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
22156 echo "$as_me: error: cannot create directory $as_dir" >&2;} 
22157    { (exit 1); exit 1; }; }; } 
22161 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;; 
22163   ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
22164   # A ".." for each directory in $ac_dir_suffix. 
22165   ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
22166   case $ac_top_builddir_sub in 
22167   "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;; 
22168   *)  ac_top_build_prefix
=$ac_top_builddir_sub/ ;; 
22171 ac_abs_top_builddir
=$ac_pwd 
22172 ac_abs_builddir
=$ac_pwd$ac_dir_suffix 
22173 # for backward compatibility: 
22174 ac_top_builddir
=$ac_top_build_prefix 
22177   .
)  # We are building in place. 
22179     ac_top_srcdir
=$ac_top_builddir_sub 
22180     ac_abs_top_srcdir
=$ac_pwd ;; 
22181   [\\/]* | ?
:[\\/]* )  # Absolute name. 
22182     ac_srcdir
=$srcdir$ac_dir_suffix; 
22183     ac_top_srcdir
=$srcdir 
22184     ac_abs_top_srcdir
=$srcdir ;; 
22185   *) # Relative name. 
22186     ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix 
22187     ac_top_srcdir
=$ac_top_build_prefix$srcdir 
22188     ac_abs_top_srcdir
=$ac_pwd/$srcdir ;; 
22190 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix 
22200   [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;; 
22201   *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;; 
22205 cat >>$CONFIG_STATUS <<\_ACEOF
 
22206 # If the template does not know about datarootdir, expand it. 
22207 # FIXME: This hack should be removed a few years after 2.60. 
22208 ac_datarootdir_hack
=; ac_datarootdir_seen
= 
22210 case `sed -n '/datarootdir/ { 
22219 ' $ac_file_inputs` in 
22220 *datarootdir
*) ac_datarootdir_seen
=yes;; 
22221 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*) 
22222   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
22223 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
22225 cat >>$CONFIG_STATUS <<_ACEOF 
22226   ac_datarootdir_hack=' 
22227   s&@datadir@&$datadir&g 
22228   s&@docdir@&$docdir&g 
22229   s&@infodir@&$infodir&g 
22230   s&@localedir@&$localedir&g 
22231   s&@mandir@&$mandir&g 
22232     s&\\\${datarootdir}&$datarootdir&g' ;; 
22236 # Neutralize VPATH when `$srcdir' = `.'. 
22237 # Shell code in configure.ac might set extrasub. 
22238 # FIXME: do we really want to maintain this feature? 
22239 cat >>$CONFIG_STATUS <<_ACEOF 
22243 cat >>$CONFIG_STATUS <<\_ACEOF
 
22245 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
 
22246 s
&@configure_input@
&$configure_input&;t t
 
22247 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
 
22248 s
&@srcdir@
&$ac_srcdir&;t t
 
22249 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
 
22250 s
&@top_srcdir@
&$ac_top_srcdir&;t t
 
22251 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
 
22252 s
&@builddir@
&$ac_builddir&;t t
 
22253 s
&@abs_builddir@
&$ac_abs_builddir&;t t
 
22254 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
 
22255 s
&@INSTALL@
&$ac_INSTALL&;t t
 
22256 $ac_datarootdir_hack 
22257 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out 
22259 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
22260   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } && 
22261   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } && 
22262   { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir' 
22263 which seems to be undefined.  Please make sure it is defined." >&5 
22264 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
' 
22265 which seems to be undefined.  Please make sure it is defined." >&2;} 
22269   -) cat "$tmp/out"; rm -f "$tmp/out";; 
22270   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 
22279 # Transform confdefs.h into a sed script `conftest.defines', that
 
22280 # substitutes the proper values into config.h.in to produce config.h. 
22281 rm -f conftest.defines conftest.
tail 
22282 # First, append a space to every undef/define line, to ease matching. 
22283 echo 's/$/ /' >conftest.defines
 
22284 # Then, protect against being on the right side of a sed subst, or in 
22285 # an unquoted here document, in config.status.  If some macros were 
22286 # called several times there might be several #defines for the same 
22287 # symbol, which is useless.  But do not sort them, since the last 
22288 # AC_DEFINE must be honored. 
22289 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]* 
22290 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 
22291 # NAME is the cpp macro being defined, VALUE is the value it is being given. 
22292 # PARAMS is the parameter list in the macro definition--in most cases, it's 
22293 # just an empty string. 
22294 ac_dA
='s,^\\([   #]*\\)[^        ]*\\([  ]*' 
22295 ac_dB
='\\)[      (].*,\\1define\\2' 
22303         s/^[     ]*#[    ]*define[       ][      ]*// 
22308         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 
22309         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 
22310   ' >>conftest.defines
 
22312 # Remove the space that was appended to ease matching. 
22313 # Then replace #undef with comments.  This is necessary, for 
22314 # example, in the case of _POSIX_SOURCE, which is predefined and required 
22315 # on some systems where configure will not decide to define it. 
22316 # (The regexp can be short, since the line contains either #define or #undef.) 
22318 s,^[     #]*u.*,/* & */,' >>conftest.defines
 
22320 # Break up conftest.defines: 
22321 ac_max_sed_lines
=50 
22323 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1" 
22324 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2" 
22325 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1" 
22327 ac_in
='$ac_file_inputs' 
22328 ac_out
='"$tmp/out1"' 
22329 ac_nxt
='"$tmp/out2"' 
22333   # Write a here document: 
22334     cat >>$CONFIG_STATUS <<_ACEOF 
22335     # First, check the format of the line: 
22336     cat >"\$tmp/defines.sed" <<\\CEOF 
22337 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def 
22338 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def 
22342   sed ${ac_max_sed_lines}q conftest.defines 
>>$CONFIG_STATUS 
22344     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 
22345   ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in 
22346   sed 1,${ac_max_sed_lines}d conftest.defines 
>conftest.
tail 
22347   grep . conftest.
tail >/dev
/null 
|| break 
22348   rm -f conftest.defines
 
22349   mv conftest.
tail conftest.defines
 
22351 rm -f conftest.defines conftest.
tail 
22353 echo "ac_result=$ac_in" >>$CONFIG_STATUS 
22354 cat >>$CONFIG_STATUS <<\_ACEOF
 
22355   if test x
"$ac_file" != x
-; then 
22356     echo "/* $configure_input  */" >"$tmp/config.h" 
22357     cat "$ac_result" >>"$tmp/config.h" 
22358     if diff $ac_file "$tmp/config.h" >/dev
/null 
2>&1; then 
22359       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
22360 echo "$as_me: $ac_file is unchanged" >&6;} 
22363       mv "$tmp/config.h" $ac_file 
22366     echo "/* $configure_input  */" 
22370 # Compute $ac_file's index in $config_headers. 
22372 for _am_header 
in $config_headers :; do 
22373   case $_am_header in 
22374     $ac_file | $ac_file:* ) 
22377       _am_stamp_count
=`expr $_am_stamp_count + 1` ;; 
22380 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || 
22381 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
22382          X$ac_file : 'X\(//\)[^/]' \| \ 
22383          X$ac_file : 'X\(//\)$' \| \ 
22384          X$ac_file : 'X\(/\)' \| . 2>/dev/null || 
22386     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
22390           /^X\(\/\/\)[^/].*/{ 
22402           s/.*/./; q'`/stamp
-h$_am_stamp_count 
22405   :C
)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5 
22406 echo "$as_me: executing $ac_file commands" >&6;} 
22411   case $ac_file$ac_mode in 
22412     "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf 
in $CONFIG_FILES; do 
22413   # Strip MF so we end up with the name of the file. 
22414   mf
=`echo "$mf" | sed -e 's/:.*$//'` 
22415   # Check whether this is an Automake generated Makefile or not. 
22416   # We used to match only the files named `Makefile.in', but 
22417   # some people rename them; so instead we look at the file content. 
22418   # Grep'ing the first line is not enough: some people post-process 
22419   # each Makefile.in and add a new line on top of each file to say so. 
22420   # So let's grep whole file. 
22421   if grep '^#.*generated by automake' $mf > /dev
/null 
2>&1; then 
22422     dirpart
=`$as_dirname -- "$mf" || 
22423 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
22424          X"$mf" : 'X\(//\)[^/]' \| \ 
22425          X"$mf" : 'X\(//\)$' \| \ 
22426          X"$mf" : 'X\(/\)' \| . 2>/dev/null || 
22428     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
22432           /^X\(\/\/\)[^/].*/{ 
22448   # Extract the definition of DEPDIR, am__include, and am__quote 
22449   # from the Makefile without running `make'. 
22450   DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"` 
22451   test -z "$DEPDIR" && continue 
22452   am__include
=`sed -n 's/^am__include = //p' < "$mf"` 
22453   test -z "am__include" && continue 
22454   am__quote
=`sed -n 's/^am__quote = //p' < "$mf"` 
22455   # When using ansi2knr, U may be empty or an underscore; expand it 
22456   U
=`sed -n 's/^U = //p' < "$mf"` 
22457   # Find all dependency output files, they are included files with 
22458   # $(DEPDIR) in their names.  We invoke sed twice because it is the 
22459   # simplest approach to changing $(DEPDIR) to its actual value in the 
22461   for file in `sed -n " 
22462     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 
22463        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 
22464     # Make sure the directory exists. 
22465     test -f "$dirpart/$file" && continue 
22466     fdir
=`$as_dirname -- "$file" || 
22467 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
22468          X"$file" : 'X\(//\)[^/]' \| \ 
22469          X"$file" : 'X\(//\)$' \| \ 
22470          X"$file" : 'X\(/\)' \| . 2>/dev/null || 
22472     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
22476           /^X\(\/\/\)[^/].*/{ 
22489     { as_dir
=$dirpart/$fdir 
22491   -*) as_dir
=.
/$as_dir;; 
22493   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
22497       *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
22498       *) as_qdir
=$as_dir;; 
22500       as_dirs
="'$as_qdir' $as_dirs" 
22501       as_dir
=`$as_dirname -- "$as_dir" || 
22502 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
22503          X"$as_dir" : 'X\(//\)[^/]' \| \ 
22504          X"$as_dir" : 'X\(//\)$' \| \ 
22505          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
22507     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
22511           /^X\(\/\/\)[^/].*/{ 
22524       test -d "$as_dir" && break 
22526     test -z "$as_dirs" || eval "mkdir $as_dirs" 
22527   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
22528 echo "$as_me: error: cannot create directory $as_dir" >&2;} 
22529    { (exit 1); exit 1; }; }; } 
22530     # echo "creating $dirpart/$file" 
22531     echo '# dummy' > "$dirpart/$file" 
22537     # See if we are running on zsh, and set the options which allow our 
22538     # commands through without removal of \ escapes. 
22539     if test -n "${ZSH_VERSION+set}" ; then 
22540       setopt NO_GLOB_SUBST
 
22543     cfgfile
="${ofile}T" 
22544     trap "$RM \"$cfgfile\"; exit 1" 1 2 15 
22547     cat <<_LT_EOF >> "$cfgfile" 
22550 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 
22551 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION 
22552 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 
22553 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 
22555 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 
22556 # 2006 Free Software Foundation, Inc. 
22558 # This file is part of GNU Libtool: 
22559 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 
22561 # This program is free software; you can redistribute it and/or modify 
22562 # it under the terms of the GNU General Public License as published by 
22563 # the Free Software Foundation; either version 2 of the License, or 
22564 # (at your option) any later version. 
22566 # This program is distributed in the hope that it will be useful, but 
22567 # WITHOUT ANY WARRANTY; without even the implied warranty of 
22568 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
22569 # General Public License for more details. 
22571 # You should have received a copy of the GNU General Public License 
22572 # along with this program; if not, write to the Free Software 
22573 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
22575 # As a special exception to the GNU General Public License, if you 
22576 # distribute this file as part of a program that contains a 
22577 # configuration script generated by Autoconf, you may include it under 
22578 # the same distribution terms that you use for the rest of that program. 
22580 # TEST SUITE MARKER ## BEGIN SOURCABLE 
22582 # The names of the tagged configurations supported by this script. 
22583 available_tags="CXX " 
22585 # ### BEGIN LIBTOOL CONFIG 
22587 # Which release of libtool.m4 was used? 
22588 macro_version=$macro_version 
22589 macro_revision=$macro_revision 
22591 # Whether or not to build shared libraries. 
22592 build_libtool_libs=$enable_shared 
22594 # Whether or not to build static libraries. 
22595 build_old_libs=$enable_static 
22597 # What type of objects to build. 
22600 # Whether or not to optimize for fast installation. 
22601 fast_install=$enable_fast_install 
22604 host_alias=$host_alias 
22608 # The build system. 
22609 build_alias=$build_alias 
22613 # A sed program that does not truncate output. 
22616 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 
22617 Xsed="\$SED -e 1s/^X//" 
22619 # A grep program that handles long lines. 
22625 # A literal string matcher. 
22628 # A BSD- or MS-compatible name lister. 
22631 # Whether we need soft or hard links. 
22634 # What is the maximum length of a command? 
22635 max_cmd_len=$max_cmd_len 
22637 # Object file suffix (normally "o"). 
22640 # Executable file suffix (normally ""). 
22643 # How to create reloadable object files. 
22644 reload_flag=$lt_reload_flag 
22645 reload_cmds=$lt_reload_cmds 
22647 # Method to check whether dependent libraries are shared objects. 
22648 deplibs_check_method=$lt_deplibs_check_method 
22650 # Command to use when deplibs_check_method == "file_magic". 
22651 file_magic_cmd=$lt_file_magic_cmd 
22655 AR_FLAGS=$lt_AR_FLAGS 
22657 # A symbol stripping program. 
22660 # Commands used to install an old-style archive. 
22662 old_postinstall_cmds=$lt_old_postinstall_cmds 
22663 old_postuninstall_cmds=$lt_old_postuninstall_cmds 
22668 # LTCC compiler flags. 
22669 LTCFLAGS=$lt_CFLAGS 
22671 # Take the output of nm and produce a listing of raw symbols and C names. 
22672 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 
22674 # Transform the output of nm in a proper C declaration. 
22675 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 
22677 # Transform the output of nm in a C name address pair. 
22678 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 
22680 # The name of the directory that contains temporary libtool files. 
22683 # Shell to use when invoking shell scripts. 
22686 # An echo program that does not interpret backslashes. 
22689 # Used to examine libraries when file_magic_cmd begins with "file". 
22690 MAGIC_CMD=$MAGIC_CMD 
22692 # Must we lock files when doing compilation? 
22693 need_locks=$lt_need_locks 
22695 # Old archive suffix (normally "a"). 
22698 # Shared library suffix (normally ".so"). 
22699 shrext_cmds=$lt_shrext_cmds 
22701 # The commands to extract the exported symbol list from a shared archive. 
22702 extract_expsyms_cmds=$lt_extract_expsyms_cmds 
22704 # Variables whose values should be saved in libtool wrapper scripts and 
22705 # restored at link time. 
22706 variables_saved_for_relink=$lt_variables_saved_for_relink 
22708 # Do we need the "lib" prefix for modules? 
22709 need_lib_prefix=$need_lib_prefix 
22711 # Do we need a version for libraries? 
22712 need_version=$need_version 
22714 # Library versioning type. 
22715 version_type=$version_type 
22717 # Shared library runtime path variable. 
22718 runpath_var=$runpath_var 
22720 # Shared library path variable. 
22721 shlibpath_var=$shlibpath_var 
22723 # Is shlibpath searched before the hard-coded library search path? 
22724 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 
22726 # Format of library name prefix. 
22727 libname_spec=$lt_libname_spec 
22729 # List of archive names.  First name is the real one, the rest are links. 
22730 # The last name is the one that the linker finds with -lNAME 
22731 library_names_spec=$lt_library_names_spec 
22733 # The coded name of the library, if different from the real name. 
22734 soname_spec=$lt_soname_spec 
22736 # Command to use after installation of a shared archive. 
22737 postinstall_cmds=$lt_postinstall_cmds 
22739 # Command to use after uninstallation of a shared archive. 
22740 postuninstall_cmds=$lt_postuninstall_cmds 
22742 # Commands used to finish a libtool library installation in a directory. 
22743 finish_cmds=$lt_finish_cmds 
22745 # As "finish_cmds", except a single script fragment to be evaled but 
22747 finish_eval=$lt_finish_eval 
22749 # Whether we should hardcode library paths into libraries. 
22750 hardcode_into_libs=$hardcode_into_libs 
22752 # Compile-time system search path for libraries. 
22753 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 
22755 # Run-time system search path for libraries. 
22756 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 
22758 # Whether dlopen is supported. 
22759 dlopen_support=$enable_dlopen 
22761 # Whether dlopen of programs is supported. 
22762 dlopen_self=$enable_dlopen_self 
22764 # Whether dlopen of statically linked programs is supported. 
22765 dlopen_self_static=$enable_dlopen_self_static 
22767 # Commands to strip libraries. 
22768 old_striplib=$lt_old_striplib 
22769 striplib=$lt_striplib 
22771 # Assembler program. 
22774 # DLL creation program. 
22777 # Object dumper program. 
22781 # The linker used to build libraries. 
22784 # Commands used to build an old-style archive. 
22785 old_archive_cmds=$lt_old_archive_cmds 
22787 # A language specific compiler. 
22790 # Is the compiler the GNU compiler? 
22793 # Compiler flag to turn off builtin functions. 
22794 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 
22796 # How to pass a linker flag through the compiler. 
22797 wl=$lt_lt_prog_compiler_wl 
22799 # Additional compiler flags for building library objects. 
22800 pic_flag=$lt_lt_prog_compiler_pic 
22802 # Compiler flag to prevent dynamic linking. 
22803 link_static_flag=$lt_lt_prog_compiler_static 
22805 # Does compiler simultaneously support -c and -o options? 
22806 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 
22808 # Whether or not to add -lc for building shared libraries. 
22809 build_libtool_need_lc=$archive_cmds_need_lc 
22811 # Whether or not to disallow shared libs when runtime libs are static. 
22812 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 
22814 # Compiler flag to allow reflexive dlopens. 
22815 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 
22817 # Compiler flag to generate shared objects directly from archives. 
22818 whole_archive_flag_spec=$lt_whole_archive_flag_spec 
22820 # Create an old-style archive from a shared archive. 
22821 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 
22823 # Create a temporary old-style archive to link instead of a shared archive. 
22824 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 
22826 # Commands used to build a shared archive. 
22827 archive_cmds=$lt_archive_cmds 
22828 archive_expsym_cmds=$lt_archive_expsym_cmds 
22830 # Commands used to build a loadable module if different from building 
22831 # a shared archive. 
22832 module_cmds=$lt_module_cmds 
22833 module_expsym_cmds=$lt_module_expsym_cmds 
22835 # Whether we are building with GNU ld or not. 
22836 with_gnu_ld=$lt_with_gnu_ld 
22838 # Flag that allows shared libraries with undefined symbols to be built. 
22839 allow_undefined_flag=$lt_allow_undefined_flag 
22841 # Flag that enforces no undefined symbols. 
22842 no_undefined_flag=$lt_no_undefined_flag 
22844 # Flag to hardcode \$libdir into a binary during linking. 
22845 # This must work even if \$libdir does not exist 
22846 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 
22848 # If ld is used when linking, flag to hardcode \$libdir into a binary 
22849 # during linking.  This must work even if \$libdir does not exist. 
22850 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 
22852 # Whether we need a single "-rpath" flag with a separated argument. 
22853 hardcode_libdir_separator=$lt_hardcode_libdir_separator 
22855 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 
22856 # DIR into the resulting binary. 
22857 hardcode_direct=$hardcode_direct 
22859 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 
22860 # into the resulting binary. 
22861 hardcode_minus_L=$hardcode_minus_L 
22863 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 
22864 # into the resulting binary. 
22865 hardcode_shlibpath_var=$hardcode_shlibpath_var 
22867 # Set to "yes" if building a shared library automatically hardcodes DIR 
22868 # into the library and all subsequent libraries and executables linked 
22870 hardcode_automatic=$hardcode_automatic 
22872 # Set to yes if linker adds runtime paths of dependent libraries 
22873 # to runtime path list. 
22874 inherit_rpath=$inherit_rpath 
22876 # Whether libtool must link a program against all its dependency libraries. 
22877 link_all_deplibs=$link_all_deplibs 
22879 # Fix the shell variable \$srcfile for the compiler. 
22880 fix_srcfile_path=$lt_fix_srcfile_path 
22882 # Set to "yes" if exported symbols are required. 
22883 always_export_symbols=$always_export_symbols 
22885 # The commands to list exported symbols. 
22886 export_symbols_cmds=$lt_export_symbols_cmds 
22888 # Symbols that should not be listed in the preloaded symbols. 
22889 exclude_expsyms=$lt_exclude_expsyms 
22891 # Symbols that must always be exported. 
22892 include_expsyms=$lt_include_expsyms 
22894 # Commands necessary for linking programs (against libraries) with templates. 
22895 prelink_cmds=$lt_prelink_cmds 
22897 # Specify filename containing input files. 
22898 file_list_spec=$lt_file_list_spec 
22900 # How to hardcode a shared library path into an executable. 
22901 hardcode_action=$hardcode_action 
22903 # Dependencies to place before and after the objects being linked to 
22904 # create a shared library. 
22905 predep_objects=$lt_predep_objects 
22906 postdep_objects=$lt_postdep_objects 
22907 predeps=$lt_predeps 
22908 postdeps=$lt_postdeps 
22910 # The library search path used internally by the compiler when linking 
22911 # a shared library. 
22912 compiler_lib_search_path=$lt_compiler_lib_search_path 
22914 # ### END LIBTOOL CONFIG 
22916 # The HP-UX ksh and POSIX shell print the target directory to stdout 
22917 # if CDPATH is set. 
22918 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
22924     cat <<\_LT_EOF 
>> "$cfgfile" 
22925 # AIX sometimes has problems with the GCC collect2 program.  For some 
22926 # reason, if we set the COLLECT_NAMES environment variable, the problems 
22927 # vanish in a puff of smoke. 
22928 if test "X${COLLECT_NAMES+set}" != Xset
; then 
22930   export COLLECT_NAMES
 
22937 ltmain
="$ac_aux_dir/ltmain.sh" 
22940   # We use sed instead of cat because bash on DJGPP gets confused if 
22941   # if finds mixed CR/LF and LF-only lines.  Since sed operates in 
22942   # text mode, it properly converts lines to CR/LF.  This bash problem 
22943   # is reportedly fixed, but why not run on old versions too? 
22944   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
22945     || (rm -f "$cfgfile"; exit 1) 
22949     cat << \_LT_EOF 
>> "$cfgfile" 
22950 # func_dirname file append nondir_replacement 
22951 # Compute the dirname of FILE.  If nonempty, add APPEND to the result, 
22952 # otherwise set result to NONDIR_REPLACEMENT. 
22956     */*) func_dirname_result
="${1%/*}${2}" ;; 
22957     *  ) func_dirname_result
="${3}" ;; 
22961 # func_basename file 
22964   func_basename_result
="${1##*/}" 
22967 # func_stripname prefix suffix name 
22968 # strip PREFIX and SUFFIX off of NAME. 
22969 # PREFIX and SUFFIX must not contain globbing or regex special 
22970 # characters, hashes, percent signs, but SUFFIX may contain a leading 
22971 # dot (in which case that matches only a dot). 
22974   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 
22975   # positional parameters, so assign one to ordinary parameter first. 
22976   func_stripname_result
=${3} 
22977   func_stripname_result
=${func_stripname_result#"${1}"} 
22978   func_stripname_result
=${func_stripname_result%"${2}"} 
22982   *) # Bourne compatible functions. 
22983     cat << \_LT_EOF 
>> "$cfgfile" 
22984 # func_dirname file append nondir_replacement 
22985 # Compute the dirname of FILE.  If nonempty, add APPEND to the result, 
22986 # otherwise set result to NONDIR_REPLACEMENT. 
22989   # Extract subdirectory from the argument. 
22990   func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"` 
22991   if test "X$func_dirname_result" = "X${1}"; then 
22992     func_dirname_result
="${3}" 
22994     func_dirname_result
="$func_dirname_result${2}" 
22998 # func_basename file 
23001   func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"` 
23004 # func_stripname prefix suffix name 
23005 # strip PREFIX and SUFFIX off of NAME. 
23006 # PREFIX and SUFFIX must not contain globbing or regex special 
23007 # characters, hashes, percent signs, but SUFFIX may contain a leading 
23008 # dot (in which case that matches only a dot). 
23009 # func_strip_suffix prefix name 
23013     .
*) func_stripname_result
=`$ECHO "X${3}" \ 
23014            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 
23015     *)  func_stripname_result
=`$ECHO "X${3}" \ 
23016            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 
23023   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
23024     || (rm -f "$cfgfile"; exit 1) 
23026   mv -f "$cfgfile" "$ofile" || 
23027     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 
23031     cat <<_LT_EOF >> "$ofile" 
23033 # ### BEGIN LIBTOOL TAG CONFIG: CXX 
23035 # The linker used to build libraries. 
23038 # Commands used to build an old-style archive. 
23039 old_archive_cmds=$lt_old_archive_cmds_CXX 
23041 # A language specific compiler. 
23042 CC=$lt_compiler_CXX 
23044 # Is the compiler the GNU compiler? 
23047 # Compiler flag to turn off builtin functions. 
23048 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 
23050 # How to pass a linker flag through the compiler. 
23051 wl=$lt_lt_prog_compiler_wl_CXX 
23053 # Additional compiler flags for building library objects. 
23054 pic_flag=$lt_lt_prog_compiler_pic_CXX 
23056 # Compiler flag to prevent dynamic linking. 
23057 link_static_flag=$lt_lt_prog_compiler_static_CXX 
23059 # Does compiler simultaneously support -c and -o options? 
23060 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 
23062 # Whether or not to add -lc for building shared libraries. 
23063 build_libtool_need_lc=$archive_cmds_need_lc_CXX 
23065 # Whether or not to disallow shared libs when runtime libs are static. 
23066 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 
23068 # Compiler flag to allow reflexive dlopens. 
23069 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 
23071 # Compiler flag to generate shared objects directly from archives. 
23072 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 
23074 # Create an old-style archive from a shared archive. 
23075 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 
23077 # Create a temporary old-style archive to link instead of a shared archive. 
23078 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 
23080 # Commands used to build a shared archive. 
23081 archive_cmds=$lt_archive_cmds_CXX 
23082 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 
23084 # Commands used to build a loadable module if different from building 
23085 # a shared archive. 
23086 module_cmds=$lt_module_cmds_CXX 
23087 module_expsym_cmds=$lt_module_expsym_cmds_CXX 
23089 # Whether we are building with GNU ld or not. 
23090 with_gnu_ld=$lt_with_gnu_ld_CXX 
23092 # Flag that allows shared libraries with undefined symbols to be built. 
23093 allow_undefined_flag=$lt_allow_undefined_flag_CXX 
23095 # Flag that enforces no undefined symbols. 
23096 no_undefined_flag=$lt_no_undefined_flag_CXX 
23098 # Flag to hardcode \$libdir into a binary during linking. 
23099 # This must work even if \$libdir does not exist 
23100 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 
23102 # If ld is used when linking, flag to hardcode \$libdir into a binary 
23103 # during linking.  This must work even if \$libdir does not exist. 
23104 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX 
23106 # Whether we need a single "-rpath" flag with a separated argument. 
23107 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 
23109 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 
23110 # DIR into the resulting binary. 
23111 hardcode_direct=$hardcode_direct_CXX 
23113 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 
23114 # into the resulting binary. 
23115 hardcode_minus_L=$hardcode_minus_L_CXX 
23117 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 
23118 # into the resulting binary. 
23119 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 
23121 # Set to "yes" if building a shared library automatically hardcodes DIR 
23122 # into the library and all subsequent libraries and executables linked 
23124 hardcode_automatic=$hardcode_automatic_CXX 
23126 # Set to yes if linker adds runtime paths of dependent libraries 
23127 # to runtime path list. 
23128 inherit_rpath=$inherit_rpath_CXX 
23130 # Whether libtool must link a program against all its dependency libraries. 
23131 link_all_deplibs=$link_all_deplibs_CXX 
23133 # Fix the shell variable \$srcfile for the compiler. 
23134 fix_srcfile_path=$lt_fix_srcfile_path_CXX 
23136 # Set to "yes" if exported symbols are required. 
23137 always_export_symbols=$always_export_symbols_CXX 
23139 # The commands to list exported symbols. 
23140 export_symbols_cmds=$lt_export_symbols_cmds_CXX 
23142 # Symbols that should not be listed in the preloaded symbols. 
23143 exclude_expsyms=$lt_exclude_expsyms_CXX 
23145 # Symbols that must always be exported. 
23146 include_expsyms=$lt_include_expsyms_CXX 
23148 # Commands necessary for linking programs (against libraries) with templates. 
23149 prelink_cmds=$lt_prelink_cmds_CXX 
23151 # Specify filename containing input files. 
23152 file_list_spec=$lt_file_list_spec_CXX 
23154 # How to hardcode a shared library path into an executable. 
23155 hardcode_action=$hardcode_action_CXX 
23157 # Dependencies to place before and after the objects being linked to 
23158 # create a shared library. 
23159 predep_objects=$lt_predep_objects_CXX 
23160 postdep_objects=$lt_postdep_objects_CXX 
23161 predeps=$lt_predeps_CXX 
23162 postdeps=$lt_postdeps_CXX 
23164 # The library search path used internally by the compiler when linking 
23165 # a shared library. 
23166 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 
23168 # ### END LIBTOOL TAG CONFIG: CXX 
23177 { (exit 0); exit 0; } 
23179 chmod +x 
$CONFIG_STATUS 
23180 ac_clean_files
=$ac_clean_files_save 
23183 # configure is writing to config.log, and then calls config.status. 
23184 # config.status does its own redirection, appending to config.log. 
23185 # Unfortunately, on DOS this fails, as config.log is still kept open 
23186 # by configure, so config.status won't be able to write to it; its 
23187 # output is simply discarded.  So we exec the FD to /dev/null, 
23188 # effectively closing config.log, so it can be properly (re)opened and 
23189 # appended to by config.status.  When coming back to configure, we 
23190 # need to make the FD available again. 
23191 if test "$no_create" != yes; then 
23193   ac_config_status_args
= 
23194   test "$silent" = yes && 
23195     ac_config_status_args
="$ac_config_status_args --quiet" 
23197   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
 
23199   # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
23200   # would make configure fail if this is the last instruction. 
23201   $ac_cs_success || { (exit 1); exit 1; } 
23207 echo "Libtiff is now configured for ${host}" 
23209 echo "  Installation directory:             ${prefix}" 
23210 echo "  Documentation directory:            ${LIBTIFF_DOCDIR}" 
23211 echo "  C compiler:                         ${CC} ${CFLAGS}" 
23212 echo "  C++ compiler:                       ${CXX} ${CXXFLAGS}" 
23213 echo "  Enable runtime linker paths:        ${HAVE_RPATH}" 
23214 echo "  Support Microsoft Document Imaging: ${HAVE_MDI}" 
23216 echo " Support for internal codecs:" 
23217 echo "  CCITT Group 3 & 4 algorithms:       ${HAVE_CCITT}" 
23218 echo "  Macintosh PackBits algorithm:       ${HAVE_PACKBITS}" 
23219 echo "  LZW algorithm:                      ${HAVE_LZW}" 
23220 echo "  ThunderScan 4-bit RLE algorithm:    ${HAVE_THUNDER}" 
23221 echo "  NeXT 2-bit RLE algorithm:           ${HAVE_NEXT}" 
23222 echo "  LogLuv high dynamic range encoding: ${HAVE_LOGLUV}" 
23224 echo " Support for external codecs:" 
23225 echo "  ZLIB support:                       ${HAVE_ZLIB}" 
23226 echo "  Pixar log-format algorithm:         ${HAVE_PIXARLOG}" 
23227 echo "  JPEG support:                       ${HAVE_JPEG}" 
23228 echo "  Old JPEG support:                   ${HAVE_OJPEG}" 
23230 echo "  C++ support:                        ${HAVE_CXX}" 
23232 echo "  OpenGL support:                     ${HAVE_OPENGL}"