"Fossies" - the Fresh Open Source Software Archive

Member "PDFlib-Lite-7.0.5p3/configure" (6 Jun 2012, 731149 Bytes) of package /linux/misc/old/PDFlib-Lite-7.0.5p3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
    4 #
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
    6 # This configure script is free software; the Free Software Foundation
    7 # gives unlimited permission to copy, distribute and modify it.
    8 ## --------------------- ##
    9 ## M4sh Initialization.  ##
   10 ## --------------------- ##
   11 
   12 # Be Bourne compatible
   13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   14   emulate sh
   15   NULLCMD=:
   16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   17   # is contrary to our usage.  Disable this feature.
   18   alias -g '${1+"$@"}'='"$@"'
   19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   20   set -o posix
   21 fi
   22 DUALCASE=1; export DUALCASE # for MKS sh
   23 
   24 # Support unset when possible.
   25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   26   as_unset=unset
   27 else
   28   as_unset=false
   29 fi
   30 
   31 
   32 # Work around bugs in pre-3.0 UWIN ksh.
   33 $as_unset ENV MAIL MAILPATH
   34 PS1='$ '
   35 PS2='> '
   36 PS4='+ '
   37 
   38 # NLS nuisances.
   39 for as_var in \
   40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   42   LC_TELEPHONE LC_TIME
   43 do
   44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   45     eval $as_var=C; export $as_var
   46   else
   47     $as_unset $as_var
   48   fi
   49 done
   50 
   51 # Required to use basename.
   52 if expr a : '\(a\)' >/dev/null 2>&1; then
   53   as_expr=expr
   54 else
   55   as_expr=false
   56 fi
   57 
   58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   59   as_basename=basename
   60 else
   61   as_basename=false
   62 fi
   63 
   64 
   65 # Name of the executable.
   66 as_me=`$as_basename "$0" ||
   67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   68      X"$0" : 'X\(//\)$' \| \
   69      X"$0" : 'X\(/\)$' \| \
   70      .     : '\(.\)' 2>/dev/null ||
   71 echo X/"$0" |
   72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   73       /^X\/\(\/\/\)$/{ s//\1/; q; }
   74       /^X\/\(\/\).*/{ s//\1/; q; }
   75       s/.*/./; q'`
   76 
   77 
   78 # PATH needs CR, and LINENO needs CR and PATH.
   79 # Avoid depending upon Character Ranges.
   80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   83 as_cr_digits='0123456789'
   84 as_cr_alnum=$as_cr_Letters$as_cr_digits
   85 
   86 # The user is always right.
   87 if test "${PATH_SEPARATOR+set}" != set; then
   88   echo "#! /bin/sh" >conf$$.sh
   89   echo  "exit 0"   >>conf$$.sh
   90   chmod +x conf$$.sh
   91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   92     PATH_SEPARATOR=';'
   93   else
   94     PATH_SEPARATOR=:
   95   fi
   96   rm -f conf$$.sh
   97 fi
   98 
   99 
  100   as_lineno_1=$LINENO
  101   as_lineno_2=$LINENO
  102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  103   test "x$as_lineno_1" != "x$as_lineno_2" &&
  104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  105   # Find who we are.  Look in the path if we contain no path at all
  106   # relative or not.
  107   case $0 in
  108     *[\\/]* ) as_myself=$0 ;;
  109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  110 for as_dir in $PATH
  111 do
  112   IFS=$as_save_IFS
  113   test -z "$as_dir" && as_dir=.
  114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  115 done
  116 
  117        ;;
  118   esac
  119   # We did not find ourselves, most probably we were run as `sh COMMAND'
  120   # in which case we are not to be found in the path.
  121   if test "x$as_myself" = x; then
  122     as_myself=$0
  123   fi
  124   if test ! -f "$as_myself"; then
  125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  126    { (exit 1); exit 1; }; }
  127   fi
  128   case $CONFIG_SHELL in
  129   '')
  130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  132 do
  133   IFS=$as_save_IFS
  134   test -z "$as_dir" && as_dir=.
  135   for as_base in sh bash ksh sh5; do
  136      case $as_dir in
  137      /*)
  138        if ("$as_dir/$as_base" -c '
  139   as_lineno_1=$LINENO
  140   as_lineno_2=$LINENO
  141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  142   test "x$as_lineno_1" != "x$as_lineno_2" &&
  143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  144          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  145          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  146          CONFIG_SHELL=$as_dir/$as_base
  147          export CONFIG_SHELL
  148          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  149        fi;;
  150      esac
  151        done
  152 done
  153 ;;
  154   esac
  155 
  156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  157   # uniformly replaced by the line number.  The first 'sed' inserts a
  158   # line-number line before each line; the second 'sed' does the real
  159   # work.  The second script uses 'N' to pair each line-number line
  160   # with the numbered line, and appends trailing '-' during
  161   # substitution so that $LINENO is not a special case at line end.
  162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  164   sed '=' <$as_myself |
  165     sed '
  166       N
  167       s,$,-,
  168       : loop
  169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  170       t loop
  171       s,-$,,
  172       s,^['$as_cr_digits']*\n,,
  173     ' >$as_me.lineno &&
  174   chmod +x $as_me.lineno ||
  175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  176    { (exit 1); exit 1; }; }
  177 
  178   # Don't try to exec as it changes $[0], causing all sort of problems
  179   # (the dirname of $[0] is not the place where we might find the
  180   # original and so on.  Autoconf is especially sensible to this).
  181   . ./$as_me.lineno
  182   # Exit status is that of the last command.
  183   exit
  184 }
  185 
  186 
  187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  188   *c*,-n*) ECHO_N= ECHO_C='
  189 ' ECHO_T='  ' ;;
  190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  192 esac
  193 
  194 if expr a : '\(a\)' >/dev/null 2>&1; then
  195   as_expr=expr
  196 else
  197   as_expr=false
  198 fi
  199 
  200 rm -f conf$$ conf$$.exe conf$$.file
  201 echo >conf$$.file
  202 if ln -s conf$$.file conf$$ 2>/dev/null; then
  203   # We could just check for DJGPP; but this test a) works b) is more generic
  204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  205   if test -f conf$$.exe; then
  206     # Don't use ln at all; we don't have any links
  207     as_ln_s='cp -p'
  208   else
  209     as_ln_s='ln -s'
  210   fi
  211 elif ln conf$$.file conf$$ 2>/dev/null; then
  212   as_ln_s=ln
  213 else
  214   as_ln_s='cp -p'
  215 fi
  216 rm -f conf$$ conf$$.exe conf$$.file
  217 
  218 if mkdir -p . 2>/dev/null; then
  219   as_mkdir_p=:
  220 else
  221   test -d ./-p && rmdir ./-p
  222   as_mkdir_p=false
  223 fi
  224 
  225 as_executable_p="test -f"
  226 
  227 # Sed expression to map a string onto a valid CPP name.
  228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  229 
  230 # Sed expression to map a string onto a valid variable name.
  231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  232 
  233 
  234 # IFS
  235 # We need space, tab and new line, in precisely that order.
  236 as_nl='
  237 '
  238 IFS="   $as_nl"
  239 
  240 # CDPATH.
  241 $as_unset CDPATH
  242 
  243 
  244 
  245 # Check that we are running under the correct shell.
  246 SHELL=${CONFIG_SHELL-/bin/sh}
  247 
  248 case X$ECHO in
  249 X*--fallback-echo)
  250   # Remove one level of quotation (which was required for Make).
  251   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  252   ;;
  253 esac
  254 
  255 echo=${ECHO-echo}
  256 if test "X$1" = X--no-reexec; then
  257   # Discard the --no-reexec flag, and continue.
  258   shift
  259 elif test "X$1" = X--fallback-echo; then
  260   # Avoid inline document here, it may be left over
  261   :
  262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  263   # Yippee, $echo works!
  264   :
  265 else
  266   # Restart under the correct shell.
  267   exec $SHELL "$0" --no-reexec ${1+"$@"}
  268 fi
  269 
  270 if test "X$1" = X--fallback-echo; then
  271   # used as fallback echo
  272   shift
  273   cat <<EOF
  274 $*
  275 EOF
  276   exit 0
  277 fi
  278 
  279 # The HP-UX ksh and POSIX shell print the target directory to stdout
  280 # if CDPATH is set.
  281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  282 
  283 if test -z "$ECHO"; then
  284 if test "X${echo_test_string+set}" != Xset; then
  285 # find a string as large as possible, as long as the shell can cope with it
  286   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  287     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  288     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  289        echo_test_string=`eval $cmd` &&
  290        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  291     then
  292       break
  293     fi
  294   done
  295 fi
  296 
  297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  298    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  299    test "X$echo_testing_string" = "X$echo_test_string"; then
  300   :
  301 else
  302   # The Solaris, AIX, and Digital Unix default echo programs unquote
  303   # backslashes.  This makes it impossible to quote backslashes using
  304   #   echo "$something" | sed 's/\\/\\\\/g'
  305   #
  306   # So, first we look for a working echo in the user's PATH.
  307 
  308   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  309   for dir in $PATH /usr/ucb; do
  310     IFS="$lt_save_ifs"
  311     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  312        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  313        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  314        test "X$echo_testing_string" = "X$echo_test_string"; then
  315       echo="$dir/echo"
  316       break
  317     fi
  318   done
  319   IFS="$lt_save_ifs"
  320 
  321   if test "X$echo" = Xecho; then
  322     # We didn't find a better echo, so look for alternatives.
  323     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  324        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  325        test "X$echo_testing_string" = "X$echo_test_string"; then
  326       # This shell has a builtin print -r that does the trick.
  327       echo='print -r'
  328     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  329      test "X$CONFIG_SHELL" != X/bin/ksh; then
  330       # If we have ksh, try running configure again with it.
  331       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  332       export ORIGINAL_CONFIG_SHELL
  333       CONFIG_SHELL=/bin/ksh
  334       export CONFIG_SHELL
  335       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  336     else
  337       # Try using printf.
  338       echo='printf %s\n'
  339       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  340      echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  341      test "X$echo_testing_string" = "X$echo_test_string"; then
  342     # Cool, printf works
  343     :
  344       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  345        test "X$echo_testing_string" = 'X\t' &&
  346        echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  347        test "X$echo_testing_string" = "X$echo_test_string"; then
  348     CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  349     export CONFIG_SHELL
  350     SHELL="$CONFIG_SHELL"
  351     export SHELL
  352     echo="$CONFIG_SHELL $0 --fallback-echo"
  353       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  354        test "X$echo_testing_string" = 'X\t' &&
  355        echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  356        test "X$echo_testing_string" = "X$echo_test_string"; then
  357     echo="$CONFIG_SHELL $0 --fallback-echo"
  358       else
  359     # maybe with a smaller string...
  360     prev=:
  361 
  362     for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  363       if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  364       then
  365         break
  366       fi
  367       prev="$cmd"
  368     done
  369 
  370     if test "$prev" != 'sed 50q "$0"'; then
  371       echo_test_string=`eval $prev`
  372       export echo_test_string
  373       exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  374     else
  375       # Oops.  We lost completely, so just stick with echo.
  376       echo=echo
  377     fi
  378       fi
  379     fi
  380   fi
  381 fi
  382 fi
  383 
  384 # Copy echo and quote the copy suitably for passing to libtool from
  385 # the Makefile, instead of quoting the original, which is used later.
  386 ECHO=$echo
  387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  388    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  389 fi
  390 
  391 
  392 
  393 
  394 tagnames=${tagnames+${tagnames},}CXX
  395 
  396 tagnames=${tagnames+${tagnames},}F77
  397 
  398 # Name of the host.
  399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  400 # so uname gets run too.
  401 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  402 
  403 exec 6>&1
  404 
  405 #
  406 # Initializations.
  407 #
  408 ac_default_prefix=/usr/local
  409 ac_config_libobj_dir=.
  410 cross_compiling=no
  411 subdirs=
  412 MFLAGS=
  413 MAKEFLAGS=
  414 SHELL=${CONFIG_SHELL-/bin/sh}
  415 
  416 # Maximum number of lines to put in a shell here document.
  417 # This variable seems obsolete.  It should probably be removed, and
  418 # only ac_max_sed_lines should be used.
  419 : ${ac_max_here_lines=38}
  420 
  421 # Identity of this package.
  422 PACKAGE_NAME=
  423 PACKAGE_TARNAME=
  424 PACKAGE_VERSION=
  425 PACKAGE_STRING=
  426 PACKAGE_BUGREPORT=
  427 
  428 ac_unique_file="libs/pdcore/pc_config.h"
  429 # Factoring default headers for most tests.
  430 ac_includes_default="\
  431 #include <stdio.h>
  432 #if HAVE_SYS_TYPES_H
  433 # include <sys/types.h>
  434 #endif
  435 #if HAVE_SYS_STAT_H
  436 # include <sys/stat.h>
  437 #endif
  438 #if STDC_HEADERS
  439 # include <stdlib.h>
  440 # include <stddef.h>
  441 #else
  442 # if HAVE_STDLIB_H
  443 #  include <stdlib.h>
  444 # endif
  445 #endif
  446 #if HAVE_STRING_H
  447 # if !STDC_HEADERS && HAVE_MEMORY_H
  448 #  include <memory.h>
  449 # endif
  450 # include <string.h>
  451 #endif
  452 #if HAVE_STRINGS_H
  453 # include <strings.h>
  454 #endif
  455 #if HAVE_INTTYPES_H
  456 # include <inttypes.h>
  457 #else
  458 # if HAVE_STDINT_H
  459 #  include <stdint.h>
  460 # endif
  461 #endif
  462 #if HAVE_UNISTD_H
  463 # include <unistd.h>
  464 #endif"
  465 
  466 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PDFLIB_MAJOR PDFLIB_MINOR PDFLIB_REVISION PDFLIB_LTVERSION PLOP_LTVERSION TET_LTVERSION PCOS_LTVERSION PDFLIB_LTCURRENT PDFLIB_LTREVISION PDFLIB_LTAGE PDFLIBNAME build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MAC_CFLAGS MAC_LDFLAGS FLATE_ASM_OBJ NO_O SED EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PLATFORM_ID VERSION RM TIFFWRITE PDFOPTIMIZE JAVAINCLUDE PERL PERLINCLUDE PERLLIBDIR PERLBOOLDEF PERLLINK PYINCLUDE PYTHONBIN PYTHONLIBDIR RUBY RUBYINCLUDE RUBYLIBDIR TCL TCLINCLUDE TCLPACKAGEDIR TCLBIN PDCORELIBINC PDCORELIBLINK FONTLIBLINK FONTLIBINC FLATELIBLINK FLATELIBINC PNGLIBINC PNGLIBLINK TIFFLIBINC TIFFLIBLINK JPEGLIBINC JPEGLIBLINK EXPATLIBINC EXPATLIBLINK OPENSSLLIBINC OPENSSLLIBLINK ICULIBINC ICULIBLINK ICUTLELIBINC ICUTLELIBLINK PDILIBINC PDILIBLINK PDIMAKEOBJS PLOPLIBINC PLOPLIBLINK PLOPLIB_LINK PDFLIBCONVENIENT PDFLIBINC PDFLIBLINK PDFLIB_LINK PCOSLIBINC PCOSLIBLINK PCOSLIB_LINK TETLIBINC TETLIBLINK TETLIB_LINK PDPAGELIBINC PDPAGELIBLINK CLLIBINC CLLIBLINK UTILLIBINC UTILLIBLINK ATSLIBINC ATSLIBLINK STDCPP PDFWALL PDFCPEDANTIC PDFPEDANTIC JAVA_COMPATIBILITY LIBTARGETS BINDTARGETS PROGTARGETS BINDINGS PLOPBINDINGS TETBINDINGS PCOSBINDINGS PTFDIR PROGSDIR INTERNDIR WITH_PDI RPATH EXTERNALLIBS WITH_SHARED LIBOBJS LTLIBOBJS'
  467 ac_subst_files=''
  468 
  469 # Initialize some variables set by options.
  470 ac_init_help=
  471 ac_init_version=false
  472 # The variables have the same names as the options, with
  473 # dashes changed to underlines.
  474 cache_file=/dev/null
  475 exec_prefix=NONE
  476 no_create=
  477 no_recursion=
  478 prefix=NONE
  479 program_prefix=NONE
  480 program_suffix=NONE
  481 program_transform_name=s,x,x,
  482 silent=
  483 site=
  484 srcdir=
  485 verbose=
  486 x_includes=NONE
  487 x_libraries=NONE
  488 
  489 # Installation directory options.
  490 # These are left unexpanded so users can "make install exec_prefix=/foo"
  491 # and all the variables that are supposed to be based on exec_prefix
  492 # by default will actually change.
  493 # Use braces instead of parens because sh, perl, etc. also accept them.
  494 bindir='${exec_prefix}/bin'
  495 sbindir='${exec_prefix}/sbin'
  496 libexecdir='${exec_prefix}/libexec'
  497 datadir='${prefix}/share'
  498 sysconfdir='${prefix}/etc'
  499 sharedstatedir='${prefix}/com'
  500 localstatedir='${prefix}/var'
  501 libdir='${exec_prefix}/lib'
  502 includedir='${prefix}/include'
  503 oldincludedir='/usr/include'
  504 infodir='${prefix}/info'
  505 mandir='${prefix}/man'
  506 
  507 ac_prev=
  508 for ac_option
  509 do
  510   # If the previous option needs an argument, assign it.
  511   if test -n "$ac_prev"; then
  512     eval "$ac_prev=\$ac_option"
  513     ac_prev=
  514     continue
  515   fi
  516 
  517   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  518 
  519   # Accept the important Cygnus configure options, so we can diagnose typos.
  520 
  521   case $ac_option in
  522 
  523   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  524     ac_prev=bindir ;;
  525   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  526     bindir=$ac_optarg ;;
  527 
  528   -build | --build | --buil | --bui | --bu)
  529     ac_prev=build_alias ;;
  530   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  531     build_alias=$ac_optarg ;;
  532 
  533   -cache-file | --cache-file | --cache-fil | --cache-fi \
  534   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  535     ac_prev=cache_file ;;
  536   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  537   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  538     cache_file=$ac_optarg ;;
  539 
  540   --config-cache | -C)
  541     cache_file=config.cache ;;
  542 
  543   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  544     ac_prev=datadir ;;
  545   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  546   | --da=*)
  547     datadir=$ac_optarg ;;
  548 
  549   -disable-* | --disable-*)
  550     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  551     # Reject names that are not valid shell variable names.
  552     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  553       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  554    { (exit 1); exit 1; }; }
  555     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  556     eval "enable_$ac_feature=no" ;;
  557 
  558   -enable-* | --enable-*)
  559     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  560     # Reject names that are not valid shell variable names.
  561     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  562       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  563    { (exit 1); exit 1; }; }
  564     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  565     case $ac_option in
  566       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  567       *) ac_optarg=yes ;;
  568     esac
  569     eval "enable_$ac_feature='$ac_optarg'" ;;
  570 
  571   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  572   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  573   | --exec | --exe | --ex)
  574     ac_prev=exec_prefix ;;
  575   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  576   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  577   | --exec=* | --exe=* | --ex=*)
  578     exec_prefix=$ac_optarg ;;
  579 
  580   -gas | --gas | --ga | --g)
  581     # Obsolete; use --with-gas.
  582     with_gas=yes ;;
  583 
  584   -help | --help | --hel | --he | -h)
  585     ac_init_help=long ;;
  586   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  587     ac_init_help=recursive ;;
  588   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  589     ac_init_help=short ;;
  590 
  591   -host | --host | --hos | --ho)
  592     ac_prev=host_alias ;;
  593   -host=* | --host=* | --hos=* | --ho=*)
  594     host_alias=$ac_optarg ;;
  595 
  596   -includedir | --includedir | --includedi | --included | --include \
  597   | --includ | --inclu | --incl | --inc)
  598     ac_prev=includedir ;;
  599   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  600   | --includ=* | --inclu=* | --incl=* | --inc=*)
  601     includedir=$ac_optarg ;;
  602 
  603   -infodir | --infodir | --infodi | --infod | --info | --inf)
  604     ac_prev=infodir ;;
  605   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  606     infodir=$ac_optarg ;;
  607 
  608   -libdir | --libdir | --libdi | --libd)
  609     ac_prev=libdir ;;
  610   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  611     libdir=$ac_optarg ;;
  612 
  613   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  614   | --libexe | --libex | --libe)
  615     ac_prev=libexecdir ;;
  616   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  617   | --libexe=* | --libex=* | --libe=*)
  618     libexecdir=$ac_optarg ;;
  619 
  620   -localstatedir | --localstatedir | --localstatedi | --localstated \
  621   | --localstate | --localstat | --localsta | --localst \
  622   | --locals | --local | --loca | --loc | --lo)
  623     ac_prev=localstatedir ;;
  624   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  625   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  626   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  627     localstatedir=$ac_optarg ;;
  628 
  629   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  630     ac_prev=mandir ;;
  631   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  632     mandir=$ac_optarg ;;
  633 
  634   -nfp | --nfp | --nf)
  635     # Obsolete; use --without-fp.
  636     with_fp=no ;;
  637 
  638   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  639   | --no-cr | --no-c | -n)
  640     no_create=yes ;;
  641 
  642   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  643   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  644     no_recursion=yes ;;
  645 
  646   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  647   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  648   | --oldin | --oldi | --old | --ol | --o)
  649     ac_prev=oldincludedir ;;
  650   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  651   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  652   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  653     oldincludedir=$ac_optarg ;;
  654 
  655   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  656     ac_prev=prefix ;;
  657   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  658     prefix=$ac_optarg ;;
  659 
  660   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  661   | --program-pre | --program-pr | --program-p)
  662     ac_prev=program_prefix ;;
  663   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  664   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  665     program_prefix=$ac_optarg ;;
  666 
  667   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  668   | --program-suf | --program-su | --program-s)
  669     ac_prev=program_suffix ;;
  670   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  671   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  672     program_suffix=$ac_optarg ;;
  673 
  674   -program-transform-name | --program-transform-name \
  675   | --program-transform-nam | --program-transform-na \
  676   | --program-transform-n | --program-transform- \
  677   | --program-transform | --program-transfor \
  678   | --program-transfo | --program-transf \
  679   | --program-trans | --program-tran \
  680   | --progr-tra | --program-tr | --program-t)
  681     ac_prev=program_transform_name ;;
  682   -program-transform-name=* | --program-transform-name=* \
  683   | --program-transform-nam=* | --program-transform-na=* \
  684   | --program-transform-n=* | --program-transform-=* \
  685   | --program-transform=* | --program-transfor=* \
  686   | --program-transfo=* | --program-transf=* \
  687   | --program-trans=* | --program-tran=* \
  688   | --progr-tra=* | --program-tr=* | --program-t=*)
  689     program_transform_name=$ac_optarg ;;
  690 
  691   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  692   | -silent | --silent | --silen | --sile | --sil)
  693     silent=yes ;;
  694 
  695   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  696     ac_prev=sbindir ;;
  697   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  698   | --sbi=* | --sb=*)
  699     sbindir=$ac_optarg ;;
  700 
  701   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  702   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  703   | --sharedst | --shareds | --shared | --share | --shar \
  704   | --sha | --sh)
  705     ac_prev=sharedstatedir ;;
  706   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  707   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  708   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  709   | --sha=* | --sh=*)
  710     sharedstatedir=$ac_optarg ;;
  711 
  712   -site | --site | --sit)
  713     ac_prev=site ;;
  714   -site=* | --site=* | --sit=*)
  715     site=$ac_optarg ;;
  716 
  717   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  718     ac_prev=srcdir ;;
  719   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  720     srcdir=$ac_optarg ;;
  721 
  722   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  723   | --syscon | --sysco | --sysc | --sys | --sy)
  724     ac_prev=sysconfdir ;;
  725   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  726   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  727     sysconfdir=$ac_optarg ;;
  728 
  729   -target | --target | --targe | --targ | --tar | --ta | --t)
  730     ac_prev=target_alias ;;
  731   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  732     target_alias=$ac_optarg ;;
  733 
  734   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  735     verbose=yes ;;
  736 
  737   -version | --version | --versio | --versi | --vers | -V)
  738     ac_init_version=: ;;
  739 
  740   -with-* | --with-*)
  741     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  742     # Reject names that are not valid shell variable names.
  743     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  744       { echo "$as_me: error: invalid package name: $ac_package" >&2
  745    { (exit 1); exit 1; }; }
  746     ac_package=`echo $ac_package| sed 's/-/_/g'`
  747     case $ac_option in
  748       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  749       *) ac_optarg=yes ;;
  750     esac
  751     eval "with_$ac_package='$ac_optarg'" ;;
  752 
  753   -without-* | --without-*)
  754     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  755     # Reject names that are not valid shell variable names.
  756     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  757       { echo "$as_me: error: invalid package name: $ac_package" >&2
  758    { (exit 1); exit 1; }; }
  759     ac_package=`echo $ac_package | sed 's/-/_/g'`
  760     eval "with_$ac_package=no" ;;
  761 
  762   --x)
  763     # Obsolete; use --with-x.
  764     with_x=yes ;;
  765 
  766   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  767   | --x-incl | --x-inc | --x-in | --x-i)
  768     ac_prev=x_includes ;;
  769   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  770   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  771     x_includes=$ac_optarg ;;
  772 
  773   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  774   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  775     ac_prev=x_libraries ;;
  776   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  777   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  778     x_libraries=$ac_optarg ;;
  779 
  780   -*) { echo "$as_me: error: unrecognized option: $ac_option
  781 Try \`$0 --help' for more information." >&2
  782    { (exit 1); exit 1; }; }
  783     ;;
  784 
  785   *=*)
  786     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  787     # Reject names that are not valid shell variable names.
  788     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  789       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  790    { (exit 1); exit 1; }; }
  791     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  792     eval "$ac_envvar='$ac_optarg'"
  793     export $ac_envvar ;;
  794 
  795   *)
  796     # FIXME: should be removed in autoconf 3.0.
  797     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  798     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  799       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  800     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  801     ;;
  802 
  803   esac
  804 done
  805 
  806 if test -n "$ac_prev"; then
  807   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  808   { echo "$as_me: error: missing argument to $ac_option" >&2
  809    { (exit 1); exit 1; }; }
  810 fi
  811 
  812 # Be sure to have absolute paths.
  813 for ac_var in exec_prefix prefix
  814 do
  815   eval ac_val=$`echo $ac_var`
  816   case $ac_val in
  817     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  818     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  819    { (exit 1); exit 1; }; };;
  820   esac
  821 done
  822 
  823 # Be sure to have absolute paths.
  824 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  825           localstatedir libdir includedir oldincludedir infodir mandir
  826 do
  827   eval ac_val=$`echo $ac_var`
  828   case $ac_val in
  829     [\\/$]* | ?:[\\/]* ) ;;
  830     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  831    { (exit 1); exit 1; }; };;
  832   esac
  833 done
  834 
  835 # There might be people who depend on the old broken behavior: `$host'
  836 # used to hold the argument of --host etc.
  837 # FIXME: To remove some day.
  838 build=$build_alias
  839 host=$host_alias
  840 target=$target_alias
  841 
  842 # FIXME: To remove some day.
  843 if test "x$host_alias" != x; then
  844   if test "x$build_alias" = x; then
  845     cross_compiling=maybe
  846     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  847     If a cross compiler is detected then cross compile mode will be used." >&2
  848   elif test "x$build_alias" != "x$host_alias"; then
  849     cross_compiling=yes
  850   fi
  851 fi
  852 
  853 ac_tool_prefix=
  854 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  855 
  856 test "$silent" = yes && exec 6>/dev/null
  857 
  858 
  859 # Find the source files, if location was not specified.
  860 if test -z "$srcdir"; then
  861   ac_srcdir_defaulted=yes
  862   # Try the directory containing this script, then its parent.
  863   ac_confdir=`(dirname "$0") 2>/dev/null ||
  864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  865      X"$0" : 'X\(//\)[^/]' \| \
  866      X"$0" : 'X\(//\)$' \| \
  867      X"$0" : 'X\(/\)' \| \
  868      .     : '\(.\)' 2>/dev/null ||
  869 echo X"$0" |
  870     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  871       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  872       /^X\(\/\/\)$/{ s//\1/; q; }
  873       /^X\(\/\).*/{ s//\1/; q; }
  874       s/.*/./; q'`
  875   srcdir=$ac_confdir
  876   if test ! -r $srcdir/$ac_unique_file; then
  877     srcdir=..
  878   fi
  879 else
  880   ac_srcdir_defaulted=no
  881 fi
  882 if test ! -r $srcdir/$ac_unique_file; then
  883   if test "$ac_srcdir_defaulted" = yes; then
  884     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  885    { (exit 1); exit 1; }; }
  886   else
  887     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  888    { (exit 1); exit 1; }; }
  889   fi
  890 fi
  891 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  892   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  893    { (exit 1); exit 1; }; }
  894 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  895 ac_env_build_alias_set=${build_alias+set}
  896 ac_env_build_alias_value=$build_alias
  897 ac_cv_env_build_alias_set=${build_alias+set}
  898 ac_cv_env_build_alias_value=$build_alias
  899 ac_env_host_alias_set=${host_alias+set}
  900 ac_env_host_alias_value=$host_alias
  901 ac_cv_env_host_alias_set=${host_alias+set}
  902 ac_cv_env_host_alias_value=$host_alias
  903 ac_env_target_alias_set=${target_alias+set}
  904 ac_env_target_alias_value=$target_alias
  905 ac_cv_env_target_alias_set=${target_alias+set}
  906 ac_cv_env_target_alias_value=$target_alias
  907 ac_env_CC_set=${CC+set}
  908 ac_env_CC_value=$CC
  909 ac_cv_env_CC_set=${CC+set}
  910 ac_cv_env_CC_value=$CC
  911 ac_env_CFLAGS_set=${CFLAGS+set}
  912 ac_env_CFLAGS_value=$CFLAGS
  913 ac_cv_env_CFLAGS_set=${CFLAGS+set}
  914 ac_cv_env_CFLAGS_value=$CFLAGS
  915 ac_env_LDFLAGS_set=${LDFLAGS+set}
  916 ac_env_LDFLAGS_value=$LDFLAGS
  917 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  918 ac_cv_env_LDFLAGS_value=$LDFLAGS
  919 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  920 ac_env_CPPFLAGS_value=$CPPFLAGS
  921 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  922 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  923 ac_env_CPP_set=${CPP+set}
  924 ac_env_CPP_value=$CPP
  925 ac_cv_env_CPP_set=${CPP+set}
  926 ac_cv_env_CPP_value=$CPP
  927 ac_env_CXX_set=${CXX+set}
  928 ac_env_CXX_value=$CXX
  929 ac_cv_env_CXX_set=${CXX+set}
  930 ac_cv_env_CXX_value=$CXX
  931 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  932 ac_env_CXXFLAGS_value=$CXXFLAGS
  933 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  934 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  935 ac_env_CXXCPP_set=${CXXCPP+set}
  936 ac_env_CXXCPP_value=$CXXCPP
  937 ac_cv_env_CXXCPP_set=${CXXCPP+set}
  938 ac_cv_env_CXXCPP_value=$CXXCPP
  939 ac_env_F77_set=${F77+set}
  940 ac_env_F77_value=$F77
  941 ac_cv_env_F77_set=${F77+set}
  942 ac_cv_env_F77_value=$F77
  943 ac_env_FFLAGS_set=${FFLAGS+set}
  944 ac_env_FFLAGS_value=$FFLAGS
  945 ac_cv_env_FFLAGS_set=${FFLAGS+set}
  946 ac_cv_env_FFLAGS_value=$FFLAGS
  947 
  948 #
  949 # Report the --help message.
  950 #
  951 if test "$ac_init_help" = "long"; then
  952   # Omit some internal or obsolete options to make the list less imposing.
  953   # This message is too long to be a string in the A/UX 3.1 sh.
  954   cat <<_ACEOF
  955 \`configure' configures this package to adapt to many kinds of systems.
  956 
  957 Usage: $0 [OPTION]... [VAR=VALUE]...
  958 
  959 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  960 VAR=VALUE.  See below for descriptions of some of the useful variables.
  961 
  962 Defaults for the options are specified in brackets.
  963 
  964 Configuration:
  965   -h, --help              display this help and exit
  966       --help=short        display options specific to this package
  967       --help=recursive    display the short help of all the included packages
  968   -V, --version           display version information and exit
  969   -q, --quiet, --silent   do not print \`checking...' messages
  970       --cache-file=FILE   cache test results in FILE [disabled]
  971   -C, --config-cache      alias for \`--cache-file=config.cache'
  972   -n, --no-create         do not create output files
  973       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  974 
  975 _ACEOF
  976 
  977   cat <<_ACEOF
  978 Installation directories:
  979   --prefix=PREFIX         install architecture-independent files in PREFIX
  980               [$ac_default_prefix]
  981   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  982               [PREFIX]
  983 
  984 By default, \`make install' will install all the files in
  985 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  986 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  987 for instance \`--prefix=\$HOME'.
  988 
  989 For better control, use the options below.
  990 
  991 Fine tuning of the installation directories:
  992   --bindir=DIR           user executables [EPREFIX/bin]
  993   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  994   --libexecdir=DIR       program executables [EPREFIX/libexec]
  995   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  996   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  997   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  998   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  999   --libdir=DIR           object code libraries [EPREFIX/lib]
 1000   --includedir=DIR       C header files [PREFIX/include]
 1001   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 1002   --infodir=DIR          info documentation [PREFIX/info]
 1003   --mandir=DIR           man documentation [PREFIX/man]
 1004 _ACEOF
 1005 
 1006   cat <<\_ACEOF
 1007 
 1008 System types:
 1009   --build=BUILD     configure for building on BUILD [guessed]
 1010   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1011 _ACEOF
 1012 fi
 1013 
 1014 if test -n "$ac_init_help"; then
 1015 
 1016   cat <<\_ACEOF
 1017 
 1018 Optional Features:
 1019   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1020   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1021   --enable-debug          turn on debugging
 1022   --enable-profile        turn on profiling
 1023   --enable-64bit          turn on 64bit build
 1024   --enable-sfio           turn on sfio build
 1025   --enable-mac_legacy     build legacy (carbon, ...) binaries (Mac), unsupported
 1026   --enable-universal      build universal binaries (Mac), unsupported
 1027   --enable-large_files    enable support for files large than 2GB
 1028   --enable-xplink         xplink and dynamic linking (z/OS USS)
 1029   --enable-tiffwrite      enable write support for tifflib
 1030   --disable-security      Build without Security Code
 1031   --enable-shared[=PKGS]
 1032                           build shared libraries [default=yes]
 1033   --enable-static[=PKGS]
 1034                           build static libraries [default=yes]
 1035   --enable-fast-install[=PKGS]
 1036                           optimize for fast installation [default=yes]
 1037   --disable-libtool-lock  avoid locking (might break parallel builds)
 1038   --enable-icu            enable ICU support default=no
 1039   --enable-cxx            enable C++ language binding default=yes
 1040   --enable-pedantic       enable pedantic warnings (gcc only)]
 1041 
 1042 Optional Packages:
 1043   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1044   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1045   --with-pdflibname=name  set file name of generated library default=pdf
 1046   --with-libm=name        set math library option default=-lm
 1047   --with-macarch=architecture  Mac OSX architecture to build for, unsupported.
 1048   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1049   --with-pic              try to use only PIC/non-PIC objects [default=use
 1050                           both]
 1051   --with-tags[=TAGS]
 1052                           include additional configurations [automatic]
 1053   --with-java=path        full path of Java Developers Kit, or no
 1054   --with-perl=path        full path of Perl executable, or no
 1055   --with-perlincl=path    full path of Perl include directory
 1056   --with-py=path          full path of Python root directory, or no
 1057   --with-pyincl=path      full path of Python include directory
 1058   --with-ruby=path        x, or no
 1059   --with-rubyincl=path    full path of Ruby include directory
 1060   --with-tcl=path         full path of Tcl executable, or no
 1061   --with-tclpkg=path      full path of Tcl package install directory
 1062   --with-tclincl=path     full path of Tcl include directory
 1063   --with-openssl          include openssl support
 1064   --without-PLOP          don't include PLOP
 1065   --without-PCOS          don't include PCOS
 1066   --without-TET           don't include TET
 1067   --without-CL            don't include CL
 1068 
 1069 Some influential environment variables:
 1070   CC          C compiler command
 1071   CFLAGS      C compiler flags
 1072   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1073               nonstandard directory <lib dir>
 1074   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 1075               headers in a nonstandard directory <include dir>
 1076   CPP         C preprocessor
 1077   CXX         C++ compiler command
 1078   CXXFLAGS    C++ compiler flags
 1079   CXXCPP      C++ preprocessor
 1080   F77         Fortran 77 compiler command
 1081   FFLAGS      Fortran 77 compiler flags
 1082 
 1083 Use these variables to override the choices made by `configure' or to help
 1084 it to find libraries and programs with nonstandard names/locations.
 1085 
 1086 _ACEOF
 1087 fi
 1088 
 1089 if test "$ac_init_help" = "recursive"; then
 1090   # If there are subdirs, report their specific --help.
 1091   ac_popdir=`pwd`
 1092   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1093     test -d $ac_dir || continue
 1094     ac_builddir=.
 1095 
 1096 if test "$ac_dir" != .; then
 1097   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 1098   # A "../" for each directory in $ac_dir_suffix.
 1099   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 1100 else
 1101   ac_dir_suffix= ac_top_builddir=
 1102 fi
 1103 
 1104 case $srcdir in
 1105   .)  # No --srcdir option.  We are building in place.
 1106     ac_srcdir=.
 1107     if test -z "$ac_top_builddir"; then
 1108        ac_top_srcdir=.
 1109     else
 1110        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 1111     fi ;;
 1112   [\\/]* | ?:[\\/]* )  # Absolute path.
 1113     ac_srcdir=$srcdir$ac_dir_suffix;
 1114     ac_top_srcdir=$srcdir ;;
 1115   *) # Relative path.
 1116     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 1117     ac_top_srcdir=$ac_top_builddir$srcdir ;;
 1118 esac
 1119 
 1120 # Do not use `cd foo && pwd` to compute absolute paths, because
 1121 # the directories may not exist.
 1122 case `pwd` in
 1123 .) ac_abs_builddir="$ac_dir";;
 1124 *)
 1125   case "$ac_dir" in
 1126   .) ac_abs_builddir=`pwd`;;
 1127   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 1128   *) ac_abs_builddir=`pwd`/"$ac_dir";;
 1129   esac;;
 1130 esac
 1131 case $ac_abs_builddir in
 1132 .) ac_abs_top_builddir=${ac_top_builddir}.;;
 1133 *)
 1134   case ${ac_top_builddir}. in
 1135   .) ac_abs_top_builddir=$ac_abs_builddir;;
 1136   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 1137   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 1138   esac;;
 1139 esac
 1140 case $ac_abs_builddir in
 1141 .) ac_abs_srcdir=$ac_srcdir;;
 1142 *)
 1143   case $ac_srcdir in
 1144   .) ac_abs_srcdir=$ac_abs_builddir;;
 1145   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 1146   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 1147   esac;;
 1148 esac
 1149 case $ac_abs_builddir in
 1150 .) ac_abs_top_srcdir=$ac_top_srcdir;;
 1151 *)
 1152   case $ac_top_srcdir in
 1153   .) ac_abs_top_srcdir=$ac_abs_builddir;;
 1154   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 1155   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 1156   esac;;
 1157 esac
 1158 
 1159     cd $ac_dir
 1160     # Check for guested configure; otherwise get Cygnus style configure.
 1161     if test -f $ac_srcdir/configure.gnu; then
 1162       echo
 1163       $SHELL $ac_srcdir/configure.gnu  --help=recursive
 1164     elif test -f $ac_srcdir/configure; then
 1165       echo
 1166       $SHELL $ac_srcdir/configure  --help=recursive
 1167     elif test -f $ac_srcdir/configure.ac ||
 1168        test -f $ac_srcdir/configure.in; then
 1169       echo
 1170       $ac_configure --help
 1171     else
 1172       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1173     fi
 1174     cd $ac_popdir
 1175   done
 1176 fi
 1177 
 1178 test -n "$ac_init_help" && exit 0
 1179 if $ac_init_version; then
 1180   cat <<\_ACEOF
 1181 
 1182 Copyright (C) 2003 Free Software Foundation, Inc.
 1183 This configure script is free software; the Free Software Foundation
 1184 gives unlimited permission to copy, distribute and modify it.
 1185 _ACEOF
 1186   exit 0
 1187 fi
 1188 exec 5>config.log
 1189 cat >&5 <<_ACEOF
 1190 This file contains any messages produced by compilers while
 1191 running configure, to aid debugging if configure makes a mistake.
 1192 
 1193 It was created by $as_me, which was
 1194 generated by GNU Autoconf 2.59.  Invocation command line was
 1195 
 1196   $ $0 $@
 1197 
 1198 _ACEOF
 1199 {
 1200 cat <<_ASUNAME
 1201 ## --------- ##
 1202 ## Platform. ##
 1203 ## --------- ##
 1204 
 1205 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1206 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1207 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1208 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1209 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1210 
 1211 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1212 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1213 
 1214 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1215 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1216 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1217 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 1218 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1219 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1220 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1221 
 1222 _ASUNAME
 1223 
 1224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1225 for as_dir in $PATH
 1226 do
 1227   IFS=$as_save_IFS
 1228   test -z "$as_dir" && as_dir=.
 1229   echo "PATH: $as_dir"
 1230 done
 1231 
 1232 } >&5
 1233 
 1234 cat >&5 <<_ACEOF
 1235 
 1236 
 1237 ## ----------- ##
 1238 ## Core tests. ##
 1239 ## ----------- ##
 1240 
 1241 _ACEOF
 1242 
 1243 
 1244 # Keep a trace of the command line.
 1245 # Strip out --no-create and --no-recursion so they do not pile up.
 1246 # Strip out --silent because we don't want to record it for future runs.
 1247 # Also quote any args containing shell meta-characters.
 1248 # Make two passes to allow for proper duplicate-argument suppression.
 1249 ac_configure_args=
 1250 ac_configure_args0=
 1251 ac_configure_args1=
 1252 ac_sep=
 1253 ac_must_keep_next=false
 1254 for ac_pass in 1 2
 1255 do
 1256   for ac_arg
 1257   do
 1258     case $ac_arg in
 1259     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1260     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1261     | -silent | --silent | --silen | --sile | --sil)
 1262       continue ;;
 1263     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1264       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1265     esac
 1266     case $ac_pass in
 1267     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1268     2)
 1269       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1270       if test $ac_must_keep_next = true; then
 1271     ac_must_keep_next=false # Got value, back to normal.
 1272       else
 1273     case $ac_arg in
 1274       *=* | --config-cache | -C | -disable-* | --disable-* \
 1275       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1276       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1277       | -with-* | --with-* | -without-* | --without-* | --x)
 1278         case "$ac_configure_args0 " in
 1279           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1280         esac
 1281         ;;
 1282       -* ) ac_must_keep_next=true ;;
 1283     esac
 1284       fi
 1285       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 1286       # Get rid of the leading space.
 1287       ac_sep=" "
 1288       ;;
 1289     esac
 1290   done
 1291 done
 1292 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1293 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1294 
 1295 # When interrupted or exit'd, cleanup temporary files, and complete
 1296 # config.log.  We remove comments because anyway the quotes in there
 1297 # would cause problems or look ugly.
 1298 # WARNING: Be sure not to use single quotes in there, as some shells,
 1299 # such as our DU 5.0 friend, will then `close' the trap.
 1300 trap 'exit_status=$?
 1301   # Save into config.log some information that might help in debugging.
 1302   {
 1303     echo
 1304 
 1305     cat <<\_ASBOX
 1306 ## ---------------- ##
 1307 ## Cache variables. ##
 1308 ## ---------------- ##
 1309 _ASBOX
 1310     echo
 1311     # The following way of writing the cache mishandles newlines in values,
 1312 {
 1313   (set) 2>&1 |
 1314     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 1315     *ac_space=\ *)
 1316       sed -n \
 1317     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 1318       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 1319       ;;
 1320     *)
 1321       sed -n \
 1322     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 1323       ;;
 1324     esac;
 1325 }
 1326     echo
 1327 
 1328     cat <<\_ASBOX
 1329 ## ----------------- ##
 1330 ## Output variables. ##
 1331 ## ----------------- ##
 1332 _ASBOX
 1333     echo
 1334     for ac_var in $ac_subst_vars
 1335     do
 1336       eval ac_val=$`echo $ac_var`
 1337       echo "$ac_var='"'"'$ac_val'"'"'"
 1338     done | sort
 1339     echo
 1340 
 1341     if test -n "$ac_subst_files"; then
 1342       cat <<\_ASBOX
 1343 ## ------------- ##
 1344 ## Output files. ##
 1345 ## ------------- ##
 1346 _ASBOX
 1347       echo
 1348       for ac_var in $ac_subst_files
 1349       do
 1350     eval ac_val=$`echo $ac_var`
 1351     echo "$ac_var='"'"'$ac_val'"'"'"
 1352       done | sort
 1353       echo
 1354     fi
 1355 
 1356     if test -s confdefs.h; then
 1357       cat <<\_ASBOX
 1358 ## ----------- ##
 1359 ## confdefs.h. ##
 1360 ## ----------- ##
 1361 _ASBOX
 1362       echo
 1363       sed "/^$/d" confdefs.h | sort
 1364       echo
 1365     fi
 1366     test "$ac_signal" != 0 &&
 1367       echo "$as_me: caught signal $ac_signal"
 1368     echo "$as_me: exit $exit_status"
 1369   } >&5
 1370   rm -f core *.core &&
 1371   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 1372     exit $exit_status
 1373      ' 0
 1374 for ac_signal in 1 2 13 15; do
 1375   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1376 done
 1377 ac_signal=0
 1378 
 1379 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1380 rm -rf conftest* confdefs.h
 1381 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 1382 echo >confdefs.h
 1383 
 1384 # Predefined preprocessor variables.
 1385 
 1386 cat >>confdefs.h <<_ACEOF
 1387 #define PACKAGE_NAME "$PACKAGE_NAME"
 1388 _ACEOF
 1389 
 1390 
 1391 cat >>confdefs.h <<_ACEOF
 1392 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1393 _ACEOF
 1394 
 1395 
 1396 cat >>confdefs.h <<_ACEOF
 1397 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1398 _ACEOF
 1399 
 1400 
 1401 cat >>confdefs.h <<_ACEOF
 1402 #define PACKAGE_STRING "$PACKAGE_STRING"
 1403 _ACEOF
 1404 
 1405 
 1406 cat >>confdefs.h <<_ACEOF
 1407 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1408 _ACEOF
 1409 
 1410 
 1411 # Let the site file select an alternate cache file if it wants to.
 1412 # Prefer explicitly selected file to automatically selected ones.
 1413 if test -z "$CONFIG_SITE"; then
 1414   if test "x$prefix" != xNONE; then
 1415     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 1416   else
 1417     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 1418   fi
 1419 fi
 1420 for ac_site_file in $CONFIG_SITE; do
 1421   if test -r "$ac_site_file"; then
 1422     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1423 echo "$as_me: loading site script $ac_site_file" >&6;}
 1424     sed 's/^/| /' "$ac_site_file" >&5
 1425     . "$ac_site_file"
 1426   fi
 1427 done
 1428 
 1429 if test -r "$cache_file"; then
 1430   # Some versions of bash will fail to source /dev/null (special
 1431   # files actually), so we avoid doing that.
 1432   if test -f "$cache_file"; then
 1433     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1434 echo "$as_me: loading cache $cache_file" >&6;}
 1435     case $cache_file in
 1436       [\\/]* | ?:[\\/]* ) . $cache_file;;
 1437       *)                      . ./$cache_file;;
 1438     esac
 1439   fi
 1440 else
 1441   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1442 echo "$as_me: creating cache $cache_file" >&6;}
 1443   >$cache_file
 1444 fi
 1445 
 1446 # Check that the precious variables saved in the cache have kept the same
 1447 # value.
 1448 ac_cache_corrupted=false
 1449 for ac_var in `(set) 2>&1 |
 1450            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 1451   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1452   eval ac_new_set=\$ac_env_${ac_var}_set
 1453   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 1454   eval ac_new_val="\$ac_env_${ac_var}_value"
 1455   case $ac_old_set,$ac_new_set in
 1456     set,)
 1457       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1458 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1459       ac_cache_corrupted=: ;;
 1460     ,set)
 1461       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1462 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1463       ac_cache_corrupted=: ;;
 1464     ,);;
 1465     *)
 1466       if test "x$ac_old_val" != "x$ac_new_val"; then
 1467     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1468 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1469     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1470 echo "$as_me:   former value:  $ac_old_val" >&2;}
 1471     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1472 echo "$as_me:   current value: $ac_new_val" >&2;}
 1473     ac_cache_corrupted=:
 1474       fi;;
 1475   esac
 1476   # Pass precious variables to config.status.
 1477   if test "$ac_new_set" = set; then
 1478     case $ac_new_val in
 1479     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1480       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1481     *) ac_arg=$ac_var=$ac_new_val ;;
 1482     esac
 1483     case " $ac_configure_args " in
 1484       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1485       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1486     esac
 1487   fi
 1488 done
 1489 if $ac_cache_corrupted; then
 1490   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1491 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1492   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1493 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1494    { (exit 1); exit 1; }; }
 1495 fi
 1496 
 1497 ac_ext=c
 1498 ac_cpp='$CPP $CPPFLAGS'
 1499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1502 
 1503 
 1504 
 1505 
 1506 
 1507 
 1508 
 1509 
 1510 
 1511 
 1512 
 1513 
 1514 
 1515 
 1516 
 1517 
 1518 
 1519 
 1520 
 1521 
 1522 VERSION="7.0.5"
 1523 PDFLIB_MAJOR=7
 1524 PDFLIB_MINOR=0
 1525 PDFLIB_REVISION=5
 1526 
 1527 
 1528 
 1529 
 1530 
 1531 
 1532 PDFLIB_LTCURRENT=6
 1533 PDFLIB_LTREVISION=5
 1534 PDFLIB_LTAGE=0
 1535 
 1536 PLOP_LTCURRENT=1
 1537 PLOP_LTREVISION=0
 1538 PLOP_LTAGE=0
 1539 
 1540 TET_LTCURRENT=2
 1541 TET_LTREVISION=0
 1542 TET_LTAGE=1
 1543 
 1544 PCOS_LTCURRENT=1
 1545 PCOS_LTREVISION=0
 1546 PCOS_LTAGE=0
 1547 
 1548 PDFLIB_LTVERSION="$PDFLIB_LTCURRENT:$PDFLIB_LTREVISION:$PDFLIB_LTAGE"
 1549 PLOP_LTVERSION="$PLOP_LTCURRENT:$PLOP_LTREVISION:$PLOP_LTAGE"
 1550 TET_LTVERSION="$TET_LTCURRENT:$TET_LTREVISION:$TET_LTAGE"
 1551 PCOS_LTVERSION="$PCOS_LTCURRENT:$PCOS_LTREVISION:$PCOS_LTAGE"
 1552 
 1553 
 1554 
 1555 
 1556 
 1557 
 1558 # do not remove this second RCS Id as we want to have it in the generated
 1559 # configure script
 1560 # $Id: configure,v 1.10.2.26 2010/04/28 18:00:10 rjs Exp $
 1561 # required for the pdflib-config script
 1562 
 1563 
 1564 
 1565 
 1566 
 1567 PDFLIBNAME=pdf
 1568 
 1569 # Check whether --with-pdflibname or --without-pdflibname was given.
 1570 if test "${with_pdflibname+set}" = set; then
 1571   withval="$with_pdflibname"
 1572   PDFLIBNAME="$withval"
 1573 fi;
 1574 
 1575 MATHLIB="-lm"
 1576 
 1577 # Check whether --with-libm or --without-libm was given.
 1578 if test "${with_libm+set}" = set; then
 1579   withval="$with_libm"
 1580   MATHLIB="$withval"
 1581 fi;
 1582 
 1583 
 1584 
 1585 ac_aux_dir=
 1586 for ac_dir in config $srcdir/config; do
 1587   if test -f $ac_dir/install-sh; then
 1588     ac_aux_dir=$ac_dir
 1589     ac_install_sh="$ac_aux_dir/install-sh -c"
 1590     break
 1591   elif test -f $ac_dir/install.sh; then
 1592     ac_aux_dir=$ac_dir
 1593     ac_install_sh="$ac_aux_dir/install.sh -c"
 1594     break
 1595   elif test -f $ac_dir/shtool; then
 1596     ac_aux_dir=$ac_dir
 1597     ac_install_sh="$ac_aux_dir/shtool install -c"
 1598     break
 1599   fi
 1600 done
 1601 if test -z "$ac_aux_dir"; then
 1602   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
 1603 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
 1604    { (exit 1); exit 1; }; }
 1605 fi
 1606 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 1607 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 1608 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 1609 
 1610 
 1611 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 1612 ## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007
 1613 ## Free Software Foundation, Inc.
 1614 ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 1615 ##
 1616 ## This file is free software; the Free Software Foundation gives
 1617 ## unlimited permission to copy and/or distribute it, with or without
 1618 ## modifications, as long as this notice is preserved.
 1619 
 1620 # serial 51 AC_PROG_LIBTOOL
 1621 
 1622 
 1623 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
 1624 # -----------------------------------------------------------
 1625 # If this macro is not defined by Autoconf, define it here.
 1626 
 1627 
 1628 
 1629 # AC_PROG_LIBTOOL
 1630 # ---------------
 1631 # AC_PROG_LIBTOOL
 1632 
 1633 
 1634 # _AC_PROG_LIBTOOL
 1635 # ----------------
 1636 # _AC_PROG_LIBTOOL
 1637 
 1638 
 1639 # AC_LIBTOOL_SETUP
 1640 # ----------------
 1641 # AC_LIBTOOL_SETUP
 1642 
 1643 
 1644 # _LT_AC_SYS_COMPILER
 1645 # -------------------
 1646 # _LT_AC_SYS_COMPILER
 1647 
 1648 
 1649 # _LT_CC_BASENAME(CC)
 1650 # -------------------
 1651 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 1652 
 1653 
 1654 
 1655 # _LT_COMPILER_BOILERPLATE
 1656 # ------------------------
 1657 # Check for compiler boilerplate output or warnings with
 1658 # the simple compiler test code.
 1659 # _LT_COMPILER_BOILERPLATE
 1660 
 1661 
 1662 # _LT_LINKER_BOILERPLATE
 1663 # ----------------------
 1664 # Check for linker boilerplate output or warnings with
 1665 # the simple link test code.
 1666 # _LT_LINKER_BOILERPLATE
 1667 
 1668 
 1669 # _LT_AC_SYS_LIBPATH_AIX
 1670 # ----------------------
 1671 # Links a minimal program and checks the executable
 1672 # for the system default hardcoded library path. In most cases,
 1673 # this is /usr/lib:/lib, but when the MPI compilers are used
 1674 # the location of the communication and MPI libs are included too.
 1675 # If we don't find anything, use the default library path according
 1676 # to the aix ld manual.
 1677 # _LT_AC_SYS_LIBPATH_AIX
 1678 
 1679 
 1680 # _LT_AC_SHELL_INIT(ARG)
 1681 # ----------------------
 1682 # _LT_AC_SHELL_INIT
 1683 
 1684 
 1685 # _LT_AC_PROG_ECHO_BACKSLASH
 1686 # --------------------------
 1687 # Add some code to the start of the generated configure script which
 1688 # will find an echo command which doesn't interpret backslashes.
 1689 # _LT_AC_PROG_ECHO_BACKSLASH
 1690 
 1691 
 1692 # _LT_AC_LOCK
 1693 # -----------
 1694 # _LT_AC_LOCK
 1695 
 1696 
 1697 # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 1698 #       [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
 1699 # ----------------------------------------------------------------
 1700 # Check whether the given compiler option works
 1701 # AC_LIBTOOL_COMPILER_OPTION
 1702 
 1703 
 1704 # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 1705 #                          [ACTION-SUCCESS], [ACTION-FAILURE])
 1706 # ------------------------------------------------------------
 1707 # Check whether the given compiler option works
 1708 # AC_LIBTOOL_LINKER_OPTION
 1709 
 1710 
 1711 # AC_LIBTOOL_SYS_MAX_CMD_LEN
 1712 # --------------------------
 1713 # AC_LIBTOOL_SYS_MAX_CMD_LEN
 1714 
 1715 
 1716 # _LT_AC_CHECK_DLFCN
 1717 # ------------------
 1718 # _LT_AC_CHECK_DLFCN
 1719 
 1720 
 1721 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 1722 #                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 1723 # ---------------------------------------------------------------------
 1724 # _LT_AC_TRY_DLOPEN_SELF
 1725 
 1726 
 1727 # AC_LIBTOOL_DLOPEN_SELF
 1728 # ----------------------
 1729 # AC_LIBTOOL_DLOPEN_SELF
 1730 
 1731 
 1732 # AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
 1733 # ---------------------------------
 1734 # Check to see if options -c and -o are simultaneously supported by compiler
 1735 # AC_LIBTOOL_PROG_CC_C_O
 1736 
 1737 
 1738 # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
 1739 # -----------------------------------------
 1740 # Check to see if we can do hard links to lock some files if needed
 1741 # AC_LIBTOOL_SYS_HARD_LINK_LOCKS
 1742 
 1743 
 1744 # AC_LIBTOOL_OBJDIR
 1745 # -----------------
 1746 # AC_LIBTOOL_OBJDIR
 1747 
 1748 
 1749 # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
 1750 # ----------------------------------------------
 1751 # Check hardcoding attributes.
 1752 # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
 1753 
 1754 
 1755 # AC_LIBTOOL_SYS_LIB_STRIP
 1756 # ------------------------
 1757 # AC_LIBTOOL_SYS_LIB_STRIP
 1758 
 1759 
 1760 # AC_LIBTOOL_SYS_DYNAMIC_LINKER
 1761 # -----------------------------
 1762 # PORTME Fill in your ld.so characteristics
 1763 # AC_LIBTOOL_SYS_DYNAMIC_LINKER
 1764 
 1765 
 1766 # _LT_AC_TAGCONFIG
 1767 # ----------------
 1768 # _LT_AC_TAGCONFIG
 1769 
 1770 
 1771 # AC_LIBTOOL_DLOPEN
 1772 # -----------------
 1773 # enable checks for dlopen support
 1774 # AC_LIBTOOL_DLOPEN
 1775 
 1776 
 1777 # AC_LIBTOOL_WIN32_DLL
 1778 # --------------------
 1779 # declare package support for building win32 DLLs
 1780 # AC_LIBTOOL_WIN32_DLL
 1781 
 1782 
 1783 # AC_ENABLE_SHARED([DEFAULT])
 1784 # ---------------------------
 1785 # implement the --enable-shared flag
 1786 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 1787 # AC_ENABLE_SHARED
 1788 
 1789 
 1790 # AC_DISABLE_SHARED
 1791 # -----------------
 1792 # set the default shared flag to --disable-shared
 1793 # AC_DISABLE_SHARED
 1794 
 1795 
 1796 # AC_ENABLE_STATIC([DEFAULT])
 1797 # ---------------------------
 1798 # implement the --enable-static flag
 1799 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 1800 # AC_ENABLE_STATIC
 1801 
 1802 
 1803 # AC_DISABLE_STATIC
 1804 # -----------------
 1805 # set the default static flag to --disable-static
 1806 # AC_DISABLE_STATIC
 1807 
 1808 
 1809 # AC_ENABLE_FAST_INSTALL([DEFAULT])
 1810 # ---------------------------------
 1811 # implement the --enable-fast-install flag
 1812 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 1813 # AC_ENABLE_FAST_INSTALL
 1814 
 1815 
 1816 # AC_DISABLE_FAST_INSTALL
 1817 # -----------------------
 1818 # set the default to --disable-fast-install
 1819 # AC_DISABLE_FAST_INSTALL
 1820 
 1821 
 1822 # AC_LIBTOOL_PICMODE([MODE])
 1823 # --------------------------
 1824 # implement the --with-pic flag
 1825 # MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
 1826 # AC_LIBTOOL_PICMODE
 1827 
 1828 
 1829 # AC_PROG_EGREP
 1830 # -------------
 1831 # This is predefined starting with Autoconf 2.54, so this conditional
 1832 # definition can be removed once we require Autoconf 2.54 or later.
 1833 
 1834 
 1835 
 1836 # AC_PATH_TOOL_PREFIX
 1837 # -------------------
 1838 # find a file program which can recognize shared library
 1839 # AC_PATH_TOOL_PREFIX
 1840 
 1841 
 1842 # AC_PATH_MAGIC
 1843 # -------------
 1844 # find a file program which can recognize a shared library
 1845 # AC_PATH_MAGIC
 1846 
 1847 
 1848 # AC_PROG_LD
 1849 # ----------
 1850 # find the pathname to the GNU or non-GNU linker
 1851 # AC_PROG_LD
 1852 
 1853 
 1854 # AC_PROG_LD_GNU
 1855 # --------------
 1856 # AC_PROG_LD_GNU
 1857 
 1858 
 1859 # AC_PROG_LD_RELOAD_FLAG
 1860 # ----------------------
 1861 # find reload flag for linker
 1862 #   -- PORTME Some linkers may need a different reload flag.
 1863 # AC_PROG_LD_RELOAD_FLAG
 1864 
 1865 
 1866 # AC_DEPLIBS_CHECK_METHOD
 1867 # -----------------------
 1868 # how to check for library dependencies
 1869 #  -- PORTME fill in with the dynamic library characteristics
 1870 # AC_DEPLIBS_CHECK_METHOD
 1871 
 1872 
 1873 # AC_PROG_NM
 1874 # ----------
 1875 # find the pathname to a BSD-compatible name lister
 1876 # AC_PROG_NM
 1877 
 1878 
 1879 # AC_CHECK_LIBM
 1880 # -------------
 1881 # check for math library
 1882 # AC_CHECK_LIBM
 1883 
 1884 
 1885 # AC_LIBLTDL_CONVENIENCE([DIRECTORY])
 1886 # -----------------------------------
 1887 # sets LIBLTDL to the link flags for the libltdl convenience library and
 1888 # LTDLINCL to the include flags for the libltdl header and adds
 1889 # --enable-ltdl-convenience to the configure arguments.  Note that
 1890 # AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
 1891 # it is assumed to be `libltdl'.  LIBLTDL will be prefixed with
 1892 # '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
 1893 # (note the single quotes!).  If your package is not flat and you're not
 1894 # using automake, define top_builddir and top_srcdir appropriately in
 1895 # the Makefiles.
 1896 # AC_LIBLTDL_CONVENIENCE
 1897 
 1898 
 1899 # AC_LIBLTDL_INSTALLABLE([DIRECTORY])
 1900 # -----------------------------------
 1901 # sets LIBLTDL to the link flags for the libltdl installable library and
 1902 # LTDLINCL to the include flags for the libltdl header and adds
 1903 # --enable-ltdl-install to the configure arguments.  Note that
 1904 # AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
 1905 # and an installed libltdl is not found, it is assumed to be `libltdl'.
 1906 # LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
 1907 # '${top_srcdir}/' (note the single quotes!).  If your package is not
 1908 # flat and you're not using automake, define top_builddir and top_srcdir
 1909 # appropriately in the Makefiles.
 1910 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
 1911 # AC_LIBLTDL_INSTALLABLE
 1912 
 1913 
 1914 # AC_LIBTOOL_CXX
 1915 # --------------
 1916 # enable support for C++ libraries
 1917 # AC_LIBTOOL_CXX
 1918 
 1919 
 1920 # _LT_AC_LANG_CXX
 1921 # ---------------
 1922 # _LT_AC_LANG_CXX
 1923 
 1924 # _LT_AC_PROG_CXXCPP
 1925 # ------------------
 1926 # _LT_AC_PROG_CXXCPP
 1927 
 1928 # AC_LIBTOOL_F77
 1929 # --------------
 1930 # enable support for Fortran 77 libraries
 1931 # AC_LIBTOOL_F77
 1932 
 1933 
 1934 # _LT_AC_LANG_F77
 1935 # ---------------
 1936 # _LT_AC_LANG_F77
 1937 
 1938 
 1939 # AC_LIBTOOL_GCJ
 1940 # --------------
 1941 # enable support for GCJ libraries
 1942 # AC_LIBTOOL_GCJ
 1943 
 1944 
 1945 # _LT_AC_LANG_GCJ
 1946 # ---------------
 1947 # _LT_AC_LANG_GCJ
 1948 
 1949 
 1950 # AC_LIBTOOL_RC
 1951 # -------------
 1952 # enable support for Windows resource files
 1953 # AC_LIBTOOL_RC
 1954 
 1955 
 1956 # AC_LIBTOOL_LANG_C_CONFIG
 1957 # ------------------------
 1958 # Ensure that the configuration vars for the C compiler are
 1959 # suitably defined.  Those variables are subsequently used by
 1960 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 1961 
 1962 # AC_LIBTOOL_LANG_C_CONFIG
 1963 
 1964 
 1965 # AC_LIBTOOL_LANG_CXX_CONFIG
 1966 # --------------------------
 1967 # Ensure that the configuration vars for the C compiler are
 1968 # suitably defined.  Those variables are subsequently used by
 1969 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 1970 
 1971 # AC_LIBTOOL_LANG_CXX_CONFIG
 1972 
 1973 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
 1974 # ------------------------------------
 1975 # Figure out "hidden" library dependencies from verbose
 1976 # compiler output when linking a shared library.
 1977 # Parse the compiler output and extract the necessary
 1978 # objects, libraries and library flags.
 1979 # AC_LIBTOOL_POSTDEP_PREDEP
 1980 
 1981 # AC_LIBTOOL_LANG_F77_CONFIG
 1982 # --------------------------
 1983 # Ensure that the configuration vars for the C compiler are
 1984 # suitably defined.  Those variables are subsequently used by
 1985 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 1986 
 1987 # AC_LIBTOOL_LANG_F77_CONFIG
 1988 
 1989 
 1990 # AC_LIBTOOL_LANG_GCJ_CONFIG
 1991 # --------------------------
 1992 # Ensure that the configuration vars for the C compiler are
 1993 # suitably defined.  Those variables are subsequently used by
 1994 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 1995 
 1996 # AC_LIBTOOL_LANG_GCJ_CONFIG
 1997 
 1998 
 1999 # AC_LIBTOOL_LANG_RC_CONFIG
 2000 # -------------------------
 2001 # Ensure that the configuration vars for the Windows resource compiler are
 2002 # suitably defined.  Those variables are subsequently used by
 2003 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 2004 
 2005 # AC_LIBTOOL_LANG_RC_CONFIG
 2006 
 2007 
 2008 # AC_LIBTOOL_CONFIG([TAGNAME])
 2009 # ----------------------------
 2010 # If TAGNAME is not passed, then create an initial libtool script
 2011 # with a default configuration from the untagged config vars.  Otherwise
 2012 # add code to config.status for appending the configuration named by
 2013 # TAGNAME from the matching tagged config vars.
 2014 # AC_LIBTOOL_CONFIG
 2015 
 2016 
 2017 # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
 2018 # -------------------------------------------
 2019 # AC_LIBTOOL_PROG_COMPILER_NO_RTTI
 2020 
 2021 
 2022 # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 2023 # ---------------------------------
 2024  # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 2025 
 2026 
 2027 # AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
 2028 # ---------------------------------------
 2029 
 2030 
 2031 
 2032 # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
 2033 # ------------------------------------
 2034 # See if the linker supports building shared libraries.
 2035 # AC_LIBTOOL_PROG_LD_SHLIBS
 2036 
 2037 
 2038 # _LT_AC_FILE_LTDLL_C
 2039 # -------------------
 2040 # Be careful that the start marker always follows a newline.
 2041 # _LT_AC_FILE_LTDLL_C
 2042 
 2043 
 2044 # _LT_AC_TAGVAR(VARNAME, [TAGNAME])
 2045 # ---------------------------------
 2046 
 2047 
 2048 
 2049 # old names
 2050 
 2051 
 2052 
 2053 
 2054 
 2055 
 2056 
 2057 
 2058 # This is just to silence aclocal about the macro not being used
 2059 
 2060 
 2061 
 2062 
 2063 
 2064 
 2065 
 2066 # Cheap backport of AS_EXECUTABLE_P and required macros
 2067 # from Autoconf 2.59; we should not use $as_executable_p directly.
 2068 
 2069 # _AS_TEST_PREPARE
 2070 # ----------------
 2071 # _AS_TEST_PREPARE
 2072 
 2073 # AS_EXECUTABLE_P
 2074 # ---------------
 2075 # Check whether a file is executable.
 2076 # AS_EXECUTABLE_P
 2077 
 2078 ############################################################
 2079 # NOTE: This macro has been submitted for inclusion into   #
 2080 #  GNU Autoconf as AC_PROG_SED.  When it is available in   #
 2081 #  a released version of Autoconf we should remove this    #
 2082 #  macro and use it instead.                               #
 2083 ############################################################
 2084 # LT_AC_PROG_SED
 2085 # --------------
 2086 # Check for a fully-functional sed program, that truncates
 2087 # as few characters as possible.  Prefer GNU sed if found.
 2088 
 2089 
 2090 
 2091 # Make sure we can run config.sub.
 2092 $ac_config_sub sun4 >/dev/null 2>&1 ||
 2093   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 2094 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 2095    { (exit 1); exit 1; }; }
 2096 
 2097 echo "$as_me:$LINENO: checking build system type" >&5
 2098 echo $ECHO_N "checking build system type... $ECHO_C" >&6
 2099 if test "${ac_cv_build+set}" = set; then
 2100   echo $ECHO_N "(cached) $ECHO_C" >&6
 2101 else
 2102   ac_cv_build_alias=$build_alias
 2103 test -z "$ac_cv_build_alias" &&
 2104   ac_cv_build_alias=`$ac_config_guess`
 2105 test -z "$ac_cv_build_alias" &&
 2106   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 2107 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 2108    { (exit 1); exit 1; }; }
 2109 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 2110   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 2111 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 2112    { (exit 1); exit 1; }; }
 2113 
 2114 fi
 2115 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 2116 echo "${ECHO_T}$ac_cv_build" >&6
 2117 build=$ac_cv_build
 2118 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 2119 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 2120 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 2121 
 2122 
 2123 echo "$as_me:$LINENO: checking host system type" >&5
 2124 echo $ECHO_N "checking host system type... $ECHO_C" >&6
 2125 if test "${ac_cv_host+set}" = set; then
 2126   echo $ECHO_N "(cached) $ECHO_C" >&6
 2127 else
 2128   ac_cv_host_alias=$host_alias
 2129 test -z "$ac_cv_host_alias" &&
 2130   ac_cv_host_alias=$ac_cv_build_alias
 2131 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 2132   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 2133 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 2134    { (exit 1); exit 1; }; }
 2135 
 2136 fi
 2137 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 2138 echo "${ECHO_T}$ac_cv_host" >&6
 2139 host=$ac_cv_host
 2140 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 2141 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 2142 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 2143 
 2144 
 2145 
 2146 echo "$as_me:$LINENO: checking MACHDEP" >&5
 2147 echo $ECHO_N "checking MACHDEP... $ECHO_C" >&6
 2148 if test -z "$MACHDEP"
 2149 then
 2150     if test -f /usr/lib/NextStep/software_version; then
 2151     set X `hostinfo | grep 'NeXT Mach.*:' | \
 2152         sed -e 's/://' -e 's/\./_/'` && \
 2153     ac_sys_system=next && ac_sys_release=$4
 2154     MACHDEP="$ac_sys_system$ac_sys_release$ac_sys_cpu"
 2155     else
 2156     ac_sys_system=`uname -s`
 2157     if test "$ac_sys_system" = "AIX" ; then
 2158         ac_sys_release=`uname -v`
 2159     else
 2160         ac_sys_release=`uname -r`
 2161     fi
 2162     ac_md_system=`echo $ac_sys_system |
 2163                tr -d '/ ' | tr '[A-Z]' '[a-z]'`
 2164     ac_md_release=`echo $ac_sys_release |
 2165                tr -d '/ ' | sed 's/\..*//'`
 2166     MACHDEP="$ac_md_system$ac_md_release"
 2167     fi
 2168     case MACHDEP in
 2169     '') MACHDEP=unknown;;
 2170     esac
 2171 fi
 2172 
 2173 echo "$as_me:$LINENO: result: $MACHDEP" >&5
 2174 echo "${ECHO_T}$MACHDEP" >&6
 2175 
 2176 ac_ext=c
 2177 ac_cpp='$CPP $CPPFLAGS'
 2178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2181 if test -n "$ac_tool_prefix"; then
 2182   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2183 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2184 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2186 if test "${ac_cv_prog_CC+set}" = set; then
 2187   echo $ECHO_N "(cached) $ECHO_C" >&6
 2188 else
 2189   if test -n "$CC"; then
 2190   ac_cv_prog_CC="$CC" # Let the user override the test.
 2191 else
 2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2193 for as_dir in $PATH
 2194 do
 2195   IFS=$as_save_IFS
 2196   test -z "$as_dir" && as_dir=.
 2197   for ac_exec_ext in '' $ac_executable_extensions; do
 2198   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2199     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2200     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2201     break 2
 2202   fi
 2203 done
 2204 done
 2205 
 2206 fi
 2207 fi
 2208 CC=$ac_cv_prog_CC
 2209 if test -n "$CC"; then
 2210   echo "$as_me:$LINENO: result: $CC" >&5
 2211 echo "${ECHO_T}$CC" >&6
 2212 else
 2213   echo "$as_me:$LINENO: result: no" >&5
 2214 echo "${ECHO_T}no" >&6
 2215 fi
 2216 
 2217 fi
 2218 if test -z "$ac_cv_prog_CC"; then
 2219   ac_ct_CC=$CC
 2220   # Extract the first word of "gcc", so it can be a program name with args.
 2221 set dummy gcc; ac_word=$2
 2222 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2225   echo $ECHO_N "(cached) $ECHO_C" >&6
 2226 else
 2227   if test -n "$ac_ct_CC"; then
 2228   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2229 else
 2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2231 for as_dir in $PATH
 2232 do
 2233   IFS=$as_save_IFS
 2234   test -z "$as_dir" && as_dir=.
 2235   for ac_exec_ext in '' $ac_executable_extensions; do
 2236   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2237     ac_cv_prog_ac_ct_CC="gcc"
 2238     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2239     break 2
 2240   fi
 2241 done
 2242 done
 2243 
 2244 fi
 2245 fi
 2246 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2247 if test -n "$ac_ct_CC"; then
 2248   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2249 echo "${ECHO_T}$ac_ct_CC" >&6
 2250 else
 2251   echo "$as_me:$LINENO: result: no" >&5
 2252 echo "${ECHO_T}no" >&6
 2253 fi
 2254 
 2255   CC=$ac_ct_CC
 2256 else
 2257   CC="$ac_cv_prog_CC"
 2258 fi
 2259 
 2260 if test -z "$CC"; then
 2261   if test -n "$ac_tool_prefix"; then
 2262   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2263 set dummy ${ac_tool_prefix}cc; ac_word=$2
 2264 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2266 if test "${ac_cv_prog_CC+set}" = set; then
 2267   echo $ECHO_N "(cached) $ECHO_C" >&6
 2268 else
 2269   if test -n "$CC"; then
 2270   ac_cv_prog_CC="$CC" # Let the user override the test.
 2271 else
 2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2273 for as_dir in $PATH
 2274 do
 2275   IFS=$as_save_IFS
 2276   test -z "$as_dir" && as_dir=.
 2277   for ac_exec_ext in '' $ac_executable_extensions; do
 2278   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2279     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2280     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2281     break 2
 2282   fi
 2283 done
 2284 done
 2285 
 2286 fi
 2287 fi
 2288 CC=$ac_cv_prog_CC
 2289 if test -n "$CC"; then
 2290   echo "$as_me:$LINENO: result: $CC" >&5
 2291 echo "${ECHO_T}$CC" >&6
 2292 else
 2293   echo "$as_me:$LINENO: result: no" >&5
 2294 echo "${ECHO_T}no" >&6
 2295 fi
 2296 
 2297 fi
 2298 if test -z "$ac_cv_prog_CC"; then
 2299   ac_ct_CC=$CC
 2300   # Extract the first word of "cc", so it can be a program name with args.
 2301 set dummy cc; ac_word=$2
 2302 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2304 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2305   echo $ECHO_N "(cached) $ECHO_C" >&6
 2306 else
 2307   if test -n "$ac_ct_CC"; then
 2308   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2309 else
 2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2311 for as_dir in $PATH
 2312 do
 2313   IFS=$as_save_IFS
 2314   test -z "$as_dir" && as_dir=.
 2315   for ac_exec_ext in '' $ac_executable_extensions; do
 2316   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2317     ac_cv_prog_ac_ct_CC="cc"
 2318     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2319     break 2
 2320   fi
 2321 done
 2322 done
 2323 
 2324 fi
 2325 fi
 2326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2327 if test -n "$ac_ct_CC"; then
 2328   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2329 echo "${ECHO_T}$ac_ct_CC" >&6
 2330 else
 2331   echo "$as_me:$LINENO: result: no" >&5
 2332 echo "${ECHO_T}no" >&6
 2333 fi
 2334 
 2335   CC=$ac_ct_CC
 2336 else
 2337   CC="$ac_cv_prog_CC"
 2338 fi
 2339 
 2340 fi
 2341 if test -z "$CC"; then
 2342   # Extract the first word of "cc", so it can be a program name with args.
 2343 set dummy cc; ac_word=$2
 2344 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2346 if test "${ac_cv_prog_CC+set}" = set; then
 2347   echo $ECHO_N "(cached) $ECHO_C" >&6
 2348 else
 2349   if test -n "$CC"; then
 2350   ac_cv_prog_CC="$CC" # Let the user override the test.
 2351 else
 2352   ac_prog_rejected=no
 2353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2354 for as_dir in $PATH
 2355 do
 2356   IFS=$as_save_IFS
 2357   test -z "$as_dir" && as_dir=.
 2358   for ac_exec_ext in '' $ac_executable_extensions; do
 2359   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2360     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2361        ac_prog_rejected=yes
 2362        continue
 2363      fi
 2364     ac_cv_prog_CC="cc"
 2365     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2366     break 2
 2367   fi
 2368 done
 2369 done
 2370 
 2371 if test $ac_prog_rejected = yes; then
 2372   # We found a bogon in the path, so make sure we never use it.
 2373   set dummy $ac_cv_prog_CC
 2374   shift
 2375   if test $# != 0; then
 2376     # We chose a different compiler from the bogus one.
 2377     # However, it has the same basename, so the bogon will be chosen
 2378     # first if we set CC to just the basename; use the full file name.
 2379     shift
 2380     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2381   fi
 2382 fi
 2383 fi
 2384 fi
 2385 CC=$ac_cv_prog_CC
 2386 if test -n "$CC"; then
 2387   echo "$as_me:$LINENO: result: $CC" >&5
 2388 echo "${ECHO_T}$CC" >&6
 2389 else
 2390   echo "$as_me:$LINENO: result: no" >&5
 2391 echo "${ECHO_T}no" >&6
 2392 fi
 2393 
 2394 fi
 2395 if test -z "$CC"; then
 2396   if test -n "$ac_tool_prefix"; then
 2397   for ac_prog in cl
 2398   do
 2399     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2401 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2403 if test "${ac_cv_prog_CC+set}" = set; then
 2404   echo $ECHO_N "(cached) $ECHO_C" >&6
 2405 else
 2406   if test -n "$CC"; then
 2407   ac_cv_prog_CC="$CC" # Let the user override the test.
 2408 else
 2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2410 for as_dir in $PATH
 2411 do
 2412   IFS=$as_save_IFS
 2413   test -z "$as_dir" && as_dir=.
 2414   for ac_exec_ext in '' $ac_executable_extensions; do
 2415   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2416     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2417     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2418     break 2
 2419   fi
 2420 done
 2421 done
 2422 
 2423 fi
 2424 fi
 2425 CC=$ac_cv_prog_CC
 2426 if test -n "$CC"; then
 2427   echo "$as_me:$LINENO: result: $CC" >&5
 2428 echo "${ECHO_T}$CC" >&6
 2429 else
 2430   echo "$as_me:$LINENO: result: no" >&5
 2431 echo "${ECHO_T}no" >&6
 2432 fi
 2433 
 2434     test -n "$CC" && break
 2435   done
 2436 fi
 2437 if test -z "$CC"; then
 2438   ac_ct_CC=$CC
 2439   for ac_prog in cl
 2440 do
 2441   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2442 set dummy $ac_prog; ac_word=$2
 2443 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2445 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2446   echo $ECHO_N "(cached) $ECHO_C" >&6
 2447 else
 2448   if test -n "$ac_ct_CC"; then
 2449   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2450 else
 2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2452 for as_dir in $PATH
 2453 do
 2454   IFS=$as_save_IFS
 2455   test -z "$as_dir" && as_dir=.
 2456   for ac_exec_ext in '' $ac_executable_extensions; do
 2457   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2458     ac_cv_prog_ac_ct_CC="$ac_prog"
 2459     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2460     break 2
 2461   fi
 2462 done
 2463 done
 2464 
 2465 fi
 2466 fi
 2467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2468 if test -n "$ac_ct_CC"; then
 2469   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2470 echo "${ECHO_T}$ac_ct_CC" >&6
 2471 else
 2472   echo "$as_me:$LINENO: result: no" >&5
 2473 echo "${ECHO_T}no" >&6
 2474 fi
 2475 
 2476   test -n "$ac_ct_CC" && break
 2477 done
 2478 
 2479   CC=$ac_ct_CC
 2480 fi
 2481 
 2482 fi
 2483 
 2484 
 2485 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 2486 See \`config.log' for more details." >&5
 2487 echo "$as_me: error: no acceptable C compiler found in \$PATH
 2488 See \`config.log' for more details." >&2;}
 2489    { (exit 1); exit 1; }; }
 2490 
 2491 # Provide some information about the compiler.
 2492 echo "$as_me:$LINENO:" \
 2493      "checking for C compiler version" >&5
 2494 ac_compiler=`set X $ac_compile; echo $2`
 2495 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 2496   (eval $ac_compiler --version </dev/null >&5) 2>&5
 2497   ac_status=$?
 2498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2499   (exit $ac_status); }
 2500 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 2501   (eval $ac_compiler -v </dev/null >&5) 2>&5
 2502   ac_status=$?
 2503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2504   (exit $ac_status); }
 2505 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 2506   (eval $ac_compiler -V </dev/null >&5) 2>&5
 2507   ac_status=$?
 2508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2509   (exit $ac_status); }
 2510 
 2511 cat >conftest.$ac_ext <<_ACEOF
 2512 /* confdefs.h.  */
 2513 _ACEOF
 2514 cat confdefs.h >>conftest.$ac_ext
 2515 cat >>conftest.$ac_ext <<_ACEOF
 2516 /* end confdefs.h.  */
 2517 
 2518 int
 2519 main ()
 2520 {
 2521 
 2522   ;
 2523   return 0;
 2524 }
 2525 _ACEOF
 2526 ac_clean_files_save=$ac_clean_files
 2527 ac_clean_files="$ac_clean_files a.out a.exe b.out"
 2528 # Try to create an executable without -o first, disregard a.out.
 2529 # It will help us diagnose broken compilers, and finding out an intuition
 2530 # of exeext.
 2531 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 2532 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 2533 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2534 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 2535   (eval $ac_link_default) 2>&5
 2536   ac_status=$?
 2537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2538   (exit $ac_status); }; then
 2539   # Find the output, starting from the most likely.  This scheme is
 2540 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
 2541 # resort.
 2542 
 2543 # Be careful to initialize this variable, since it used to be cached.
 2544 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 2545 ac_cv_exeext=
 2546 # b.out is created by i960 compilers.
 2547 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 2548 do
 2549   test -f "$ac_file" || continue
 2550   case $ac_file in
 2551     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 2552     ;;
 2553     conftest.$ac_ext )
 2554     # This is the source file.
 2555     ;;
 2556     [ab].out )
 2557     # We found the default executable, but exeext='' is most
 2558     # certainly right.
 2559     break;;
 2560     *.* )
 2561     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2562     # FIXME: I believe we export ac_cv_exeext for Libtool,
 2563     # but it would be cool to find out if it's true.  Does anybody
 2564     # maintain Libtool? --akim.
 2565     export ac_cv_exeext
 2566     break;;
 2567     * )
 2568     break;;
 2569   esac
 2570 done
 2571 else
 2572   echo "$as_me: failed program was:" >&5
 2573 sed 's/^/| /' conftest.$ac_ext >&5
 2574 
 2575 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 2576 See \`config.log' for more details." >&5
 2577 echo "$as_me: error: C compiler cannot create executables
 2578 See \`config.log' for more details." >&2;}
 2579    { (exit 77); exit 77; }; }
 2580 fi
 2581 
 2582 ac_exeext=$ac_cv_exeext
 2583 echo "$as_me:$LINENO: result: $ac_file" >&5
 2584 echo "${ECHO_T}$ac_file" >&6
 2585 
 2586 # Check the compiler produces executables we can run.  If not, either
 2587 # the compiler is broken, or we cross compile.
 2588 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 2589 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 2590 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 2591 # If not cross compiling, check that we can run a simple program.
 2592 if test "$cross_compiling" != yes; then
 2593   if { ac_try='./$ac_file'
 2594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2595   (eval $ac_try) 2>&5
 2596   ac_status=$?
 2597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2598   (exit $ac_status); }; }; then
 2599     cross_compiling=no
 2600   else
 2601     if test "$cross_compiling" = maybe; then
 2602     cross_compiling=yes
 2603     else
 2604     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 2605 If you meant to cross compile, use \`--host'.
 2606 See \`config.log' for more details." >&5
 2607 echo "$as_me: error: cannot run C compiled programs.
 2608 If you meant to cross compile, use \`--host'.
 2609 See \`config.log' for more details." >&2;}
 2610    { (exit 1); exit 1; }; }
 2611     fi
 2612   fi
 2613 fi
 2614 echo "$as_me:$LINENO: result: yes" >&5
 2615 echo "${ECHO_T}yes" >&6
 2616 
 2617 rm -f a.out a.exe conftest$ac_cv_exeext b.out
 2618 ac_clean_files=$ac_clean_files_save
 2619 # Check the compiler produces executables we can run.  If not, either
 2620 # the compiler is broken, or we cross compile.
 2621 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 2622 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 2623 echo "$as_me:$LINENO: result: $cross_compiling" >&5
 2624 echo "${ECHO_T}$cross_compiling" >&6
 2625 
 2626 echo "$as_me:$LINENO: checking for suffix of executables" >&5
 2627 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 2628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2629   (eval $ac_link) 2>&5
 2630   ac_status=$?
 2631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2632   (exit $ac_status); }; then
 2633   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2634 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2635 # work properly (i.e., refer to `conftest.exe'), while it won't with
 2636 # `rm'.
 2637 for ac_file in conftest.exe conftest conftest.*; do
 2638   test -f "$ac_file" || continue
 2639   case $ac_file in
 2640     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 2641     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2642       export ac_cv_exeext
 2643       break;;
 2644     * ) break;;
 2645   esac
 2646 done
 2647 else
 2648   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 2649 See \`config.log' for more details." >&5
 2650 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 2651 See \`config.log' for more details." >&2;}
 2652    { (exit 1); exit 1; }; }
 2653 fi
 2654 
 2655 rm -f conftest$ac_cv_exeext
 2656 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 2657 echo "${ECHO_T}$ac_cv_exeext" >&6
 2658 
 2659 rm -f conftest.$ac_ext
 2660 EXEEXT=$ac_cv_exeext
 2661 ac_exeext=$EXEEXT
 2662 echo "$as_me:$LINENO: checking for suffix of object files" >&5
 2663 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 2664 if test "${ac_cv_objext+set}" = set; then
 2665   echo $ECHO_N "(cached) $ECHO_C" >&6
 2666 else
 2667   cat >conftest.$ac_ext <<_ACEOF
 2668 /* confdefs.h.  */
 2669 _ACEOF
 2670 cat confdefs.h >>conftest.$ac_ext
 2671 cat >>conftest.$ac_ext <<_ACEOF
 2672 /* end confdefs.h.  */
 2673 
 2674 int
 2675 main ()
 2676 {
 2677 
 2678   ;
 2679   return 0;
 2680 }
 2681 _ACEOF
 2682 rm -f conftest.o conftest.obj
 2683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2684   (eval $ac_compile) 2>&5
 2685   ac_status=$?
 2686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2687   (exit $ac_status); }; then
 2688   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 2689   case $ac_file in
 2690     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 2691     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2692        break;;
 2693   esac
 2694 done
 2695 else
 2696   echo "$as_me: failed program was:" >&5
 2697 sed 's/^/| /' conftest.$ac_ext >&5
 2698 
 2699 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 2700 See \`config.log' for more details." >&5
 2701 echo "$as_me: error: cannot compute suffix of object files: cannot compile
 2702 See \`config.log' for more details." >&2;}
 2703    { (exit 1); exit 1; }; }
 2704 fi
 2705 
 2706 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2707 fi
 2708 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 2709 echo "${ECHO_T}$ac_cv_objext" >&6
 2710 OBJEXT=$ac_cv_objext
 2711 ac_objext=$OBJEXT
 2712 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 2713 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 2714 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 2715   echo $ECHO_N "(cached) $ECHO_C" >&6
 2716 else
 2717   cat >conftest.$ac_ext <<_ACEOF
 2718 /* confdefs.h.  */
 2719 _ACEOF
 2720 cat confdefs.h >>conftest.$ac_ext
 2721 cat >>conftest.$ac_ext <<_ACEOF
 2722 /* end confdefs.h.  */
 2723 
 2724 int
 2725 main ()
 2726 {
 2727 #ifndef __GNUC__
 2728        choke me
 2729 #endif
 2730 
 2731   ;
 2732   return 0;
 2733 }
 2734 _ACEOF
 2735 rm -f conftest.$ac_objext
 2736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2737   (eval $ac_compile) 2>conftest.er1
 2738   ac_status=$?
 2739   grep -v '^ *+' conftest.er1 >conftest.err
 2740   rm -f conftest.er1
 2741   cat conftest.err >&5
 2742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2743   (exit $ac_status); } &&
 2744      { ac_try='test -z "$ac_c_werror_flag"
 2745              || test ! -s conftest.err'
 2746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2747   (eval $ac_try) 2>&5
 2748   ac_status=$?
 2749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2750   (exit $ac_status); }; } &&
 2751      { ac_try='test -s conftest.$ac_objext'
 2752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2753   (eval $ac_try) 2>&5
 2754   ac_status=$?
 2755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2756   (exit $ac_status); }; }; then
 2757   ac_compiler_gnu=yes
 2758 else
 2759   echo "$as_me: failed program was:" >&5
 2760 sed 's/^/| /' conftest.$ac_ext >&5
 2761 
 2762 ac_compiler_gnu=no
 2763 fi
 2764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2765 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2766 
 2767 fi
 2768 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 2769 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 2770 GCC=`test $ac_compiler_gnu = yes && echo yes`
 2771 ac_test_CFLAGS=${CFLAGS+set}
 2772 ac_save_CFLAGS=$CFLAGS
 2773 CFLAGS="-g"
 2774 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 2775 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 2776 if test "${ac_cv_prog_cc_g+set}" = set; then
 2777   echo $ECHO_N "(cached) $ECHO_C" >&6
 2778 else
 2779   cat >conftest.$ac_ext <<_ACEOF
 2780 /* confdefs.h.  */
 2781 _ACEOF
 2782 cat confdefs.h >>conftest.$ac_ext
 2783 cat >>conftest.$ac_ext <<_ACEOF
 2784 /* end confdefs.h.  */
 2785 
 2786 int
 2787 main ()
 2788 {
 2789 
 2790   ;
 2791   return 0;
 2792 }
 2793 _ACEOF
 2794 rm -f conftest.$ac_objext
 2795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2796   (eval $ac_compile) 2>conftest.er1
 2797   ac_status=$?
 2798   grep -v '^ *+' conftest.er1 >conftest.err
 2799   rm -f conftest.er1
 2800   cat conftest.err >&5
 2801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2802   (exit $ac_status); } &&
 2803      { ac_try='test -z "$ac_c_werror_flag"
 2804              || test ! -s conftest.err'
 2805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2806   (eval $ac_try) 2>&5
 2807   ac_status=$?
 2808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2809   (exit $ac_status); }; } &&
 2810      { ac_try='test -s conftest.$ac_objext'
 2811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2812   (eval $ac_try) 2>&5
 2813   ac_status=$?
 2814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2815   (exit $ac_status); }; }; then
 2816   ac_cv_prog_cc_g=yes
 2817 else
 2818   echo "$as_me: failed program was:" >&5
 2819 sed 's/^/| /' conftest.$ac_ext >&5
 2820 
 2821 ac_cv_prog_cc_g=no
 2822 fi
 2823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2824 fi
 2825 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 2826 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 2827 if test "$ac_test_CFLAGS" = set; then
 2828   CFLAGS=$ac_save_CFLAGS
 2829 elif test $ac_cv_prog_cc_g = yes; then
 2830   if test "$GCC" = yes; then
 2831     CFLAGS="-g -O2"
 2832   else
 2833     CFLAGS="-g"
 2834   fi
 2835 else
 2836   if test "$GCC" = yes; then
 2837     CFLAGS="-O2"
 2838   else
 2839     CFLAGS=
 2840   fi
 2841 fi
 2842 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 2843 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 2844 if test "${ac_cv_prog_cc_stdc+set}" = set; then
 2845   echo $ECHO_N "(cached) $ECHO_C" >&6
 2846 else
 2847   ac_cv_prog_cc_stdc=no
 2848 ac_save_CC=$CC
 2849 cat >conftest.$ac_ext <<_ACEOF
 2850 /* confdefs.h.  */
 2851 _ACEOF
 2852 cat confdefs.h >>conftest.$ac_ext
 2853 cat >>conftest.$ac_ext <<_ACEOF
 2854 /* end confdefs.h.  */
 2855 #include <stdarg.h>
 2856 #include <stdio.h>
 2857 #include <sys/types.h>
 2858 #include <sys/stat.h>
 2859 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 2860 struct buf { int x; };
 2861 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 2862 static char *e (p, i)
 2863      char **p;
 2864      int i;
 2865 {
 2866   return p[i];
 2867 }
 2868 static char *f (char * (*g) (char **, int), char **p, ...)
 2869 {
 2870   char *s;
 2871   va_list v;
 2872   va_start (v,p);
 2873   s = g (p, va_arg (v,int));
 2874   va_end (v);
 2875   return s;
 2876 }
 2877 
 2878 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 2879    function prototypes and stuff, but not '\xHH' hex character constants.
 2880    These don't provoke an error unfortunately, instead are silently treated
 2881    as 'x'.  The following induces an error, until -std1 is added to get
 2882    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 2883    array size at least.  It's necessary to write '\x00'==0 to get something
 2884    that's true only with -std1.  */
 2885 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 2886 
 2887 int test (int i, double x);
 2888 struct s1 {int (*f) (int a);};
 2889 struct s2 {int (*f) (double a);};
 2890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2891 int argc;
 2892 char **argv;
 2893 int
 2894 main ()
 2895 {
 2896 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2897   ;
 2898   return 0;
 2899 }
 2900 _ACEOF
 2901 # Don't try gcc -ansi; that turns off useful extensions and
 2902 # breaks some systems' header files.
 2903 # AIX           -qlanglvl=ansi
 2904 # Ultrix and OSF/1  -std1
 2905 # HP-UX 10.20 and later -Ae
 2906 # HP-UX older versions  -Aa -D_HPUX_SOURCE
 2907 # SVR4          -Xc -D__EXTENSIONS__
 2908 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2909 do
 2910   CC="$ac_save_CC $ac_arg"
 2911   rm -f conftest.$ac_objext
 2912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2913   (eval $ac_compile) 2>conftest.er1
 2914   ac_status=$?
 2915   grep -v '^ *+' conftest.er1 >conftest.err
 2916   rm -f conftest.er1
 2917   cat conftest.err >&5
 2918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2919   (exit $ac_status); } &&
 2920      { ac_try='test -z "$ac_c_werror_flag"
 2921              || test ! -s conftest.err'
 2922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2923   (eval $ac_try) 2>&5
 2924   ac_status=$?
 2925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2926   (exit $ac_status); }; } &&
 2927      { ac_try='test -s conftest.$ac_objext'
 2928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2929   (eval $ac_try) 2>&5
 2930   ac_status=$?
 2931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2932   (exit $ac_status); }; }; then
 2933   ac_cv_prog_cc_stdc=$ac_arg
 2934 break
 2935 else
 2936   echo "$as_me: failed program was:" >&5
 2937 sed 's/^/| /' conftest.$ac_ext >&5
 2938 
 2939 fi
 2940 rm -f conftest.err conftest.$ac_objext
 2941 done
 2942 rm -f conftest.$ac_ext conftest.$ac_objext
 2943 CC=$ac_save_CC
 2944 
 2945 fi
 2946 
 2947 case "x$ac_cv_prog_cc_stdc" in
 2948   x|xno)
 2949     echo "$as_me:$LINENO: result: none needed" >&5
 2950 echo "${ECHO_T}none needed" >&6 ;;
 2951   *)
 2952     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 2953 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 2954     CC="$CC $ac_cv_prog_cc_stdc" ;;
 2955 esac
 2956 
 2957 # Some people use a C++ compiler to compile C.  Since we use `exit',
 2958 # in C++ we need to declare it.  In case someone uses the same compiler
 2959 # for both compiling C and C++ we need to have the C++ compiler decide
 2960 # the declaration of exit, since it's the most demanding environment.
 2961 cat >conftest.$ac_ext <<_ACEOF
 2962 #ifndef __cplusplus
 2963   choke me
 2964 #endif
 2965 _ACEOF
 2966 rm -f conftest.$ac_objext
 2967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2968   (eval $ac_compile) 2>conftest.er1
 2969   ac_status=$?
 2970   grep -v '^ *+' conftest.er1 >conftest.err
 2971   rm -f conftest.er1
 2972   cat conftest.err >&5
 2973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2974   (exit $ac_status); } &&
 2975      { ac_try='test -z "$ac_c_werror_flag"
 2976              || test ! -s conftest.err'
 2977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2978   (eval $ac_try) 2>&5
 2979   ac_status=$?
 2980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2981   (exit $ac_status); }; } &&
 2982      { ac_try='test -s conftest.$ac_objext'
 2983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2984   (eval $ac_try) 2>&5
 2985   ac_status=$?
 2986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2987   (exit $ac_status); }; }; then
 2988   for ac_declaration in \
 2989    '' \
 2990    'extern "C" void std::exit (int) throw (); using std::exit;' \
 2991    'extern "C" void std::exit (int); using std::exit;' \
 2992    'extern "C" void exit (int) throw ();' \
 2993    'extern "C" void exit (int);' \
 2994    'void exit (int);'
 2995 do
 2996   cat >conftest.$ac_ext <<_ACEOF
 2997 /* confdefs.h.  */
 2998 _ACEOF
 2999 cat confdefs.h >>conftest.$ac_ext
 3000 cat >>conftest.$ac_ext <<_ACEOF
 3001 /* end confdefs.h.  */
 3002 $ac_declaration
 3003 #include <stdlib.h>
 3004 int
 3005 main ()
 3006 {
 3007 exit (42);
 3008   ;
 3009   return 0;
 3010 }
 3011 _ACEOF
 3012 rm -f conftest.$ac_objext
 3013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3014   (eval $ac_compile) 2>conftest.er1
 3015   ac_status=$?
 3016   grep -v '^ *+' conftest.er1 >conftest.err
 3017   rm -f conftest.er1
 3018   cat conftest.err >&5
 3019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3020   (exit $ac_status); } &&
 3021      { ac_try='test -z "$ac_c_werror_flag"
 3022              || test ! -s conftest.err'
 3023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3024   (eval $ac_try) 2>&5
 3025   ac_status=$?
 3026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3027   (exit $ac_status); }; } &&
 3028      { ac_try='test -s conftest.$ac_objext'
 3029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3030   (eval $ac_try) 2>&5
 3031   ac_status=$?
 3032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3033   (exit $ac_status); }; }; then
 3034   :
 3035 else
 3036   echo "$as_me: failed program was:" >&5
 3037 sed 's/^/| /' conftest.$ac_ext >&5
 3038 
 3039 continue
 3040 fi
 3041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3042   cat >conftest.$ac_ext <<_ACEOF
 3043 /* confdefs.h.  */
 3044 _ACEOF
 3045 cat confdefs.h >>conftest.$ac_ext
 3046 cat >>conftest.$ac_ext <<_ACEOF
 3047 /* end confdefs.h.  */
 3048 $ac_declaration
 3049 int
 3050 main ()
 3051 {
 3052 exit (42);
 3053   ;
 3054   return 0;
 3055 }
 3056 _ACEOF
 3057 rm -f conftest.$ac_objext
 3058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3059   (eval $ac_compile) 2>conftest.er1
 3060   ac_status=$?
 3061   grep -v '^ *+' conftest.er1 >conftest.err
 3062   rm -f conftest.er1
 3063   cat conftest.err >&5
 3064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3065   (exit $ac_status); } &&
 3066      { ac_try='test -z "$ac_c_werror_flag"
 3067              || test ! -s conftest.err'
 3068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3069   (eval $ac_try) 2>&5
 3070   ac_status=$?
 3071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3072   (exit $ac_status); }; } &&
 3073      { ac_try='test -s conftest.$ac_objext'
 3074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3075   (eval $ac_try) 2>&5
 3076   ac_status=$?
 3077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3078   (exit $ac_status); }; }; then
 3079   break
 3080 else
 3081   echo "$as_me: failed program was:" >&5
 3082 sed 's/^/| /' conftest.$ac_ext >&5
 3083 
 3084 fi
 3085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3086 done
 3087 rm -f conftest*
 3088 if test -n "$ac_declaration"; then
 3089   echo '#ifdef __cplusplus' >>confdefs.h
 3090   echo $ac_declaration      >>confdefs.h
 3091   echo '#endif'             >>confdefs.h
 3092 fi
 3093 
 3094 else
 3095   echo "$as_me: failed program was:" >&5
 3096 sed 's/^/| /' conftest.$ac_ext >&5
 3097 
 3098 fi
 3099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3100 ac_ext=c
 3101 ac_cpp='$CPP $CPPFLAGS'
 3102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3105 
 3106 ac_ext=c
 3107 ac_cpp='$CPP $CPPFLAGS'
 3108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3111 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 3112 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 3113 # On Suns, sometimes $CPP names a directory.
 3114 if test -n "$CPP" && test -d "$CPP"; then
 3115   CPP=
 3116 fi
 3117 if test -z "$CPP"; then
 3118   if test "${ac_cv_prog_CPP+set}" = set; then
 3119   echo $ECHO_N "(cached) $ECHO_C" >&6
 3120 else
 3121       # Double quotes because CPP needs to be expanded
 3122     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3123     do
 3124       ac_preproc_ok=false
 3125 for ac_c_preproc_warn_flag in '' yes
 3126 do
 3127   # Use a header file that comes with gcc, so configuring glibc
 3128   # with a fresh cross-compiler works.
 3129   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3130   # <limits.h> exists even on freestanding compilers.
 3131   # On the NeXT, cc -E runs the code through the compiler's parser,
 3132   # not just through cpp. "Syntax error" is here to catch this case.
 3133   cat >conftest.$ac_ext <<_ACEOF
 3134 /* confdefs.h.  */
 3135 _ACEOF
 3136 cat confdefs.h >>conftest.$ac_ext
 3137 cat >>conftest.$ac_ext <<_ACEOF
 3138 /* end confdefs.h.  */
 3139 #ifdef __STDC__
 3140 # include <limits.h>
 3141 #else
 3142 # include <assert.h>
 3143 #endif
 3144              Syntax error
 3145 _ACEOF
 3146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3147   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3148   ac_status=$?
 3149   grep -v '^ *+' conftest.er1 >conftest.err
 3150   rm -f conftest.er1
 3151   cat conftest.err >&5
 3152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3153   (exit $ac_status); } >/dev/null; then
 3154   if test -s conftest.err; then
 3155     ac_cpp_err=$ac_c_preproc_warn_flag
 3156     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3157   else
 3158     ac_cpp_err=
 3159   fi
 3160 else
 3161   ac_cpp_err=yes
 3162 fi
 3163 if test -z "$ac_cpp_err"; then
 3164   :
 3165 else
 3166   echo "$as_me: failed program was:" >&5
 3167 sed 's/^/| /' conftest.$ac_ext >&5
 3168 
 3169   # Broken: fails on valid input.
 3170 continue
 3171 fi
 3172 rm -f conftest.err conftest.$ac_ext
 3173 
 3174   # OK, works on sane cases.  Now check whether non-existent headers
 3175   # can be detected and how.
 3176   cat >conftest.$ac_ext <<_ACEOF
 3177 /* confdefs.h.  */
 3178 _ACEOF
 3179 cat confdefs.h >>conftest.$ac_ext
 3180 cat >>conftest.$ac_ext <<_ACEOF
 3181 /* end confdefs.h.  */
 3182 #include <ac_nonexistent.h>
 3183 _ACEOF
 3184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3185   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3186   ac_status=$?
 3187   grep -v '^ *+' conftest.er1 >conftest.err
 3188   rm -f conftest.er1
 3189   cat conftest.err >&5
 3190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3191   (exit $ac_status); } >/dev/null; then
 3192   if test -s conftest.err; then
 3193     ac_cpp_err=$ac_c_preproc_warn_flag
 3194     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3195   else
 3196     ac_cpp_err=
 3197   fi
 3198 else
 3199   ac_cpp_err=yes
 3200 fi
 3201 if test -z "$ac_cpp_err"; then
 3202   # Broken: success on invalid input.
 3203 continue
 3204 else
 3205   echo "$as_me: failed program was:" >&5
 3206 sed 's/^/| /' conftest.$ac_ext >&5
 3207 
 3208   # Passes both tests.
 3209 ac_preproc_ok=:
 3210 break
 3211 fi
 3212 rm -f conftest.err conftest.$ac_ext
 3213 
 3214 done
 3215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3216 rm -f conftest.err conftest.$ac_ext
 3217 if $ac_preproc_ok; then
 3218   break
 3219 fi
 3220 
 3221     done
 3222     ac_cv_prog_CPP=$CPP
 3223 
 3224 fi
 3225   CPP=$ac_cv_prog_CPP
 3226 else
 3227   ac_cv_prog_CPP=$CPP
 3228 fi
 3229 echo "$as_me:$LINENO: result: $CPP" >&5
 3230 echo "${ECHO_T}$CPP" >&6
 3231 ac_preproc_ok=false
 3232 for ac_c_preproc_warn_flag in '' yes
 3233 do
 3234   # Use a header file that comes with gcc, so configuring glibc
 3235   # with a fresh cross-compiler works.
 3236   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3237   # <limits.h> exists even on freestanding compilers.
 3238   # On the NeXT, cc -E runs the code through the compiler's parser,
 3239   # not just through cpp. "Syntax error" is here to catch this case.
 3240   cat >conftest.$ac_ext <<_ACEOF
 3241 /* confdefs.h.  */
 3242 _ACEOF
 3243 cat confdefs.h >>conftest.$ac_ext
 3244 cat >>conftest.$ac_ext <<_ACEOF
 3245 /* end confdefs.h.  */
 3246 #ifdef __STDC__
 3247 # include <limits.h>
 3248 #else
 3249 # include <assert.h>
 3250 #endif
 3251              Syntax error
 3252 _ACEOF
 3253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3254   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3255   ac_status=$?
 3256   grep -v '^ *+' conftest.er1 >conftest.err
 3257   rm -f conftest.er1
 3258   cat conftest.err >&5
 3259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3260   (exit $ac_status); } >/dev/null; then
 3261   if test -s conftest.err; then
 3262     ac_cpp_err=$ac_c_preproc_warn_flag
 3263     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3264   else
 3265     ac_cpp_err=
 3266   fi
 3267 else
 3268   ac_cpp_err=yes
 3269 fi
 3270 if test -z "$ac_cpp_err"; then
 3271   :
 3272 else
 3273   echo "$as_me: failed program was:" >&5
 3274 sed 's/^/| /' conftest.$ac_ext >&5
 3275 
 3276   # Broken: fails on valid input.
 3277 continue
 3278 fi
 3279 rm -f conftest.err conftest.$ac_ext
 3280 
 3281   # OK, works on sane cases.  Now check whether non-existent headers
 3282   # can be detected and how.
 3283   cat >conftest.$ac_ext <<_ACEOF
 3284 /* confdefs.h.  */
 3285 _ACEOF
 3286 cat confdefs.h >>conftest.$ac_ext
 3287 cat >>conftest.$ac_ext <<_ACEOF
 3288 /* end confdefs.h.  */
 3289 #include <ac_nonexistent.h>
 3290 _ACEOF
 3291 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3292   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3293   ac_status=$?
 3294   grep -v '^ *+' conftest.er1 >conftest.err
 3295   rm -f conftest.er1
 3296   cat conftest.err >&5
 3297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3298   (exit $ac_status); } >/dev/null; then
 3299   if test -s conftest.err; then
 3300     ac_cpp_err=$ac_c_preproc_warn_flag
 3301     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3302   else
 3303     ac_cpp_err=
 3304   fi
 3305 else
 3306   ac_cpp_err=yes
 3307 fi
 3308 if test -z "$ac_cpp_err"; then
 3309   # Broken: success on invalid input.
 3310 continue
 3311 else
 3312   echo "$as_me: failed program was:" >&5
 3313 sed 's/^/| /' conftest.$ac_ext >&5
 3314 
 3315   # Passes both tests.
 3316 ac_preproc_ok=:
 3317 break
 3318 fi
 3319 rm -f conftest.err conftest.$ac_ext
 3320 
 3321 done
 3322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3323 rm -f conftest.err conftest.$ac_ext
 3324 if $ac_preproc_ok; then
 3325   :
 3326 else
 3327    :
 3328 fi
 3329 
 3330 ac_ext=c
 3331 ac_cpp='$CPP $CPPFLAGS'
 3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3335 
 3336 # Find a good install program.  We prefer a C program (faster),
 3337 # so one script is as good as another.  But avoid the broken or
 3338 # incompatible versions:
 3339 # SysV /etc/install, /usr/sbin/install
 3340 # SunOS /usr/etc/install
 3341 # IRIX /sbin/install
 3342 # AIX /bin/install
 3343 # AmigaOS /C/install, which installs bootblocks on floppy discs
 3344 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 3345 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 3346 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 3347 # OS/2's system install, which has a completely different semantic
 3348 # ./install, which can be erroneously created by make from ./install.sh.
 3349 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 3350 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 3351 if test -z "$INSTALL"; then
 3352 if test "${ac_cv_path_install+set}" = set; then
 3353   echo $ECHO_N "(cached) $ECHO_C" >&6
 3354 else
 3355   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3356 for as_dir in $PATH
 3357 do
 3358   IFS=$as_save_IFS
 3359   test -z "$as_dir" && as_dir=.
 3360   # Account for people who put trailing slashes in PATH elements.
 3361 case $as_dir/ in
 3362   ./ | .// | /cC/* | \
 3363   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 3364   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 3365   /usr/ucb/* ) ;;
 3366   *)
 3367     # OSF1 and SCO ODT 3.0 have their own names for install.
 3368     # Don't use installbsd from OSF since it installs stuff as root
 3369     # by default.
 3370     for ac_prog in ginstall scoinst install; do
 3371       for ac_exec_ext in '' $ac_executable_extensions; do
 3372     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 3373       if test $ac_prog = install &&
 3374         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3375         # AIX install.  It has an incompatible calling convention.
 3376         :
 3377       elif test $ac_prog = install &&
 3378         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3379         # program-specific install script used by HP pwplus--don't use.
 3380         :
 3381       else
 3382         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 3383         break 3
 3384       fi
 3385     fi
 3386       done
 3387     done
 3388     ;;
 3389 esac
 3390 done
 3391 
 3392 
 3393 fi
 3394   if test "${ac_cv_path_install+set}" = set; then
 3395     INSTALL=$ac_cv_path_install
 3396   else
 3397     # As a last resort, use the slow shell script.  We don't cache a
 3398     # path for INSTALL within a source directory, because that will
 3399     # break other packages using the cache if that directory is
 3400     # removed, or if the path is relative.
 3401     INSTALL=$ac_install_sh
 3402   fi
 3403 fi
 3404 echo "$as_me:$LINENO: result: $INSTALL" >&5
 3405 echo "${ECHO_T}$INSTALL" >&6
 3406 
 3407 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 3408 # It thinks the first close brace ends the variable substitution.
 3409 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 3410 
 3411 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 3412 
 3413 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 3414 
 3415 SHELL="/bin/sh"
 3416 RM="rm -rf"
 3417 
 3418 WITH_DEBUG=no
 3419 # Check whether --enable-debug or --disable-debug was given.
 3420 if test "${enable_debug+set}" = set; then
 3421   enableval="$enable_debug"
 3422   if test "$enableval" = "yes" ; then
 3423     WITH_DEBUG=yes
 3424 fi
 3425 fi;
 3426 
 3427 WITH_PROFILE=no
 3428 # Check whether --enable-profile or --disable-profile was given.
 3429 if test "${enable_profile+set}" = set; then
 3430   enableval="$enable_profile"
 3431   if test "$enableval" = "yes" ; then
 3432     WITH_PROFILE=yes
 3433 fi
 3434 fi;
 3435 
 3436 # detect -O2 (only GCC) and move -O2 to PDFOPTIMIZE so that it can be
 3437 # overwritten somewhere where needed
 3438 if test "x$GCC" != "x"; then
 3439     if test "$CFLAGS" = "-g -O2"; then
 3440         CFLAGS="-g"
 3441         PDFOPTIMIZE="-O2"
 3442     fi
 3443 fi
 3444 
 3445 if test "$WITH_DEBUG" = "yes"; then
 3446     if test "$PDFOPTIMIZE" = "-O2"; then
 3447         PDFOPTIMIZE="-DDEBUG"
 3448     fi
 3449 fi
 3450 
 3451 if test "$WITH_PROFILE" = "yes"; then
 3452     CFLAGS="$CFLAGS -pg"
 3453     LDFLAGS="$LDFLAGS -pg"
 3454 fi
 3455 
 3456 
 3457 PLATFORM_ID=$ac_sys_system
 3458 PLATFORM="-DPDF_PLATFORM=\\\"\"$ac_sys_system\"\\\""
 3459 WITH_LARGE_FILES=no
 3460 WITH_64BIT=no
 3461 WITH_UNIVERSAL=no
 3462 JAVA_COMPATIBILITY="-source 1.4"
 3463 
 3464 case $ac_sys_system in
 3465             aix*|AIX*)
 3466     if test "$ac_sys_release" = "4"; then
 3467         PLATFORM="-DPDF_PLATFORM=\\\"\"AIX4\"\\\""
 3468     fi
 3469     CFLAGS="$CFLAGS -DAIX -DPDC_PF_AIX"
 3470         WITH_LARGE_FILES=yes
 3471     if test "$GCC" = ""; then
 3472         CFLAGS="$CFLAGS -O2 -qthreaded -mxl-compat -D_THREAD_SAFE_ERRNO"
 3473         CFLAGS="$CFLAGS -O2"
 3474         CXXFLAGS="$CXXFLAGS -O2"
 3475         LDFLAGS="$LDFLAGS -O2"
 3476     else
 3477         if test "$ac_sys_release" = "5"; then
 3478         CFLAGS="$CFLAGS -O2 -pthread"
 3479         fi
 3480     fi
 3481         if test "$CXX" = "g++"; then
 3482         CXXFLAGS="$CXXFLAGS -mxl-compat"
 3483     fi
 3484         # Check whether --enable-64bit or --disable-64bit was given.
 3485 if test "${enable_64bit+set}" = set; then
 3486   enableval="$enable_64bit"
 3487   if test "$enableval" = "yes" ; then
 3488             WITH_64BIT=yes
 3489         fi
 3490 fi;
 3491         if test "$WITH_64BIT" = "yes"; then
 3492             PLATFORM="-DPDF_PLATFORM=\\\"\"AIX64\"\\\""
 3493         CFLAGS="$CFLAGS -DPDC_PF_AIX64"
 3494             if test "$GCC" = ""; then
 3495         CFLAGS="$CFLAGS -q64"
 3496         else
 3497         CFLAGS="$CFLAGS -maix64"
 3498         fi
 3499     fi
 3500     ;;
 3501 
 3502     cyg*|CYG*) CPPFLAGS="$CPPFLAGS -U_WIN32 -UWIN32 -U__WIN32__ -U_Windows";;
 3503 
 3504         hp*|HP*)
 3505         ac_sys_arch=`uname -m`
 3506     JAVA_COMPATIBILITY=""
 3507         WITH_LARGE_FILES=yes
 3508         # Check whether --enable-64bit or --disable-64bit was given.
 3509 if test "${enable_64bit+set}" = set; then
 3510   enableval="$enable_64bit"
 3511   if test "$enableval" = "yes" ; then
 3512             WITH_64BIT=yes
 3513         fi
 3514 fi;
 3515     if test "$GCC" = ""; then
 3516         CFLAGS="$CFLAGS -mt"
 3517         CFLAGS="$CFLAGS -O"
 3518         CXXFLAGS="$CXXFLAGS -O"
 3519         LDFLAGS="$LDFLAGS -O"
 3520     else
 3521         CFLAGS="$CFLAGS -pthreads"
 3522     fi
 3523         if test "$CXX" != "g++"; then
 3524         CXXFLAGS="$CXXFLAGS -AA"
 3525     fi
 3526         if test "$WITH_64BIT" = "yes"; then
 3527             if test "$ac_sys_arch" = "ia64" ; then
 3528                 PLATFORM="-DPDF_PLATFORM=\\\"\"HP-UX-ia64-LP64\"\\\""
 3529             else
 3530                 PLATFORM="-DPDF_PLATFORM=\\\"\"HP-UX-LP64\"\\\""
 3531             fi
 3532             CFLAGS="$CFLAGS -DPDC_PF_HPUX_PARISC64"
 3533             if test "$GCC" = ""; then
 3534                if test "$ac_sys_arch" = "ia64" ; then
 3535                   CFLAGS="$CFLAGS -Ae +DD64"
 3536           LDFLAGS="$LDFLAGS +DD64"
 3537           CXXFLAGS="$CXXFLAGS +DD64"
 3538                else
 3539                   CFLAGS="$CFLAGS -Ae +DA2.0W"
 3540           LDFLAGS="$LDFLAGS +DA2.0W"
 3541           CXXFLAGS="$CXXFLAGS +DA2.0W"
 3542                fi
 3543             else
 3544                if test "$ac_sys_arch" = "ia64" ; then
 3545            true
 3546                else
 3547            CFLAGS="$CFLAGS -D_INCLUDE_POSIX_SOURCE"
 3548            CFLAGS="$CFLAGS -mpa-risc-2-0"
 3549            CXXFLAGS="$CXXFLAGS -mpa-risc-2-0"
 3550                fi
 3551         fi
 3552         else
 3553             if test "$ac_sys_arch" = "ia64" ; then
 3554                PLATFORM_ID="HP-UX-ia64"
 3555                PLATFORM="-DPDF_PLATFORM=\\\"\"HP-UX-ia64\"\\\""
 3556                CFLAGS="$CFLAGS -DPDC_PF_HPUX_IA64"
 3557             else
 3558                CFLAGS="$CFLAGS -DPDC_PF_HPUX_PARISC"
 3559                 if test "$GCC" = ""; then
 3560                     CFLAGS="$CFLAGS -Ae +DAportable"
 3561                 else
 3562                     CFLAGS="$CFLAGS -mpa-risc-1-1"
 3563                 fi
 3564             fi
 3565         fi
 3566         ;;
 3567 
 3568     irix*|IRIX*)
 3569     WITH_LARGE_FILES=yes
 3570     ;;
 3571 
 3572 
 3573             osf1*|OSF1*)
 3574     WITH_LARGE_FILES=yes
 3575     if test "$GCC" = ""; then
 3576         CFLAGS="$CFLAGS -pthread"
 3577     else
 3578         CFLAGS="$CFLAGS -pthreads"
 3579     fi;;
 3580 
 3581     SunOS*)
 3582         ac_sys_arch=`uname -p`
 3583     # Check whether --enable-64bit or --disable-64bit was given.
 3584 if test "${enable_64bit+set}" = set; then
 3585   enableval="$enable_64bit"
 3586   if test "$enableval" = "yes" ; then
 3587         WITH_64BIT=yes
 3588     fi
 3589 fi;
 3590 
 3591     WITH_LARGE_FILES=yes
 3592     if test "$GCC" = ""; then
 3593         CFLAGS="$CFLAGS -mt"
 3594         LDFLAGS="$LDFLAGS -mt"
 3595             if test "$ac_sys_arch" = "sparc" ; then
 3596         CFLAGS="$CFLAGS -xmemalign"
 3597         fi
 3598         CFLAGS="$CFLAGS -O"
 3599         CXXFLAGS="$CXXFLAGS -O"
 3600         LDFLAGS="$LDFLAGS -O"
 3601     else
 3602         CFLAGS="$CFLAGS -pthreads"
 3603     fi
 3604 
 3605         if test "$WITH_64BIT" = "yes"; then
 3606             PLATFORM="-DPDF_PLATFORM=\\\"\"SunOS64\"\\\""
 3607             if test "$ac_sys_arch" = "sparc" ; then
 3608         LDFLAGS="$LDFLAGS -xarch=v9"
 3609                 CFLAGS="$CFLAGS -DPDC_PF_SOLARIS_SPARC64"
 3610         if test "$GCC" = ""; then CFLAGS="$CFLAGS -xarch=v9";
 3611             CXXFLAGS="$CXXFLAGS -xarch=v9";
 3612         fi
 3613             fi
 3614             if test "$ac_sys_arch" = "i386" ; then
 3615         LDFLAGS="$LDFLAGS -m64"
 3616                 CFLAGS="$CFLAGS -DPDC_PF_SOLARIS_AMD64"
 3617                 PLATFORM_ID="SunOS-amd64"
 3618         if test "$GCC" = ""; then
 3619             CFLAGS="$CFLAGS -m64";
 3620             CXXFLAGS="$CXXFLAGS -m64";
 3621         fi
 3622             fi
 3623         else
 3624             PLATFORM="-DPDF_PLATFORM=\\\"\"SunOS\"\\\""
 3625         # Check whether --enable-sfio or --disable-sfio was given.
 3626 if test "${enable_sfio+set}" = set; then
 3627   enableval="$enable_sfio"
 3628   if test "$enableval" = "yes" ; then
 3629                 CFLAGS="$CFLAGS -DPDFLIB_SFIO_BUILD"
 3630                 CPPFLAGS="$CPPFLAGS -I/space/home/rjs/src/sfio/include"
 3631         if test "$ac_sys_arch" = "sparc" ; then
 3632                     EXTERNALLIBS="$EXTERNALLIBS /space/home/rjs/src/sfio/lib/libsfio-mt.a"
 3633         else
 3634                     EXTERNALLIBS="$EXTERNALLIBS /space/home/rjs/src/sfio/lib/libsfio.a"
 3635         fi
 3636         fi
 3637 fi;
 3638             if test "$ac_sys_arch" = "sparc" ; then
 3639                 PLATFORM_ID="SunOS"
 3640                 CFLAGS="$CFLAGS -DPDC_PF_SOLARIS_SPARC"
 3641             fi
 3642             if test "$ac_sys_arch" = "i386" ; then
 3643                 PLATFORM_ID="SunOS-i386"
 3644                 CFLAGS="$CFLAGS -DPDC_PF_SOLARIS_INTEL"
 3645             fi
 3646         fi
 3647         ;;
 3648 
 3649                 rhapsody|Rhapsody|darwin|Darwin)
 3650     ac_sys_arch=`uname -p`
 3651     ac_sys_vers=`uname -r`
 3652         MAC_ARCH=""
 3653     LEGACY_ID=""
 3654 
 3655     PLATFORM_ID="MacOSX"
 3656         WITH_LARGE_FILES=yes
 3657     ENABLE_MAC_LEGACY="no"
 3658     MATHLIB=""
 3659     with_gnu_ld=yes
 3660 
 3661     # choose if we do a legacy build (carbon, ...)
 3662         # Check whether --enable-mac_legacy or --disable-mac_legacy was given.
 3663 if test "${enable_mac_legacy+set}" = set; then
 3664   enableval="$enable_mac_legacy"
 3665   if test "$enableval" = "yes" ; then
 3666         ENABLE_MAC_LEGACY="yes"
 3667         PLATFORM_ID="MacOSX"
 3668     fi
 3669 fi;
 3670 
 3671     # selecet correct SDK for build
 3672     # and set min Mac Version we want to be compatible for
 3673     if test "$ENABLE_MAC_LEGACY" = "yes"; then
 3674         CPPFLAGS="$CPPFLAGS -DPDF_MAC_LEGACY"
 3675         DEVSDK="/Developer/SDKs/MacOSX10.4u.sdk"
 3676         MAC_LDFLAGS="$MAC_LDFLAGS -mmacosx-version-min=10.2"
 3677         # add Framework ApplicationServices
 3678         LEGACY_ID="-10.4"
 3679     else
 3680         case $ac_sys_vers in
 3681         9.*)
 3682         DEVSDK="/Developer/SDKs/MacOSX10.5.sdk" ;;
 3683         10.*)
 3684         DEVSDK="/Developer/SDKs/MacOSX10.6.sdk"
 3685         ;;
 3686         esac
 3687     fi
 3688     CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon"
 3689     LDFLAGS="$LDFLAGS -framework ApplicationServices"
 3690     MAC_CFLAGS="$MAC_CFLAGS -isysroot $DEVSDK"
 3691     MAC_LDFLAGS="$MAC_LDFLAGS -Wl,-syslibroot,$DEVSDK"
 3692 
 3693     # set PLATFROM ID
 3694     # will be completed in pc_config.h (32/64 ppc/intel)
 3695     case $ac_sys_system in
 3696     rhapsody|Rhapsody)
 3697         PLATFORM="-DPDF_MAC_PLATFORM=\\\"\"Mac OS X Server$LEGACY_ID\"\\\"";;
 3698     darwin|Darwin)
 3699         PLATFORM="-DPDF_MAC_PLATFORM=\\\"\"Mac OS X$LEGACY_ID\"\\\"";;
 3700     esac
 3701 
 3702     # Build Universal Binaries ?
 3703         # Check whether --enable-universal or --disable-universal was given.
 3704 if test "${enable_universal+set}" = set; then
 3705   enableval="$enable_universal"
 3706   if test "$enableval" = "yes" ; then
 3707         WITH_UNIVERSAL=yes
 3708     fi
 3709 fi;
 3710 
 3711     # set --arch flags
 3712 
 3713 # Check whether --with-macarch or --without-macarch was given.
 3714 if test "${with_macarch+set}" = set; then
 3715   withval="$with_macarch"
 3716   MAC_ARCH="$withval"
 3717 else
 3718   MAC_ARCH=default
 3719 fi;
 3720     echo "$as_me:$LINENO: checking Mac build Architecture" >&5
 3721 echo $ECHO_N "checking Mac build Architecture... $ECHO_C" >&6
 3722     case $MAC_ARCH in
 3723         i386)
 3724         MAC_CFLAGS="$MAC_CFLAGS -arch i386"
 3725         MAC_LDFLAGS="$MAC_LDFLAGS -arch i386"
 3726         ;;
 3727         x86_64)
 3728         # we do 64 bit builds >= 10.5 only
 3729         case $ac_sys_vers in
 3730         9.*)
 3731             MAC_CFLAGS="$MAC_CFLAGS -arch x86_64"
 3732             MAC_LDFLAGS="$MAC_LDFLAGS -arch x86_64"
 3733         ;;
 3734         10.*)
 3735             MAC_CFLAGS="$MAC_CFLAGS -arch x86_64"
 3736             MAC_LDFLAGS="$MAC_LDFLAGS -arch x86_64"
 3737         ;;
 3738         esac
 3739         ;;
 3740         ppc)
 3741         # not on 10.6
 3742         case $ac_sys_vers in
 3743         8.*| 9.*)
 3744             MAC_CFLAGS="$MAC_CFLAGS -arch ppc"
 3745             MAC_LDFLAGS="$MAC_LDFLAGS -arch ppc"
 3746         ;;
 3747         esac
 3748         ;;
 3749         ppc64)
 3750         # we do 64 bit builds on 10.5 only
 3751         case $ac_sys_vers in
 3752         9.*)
 3753             MAC_CFLAGS="$MAC_CFLAGS -arch ppc64"
 3754             MAC_LDFLAGS="$MAC_LDFLAGS -arch ppc64"
 3755         ;;
 3756         esac
 3757         ;;
 3758         universal)
 3759         case $ac_sys_vers in
 3760         8.*)
 3761             MAC_CFLAGS="$MAC_CFLAGS -arch i386 -arch ppc"
 3762             MAC_LDFLAGS="$MAC_LDFLAGS -arch i386 -arch ppc"
 3763         ;;
 3764         9.*)
 3765             MAC_CFLAGS="$MAC_CFLAGS -arch i386 -arch ppc -arch ppc64 -arch x86_64"
 3766             MAC_LDFLAGS="$MAC_LDFLAGS -arch i386 -arch ppc -arch ppc64 -arch x86_64"
 3767         ;;
 3768         10.*)
 3769             MAC_CFLAGS="$MAC_CFLAGS -arch i386 -arch x86_64"
 3770             MAC_LDFLAGS="$MAC_LDFLAGS -arch i386 -arch x86_64"
 3771         ;;
 3772         esac
 3773         ;;
 3774         *) echo"unknown architecture (--with-macarch)"
 3775         ;;
 3776     esac
 3777 
 3778 
 3779     echo "$as_me:$LINENO: result: $MAC_CFLAGS $MAC_LDFLAGS" >&5
 3780 echo "${ECHO_T}$MAC_CFLAGS $MAC_LDFLAGS" >&6
 3781     ;;
 3782 
 3783         linux|Linux*)
 3784        ac_sys_arch=`uname -m`
 3785        WITH_LARGE_FILES=yes
 3786 
 3787        # neccesary to allow gcc 2.95 builds to be used with gcc3 systems
 3788        CFLAGS="$CFLAGS -D__NO_CTYPE"
 3789        if test "$ac_sys_arch" = "s390" ; then
 3790        CFLAGS="$CFLAGS -DPDC_PF_LINUX_OS390"
 3791        PLATFORM_ID="zSeries-Linux"
 3792        PLATFORM="-DPDF_PLATFORM=\\\"\"zSeries Linux\"\\\""
 3793        fi
 3794        if test "$ac_sys_arch" = "ppc" ; then
 3795        PLATFORM_ID="Linux-ppc"
 3796        PLATFORM="-DPDF_PLATFORM=\\\"\"Linux-ppc\"\\\""
 3797        fi
 3798        if test "$ac_sys_arch" = "i686" ; then
 3799        CFLAGS="$CFLAGS -DPDC_PF_LINUX_IA32"
 3800        # add assemblymodule for zlib
 3801        FLATE_ASM_OBJ="match\$(LO)"
 3802        CFLAGS="$CFLAGS -DASMV"
 3803 
 3804        # strange errors with optimizer for some modules on this platform
 3805        NO_O="_no-O"
 3806 
 3807        fi
 3808        if test "$ac_sys_arch" = "ia64" ; then
 3809        CFLAGS="$CFLAGS -DPDC_PF_LINUX_IA64"
 3810            PLATFORM_ID="Linux-ia64"
 3811            PLATFORM="-DPDF_PLATFORM=\\\"\"Linux-ia64\"\\\""
 3812        fi
 3813        if test "$ac_sys_arch" = "x86_64" ; then
 3814        CFLAGS="$CFLAGS -DPDC_PF_LINUX_X86_64"
 3815            PLATFORM_ID="Linux-x86_64"
 3816            PLATFORM="-DPDF_PLATFORM=\\\"\"Linux-x86_64\"\\\""
 3817        fi
 3818        ;;
 3819 
 3820 
 3821     FreeBSD)
 3822        WITH_LARGE_FILES=yes
 3823        tmp_vers=`uname -r`
 3824        case $tmp_vers in
 3825        5.*)
 3826            PLATFORM="-DPDF_PLATFORM=\\\"\"FreeBSD5\"\\\"" ;;
 3827        6.*)
 3828            PLATFORM="-DPDF_PLATFORM=\\\"\"FreeBSD6\"\\\"" ;;
 3829        7.*)
 3830            PLATFORM="-DPDF_PLATFORM=\\\"\"FreeBSD7\"\\\"" ;;
 3831        esac
 3832        ;;
 3833 
 3834     OpenBSD)
 3835        WITH_LARGE_FILES=yes
 3836        CFLAGS="$CFLAGS -DPDC_PF_OPENBSD"
 3837        tmp_vers=`uname -r`
 3838        if test "$tmp_vers" = "3.4" ; then
 3839            PLATFORM="-DPDF_PLATFORM=\\\"\"OpenBSD34\"\\\""
 3840        fi
 3841        ;;
 3842 
 3843         *OS/390*)
 3844     CFLAGS="$CFLAGS -DOS390"
 3845     CC=c89
 3846     LD=c89
 3847     WITH_LARGE_FILES=yes
 3848     PLATFORM_ID=OS390
 3849         PLATFORM="-DPDF_PLATFORM=\\\"\"zSeries USS\"\\\""
 3850 
 3851     CFLAGS="$CFLAGS -2 -W \"c,GONUM,LANGLVL(EXTENDED),FLOAT(IEEE),RENT,ENUM(INT)\""
 3852     ;;
 3853 
 3854     *)  ;;
 3855 esac
 3856 
 3857 GENERATED_FILES=""
 3858 
 3859 # Check whether --enable-large_files or --disable-large_files was given.
 3860 if test "${enable_large_files+set}" = set; then
 3861   enableval="$enable_large_files"
 3862   if test "$enableval" = "yes" ; then
 3863     WITH_LARGE_FILES=yes
 3864 else
 3865     WITH_LARGE_FILES=no
 3866 fi
 3867 fi;
 3868 
 3869 
 3870 WITH_XPLINK=no
 3871 # Check whether --enable-xplink or --disable-xplink was given.
 3872 if test "${enable_xplink+set}" = set; then
 3873   enableval="$enable_xplink"
 3874   if test "$enableval" = "yes" ; then
 3875     WITH_XPLINK=yes
 3876 fi
 3877 fi;
 3878 
 3879 if test "$WITH_XPLINK" = "yes"; then
 3880     case $ac_sys_system in
 3881     *OS/390*)
 3882                             CFLAGS="-Wc,XPLINK,DLL $CFLAGS"
 3883     LDFLAGS="-Wl,XPLINK,DLL $LDFLAGS"
 3884     ;;
 3885     *)  ;;
 3886     esac
 3887 fi
 3888 
 3889 # on z/OS USS, having -g on the command line overrides the optimization
 3890 # always, but configure will always add it to the CFLAGS if the compiler
 3891 # does accept it, so we have to remove it if debugging is not explicitely
 3892 # switched on
 3893 if test "$WITH_DEBUG" = "no"; then
 3894     case $ac_sys_system in
 3895     *OS/390*)
 3896     CFLAGS=`echo "$CFLAGS" | sed -e s/-g//`
 3897     ;;
 3898     *)  ;;
 3899     esac
 3900 fi
 3901 
 3902 # Check whether --enable-tiffwrite or --disable-tiffwrite was given.
 3903 if test "${enable_tiffwrite+set}" = set; then
 3904   enableval="$enable_tiffwrite"
 3905   if test "$enableval" = "yes" ; then
 3906     TIFFWRITE=" -DPDFLIB_TIFFWRITE_SUPPORT"
 3907 else
 3908     TIFFWRITE=""
 3909 fi
 3910 fi;
 3911 
 3912 # Check whether --enable-security or --disable-security was given.
 3913 if test "${enable_security+set}" = set; then
 3914   enableval="$enable_security"
 3915   if test "$enableval" = "no" ; then
 3916     CFLAGS="$CFLAGS -DPDF_NOSECURITY_BUILD"
 3917 fi
 3918 fi;
 3919 
 3920 # Don't set the EXE suffix, as cygwin builds don't work then
 3921 #AC_EXEEXT
 3922 
 3923 
 3924 
 3925 
 3926 
 3927 
 3928 
 3929 
 3930 # Check whether --enable-shared or --disable-shared was given.
 3931 if test "${enable_shared+set}" = set; then
 3932   enableval="$enable_shared"
 3933   p=${PACKAGE-default}
 3934     case $enableval in
 3935     yes) enable_shared=yes ;;
 3936     no) enable_shared=no ;;
 3937     *)
 3938       enable_shared=no
 3939       # Look at the argument we got.  We use all the common list separators.
 3940       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 3941       for pkg in $enableval; do
 3942     IFS="$lt_save_ifs"
 3943     if test "X$pkg" = "X$p"; then
 3944       enable_shared=yes
 3945     fi
 3946       done
 3947       IFS="$lt_save_ifs"
 3948       ;;
 3949     esac
 3950 else
 3951   enable_shared=yes
 3952 fi;
 3953 
 3954 # Check whether --enable-static or --disable-static was given.
 3955 if test "${enable_static+set}" = set; then
 3956   enableval="$enable_static"
 3957   p=${PACKAGE-default}
 3958     case $enableval in
 3959     yes) enable_static=yes ;;
 3960     no) enable_static=no ;;
 3961     *)
 3962      enable_static=no
 3963       # Look at the argument we got.  We use all the common list separators.
 3964       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 3965       for pkg in $enableval; do
 3966     IFS="$lt_save_ifs"
 3967     if test "X$pkg" = "X$p"; then
 3968       enable_static=yes
 3969     fi
 3970       done
 3971       IFS="$lt_save_ifs"
 3972       ;;
 3973     esac
 3974 else
 3975   enable_static=yes
 3976 fi;
 3977 
 3978 # Check whether --enable-fast-install or --disable-fast-install was given.
 3979 if test "${enable_fast_install+set}" = set; then
 3980   enableval="$enable_fast_install"
 3981   p=${PACKAGE-default}
 3982     case $enableval in
 3983     yes) enable_fast_install=yes ;;
 3984     no) enable_fast_install=no ;;
 3985     *)
 3986       enable_fast_install=no
 3987       # Look at the argument we got.  We use all the common list separators.
 3988       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 3989       for pkg in $enableval; do
 3990     IFS="$lt_save_ifs"
 3991     if test "X$pkg" = "X$p"; then
 3992       enable_fast_install=yes
 3993     fi
 3994       done
 3995       IFS="$lt_save_ifs"
 3996       ;;
 3997     esac
 3998 else
 3999   enable_fast_install=yes
 4000 fi;
 4001 
 4002 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 4003 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 4004 if test "${lt_cv_path_SED+set}" = set; then
 4005   echo $ECHO_N "(cached) $ECHO_C" >&6
 4006 else
 4007   # Loop through the user's path and test for sed and gsed.
 4008 # Then use that list of sed's as ones to test for truncation.
 4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4010 for as_dir in $PATH
 4011 do
 4012   IFS=$as_save_IFS
 4013   test -z "$as_dir" && as_dir=.
 4014   for lt_ac_prog in sed gsed; do
 4015     for ac_exec_ext in '' $ac_executable_extensions; do
 4016       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 4017         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 4018       fi
 4019     done
 4020   done
 4021 done
 4022 IFS=$as_save_IFS
 4023 lt_ac_max=0
 4024 lt_ac_count=0
 4025 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
 4026 # along with /bin/sed that truncates output.
 4027 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 4028   test ! -f $lt_ac_sed && continue
 4029   cat /dev/null > conftest.in
 4030   lt_ac_count=0
 4031   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 4032   # Check for GNU sed and select it if it is found.
 4033   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 4034     lt_cv_path_SED=$lt_ac_sed
 4035     break
 4036   fi
 4037   while true; do
 4038     cat conftest.in conftest.in >conftest.tmp
 4039     mv conftest.tmp conftest.in
 4040     cp conftest.in conftest.nl
 4041     echo >>conftest.nl
 4042     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 4043     cmp -s conftest.out conftest.nl || break
 4044     # 10000 chars as input seems more than enough
 4045     test $lt_ac_count -gt 10 && break
 4046     lt_ac_count=`expr $lt_ac_count + 1`
 4047     if test $lt_ac_count -gt $lt_ac_max; then
 4048       lt_ac_max=$lt_ac_count
 4049       lt_cv_path_SED=$lt_ac_sed
 4050     fi
 4051   done
 4052 done
 4053 
 4054 fi
 4055 
 4056 SED=$lt_cv_path_SED
 4057 
 4058 echo "$as_me:$LINENO: result: $SED" >&5
 4059 echo "${ECHO_T}$SED" >&6
 4060 
 4061 echo "$as_me:$LINENO: checking for egrep" >&5
 4062 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 4063 if test "${ac_cv_prog_egrep+set}" = set; then
 4064   echo $ECHO_N "(cached) $ECHO_C" >&6
 4065 else
 4066   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 4067     then ac_cv_prog_egrep='grep -E'
 4068     else ac_cv_prog_egrep='egrep'
 4069     fi
 4070 fi
 4071 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 4072 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 4073  EGREP=$ac_cv_prog_egrep
 4074 
 4075 
 4076 
 4077 # Check whether --with-gnu-ld or --without-gnu-ld was given.
 4078 if test "${with_gnu_ld+set}" = set; then
 4079   withval="$with_gnu_ld"
 4080   test "$withval" = no || with_gnu_ld=yes
 4081 else
 4082   with_gnu_ld=no
 4083 fi;
 4084 ac_prog=ld
 4085 if test "$GCC" = yes; then
 4086   # Check if gcc -print-prog-name=ld gives a path.
 4087   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 4088 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 4089   case $host in
 4090   *-*-mingw*)
 4091     # gcc leaves a trailing carriage return which upsets mingw
 4092     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 4093   *)
 4094     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 4095   esac
 4096   case $ac_prog in
 4097     # Accept absolute paths.
 4098     [\\/]* | ?:[\\/]*)
 4099       re_direlt='/[^/][^/]*/\.\./'
 4100       # Canonicalize the pathname of ld
 4101       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 4102       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 4103     ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 4104       done
 4105       test -z "$LD" && LD="$ac_prog"
 4106       ;;
 4107   "")
 4108     # If it fails, then pretend we aren't using GCC.
 4109     ac_prog=ld
 4110     ;;
 4111   *)
 4112     # If it is relative, then search for the first ld in PATH.
 4113     with_gnu_ld=unknown
 4114     ;;
 4115   esac
 4116 elif test "$with_gnu_ld" = yes; then
 4117   echo "$as_me:$LINENO: checking for GNU ld" >&5
 4118 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 4119 else
 4120   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 4121 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 4122 fi
 4123 if test "${lt_cv_path_LD+set}" = set; then
 4124   echo $ECHO_N "(cached) $ECHO_C" >&6
 4125 else
 4126   if test -z "$LD"; then
 4127   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4128   for ac_dir in $PATH; do
 4129     IFS="$lt_save_ifs"
 4130     test -z "$ac_dir" && ac_dir=.
 4131     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 4132       lt_cv_path_LD="$ac_dir/$ac_prog"
 4133       # Check to see if the program is GNU ld.  I'd rather use --version,
 4134       # but apparently some variants of GNU ld only accept -v.
 4135       # Break only if it was the GNU/non-GNU ld that we prefer.
 4136       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 4137       *GNU* | *'with BFD'*)
 4138     test "$with_gnu_ld" != no && break
 4139     ;;
 4140       *)
 4141     test "$with_gnu_ld" != yes && break
 4142     ;;
 4143       esac
 4144     fi
 4145   done
 4146   IFS="$lt_save_ifs"
 4147 else
 4148   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 4149 fi
 4150 fi
 4151 
 4152 LD="$lt_cv_path_LD"
 4153 if test -n "$LD"; then
 4154   echo "$as_me:$LINENO: result: $LD" >&5
 4155 echo "${ECHO_T}$LD" >&6
 4156 else
 4157   echo "$as_me:$LINENO: result: no" >&5
 4158 echo "${ECHO_T}no" >&6
 4159 fi
 4160 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 4161 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 4162    { (exit 1); exit 1; }; }
 4163 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 4164 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 4165 if test "${lt_cv_prog_gnu_ld+set}" = set; then
 4166   echo $ECHO_N "(cached) $ECHO_C" >&6
 4167 else
 4168   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 4169 case `$LD -v 2>&1 </dev/null` in
 4170 *GNU* | *'with BFD'*)
 4171   lt_cv_prog_gnu_ld=yes
 4172   ;;
 4173 *)
 4174   lt_cv_prog_gnu_ld=no
 4175   ;;
 4176 esac
 4177 fi
 4178 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 4179 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 4180 with_gnu_ld=$lt_cv_prog_gnu_ld
 4181 
 4182 
 4183 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 4184 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 4185 if test "${lt_cv_ld_reload_flag+set}" = set; then
 4186   echo $ECHO_N "(cached) $ECHO_C" >&6
 4187 else
 4188   lt_cv_ld_reload_flag='-r'
 4189 fi
 4190 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 4191 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 4192 reload_flag=$lt_cv_ld_reload_flag
 4193 case $reload_flag in
 4194 "" | " "*) ;;
 4195 *) reload_flag=" $reload_flag" ;;
 4196 esac
 4197 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 4198 case $host_os in
 4199   darwin*)
 4200     if test "$GCC" = yes; then
 4201       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 4202     else
 4203       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 4204     fi
 4205     ;;
 4206 esac
 4207 
 4208 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 4209 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 4210 if test "${lt_cv_path_NM+set}" = set; then
 4211   echo $ECHO_N "(cached) $ECHO_C" >&6
 4212 else
 4213   if test -n "$NM"; then
 4214   # Let the user override the test.
 4215   lt_cv_path_NM="$NM"
 4216 else
 4217   lt_nm_to_check="${ac_tool_prefix}nm"
 4218   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 4219     lt_nm_to_check="$lt_nm_to_check nm"
 4220   fi
 4221   for lt_tmp_nm in $lt_nm_to_check; do
 4222     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4223     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 4224       IFS="$lt_save_ifs"
 4225       test -z "$ac_dir" && ac_dir=.
 4226       tmp_nm="$ac_dir/$lt_tmp_nm"
 4227       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 4228     # Check to see if the nm accepts a BSD-compat flag.
 4229     # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 4230     #   nm: unknown option "B" ignored
 4231     # Tru64's nm complains that /dev/null is an invalid object file
 4232     case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 4233     */dev/null* | *'Invalid file or object type'*)
 4234       lt_cv_path_NM="$tmp_nm -B"
 4235       break
 4236       ;;
 4237     *)
 4238       case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 4239       */dev/null*)
 4240         lt_cv_path_NM="$tmp_nm -p"
 4241         break
 4242         ;;
 4243       *)
 4244         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 4245         continue # so that we can try to find one that supports BSD flags
 4246         ;;
 4247       esac
 4248       ;;
 4249     esac
 4250       fi
 4251     done
 4252     IFS="$lt_save_ifs"
 4253   done
 4254   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 4255 fi
 4256 fi
 4257 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 4258 echo "${ECHO_T}$lt_cv_path_NM" >&6
 4259 NM="$lt_cv_path_NM"
 4260 
 4261 echo "$as_me:$LINENO: checking whether ln -s works" >&5
 4262 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 4263 LN_S=$as_ln_s
 4264 if test "$LN_S" = "ln -s"; then
 4265   echo "$as_me:$LINENO: result: yes" >&5
 4266 echo "${ECHO_T}yes" >&6
 4267 else
 4268   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 4269 echo "${ECHO_T}no, using $LN_S" >&6
 4270 fi
 4271 
 4272 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 4273 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
 4274 if test "${lt_cv_deplibs_check_method+set}" = set; then
 4275   echo $ECHO_N "(cached) $ECHO_C" >&6
 4276 else
 4277   lt_cv_file_magic_cmd='$MAGIC_CMD'
 4278 lt_cv_file_magic_test_file=
 4279 lt_cv_deplibs_check_method='unknown'
 4280 # Need to set the preceding variable on all platforms that support
 4281 # interlibrary dependencies.
 4282 # 'none' -- dependencies not supported.
 4283 # `unknown' -- same as none, but documents that we really don't know.
 4284 # 'pass_all' -- all dependencies passed with no checks.
 4285 # 'test_compile' -- check by making test program.
 4286 # 'file_magic [[regex]]' -- check by looking for files in library path
 4287 # which responds to the $file_magic_cmd with a given extended regex.
 4288 # If you have `file' or equivalent on your system and you're not sure
 4289 # whether `pass_all' will *always* work, you probably want this one.
 4290 
 4291 case $host_os in
 4292 aix4* | aix5*)
 4293   lt_cv_deplibs_check_method=pass_all
 4294   ;;
 4295 
 4296 beos*)
 4297   lt_cv_deplibs_check_method=pass_all
 4298   ;;
 4299 
 4300 bsdi[45]*)
 4301   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 4302   lt_cv_file_magic_cmd='/usr/bin/file -L'
 4303   lt_cv_file_magic_test_file=/shlib/libc.so
 4304   ;;
 4305 
 4306 cygwin*)
 4307   # func_win32_libid is a shell function defined in ltmain.sh
 4308   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 4309   lt_cv_file_magic_cmd='func_win32_libid'
 4310   ;;
 4311 
 4312 mingw* | pw32*)
 4313   # Base MSYS/MinGW do not provide the 'file' command needed by
 4314   # func_win32_libid shell function, so use a weaker test based on 'objdump',
 4315   # unless we find 'file', for example because we are cross-compiling.
 4316   if ( file / ) >/dev/null 2>&1; then
 4317     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 4318     lt_cv_file_magic_cmd='func_win32_libid'
 4319   else
 4320     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 4321     lt_cv_file_magic_cmd='$OBJDUMP -f'
 4322   fi
 4323   ;;
 4324 
 4325 darwin* | rhapsody*)
 4326   lt_cv_deplibs_check_method=pass_all
 4327   ;;
 4328 
 4329 freebsd* | dragonfly*)
 4330   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 4331     case $host_cpu in
 4332     i*86 )
 4333       # Not sure whether the presence of OpenBSD here was a mistake.
 4334       # Let's accept both of them until this is cleared up.
 4335       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 4336       lt_cv_file_magic_cmd=/usr/bin/file
 4337       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 4338       ;;
 4339     esac
 4340   else
 4341     lt_cv_deplibs_check_method=pass_all
 4342   fi
 4343   ;;
 4344 
 4345 gnu*)
 4346   lt_cv_deplibs_check_method=pass_all
 4347   ;;
 4348 
 4349 hpux10.20* | hpux11*)
 4350   lt_cv_file_magic_cmd=/usr/bin/file
 4351   case $host_cpu in
 4352   ia64*)
 4353     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 4354     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 4355     ;;
 4356   hppa*64*)
 4357     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]'
 4358     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 4359     ;;
 4360   *)
 4361     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 4362     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 4363     ;;
 4364   esac
 4365   ;;
 4366 
 4367 interix[3-9]*)
 4368   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 4369   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 4370   ;;
 4371 
 4372 irix5* | irix6* | nonstopux*)
 4373   case $LD in
 4374   *-32|*"-32 ") libmagic=32-bit;;
 4375   *-n32|*"-n32 ") libmagic=N32;;
 4376   *-64|*"-64 ") libmagic=64-bit;;
 4377   *) libmagic=never-match;;
 4378   esac
 4379   lt_cv_deplibs_check_method=pass_all
 4380   ;;
 4381 
 4382 # This must be Linux ELF.
 4383 linux* | k*bsd*-gnu)
 4384   lt_cv_deplibs_check_method=pass_all
 4385   ;;
 4386 
 4387 netbsd*)
 4388   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 4389     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 4390   else
 4391     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 4392   fi
 4393   ;;
 4394 
 4395 newos6*)
 4396   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 4397   lt_cv_file_magic_cmd=/usr/bin/file
 4398   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 4399   ;;
 4400 
 4401 nto-qnx*)
 4402   lt_cv_deplibs_check_method=unknown
 4403   ;;
 4404 
 4405 openbsd*)
 4406   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 4407     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 4408   else
 4409     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 4410   fi
 4411   ;;
 4412 
 4413 osf3* | osf4* | osf5*)
 4414   lt_cv_deplibs_check_method=pass_all
 4415   ;;
 4416 
 4417 rdos*)
 4418   lt_cv_deplibs_check_method=pass_all
 4419   ;;
 4420 
 4421 solaris*)
 4422   lt_cv_deplibs_check_method=pass_all
 4423   ;;
 4424 
 4425 sysv4 | sysv4.3*)
 4426   case $host_vendor in
 4427   motorola)
 4428     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]'
 4429     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 4430     ;;
 4431   ncr)
 4432     lt_cv_deplibs_check_method=pass_all
 4433     ;;
 4434   sequent)
 4435     lt_cv_file_magic_cmd='/bin/file'
 4436     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 4437     ;;
 4438   sni)
 4439     lt_cv_file_magic_cmd='/bin/file'
 4440     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 4441     lt_cv_file_magic_test_file=/lib/libc.so
 4442     ;;
 4443   siemens)
 4444     lt_cv_deplibs_check_method=pass_all
 4445     ;;
 4446   pc)
 4447     lt_cv_deplibs_check_method=pass_all
 4448     ;;
 4449   esac
 4450   ;;
 4451 
 4452 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 4453   lt_cv_deplibs_check_method=pass_all
 4454   ;;
 4455 esac
 4456 
 4457 fi
 4458 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 4459 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 4460 file_magic_cmd=$lt_cv_file_magic_cmd
 4461 deplibs_check_method=$lt_cv_deplibs_check_method
 4462 test -z "$deplibs_check_method" && deplibs_check_method=unknown
 4463 
 4464 
 4465 
 4466 # If no C compiler was specified, use CC.
 4467 LTCC=${LTCC-"$CC"}
 4468 
 4469 # If no C compiler flags were specified, use CFLAGS.
 4470 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 4471 
 4472 # Allow CC to be a program name with arguments.
 4473 compiler=$CC
 4474 
 4475 
 4476 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 4477 if test "${enable_libtool_lock+set}" = set; then
 4478   enableval="$enable_libtool_lock"
 4479 
 4480 fi;
 4481 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 4482 
 4483 # Some flags need to be propagated to the compiler or linker for good
 4484 # libtool support.
 4485 case $host in
 4486 ia64-*-hpux*)
 4487   # Find out which ABI we are using.
 4488   echo 'int i;' > conftest.$ac_ext
 4489   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4490   (eval $ac_compile) 2>&5
 4491   ac_status=$?
 4492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4493   (exit $ac_status); }; then
 4494     case `/usr/bin/file conftest.$ac_objext` in
 4495     *ELF-32*)
 4496       HPUX_IA64_MODE="32"
 4497       ;;
 4498     *ELF-64*)
 4499       HPUX_IA64_MODE="64"
 4500       ;;
 4501     esac
 4502   fi
 4503   rm -rf conftest*
 4504   ;;
 4505 *-*-irix6*)
 4506   # Find out which ABI we are using.
 4507   echo '#line 4511 "configure"' > conftest.$ac_ext
 4508   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4509   (eval $ac_compile) 2>&5
 4510   ac_status=$?
 4511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4512   (exit $ac_status); }; then
 4513    if test "$lt_cv_prog_gnu_ld" = yes; then
 4514     case `/usr/bin/file conftest.$ac_objext` in
 4515     *32-bit*)
 4516       LD="${LD-ld} -melf32bsmip"
 4517       ;;
 4518     *N32*)
 4519       LD="${LD-ld} -melf32bmipn32"
 4520       ;;
 4521     *64-bit*)
 4522       LD="${LD-ld} -melf64bmip"
 4523       ;;
 4524     esac
 4525    else
 4526     case `/usr/bin/file conftest.$ac_objext` in
 4527     *32-bit*)
 4528       LD="${LD-ld} -32"
 4529       ;;
 4530     *N32*)
 4531       LD="${LD-ld} -n32"
 4532       ;;
 4533     *64-bit*)
 4534       LD="${LD-ld} -64"
 4535       ;;
 4536     esac
 4537    fi
 4538   fi
 4539   rm -rf conftest*
 4540   ;;
 4541 
 4542 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 4543 s390*-*linux*|sparc*-*linux*)
 4544   # Find out which ABI we are using.
 4545   echo 'int i;' > conftest.$ac_ext
 4546   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4547   (eval $ac_compile) 2>&5
 4548   ac_status=$?
 4549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4550   (exit $ac_status); }; then
 4551     case `/usr/bin/file conftest.o` in
 4552     *32-bit*)
 4553       case $host in
 4554         x86_64-*kfreebsd*-gnu)
 4555           LD="${LD-ld} -m elf_i386_fbsd"
 4556           ;;
 4557         x86_64-*linux*)
 4558           LD="${LD-ld} -m elf_i386"
 4559           ;;
 4560         ppc64-*linux*|powerpc64-*linux*)
 4561           LD="${LD-ld} -m elf32ppclinux"
 4562           ;;
 4563         s390x-*linux*)
 4564           LD="${LD-ld} -m elf_s390"
 4565           ;;
 4566         sparc64-*linux*)
 4567           LD="${LD-ld} -m elf32_sparc"
 4568           ;;
 4569       esac
 4570       ;;
 4571     *64-bit*)
 4572       case $host in
 4573         x86_64-*kfreebsd*-gnu)
 4574           LD="${LD-ld} -m elf_x86_64_fbsd"
 4575           ;;
 4576         x86_64-*linux*)
 4577           LD="${LD-ld} -m elf_x86_64"
 4578           ;;
 4579         ppc*-*linux*|powerpc*-*linux*)
 4580           LD="${LD-ld} -m elf64ppc"
 4581           ;;
 4582         s390*-*linux*)
 4583           LD="${LD-ld} -m elf64_s390"
 4584           ;;
 4585         sparc*-*linux*)
 4586           LD="${LD-ld} -m elf64_sparc"
 4587           ;;
 4588       esac
 4589       ;;
 4590     esac
 4591   fi
 4592   rm -rf conftest*
 4593   ;;
 4594 
 4595 *-*-sco3.2v5*)
 4596   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 4597   SAVE_CFLAGS="$CFLAGS"
 4598   CFLAGS="$CFLAGS -belf"
 4599   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 4600 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 4601 if test "${lt_cv_cc_needs_belf+set}" = set; then
 4602   echo $ECHO_N "(cached) $ECHO_C" >&6
 4603 else
 4604   ac_ext=c
 4605 ac_cpp='$CPP $CPPFLAGS'
 4606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4609 
 4610      cat >conftest.$ac_ext <<_ACEOF
 4611 /* confdefs.h.  */
 4612 _ACEOF
 4613 cat confdefs.h >>conftest.$ac_ext
 4614 cat >>conftest.$ac_ext <<_ACEOF
 4615 /* end confdefs.h.  */
 4616 
 4617 int
 4618 main ()
 4619 {
 4620 
 4621   ;
 4622   return 0;
 4623 }
 4624 _ACEOF
 4625 rm -f conftest.$ac_objext conftest$ac_exeext
 4626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4627   (eval $ac_link) 2>conftest.er1
 4628   ac_status=$?
 4629   grep -v '^ *+' conftest.er1 >conftest.err
 4630   rm -f conftest.er1
 4631   cat conftest.err >&5
 4632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4633   (exit $ac_status); } &&
 4634      { ac_try='test -z "$ac_c_werror_flag"
 4635              || test ! -s conftest.err'
 4636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4637   (eval $ac_try) 2>&5
 4638   ac_status=$?
 4639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4640   (exit $ac_status); }; } &&
 4641      { ac_try='test -s conftest$ac_exeext'
 4642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4643   (eval $ac_try) 2>&5
 4644   ac_status=$?
 4645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4646   (exit $ac_status); }; }; then
 4647   lt_cv_cc_needs_belf=yes
 4648 else
 4649   echo "$as_me: failed program was:" >&5
 4650 sed 's/^/| /' conftest.$ac_ext >&5
 4651 
 4652 lt_cv_cc_needs_belf=no
 4653 fi
 4654 rm -f conftest.err conftest.$ac_objext \
 4655       conftest$ac_exeext conftest.$ac_ext
 4656      ac_ext=c
 4657 ac_cpp='$CPP $CPPFLAGS'
 4658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4661 
 4662 fi
 4663 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 4664 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 4665   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 4666     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 4667     CFLAGS="$SAVE_CFLAGS"
 4668   fi
 4669   ;;
 4670 sparc*-*solaris*)
 4671   # Find out which ABI we are using.
 4672   echo 'int i;' > conftest.$ac_ext
 4673   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4674   (eval $ac_compile) 2>&5
 4675   ac_status=$?
 4676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4677   (exit $ac_status); }; then
 4678     case `/usr/bin/file conftest.o` in
 4679     *64-bit*)
 4680       case $lt_cv_prog_gnu_ld in
 4681       yes*) LD="${LD-ld} -m elf64_sparc" ;;
 4682       *)    LD="${LD-ld} -64" ;;
 4683       esac
 4684       ;;
 4685     esac
 4686   fi
 4687   rm -rf conftest*
 4688   ;;
 4689 
 4690 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
 4691   if test -n "$ac_tool_prefix"; then
 4692   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 4693 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 4694 echo "$as_me:$LINENO: checking for $ac_word" >&5
 4695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4696 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 4697   echo $ECHO_N "(cached) $ECHO_C" >&6
 4698 else
 4699   if test -n "$DLLTOOL"; then
 4700   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 4701 else
 4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4703 for as_dir in $PATH
 4704 do
 4705   IFS=$as_save_IFS
 4706   test -z "$as_dir" && as_dir=.
 4707   for ac_exec_ext in '' $ac_executable_extensions; do
 4708   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4709     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 4710     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4711     break 2
 4712   fi
 4713 done
 4714 done
 4715 
 4716 fi
 4717 fi
 4718 DLLTOOL=$ac_cv_prog_DLLTOOL
 4719 if test -n "$DLLTOOL"; then
 4720   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 4721 echo "${ECHO_T}$DLLTOOL" >&6
 4722 else
 4723   echo "$as_me:$LINENO: result: no" >&5
 4724 echo "${ECHO_T}no" >&6
 4725 fi
 4726 
 4727 fi
 4728 if test -z "$ac_cv_prog_DLLTOOL"; then
 4729   ac_ct_DLLTOOL=$DLLTOOL
 4730   # Extract the first word of "dlltool", so it can be a program name with args.
 4731 set dummy dlltool; ac_word=$2
 4732 echo "$as_me:$LINENO: checking for $ac_word" >&5
 4733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4734 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 4735   echo $ECHO_N "(cached) $ECHO_C" >&6
 4736 else
 4737   if test -n "$ac_ct_DLLTOOL"; then
 4738   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 4739 else
 4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4741 for as_dir in $PATH
 4742 do
 4743   IFS=$as_save_IFS
 4744   test -z "$as_dir" && as_dir=.
 4745   for ac_exec_ext in '' $ac_executable_extensions; do
 4746   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4747     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 4748     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4749     break 2
 4750   fi
 4751 done
 4752 done
 4753 
 4754   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
 4755 fi
 4756 fi
 4757 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 4758 if test -n "$ac_ct_DLLTOOL"; then
 4759   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 4760 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
 4761 else
 4762   echo "$as_me:$LINENO: result: no" >&5
 4763 echo "${ECHO_T}no" >&6
 4764 fi
 4765 
 4766   DLLTOOL=$ac_ct_DLLTOOL
 4767 else
 4768   DLLTOOL="$ac_cv_prog_DLLTOOL"
 4769 fi
 4770 
 4771   if test -n "$ac_tool_prefix"; then
 4772   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 4773 set dummy ${ac_tool_prefix}as; ac_word=$2
 4774 echo "$as_me:$LINENO: checking for $ac_word" >&5
 4775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4776 if test "${ac_cv_prog_AS+set}" = set; then
 4777   echo $ECHO_N "(cached) $ECHO_C" >&6
 4778 else
 4779   if test -n "$AS"; then
 4780   ac_cv_prog_AS="$AS" # Let the user override the test.
 4781 else
 4782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4783 for as_dir in $PATH
 4784 do
 4785   IFS=$as_save_IFS
 4786   test -z "$as_dir" && as_dir=.
 4787   for ac_exec_ext in '' $ac_executable_extensions; do
 4788   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4789     ac_cv_prog_AS="${ac_tool_prefix}as"
 4790     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4791     break 2
 4792   fi
 4793 done
 4794 done
 4795 
 4796 fi
 4797 fi
 4798 AS=$ac_cv_prog_AS
 4799 if test -n "$AS"; then
 4800   echo "$as_me:$LINENO: result: $AS" >&5
 4801 echo "${ECHO_T}$AS" >&6
 4802 else
 4803   echo "$as_me:$LINENO: result: no" >&5
 4804 echo "${ECHO_T}no" >&6
 4805 fi
 4806 
 4807 fi
 4808 if test -z "$ac_cv_prog_AS"; then
 4809   ac_ct_AS=$AS
 4810   # Extract the first word of "as", so it can be a program name with args.
 4811 set dummy as; ac_word=$2
 4812 echo "$as_me:$LINENO: checking for $ac_word" >&5
 4813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4814 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
 4815   echo $ECHO_N "(cached) $ECHO_C" >&6
 4816 else
 4817   if test -n "$ac_ct_AS"; then
 4818   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 4819 else
 4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4821 for as_dir in $PATH
 4822 do
 4823   IFS=$as_save_IFS
 4824   test -z "$as_dir" && as_dir=.
 4825   for ac_exec_ext in '' $ac_executable_extensions; do
 4826   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4827     ac_cv_prog_ac_ct_AS="as"
 4828     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4829     break 2
 4830   fi
 4831 done
 4832 done
 4833 
 4834   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
 4835 fi
 4836 fi
 4837 ac_ct_AS=$ac_cv_prog_ac_ct_AS
 4838 if test -n "$ac_ct_AS"; then
 4839   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 4840 echo "${ECHO_T}$ac_ct_AS" >&6
 4841 else
 4842   echo "$as_me:$LINENO: result: no" >&5
 4843 echo "${ECHO_T}no" >&6
 4844 fi
 4845 
 4846   AS=$ac_ct_AS
 4847 else
 4848   AS="$ac_cv_prog_AS"
 4849 fi
 4850 
 4851   if test -n "$ac_tool_prefix"; then
 4852   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 4853 set dummy ${ac_tool_prefix}objdump; ac_word=$2
 4854 echo "$as_me:$LINENO: checking for $ac_word" >&5
 4855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4856 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 4857   echo $ECHO_N "(cached) $ECHO_C" >&6
 4858 else
 4859   if test -n "$OBJDUMP"; then
 4860   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 4861 else
 4862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4863 for as_dir in $PATH
 4864 do
 4865   IFS=$as_save_IFS
 4866   test -z "$as_dir" && as_dir=.
 4867   for ac_exec_ext in '' $ac_executable_extensions; do
 4868   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4869     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 4870     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4871     break 2
 4872   fi
 4873 done
 4874 done
 4875 
 4876 fi
 4877 fi
 4878 OBJDUMP=$ac_cv_prog_OBJDUMP
 4879 if test -n "$OBJDUMP"; then
 4880   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 4881 echo "${ECHO_T}$OBJDUMP" >&6
 4882 else
 4883   echo "$as_me:$LINENO: result: no" >&5
 4884 echo "${ECHO_T}no" >&6
 4885 fi
 4886 
 4887 fi
 4888 if test -z "$ac_cv_prog_OBJDUMP"; then
 4889   ac_ct_OBJDUMP=$OBJDUMP
 4890   # Extract the first word of "objdump", so it can be a program name with args.
 4891 set dummy objdump; ac_word=$2
 4892 echo "$as_me:$LINENO: checking for $ac_word" >&5
 4893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4894 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 4895   echo $ECHO_N "(cached) $ECHO_C" >&6
 4896 else
 4897   if test -n "$ac_ct_OBJDUMP"; then
 4898   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 4899 else
 4900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4901 for as_dir in $PATH
 4902 do
 4903   IFS=$as_save_IFS
 4904   test -z "$as_dir" && as_dir=.
 4905   for ac_exec_ext in '' $ac_executable_extensions; do
 4906   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4907     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 4908     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4909     break 2
 4910   fi
 4911 done
 4912 done
 4913 
 4914   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
 4915 fi
 4916 fi
 4917 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 4918 if test -n "$ac_ct_OBJDUMP"; then
 4919   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 4920 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
 4921 else
 4922   echo "$as_me:$LINENO: result: no" >&5
 4923 echo "${ECHO_T}no" >&6
 4924 fi
 4925 
 4926   OBJDUMP=$ac_ct_OBJDUMP
 4927 else
 4928   OBJDUMP="$ac_cv_prog_OBJDUMP"
 4929 fi
 4930 
 4931   ;;
 4932 
 4933 esac
 4934 
 4935 need_locks="$enable_libtool_lock"
 4936 
 4937 
 4938 
 4939 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 4940 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 4941 if test "${ac_cv_header_stdc+set}" = set; then
 4942   echo $ECHO_N "(cached) $ECHO_C" >&6
 4943 else
 4944   cat >conftest.$ac_ext <<_ACEOF
 4945 /* confdefs.h.  */
 4946 _ACEOF
 4947 cat confdefs.h >>conftest.$ac_ext
 4948 cat >>conftest.$ac_ext <<_ACEOF
 4949 /* end confdefs.h.  */
 4950 #include <stdlib.h>
 4951 #include <stdarg.h>
 4952 #include <string.h>
 4953 #include <float.h>
 4954 
 4955 int
 4956 main ()
 4957 {
 4958 
 4959   ;
 4960   return 0;
 4961 }
 4962 _ACEOF
 4963 rm -f conftest.$ac_objext
 4964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4965   (eval $ac_compile) 2>conftest.er1
 4966   ac_status=$?
 4967   grep -v '^ *+' conftest.er1 >conftest.err
 4968   rm -f conftest.er1
 4969   cat conftest.err >&5
 4970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4971   (exit $ac_status); } &&
 4972      { ac_try='test -z "$ac_c_werror_flag"
 4973              || test ! -s conftest.err'
 4974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4975   (eval $ac_try) 2>&5
 4976   ac_status=$?
 4977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4978   (exit $ac_status); }; } &&
 4979      { ac_try='test -s conftest.$ac_objext'
 4980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4981   (eval $ac_try) 2>&5
 4982   ac_status=$?
 4983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4984   (exit $ac_status); }; }; then
 4985   ac_cv_header_stdc=yes
 4986 else
 4987   echo "$as_me: failed program was:" >&5
 4988 sed 's/^/| /' conftest.$ac_ext >&5
 4989 
 4990 ac_cv_header_stdc=no
 4991 fi
 4992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4993 
 4994 if test $ac_cv_header_stdc = yes; then
 4995   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 4996   cat >conftest.$ac_ext <<_ACEOF
 4997 /* confdefs.h.  */
 4998 _ACEOF
 4999 cat confdefs.h >>conftest.$ac_ext
 5000 cat >>conftest.$ac_ext <<_ACEOF
 5001 /* end confdefs.h.  */
 5002 #include <string.h>
 5003 
 5004 _ACEOF
 5005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5006   $EGREP "memchr" >/dev/null 2>&1; then
 5007   :
 5008 else
 5009   ac_cv_header_stdc=no
 5010 fi
 5011 rm -f conftest*
 5012 
 5013 fi
 5014 
 5015 if test $ac_cv_header_stdc = yes; then
 5016   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 5017   cat >conftest.$ac_ext <<_ACEOF
 5018 /* confdefs.h.  */
 5019 _ACEOF
 5020 cat confdefs.h >>conftest.$ac_ext
 5021 cat >>conftest.$ac_ext <<_ACEOF
 5022 /* end confdefs.h.  */
 5023 #include <stdlib.h>
 5024 
 5025 _ACEOF
 5026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5027   $EGREP "free" >/dev/null 2>&1; then
 5028   :
 5029 else
 5030   ac_cv_header_stdc=no
 5031 fi
 5032 rm -f conftest*
 5033 
 5034 fi
 5035 
 5036 if test $ac_cv_header_stdc = yes; then
 5037   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 5038   if test "$cross_compiling" = yes; then
 5039   :
 5040 else
 5041   cat >conftest.$ac_ext <<_ACEOF
 5042 /* confdefs.h.  */
 5043 _ACEOF
 5044 cat confdefs.h >>conftest.$ac_ext
 5045 cat >>conftest.$ac_ext <<_ACEOF
 5046 /* end confdefs.h.  */
 5047 #include <ctype.h>
 5048 #if ((' ' & 0x0FF) == 0x020)
 5049 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 5050 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 5051 #else
 5052 # define ISLOWER(c) \
 5053            (('a' <= (c) && (c) <= 'i') \
 5054              || ('j' <= (c) && (c) <= 'r') \
 5055              || ('s' <= (c) && (c) <= 'z'))
 5056 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 5057 #endif
 5058 
 5059 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 5060 int
 5061 main ()
 5062 {
 5063   int i;
 5064   for (i = 0; i < 256; i++)
 5065     if (XOR (islower (i), ISLOWER (i))
 5066     || toupper (i) != TOUPPER (i))
 5067       exit(2);
 5068   exit (0);
 5069 }
 5070 _ACEOF
 5071 rm -f conftest$ac_exeext
 5072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5073   (eval $ac_link) 2>&5
 5074   ac_status=$?
 5075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5076   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 5077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5078   (eval $ac_try) 2>&5
 5079   ac_status=$?
 5080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5081   (exit $ac_status); }; }; then
 5082   :
 5083 else
 5084   echo "$as_me: program exited with status $ac_status" >&5
 5085 echo "$as_me: failed program was:" >&5
 5086 sed 's/^/| /' conftest.$ac_ext >&5
 5087 
 5088 ( exit $ac_status )
 5089 ac_cv_header_stdc=no
 5090 fi
 5091 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 5092 fi
 5093 fi
 5094 fi
 5095 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 5096 echo "${ECHO_T}$ac_cv_header_stdc" >&6
 5097 if test $ac_cv_header_stdc = yes; then
 5098 
 5099 cat >>confdefs.h <<\_ACEOF
 5100 #define STDC_HEADERS 1
 5101 _ACEOF
 5102 
 5103 fi
 5104 
 5105 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 5106 
 5107 
 5108 
 5109 
 5110 
 5111 
 5112 
 5113 
 5114 
 5115 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 5116           inttypes.h stdint.h unistd.h
 5117 do
 5118 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5119 echo "$as_me:$LINENO: checking for $ac_header" >&5
 5120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5122   echo $ECHO_N "(cached) $ECHO_C" >&6
 5123 else
 5124   cat >conftest.$ac_ext <<_ACEOF
 5125 /* confdefs.h.  */
 5126 _ACEOF
 5127 cat confdefs.h >>conftest.$ac_ext
 5128 cat >>conftest.$ac_ext <<_ACEOF
 5129 /* end confdefs.h.  */
 5130 $ac_includes_default
 5131 
 5132 #include <$ac_header>
 5133 _ACEOF
 5134 rm -f conftest.$ac_objext
 5135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5136   (eval $ac_compile) 2>conftest.er1
 5137   ac_status=$?
 5138   grep -v '^ *+' conftest.er1 >conftest.err
 5139   rm -f conftest.er1
 5140   cat conftest.err >&5
 5141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5142   (exit $ac_status); } &&
 5143      { ac_try='test -z "$ac_c_werror_flag"
 5144              || test ! -s conftest.err'
 5145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5146   (eval $ac_try) 2>&5
 5147   ac_status=$?
 5148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5149   (exit $ac_status); }; } &&
 5150      { ac_try='test -s conftest.$ac_objext'
 5151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5152   (eval $ac_try) 2>&5
 5153   ac_status=$?
 5154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5155   (exit $ac_status); }; }; then
 5156   eval "$as_ac_Header=yes"
 5157 else
 5158   echo "$as_me: failed program was:" >&5
 5159 sed 's/^/| /' conftest.$ac_ext >&5
 5160 
 5161 eval "$as_ac_Header=no"
 5162 fi
 5163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5164 fi
 5165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 5168   cat >>confdefs.h <<_ACEOF
 5169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5170 _ACEOF
 5171 
 5172 fi
 5173 
 5174 done
 5175 
 5176 
 5177 
 5178 for ac_header in dlfcn.h
 5179 do
 5180 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5182   echo "$as_me:$LINENO: checking for $ac_header" >&5
 5183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5185   echo $ECHO_N "(cached) $ECHO_C" >&6
 5186 fi
 5187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5189 else
 5190   # Is the header compilable?
 5191 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 5192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 5193 cat >conftest.$ac_ext <<_ACEOF
 5194 /* confdefs.h.  */
 5195 _ACEOF
 5196 cat confdefs.h >>conftest.$ac_ext
 5197 cat >>conftest.$ac_ext <<_ACEOF
 5198 /* end confdefs.h.  */
 5199 $ac_includes_default
 5200 #include <$ac_header>
 5201 _ACEOF
 5202 rm -f conftest.$ac_objext
 5203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5204   (eval $ac_compile) 2>conftest.er1
 5205   ac_status=$?
 5206   grep -v '^ *+' conftest.er1 >conftest.err
 5207   rm -f conftest.er1
 5208   cat conftest.err >&5
 5209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5210   (exit $ac_status); } &&
 5211      { ac_try='test -z "$ac_c_werror_flag"
 5212              || test ! -s conftest.err'
 5213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5214   (eval $ac_try) 2>&5
 5215   ac_status=$?
 5216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5217   (exit $ac_status); }; } &&
 5218      { ac_try='test -s conftest.$ac_objext'
 5219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5220   (eval $ac_try) 2>&5
 5221   ac_status=$?
 5222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5223   (exit $ac_status); }; }; then
 5224   ac_header_compiler=yes
 5225 else
 5226   echo "$as_me: failed program was:" >&5
 5227 sed 's/^/| /' conftest.$ac_ext >&5
 5228 
 5229 ac_header_compiler=no
 5230 fi
 5231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 5233 echo "${ECHO_T}$ac_header_compiler" >&6
 5234 
 5235 # Is the header present?
 5236 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 5237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 5238 cat >conftest.$ac_ext <<_ACEOF
 5239 /* confdefs.h.  */
 5240 _ACEOF
 5241 cat confdefs.h >>conftest.$ac_ext
 5242 cat >>conftest.$ac_ext <<_ACEOF
 5243 /* end confdefs.h.  */
 5244 #include <$ac_header>
 5245 _ACEOF
 5246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5247   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5248   ac_status=$?
 5249   grep -v '^ *+' conftest.er1 >conftest.err
 5250   rm -f conftest.er1
 5251   cat conftest.err >&5
 5252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5253   (exit $ac_status); } >/dev/null; then
 5254   if test -s conftest.err; then
 5255     ac_cpp_err=$ac_c_preproc_warn_flag
 5256     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 5257   else
 5258     ac_cpp_err=
 5259   fi
 5260 else
 5261   ac_cpp_err=yes
 5262 fi
 5263 if test -z "$ac_cpp_err"; then
 5264   ac_header_preproc=yes
 5265 else
 5266   echo "$as_me: failed program was:" >&5
 5267 sed 's/^/| /' conftest.$ac_ext >&5
 5268 
 5269   ac_header_preproc=no
 5270 fi
 5271 rm -f conftest.err conftest.$ac_ext
 5272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 5273 echo "${ECHO_T}$ac_header_preproc" >&6
 5274 
 5275 # So?  What about this header?
 5276 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 5277   yes:no: )
 5278     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 5279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 5280     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 5281 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 5282     ac_header_preproc=yes
 5283     ;;
 5284   no:yes:* )
 5285     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 5286 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 5287     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 5288 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 5289     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 5290 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 5291     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 5292 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 5293     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 5294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 5295     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 5296 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 5297     (
 5298       cat <<\_ASBOX
 5299 ## ------------------------------------------ ##
 5300 ## Report this to the AC_PACKAGE_NAME lists.  ##
 5301 ## ------------------------------------------ ##
 5302 _ASBOX
 5303     ) |
 5304       sed "s/^/$as_me: WARNING:     /" >&2
 5305     ;;
 5306 esac
 5307 echo "$as_me:$LINENO: checking for $ac_header" >&5
 5308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5310   echo $ECHO_N "(cached) $ECHO_C" >&6
 5311 else
 5312   eval "$as_ac_Header=\$ac_header_preproc"
 5313 fi
 5314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5316 
 5317 fi
 5318 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 5319   cat >>confdefs.h <<_ACEOF
 5320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5321 _ACEOF
 5322 
 5323 fi
 5324 
 5325 done
 5326 
 5327 ac_ext=cc
 5328 ac_cpp='$CXXCPP $CPPFLAGS'
 5329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 5332 if test -n "$ac_tool_prefix"; then
 5333   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 5334   do
 5335     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 5336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 5337 echo "$as_me:$LINENO: checking for $ac_word" >&5
 5338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5339 if test "${ac_cv_prog_CXX+set}" = set; then
 5340   echo $ECHO_N "(cached) $ECHO_C" >&6
 5341 else
 5342   if test -n "$CXX"; then
 5343   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 5344 else
 5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5346 for as_dir in $PATH
 5347 do
 5348   IFS=$as_save_IFS
 5349   test -z "$as_dir" && as_dir=.
 5350   for ac_exec_ext in '' $ac_executable_extensions; do
 5351   if $as_executable_p "$as_dir/$ac_word