2 # Guess values for system-dependent variables and create Makefiles. 
   3 # Generated by GNU Autoconf 2.57. 
   5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 
   6 # Free Software Foundation, Inc. 
   7 # This configure script is free software; the Free Software Foundation 
   8 # gives unlimited permission to copy, distribute and modify it. 
   9 ## --------------------- ## 
  10 ## M4sh Initialization.  ## 
  11 ## --------------------- ## 
  13 # Be Bourne compatible 
  14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null 
2>&1; then 
  17   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
  18   # is contrary to our usage.  Disable this feature. 
  19   alias -g '${1+"$@"}'='"$@"' 
  20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null 
2>&1; then 
  24 # Support unset when possible. 
  25 if (FOO
=FOO
; unset FOO
) >/dev
/null 
2>&1; then 
  32 # Work around bugs in pre-3.0 UWIN ksh. 
  33 $as_unset ENV MAIL MAILPATH
 
  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 \
 
  44   if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 
  45     eval $as_var=C
; export $as_var 
  51 # Required to use basename. 
  52 if expr a 
: '\(a\)' >/dev
/null 
2>&1; then 
  58 if (basename /) >/dev
/null 
2>&1 && test "X`basename / 2>&1`" = "X/"; then 
  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 || 
  72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
  73           /^X\/\(\/\/\)$/{ s//\1/; q; } 
  74           /^X\/\(\/\).*/{ s//\1/; q; } 
  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 
  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
 
  91   if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null 
2>&1; then 
 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 
 108     *[\\/]* ) as_myself
=$0 ;; 
 109     *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
 113   test -z "$as_dir" && as_dir
=.
 
 114   test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break 
 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 
 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; }; } 
 128   case $CONFIG_SHELL in 
 130     as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
 131 for as_dir 
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH 
 134   test -z "$as_dir" && as_dir
=.
 
 135   for as_base 
in sh bash ksh sh5
; do 
 138            if ("$as_dir/$as_base" -c ' 
 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 
 148              exec "$CONFIG_SHELL" "$0" ${1+"$@"} 
 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 | 
 169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 
 172       s,^['$as_cr_digits']*\n,, 
 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; }; } 
 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). 
 182   # Exit status is that of the last command. 
 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
 188   *c
*,-n*) ECHO_N
= ECHO_C
=' 
 190   *c
*,*  ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;; 
 191   *)       ECHO_N
= ECHO_C
='\c' ECHO_T
= ;; 
 194 if expr a 
: '\(a\)' >/dev
/null 
2>&1; then 
 200 rm -f conf$$ conf$$.exe 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 
 211 elif ln conf$$.
file conf$$ 
2>/dev
/null
; then 
 216 rm -f conf$$ conf$$.exe conf$$.
file 
 218 if mkdir -p . 
2>/dev
/null
; then 
 224 as_executable_p
="test -f" 
 226 # Sed expression to map a string onto a valid CPP name. 
 227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 
 229 # Sed expression to map a string onto a valid variable name. 
 230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 
 234 # We need space, tab and new line, in precisely that order. 
 243 # Find the correct PATH separator.  Usually this is `:', but 
 244 # DJGPP uses `;' like DOS. 
 245 if test "X${PATH_SEPARATOR+set}" != Xset
; then 
 246   UNAME
=${UNAME-`uname 2>/dev/null`} 
 248     *-DOS) lt_cv_sys_path_separator
=';' ;; 
 249     *)     lt_cv_sys_path_separator
=':' ;; 
 251   PATH_SEPARATOR
=$lt_cv_sys_path_separator 
 255 # Check that we are running under the correct shell. 
 256 SHELL
=${CONFIG_SHELL-/bin/sh} 
 260   # Remove one level of quotation (which was required for Make). 
 261   ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` 
 266 if test "X$1" = X
--no-reexec; then 
 267   # Discard the --no-reexec flag, and continue. 
 269 elif test "X$1" = X
--fallback-echo; then 
 270   # Avoid inline document here, it may be left over 
 272 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then 
 273   # Yippee, $echo works! 
 276   # Restart under the correct shell. 
 277   exec $SHELL "$0" --no-reexec ${1+"$@"} 
 280 if test "X$1" = X
--fallback-echo; then 
 281   # used as fallback echo 
 289 # The HP-UX ksh and POSIX shell print the target directory to stdout 
 291 if test "X${CDPATH+set}" = Xset
; then CDPATH
=:; export CDPATH
; fi 
 293 if test -z "$ECHO"; then 
 294 if test "X${echo_test_string+set}" != Xset
; then 
 295 # find a string as large as possible, as long as the shell can cope with it 
 296   for cmd 
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 
 297     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
 298     if (echo_test_string
="`eval $cmd`") 2>/dev
/null 
&& 
 299        echo_test_string
="`eval $cmd`" && 
 300        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
 
 307 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 
 308    echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` && 
 309    test "X$echo_testing_string" = "X$echo_test_string"; then 
 312   # The Solaris, AIX, and Digital Unix default echo programs unquote 
 313   # backslashes.  This makes it impossible to quote backslashes using 
 314   #   echo "$something" | sed 's/\\/\\\\/g' 
 316   # So, first we look for a working echo in the user's PATH. 
 318   IFS
="${IFS=   }"; save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR 
 319   for dir 
in $PATH /usr
/ucb
; do 
 320     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 
 321        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 
 322        echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` && 
 323        test "X$echo_testing_string" = "X$echo_test_string"; then 
 330   if test "X$echo" = Xecho
; then 
 331     # We didn't find a better echo, so look for alternatives. 
 332     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 
 333        echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` && 
 334        test "X$echo_testing_string" = "X$echo_test_string"; then 
 335       # This shell has a builtin print -r that does the trick. 
 337     elif (test -f /bin
/ksh 
|| test -f /bin
/ksh
$ac_exeext) && 
 338          test "X$CONFIG_SHELL" != X
/bin
/ksh
; then 
 339       # If we have ksh, try running configure again with it. 
 340       ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh} 
 341       export ORIGINAL_CONFIG_SHELL
 
 342       CONFIG_SHELL
=/bin
/ksh
 
 344       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 
 348       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 
 349          echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` && 
 350          test "X$echo_testing_string" = "X$echo_test_string"; then 
 353       elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 
 354            test "X$echo_testing_string" = 'X\t' && 
 355            echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
 356            test "X$echo_testing_string" = "X$echo_test_string"; then 
 357         CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL 
 359         SHELL
="$CONFIG_SHELL" 
 361         echo="$CONFIG_SHELL $0 --fallback-echo" 
 362       elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 
 363            test "X$echo_testing_string" = 'X\t' && 
 364            echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
 365            test "X$echo_testing_string" = "X$echo_test_string"; then 
 366         echo="$CONFIG_SHELL $0 --fallback-echo" 
 368         # maybe with a smaller string... 
 371         for cmd 
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 
 372           if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
 
 379         if test "$prev" != 'sed 50q "$0"'; then 
 380           echo_test_string
=`eval $prev` 
 381           export echo_test_string
 
 382           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 
 384           # Oops.  We lost completely, so just stick with echo. 
 393 # Copy echo and quote the copy suitably for passing to libtool from 
 394 # the Makefile, instead of quoting the original, which is used later. 
 396 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 
 397    ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo" 
 403 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 
 404 # so uname gets run too. 
 405 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q` 
 412 ac_default_prefix
=/usr
/local 
 413 ac_config_libobj_dir
=.
 
 418 SHELL
=${CONFIG_SHELL-/bin/sh} 
 420 # Maximum number of lines to put in a shell here document. 
 421 # This variable seems obsolete.  It should probably be removed, and 
 422 # only ac_max_sed_lines should be used. 
 423 : ${ac_max_here_lines=38} 
 425 # Identity of this package. 
 432 ac_unique_file
="expat" 
 433 ac_unique_file
="Makefile.in" 
 434 # Factoring default headers for most tests. 
 435 ac_includes_default
="\ 
 438 # include <sys/types.h> 
 441 # include <sys/stat.h> 
 452 # if !STDC_HEADERS && HAVE_MEMORY_H 
 458 # include <strings.h> 
 461 # include <inttypes.h> 
 471 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP LIBTOOL LIBCURRENT LIBREVISION LIBAGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS FILEMAP LTLIBOBJS' 
 474 # Initialize some variables set by options. 
 476 ac_init_version
=false
 
 477 # The variables have the same names as the options, with 
 478 # dashes changed to underlines. 
 486 program_transform_name
=s
,x
,x
, 
 494 # Installation directory options. 
 495 # These are left unexpanded so users can "make install exec_prefix=/foo" 
 496 # and all the variables that are supposed to be based on exec_prefix 
 497 # by default will actually change. 
 498 # Use braces instead of parens because sh, perl, etc. also accept them. 
 499 bindir
='${exec_prefix}/bin' 
 500 sbindir
='${exec_prefix}/sbin' 
 501 libexecdir
='${exec_prefix}/libexec' 
 502 datadir
='${prefix}/share' 
 503 sysconfdir
='${prefix}/etc' 
 504 sharedstatedir
='${prefix}/com' 
 505 localstatedir
='${prefix}/var' 
 506 libdir
='${exec_prefix}/lib' 
 507 includedir
='${prefix}/include' 
 508 oldincludedir
='/usr/include' 
 509 infodir
='${prefix}/info' 
 510 mandir
='${prefix}/man' 
 515   # If the previous option needs an argument, assign it. 
 516   if test -n "$ac_prev"; then 
 517     eval "$ac_prev=\$ac_option" 
 522   ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 
 524   # Accept the important Cygnus configure options, so we can diagnose typos. 
 528   -bindir | --bindir | --bindi | --bind | --bin | --bi) 
 530   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 
 533   -build | --build | --buil | --bui | --bu) 
 534     ac_prev
=build_alias 
;; 
 535   -build=* | --build=* | --buil=* | --bui=* | --bu=*) 
 536     build_alias
=$ac_optarg ;; 
 538   -cache-file | --cache-file | --cache-fil | --cache-fi \
 
 539   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 
 540     ac_prev
=cache_file 
;; 
 541   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
 542   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 
 543     cache_file
=$ac_optarg ;; 
 546     cache_file
=config.cache 
;; 
 548   -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 
 550   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
 552     datadir
=$ac_optarg ;; 
 554   -disable-* | --disable-*) 
 555     ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
 556     # Reject names that are not valid shell variable names. 
 557     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null 
&& 
 558       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
 559    { (exit 1); exit 1; }; } 
 560     ac_feature
=`echo $ac_feature | sed 's/-/_/g'` 
 561     eval "enable_$ac_feature=no" ;; 
 563   -enable-* | --enable-*) 
 564     ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
 565     # Reject names that are not valid shell variable names. 
 566     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null 
&& 
 567       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
 568    { (exit 1); exit 1; }; } 
 569     ac_feature
=`echo $ac_feature | sed 's/-/_/g'` 
 571       *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 
 574     eval "enable_$ac_feature='$ac_optarg'" ;; 
 576   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
 577   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
 578   | --exec | --exe | --ex) 
 579     ac_prev
=exec_prefix 
;; 
 580   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
 581   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
 582   | --exec=* | --exe=* | --ex=*) 
 583     exec_prefix
=$ac_optarg ;; 
 585   -gas | --gas | --ga | --g) 
 586     # Obsolete; use --with-gas. 
 589   -help | --help | --hel | --he | -h) 
 591   -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*) 
 592     ac_init_help
=recursive 
;; 
 593   -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*) 
 594     ac_init_help
=short 
;; 
 596   -host | --host | --hos | --ho) 
 597     ac_prev
=host_alias 
;; 
 598   -host=* | --host=* | --hos=* | --ho=*) 
 599     host_alias
=$ac_optarg ;; 
 601   -includedir | --includedir | --includedi | --included | --include \
 
 602   | --includ | --inclu | --incl | --inc) 
 603     ac_prev
=includedir 
;; 
 604   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
 605   | --includ=* | --inclu=* | --incl=* | --inc=*) 
 606     includedir
=$ac_optarg ;; 
 608   -infodir | --infodir | --infodi | --infod | --info | --inf) 
 610   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 
 611     infodir
=$ac_optarg ;; 
 613   -libdir | --libdir | --libdi | --libd) 
 615   -libdir=* | --libdir=* | --libdi=* | --libd=*) 
 618   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
 619   | --libexe | --libex | --libe) 
 620     ac_prev
=libexecdir 
;; 
 621   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
 622   | --libexe=* | --libex=* | --libe=*) 
 623     libexecdir
=$ac_optarg ;; 
 625   -localstatedir | --localstatedir | --localstatedi | --localstated \
 
 626   | --localstate | --localstat | --localsta | --localst \
 
 627   | --locals | --local | --loca | --loc | --lo) 
 628     ac_prev
=localstatedir 
;; 
 629   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
 630   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
 631   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 
 632     localstatedir
=$ac_optarg ;; 
 634   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 
 636   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 
 640     # Obsolete; use --without-fp. 
 643   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
 644   | --no-cr | --no-c | -n) 
 647   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
 648   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 
 651   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
 652   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
 653   | --oldin | --oldi | --old | --ol | --o) 
 654     ac_prev
=oldincludedir 
;; 
 655   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
 656   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
 657   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 
 658     oldincludedir
=$ac_optarg ;; 
 660   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 
 662   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 
 665   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
 666   | --program-pre | --program-pr | --program-p) 
 667     ac_prev
=program_prefix 
;; 
 668   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
 669   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 
 670     program_prefix
=$ac_optarg ;; 
 672   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
 673   | --program-suf | --program-su | --program-s) 
 674     ac_prev
=program_suffix 
;; 
 675   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
 676   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 
 677     program_suffix
=$ac_optarg ;; 
 679   -program-transform-name | --program-transform-name \
 
 680   | --program-transform-nam | --program-transform-na \
 
 681   | --program-transform-n | --program-transform- \
 
 682   | --program-transform | --program-transfor \
 
 683   | --program-transfo | --program-transf \
 
 684   | --program-trans | --program-tran \
 
 685   | --progr-tra | --program-tr | --program-t) 
 686     ac_prev
=program_transform_name 
;; 
 687   -program-transform-name=* | --program-transform-name=* \
 
 688   | --program-transform-nam=* | --program-transform-na=* \
 
 689   | --program-transform-n=* | --program-transform-=* \
 
 690   | --program-transform=* | --program-transfor=* \
 
 691   | --program-transfo=* | --program-transf=* \
 
 692   | --program-trans=* | --program-tran=* \
 
 693   | --progr-tra=* | --program-tr=* | --program-t=*) 
 694     program_transform_name
=$ac_optarg ;; 
 696   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
 697   | -silent | --silent | --silen | --sile | --sil) 
 700   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 
 702   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
 704     sbindir
=$ac_optarg ;; 
 706   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
 707   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
 708   | --sharedst | --shareds | --shared | --share | --shar \
 
 710     ac_prev
=sharedstatedir 
;; 
 711   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
 712   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
 713   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
 715     sharedstatedir
=$ac_optarg ;; 
 717   -site | --site | --sit) 
 719   -site=* | --site=* | --sit=*) 
 722   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 
 724   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 
 727   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
 728   | --syscon | --sysco | --sysc | --sys | --sy) 
 729     ac_prev
=sysconfdir 
;; 
 730   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
 731   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 
 732     sysconfdir
=$ac_optarg ;; 
 734   -target | --target | --targe | --targ | --tar | --ta | --t) 
 735     ac_prev
=target_alias 
;; 
 736   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 
 737     target_alias
=$ac_optarg ;; 
 739   -v | -verbose | --verbose | --verbos | --verbo | --verb) 
 742   -version | --version | --versio | --versi | --vers | -V) 
 746     ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
 747     # Reject names that are not valid shell variable names. 
 748     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null 
&& 
 749       { echo "$as_me: error: invalid package name: $ac_package" >&2 
 750    { (exit 1); exit 1; }; } 
 751     ac_package
=`echo $ac_package| sed 's/-/_/g'` 
 753       *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 
 756     eval "with_$ac_package='$ac_optarg'" ;; 
 758   -without-* | --without-*) 
 759     ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
 760     # Reject names that are not valid shell variable names. 
 761     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null 
&& 
 762       { echo "$as_me: error: invalid package name: $ac_package" >&2 
 763    { (exit 1); exit 1; }; } 
 764     ac_package
=`echo $ac_package | sed 's/-/_/g'` 
 765     eval "with_$ac_package=no" ;; 
 768     # Obsolete; use --with-x. 
 771   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
 772   | --x-incl | --x-inc | --x-in | --x-i) 
 773     ac_prev
=x_includes 
;; 
 774   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
 775   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 
 776     x_includes
=$ac_optarg ;; 
 778   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
 779   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 
 780     ac_prev
=x_libraries 
;; 
 781   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
 782   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 
 783     x_libraries
=$ac_optarg ;; 
 785   -*) { echo "$as_me: error: unrecognized option: $ac_option 
 786 Try \`$0 --help' for more information." >&2 
 787    { (exit 1); exit 1; }; } 
 791     ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='` 
 792     # Reject names that are not valid shell variable names. 
 793     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null 
&& 
 794       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
 795    { (exit 1); exit 1; }; } 
 796     ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 
 797     eval "$ac_envvar='$ac_optarg'" 
 801     # FIXME: should be removed in autoconf 3.0. 
 802     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
 803     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null 
&& 
 804       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
 805     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
 811 if test -n "$ac_prev"; then 
 812   ac_option
=--`echo $ac_prev | sed 's/_/-/g'` 
 813   { echo "$as_me: error: missing argument to $ac_option" >&2 
 814    { (exit 1); exit 1; }; } 
 817 # Be sure to have absolute paths. 
 818 for ac_var 
in exec_prefix prefix
 
 820   eval ac_val
=$
`echo $ac_var` 
 822     [\\/$
]* | ?
:[\\/]* | NONE 
| '' ) ;; 
 823     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
 824    { (exit 1); exit 1; }; };; 
 828 # Be sure to have absolute paths. 
 829 for ac_var 
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
 830               localstatedir libdir includedir oldincludedir infodir mandir
 
 832   eval ac_val
=$
`echo $ac_var` 
 834     [\\/$
]* | ?
:[\\/]* ) ;; 
 835     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
 836    { (exit 1); exit 1; }; };; 
 840 # There might be people who depend on the old broken behavior: `$host' 
 841 # used to hold the argument of --host etc. 
 842 # FIXME: To remove some day. 
 847 # FIXME: To remove some day. 
 848 if test "x$host_alias" != x
; then 
 849   if test "x$build_alias" = x
; then 
 850     cross_compiling
=maybe
 
 851     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
 852     If a cross compiler is detected then cross compile mode will be used." >&2 
 853   elif test "x$build_alias" != "x$host_alias"; then 
 859 test -n "$host_alias" && ac_tool_prefix
=$host_alias- 
 861 test "$silent" = yes && exec 6>/dev
/null
 
 864 # Find the source files, if location was not specified. 
 865 if test -z "$srcdir"; then 
 866   ac_srcdir_defaulted
=yes 
 867   # Try the directory containing this script, then its parent. 
 868   ac_confdir
=`(dirname "$0") 2>/dev/null || 
 869 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
 870          X"$0" : 'X\(//\)[^/]' \| \ 
 871          X"$0" : 'X\(//\)$' \| \ 
 872          X"$0" : 'X\(/\)' \| \ 
 873          .     : '\(.\)' 2>/dev/null || 
 875     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
 876           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
 877           /^X\(\/\/\)$/{ s//\1/; q; } 
 878           /^X\(\/\).*/{ s//\1/; q; } 
 881   if test ! -r $srcdir/$ac_unique_file; then 
 885   ac_srcdir_defaulted
=no
 
 887 if test ! -r $srcdir/$ac_unique_file; then 
 888   if test "$ac_srcdir_defaulted" = yes; then 
 889     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 
 890    { (exit 1); exit 1; }; } 
 892     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
 893    { (exit 1); exit 1; }; } 
 896 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null 
|| 
 897   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 
 898    { (exit 1); exit 1; }; } 
 899 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 
 900 ac_env_build_alias_set
=${build_alias+set} 
 901 ac_env_build_alias_value
=$build_alias 
 902 ac_cv_env_build_alias_set
=${build_alias+set} 
 903 ac_cv_env_build_alias_value
=$build_alias 
 904 ac_env_host_alias_set
=${host_alias+set} 
 905 ac_env_host_alias_value
=$host_alias 
 906 ac_cv_env_host_alias_set
=${host_alias+set} 
 907 ac_cv_env_host_alias_value
=$host_alias 
 908 ac_env_target_alias_set
=${target_alias+set} 
 909 ac_env_target_alias_value
=$target_alias 
 910 ac_cv_env_target_alias_set
=${target_alias+set} 
 911 ac_cv_env_target_alias_value
=$target_alias 
 912 ac_env_CC_set
=${CC+set} 
 914 ac_cv_env_CC_set
=${CC+set} 
 915 ac_cv_env_CC_value
=$CC 
 916 ac_env_CFLAGS_set
=${CFLAGS+set} 
 917 ac_env_CFLAGS_value
=$CFLAGS 
 918 ac_cv_env_CFLAGS_set
=${CFLAGS+set} 
 919 ac_cv_env_CFLAGS_value
=$CFLAGS 
 920 ac_env_LDFLAGS_set
=${LDFLAGS+set} 
 921 ac_env_LDFLAGS_value
=$LDFLAGS 
 922 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set} 
 923 ac_cv_env_LDFLAGS_value
=$LDFLAGS 
 924 ac_env_CPPFLAGS_set
=${CPPFLAGS+set} 
 925 ac_env_CPPFLAGS_value
=$CPPFLAGS 
 926 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set} 
 927 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS 
 928 ac_env_CPP_set
=${CPP+set} 
 929 ac_env_CPP_value
=$CPP 
 930 ac_cv_env_CPP_set
=${CPP+set} 
 931 ac_cv_env_CPP_value
=$CPP 
 934 # Report the --help message. 
 936 if test "$ac_init_help" = "long"; then 
 937   # Omit some internal or obsolete options to make the list less imposing. 
 938   # This message is too long to be a string in the A/UX 3.1 sh. 
 940 \`configure' configures this package to adapt to many kinds of systems. 
 942 Usage: $0 [OPTION]... [VAR=VALUE]... 
 944 To assign environment variables (e.g., CC, CFLAGS...), specify them as 
 945 VAR=VALUE.  See below for descriptions of some of the useful variables. 
 947 Defaults for the options are specified in brackets. 
 950   -h, --help              display this help and exit 
 951       --help=short        display options specific to this package 
 952       --help=recursive    display the short help of all the included packages 
 953   -V, --version           display version information and exit 
 954   -q, --quiet, --silent   do not print \`checking...' messages 
 955       --cache-file=FILE   cache test results in FILE [disabled] 
 956   -C, --config-cache      alias for \`--cache-file=config.cache' 
 957   -n, --no-create         do not create output files 
 958       --srcdir=DIR        find the sources in DIR [configure dir or \`..'] 
 963 Installation directories: 
 964   --prefix=PREFIX         install architecture-independent files in PREFIX 
 966   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
 969 By default, \`make install' will install all the files in 
 970 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify 
 971 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 
 972 for instance \`--prefix=\$HOME'. 
 974 For better control, use the options below. 
 976 Fine tuning of the installation directories: 
 977   --bindir=DIR           user executables [EPREFIX/bin] 
 978   --sbindir=DIR          system admin executables [EPREFIX/sbin] 
 979   --libexecdir=DIR       program executables [EPREFIX/libexec] 
 980   --datadir=DIR          read-only architecture-independent data [PREFIX/share] 
 981   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
 982   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
 983   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
 984   --libdir=DIR           object code libraries [EPREFIX/lib] 
 985   --includedir=DIR       C header files [PREFIX/include] 
 986   --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
 987   --infodir=DIR          info documentation [PREFIX/info] 
 988   --mandir=DIR           man documentation [PREFIX/man] 
 994   --build=BUILD     configure 
for building on BUILD 
[guessed
] 
 995   --host=HOST       cross
-compile to build programs to run on HOST 
[BUILD
] 
 999 if test -n "$ac_init_help"; then 
1004   --disable-FEATURE       do not include FEATURE 
(same as 
--enable-FEATURE=no
) 
1005   --enable-FEATURE[=ARG
]  include FEATURE 
[ARG
=yes] 
1006   --enable-shared=PKGS  build shared libraries default
=yes 
1007   --enable-static=PKGS  build static libraries default
=yes 
1008   --enable-fast-install=PKGS  optimize 
for fast installation default
=yes 
1009   --disable-libtool-lock  avoid locking 
(might 
break parallel builds
) 
1012   --with-PACKAGE[=ARG
]    use PACKAGE 
[ARG
=yes] 
1013   --without-PACKAGE       do not use PACKAGE 
(same as 
--with-PACKAGE=no
) 
1014   --with-gnu-ld           assume the C compiler uses GNU ld default
=no
 
1015   --with-pic              try to use only PIC
/non
-PIC objects default
=use both
 
1017 Some influential environment variables
: 
1018   CC          C compiler 
command 
1019   CFLAGS      C compiler flags
 
1020   LDFLAGS     linker flags
, e.g. 
-L<lib dir
> if you have libraries 
in a
 
1021               nonstandard directory 
<lib dir
> 
1022   CPPFLAGS    C
/C
++ preprocessor flags
, e.g. 
-I<include dir
> if you have
 
1023               headers 
in a nonstandard directory 
<include dir
> 
1026 Use these variables to override the choices made by 
`configure' or to help 
1027 it to find libraries and programs with nonstandard names/locations. 
1032 if test "$ac_init_help" = "recursive"; then 
1033   # If there are subdirs, report their specific --help. 
1035   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
1036     test -d $ac_dir || continue 
1039 if test "$ac_dir" != .; then 
1040   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
1041   # A "../" for each directory in $ac_dir_suffix. 
1042   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
1044   ac_dir_suffix= ac_top_builddir= 
1048   .)  # No --srcdir option.  We are building in place. 
1050     if test -z "$ac_top_builddir"; then 
1053        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
1055   [\\/]* | ?:[\\/]* )  # Absolute path. 
1056     ac_srcdir=$srcdir$ac_dir_suffix; 
1057     ac_top_srcdir=$srcdir ;; 
1059     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
1060     ac_top_srcdir=$ac_top_builddir$srcdir ;; 
1062 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 
1064 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 
1065 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. 
&& pwd` 
1066 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 
1067 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 
1070     # Check for guested configure; otherwise get Cygnus style configure. 
1071     if test -f $ac_srcdir/configure.gnu; then 
1073       $SHELL $ac_srcdir/configure.gnu  --help=recursive 
1074     elif test -f $ac_srcdir/configure; then 
1076       $SHELL $ac_srcdir/configure  --help=recursive 
1077     elif test -f $ac_srcdir/configure.ac || 
1078            test -f $ac_srcdir/configure.in; then 
1080       $ac_configure --help 
1082       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
1088 test -n "$ac_init_help" && exit 0 
1089 if $ac_init_version; then 
1092 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 
1093 Free Software Foundation, Inc. 
1094 This configure script is free software; the Free Software Foundation 
1095 gives unlimited permission to copy, distribute and modify it. 
1101 This file contains any messages produced by compilers while 
1102 running configure, to aid debugging if configure makes a mistake. 
1104 It was created by $as_me, which was 
1105 generated by GNU Autoconf 2.57.  Invocation command line was 
1116 hostname = `(hostname 
|| uname 
-n) 2>/dev
/null 
| sed 1q
` 
1117 uname -m = `(uname 
-m) 2>/dev
/null 
|| echo unknown
` 
1118 uname -r = `(uname 
-r) 2>/dev
/null 
|| echo unknown
` 
1119 uname -s = `(uname 
-s) 2>/dev
/null 
|| echo unknown
` 
1120 uname -v = `(uname 
-v) 2>/dev
/null 
|| echo unknown
` 
1122 /usr/bin/uname -p = `(/usr
/bin
/uname 
-p) 2>/dev
/null 
|| echo unknown
` 
1123 /bin/uname -X     = `(/bin
/uname 
-X) 2>/dev
/null     
|| echo unknown
` 
1125 /bin/arch              = `(/bin
/arch
) 2>/dev
/null              
|| echo unknown
` 
1126 /usr/bin/arch -k       = `(/usr
/bin
/arch 
-k) 2>/dev
/null       
|| echo unknown
` 
1127 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null 
|| echo unknown
` 
1128 hostinfo               = `(hostinfo
) 2>/dev
/null               
|| echo unknown
` 
1129 /bin/machine           = `(/bin
/machine
) 2>/dev
/null           
|| echo unknown
` 
1130 /usr/bin/oslevel       = `(/usr
/bin
/oslevel
) 2>/dev
/null       
|| echo unknown
` 
1131 /bin/universe          = `(/bin
/universe
) 2>/dev
/null          
|| echo unknown
` 
1135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
1139   test -z "$as_dir" && as_dir=. 
1140   echo "PATH: $as_dir" 
1155 # Keep a trace of the command line. 
1156 # Strip out --no-create and --no-recursion so they do not pile up. 
1157 # Strip out --silent because we don't want to record it for future runs. 
1158 # Also quote any args containing shell meta-characters. 
1159 # Make two passes to allow for proper duplicate-argument suppression. 
1164 ac_must_keep_next=false 
1170     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 
1171     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
1172     | -silent | --silent | --silen | --sile | --sil) 
1174     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
1175       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
1178     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
1180       ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
1181       if test $ac_must_keep_next = true; then 
1182         ac_must_keep_next=false # Got value, back to normal. 
1185           *=* | --config-cache | -C | -disable-* | --disable-* \ 
1186           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 
1187           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 
1188           | -with-* | --with-* | -without-* | --without-* | --x) 
1189             case "$ac_configure_args0 " in 
1190               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 
1193           -* ) ac_must_keep_next=true ;; 
1196       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 
1197       # Get rid of the leading space. 
1203 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
1204 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
1206 # When interrupted or exit'd, cleanup temporary files, and complete 
1207 # config.log.  We remove comments because anyway the quotes in there 
1208 # would cause problems or look ugly. 
1209 # WARNING: Be sure not to use single quotes in there, as some shells, 
1210 # such as our DU 5.0 friend, will then `close
' the trap. 
1211 trap 'exit_status
=$?
 
1212   # Save into config.log some information that might help in debugging. 
1217 ## ---------------- ## 
1218 ## Cache variables. ## 
1219 ## ---------------- ## 
1222     # The following way of writing the cache mishandles newlines in values, 
1225     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 
1228         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 
1229           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 
1233         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
1240 ## ----------------- ## 
1241 ## Output variables. ## 
1242 ## ----------------- ## 
1245     for ac_var 
in $ac_subst_vars 
1247       eval ac_val
=$
`echo $ac_var` 
1248       echo "$ac_var='"'"'$ac_val'"'"'" 
1252     if test -n "$ac_subst_files"; then 
1259       for ac_var 
in $ac_subst_files 
1261         eval ac_val
=$
`echo $ac_var` 
1262         echo "$ac_var='"'"'$ac_val'"'"'" 
1267     if test -s confdefs.h
; then 
1274       sed "/^$/d" confdefs.h 
| sort 
1277     test "$ac_signal" != 0 && 
1278       echo "$as_me: caught signal $ac_signal" 
1279     echo "$as_me: exit $exit_status" 
1281   rm -f core core.
* *.core 
&& 
1282   rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files && 
1285 for ac_signal in 1 2 13 15; do 
1286   trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
1290 # confdefs.h avoids OS command line length limits that DEFS can exceed. 
1291 rm -rf conftest* confdefs.h 
1292 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 
1295 # Predefined preprocessor variables. 
1297 cat >>confdefs.h <<_ACEOF 
1298 #define PACKAGE_NAME "$PACKAGE_NAME" 
1302 cat >>confdefs.h <<_ACEOF 
1303 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
1307 cat >>confdefs.h <<_ACEOF 
1308 #define PACKAGE_VERSION "$PACKAGE_VERSION" 
1312 cat >>confdefs.h <<_ACEOF 
1313 #define PACKAGE_STRING "$PACKAGE_STRING" 
1317 cat >>confdefs.h <<_ACEOF 
1318 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
1322 # Let the site file select an alternate cache file if it wants to. 
1323 # Prefer explicitly selected file to automatically selected ones. 
1324 if test -z "$CONFIG_SITE"; then 
1325   if test "x$prefix" != xNONE; then 
1326     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 
1328     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 
1331 for ac_site_file in $CONFIG_SITE; do 
1332   if test -r "$ac_site_file"; then 
1333     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
1334 echo "$as_me: loading site script $ac_site_file" >&6;} 
1335     sed 's
/^
/| /' "$ac_site_file" >&5 
1340 if test -r "$cache_file"; then 
1341   # Some versions of bash will fail to source /dev/null (special 
1342   # files actually), so we avoid doing that. 
1343   if test -f "$cache_file"; then 
1344     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
1345 echo "$as_me: loading cache $cache_file" >&6;} 
1347       [\\/]* | ?:[\\/]* ) . $cache_file;; 
1348       *)                      . ./$cache_file;; 
1352   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
1353 echo "$as_me: creating cache $cache_file" >&6;} 
1357 # Check that the precious variables saved in the cache have kept the same 
1359 ac_cache_corrupted=false 
1360 for ac_var in `(set) 2>&1 | 
1361                sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do 
1362   eval ac_old_set=\$ac_cv_env_${ac_var}_set 
1363   eval ac_new_set=\$ac_env_${ac_var}_set 
1364   eval ac_old_val="\$ac_cv_env_${ac_var}_value" 
1365   eval ac_new_val="\$ac_env_${ac_var}_value" 
1366   case $ac_old_set,$ac_new_set in 
1368       { echo "$as_me:$LINENO: error: \`$ac_var' was 
set to \
`$ac_old_val' in the previous run" >&5 
1369 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;} 
1370       ac_cache_corrupted=: ;; 
1372       { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5 
1373 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
1374       ac_cache_corrupted=: ;; 
1377       if test "x$ac_old_val" != "x$ac_new_val"; then 
1378         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5 
1379 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;} 
1380         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
1381 echo "$as_me:   former value:  $ac_old_val" >&2;} 
1382         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
1383 echo "$as_me:   current value: $ac_new_val" >&2;} 
1384         ac_cache_corrupted=: 
1387   # Pass precious variables to config.status. 
1388   if test "$ac_new_set" = set; then 
1390     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
1391       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
1392     *) ac_arg=$ac_var=$ac_new_val ;; 
1394     case " $ac_configure_args " in 
1395       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
1396       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
1400 if $ac_cache_corrupted; then 
1401   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
1402 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
1403   { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5 
1404 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
1405    { (exit 1); exit 1; }; } 
1409 ac_cpp='$CPP $CPPFLAGS' 
1410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5' 
1411 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5' 
1412 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
1436 for ac_dir in conftools $srcdir/conftools; do 
1437   if test -f $ac_dir/install-sh; then 
1439     ac_install_sh="$ac_aux_dir/install-sh -c" 
1441   elif test -f $ac_dir/install.sh; then 
1443     ac_install_sh="$ac_aux_dir/install.sh -c" 
1445   elif test -f $ac_dir/shtool; then 
1447     ac_install_sh="$ac_aux_dir/shtool install -c" 
1451 if test -z "$ac_aux_dir"; then 
1452   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in conftools $srcdir/conftools" >&5 
1453 echo "$as_me: error: cannot find install-sh or install.sh in conftools $srcdir/conftools" >&2;} 
1454    { (exit 1); exit 1; }; } 
1456 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 
1457 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 
1458 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 
1467           ac_config_headers="$ac_config_headers expat_config.h" 
1470 # libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- 
1471 ## Copyright 1996, 1997, 1998, 1999, 2000, 2001 
1472 ## Free Software Foundation, Inc. 
1473 ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 
1475 ## This program is free software; you can redistribute it and/or modify 
1476 ## it under the terms of the GNU General Public License as published by 
1477 ## the Free Software Foundation; either version 2 of the License, or 
1478 ## (at your option) any later version. 
1480 ## This program is distributed in the hope that it will be useful, but 
1481 ## WITHOUT ANY WARRANTY; without even the implied warranty of 
1482 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
1483 ## General Public License for more details. 
1485 ## You should have received a copy of the GNU General Public License 
1486 ## along with this program; if not, write to the Free Software 
1487 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
1489 ## As a special exception to the GNU General Public License, if you 
1490 ## distribute this file as part of a program that contains a 
1491 ## configuration script generated by Autoconf, you may include it under 
1492 ## the same distribution terms that you use for the rest of that program. 
1494 # serial 46 AC_PROG_LIBTOOL 
1500 # AC_LIBTOOL_HEADER_ASSERT 
1501 # ------------------------ 
1502 # AC_LIBTOOL_HEADER_ASSERT 
1504 # _LT_AC_CHECK_DLFCN 
1505 # -------------------- 
1506 # _LT_AC_CHECK_DLFCN 
1508 # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 
1509 # --------------------------------- 
1510  # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 
1512 # _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR 
1513 # --------------------------------- 
1514 # _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR 
1516 # _LT_AC_PROG_ECHO_BACKSLASH 
1517 # -------------------------- 
1518 # Add some code to the start of the generated configure script which 
1519 # will find an echo command which doesn't interpret backslashes.
 
1520 # _LT_AC_PROG_ECHO_BACKSLASH 
1522 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 
1523 #                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 
1524 # ------------------------------------------------------------------ 
1525 # _LT_AC_TRY_DLOPEN_SELF 
1527 # AC_LIBTOOL_DLOPEN_SELF 
1528 # ------------------- 
1529 # AC_LIBTOOL_DLOPEN_SELF 
1531 # _LT_AC_LTCONFIG_HACK 
1533 # AC_LIBTOOL_DLOPEN - enable checks for dlopen support 
1536 # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's 
1539 # AC_ENABLE_SHARED - implement the --enable-shared flag 
1540 # Usage: AC_ENABLE_SHARED[(DEFAULT)] 
1541 #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to 
1545 # AC_DISABLE_SHARED - set the default shared flag to --disable-shared 
1548 # AC_ENABLE_STATIC - implement the --enable-static flag 
1549 # Usage: AC_ENABLE_STATIC[(DEFAULT)] 
1550 #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to 
1554 # AC_DISABLE_STATIC - set the default static flag to --disable-static 
1558 # AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag 
1559 # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)] 
1560 #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to 
1564 # AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install 
1567 # AC_LIBTOOL_PICMODE - implement the --with-pic flag 
1568 # Usage: AC_LIBTOOL_PICMODE[(MODE)] 
1569 #   Where MODE is either `yes' or `no'.  If omitted, it defaults to 
1574 # AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library 
1578 # AC_PATH_MAGIC - find a file program which can recognise a shared library 
1582 # AC_PROG_LD - find the path to the GNU or non-GNU linker 
1588 # AC_PROG_LD_RELOAD_FLAG - find reload flag for linker 
1589 #   -- PORTME Some linkers may need a different reload flag. 
1592 # AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies 
1593 #  -- PORTME fill in with the dynamic library characteristics 
1597 # AC_PROG_NM - find the path to a BSD-compatible name lister 
1600 # AC_CHECK_LIBM - check for math library 
1603 # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for 
1604 # the libltdl convenience library and INCLTDL to the include flags for 
1605 # the libltdl header and adds --enable-ltdl-convenience to the 
1606 # configure arguments.  Note that LIBLTDL and INCLTDL are not 
1607 # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If DIR is not 
1608 # provided, it is assumed to be `libltdl'.  LIBLTDL will be prefixed 
1609 # with '${top_builddir}/' and INCLTDL will be prefixed with 
1610 # '${top_srcdir}/' (note the single quotes!).  If your package is not 
1611 # flat and you're not using automake, define top_builddir and 
1612 # top_srcdir appropriately in the Makefiles. 
1615 # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for 
1616 # the libltdl installable library and INCLTDL to the include flags for 
1617 # the libltdl header and adds --enable-ltdl-install to the configure 
1618 # arguments.  Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is 
1619 # AC_CONFIG_SUBDIRS called.  If DIR is not provided and an installed 
1620 # libltdl is not found, it is assumed to be `libltdl'.  LIBLTDL will 
1621 # be prefixed with '${top_builddir}/' and INCLTDL will be prefixed 
1622 # with '${top_srcdir}/' (note the single quotes!).  If your package is 
1623 # not flat and you're not using automake, define top_builddir and 
1624 # top_srcdir appropriately in the Makefiles. 
1625 # In the future, this macro may have to be called after AC_PROG_LIBTOOL. 
1637 # This is just to silence aclocal about the macro not being used 
1644 # Check whether --enable-shared or --disable-shared was given. 
1645 if test "${enable_shared+set}" = set; then 
1646   enableval
="$enable_shared" 
1647   p
=${PACKAGE-default} 
1649 yes) enable_shared
=yes ;; 
1650 no
) enable_shared
=no 
;; 
1653   # Look at the argument we got.  We use all the common list separators. 
1654   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:," 
1655   for pkg 
in $enableval; do 
1656     if test "X$pkg" = "X$p"; then 
1666 # Check whether --enable-static or --disable-static was given. 
1667 if test "${enable_static+set}" = set; then 
1668   enableval
="$enable_static" 
1669   p
=${PACKAGE-default} 
1671 yes) enable_static
=yes ;; 
1672 no
) enable_static
=no 
;; 
1675   # Look at the argument we got.  We use all the common list separators. 
1676   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:," 
1677   for pkg 
in $enableval; do 
1678     if test "X$pkg" = "X$p"; then 
1688 # Check whether --enable-fast-install or --disable-fast-install was given. 
1689 if test "${enable_fast_install+set}" = set; then 
1690   enableval
="$enable_fast_install" 
1691   p
=${PACKAGE-default} 
1693 yes) enable_fast_install
=yes ;; 
1694 no
) enable_fast_install
=no 
;; 
1696   enable_fast_install
=no
 
1697   # Look at the argument we got.  We use all the common list separators. 
1698   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:," 
1699   for pkg 
in $enableval; do 
1700     if test "X$pkg" = "X$p"; then 
1701       enable_fast_install
=yes 
1708   enable_fast_install
=yes 
1710 # Make sure we can run config.sub. 
1711 $ac_config_sub sun4 
>/dev
/null 
2>&1 || 
1712   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 
1713 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 
1714    { (exit 1); exit 1; }; } 
1716 echo "$as_me:$LINENO: checking build system type" >&5 
1717 echo $ECHO_N "checking build system type... $ECHO_C" >&6 
1718 if test "${ac_cv_build+set}" = set; then 
1719   echo $ECHO_N "(cached) $ECHO_C" >&6 
1721   ac_cv_build_alias
=$build_alias 
1722 test -z "$ac_cv_build_alias" && 
1723   ac_cv_build_alias
=`$ac_config_guess` 
1724 test -z "$ac_cv_build_alias" && 
1725   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
1726 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
1727    { (exit 1); exit 1; }; } 
1728 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` || 
1729   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 
1730 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 
1731    { (exit 1); exit 1; }; } 
1734 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
1735 echo "${ECHO_T}$ac_cv_build" >&6 
1737 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
1738 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
1739 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
1742 echo "$as_me:$LINENO: checking host system type" >&5 
1743 echo $ECHO_N "checking host system type... $ECHO_C" >&6 
1744 if test "${ac_cv_host+set}" = set; then 
1745   echo $ECHO_N "(cached) $ECHO_C" >&6 
1747   ac_cv_host_alias
=$host_alias 
1748 test -z "$ac_cv_host_alias" && 
1749   ac_cv_host_alias
=$ac_cv_build_alias 
1750 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` || 
1751   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
1752 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 
1753    { (exit 1); exit 1; }; } 
1756 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
1757 echo "${ECHO_T}$ac_cv_host" >&6 
1759 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
1760 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
1761 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
1765 ac_cpp
='$CPP $CPPFLAGS' 
1766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
1767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
1768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
1769 if test -n "$ac_tool_prefix"; then 
1770   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
1771 set dummy 
${ac_tool_prefix}gcc
; ac_word
=$2 
1772 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1774 if test "${ac_cv_prog_CC+set}" = set; then 
1775   echo $ECHO_N "(cached) $ECHO_C" >&6 
1777   if test -n "$CC"; then 
1778   ac_cv_prog_CC
="$CC" # Let the user override the test. 
1780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1784   test -z "$as_dir" && as_dir
=.
 
1785   for ac_exec_ext 
in '' $ac_executable_extensions; do 
1786   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
1787     ac_cv_prog_CC
="${ac_tool_prefix}gcc" 
1788     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1797 if test -n "$CC"; then 
1798   echo "$as_me:$LINENO: result: $CC" >&5 
1799 echo "${ECHO_T}$CC" >&6 
1801   echo "$as_me:$LINENO: result: no" >&5 
1802 echo "${ECHO_T}no" >&6 
1806 if test -z "$ac_cv_prog_CC"; then 
1808   # Extract the first word of "gcc", so it can be a program name with args. 
1809 set dummy gcc
; ac_word
=$2 
1810 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1812 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
1813   echo $ECHO_N "(cached) $ECHO_C" >&6 
1815   if test -n "$ac_ct_CC"; then 
1816   ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test. 
1818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1822   test -z "$as_dir" && as_dir
=.
 
1823   for ac_exec_ext 
in '' $ac_executable_extensions; do 
1824   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
1825     ac_cv_prog_ac_ct_CC
="gcc" 
1826     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1834 ac_ct_CC
=$ac_cv_prog_ac_ct_CC 
1835 if test -n "$ac_ct_CC"; then 
1836   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
1837 echo "${ECHO_T}$ac_ct_CC" >&6 
1839   echo "$as_me:$LINENO: result: no" >&5 
1840 echo "${ECHO_T}no" >&6 
1848 if test -z "$CC"; then 
1849   if test -n "$ac_tool_prefix"; then 
1850   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
1851 set dummy 
${ac_tool_prefix}cc
; ac_word
=$2 
1852 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1854 if test "${ac_cv_prog_CC+set}" = set; then 
1855   echo $ECHO_N "(cached) $ECHO_C" >&6 
1857   if test -n "$CC"; then 
1858   ac_cv_prog_CC
="$CC" # Let the user override the test. 
1860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1864   test -z "$as_dir" && as_dir
=.
 
1865   for ac_exec_ext 
in '' $ac_executable_extensions; do 
1866   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
1867     ac_cv_prog_CC
="${ac_tool_prefix}cc" 
1868     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1877 if test -n "$CC"; then 
1878   echo "$as_me:$LINENO: result: $CC" >&5 
1879 echo "${ECHO_T}$CC" >&6 
1881   echo "$as_me:$LINENO: result: no" >&5 
1882 echo "${ECHO_T}no" >&6 
1886 if test -z "$ac_cv_prog_CC"; then 
1888   # Extract the first word of "cc", so it can be a program name with args. 
1889 set dummy cc
; ac_word
=$2 
1890 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1892 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
1893   echo $ECHO_N "(cached) $ECHO_C" >&6 
1895   if test -n "$ac_ct_CC"; then 
1896   ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test. 
1898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1902   test -z "$as_dir" && as_dir
=.
 
1903   for ac_exec_ext 
in '' $ac_executable_extensions; do 
1904   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
1905     ac_cv_prog_ac_ct_CC
="cc" 
1906     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1914 ac_ct_CC
=$ac_cv_prog_ac_ct_CC 
1915 if test -n "$ac_ct_CC"; then 
1916   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
1917 echo "${ECHO_T}$ac_ct_CC" >&6 
1919   echo "$as_me:$LINENO: result: no" >&5 
1920 echo "${ECHO_T}no" >&6 
1929 if test -z "$CC"; then 
1930   # Extract the first word of "cc", so it can be a program name with args. 
1931 set dummy cc
; ac_word
=$2 
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1934 if test "${ac_cv_prog_CC+set}" = set; then 
1935   echo $ECHO_N "(cached) $ECHO_C" >&6 
1937   if test -n "$CC"; then 
1938   ac_cv_prog_CC
="$CC" # Let the user override the test. 
1941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1945   test -z "$as_dir" && as_dir
=.
 
1946   for ac_exec_ext 
in '' $ac_executable_extensions; do 
1947   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
1948     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
1949        ac_prog_rejected
=yes 
1953     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1959 if test $ac_prog_rejected = yes; then 
1960   # We found a bogon in the path, so make sure we never use it. 
1961   set dummy 
$ac_cv_prog_CC 
1963   if test $# != 0; then 
1964     # We chose a different compiler from the bogus one. 
1965     # However, it has the same basename, so the bogon will be chosen 
1966     # first if we set CC to just the basename; use the full file name. 
1968     ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@" 
1974 if test -n "$CC"; then 
1975   echo "$as_me:$LINENO: result: $CC" >&5 
1976 echo "${ECHO_T}$CC" >&6 
1978   echo "$as_me:$LINENO: result: no" >&5 
1979 echo "${ECHO_T}no" >&6 
1983 if test -z "$CC"; then 
1984   if test -n "$ac_tool_prefix"; then 
1987     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
1988 set dummy 
$ac_tool_prefix$ac_prog; ac_word
=$2 
1989 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1991 if test "${ac_cv_prog_CC+set}" = set; then 
1992   echo $ECHO_N "(cached) $ECHO_C" >&6 
1994   if test -n "$CC"; then 
1995   ac_cv_prog_CC
="$CC" # Let the user override the test. 
1997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2001   test -z "$as_dir" && as_dir
=.
 
2002   for ac_exec_ext 
in '' $ac_executable_extensions; do 
2003   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
2004     ac_cv_prog_CC
="$ac_tool_prefix$ac_prog" 
2005     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
2014 if test -n "$CC"; then 
2015   echo "$as_me:$LINENO: result: $CC" >&5 
2016 echo "${ECHO_T}$CC" >&6 
2018   echo "$as_me:$LINENO: result: no" >&5 
2019 echo "${ECHO_T}no" >&6 
2022     test -n "$CC" && break 
2025 if test -z "$CC"; then 
2029   # Extract the first word of "$ac_prog", so it can be a program name with args. 
2030 set dummy 
$ac_prog; ac_word
=$2 
2031 echo "$as_me:$LINENO: checking for $ac_word" >&5 
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
2033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
2034   echo $ECHO_N "(cached) $ECHO_C" >&6 
2036   if test -n "$ac_ct_CC"; then 
2037   ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test. 
2039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
2043   test -z "$as_dir" && as_dir
=.
 
2044   for ac_exec_ext 
in '' $ac_executable_extensions; do 
2045   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
2046     ac_cv_prog_ac_ct_CC
="$ac_prog" 
2047     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
2055 ac_ct_CC
=$ac_cv_prog_ac_ct_CC 
2056 if test -n "$ac_ct_CC"; then 
2057   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
2058 echo "${ECHO_T}$ac_ct_CC" >&6 
2060   echo "$as_me:$LINENO: result: no" >&5 
2061 echo "${ECHO_T}no" >&6 
2064   test -n "$ac_ct_CC" && break 
2073 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
2074 See \`config.log' for more details." >&5 
2075 echo "$as_me: error: no acceptable C compiler found in \$PATH 
2076 See \`config.log' for more details." >&2;} 
2077    { (exit 1); exit 1; }; } 
2079 # Provide some information about the compiler. 
2080 echo "$as_me:$LINENO:" \
 
2081      "checking for C compiler version" >&5 
2082 ac_compiler
=`set X $ac_compile; echo $2` 
2083 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
2084   (eval $ac_compiler --version </dev
/null 
>&5) 2>&5 
2086   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2087   (exit $ac_status); } 
2088 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
2089   (eval $ac_compiler -v </dev
/null 
>&5) 2>&5 
2091   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2092   (exit $ac_status); } 
2093 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
2094   (eval $ac_compiler -V </dev
/null 
>&5) 2>&5 
2096   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2097   (exit $ac_status); } 
2099 cat >conftest.
$ac_ext <<_ACEOF 
2100 #line $LINENO "configure" 
2103 cat confdefs.h 
>>conftest.
$ac_ext 
2104 cat >>conftest.
$ac_ext <<_ACEOF 
2105 /* end confdefs.h.  */ 
2115 ac_clean_files_save
=$ac_clean_files 
2116 ac_clean_files
="$ac_clean_files a.out a.exe b.out" 
2117 # Try to create an executable without -o first, disregard a.out. 
2118 # It will help us diagnose broken compilers, and finding out an intuition 
2120 echo "$as_me:$LINENO: checking for C compiler default output" >&5 
2121 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 
2122 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
2123 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 
2124   (eval $ac_link_default) 2>&5 
2126   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2127   (exit $ac_status); }; then 
2128   # Find the output, starting from the most likely.  This scheme is 
2129 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 
2132 # Be careful to initialize this variable, since it used to be cached. 
2133 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 
2135 # b.out is created by i960 compilers. 
2136 for ac_file 
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
 
2138   test -f "$ac_file" || continue 
2140     *.
$ac_ext | *.xcoff 
| *.tds 
| *.d 
| *.pdb 
| *.xSYM 
| *.bb 
| *.bbg 
| *.o 
| *.obj 
) 
2143         # This is the source file. 
2146         # We found the default executable, but exeext='' is most 
2150         ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'` 
2151         # FIXME: I believe we export ac_cv_exeext for Libtool, 
2152         # but it would be cool to find out if it's true.  Does anybody 
2153         # maintain Libtool? --akim. 
2161   echo "$as_me: failed program was:" >&5 
2162 sed 's/^/| /' conftest.
$ac_ext >&5 
2164 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 
2165 See \`config.log' for more details." >&5 
2166 echo "$as_me: error: C compiler cannot create executables 
2167 See \`config.log' for more details." >&2;} 
2168    { (exit 77); exit 77; }; } 
2171 ac_exeext
=$ac_cv_exeext 
2172 echo "$as_me:$LINENO: result: $ac_file" >&5 
2173 echo "${ECHO_T}$ac_file" >&6 
2175 # Check the compiler produces executables we can run.  If not, either 
2176 # the compiler is broken, or we cross compile. 
2177 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
2178 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 
2179 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
2180 # If not cross compiling, check that we can run a simple program. 
2181 if test "$cross_compiling" != yes; then 
2182   if { ac_try
='./$ac_file' 
2183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2186   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2187   (exit $ac_status); }; }; then 
2190     if test "$cross_compiling" = maybe
; then 
2193         { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
2194 If you meant to cross compile, use \`--host'. 
2195 See \`config.log' for more details." >&5 
2196 echo "$as_me: error: cannot run C compiled programs. 
2197 If you meant to cross compile, use \`--host'. 
2198 See \`config.log' for more details." >&2;} 
2199    { (exit 1); exit 1; }; } 
2203 echo "$as_me:$LINENO: result: yes" >&5 
2204 echo "${ECHO_T}yes" >&6 
2206 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
 
2207 ac_clean_files
=$ac_clean_files_save 
2208 # Check the compiler produces executables we can run.  If not, either 
2209 # the compiler is broken, or we cross compile. 
2210 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
2211 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 
2212 echo "$as_me:$LINENO: result: $cross_compiling" >&5 
2213 echo "${ECHO_T}$cross_compiling" >&6 
2215 echo "$as_me:$LINENO: checking for suffix of executables" >&5 
2216 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 
2217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
2218   (eval $ac_link) 2>&5 
2220   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2221   (exit $ac_status); }; then 
2222   # If both `conftest.exe' and `conftest' are `present' (well, observable) 
2223 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
2224 # work properly (i.e., refer to `conftest.exe'), while it won't with 
2226 for ac_file 
in conftest.exe conftest conftest.
*; do 
2227   test -f "$ac_file" || continue 
2229     *.
$ac_ext | *.xcoff 
| *.tds 
| *.d 
| *.pdb 
| *.xSYM 
| *.bb 
| *.bbg 
| *.o 
| *.obj 
) ;; 
2230     *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'` 
2237   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
2238 See \`config.log' for more details." >&5 
2239 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
2240 See \`config.log' for more details." >&2;} 
2241    { (exit 1); exit 1; }; } 
2244 rm -f conftest
$ac_cv_exeext 
2245 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
2246 echo "${ECHO_T}$ac_cv_exeext" >&6 
2248 rm -f conftest.
$ac_ext 
2249 EXEEXT
=$ac_cv_exeext 
2251 echo "$as_me:$LINENO: checking for suffix of object files" >&5 
2252 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 
2253 if test "${ac_cv_objext+set}" = set; then 
2254   echo $ECHO_N "(cached) $ECHO_C" >&6 
2256   cat >conftest.
$ac_ext <<_ACEOF 
2257 #line $LINENO "configure" 
2260 cat confdefs.h 
>>conftest.
$ac_ext 
2261 cat >>conftest.
$ac_ext <<_ACEOF 
2262 /* end confdefs.h.  */ 
2272 rm -f conftest.o conftest.obj
 
2273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2274   (eval $ac_compile) 2>&5 
2276   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2277   (exit $ac_status); }; then 
2278   for ac_file 
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 
2280     *.
$ac_ext | *.xcoff 
| *.tds 
| *.d 
| *.pdb 
| *.xSYM 
| *.bb 
| *.bbg 
) ;; 
2281     *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'` 
2286   echo "$as_me: failed program was:" >&5 
2287 sed 's/^/| /' conftest.
$ac_ext >&5 
2289 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
2290 See \`config.log' for more details." >&5 
2291 echo "$as_me: error: cannot compute suffix of object files: cannot compile 
2292 See \`config.log' for more details." >&2;} 
2293    { (exit 1); exit 1; }; } 
2296 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext 
2298 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
2299 echo "${ECHO_T}$ac_cv_objext" >&6 
2300 OBJEXT
=$ac_cv_objext 
2302 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
2303 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 
2304 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
2305   echo $ECHO_N "(cached) $ECHO_C" >&6 
2307   cat >conftest.
$ac_ext <<_ACEOF 
2308 #line $LINENO "configure" 
2311 cat confdefs.h 
>>conftest.
$ac_ext 
2312 cat >>conftest.
$ac_ext <<_ACEOF 
2313 /* end confdefs.h.  */ 
2326 rm -f conftest.
$ac_objext 
2327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2328   (eval $ac_compile) 2>&5 
2330   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2331   (exit $ac_status); } && 
2332          { ac_try
='test -s conftest.$ac_objext' 
2333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2336   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2337   (exit $ac_status); }; }; then 
2340   echo "$as_me: failed program was:" >&5 
2341 sed 's/^/| /' conftest.
$ac_ext >&5 
2345 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2346 ac_cv_c_compiler_gnu
=$ac_compiler_gnu 
2349 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
2350 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 
2351 GCC
=`test $ac_compiler_gnu = yes && echo yes` 
2352 ac_test_CFLAGS
=${CFLAGS+set} 
2353 ac_save_CFLAGS
=$CFLAGS 
2355 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
2356 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 
2357 if test "${ac_cv_prog_cc_g+set}" = set; then 
2358   echo $ECHO_N "(cached) $ECHO_C" >&6 
2360   cat >conftest.
$ac_ext <<_ACEOF 
2361 #line $LINENO "configure" 
2364 cat confdefs.h 
>>conftest.
$ac_ext 
2365 cat >>conftest.
$ac_ext <<_ACEOF 
2366 /* end confdefs.h.  */ 
2376 rm -f conftest.
$ac_objext 
2377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2378   (eval $ac_compile) 2>&5 
2380   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2381   (exit $ac_status); } && 
2382          { ac_try
='test -s conftest.$ac_objext' 
2383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2386   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2387   (exit $ac_status); }; }; then 
2390   echo "$as_me: failed program was:" >&5 
2391 sed 's/^/| /' conftest.
$ac_ext >&5 
2395 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2397 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
2398 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 
2399 if test "$ac_test_CFLAGS" = set; then 
2400   CFLAGS
=$ac_save_CFLAGS 
2401 elif test $ac_cv_prog_cc_g = yes; then 
2402   if test "$GCC" = yes; then 
2408   if test "$GCC" = yes; then 
2414 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 
2415 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 
2416 if test "${ac_cv_prog_cc_stdc+set}" = set; then 
2417   echo $ECHO_N "(cached) $ECHO_C" >&6 
2419   ac_cv_prog_cc_stdc
=no
 
2421 cat >conftest.
$ac_ext <<_ACEOF 
2422 #line $LINENO "configure" 
2425 cat confdefs.h 
>>conftest.
$ac_ext 
2426 cat >>conftest.
$ac_ext <<_ACEOF 
2427 /* end confdefs.h.  */ 
2430 #include <sys/types.h> 
2431 #include <sys/stat.h> 
2432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
2433 struct buf { int x; }; 
2434 FILE * (*rcsopen) (struct buf *, struct stat *, int); 
2435 static char *e (p, i) 
2441 static char *f (char * (*g) (char **, int), char **p, ...) 
2446   s = g (p, va_arg (v,int)); 
2450 int test (int i, double x); 
2451 struct s1 {int (*f) (int a);}; 
2452 struct s2 {int (*f) (double a);}; 
2453 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 
2459 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; 
2464 # Don't try gcc -ansi; that turns off useful extensions and 
2465 # breaks some systems' header files. 
2466 # AIX                   -qlanglvl=ansi 
2467 # Ultrix and OSF/1      -std1 
2468 # HP-UX 10.20 and later -Ae 
2469 # HP-UX older versions  -Aa -D_HPUX_SOURCE 
2470 # SVR4                  -Xc -D__EXTENSIONS__ 
2471 for ac_arg 
in "" -qlanglvl=ansi 
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 
2473   CC
="$ac_save_CC $ac_arg" 
2474   rm -f conftest.
$ac_objext 
2475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2476   (eval $ac_compile) 2>&5 
2478   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2479   (exit $ac_status); } && 
2480          { ac_try
='test -s conftest.$ac_objext' 
2481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2484   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2485   (exit $ac_status); }; }; then 
2486   ac_cv_prog_cc_stdc
=$ac_arg 
2489   echo "$as_me: failed program was:" >&5 
2490 sed 's/^/| /' conftest.
$ac_ext >&5 
2493 rm -f conftest.
$ac_objext 
2495 rm -f conftest.
$ac_ext conftest.
$ac_objext 
2500 case "x$ac_cv_prog_cc_stdc" in 
2502     echo "$as_me:$LINENO: result: none needed" >&5 
2503 echo "${ECHO_T}none needed" >&6 ;; 
2505     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 
2506 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 
2507     CC
="$CC $ac_cv_prog_cc_stdc" ;; 
2510 # Some people use a C++ compiler to compile C.  Since we use `exit', 
2511 # in C++ we need to declare it.  In case someone uses the same compiler 
2512 # for both compiling C and C++ we need to have the C++ compiler decide 
2513 # the declaration of exit, since it's the most demanding environment. 
2514 cat >conftest.
$ac_ext <<_ACEOF 
2519 rm -f conftest.
$ac_objext 
2520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2521   (eval $ac_compile) 2>&5 
2523   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2524   (exit $ac_status); } && 
2525          { ac_try
='test -s conftest.$ac_objext' 
2526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2529   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2530   (exit $ac_status); }; }; then 
2531   for ac_declaration 
in \
 
2533    '#include <stdlib.h>' \
 
2534    'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2535    'extern "C" void std::exit (int); using std::exit;' \
 
2536    'extern "C" void exit (int) throw ();' \
 
2537    'extern "C" void exit (int);' \
 
2540   cat >conftest.
$ac_ext <<_ACEOF 
2541 #line $LINENO "configure" 
2544 cat confdefs.h 
>>conftest.
$ac_ext 
2545 cat >>conftest.
$ac_ext <<_ACEOF 
2546 /* end confdefs.h.  */ 
2557 rm -f conftest.
$ac_objext 
2558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2559   (eval $ac_compile) 2>&5 
2561   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2562   (exit $ac_status); } && 
2563          { ac_try
='test -s conftest.$ac_objext' 
2564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2567   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2568   (exit $ac_status); }; }; then 
2571   echo "$as_me: failed program was:" >&5 
2572 sed 's/^/| /' conftest.
$ac_ext >&5 
2576 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2577   cat >conftest.
$ac_ext <<_ACEOF 
2578 #line $LINENO "configure" 
2581 cat confdefs.h 
>>conftest.
$ac_ext 
2582 cat >>conftest.
$ac_ext <<_ACEOF 
2583 /* end confdefs.h.  */ 
2593 rm -f conftest.
$ac_objext 
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2595   (eval $ac_compile) 2>&5 
2597   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2598   (exit $ac_status); } && 
2599          { ac_try
='test -s conftest.$ac_objext' 
2600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2603   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2604   (exit $ac_status); }; }; then 
2607   echo "$as_me: failed program was:" >&5 
2608 sed 's/^/| /' conftest.
$ac_ext >&5 
2611 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2614 if test -n "$ac_declaration"; then 
2615   echo '#ifdef __cplusplus' >>confdefs.h
 
2616   echo $ac_declaration      >>confdefs.h
 
2617   echo '#endif'             >>confdefs.h
 
2621   echo "$as_me: failed program was:" >&5 
2622 sed 's/^/| /' conftest.
$ac_ext >&5 
2625 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2627 ac_cpp
='$CPP $CPPFLAGS' 
2628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
2629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
2630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
2632 # Find the correct PATH separator.  Usually this is `:', but 
2633 # DJGPP uses `;' like DOS. 
2634 if test "X${PATH_SEPARATOR+set}" != Xset
; then 
2635   UNAME
=${UNAME-`uname 2>/dev/null`} 
2637     *-DOS) lt_cv_sys_path_separator
=';' ;; 
2638     *)     lt_cv_sys_path_separator
=':' ;; 
2640   PATH_SEPARATOR
=$lt_cv_sys_path_separator 
2644 # Check whether --with-gnu-ld or --without-gnu-ld was given. 
2645 if test "${with_gnu_ld+set}" = set; then 
2646   withval
="$with_gnu_ld" 
2647   test "$withval" = no 
|| with_gnu_ld
=yes 
2652 if test "$GCC" = yes; then 
2653   # Check if gcc -print-prog-name=ld gives a path. 
2654   echo "$as_me:$LINENO: checking for ld used by GCC" >&5 
2655 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 
2658     # gcc leaves a trailing carriage return which upsets mingw 
2659     ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 
2661     ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;; 
2664     # Accept absolute paths. 
2665     [\\/]* | [A
-Za-z]:[\\/]*) 
2666       re_direlt
='/[^/][^/]*/\.\./' 
2667       # Canonicalize the path of ld 
2668       ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'` 
2669       while echo $ac_prog | grep "$re_direlt" > /dev
/null 
2>&1; do 
2670         ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"` 
2672       test -z "$LD" && LD
="$ac_prog" 
2675     # If it fails, then pretend we aren't using GCC. 
2679     # If it is relative, then search for the first ld in PATH. 
2683 elif test "$with_gnu_ld" = yes; then 
2684   echo "$as_me:$LINENO: checking for GNU ld" >&5 
2685 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 
2687   echo "$as_me:$LINENO: checking for non-GNU ld" >&5 
2688 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 
2690 if test "${lt_cv_path_LD+set}" = set; then 
2691   echo $ECHO_N "(cached) $ECHO_C" >&6 
2693   if test -z "$LD"; then 
2694   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR 
2695   for ac_dir 
in $PATH; do 
2696     test -z "$ac_dir" && ac_dir
=.
 
2697     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 
2698       lt_cv_path_LD
="$ac_dir/$ac_prog" 
2699       # Check to see if the program is GNU ld.  I'd rather use --version, 
2700       # but apparently some GNU ld's only accept -v. 
2701       # Break only if it was the GNU/non-GNU ld that we prefer. 
2702       if "$lt_cv_path_LD" -v 2>&1 < /dev
/null 
| egrep '(GNU|with BFD)' > /dev
/null
; then 
2703         test "$with_gnu_ld" != no 
&& break 
2705         test "$with_gnu_ld" != yes && break 
2711   lt_cv_path_LD
="$LD" # Let the user override the test with a path. 
2716 if test -n "$LD"; then 
2717   echo "$as_me:$LINENO: result: $LD" >&5 
2718 echo "${ECHO_T}$LD" >&6 
2720   echo "$as_me:$LINENO: result: no" >&5 
2721 echo "${ECHO_T}no" >&6 
2723 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 
2724 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 
2725    { (exit 1); exit 1; }; } 
2726 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 
2727 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 
2728 if test "${lt_cv_prog_gnu_ld+set}" = set; then 
2729   echo $ECHO_N "(cached) $ECHO_C" >&6 
2731   # I'd rather use --version here, but apparently some GNU ld's only accept -v. 
2732 if $LD -v 2>&1 </dev
/null 
| egrep '(GNU|with BFD)' 1>&5; then 
2733   lt_cv_prog_gnu_ld
=yes 
2735   lt_cv_prog_gnu_ld
=no
 
2738 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 
2739 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 
2740 with_gnu_ld
=$lt_cv_prog_gnu_ld 
2743 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 
2744 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 
2745 if test "${lt_cv_ld_reload_flag+set}" = set; then 
2746   echo $ECHO_N "(cached) $ECHO_C" >&6 
2748   lt_cv_ld_reload_flag
='-r' 
2750 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 
2751 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 
2752 reload_flag
=$lt_cv_ld_reload_flag 
2753 test -n "$reload_flag" && reload_flag
=" $reload_flag" 
2755 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 
2756 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 
2757 if test "${lt_cv_path_NM+set}" = set; then 
2758   echo $ECHO_N "(cached) $ECHO_C" >&6 
2760   if test -n "$NM"; then 
2761   # Let the user override the test. 
2764   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR 
2765   for ac_dir 
in $PATH /usr
/ccs
/bin 
/usr
/ucb 
/bin
; do 
2766     test -z "$ac_dir" && ac_dir
=.
 
2767     tmp_nm
=$ac_dir/${ac_tool_prefix}nm
 
2768     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then 
2769       # Check to see if the nm accepts a BSD-compat flag. 
2770       # Adding the `sed 1q' prevents false positives on HP-UX, which says: 
2771       #   nm: unknown option "B" ignored 
2772       # Tru64's nm complains that /dev/null is an invalid object file 
2773       if ($tmp_nm -B /dev
/null 
2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then 
2774         lt_cv_path_NM
="$tmp_nm -B" 
2776       elif ($tmp_nm -p /dev
/null 
2>&1 | sed '1q'; exit 0) | egrep /dev
/null 
>/dev
/null
; then 
2777         lt_cv_path_NM
="$tmp_nm -p" 
2780         lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 
2781         continue # so that we can try to find one that supports BSD flags 
2786   test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
 
2791 echo "$as_me:$LINENO: result: $NM" >&5 
2792 echo "${ECHO_T}$NM" >&6 
2794 echo "$as_me:$LINENO: checking whether ln -s works" >&5 
2795 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 
2797 if test "$LN_S" = "ln -s"; then 
2798   echo "$as_me:$LINENO: result: yes" >&5 
2799 echo "${ECHO_T}yes" >&6 
2801   echo "$as_me:$LINENO: result: no, using $LN_S" >&5 
2802 echo "${ECHO_T}no, using $LN_S" >&6 
2805 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 
2806 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 
2807 if test "${lt_cv_deplibs_check_method+set}" = set; then 
2808   echo $ECHO_N "(cached) $ECHO_C" >&6 
2810   lt_cv_file_magic_cmd
='$MAGIC_CMD' 
2811 lt_cv_file_magic_test_file
= 
2812 lt_cv_deplibs_check_method
='unknown' 
2813 # Need to set the preceding variable on all platforms that support 
2814 # interlibrary dependencies. 
2815 # 'none' -- dependencies not supported. 
2816 # `unknown' -- same as none, but documents that we really don't know. 
2817 # 'pass_all' -- all dependencies passed with no checks. 
2818 # 'test_compile' -- check by making test program. 
2819 # 'file_magic [[regex]]' -- check by looking for files in library path 
2820 # which responds to the $file_magic_cmd with a given egrep regex. 
2821 # If you have `file' or equivalent on your system and you're not sure 
2822 # whether `pass_all' will *always* work, you probably want this one. 
2826   lt_cv_deplibs_check_method
=pass_all
 
2830   lt_cv_deplibs_check_method
=pass_all
 
2834   lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 
2835   lt_cv_file_magic_cmd
='/usr/bin/file -L' 
2836   lt_cv_file_magic_test_file
=/shlib
/libc.so
 
2839 cygwin
* | mingw
* | pw32
*) 
2840   lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?' 
2841   lt_cv_file_magic_cmd
='$OBJDUMP -f' 
2844 darwin
* | rhapsody
*) 
2845   lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library' 
2846   lt_cv_file_magic_cmd
='/usr/bin/file -L' 
2848   rhapsody
* | darwin1.
[012]) 
2849     lt_cv_file_magic_test_file
=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` 
2852     lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib' 
2858   if echo __ELF__ 
| $CC -E - | grep __ELF__ 
> /dev
/null
; then 
2861       # Not sure whether the presence of OpenBSD here was a mistake. 
2862       # Let's accept both of them until this is cleared up. 
2863       lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 
2864       lt_cv_file_magic_cmd
=/usr
/bin
/file 
2865       lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*` 
2869     lt_cv_deplibs_check_method
=pass_all
 
2874   lt_cv_deplibs_check_method
=pass_all
 
2878   lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 
2879   lt_cv_file_magic_cmd
=/usr
/bin
/file 
2880   lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
 
2886     # this will be overridden with pass_all, but let us keep it just in case 
2887     lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" 
2891     *-32|*"-32 ") libmagic
=32-bit;; 
2892     *-n32|*"-n32 ") libmagic
=N32
;; 
2893     *-64|*"-64 ") libmagic
=64-bit;; 
2894     *) libmagic
=never
-match;; 
2896     # this will be overridden with pass_all, but let us keep it just in case 
2897     lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 
2900   lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*` 
2901   lt_cv_deplibs_check_method
=pass_all
 
2904 # This must be Linux ELF. 
2907   alpha
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* ) 
2908     lt_cv_deplibs_check_method
=pass_all 
;; 
2910     # glibc up to 2.1.1 does not perform some relocations on ARM 
2911     lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 
2913   lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so` 
2917   if echo __ELF__ 
| $CC -E - | grep __ELF__ 
> /dev
/null
; then 
2918     lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 
2920     lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$' 
2925   lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 
2926   lt_cv_file_magic_cmd
=/usr
/bin
/file 
2927   lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
 
2931   lt_cv_file_magic_cmd
=/usr
/bin
/file 
2932   lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*` 
2933   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
2934     lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 
2936     lt_cv_deplibs_check_method
='file_magic OpenBSD.* shared library' 
2940 osf3
* | osf4
* | osf5
*) 
2941   # this will be overridden with pass_all, but let us keep it just in case 
2942   lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library' 
2943   lt_cv_file_magic_test_file
=/shlib
/libc.so
 
2944   lt_cv_deplibs_check_method
=pass_all
 
2948   lt_cv_deplibs_check_method
=pass_all
 
2952   lt_cv_deplibs_check_method
=pass_all
 
2953   lt_cv_file_magic_test_file
=/lib
/libc.so
 
2956 sysv5uw
[78]* | sysv4
*uw2
*) 
2957   lt_cv_deplibs_check_method
=pass_all
 
2960 sysv4 
| sysv4.2uw2
* | sysv4.3
* | sysv5
*) 
2961   case $host_vendor in 
2963     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]' 
2964     lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*` 
2967     lt_cv_deplibs_check_method
=pass_all
 
2970     lt_cv_file_magic_cmd
='/bin/file' 
2971     lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 
2974     lt_cv_file_magic_cmd
='/bin/file' 
2975     lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 
2976     lt_cv_file_magic_test_file
=/lib
/libc.so
 
2983 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 
2984 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 
2985 file_magic_cmd
=$lt_cv_file_magic_cmd 
2986 deplibs_check_method
=$lt_cv_deplibs_check_method 
2995 # Check for command to grab the raw symbol name followed by C symbol from nm. 
2996 echo "$as_me:$LINENO: checking command to parse $NM output" >&5 
2997 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 
2998 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 
2999   echo $ECHO_N "(cached) $ECHO_C" >&6 
3002 # These are sane defaults that work on at least a few old systems. 
3003 # [They come from Ultrix.  What could be older than Ultrix?!! ;)] 
3005 # Character class describing NM global symbol codes. 
3006 symcode
='[BCDEGRST]' 
3008 # Regexp to match symbols that can be accessed directly from C. 
3009 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)' 
3011 # Transform the above into a raw symbol and a C symbol. 
3012 symxfrm
='\1 \2\3 \3' 
3014 # Transform an extracted symbol line into a proper C declaration 
3015 lt_cv_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" 
3017 # Transform an extracted symbol line into symbol name and symbol address 
3018 lt_cv_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'" 
3020 # Define system-specific variables. 
3025 cygwin
* | mingw
* | pw32
*) 
3026   symcode
='[ABCDGISTW]' 
3028 hpux
*) # Its linker distinguishes data from code symbols 
3029   lt_cv_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 
3030   lt_cv_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'" 
3033   symcode
='[BCDEGRST]' 
3043 # Handle CRLF in mingw tool chain 
3047   opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp 
3051 # If we're using GNU nm, then use its standard symbol codes. 
3052 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev
/null
; then 
3053   symcode
='[ABCDGISTW]' 
3056 # Try without a prefix undercore, then with it. 
3057 for ac_symprfx 
in "" "_"; do 
3059   # Write the raw and C identifiers. 
3060 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[         ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" 
3062   # Check to see that the pipe works correctly. 
3065   cat > conftest.
$ac_ext <<EOF 
3070 void nm_test_func(){} 
3074 int main(){nm_test_var='a';nm_test_func();return(0);} 
3077   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
3078   (eval $ac_compile) 2>&5 
3080   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3081   (exit $ac_status); }; then 
3082     # Now try to grab the symbols. 
3084     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 
3085   (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5 
3087   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3088   (exit $ac_status); } && test -s "$nlist"; then 
3089       # Try sorting and uniquifying the output. 
3090       if sort "$nlist" | uniq > "$nlist"T
; then 
3091         mv -f "$nlist"T 
"$nlist" 
3096       # Make sure that we snagged all the symbols we need. 
3097       if egrep ' nm_test_var$' "$nlist" >/dev
/null
; then 
3098         if egrep ' nm_test_func$' "$nlist" >/dev
/null
; then 
3099           cat <<EOF > conftest.$ac_ext 
3105           # Now generate the symbol file. 
3106           eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' 
3108           cat <<EOF >> conftest.$ac_ext 
3109 #if defined (__STDC__) && __STDC__ 
3110 # define lt_ptr void * 
3112 # define lt_ptr char * 
3116 /* The mapping between symbol names and symbols. */ 
3121 lt_preloaded_symbols[] = 
3124           sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.
$ac_ext 
3125           cat <<\EOF 
>> conftest.
$ac_ext 
3133           # Now try linking the two files. 
3134           mv conftest.
$ac_objext conftstm.
$ac_objext 
3136           save_CFLAGS
="$CFLAGS" 
3137           LIBS
="conftstm.$ac_objext" 
3138           CFLAGS
="$CFLAGS$no_builtin_flag" 
3139           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
3140   (eval $ac_link) 2>&5 
3142   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3143   (exit $ac_status); } && test -s conftest
; then 
3147           CFLAGS
="$save_CFLAGS" 
3149           echo "cannot find nm_test_func in $nlist" >&5 
3152         echo "cannot find nm_test_var in $nlist" >&5 
3155       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 
3158     echo "$progname: failed program was:" >&5 
3159     cat conftest.
$ac_ext >&5 
3161   rm -f conftest
* conftst
* 
3163   # Do not use the global_symbol_pipe unless it works. 
3164   if test "$pipe_works" = yes; then 
3167     lt_cv_sys_global_symbol_pipe
= 
3173 global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe" 
3174 if test -z "$lt_cv_sys_global_symbol_pipe"; then 
3175   global_symbol_to_cdecl
= 
3176   global_symbol_to_c_name_address
= 
3178   global_symbol_to_cdecl
="$lt_cv_global_symbol_to_cdecl" 
3179   global_symbol_to_c_name_address
="$lt_cv_global_symbol_to_c_name_address" 
3181 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; 
3183   echo "$as_me:$LINENO: result: failed" >&5 
3184 echo "${ECHO_T}failed" >&6 
3186   echo "$as_me:$LINENO: result: ok" >&5 
3187 echo "${ECHO_T}ok" >&6 
3191 ac_cpp
='$CPP $CPPFLAGS' 
3192 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
3193 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
3194 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
3195 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
3196 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 
3197 # On Suns, sometimes $CPP names a directory. 
3198 if test -n "$CPP" && test -d "$CPP"; then 
3201 if test -z "$CPP"; then 
3202   if test "${ac_cv_prog_CPP+set}" = set; then 
3203   echo $ECHO_N "(cached) $ECHO_C" >&6 
3205       # Double quotes because CPP needs to be expanded 
3206     for CPP 
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 
3209 for ac_c_preproc_warn_flag 
in '' yes 
3211   # Use a header file that comes with gcc, so configuring glibc 
3212   # with a fresh cross-compiler works. 
3213   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
3214   # <limits.h> exists even on freestanding compilers. 
3215   # On the NeXT, cc -E runs the code through the compiler's parser, 
3216   # not just through cpp. "Syntax error" is here to catch this case. 
3217   cat >conftest.
$ac_ext <<_ACEOF 
3218 #line $LINENO "configure" 
3221 cat confdefs.h 
>>conftest.
$ac_ext 
3222 cat >>conftest.
$ac_ext <<_ACEOF 
3223 /* end confdefs.h.  */ 
3225 # include <limits.h> 
3227 # include <assert.h> 
3231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
3232   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
3234   grep -v '^ *+' conftest.er1 
>conftest.err
 
3236   cat conftest.err 
>&5 
3237   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3238   (exit $ac_status); } >/dev
/null
; then 
3239   if test -s conftest.err
; then 
3240     ac_cpp_err
=$ac_c_preproc_warn_flag 
3247 if test -z "$ac_cpp_err"; then 
3250   echo "$as_me: failed program was:" >&5 
3251 sed 's/^/| /' conftest.
$ac_ext >&5 
3253   # Broken: fails on valid input. 
3256 rm -f conftest.err conftest.
$ac_ext 
3258   # OK, works on sane cases.  Now check whether non-existent headers 
3259   # can be detected and how. 
3260   cat >conftest.
$ac_ext <<_ACEOF 
3261 #line $LINENO "configure" 
3264 cat confdefs.h 
>>conftest.
$ac_ext 
3265 cat >>conftest.
$ac_ext <<_ACEOF 
3266 /* end confdefs.h.  */ 
3267 #include <ac_nonexistent.h> 
3269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
3270   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
3272   grep -v '^ *+' conftest.er1 
>conftest.err
 
3274   cat conftest.err 
>&5 
3275   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3276   (exit $ac_status); } >/dev
/null
; then 
3277   if test -s conftest.err
; then 
3278     ac_cpp_err
=$ac_c_preproc_warn_flag 
3285 if test -z "$ac_cpp_err"; then 
3286   # Broken: success on invalid input. 
3289   echo "$as_me: failed program was:" >&5 
3290 sed 's/^/| /' conftest.
$ac_ext >&5 
3292   # Passes both tests. 
3296 rm -f conftest.err conftest.
$ac_ext 
3299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
3300 rm -f conftest.err conftest.
$ac_ext 
3301 if $ac_preproc_ok; then 
3313 echo "$as_me:$LINENO: result: $CPP" >&5 
3314 echo "${ECHO_T}$CPP" >&6 
3316 for ac_c_preproc_warn_flag 
in '' yes 
3318   # Use a header file that comes with gcc, so configuring glibc 
3319   # with a fresh cross-compiler works. 
3320   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
3321   # <limits.h> exists even on freestanding compilers. 
3322   # On the NeXT, cc -E runs the code through the compiler's parser, 
3323   # not just through cpp. "Syntax error" is here to catch this case. 
3324   cat >conftest.
$ac_ext <<_ACEOF 
3325 #line $LINENO "configure" 
3328 cat confdefs.h 
>>conftest.
$ac_ext 
3329 cat >>conftest.
$ac_ext <<_ACEOF 
3330 /* end confdefs.h.  */ 
3332 # include <limits.h> 
3334 # include <assert.h> 
3338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
3339   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
3341   grep -v '^ *+' conftest.er1 
>conftest.err
 
3343   cat conftest.err 
>&5 
3344   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3345   (exit $ac_status); } >/dev
/null
; then 
3346   if test -s conftest.err
; then 
3347     ac_cpp_err
=$ac_c_preproc_warn_flag 
3354 if test -z "$ac_cpp_err"; then 
3357   echo "$as_me: failed program was:" >&5 
3358 sed 's/^/| /' conftest.
$ac_ext >&5 
3360   # Broken: fails on valid input. 
3363 rm -f conftest.err conftest.
$ac_ext 
3365   # OK, works on sane cases.  Now check whether non-existent headers 
3366   # can be detected and how. 
3367   cat >conftest.
$ac_ext <<_ACEOF 
3368 #line $LINENO "configure" 
3371 cat confdefs.h 
>>conftest.
$ac_ext 
3372 cat >>conftest.
$ac_ext <<_ACEOF 
3373 /* end confdefs.h.  */ 
3374 #include <ac_nonexistent.h> 
3376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
3377   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
3379   grep -v '^ *+' conftest.er1 
>conftest.err
 
3381   cat conftest.err 
>&5 
3382   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3383   (exit $ac_status); } >/dev
/null
; then 
3384   if test -s conftest.err
; then 
3385     ac_cpp_err
=$ac_c_preproc_warn_flag 
3392 if test -z "$ac_cpp_err"; then 
3393   # Broken: success on invalid input. 
3396   echo "$as_me: failed program was:" >&5 
3397 sed 's/^/| /' conftest.
$ac_ext >&5 
3399   # Passes both tests. 
3403 rm -f conftest.err conftest.
$ac_ext 
3406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
3407 rm -f conftest.err conftest.
$ac_ext 
3408 if $ac_preproc_ok; then 
3411   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
3412 See \`config.log' for more details." >&5 
3413 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
3414 See \`config.log' for more details." >&2;} 
3415    { (exit 1); exit 1; }; } 
3419 ac_cpp
='$CPP $CPPFLAGS' 
3420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
3421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
3422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
3425 echo "$as_me:$LINENO: checking for egrep" >&5 
3426 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 
3427 if test "${ac_cv_prog_egrep+set}" = set; then 
3428   echo $ECHO_N "(cached) $ECHO_C" >&6 
3430   if echo a 
| (grep -E '(a|b)') >/dev
/null 
2>&1 
3431     then ac_cv_prog_egrep
='grep -E' 
3432     else ac_cv_prog_egrep
='egrep' 
3435 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 
3436 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 
3437  EGREP
=$ac_cv_prog_egrep 
3440 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
3441 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 
3442 if test "${ac_cv_header_stdc+set}" = set; then 
3443   echo $ECHO_N "(cached) $ECHO_C" >&6 
3445   cat >conftest.
$ac_ext <<_ACEOF 
3446 #line $LINENO "configure" 
3449 cat confdefs.h 
>>conftest.
$ac_ext 
3450 cat >>conftest.
$ac_ext <<_ACEOF 
3451 /* end confdefs.h.  */ 
3465 rm -f conftest.
$ac_objext 
3466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
3467   (eval $ac_compile) 2>&5 
3469   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3470   (exit $ac_status); } && 
3471          { ac_try
='test -s conftest.$ac_objext' 
3472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
3475   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3476   (exit $ac_status); }; }; then 
3477   ac_cv_header_stdc
=yes 
3479   echo "$as_me: failed program was:" >&5 
3480 sed 's/^/| /' conftest.
$ac_ext >&5 
3482 ac_cv_header_stdc
=no
 
3484 rm -f conftest.
$ac_objext conftest.
$ac_ext 
3486 if test $ac_cv_header_stdc = yes; then 
3487   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
3488   cat >conftest.
$ac_ext <<_ACEOF 
3489 #line $LINENO "configure" 
3492 cat confdefs.h 
>>conftest.
$ac_ext 
3493 cat >>conftest.
$ac_ext <<_ACEOF 
3494 /* end confdefs.h.  */ 
3498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3499   $EGREP "memchr" >/dev
/null 
2>&1; then 
3502   ac_cv_header_stdc
=no
 
3508 if test $ac_cv_header_stdc = yes; then 
3509   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
3510   cat >conftest.
$ac_ext <<_ACEOF 
3511 #line $LINENO "configure" 
3514 cat confdefs.h 
>>conftest.
$ac_ext 
3515 cat >>conftest.
$ac_ext <<_ACEOF 
3516 /* end confdefs.h.  */ 
3520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3521   $EGREP "free" >/dev
/null 
2>&1; then 
3524   ac_cv_header_stdc
=no
 
3530 if test $ac_cv_header_stdc = yes; then 
3531   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
3532   if test "$cross_compiling" = yes; then 
3535   cat >conftest.
$ac_ext <<_ACEOF 
3536 #line $LINENO "configure" 
3539 cat confdefs.h 
>>conftest.
$ac_ext 
3540 cat >>conftest.
$ac_ext <<_ACEOF 
3541 /* end confdefs.h.  */ 
3543 #if ((' ' & 0x0FF) == 0x020) 
3544 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
3545 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
3547 # define ISLOWER(c) \ 
3548                    (('a' <= (c) && (c) <= 'i') \ 
3549                      || ('j' <= (c) && (c) <= 'r') \ 
3550                      || ('s' <= (c) && (c) <= 'z')) 
3551 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
3554 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
3559   for (i = 0; i < 256; i++) 
3560     if (XOR (islower (i), ISLOWER (i)) 
3561         || toupper (i) != TOUPPER (i)) 
3566 rm -f conftest
$ac_exeext 
3567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
3568   (eval $ac_link) 2>&5 
3570   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3571   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
3572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
3575   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3576   (exit $ac_status); }; }; then 
3579   echo "$as_me: program exited with status $ac_status" >&5 
3580 echo "$as_me: failed program was:" >&5 
3581 sed 's/^/| /' conftest.
$ac_ext >&5 
3584 ac_cv_header_stdc
=no
 
3586 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext 
3590 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
3591 echo "${ECHO_T}$ac_cv_header_stdc" >&6 
3592 if test $ac_cv_header_stdc = yes; then 
3594 cat >>confdefs.h 
<<\_ACEOF
 
3595 #define STDC_HEADERS 1 
3600 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 
3610 for ac_header 
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h 
strings.h \
 
3611                   inttypes.h stdint.h unistd.h
 
3613 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
3614 echo "$as_me:$LINENO: checking for $ac_header" >&5 
3615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
3616 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
3617   echo $ECHO_N "(cached) $ECHO_C" >&6 
3619   cat >conftest.
$ac_ext <<_ACEOF 
3620 #line $LINENO "configure" 
3623 cat confdefs.h 
>>conftest.
$ac_ext 
3624 cat >>conftest.
$ac_ext <<_ACEOF 
3625 /* end confdefs.h.  */ 
3626 $ac_includes_default 
3628 #include <$ac_header> 
3630 rm -f conftest.
$ac_objext 
3631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
3632   (eval $ac_compile) 2>&5 
3634   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3635   (exit $ac_status); } && 
3636          { ac_try
='test -s conftest.$ac_objext' 
3637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
3640   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3641   (exit $ac_status); }; }; then 
3642   eval "$as_ac_Header=yes" 
3644   echo "$as_me: failed program was:" >&5 
3645 sed 's/^/| /' conftest.
$ac_ext >&5 
3647 eval "$as_ac_Header=no" 
3649 rm -f conftest.
$ac_objext conftest.
$ac_ext 
3651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
3652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
3653 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
3654   cat >>confdefs.h 
<<_ACEOF 
3655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
3664 for ac_header 
in dlfcn.h
 
3666 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
3667 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
3668   echo "$as_me:$LINENO: checking for $ac_header" >&5 
3669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
3670 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
3671   echo $ECHO_N "(cached) $ECHO_C" >&6 
3673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
3674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
3676   # Is the header compilable? 
3677 echo "$as_me:$LINENO: checking $ac_header usability" >&5 
3678 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 
3679 cat >conftest.
$ac_ext <<_ACEOF 
3680 #line $LINENO "configure" 
3683 cat confdefs.h 
>>conftest.
$ac_ext 
3684 cat >>conftest.
$ac_ext <<_ACEOF 
3685 /* end confdefs.h.  */ 
3686 $ac_includes_default 
3687 #include <$ac_header> 
3689 rm -f conftest.
$ac_objext 
3690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
3691   (eval $ac_compile) 2>&5 
3693   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3694   (exit $ac_status); } && 
3695          { ac_try
='test -s conftest.$ac_objext' 
3696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
3699   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3700   (exit $ac_status); }; }; then 
3701   ac_header_compiler
=yes 
3703   echo "$as_me: failed program was:" >&5 
3704 sed 's/^/| /' conftest.
$ac_ext >&5 
3706 ac_header_compiler
=no
 
3708 rm -f conftest.
$ac_objext conftest.
$ac_ext 
3709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
3710 echo "${ECHO_T}$ac_header_compiler" >&6 
3712 # Is the header present? 
3713 echo "$as_me:$LINENO: checking $ac_header presence" >&5 
3714 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 
3715 cat >conftest.
$ac_ext <<_ACEOF 
3716 #line $LINENO "configure" 
3719 cat confdefs.h 
>>conftest.
$ac_ext 
3720 cat >>conftest.
$ac_ext <<_ACEOF 
3721 /* end confdefs.h.  */ 
3722 #include <$ac_header> 
3724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
3725   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
3727   grep -v '^ *+' conftest.er1 
>conftest.err
 
3729   cat conftest.err 
>&5 
3730   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3731   (exit $ac_status); } >/dev
/null
; then 
3732   if test -s conftest.err
; then 
3733     ac_cpp_err
=$ac_c_preproc_warn_flag 
3740 if test -z "$ac_cpp_err"; then 
3741   ac_header_preproc
=yes 
3743   echo "$as_me: failed program was:" >&5 
3744 sed 's/^/| /' conftest.
$ac_ext >&5 
3746   ac_header_preproc
=no
 
3748 rm -f conftest.err conftest.
$ac_ext 
3749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
3750 echo "${ECHO_T}$ac_header_preproc" >&6 
3752 # So?  What about this header? 
3753 case $ac_header_compiler:$ac_header_preproc in 
3755     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
3756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
3757     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
3758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
3761 ## ------------------------------------ ## 
3762 ## Report this to bug-autoconf@gnu.org. ## 
3763 ## ------------------------------------ ## 
3766       sed "s/^/$as_me: WARNING:     /" >&2 
3769     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 
3770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 
3771     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 
3772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 
3773     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
3774 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
3777 ## ------------------------------------ ## 
3778 ## Report this to bug-autoconf@gnu.org. ## 
3779 ## ------------------------------------ ## 
3782       sed "s/^/$as_me: WARNING:     /" >&2 
3785 echo "$as_me:$LINENO: checking for $ac_header" >&5 
3786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
3787 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
3788   echo $ECHO_N "(cached) $ECHO_C" >&6 
3790   eval "$as_ac_Header=$ac_header_preproc" 
3792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
3793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
3796 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
3797   cat >>confdefs.h 
<<_ACEOF 
3798 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
3809 # Only perform the check for file, if the check method requires it 
3810 case $deplibs_check_method in 
3812   if test "$file_magic_cmd" = '$MAGIC_CMD'; then 
3813     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 
3814 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 
3815 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 
3816   echo $ECHO_N "(cached) $ECHO_C" >&6 
3820   lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path. 
3823   lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path. 
3826   ac_save_MAGIC_CMD
="$MAGIC_CMD" 
3827   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
=":" 
3828   ac_dummy
="/usr/bin:$PATH" 
3829   for ac_dir 
in $ac_dummy; do 
3830     test -z "$ac_dir" && ac_dir
=.
 
3831     if test -f $ac_dir/${ac_tool_prefix}file; then 
3832       lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file" 
3833       if test -n "$file_magic_test_file"; then 
3834         case $deplibs_check_method in 
3836           file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" 
3837           MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
3838           if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null 
| 
3839             egrep "$file_magic_regex" > /dev
/null
; then 
3844 *** Warning: the command libtool uses to detect shared libraries, 
3845 *** $file_magic_cmd, produces output that libtool cannot recognize. 
3846 *** The result is that libtool may fail to recognize shared libraries 
3847 *** as such.  This will affect the creation of libtool libraries that 
3848 *** depend on shared libraries, but programs linked with such libtool 
3849 *** libraries will work regardless of this problem.  Nevertheless, you 
3850 *** may want to report the problem to your system manager and/or to 
3851 *** bug-libtool@gnu.org 
3861   MAGIC_CMD
="$ac_save_MAGIC_CMD" 
3866 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
3867 if test -n "$MAGIC_CMD"; then 
3868   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 
3869 echo "${ECHO_T}$MAGIC_CMD" >&6 
3871   echo "$as_me:$LINENO: result: no" >&5 
3872 echo "${ECHO_T}no" >&6 
3875 if test -z "$lt_cv_path_MAGIC_CMD"; then 
3876   if test -n "$ac_tool_prefix"; then 
3877     echo "$as_me:$LINENO: checking for file" >&5 
3878 echo $ECHO_N "checking for file... $ECHO_C" >&6 
3879 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 
3880   echo $ECHO_N "(cached) $ECHO_C" >&6 
3884   lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path. 
3887   lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path. 
3890   ac_save_MAGIC_CMD
="$MAGIC_CMD" 
3891   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
=":" 
3892   ac_dummy
="/usr/bin:$PATH" 
3893   for ac_dir 
in $ac_dummy; do 
3894     test -z "$ac_dir" && ac_dir
=.
 
3895     if test -f $ac_dir/file; then 
3896       lt_cv_path_MAGIC_CMD
="$ac_dir/file" 
3897       if test -n "$file_magic_test_file"; then 
3898         case $deplibs_check_method in 
3900           file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" 
3901           MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
3902           if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null 
| 
3903             egrep "$file_magic_regex" > /dev
/null
; then 
3908 *** Warning: the command libtool uses to detect shared libraries, 
3909 *** $file_magic_cmd, produces output that libtool cannot recognize. 
3910 *** The result is that libtool may fail to recognize shared libraries 
3911 *** as such.  This will affect the creation of libtool libraries that 
3912 *** depend on shared libraries, but programs linked with such libtool 
3913 *** libraries will work regardless of this problem.  Nevertheless, you 
3914 *** may want to report the problem to your system manager and/or to 
3915 *** bug-libtool@gnu.org 
3925   MAGIC_CMD
="$ac_save_MAGIC_CMD" 
3930 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
3931 if test -n "$MAGIC_CMD"; then 
3932   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 
3933 echo "${ECHO_T}$MAGIC_CMD" >&6 
3935   echo "$as_me:$LINENO: result: no" >&5 
3936 echo "${ECHO_T}no" >&6 
3948 if test -n "$ac_tool_prefix"; then 
3949   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 
3950 set dummy 
${ac_tool_prefix}ranlib
; ac_word
=$2 
3951 echo "$as_me:$LINENO: checking for $ac_word" >&5 
3952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
3953 if test "${ac_cv_prog_RANLIB+set}" = set; then 
3954   echo $ECHO_N "(cached) $ECHO_C" >&6 
3956   if test -n "$RANLIB"; then 
3957   ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test. 
3959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
3963   test -z "$as_dir" && as_dir
=.
 
3964   for ac_exec_ext 
in '' $ac_executable_extensions; do 
3965   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
3966     ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib" 
3967     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
3975 RANLIB
=$ac_cv_prog_RANLIB 
3976 if test -n "$RANLIB"; then 
3977   echo "$as_me:$LINENO: result: $RANLIB" >&5 
3978 echo "${ECHO_T}$RANLIB" >&6 
3980   echo "$as_me:$LINENO: result: no" >&5 
3981 echo "${ECHO_T}no" >&6 
3985 if test -z "$ac_cv_prog_RANLIB"; then 
3986   ac_ct_RANLIB
=$RANLIB 
3987   # Extract the first word of "ranlib", so it can be a program name with args. 
3988 set dummy ranlib
; ac_word
=$2 
3989 echo "$as_me:$LINENO: checking for $ac_word" >&5 
3990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
3991 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 
3992   echo $ECHO_N "(cached) $ECHO_C" >&6 
3994   if test -n "$ac_ct_RANLIB"; then 
3995   ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test. 
3997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4001   test -z "$as_dir" && as_dir
=.
 
4002   for ac_exec_ext 
in '' $ac_executable_extensions; do 
4003   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
4004     ac_cv_prog_ac_ct_RANLIB
="ranlib" 
4005     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
4011   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":" 
4014 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB 
4015 if test -n "$ac_ct_RANLIB"; then 
4016   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 
4017 echo "${ECHO_T}$ac_ct_RANLIB" >&6 
4019   echo "$as_me:$LINENO: result: no" >&5 
4020 echo "${ECHO_T}no" >&6 
4023   RANLIB
=$ac_ct_RANLIB 
4025   RANLIB
="$ac_cv_prog_RANLIB" 
4028 if test -n "$ac_tool_prefix"; then 
4029   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 
4030 set dummy 
${ac_tool_prefix}strip
; ac_word
=$2 
4031 echo "$as_me:$LINENO: checking for $ac_word" >&5 
4032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
4033 if test "${ac_cv_prog_STRIP+set}" = set; then 
4034   echo $ECHO_N "(cached) $ECHO_C" >&6 
4036   if test -n "$STRIP"; then 
4037   ac_cv_prog_STRIP
="$STRIP" # Let the user override the test. 
4039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4043   test -z "$as_dir" && as_dir
=.
 
4044   for ac_exec_ext 
in '' $ac_executable_extensions; do 
4045   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
4046     ac_cv_prog_STRIP
="${ac_tool_prefix}strip" 
4047     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
4055 STRIP
=$ac_cv_prog_STRIP 
4056 if test -n "$STRIP"; then 
4057   echo "$as_me:$LINENO: result: $STRIP" >&5 
4058 echo "${ECHO_T}$STRIP" >&6 
4060   echo "$as_me:$LINENO: result: no" >&5 
4061 echo "${ECHO_T}no" >&6 
4065 if test -z "$ac_cv_prog_STRIP"; then 
4067   # Extract the first word of "strip", so it can be a program name with args. 
4068 set dummy strip
; ac_word
=$2 
4069 echo "$as_me:$LINENO: checking for $ac_word" >&5 
4070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
4071 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 
4072   echo $ECHO_N "(cached) $ECHO_C" >&6 
4074   if test -n "$ac_ct_STRIP"; then 
4075   ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test. 
4077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4081   test -z "$as_dir" && as_dir
=.
 
4082   for ac_exec_ext 
in '' $ac_executable_extensions; do 
4083   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
4084     ac_cv_prog_ac_ct_STRIP
="strip" 
4085     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
4091   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":" 
4094 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP 
4095 if test -n "$ac_ct_STRIP"; then 
4096   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 
4097 echo "${ECHO_T}$ac_ct_STRIP" >&6 
4099   echo "$as_me:$LINENO: result: no" >&5 
4100 echo "${ECHO_T}no" >&6 
4105   STRIP
="$ac_cv_prog_STRIP" 
4112 # Check whether --enable-libtool-lock or --disable-libtool-lock was given. 
4113 if test "${enable_libtool_lock+set}" = set; then 
4114   enableval
="$enable_libtool_lock" 
4117 test "x$enable_libtool_lock" != xno 
&& enable_libtool_lock
=yes 
4119 # Some flags need to be propagated to the compiler or linker for good 
4123   # Find out which ABI we are using. 
4124   echo '#line 4124 "configure"' > conftest.
$ac_ext 
4125   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
4126   (eval $ac_compile) 2>&5 
4128   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4129   (exit $ac_status); }; then 
4130     case `/usr/bin/file conftest.$ac_objext` in 
4146   # On SCO OpenServer 5, we need -belf to get full-featured binaries. 
4147   SAVE_CFLAGS
="$CFLAGS" 
4148   CFLAGS
="$CFLAGS -belf" 
4149   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 
4150 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 
4151 if test "${lt_cv_cc_needs_belf+set}" = set; then 
4152   echo $ECHO_N "(cached) $ECHO_C" >&6 
4157 ac_cpp
='$CPP $CPPFLAGS' 
4158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
4159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
4160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
4162      cat >conftest.
$ac_ext <<_ACEOF 
4163 #line $LINENO "configure" 
4166 cat confdefs.h 
>>conftest.
$ac_ext 
4167 cat >>conftest.
$ac_ext <<_ACEOF 
4168 /* end confdefs.h.  */ 
4178 rm -f conftest.
$ac_objext conftest
$ac_exeext 
4179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
4180   (eval $ac_link) 2>&5 
4182   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4183   (exit $ac_status); } && 
4184          { ac_try
='test -s conftest$ac_exeext' 
4185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
4188   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4189   (exit $ac_status); }; }; then 
4190   lt_cv_cc_needs_belf
=yes 
4192   echo "$as_me: failed program was:" >&5 
4193 sed 's/^/| /' conftest.
$ac_ext >&5 
4195 lt_cv_cc_needs_belf
=no
 
4197 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
4199 ac_cpp
='$CPP $CPPFLAGS' 
4200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
4201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
4202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
4205 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 
4206 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 
4207   if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then 
4208     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 
4209     CFLAGS
="$SAVE_CFLAGS" 
4216 # Sed substitution that helps us do robust quoting.  It backslashifies 
4217 # metacharacters that are still active within double-quoted strings. 
4218 Xsed
='sed -e s/^X//' 
4219 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g' 
4221 # Same as above, but do not quote variable references. 
4222 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g' 
4224 # Sed substitution to delay expansion of an escaped shell variable in a 
4225 # double_quote_subst'ed string. 
4226 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g' 
4232 default_ofile
=libtool
 
4233 can_build_shared
=yes 
4235 # All known linkers require a `.a' archive for static linking (except M$VC, 
4236 # which needs '.lib'). 
4238 ltmain
="$ac_aux_dir/ltmain.sh" 
4239 ofile
="$default_ofile" 
4240 with_gnu_ld
="$lt_cv_prog_gnu_ld" 
4241 need_locks
="$enable_libtool_lock" 
4244 old_CFLAGS
="$CFLAGS" 
4246 # Set sane defaults for various variables 
4247 test -z "$AR" && AR
=ar 
4248 test -z "$AR_FLAGS" && AR_FLAGS
=cru
 
4249 test -z "$AS" && AS
=as
 
4250 test -z "$CC" && CC
=cc
 
4251 test -z "$DLLTOOL" && DLLTOOL
=dlltool
 
4252 test -z "$LD" && LD
=ld
 
4253 test -z "$LN_S" && LN_S
="ln -s" 
4254 test -z "$MAGIC_CMD" && MAGIC_CMD
=file 
4255 test -z "$NM" && NM
=nm
 
4256 test -z "$OBJDUMP" && OBJDUMP
=objdump
 
4257 test -z "$RANLIB" && RANLIB
=: 
4258 test -z "$STRIP" && STRIP
=: 
4259 test -z "$ac_objext" && ac_objext
=o
 
4261 if test x
"$host" != x
"$build"; then 
4262   ac_tool_prefix
=${host_alias}- 
4267 # Transform linux* to *-*-linux-gnu*, to support old configure scripts. 
4270 linux
*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 
4275   # AIX sometimes has problems with the GCC collect2 program.  For some 
4276   # reason, if we set the COLLECT_NAMES environment variable, the problems 
4277   # vanish in a puff of smoke. 
4278   if test "X${COLLECT_NAMES+set}" != Xset
; then 
4280     export COLLECT_NAMES
 
4285 # Determine commands to create old-style static archives. 
4286 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' 
4287 old_postinstall_cmds
='chmod 644 $oldlib' 
4288 old_postuninstall_cmds
= 
4290 if test -n "$RANLIB"; then 
4293     old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds" 
4296     old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds" 
4299   old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib" 
4302 # Allow CC to be a program name with arguments. 
4306 ## FIXME: this should be a separate macro 
4308 echo "$as_me:$LINENO: checking for objdir" >&5 
4309 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 
4310 rm -f .libs 
2>/dev
/null
 
4311 mkdir .libs 
2>/dev
/null
 
4312 if test -d .libs
; then 
4315   # MS-DOS does not allow filenames that begin with a dot. 
4318 rmdir .libs 
2>/dev
/null
 
4319 echo "$as_me:$LINENO: result: $objdir" >&5 
4320 echo "${ECHO_T}$objdir" >&6 
4325 ## FIXME: this should be a separate macro 
4328 # Check whether --with-pic or --without-pic was given. 
4329 if test "${with_pic+set}" = set; then 
4335 test -z "$pic_mode" && pic_mode
=default
 
4337 # We assume here that the value for lt_cv_prog_cc_pic will not be cached 
4338 # in isolation, and that seeing it set (from the cache) indicates that 
4339 # the associated values are set (in the cache) correctly too. 
4340 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 
4341 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 
4342 if test "${lt_cv_prog_cc_pic+set}" = set; then 
4343   echo $ECHO_N "(cached) $ECHO_C" >&6 
4346   lt_cv_prog_cc_shlib
= 
4348   lt_cv_prog_cc_static
= 
4349   lt_cv_prog_cc_no_builtin
= 
4350   lt_cv_prog_cc_can_build_shared
=$can_build_shared 
4352   if test "$GCC" = yes; then 
4353     lt_cv_prog_cc_wl
='-Wl,' 
4354     lt_cv_prog_cc_static
='-static' 
4358       # Below there is a dirty hack to force normal static linking with -ldl 
4359       # The problem is because libdl dynamically linked with both libc and 
4360       # libC (AIX C++ library), which obviously doesn't included in libraries 
4361       # list by gcc. This cause undefined symbols with -static flags. 
4362       # This hack allows C programs to be linked with "-static -ldl", but 
4363       # not sure about C++ programs. 
4364       lt_cv_prog_cc_static
="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" 
4367       # FIXME: we need at least 68020 code to build shared libraries, but 
4368       # adding the `-m68020' flag to GCC prevents building anything better, 
4370       lt_cv_prog_cc_pic
='-m68020 -resident32 -malways-restore-a4' 
4372     beos
* | irix5
* | irix6
* | osf3
* | osf4
* | osf5
*) 
4373       # PIC is the default for these OSes. 
4375     darwin
* | rhapsody
*) 
4376       # PIC is the default on this platform 
4377       # Common symbols not allowed in MH_DYLIB files 
4378       lt_cv_prog_cc_pic
='-fno-common' 
4380     cygwin
* | mingw
* | pw32
* | os2
*) 
4381       # This hack is so that the source file can tell whether it is being 
4382       # built for inclusion in a dll (and should export symbols for example). 
4383       lt_cv_prog_cc_pic
='-DDLL_EXPORT' 
4386       if test -d /usr
/nec
; then 
4387          lt_cv_prog_cc_pic
=-Kconform_pic 
4391       lt_cv_prog_cc_pic
='-fPIC' 
4395     # PORTME Check for PIC flags for the system compiler. 
4397     aix3
* | aix4
* | aix5
*) 
4398       lt_cv_prog_cc_wl
='-Wl,' 
4399       # All AIX code is PIC. 
4400       if test "$host_cpu" = ia64
; then 
4401         # AIX 5 now supports IA64 processor 
4402         lt_cv_prog_cc_static
='-Bstatic' 
4404         lt_cv_prog_cc_static
='-bnso -bI:/lib/syscalls.exp' 
4408     hpux9
* | hpux10
* | hpux11
*) 
4409       # Is there a better lt_cv_prog_cc_static that works with the bundled CC? 
4410       lt_cv_prog_cc_wl
='-Wl,' 
4411       lt_cv_prog_cc_static
="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" 
4412       lt_cv_prog_cc_pic
='+Z' 
4416       lt_cv_prog_cc_wl
='-Wl,' 
4417       lt_cv_prog_cc_static
='-non_shared' 
4418       # PIC (with -KPIC) is the default. 
4421     cygwin
* | mingw
* | pw32
* | os2
*) 
4422       # This hack is so that the source file can tell whether it is being 
4423       # built for inclusion in a dll (and should export symbols for example). 
4424       lt_cv_prog_cc_pic
='-DDLL_EXPORT' 
4428       lt_cv_prog_cc_pic
='-KPIC' 
4429       lt_cv_prog_cc_static
='-Bstatic' 
4432     osf3
* | osf4
* | osf5
*) 
4433       # All OSF/1 code is PIC. 
4434       lt_cv_prog_cc_wl
='-Wl,' 
4435       lt_cv_prog_cc_static
='-non_shared' 
4439       lt_cv_prog_cc_pic
='-Kpic' 
4440       lt_cv_prog_cc_static
='-dn' 
4441       lt_cv_prog_cc_shlib
='-belf' 
4445       lt_cv_prog_cc_pic
='-KPIC' 
4446       lt_cv_prog_cc_static
='-Bstatic' 
4447       lt_cv_prog_cc_wl
='-Wl,' 
4451       lt_cv_prog_cc_pic
='-PIC' 
4452       lt_cv_prog_cc_static
='-Bstatic' 
4453       lt_cv_prog_cc_wl
='-Qoption ld ' 
4456     sysv4 
| sysv4.2uw2
* | sysv4.3
* | sysv5
*) 
4457       lt_cv_prog_cc_pic
='-KPIC' 
4458       lt_cv_prog_cc_static
='-Bstatic' 
4459       if test "x$host_vendor" = xsni
; then 
4460         lt_cv_prog_cc_wl
='-LD' 
4462         lt_cv_prog_cc_wl
='-Wl,' 
4467       lt_cv_prog_cc_pic
='-pic' 
4468       lt_cv_prog_cc_static
='-Bstatic' 
4472       if test -d /usr
/nec 
;then 
4473         lt_cv_prog_cc_pic
='-Kconform_pic' 
4474         lt_cv_prog_cc_static
='-Bstatic' 
4479       lt_cv_prog_cc_can_build_shared
=no
 
4486 if test -z "$lt_cv_prog_cc_pic"; then 
4487   echo "$as_me:$LINENO: result: none" >&5 
4488 echo "${ECHO_T}none" >&6 
4490   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 
4491 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 
4493   # Check to make sure the pic_flag actually works. 
4494   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 
4495 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 
4496   if test "${lt_cv_prog_cc_pic_works+set}" = set; then 
4497   echo $ECHO_N "(cached) $ECHO_C" >&6 
4499       save_CFLAGS
="$CFLAGS" 
4500     CFLAGS
="$CFLAGS $lt_cv_prog_cc_pic -DPIC" 
4501     cat >conftest.
$ac_ext <<_ACEOF 
4502 #line $LINENO "configure" 
4505 cat confdefs.h 
>>conftest.
$ac_ext 
4506 cat >>conftest.
$ac_ext <<_ACEOF 
4507 /* end confdefs.h.  */ 
4517 rm -f conftest.
$ac_objext 
4518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
4519   (eval $ac_compile) 2>&5 
4521   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4522   (exit $ac_status); } && 
4523          { ac_try
='test -s conftest.$ac_objext' 
4524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
4527   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4528   (exit $ac_status); }; }; then 
4530       hpux9
* | hpux10
* | hpux11
*) 
4531         # On HP-UX, both CC and GCC only warn that PIC is supported... then 
4532         # they create non-PIC objects.  So, if there were any warnings, we 
4533         # assume that PIC is not supported. 
4534         if test -s conftest.err
; then 
4535           lt_cv_prog_cc_pic_works
=no
 
4537           lt_cv_prog_cc_pic_works
=yes 
4541         lt_cv_prog_cc_pic_works
=yes 
4546   echo "$as_me: failed program was:" >&5 
4547 sed 's/^/| /' conftest.
$ac_ext >&5 
4549       lt_cv_prog_cc_pic_works
=no
 
4552 rm -f conftest.
$ac_objext conftest.
$ac_ext 
4553     CFLAGS
="$save_CFLAGS" 
4558   if test "X$lt_cv_prog_cc_pic_works" = Xno
; then 
4560     lt_cv_prog_cc_can_build_shared
=no
 
4562     lt_cv_prog_cc_pic
=" $lt_cv_prog_cc_pic" 
4565   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 
4566 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 
4571 # Check for any special shared library compilation flags. 
4572 if test -n "$lt_cv_prog_cc_shlib"; then 
4573   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 
4574 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} 
4575   if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev
/null
; then : 
4577    { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 
4578 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} 
4579     lt_cv_prog_cc_can_build_shared
=no
 
4583 ## FIXME: this should be a separate macro 
4585 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 
4586 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 
4587 if test "${lt_cv_prog_cc_static_works+set}" = set; then 
4588   echo $ECHO_N "(cached) $ECHO_C" >&6 
4590     lt_cv_prog_cc_static_works
=no
 
4591   save_LDFLAGS
="$LDFLAGS" 
4592   LDFLAGS
="$LDFLAGS $lt_cv_prog_cc_static" 
4593   cat >conftest.
$ac_ext <<_ACEOF 
4594 #line $LINENO "configure" 
4597 cat confdefs.h 
>>conftest.
$ac_ext 
4598 cat >>conftest.
$ac_ext <<_ACEOF 
4599 /* end confdefs.h.  */ 
4609 rm -f conftest.
$ac_objext conftest
$ac_exeext 
4610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
4611   (eval $ac_link) 2>&5 
4613   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4614   (exit $ac_status); } && 
4615          { ac_try
='test -s conftest$ac_exeext' 
4616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
4619   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4620   (exit $ac_status); }; }; then 
4621   lt_cv_prog_cc_static_works
=yes 
4623   echo "$as_me: failed program was:" >&5 
4624 sed 's/^/| /' conftest.
$ac_ext >&5 
4627 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
4628   LDFLAGS
="$save_LDFLAGS" 
4633 # Belt *and* braces to stop my trousers falling down: 
4634 test "X$lt_cv_prog_cc_static_works" = Xno 
&& lt_cv_prog_cc_static
= 
4635 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 
4636 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 
4638 pic_flag
="$lt_cv_prog_cc_pic" 
4639 special_shlib_compile_flags
="$lt_cv_prog_cc_shlib" 
4640 wl
="$lt_cv_prog_cc_wl" 
4641 link_static_flag
="$lt_cv_prog_cc_static" 
4642 no_builtin_flag
="$lt_cv_prog_cc_no_builtin" 
4643 can_build_shared
="$lt_cv_prog_cc_can_build_shared" 
4648 ## FIXME: this should be a separate macro 
4650 # Check to see if options -o and -c are simultaneously supported by compiler 
4651 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 
4652 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 
4653 if test "${lt_cv_compiler_c_o+set}" = set; then 
4654   echo $ECHO_N "(cached) $ECHO_C" >&6 
4657 $rm -r conftest 
2>/dev
/null
 
4660 echo "int some_variable = 0;" > conftest.
$ac_ext 
4662 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 
4663 # that will create temporary files in the current directory regardless of 
4664 # the output directory.  Thus, making CWD read-only will cause this test 
4665 # to fail, enabling locking or at least warning the user not to do parallel 
4668 save_CFLAGS
="$CFLAGS" 
4669 CFLAGS
="$CFLAGS -o out/conftest2.$ac_objext" 
4671 if { (eval echo configure
:4671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out
/conftest.err
; } && test -s out
/conftest2.
$ac_objext; then 
4672   # The compiler can only warn and ignore the option if not recognized 
4673   # So say no if there are warnings 
4674   if test -s out
/conftest.err
; then 
4675     lt_cv_compiler_c_o
=no
 
4677     lt_cv_compiler_c_o
=yes 
4680   # Append any errors to the config.log. 
4681   cat out
/conftest.err 
1>&5 
4682   lt_cv_compiler_c_o
=no
 
4684 CFLAGS
="$save_CFLAGS" 
4690 $rm -r conftest 
2>/dev
/null
 
4694 compiler_c_o
=$lt_cv_compiler_c_o 
4695 echo "$as_me:$LINENO: result: $compiler_c_o" >&5 
4696 echo "${ECHO_T}$compiler_c_o" >&6 
4698 if test x
"$compiler_c_o" = x
"yes"; then 
4699   # Check to see if we can write to a .lo 
4700   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 
4701 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 
4702   if test "${lt_cv_compiler_o_lo+set}" = set; then 
4703   echo $ECHO_N "(cached) $ECHO_C" >&6 
4706   lt_cv_compiler_o_lo
=no
 
4707   save_CFLAGS
="$CFLAGS" 
4708   CFLAGS
="$CFLAGS -c -o conftest.lo" 
4709   save_objext
="$ac_objext" 
4711   cat >conftest.
$ac_ext <<_ACEOF 
4712 #line $LINENO "configure" 
4715 cat confdefs.h 
>>conftest.
$ac_ext 
4716 cat >>conftest.
$ac_ext <<_ACEOF 
4717 /* end confdefs.h.  */ 
4722 int some_variable = 0; 
4727 rm -f conftest.
$ac_objext 
4728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
4729   (eval $ac_compile) 2>&5 
4731   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4732   (exit $ac_status); } && 
4733          { ac_try
='test -s conftest.$ac_objext' 
4734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
4737   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4738   (exit $ac_status); }; }; then 
4739       # The compiler can only warn and ignore the option if not recognized 
4740     # So say no if there are warnings 
4741     if test -s conftest.err
; then 
4742       lt_cv_compiler_o_lo
=no
 
4744       lt_cv_compiler_o_lo
=yes 
4748   echo "$as_me: failed program was:" >&5 
4749 sed 's/^/| /' conftest.
$ac_ext >&5 
4752 rm -f conftest.
$ac_objext conftest.
$ac_ext 
4753   ac_objext
="$save_objext" 
4754   CFLAGS
="$save_CFLAGS" 
4758   compiler_o_lo
=$lt_cv_compiler_o_lo 
4759   echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 
4760 echo "${ECHO_T}$compiler_o_lo" >&6 
4767 ## FIXME: this should be a separate macro 
4769 # Check to see if we can do hard links to lock some files if needed 
4770 hard_links
="nottested" 
4771 if test "$compiler_c_o" = no 
&& test "$need_locks" != no
; then 
4772   # do not overwrite the value of need_locks provided by the user 
4773   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 
4774 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 
4777   ln conftest.a conftest.b 
2>/dev
/null 
&& hard_links
=no
 
4779   ln conftest.a conftest.b 
2>&5 || hard_links
=no
 
4780   ln conftest.a conftest.b 
2>/dev
/null 
&& hard_links
=no
 
4781   echo "$as_me:$LINENO: result: $hard_links" >&5 
4782 echo "${ECHO_T}$hard_links" >&6 
4783   if test "$hard_links" = no
; then 
4784     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 
4785 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 
4794 ## FIXME: this should be a separate macro 
4796 if test "$GCC" = yes; then 
4797   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler 
4798   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 
4799 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 
4800   echo "int some_variable = 0;" > conftest.
$ac_ext 
4801   save_CFLAGS
="$CFLAGS" 
4802   CFLAGS
="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" 
4803   compiler_rtti_exceptions
=no
 
4804   cat >conftest.
$ac_ext <<_ACEOF 
4805 #line $LINENO "configure" 
4808 cat confdefs.h 
>>conftest.
$ac_ext 
4809 cat >>conftest.
$ac_ext <<_ACEOF 
4810 /* end confdefs.h.  */ 
4815 int some_variable = 0; 
4820 rm -f conftest.
$ac_objext 
4821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
4822   (eval $ac_compile) 2>&5 
4824   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4825   (exit $ac_status); } && 
4826          { ac_try
='test -s conftest.$ac_objext' 
4827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
4830   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4831   (exit $ac_status); }; }; then 
4832       # The compiler can only warn and ignore the option if not recognized 
4833     # So say no if there are warnings 
4834     if test -s conftest.err
; then 
4835       compiler_rtti_exceptions
=no
 
4837       compiler_rtti_exceptions
=yes 
4841   echo "$as_me: failed program was:" >&5 
4842 sed 's/^/| /' conftest.
$ac_ext >&5 
4845 rm -f conftest.
$ac_objext conftest.
$ac_ext 
4846   CFLAGS
="$save_CFLAGS" 
4847   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 
4848 echo "${ECHO_T}$compiler_rtti_exceptions" >&6 
4850   if test "$compiler_rtti_exceptions" = "yes"; then 
4851     no_builtin_flag
=' -fno-builtin -fno-rtti -fno-exceptions' 
4853     no_builtin_flag
=' -fno-builtin' 
4859 ## FIXME: this should be a separate macro 
4861 # See if the linker supports building shared libraries. 
4862 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 
4863 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 
4865 allow_undefined_flag
= 
4867 need_lib_prefix
=unknown
 
4868 need_version
=unknown
 
4869 # when you set need_version to no, make sure it does not cause -set_version 
4870 # flags to be left without arguments 
4872 archive_expsym_cmds
= 
4873 old_archive_from_new_cmds
= 
4874 old_archive_from_expsyms_cmds
= 
4875 export_dynamic_flag_spec
= 
4876 whole_archive_flag_spec
= 
4877 thread_safe_flag_spec
= 
4878 hardcode_into_libs
=no
 
4879 hardcode_libdir_flag_spec
= 
4880 hardcode_libdir_separator
= 
4883 hardcode_shlibpath_var
=unsupported
 
4885 link_all_deplibs
=unknown
 
4886 always_export_symbols
=no
 
4887 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' 
4888 # include_expsyms should be a list of space-separated symbols to be *always* 
4889 # included in the symbol list 
4891 # exclude_expsyms can be an egrep regular expression of symbols to exclude 
4892 # it will be wrapped by ` (' and `)$', so one must not match beginning or 
4893 # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 
4894 # as well as any symbol that contains `d'. 
4895 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_" 
4896 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 
4897 # platforms (ab)use it in PIC code, but their linkers get confused if 
4898 # the symbol is explicitly referenced.  Since portable code cannot 
4899 # rely on this symbol name, it's probably fine to never include it in 
4900 # preloaded symbol tables. 
4901 extract_expsyms_cmds
= 
4904 cygwin
* | mingw
* | pw32
*) 
4905   # FIXME: the MSVC++ port hasn't been tested in a loooong time 
4906   # When not using gcc, we currently assume that we are using 
4907   # Microsoft Visual C++. 
4908   if test "$GCC" != yes; then 
4918 if test "$with_gnu_ld" = yes; then 
4919   # If archive_cmds runs LD, not CC, wlarc should be empty 
4922   # See if GNU ld supports shared libraries. 
4924   aix3
* | aix4
* | aix5
*) 
4925     # On AIX, the GNU linker is very broken 
4926     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. 
4930 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 
4931 *** to be unable to reliably create shared libraries on AIX. 
4932 *** Therefore, libtool is disabling shared libraries support.  If you 
4933 *** really care for shared libraries, you may want to modify your PATH 
4934 *** so that a non-GNU linker is found, and then restart. 
4940     archive_cmds
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 
4941     hardcode_libdir_flag_spec
='-L$libdir' 
4942     hardcode_minus_L
=yes 
4944     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports 
4945     # that the semantics of dynamic libraries on AmigaOS, at least up 
4946     # to version 4, is to share data among multiple programs linked 
4947     # with the same dynamic library.  Since this doesn't match the 
4948     # behavior of shared libraries on other platforms, we can use 
4954     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev
/null
; then 
4955       allow_undefined_flag
=unsupported
 
4956       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
4957       # support --undefined.  This deserves some investigation.  FIXME 
4958       archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
4964   cygwin
* | mingw
* | pw32
*) 
4965     # hardcode_libdir_flag_spec is actually meaningless, as there is 
4966     # no search path for DLLs. 
4967     hardcode_libdir_flag_spec
='-L$libdir' 
4968     allow_undefined_flag
=unsupported
 
4969     always_export_symbols
=yes 
4971     extract_expsyms_cmds
='test -f $output_objdir/impgen.c || \ 
4972       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ 
4973       test -f $output_objdir/impgen.exe || (cd $output_objdir && \ 
4974       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ 
4975       else $CC -o impgen impgen.c ; fi)~ 
4976       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' 
4978     old_archive_from_expsyms_cmds
='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' 
4980     # cygwin and mingw dlls have different entry points and sets of symbols 
4982     # FIXME: what about values for MSVC? 
4983     dll_entry
=__cygwin_dll_entry@
12 
4984     dll_exclude_symbols
=DllMain@
12,_cygwin_dll_entry@
12,_cygwin_noncygwin_dll_entry@
12~
 
4988       dll_entry
=_DllMainCRTStartup@
12 
4989       dll_exclude_symbols
=DllMain@
12,DllMainCRTStartup@
12,DllEntryPoint@
12~
 
4993     # mingw and cygwin differ, and it's simplest to just exclude the union 
4994     # of the two symbol sets. 
4995     dll_exclude_symbols
=DllMain@
12,_cygwin_dll_entry@
12,_cygwin_noncygwin_dll_entry@
12,DllMainCRTStartup@
12,DllEntryPoint@
12 
4997     # recent cygwin and mingw systems supply a stub DllMain which the user 
4998     # can override, but on older systems we have to supply one (in ltdll.c) 
4999     if test "x$lt_cv_need_dllmain" = "xyes"; then 
5000       ltdll_obj
='$output_objdir/$soname-ltdll.'"$ac_objext " 
5001       ltdll_cmds
='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ 
5002         test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' 
5008     # Extract the symbol export list from an `--export-all' def file, 
5009     # then regenerate the def file from the symbol export list, so that 
5010     # the compiled dll only exports the symbol export list. 
5011     # Be careful not to strip the DATA tag left be newer dlltools. 
5012     export_symbols_cmds
="$ltdll_cmds"' 
5013       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ 
5014       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' 
5016     # If the export-symbols file already is a .def file (1st line 
5017     # is EXPORTS), use it as is. 
5018     # If DATA tags from a recent dlltool are present, honour them! 
5019     archive_expsym_cmds
='if test "x`head -1 $export_symbols`" = xEXPORTS; then 
5020         cp $export_symbols $output_objdir/$soname-def; 
5022         echo EXPORTS > $output_objdir/$soname-def; 
5024         cat $export_symbols | while read symbol; do 
5027            2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; 
5028            *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; 
5030          _lt_hint=`expr 1 + \$_lt_hint`; 
5034       $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ 
5035       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ 
5036       $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ 
5037       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ 
5038       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' 
5042     if echo __ELF__ 
| $CC -E - | grep __ELF__ 
>/dev
/null
; then 
5043       archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 
5046       archive_cmds
='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
5047       archive_expsym_cmds
='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
5052     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev
/null
; then 
5056 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 
5057 *** create shared libraries on Solaris systems.  Therefore, libtool 
5058 *** is disabling shared libraries support.  We urge you to upgrade GNU 
5059 *** binutils to release 2.9.1 or newer.  Another option is to modify 
5060 *** your PATH or compiler configuration so that the native linker is 
5061 *** used, and then restart. 
5064     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev
/null
; then 
5065       archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
5066       archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
5073     archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
5076     hardcode_shlibpath_var
=no
 
5080     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev
/null
; then 
5081       archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
5082       archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
5089   if test "$ld_shlibs" = yes; then 
5090     runpath_var
=LD_RUN_PATH
 
5091     hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir' 
5092     export_dynamic_flag_spec
='${wl}--export-dynamic' 
5094     cygwin
* | mingw
* | pw32
*) 
5095       # dlltool doesn't understand --whole-archive et. al. 
5096       whole_archive_flag_spec
= 
5099       # ancient GNU ld didn't support --whole-archive et. al. 
5100       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev
/null
; then 
5101         whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
5103         whole_archive_flag_spec
= 
5109   # PORTME fill in a description of your system's linker (not GNU ld) 
5112     allow_undefined_flag
=unsupported
 
5113     always_export_symbols
=yes 
5114     archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 
5115     # Note: this linker hardcodes the directories in LIBPATH if there 
5116     # are no directories specified by -L. 
5117     hardcode_minus_L
=yes 
5118     if test "$GCC" = yes && test -z "$link_static_flag"; then 
5119       # Neither direct hardcoding nor static linking is supported with a 
5121       hardcode_direct
=unsupported
 
5126     if test "$host_cpu" = ia64
; then 
5127       # On IA64, the linker does run time linking by default, so we don't 
5128       # have to do anything special. 
5129       aix_use_runtimelinking
=no
 
5130       exp_sym_flag
='-Bexport' 
5133       aix_use_runtimelinking
=no
 
5135       # Test if we are trying to use run time linking or normal 
5136       # AIX style linking. If -brtl is somewhere in LDFLAGS, we 
5137       # need to do runtime linking. 
5138       case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*) 
5139         for ld_flag 
in $LDFLAGS; do 
5140           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 
5141             aix_use_runtimelinking
=yes 
5147       exp_sym_flag
='-bexport' 
5148       no_entry_flag
='-bnoentry' 
5151     # When large executables or shared objects are built, AIX ld can 
5152     # have problems creating the table of contents.  If linking a library 
5153     # or program results in "error TOC overflow" add -mminimal-toc to 
5154     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not 
5155     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 
5159     hardcode_libdir_separator
=':' 
5160     if test "$GCC" = yes; then 
5161       case $host_os in aix4.
[012]|aix4.
[012].
*) 
5162         collect2name
=`${CC} -print-prog-name=collect2` 
5163         if test -f "$collect2name" && \
 
5164           strings "$collect2name" | grep resolve_lib_name 
>/dev
/null
 
5166           # We have reworked collect2 
5169           # We have old collect2 
5170           hardcode_direct
=unsupported
 
5171           # It fails to find uninstalled libraries when the uninstalled 
5172           # path is not listed in the libpath.  Setting hardcode_minus_L 
5173           # to unsupported forces relinking 
5174           hardcode_minus_L
=yes 
5175           hardcode_libdir_flag_spec
='-L$libdir' 
5176           hardcode_libdir_separator
= 
5180       shared_flag
='-shared' 
5183       if test "$host_cpu" = ia64
; then 
5184         shared_flag
='${wl}-G' 
5186         if test "$aix_use_runtimelinking" = yes; then 
5187           shared_flag
='${wl}-G' 
5189           shared_flag
='${wl}-bM:SRE' 
5194     # It seems that -bexpall can do strange things, so it is better to 
5195     # generate a list of symbols to export. 
5196     always_export_symbols
=yes 
5197     if test "$aix_use_runtimelinking" = yes; then 
5198       # Warning - without using the other runtime loading flags (-brtl), 
5199       # -berok will link without error, but may produce a broken library. 
5200       allow_undefined_flag
='-berok' 
5201       hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:/usr/lib:/lib' 
5202       archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" 
5204       if test "$host_cpu" = ia64
; then 
5205         hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib' 
5206         allow_undefined_flag
="-z nodefs" 
5207         archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" 
5209         hardcode_libdir_flag_spec
='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' 
5210         # Warning - without using the other run time loading flags, 
5211         # -berok will link without error, but may produce a broken library. 
5212         allow_undefined_flag
='${wl}-berok' 
5213         # This is a bit strange, but is similar to how AIX traditionally builds 
5214         # it's shared libraries. 
5215         archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' 
5221     archive_cmds
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 
5222     hardcode_libdir_flag_spec
='-L$libdir' 
5223     hardcode_minus_L
=yes 
5224     # see comment about different semantics on the GNU ld section 
5228   cygwin
* | mingw
* | pw32
*) 
5229     # When not using gcc, we currently assume that we are using 
5230     # Microsoft Visual C++. 
5231     # hardcode_libdir_flag_spec is actually meaningless, as there is 
5232     # no search path for DLLs. 
5233     hardcode_libdir_flag_spec
=' ' 
5234     allow_undefined_flag
=unsupported
 
5235     # Tell ltmain to make .lib files, not .a files. 
5237     # FIXME: Setting linknames here is a bad hack. 
5238     archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 
5239     # The linker will automatically build a .lib file if we build a DLL. 
5240     old_archive_from_new_cmds
='true' 
5241     # FIXME: Should let the user specify the lib program. 
5242     old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs' 
5243     fix_srcfile_path
='`cygpath -w "$srcfile"`' 
5246   darwin
* | rhapsody
*) 
5248     rhapsody
* | darwin1.
[012]) 
5249       allow_undefined_flag
='-undefined suppress' 
5252       allow_undefined_flag
='-flat_namespace -undefined suppress' 
5255     # FIXME: Relying on posixy $() will cause problems for 
5256     #        cross-compilation, but unfortunately the echo tests do not 
5257     #        yet detect zsh echo's removal of \ escapes. 
5258     archive_cmds
='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' 
5259     # We need to add '_' to the symbols in $export_symbols first 
5260     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' 
5262     hardcode_shlibpath_var
=no
 
5263     whole_archive_flag_spec
='-all_load $convenience' 
5270   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 
5271   # support.  Future versions do this automatically, but an explicit c++rt0.o 
5272   # does not break anything, and helps significantly (at the cost of a little 
5275     archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 
5276     hardcode_libdir_flag_spec
='-R$libdir' 
5278     hardcode_shlibpath_var
=no
 
5281   # Unfortunately, older versions of FreeBSD 2 do not have this feature. 
5283     archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
5285     hardcode_minus_L
=yes 
5286     hardcode_shlibpath_var
=no
 
5289   # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 
5291     archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 
5292     hardcode_libdir_flag_spec
='-R$libdir' 
5294     hardcode_shlibpath_var
=no
 
5297   hpux9
* | hpux10
* | hpux11
*) 
5299     hpux9
*) archive_cmds
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; 
5300     *) archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; 
5302     hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir' 
5303     hardcode_libdir_separator
=: 
5305     hardcode_minus_L
=yes # Not in the search PATH, but as the default 
5306                          # location of the library. 
5307     export_dynamic_flag_spec
='${wl}-E' 
5311     if test "$GCC" = yes; then 
5312       archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
5314       archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 
5316     hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
5317     hardcode_libdir_separator
=: 
5318     link_all_deplibs
=yes 
5322     if echo __ELF__ 
| $CC -E - | grep __ELF__ 
>/dev
/null
; then 
5323       archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out 
5325       archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF 
5327     hardcode_libdir_flag_spec
='-R$libdir' 
5329     hardcode_shlibpath_var
=no
 
5333     archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5335     hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
5336     hardcode_libdir_separator
=: 
5337     hardcode_shlibpath_var
=no
 
5342     hardcode_shlibpath_var
=no
 
5343     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
5344       archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' 
5345       hardcode_libdir_flag_spec
='${wl}-rpath,$libdir' 
5346       export_dynamic_flag_spec
='${wl}-E' 
5349       openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*) 
5350         archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
5351         hardcode_libdir_flag_spec
='-R$libdir' 
5354         archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' 
5355         hardcode_libdir_flag_spec
='${wl}-rpath,$libdir' 
5362     hardcode_libdir_flag_spec
='-L$libdir' 
5363     hardcode_minus_L
=yes 
5364     allow_undefined_flag
=unsupported
 
5365     archive_cmds
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 
5366     old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 
5370     if test "$GCC" = yes; then 
5371       allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*' 
5372       archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
5374       allow_undefined_flag
=' -expect_unresolved \*' 
5375       archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 
5377     hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
5378     hardcode_libdir_separator
=: 
5381   osf4
* | osf5
*)        # as osf3* with the addition of -msym flag 
5382     if test "$GCC" = yes; then 
5383       allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*' 
5384       archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
5385       hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
5387       allow_undefined_flag
=' -expect_unresolved \*' 
5388       archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 
5389       archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ 
5390       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' 
5392       #Both c and cxx compiler support -rpath directly 
5393       hardcode_libdir_flag_spec
='-rpath $libdir' 
5395     hardcode_libdir_separator
=: 
5399     archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5400     hardcode_shlibpath_var
=no
 
5401     runpath_var
=LD_RUN_PATH
 
5402     hardcode_runpath_var
=yes 
5403     export_dynamic_flag_spec
='${wl}-Bexport' 
5407     # gcc --version < 3.0 without binutils cannot create self contained 
5408     # shared libraries reliably, requiring libgcc.a to resolve some of 
5409     # the object symbols generated in some cases.  Libraries that use 
5410     # assert need libgcc.a to resolve __eprintf, for example.  Linking 
5411     # a copy of libgcc.a into every shared library to guarantee resolving 
5412     # such symbols causes other problems:  According to Tim Van Holder 
5413     # <tim.van.holder@pandora.be>, C++ libraries end up with a separate 
5414     # (to the application) exception stack for one thing. 
5415     no_undefined_flag
=' -z defs' 
5416     if test "$GCC" = yes; then 
5417       case `$CC --version 2>/dev/null` in 
5421 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably 
5422 *** create self contained shared libraries on Solaris systems, without 
5423 *** introducing a dependency on libgcc.a.  Therefore, libtool is disabling 
5424 *** -no-undefined support, which will at least allow you to build shared 
5425 *** libraries.  However, you may find that when you link such libraries 
5426 *** into an application without using GCC, you have to manually add 
5427 *** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to 
5428 *** upgrade to a newer version of GCC.  Another option is to rebuild your 
5429 *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. 
5436     # $CC -shared without GNU ld will not create a library from C++ 
5437     # object files and a static libstdc++, better avoid it by now 
5438     archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5439     archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 
5440                 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 
5441     hardcode_libdir_flag_spec
='-R$libdir' 
5442     hardcode_shlibpath_var
=no
 
5444     solaris2.
[0-5] | solaris2.
[0-5].
*) ;; 
5445     *) # Supported since Solaris 2.6 (maybe 2.5.1?) 
5446       whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;; 
5448     link_all_deplibs
=yes 
5452     if test "x$host_vendor" = xsequent
; then 
5453       # Use $CC to link under sequent, because it throws in some extra .o 
5454       # files that make .init and .fini sections work. 
5455       archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 
5457       archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 
5459     hardcode_libdir_flag_spec
='-L$libdir' 
5461     hardcode_minus_L
=yes 
5462     hardcode_shlibpath_var
=no
 
5466     if test "x$host_vendor" = xsno
; then 
5467       archive_cmds
='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5468       hardcode_direct
=yes # is this really true??? 
5470       archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5471       hardcode_direct
=no 
#Motorola manual says yes, but my tests say they lie 
5473     runpath_var
='LD_RUN_PATH' 
5474     hardcode_shlibpath_var
=no
 
5478     archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5479     hardcode_shlibpath_var
=no
 
5480     export_dynamic_flag_spec
='-Bexport' 
5484     no_undefined_flag
=' -z text' 
5485     # $CC -shared without GNU ld will not create a library from C++ 
5486     # object files and a static libstdc++, better avoid it by now 
5487     archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5488     archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 
5489                 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 
5490     hardcode_libdir_flag_spec
= 
5491     hardcode_shlibpath_var
=no
 
5492     runpath_var
='LD_RUN_PATH' 
5496     archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5497     hardcode_libdir_flag_spec
='-L$libdir' 
5498     hardcode_shlibpath_var
=no
 
5502     archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5503     hardcode_libdir_flag_spec
='-L$libdir' 
5504     hardcode_shlibpath_var
=no
 
5508     if test -d /usr
/nec
; then 
5509       archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5510       hardcode_shlibpath_var
=no
 
5511       runpath_var
=LD_RUN_PATH
 
5512       hardcode_runpath_var
=yes 
5518     archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags' 
5521     hardcode_shlibpath_var
=no
 
5522     hardcode_runpath_var
=yes 
5523     runpath_var
=LD_RUN_PATH
 
5526   sysv5uw7
* | unixware7
*) 
5527     no_undefined_flag
='${wl}-z ${wl}text' 
5528     if test "$GCC" = yes; then 
5529       archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
5531       archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
5533     runpath_var
='LD_RUN_PATH' 
5534     hardcode_shlibpath_var
=no
 
5542 echo "$as_me:$LINENO: result: $ld_shlibs" >&5 
5543 echo "${ECHO_T}$ld_shlibs" >&6 
5544 test "$ld_shlibs" = no 
&& can_build_shared
=no
 
5548 ## FIXME: this should be a separate macro 
5550 # Check hardcoding attributes. 
5551 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 
5552 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 
5554 if test -n "$hardcode_libdir_flag_spec" || \
 
5555    test -n "$runpath_var"; then 
5557   # We can hardcode non-existant directories. 
5558   if test "$hardcode_direct" != no 
&& 
5559      # If the only mechanism to avoid hardcoding is shlibpath_var, we 
5560      # have to relink, otherwise we might link with an installed library 
5561      # when we should be linking with a yet-to-be-installed one 
5562      ## test "$hardcode_shlibpath_var" != no && 
5563      test "$hardcode_minus_L" != no
; then 
5564     # Linking always hardcodes the temporary library directory. 
5565     hardcode_action
=relink
 
5567     # We can link without hardcoding, and we can hardcode nonexisting dirs. 
5568     hardcode_action
=immediate
 
5571   # We cannot hardcode anything, or else we can only hardcode existing 
5573   hardcode_action
=unsupported
 
5575 echo "$as_me:$LINENO: result: $hardcode_action" >&5 
5576 echo "${ECHO_T}$hardcode_action" >&6 
5580 ## FIXME: this should be a separate macro 
5584 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 
5585 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 
5586 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev
/null
; then 
5587   test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug" 
5588   test -z "$striplib" && striplib
="$STRIP --strip-unneeded" 
5589   echo "$as_me:$LINENO: result: yes" >&5 
5590 echo "${ECHO_T}yes" >&6 
5592   echo "$as_me:$LINENO: result: no" >&5 
5593 echo "${ECHO_T}no" >&6 
5598 reload_cmds
='$LD$reload_flag -o $output$reload_objs' 
5599 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
 
5601 ## FIXME: this should be a separate macro 
5603 # PORTME Fill in your ld.so characteristics 
5604 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 
5605 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 
5607 libname_spec
='lib$name' 
5614 shlibpath_overrides_runpath
=unknown
 
5616 dynamic_linker
="$host_os ld.so" 
5617 sys_lib_dlsearch_path_spec
="/lib /usr/lib" 
5618 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib" 
5623   library_names_spec
='${libname}${release}.so$versuffix $libname.a' 
5624   shlibpath_var
=LIBPATH
 
5626   # AIX has no versioning support, so we append a major version to the name. 
5627   soname_spec
='${libname}${release}.so$major' 
5632   if test "$host_cpu" = ia64
; then 
5633     # AIX 5 supports IA64 
5634     library_names_spec
='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' 
5635     shlibpath_var
=LD_LIBRARY_PATH
 
5637     # With GCC up to 2.95.x, collect2 would create an import file 
5638     # for dependence libraries.  The import file would start with 
5639     # the line `#! .'.  This would cause the generated library to 
5640     # depend on `.', always an invalid library.  This was fixed in 
5641     # development snapshots of GCC prior to 3.0. 
5643       aix4 
| aix4.
[01] | aix4.
[01].
*) 
5644         if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 
5646              echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then 
5653     # AIX (on Power*) has no versioning support, so currently we can 
5654     # not hardcode correct soname into executable. Probably we can 
5655     # add versioning support to collect2, so additional links can 
5656     # be useful in future. 
5657     if test "$aix_use_runtimelinking" = yes; then 
5658       # If using run time linking (on AIX 4.2 or later) use lib<name>.so 
5659       # instead of lib<name>.a to let people know that these are not 
5660       # typical AIX shared libraries. 
5661       library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
5663       # We preserve .a as extension for shared libraries through AIX4.2 
5664       # and later when we are not doing run time linking. 
5665       library_names_spec
='${libname}${release}.a $libname.a' 
5666       soname_spec
='${libname}${release}.so$major' 
5668     shlibpath_var
=LIBPATH
 
5673   library_names_spec
='$libname.ixlibrary $libname.a' 
5674   # Create ${libname}_ixlibrary.a entries in /sys/libs. 
5675   finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' 
5679   library_names_spec
='${libname}.so' 
5680   dynamic_linker
="$host_os ld.so" 
5681   shlibpath_var
=LIBRARY_PATH
 
5687   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
5688   soname_spec
='${libname}${release}.so$major' 
5689   finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir' 
5690   shlibpath_var
=LD_LIBRARY_PATH
 
5691   sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 
5692   sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib" 
5693   export_dynamic_flag_spec
=-rdynamic 
5694   # the default ld.so.conf also contains /usr/contrib/lib and 
5695   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 
5696   # libtool to hard-code these into programs 
5699 cygwin
* | mingw
* | pw32
*) 
5700   version_type
=windows
 
5703   case $GCC,$host_os in 
5705     library_names_spec
='$libname.dll.a' 
5706     soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | sed -e 's
/[.
]/-/g
'`${versuffix}.dll' 
5707     postinstall_cmds
='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ 
5708       dldir=$destdir/`dirname \$dlpath`~ 
5709       test -d \$dldir || mkdir -p \$dldir~ 
5710       $install_prog .libs/$dlname \$dldir/$dlname' 
5711     postuninstall_cmds
='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
5712       dlpath=$dir/\$dldll~ 
5716     library_names_spec
='${libname}`echo ${release} | sed -e 's
/[.
]/-/g
'`${versuffix}.dll' 
5717     sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` 
5720     library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | sed -e 's
/.
/-/g
'`${versuffix}.dll' 
5723     library_names_spec
='${libname}`echo ${release} | sed -e 's
/[.
]/-/g
'`${versuffix}.dll $libname.lib' 
5726   dynamic_linker
='Win32 ld.exe' 
5727   # FIXME: first we should search . and the directory the executable is in 
5731 darwin
* | rhapsody
*) 
5732   dynamic_linker
="$host_os dyld" 
5736   # FIXME: Relying on posixy $() will cause problems for 
5737   #        cross-compilation, but unfortunately the echo tests do not 
5738   #        yet detect zsh echo's removal of \ escapes. 
5739   library_names_spec
='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' 
5740   soname_spec
='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' 
5741   shlibpath_overrides_runpath
=yes 
5742   shlibpath_var
=DYLD_LIBRARY_PATH
 
5750   objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` 
5751   version_type
=freebsd
-$objformat 
5752   case $version_type in 
5754       library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' 
5759       library_names_spec
='${libname}${release}.so$versuffix $libname.so$versuffix' 
5763   shlibpath_var
=LD_LIBRARY_PATH
 
5766     shlibpath_overrides_runpath
=yes 
5769     shlibpath_overrides_runpath
=no
 
5770     hardcode_into_libs
=yes 
5779   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' 
5780   soname_spec
='${libname}${release}.so$major' 
5781   shlibpath_var
=LD_LIBRARY_PATH
 
5782   hardcode_into_libs
=yes 
5785 hpux9
* | hpux10
* | hpux11
*) 
5786   # Give a soname corresponding to the major version so that dld.sl refuses to 
5787   # link against other versions. 
5788   dynamic_linker
="$host_os dld.sl" 
5792   shlibpath_var
=SHLIB_PATH
 
5793   shlibpath_overrides_runpath
=no 
# +s is required to enable SHLIB_PATH 
5794   library_names_spec
='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' 
5795   soname_spec
='${libname}${release}.sl$major' 
5796   # HP-UX runs *really* slowly unless shared libraries are mode 555. 
5797   postinstall_cmds
='chmod 555 $lib' 
5804   soname_spec
='${libname}${release}.so$major' 
5805   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' 
5811     case $LD in # libtool.m4 will add one of these switches to LD 
5812     *-32|*"-32 ") libsuff
= shlibsuff
= libmagic
=32-bit;; 
5813     *-n32|*"-n32 ") libsuff
=32 shlibsuff
=N32 libmagic
=N32
;; 
5814     *-64|*"-64 ") libsuff
=64 shlibsuff
=64 libmagic
=64-bit;; 
5815     *) libsuff
= shlibsuff
= libmagic
=never
-match;; 
5819   shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
 
5820   shlibpath_overrides_runpath
=no
 
5821   sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 
5822   sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}" 
5825 # No shared lib support for Linux oldld, aout, or coff. 
5826 linux
-gnuoldld* | linux
-gnuaout* | linux
-gnucoff*) 
5830 # This must be Linux ELF. 
5835   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
5836   soname_spec
='${libname}${release}.so$major' 
5837   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir' 
5838   shlibpath_var
=LD_LIBRARY_PATH
 
5839   shlibpath_overrides_runpath
=no
 
5840   # This implies no fast_install, which is unacceptable. 
5841   # Some rework will be needed to allow for fast_install 
5842   # before this can be enabled. 
5843   hardcode_into_libs
=yes 
5845   # We used to test for /lib/ld.so.1 and disable shared libraries on 
5846   # powerpc, because MkLinux only supported shared libraries with the 
5847   # GNU dynamic linker.  Since this was broken with cross compilers, 
5848   # most powerpc-linux boxes support dynamic linking these days and 
5849   # people can always --disable-shared, the test was removed, and we 
5850   # assume the GNU/Linux dynamic linker is in use. 
5851   dynamic_linker
='GNU/Linux ld.so' 
5858   if echo __ELF__ 
| $CC -E - | grep __ELF__ 
>/dev
/null
; then 
5859     library_names_spec
='${libname}${release}.so$versuffix ${libname}.so$versuffix' 
5860     finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
5861     dynamic_linker
='NetBSD (a.out) ld.so' 
5863     library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' 
5864     soname_spec
='${libname}${release}.so$major' 
5865     dynamic_linker
='NetBSD ld.elf_so' 
5867   shlibpath_var
=LD_LIBRARY_PATH
 
5868   shlibpath_overrides_runpath
=yes 
5869   hardcode_into_libs
=yes 
5874   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
5875   shlibpath_var
=LD_LIBRARY_PATH
 
5876   shlibpath_overrides_runpath
=yes 
5883   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
5885     openbsd2.
[89] | openbsd2.
[89].
*) 
5886       shlibpath_overrides_runpath
=no
 
5889       shlibpath_overrides_runpath
=yes 
5893     shlibpath_overrides_runpath
=yes 
5895   library_names_spec
='${libname}${release}.so$versuffix ${libname}.so$versuffix' 
5896   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
5897   shlibpath_var
=LD_LIBRARY_PATH
 
5901   libname_spec
='$name' 
5903   library_names_spec
='$libname.dll $libname.a' 
5904   dynamic_linker
='OS/2 ld.exe' 
5905   shlibpath_var
=LIBPATH
 
5908 osf3
* | osf4
* | osf5
*) 
5911   soname_spec
='${libname}${release}.so' 
5912   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' 
5913   shlibpath_var
=LD_LIBRARY_PATH
 
5914   sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
5915   sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec" 
5920   soname_spec
='${libname}${release}.so$major' 
5921   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
5922   shlibpath_var
=LD_LIBRARY_PATH
 
5929   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
5930   soname_spec
='${libname}${release}.so$major' 
5931   shlibpath_var
=LD_LIBRARY_PATH
 
5932   shlibpath_overrides_runpath
=yes 
5933   hardcode_into_libs
=yes 
5934   # ldd complains unless libraries are executable 
5935   postinstall_cmds
='chmod +x $lib' 
5940   library_names_spec
='${libname}${release}.so$versuffix ${libname}.so$versuffix' 
5941   finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir' 
5942   shlibpath_var
=LD_LIBRARY_PATH
 
5943   shlibpath_overrides_runpath
=yes 
5944   if test "$with_gnu_ld" = yes; then 
5950 sysv4 
| sysv4.2uw2
* | sysv4.3
* | sysv5
*) 
5952   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
5953   soname_spec
='${libname}${release}.so$major' 
5954   shlibpath_var
=LD_LIBRARY_PATH
 
5955   case $host_vendor in 
5957       shlibpath_overrides_runpath
=no
 
5962       shlibpath_overrides_runpath
=no
 
5963       sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib' 
5970   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
5971   soname_spec
='${libname}${release}.so$major' 
5972   shlibpath_var
=LD_LIBRARY_PATH
 
5979   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
5980   soname_spec
='${libname}${release}.so$major' 
5981   shlibpath_var
=LD_LIBRARY_PATH
 
5985   if test -d /usr
/nec 
;then 
5987     library_names_spec
='$libname.so.$versuffix $libname.so.$major $libname.so' 
5988     soname_spec
='$libname.so.$major' 
5989     shlibpath_var
=LD_LIBRARY_PATH
 
5997 echo "$as_me:$LINENO: result: $dynamic_linker" >&5 
5998 echo "${ECHO_T}$dynamic_linker" >&6 
5999 test "$dynamic_linker" = no 
&& can_build_shared
=no
 
6003 ## FIXME: this should be a separate macro 
6005 # Report the final consequences. 
6006 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 
6007 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 
6008 echo "$as_me:$LINENO: result: $can_build_shared" >&5 
6009 echo "${ECHO_T}$can_build_shared" >&6 
6013 ## FIXME: this should be a separate macro 
6015 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 
6016 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 
6017 test "$can_build_shared" = "no" && enable_shared
=no
 
6019 # On AIX, shared libraries and static libraries use the same namespace, and 
6020 # are all built from PIC. 
6023   test "$enable_shared" = yes && enable_static
=no
 
6024   if test -n "$RANLIB"; then 
6025     archive_cmds
="$archive_cmds~\$RANLIB \$lib" 
6026     postinstall_cmds
='$RANLIB $lib' 
6031   if test "$host_cpu" != ia64 
&& test "$aix_use_runtimelinking" = no 
; then 
6032     test "$enable_shared" = yes && enable_static
=no
 
6036 echo "$as_me:$LINENO: result: $enable_shared" >&5 
6037 echo "${ECHO_T}$enable_shared" >&6 
6041 ## FIXME: this should be a separate macro 
6043 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 
6044 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 
6045 # Make sure either enable_shared or enable_static is yes. 
6046 test "$enable_shared" = yes || enable_static
=yes 
6047 echo "$as_me:$LINENO: result: $enable_static" >&5 
6048 echo "${ECHO_T}$enable_static" >&6 
6052 if test "$hardcode_action" = relink
; then 
6053   # Fast installation is not supported 
6054   enable_fast_install
=no
 
6055 elif test "$shlibpath_overrides_runpath" = yes || 
6056      test "$enable_shared" = no
; then 
6057   # Fast installation is not necessary 
6058   enable_fast_install
=needless
 
6061 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var" 
6062 if test "$GCC" = yes; then 
6063   variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
6066 if test "x$enable_dlopen" != xyes
; then 
6067   enable_dlopen
=unknown
 
6068   enable_dlopen_self
=unknown
 
6069   enable_dlopen_self_static
=unknown
 
6076     lt_cv_dlopen
="load_add_on" 
6078     lt_cv_dlopen_self
=yes 
6081   cygwin
* | mingw
* | pw32
*) 
6082     lt_cv_dlopen
="LoadLibrary" 
6087     echo "$as_me:$LINENO: checking for shl_load" >&5 
6088 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 
6089 if test "${ac_cv_func_shl_load+set}" = set; then 
6090   echo $ECHO_N "(cached) $ECHO_C" >&6 
6092   cat >conftest.
$ac_ext <<_ACEOF 
6093 #line $LINENO "configure" 
6096 cat confdefs.h 
>>conftest.
$ac_ext 
6097 cat >>conftest.
$ac_ext <<_ACEOF 
6098 /* end confdefs.h.  */ 
6099 /* System header to define __stub macros and hopefully few prototypes, 
6100     which can conflict with char shl_load (); below. 
6101     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
6102     <limits.h> exists even on freestanding compilers.  */ 
6104 # include <limits.h> 
6106 # include <assert.h> 
6108 /* Override any gcc2 internal prototype to avoid an error.  */ 
6113 /* We use char because int might match the return type of a gcc2 
6114    builtin and then its argument prototype would still apply.  */ 
6116 /* The GNU C library defines this for functions which it implements 
6117     to always fail with ENOSYS.  Some functions are actually named 
6118     something starting with __ and the normal name is an alias.  */ 
6119 #if defined (__stub_shl_load) || defined (__stub___shl_load) 
6122 char (*f) () = shl_load; 
6131 return f != shl_load; 
6136 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6138   (eval $ac_link) 2>&5 
6140   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6141   (exit $ac_status); } && 
6142          { ac_try
='test -s conftest$ac_exeext' 
6143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6146   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6147   (exit $ac_status); }; }; then 
6148   ac_cv_func_shl_load
=yes 
6150   echo "$as_me: failed program was:" >&5 
6151 sed 's/^/| /' conftest.
$ac_ext >&5 
6153 ac_cv_func_shl_load
=no
 
6155 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6157 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 
6158 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 
6159 if test $ac_cv_func_shl_load = yes; then 
6160   lt_cv_dlopen
="shl_load" 
6162   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 
6163 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 
6164 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 
6165   echo $ECHO_N "(cached) $ECHO_C" >&6 
6167   ac_check_lib_save_LIBS
=$LIBS 
6169 cat >conftest.
$ac_ext <<_ACEOF 
6170 #line $LINENO "configure" 
6173 cat confdefs.h 
>>conftest.
$ac_ext 
6174 cat >>conftest.
$ac_ext <<_ACEOF 
6175 /* end confdefs.h.  */ 
6177 /* Override any gcc2 internal prototype to avoid an error.  */ 
6181 /* We use char because int might match the return type of a gcc2 
6182    builtin and then its argument prototype would still apply.  */ 
6192 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6194   (eval $ac_link) 2>&5 
6196   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6197   (exit $ac_status); } && 
6198          { ac_try
='test -s conftest$ac_exeext' 
6199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6202   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6203   (exit $ac_status); }; }; then 
6204   ac_cv_lib_dld_shl_load
=yes 
6206   echo "$as_me: failed program was:" >&5 
6207 sed 's/^/| /' conftest.
$ac_ext >&5 
6209 ac_cv_lib_dld_shl_load
=no
 
6211 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6212 LIBS
=$ac_check_lib_save_LIBS 
6214 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 
6215 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 
6216 if test $ac_cv_lib_dld_shl_load = yes; then 
6217   lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld" 
6219   echo "$as_me:$LINENO: checking for dlopen" >&5 
6220 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 
6221 if test "${ac_cv_func_dlopen+set}" = set; then 
6222   echo $ECHO_N "(cached) $ECHO_C" >&6 
6224   cat >conftest.
$ac_ext <<_ACEOF 
6225 #line $LINENO "configure" 
6228 cat confdefs.h 
>>conftest.
$ac_ext 
6229 cat >>conftest.
$ac_ext <<_ACEOF 
6230 /* end confdefs.h.  */ 
6231 /* System header to define __stub macros and hopefully few prototypes, 
6232     which can conflict with char dlopen (); below. 
6233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
6234     <limits.h> exists even on freestanding compilers.  */ 
6236 # include <limits.h> 
6238 # include <assert.h> 
6240 /* Override any gcc2 internal prototype to avoid an error.  */ 
6245 /* We use char because int might match the return type of a gcc2 
6246    builtin and then its argument prototype would still apply.  */ 
6248 /* The GNU C library defines this for functions which it implements 
6249     to always fail with ENOSYS.  Some functions are actually named 
6250     something starting with __ and the normal name is an alias.  */ 
6251 #if defined (__stub_dlopen) || defined (__stub___dlopen) 
6254 char (*f) () = dlopen; 
6268 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6270   (eval $ac_link) 2>&5 
6272   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6273   (exit $ac_status); } && 
6274          { ac_try
='test -s conftest$ac_exeext' 
6275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6278   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6279   (exit $ac_status); }; }; then 
6280   ac_cv_func_dlopen
=yes 
6282   echo "$as_me: failed program was:" >&5 
6283 sed 's/^/| /' conftest.
$ac_ext >&5 
6285 ac_cv_func_dlopen
=no
 
6287 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6289 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 
6290 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 
6291 if test $ac_cv_func_dlopen = yes; then 
6292   lt_cv_dlopen
="dlopen" 
6294   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 
6295 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 
6296 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 
6297   echo $ECHO_N "(cached) $ECHO_C" >&6 
6299   ac_check_lib_save_LIBS
=$LIBS 
6301 cat >conftest.
$ac_ext <<_ACEOF 
6302 #line $LINENO "configure" 
6305 cat confdefs.h 
>>conftest.
$ac_ext 
6306 cat >>conftest.
$ac_ext <<_ACEOF 
6307 /* end confdefs.h.  */ 
6309 /* Override any gcc2 internal prototype to avoid an error.  */ 
6313 /* We use char because int might match the return type of a gcc2 
6314    builtin and then its argument prototype would still apply.  */ 
6324 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6326   (eval $ac_link) 2>&5 
6328   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6329   (exit $ac_status); } && 
6330          { ac_try
='test -s conftest$ac_exeext' 
6331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6334   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6335   (exit $ac_status); }; }; then 
6336   ac_cv_lib_dl_dlopen
=yes 
6338   echo "$as_me: failed program was:" >&5 
6339 sed 's/^/| /' conftest.
$ac_ext >&5 
6341 ac_cv_lib_dl_dlopen
=no
 
6343 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6344 LIBS
=$ac_check_lib_save_LIBS 
6346 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 
6347 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 
6348 if test $ac_cv_lib_dl_dlopen = yes; then 
6349   lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl" 
6351   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 
6352 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 
6353 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 
6354   echo $ECHO_N "(cached) $ECHO_C" >&6 
6356   ac_check_lib_save_LIBS
=$LIBS 
6358 cat >conftest.
$ac_ext <<_ACEOF 
6359 #line $LINENO "configure" 
6362 cat confdefs.h 
>>conftest.
$ac_ext 
6363 cat >>conftest.
$ac_ext <<_ACEOF 
6364 /* end confdefs.h.  */ 
6366 /* Override any gcc2 internal prototype to avoid an error.  */ 
6370 /* We use char because int might match the return type of a gcc2 
6371    builtin and then its argument prototype would still apply.  */ 
6381 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6383   (eval $ac_link) 2>&5 
6385   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6386   (exit $ac_status); } && 
6387          { ac_try
='test -s conftest$ac_exeext' 
6388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6391   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6392   (exit $ac_status); }; }; then 
6393   ac_cv_lib_svld_dlopen
=yes 
6395   echo "$as_me: failed program was:" >&5 
6396 sed 's/^/| /' conftest.
$ac_ext >&5 
6398 ac_cv_lib_svld_dlopen
=no
 
6400 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6401 LIBS
=$ac_check_lib_save_LIBS 
6403 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 
6404 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 
6405 if test $ac_cv_lib_svld_dlopen = yes; then 
6406   lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld" 
6408   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 
6409 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 
6410 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 
6411   echo $ECHO_N "(cached) $ECHO_C" >&6 
6413   ac_check_lib_save_LIBS
=$LIBS 
6415 cat >conftest.
$ac_ext <<_ACEOF 
6416 #line $LINENO "configure" 
6419 cat confdefs.h 
>>conftest.
$ac_ext 
6420 cat >>conftest.
$ac_ext <<_ACEOF 
6421 /* end confdefs.h.  */ 
6423 /* Override any gcc2 internal prototype to avoid an error.  */ 
6427 /* We use char because int might match the return type of a gcc2 
6428    builtin and then its argument prototype would still apply.  */ 
6438 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6440   (eval $ac_link) 2>&5 
6442   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6443   (exit $ac_status); } && 
6444          { ac_try
='test -s conftest$ac_exeext' 
6445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6448   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6449   (exit $ac_status); }; }; then 
6450   ac_cv_lib_dld_dld_link
=yes 
6452   echo "$as_me: failed program was:" >&5 
6453 sed 's/^/| /' conftest.
$ac_ext >&5 
6455 ac_cv_lib_dld_dld_link
=no
 
6457 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6458 LIBS
=$ac_check_lib_save_LIBS 
6460 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 
6461 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 
6462 if test $ac_cv_lib_dld_dld_link = yes; then 
6463   lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld" 
6484   if test "x$lt_cv_dlopen" != xno
; then 
6490   case $lt_cv_dlopen in 
6492     save_CPPFLAGS
="$CPPFLAGS" 
6493         test "x$ac_cv_header_dlfcn_h" = xyes 
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H" 
6495     save_LDFLAGS
="$LDFLAGS" 
6496     eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\" 
6499     LIBS
="$lt_cv_dlopen_libs $LIBS" 
6501     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 
6502 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 
6503 if test "${lt_cv_dlopen_self+set}" = set; then 
6504   echo $ECHO_N "(cached) $ECHO_C" >&6 
6506           if test "$cross_compiling" = yes; then : 
6507   lt_cv_dlopen_self
=cross
 
6509     lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2 
6510   lt_status
=$lt_dlunknown 
6511   cat > conftest.
$ac_ext <<EOF 
6512 #line 6512 "configure" 
6513 #include "confdefs.h" 
6522 #  define LT_DLGLOBAL           RTLD_GLOBAL 
6525 #    define LT_DLGLOBAL         DL_GLOBAL 
6527 #    define LT_DLGLOBAL         0 
6531 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 
6532    find out it does not work in some platform. */ 
6533 #ifndef LT_DLLAZY_OR_NOW 
6535 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY 
6538 #      define LT_DLLAZY_OR_NOW          DL_LAZY 
6541 #        define LT_DLLAZY_OR_NOW        RTLD_NOW 
6544 #          define LT_DLLAZY_OR_NOW      DL_NOW 
6546 #          define LT_DLLAZY_OR_NOW      0 
6554 extern "C" void exit (int); 
6557 void fnord() { int i=42;} 
6560   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 
6561   int status = $lt_dlunknown; 
6565       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; 
6566       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 
6567       /* dlclose (self); */ 
6573   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6574   (eval $ac_link) 2>&5 
6576   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6577   (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then 
6578     (.
/conftest
; exit; ) 2>/dev
/null
 
6581       x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;; 
6582       x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;; 
6583       x
$lt_unknown|x
*) lt_cv_dlopen_self
=no 
;; 
6586     # compilation failed 
6587     lt_cv_dlopen_self
=no
 
6594 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 
6595 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 
6597     if test "x$lt_cv_dlopen_self" = xyes
; then 
6598       LDFLAGS
="$LDFLAGS $link_static_flag" 
6599       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 
6600 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 
6601 if test "${lt_cv_dlopen_self_static+set}" = set; then 
6602   echo $ECHO_N "(cached) $ECHO_C" >&6 
6604           if test "$cross_compiling" = yes; then : 
6605   lt_cv_dlopen_self_static
=cross
 
6607     lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2 
6608   lt_status
=$lt_dlunknown 
6609   cat > conftest.
$ac_ext <<EOF 
6610 #line 6610 "configure" 
6611 #include "confdefs.h" 
6620 #  define LT_DLGLOBAL           RTLD_GLOBAL 
6623 #    define LT_DLGLOBAL         DL_GLOBAL 
6625 #    define LT_DLGLOBAL         0 
6629 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 
6630    find out it does not work in some platform. */ 
6631 #ifndef LT_DLLAZY_OR_NOW 
6633 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY 
6636 #      define LT_DLLAZY_OR_NOW          DL_LAZY 
6639 #        define LT_DLLAZY_OR_NOW        RTLD_NOW 
6642 #          define LT_DLLAZY_OR_NOW      DL_NOW 
6644 #          define LT_DLLAZY_OR_NOW      0 
6652 extern "C" void exit (int); 
6655 void fnord() { int i=42;} 
6658   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 
6659   int status = $lt_dlunknown; 
6663       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; 
6664       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 
6665       /* dlclose (self); */ 
6671   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6672   (eval $ac_link) 2>&5 
6674   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6675   (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then 
6676     (.
/conftest
; exit; ) 2>/dev
/null
 
6679       x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;; 
6680       x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;; 
6681       x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no 
;; 
6684     # compilation failed 
6685     lt_cv_dlopen_self_static
=no
 
6692 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 
6693 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 
6696     CPPFLAGS
="$save_CPPFLAGS" 
6697     LDFLAGS
="$save_LDFLAGS" 
6702   case $lt_cv_dlopen_self in 
6703   yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;; 
6704   *) enable_dlopen_self
=unknown 
;; 
6707   case $lt_cv_dlopen_self_static in 
6708   yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;; 
6709   *) enable_dlopen_self_static
=unknown 
;; 
6714 ## FIXME: this should be a separate macro 
6716 if test "$enable_shared" = yes && test "$GCC" = yes; then 
6717   case $archive_cmds in 
6719     # FIXME: we may have to deal with multi-command sequences. 
6722     # Test whether the compiler implicitly links with -lc since on some 
6723     # systems, -lgcc has to come before -lc. If gcc already passes -lc 
6724     # to ld, don't add -lc before -lgcc. 
6725     echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 
6726 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 
6727     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then 
6728   echo $ECHO_N "(cached) $ECHO_C" >&6 
6731     echo 'static int dummy;' > conftest.
$ac_ext 
6733     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
6734   (eval $ac_compile) 2>&5 
6736   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6737   (exit $ac_status); }; then 
6740       libobjs
=conftest.
$ac_objext 
6742       wl
=$lt_cv_prog_cc_wl 
6748       save_allow_undefined_flag
=$allow_undefined_flag 
6749       allow_undefined_flag
= 
6750       if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 
6751   (eval $archive_cmds 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null 
2\
>\
&1) 2>&5 
6753   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6754   (exit $ac_status); } 
6756         lt_cv_archive_cmds_need_lc
=no
 
6758         lt_cv_archive_cmds_need_lc
=yes 
6760       allow_undefined_flag
=$save_allow_undefined_flag 
6762       cat conftest.err 
1>&5 
6766     echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 
6767 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 
6771 need_lc
=${lt_cv_archive_cmds_need_lc-yes} 
6775 ## FIXME: this should be a separate macro 
6777 # The second clause should only fire when bootstrapping the 
6778 # libtool distribution, otherwise you forgot to ship ltmain.sh 
6779 # with your package, and you will get complaints that there are 
6780 # no rules to generate ltmain.sh. 
6781 if test -f "$ltmain"; then 
6784   # If there is no Makefile yet, we rely on a make rule to execute 
6785   # `config.status --recheck' to rerun these tests and create the 
6786   # libtool script then. 
6787   test -f Makefile 
&& make "$ltmain" 
6790 if test -f "$ltmain"; then 
6791   trap "$rm \"${ofile}T\"; exit 1" 1 2 15 
6794   echo creating 
$ofile 
6796   # Now quote all the things that may contain metacharacters while being 
6797   # careful not to overquote the AC_SUBSTed values.  We take copies of the 
6798   # variables and quote the copies for generation of the libtool script. 
6799   for var 
in echo old_CC old_CFLAGS \
 
6800     AR AR_FLAGS CC LD LN_S NM SHELL \
 
6801     reload_flag reload_cmds wl \
 
6802     pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
 
6803     thread_safe_flag_spec whole_archive_flag_spec libname_spec \
 
6804     library_names_spec soname_spec \
 
6805     RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
 
6806     old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
 
6807     postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
 
6808     old_striplib striplib file_magic_cmd export_symbols_cmds \
 
6809     deplibs_check_method allow_undefined_flag no_undefined_flag \
 
6810     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
 
6811     global_symbol_to_c_name_address \
 
6812     hardcode_libdir_flag_spec hardcode_libdir_separator  \
 
6813     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
6814     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms
; do 
6817     reload_cmds 
| old_archive_cmds 
| old_archive_from_new_cmds 
| \
 
6818     old_postinstall_cmds 
| old_postuninstall_cmds 
| \
 
6819     export_symbols_cmds 
| archive_cmds 
| archive_expsym_cmds 
| \
 
6820     extract_expsyms_cmds 
| old_archive_from_expsyms_cmds 
| \
 
6821     postinstall_cmds 
| postuninstall_cmds 
| \
 
6822     finish_cmds 
| sys_lib_search_path_spec 
| sys_lib_dlsearch_path_spec
) 
6823       # Double-quote double-evaled strings. 
6824       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 
6827       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 
6832   cat <<__EOF__ > "${ofile}T" 
6835 # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 
6836 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) 
6837 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 
6839 # Copyright (C) 1996-2000 Free Software Foundation, Inc. 
6840 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 
6842 # This program is free software; you can redistribute it and/or modify 
6843 # it under the terms of the GNU General Public License as published by 
6844 # the Free Software Foundation; either version 2 of the License, or 
6845 # (at your option) any later version. 
6847 # This program is distributed in the hope that it will be useful, but 
6848 # WITHOUT ANY WARRANTY; without even the implied warranty of 
6849 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
6850 # General Public License for more details. 
6852 # You should have received a copy of the GNU General Public License 
6853 # along with this program; if not, write to the Free Software 
6854 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
6856 # As a special exception to the GNU General Public License, if you 
6857 # distribute this file as part of a program that contains a 
6858 # configuration script generated by Autoconf, you may include it under 
6859 # the same distribution terms that you use for the rest of that program. 
6861 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 
6862 Xsed="sed -e s/^X//" 
6864 # The HP-UX ksh and POSIX shell print the target directory to stdout 
6866 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 
6868 # ### BEGIN LIBTOOL CONFIG 
6870 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 
6872 # Shell to use when invoking shell scripts. 
6875 # Whether or not to build shared libraries. 
6876 build_libtool_libs=$enable_shared 
6878 # Whether or not to build static libraries. 
6879 build_old_libs=$enable_static 
6881 # Whether or not to add -lc for building shared libraries. 
6882 build_libtool_need_lc=$need_lc 
6884 # Whether or not to optimize for fast installation. 
6885 fast_install=$enable_fast_install 
6888 host_alias=$host_alias 
6891 # An echo program that does not interpret backslashes. 
6896 AR_FLAGS=$lt_AR_FLAGS 
6898 # The default C compiler. 
6901 # Is the compiler the GNU C compiler? 
6904 # The linker used to build libraries. 
6907 # Whether we need hard or soft links. 
6910 # A BSD-compatible nm program. 
6913 # A symbol stripping program 
6916 # Used to examine libraries when file_magic_cmd begins "file" 
6917 MAGIC_CMD=$MAGIC_CMD 
6919 # Used on cygwin: DLL creation program. 
6922 # Used on cygwin: object dumper. 
6925 # Used on cygwin: assembler. 
6928 # The name of the directory that contains temporary libtool files. 
6931 # How to create reloadable object files. 
6932 reload_flag=$lt_reload_flag 
6933 reload_cmds=$lt_reload_cmds 
6935 # How to pass a linker flag through the compiler. 
6938 # Object file suffix (normally "o"). 
6941 # Old archive suffix (normally "a"). 
6944 # Executable file suffix (normally ""). 
6947 # Additional compiler flags for building library objects. 
6948 pic_flag=$lt_pic_flag 
6951 # Does compiler simultaneously support -c and -o options? 
6952 compiler_c_o=$lt_compiler_c_o 
6954 # Can we write directly to a .lo ? 
6955 compiler_o_lo=$lt_compiler_o_lo 
6957 # Must we lock files when doing compilation ? 
6958 need_locks=$lt_need_locks 
6960 # Do we need the lib prefix for modules? 
6961 need_lib_prefix=$need_lib_prefix 
6963 # Do we need a version for libraries? 
6964 need_version=$need_version 
6966 # Whether dlopen is supported. 
6967 dlopen_support=$enable_dlopen 
6969 # Whether dlopen of programs is supported. 
6970 dlopen_self=$enable_dlopen_self 
6972 # Whether dlopen of statically linked programs is supported. 
6973 dlopen_self_static=$enable_dlopen_self_static 
6975 # Compiler flag to prevent dynamic linking. 
6976 link_static_flag=$lt_link_static_flag 
6978 # Compiler flag to turn off builtin functions. 
6979 no_builtin_flag=$lt_no_builtin_flag 
6981 # Compiler flag to allow reflexive dlopens. 
6982 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 
6984 # Compiler flag to generate shared objects directly from archives. 
6985 whole_archive_flag_spec=$lt_whole_archive_flag_spec 
6987 # Compiler flag to generate thread-safe objects. 
6988 thread_safe_flag_spec=$lt_thread_safe_flag_spec 
6990 # Library versioning type. 
6991 version_type=$version_type 
6993 # Format of library name prefix. 
6994 libname_spec=$lt_libname_spec 
6996 # List of archive names.  First name is the real one, the rest are links. 
6997 # The last name is the one that the linker finds with -lNAME. 
6998 library_names_spec=$lt_library_names_spec 
7000 # The coded name of the library, if different from the real name. 
7001 soname_spec=$lt_soname_spec 
7003 # Commands used to build and install an old-style archive. 
7005 old_archive_cmds=$lt_old_archive_cmds 
7006 old_postinstall_cmds=$lt_old_postinstall_cmds 
7007 old_postuninstall_cmds=$lt_old_postuninstall_cmds 
7009 # Create an old-style archive from a shared archive. 
7010 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 
7012 # Create a temporary old-style archive to link instead of a shared archive. 
7013 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 
7015 # Commands used to build and install a shared archive. 
7016 archive_cmds=$lt_archive_cmds 
7017 archive_expsym_cmds=$lt_archive_expsym_cmds 
7018 postinstall_cmds=$lt_postinstall_cmds 
7019 postuninstall_cmds=$lt_postuninstall_cmds 
7021 # Commands to strip libraries. 
7022 old_striplib=$lt_old_striplib 
7023 striplib=$lt_striplib 
7025 # Method to check whether dependent libraries are shared objects. 
7026 deplibs_check_method=$lt_deplibs_check_method 
7028 # Command to use when deplibs_check_method == file_magic. 
7029 file_magic_cmd=$lt_file_magic_cmd 
7031 # Flag that allows shared libraries with undefined symbols to be built. 
7032 allow_undefined_flag=$lt_allow_undefined_flag 
7034 # Flag that forces no undefined symbols. 
7035 no_undefined_flag=$lt_no_undefined_flag 
7037 # Commands used to finish a libtool library installation in a directory. 
7038 finish_cmds=$lt_finish_cmds 
7040 # Same as above, but a single script fragment to be evaled but not shown. 
7041 finish_eval=$lt_finish_eval 
7043 # Take the output of nm and produce a listing of raw symbols and C names. 
7044 global_symbol_pipe=$lt_global_symbol_pipe 
7046 # Transform the output of nm in a proper C declaration 
7047 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl 
7049 # Transform the output of nm in a C name address pair 
7050 global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address 
7052 # This is the shared library runtime path variable. 
7053 runpath_var=$runpath_var 
7055 # This is the shared library path variable. 
7056 shlibpath_var=$shlibpath_var 
7058 # Is shlibpath searched before the hard-coded library search path? 
7059 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 
7061 # How to hardcode a shared library path into an executable. 
7062 hardcode_action=$hardcode_action 
7064 # Whether we should hardcode library paths into libraries. 
7065 hardcode_into_libs=$hardcode_into_libs 
7067 # Flag to hardcode \$libdir into a binary during linking. 
7068 # This must work even if \$libdir does not exist. 
7069 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 
7071 # Whether we need a single -rpath flag with a separated argument. 
7072 hardcode_libdir_separator=$lt_hardcode_libdir_separator 
7074 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the 
7076 hardcode_direct=$hardcode_direct 
7078 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 
7080 hardcode_minus_L=$hardcode_minus_L 
7082 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 
7083 # the resulting binary. 
7084 hardcode_shlibpath_var=$hardcode_shlibpath_var 
7086 # Variables whose values should be saved in libtool wrapper scripts and 
7087 # restored at relink time. 
7088 variables_saved_for_relink="$variables_saved_for_relink" 
7090 # Whether libtool must link a program against all its dependency libraries. 
7091 link_all_deplibs=$link_all_deplibs 
7093 # Compile-time system search path for libraries 
7094 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 
7096 # Run-time system search path for libraries 
7097 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 
7099 # Fix the shell variable \$srcfile for the compiler. 
7100 fix_srcfile_path="$fix_srcfile_path" 
7102 # Set to yes if exported symbols are required. 
7103 always_export_symbols=$always_export_symbols 
7105 # The commands to list exported symbols. 
7106 export_symbols_cmds=$lt_export_symbols_cmds 
7108 # The commands to extract the exported symbol list from a shared archive. 
7109 extract_expsyms_cmds=$lt_extract_expsyms_cmds 
7111 # Symbols that should not be listed in the preloaded symbols. 
7112 exclude_expsyms=$lt_exclude_expsyms 
7114 # Symbols that must always be exported. 
7115 include_expsyms=$lt_include_expsyms 
7117 # ### END LIBTOOL CONFIG 
7123     cat <<\EOF 
>> "${ofile}T" 
7125 # AIX sometimes has problems with the GCC collect2 program.  For some 
7126 # reason, if we set the COLLECT_NAMES environment variable, the problems 
7127 # vanish in a puff of smoke. 
7128 if test "X${COLLECT_NAMES+set}" != Xset
; then 
7130   export COLLECT_NAMES
 
7137   cygwin
* | mingw
* | pw32
* | os2
*) 
7138     cat <<'EOF' >> "${ofile}T" 
7139       # This is a source program that is used to create dlls on Windows 
7140       # Don't remove nor modify the starting and closing comments 
7141 # /* ltdll.c starts here */ 
7142 # #define WIN32_LEAN_AND_MEAN 
7143 # #include <windows.h> 
7144 # #undef WIN32_LEAN_AND_MEAN 
7145 # #include <stdio.h> 
7147 # #ifndef __CYGWIN__ 
7148 # #  ifdef __CYGWIN32__ 
7149 # #    define __CYGWIN__ __CYGWIN32__ 
7153 # #ifdef __cplusplus 
7156 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); 
7157 # #ifdef __cplusplus 
7162 # #include <cygwin/cygwin_dll.h> 
7163 # DECLARE_CYGWIN_DLL( DllMain ); 
7165 # HINSTANCE __hDllInstance_base; 
7168 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) 
7170 #   __hDllInstance_base = hInst; 
7173 # /* ltdll.c ends here */ 
7174         # This is a source program that is used to create import libraries 
7175         # on Windows for dlls which lack them. Don't remove nor modify the 
7176         # starting and closing comments 
7177 # /* impgen.c starts here */ 
7178 # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc. 
7180 #  This file is part of GNU libtool. 
7182 #  This program is free software; you can redistribute it and/or modify 
7183 #  it under the terms of the GNU General Public License as published by 
7184 #  the Free Software Foundation; either version 2 of the License, or 
7185 #  (at your option) any later version. 
7187 #  This program is distributed in the hope that it will be useful, 
7188 #  but WITHOUT ANY WARRANTY; without even the implied warranty of 
7189 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
7190 #  GNU General Public License for more details. 
7192 #  You should have received a copy of the GNU General Public License 
7193 #  along with this program; if not, write to the Free Software 
7194 #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
7197 # #include <stdio.h>            /* for printf() */ 
7198 # #include <unistd.h>           /* for open(), lseek(), read() */ 
7199 # #include <fcntl.h>            /* for O_RDONLY, O_BINARY */ 
7200 # #include <string.h>           /* for strdup() */ 
7202 # /* O_BINARY isn't required (or even defined sometimes) under Unix */ 
7204 # #define O_BINARY 0 
7207 # static unsigned int 
7208 # pe_get16 (fd, offset) 
7212 #   unsigned char b[2]; 
7213 #   lseek (fd, offset, SEEK_SET); 
7215 #   return b[0] + (b[1]<<8); 
7218 # static unsigned int 
7219 # pe_get32 (fd, offset) 
7223 #   unsigned char b[4]; 
7224 #   lseek (fd, offset, SEEK_SET); 
7226 #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); 
7229 # static unsigned int 
7233 #   unsigned char *b = ptr; 
7234 #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); 
7243 #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i; 
7244 #     unsigned long export_rva, export_size, nsections, secptr, expptr; 
7245 #     unsigned long name_rvas, nexp; 
7246 #     unsigned char *expdata, *erva; 
7247 #     char *filename, *dll_name; 
7249 #     filename = argv[1]; 
7251 #     dll = open(filename, O_RDONLY|O_BINARY); 
7255 #     dll_name = filename; 
7257 #     for (i=0; filename[i]; i++) 
7258 #       if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':') 
7259 #           dll_name = filename + i +1; 
7261 #     pe_header_offset = pe_get32 (dll, 0x3c); 
7262 #     opthdr_ofs = pe_header_offset + 4 + 20; 
7263 #     num_entries = pe_get32 (dll, opthdr_ofs + 92); 
7265 #     if (num_entries < 1) /* no exports */ 
7268 #     export_rva = pe_get32 (dll, opthdr_ofs + 96); 
7269 #     export_size = pe_get32 (dll, opthdr_ofs + 100); 
7270 #     nsections = pe_get16 (dll, pe_header_offset + 4 +2); 
7271 #     secptr = (pe_header_offset + 4 + 20 + 
7272 #             pe_get16 (dll, pe_header_offset + 4 + 16)); 
7275 #     for (i = 0; i < nsections; i++) 
7278 #       unsigned long secptr1 = secptr + 40 * i; 
7279 #       unsigned long vaddr = pe_get32 (dll, secptr1 + 12); 
7280 #       unsigned long vsize = pe_get32 (dll, secptr1 + 16); 
7281 #       unsigned long fptr = pe_get32 (dll, secptr1 + 20); 
7282 #       lseek(dll, secptr1, SEEK_SET); 
7283 #       read(dll, sname, 8); 
7284 #       if (vaddr <= export_rva && vaddr+vsize > export_rva) 
7286 #           expptr = fptr + (export_rva - vaddr); 
7287 #           if (export_rva + export_size > vaddr + vsize) 
7288 #               export_size = vsize - (export_rva - vaddr); 
7293 #     expdata = (unsigned char*)malloc(export_size); 
7294 #     lseek (dll, expptr, SEEK_SET); 
7295 #     read (dll, expdata, export_size); 
7296 #     erva = expdata - export_rva; 
7298 #     nexp = pe_as32 (expdata+24); 
7299 #     name_rvas = pe_as32 (expdata+32); 
7301 #     printf ("EXPORTS\n"); 
7302 #     for (i = 0; i<nexp; i++) 
7304 #       unsigned long name_rva = pe_as32 (erva+name_rvas+i*4); 
7305 #       printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i); 
7310 # /* impgen.c ends here */ 
7316   # We use sed instead of cat because bash on DJGPP gets confused if 
7317   # if finds mixed CR/LF and LF-only lines.  Since sed operates in 
7318   # text mode, it properly converts lines to CR/LF.  This bash problem 
7319   # is reportedly fixed, but why not run on old versions too? 
7320   sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1) 
7322   mv -f "${ofile}T" "$ofile" || \
 
7323     (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") 
7333 # This can be used to rebuild libtool when needed 
7334 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh" 
7336 # Always use our own libtool. 
7337 LIBTOOL
='$(SHELL) $(top_builddir)/libtool' 
7339 # Prevent multiple expansion 
7348 ac_cpp
='$CPP $CPPFLAGS' 
7349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
7350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
7351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
7352 if test -n "$ac_tool_prefix"; then 
7353   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
7354 set dummy 
${ac_tool_prefix}gcc
; ac_word
=$2 
7355 echo "$as_me:$LINENO: checking for $ac_word" >&5 
7356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
7357 if test "${ac_cv_prog_CC+set}" = set; then 
7358   echo $ECHO_N "(cached) $ECHO_C" >&6 
7360   if test -n "$CC"; then 
7361   ac_cv_prog_CC
="$CC" # Let the user override the test. 
7363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
7367   test -z "$as_dir" && as_dir
=.
 
7368   for ac_exec_ext 
in '' $ac_executable_extensions; do 
7369   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
7370     ac_cv_prog_CC
="${ac_tool_prefix}gcc" 
7371     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
7380 if test -n "$CC"; then 
7381   echo "$as_me:$LINENO: result: $CC" >&5 
7382 echo "${ECHO_T}$CC" >&6 
7384   echo "$as_me:$LINENO: result: no" >&5 
7385 echo "${ECHO_T}no" >&6 
7389 if test -z "$ac_cv_prog_CC"; then 
7391   # Extract the first word of "gcc", so it can be a program name with args. 
7392 set dummy gcc
; ac_word
=$2 
7393 echo "$as_me:$LINENO: checking for $ac_word" >&5 
7394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
7395 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
7396   echo $ECHO_N "(cached) $ECHO_C" >&6 
7398   if test -n "$ac_ct_CC"; then 
7399   ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test. 
7401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
7405   test -z "$as_dir" && as_dir
=.
 
7406   for ac_exec_ext 
in '' $ac_executable_extensions; do 
7407   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
7408     ac_cv_prog_ac_ct_CC
="gcc" 
7409     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
7417 ac_ct_CC
=$ac_cv_prog_ac_ct_CC 
7418 if test -n "$ac_ct_CC"; then 
7419   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
7420 echo "${ECHO_T}$ac_ct_CC" >&6 
7422   echo "$as_me:$LINENO: result: no" >&5 
7423 echo "${ECHO_T}no" >&6 
7431 if test -z "$CC"; then 
7432   if test -n "$ac_tool_prefix"; then 
7433   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
7434 set dummy 
${ac_tool_prefix}cc
; ac_word
=$2 
7435 echo "$as_me:$LINENO: checking for $ac_word" >&5 
7436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
7437 if test "${ac_cv_prog_CC+set}" = set; then 
7438   echo $ECHO_N "(cached) $ECHO_C" >&6 
7440   if test -n "$CC"; then 
7441   ac_cv_prog_CC
="$CC" # Let the user override the test. 
7443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
7447   test -z "$as_dir" && as_dir
=.
 
7448   for ac_exec_ext 
in '' $ac_executable_extensions; do 
7449   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
7450     ac_cv_prog_CC
="${ac_tool_prefix}cc" 
7451     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
7460 if test -n "$CC"; then 
7461   echo "$as_me:$LINENO: result: $CC" >&5 
7462 echo "${ECHO_T}$CC" >&6 
7464   echo "$as_me:$LINENO: result: no" >&5 
7465 echo "${ECHO_T}no" >&6 
7469 if test -z "$ac_cv_prog_CC"; then 
7471   # Extract the first word of "cc", so it can be a program name with args. 
7472 set dummy cc
; ac_word
=$2 
7473 echo "$as_me:$LINENO: checking for $ac_word" >&5 
7474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
7475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
7476   echo $ECHO_N "(cached) $ECHO_C" >&6 
7478   if test -n "$ac_ct_CC"; then 
7479   ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test. 
7481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
7485   test -z "$as_dir" && as_dir
=.
 
7486   for ac_exec_ext 
in '' $ac_executable_extensions; do 
7487   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
7488     ac_cv_prog_ac_ct_CC
="cc" 
7489     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
7497 ac_ct_CC
=$ac_cv_prog_ac_ct_CC 
7498 if test -n "$ac_ct_CC"; then 
7499   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
7500 echo "${ECHO_T}$ac_ct_CC" >&6 
7502   echo "$as_me:$LINENO: result: no" >&5 
7503 echo "${ECHO_T}no" >&6 
7512 if test -z "$CC"; then 
7513   # Extract the first word of "cc", so it can be a program name with args. 
7514 set dummy cc
; ac_word
=$2 
7515 echo "$as_me:$LINENO: checking for $ac_word" >&5 
7516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
7517 if test "${ac_cv_prog_CC+set}" = set; then 
7518   echo $ECHO_N "(cached) $ECHO_C" >&6 
7520   if test -n "$CC"; then 
7521   ac_cv_prog_CC
="$CC" # Let the user override the test. 
7524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
7528   test -z "$as_dir" && as_dir
=.
 
7529   for ac_exec_ext 
in '' $ac_executable_extensions; do 
7530   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
7531     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
7532        ac_prog_rejected
=yes 
7536     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
7542 if test $ac_prog_rejected = yes; then 
7543   # We found a bogon in the path, so make sure we never use it. 
7544   set dummy 
$ac_cv_prog_CC 
7546   if test $# != 0; then 
7547     # We chose a different compiler from the bogus one. 
7548     # However, it has the same basename, so the bogon will be chosen 
7549     # first if we set CC to just the basename; use the full file name. 
7551     ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@" 
7557 if test -n "$CC"; then 
7558   echo "$as_me:$LINENO: result: $CC" >&5 
7559 echo "${ECHO_T}$CC" >&6 
7561   echo "$as_me:$LINENO: result: no" >&5 
7562 echo "${ECHO_T}no" >&6 
7566 if test -z "$CC"; then 
7567   if test -n "$ac_tool_prefix"; then 
7570     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
7571 set dummy 
$ac_tool_prefix$ac_prog; ac_word
=$2 
7572 echo "$as_me:$LINENO: checking for $ac_word" >&5 
7573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
7574 if test "${ac_cv_prog_CC+set}" = set; then 
7575   echo $ECHO_N "(cached) $ECHO_C" >&6 
7577   if test -n "$CC"; then 
7578   ac_cv_prog_CC
="$CC" # Let the user override the test. 
7580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
7584   test -z "$as_dir" && as_dir
=.
 
7585   for ac_exec_ext 
in '' $ac_executable_extensions; do 
7586   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
7587     ac_cv_prog_CC
="$ac_tool_prefix$ac_prog" 
7588     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
7597 if test -n "$CC"; then 
7598   echo "$as_me:$LINENO: result: $CC" >&5 
7599 echo "${ECHO_T}$CC" >&6 
7601   echo "$as_me:$LINENO: result: no" >&5 
7602 echo "${ECHO_T}no" >&6 
7605     test -n "$CC" && break 
7608 if test -z "$CC"; then 
7612   # Extract the first word of "$ac_prog", so it can be a program name with args. 
7613 set dummy 
$ac_prog; ac_word
=$2 
7614 echo "$as_me:$LINENO: checking for $ac_word" >&5 
7615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
7616 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
7617   echo $ECHO_N "(cached) $ECHO_C" >&6 
7619   if test -n "$ac_ct_CC"; then 
7620   ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test. 
7622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
7626   test -z "$as_dir" && as_dir
=.
 
7627   for ac_exec_ext 
in '' $ac_executable_extensions; do 
7628   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
7629     ac_cv_prog_ac_ct_CC
="$ac_prog" 
7630     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
7638 ac_ct_CC
=$ac_cv_prog_ac_ct_CC 
7639 if test -n "$ac_ct_CC"; then 
7640   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
7641 echo "${ECHO_T}$ac_ct_CC" >&6 
7643   echo "$as_me:$LINENO: result: no" >&5 
7644 echo "${ECHO_T}no" >&6 
7647   test -n "$ac_ct_CC" && break 
7656 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
7657 See \`config.log' for more details." >&5 
7658 echo "$as_me: error: no acceptable C compiler found in \$PATH 
7659 See \`config.log' for more details." >&2;} 
7660    { (exit 1); exit 1; }; } 
7662 # Provide some information about the compiler. 
7663 echo "$as_me:$LINENO:" \
 
7664      "checking for C compiler version" >&5 
7665 ac_compiler
=`set X $ac_compile; echo $2` 
7666 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
7667   (eval $ac_compiler --version </dev
/null 
>&5) 2>&5 
7669   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7670   (exit $ac_status); } 
7671 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
7672   (eval $ac_compiler -v </dev
/null 
>&5) 2>&5 
7674   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7675   (exit $ac_status); } 
7676 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
7677   (eval $ac_compiler -V </dev
/null 
>&5) 2>&5 
7679   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7680   (exit $ac_status); } 
7682 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
7683 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 
7684 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
7685   echo $ECHO_N "(cached) $ECHO_C" >&6 
7687   cat >conftest.
$ac_ext <<_ACEOF 
7688 #line $LINENO "configure" 
7691 cat confdefs.h 
>>conftest.
$ac_ext 
7692 cat >>conftest.
$ac_ext <<_ACEOF 
7693 /* end confdefs.h.  */ 
7706 rm -f conftest.
$ac_objext 
7707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
7708   (eval $ac_compile) 2>&5 
7710   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7711   (exit $ac_status); } && 
7712          { ac_try
='test -s conftest.$ac_objext' 
7713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
7716   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7717   (exit $ac_status); }; }; then 
7720   echo "$as_me: failed program was:" >&5 
7721 sed 's/^/| /' conftest.
$ac_ext >&5 
7725 rm -f conftest.
$ac_objext conftest.
$ac_ext 
7726 ac_cv_c_compiler_gnu
=$ac_compiler_gnu 
7729 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
7730 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 
7731 GCC
=`test $ac_compiler_gnu = yes && echo yes` 
7732 ac_test_CFLAGS
=${CFLAGS+set} 
7733 ac_save_CFLAGS
=$CFLAGS 
7735 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
7736 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 
7737 if test "${ac_cv_prog_cc_g+set}" = set; then 
7738   echo $ECHO_N "(cached) $ECHO_C" >&6 
7740   cat >conftest.
$ac_ext <<_ACEOF 
7741 #line $LINENO "configure" 
7744 cat confdefs.h 
>>conftest.
$ac_ext 
7745 cat >>conftest.
$ac_ext <<_ACEOF 
7746 /* end confdefs.h.  */ 
7756 rm -f conftest.
$ac_objext 
7757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
7758   (eval $ac_compile) 2>&5 
7760   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7761   (exit $ac_status); } && 
7762          { ac_try
='test -s conftest.$ac_objext' 
7763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
7766   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7767   (exit $ac_status); }; }; then 
7770   echo "$as_me: failed program was:" >&5 
7771 sed 's/^/| /' conftest.
$ac_ext >&5 
7775 rm -f conftest.
$ac_objext conftest.
$ac_ext 
7777 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
7778 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 
7779 if test "$ac_test_CFLAGS" = set; then 
7780   CFLAGS
=$ac_save_CFLAGS 
7781 elif test $ac_cv_prog_cc_g = yes; then 
7782   if test "$GCC" = yes; then 
7788   if test "$GCC" = yes; then 
7794 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 
7795 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 
7796 if test "${ac_cv_prog_cc_stdc+set}" = set; then 
7797   echo $ECHO_N "(cached) $ECHO_C" >&6 
7799   ac_cv_prog_cc_stdc
=no
 
7801 cat >conftest.
$ac_ext <<_ACEOF 
7802 #line $LINENO "configure" 
7805 cat confdefs.h 
>>conftest.
$ac_ext 
7806 cat >>conftest.
$ac_ext <<_ACEOF 
7807 /* end confdefs.h.  */ 
7810 #include <sys/types.h> 
7811 #include <sys/stat.h> 
7812 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
7813 struct buf { int x; }; 
7814 FILE * (*rcsopen) (struct buf *, struct stat *, int); 
7815 static char *e (p, i) 
7821 static char *f (char * (*g) (char **, int), char **p, ...) 
7826   s = g (p, va_arg (v,int)); 
7830 int test (int i, double x); 
7831 struct s1 {int (*f) (int a);}; 
7832 struct s2 {int (*f) (double a);}; 
7833 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 
7839 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; 
7844 # Don't try gcc -ansi; that turns off useful extensions and 
7845 # breaks some systems' header files. 
7846 # AIX                   -qlanglvl=ansi 
7847 # Ultrix and OSF/1      -std1 
7848 # HP-UX 10.20 and later -Ae 
7849 # HP-UX older versions  -Aa -D_HPUX_SOURCE 
7850 # SVR4                  -Xc -D__EXTENSIONS__ 
7851 for ac_arg 
in "" -qlanglvl=ansi 
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 
7853   CC
="$ac_save_CC $ac_arg" 
7854   rm -f conftest.
$ac_objext 
7855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
7856   (eval $ac_compile) 2>&5 
7858   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7859   (exit $ac_status); } && 
7860          { ac_try
='test -s conftest.$ac_objext' 
7861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
7864   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7865   (exit $ac_status); }; }; then 
7866   ac_cv_prog_cc_stdc
=$ac_arg 
7869   echo "$as_me: failed program was:" >&5 
7870 sed 's/^/| /' conftest.
$ac_ext >&5 
7873 rm -f conftest.
$ac_objext 
7875 rm -f conftest.
$ac_ext conftest.
$ac_objext 
7880 case "x$ac_cv_prog_cc_stdc" in 
7882     echo "$as_me:$LINENO: result: none needed" >&5 
7883 echo "${ECHO_T}none needed" >&6 ;; 
7885     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 
7886 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 
7887     CC
="$CC $ac_cv_prog_cc_stdc" ;; 
7890 # Some people use a C++ compiler to compile C.  Since we use `exit', 
7891 # in C++ we need to declare it.  In case someone uses the same compiler 
7892 # for both compiling C and C++ we need to have the C++ compiler decide 
7893 # the declaration of exit, since it's the most demanding environment. 
7894 cat >conftest.
$ac_ext <<_ACEOF 
7899 rm -f conftest.
$ac_objext 
7900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
7901   (eval $ac_compile) 2>&5 
7903   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7904   (exit $ac_status); } && 
7905          { ac_try
='test -s conftest.$ac_objext' 
7906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
7909   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7910   (exit $ac_status); }; }; then 
7911   for ac_declaration 
in \
 
7913    '#include <stdlib.h>' \
 
7914    'extern "C" void std::exit (int) throw (); using std::exit;' \
 
7915    'extern "C" void std::exit (int); using std::exit;' \
 
7916    'extern "C" void exit (int) throw ();' \
 
7917    'extern "C" void exit (int);' \
 
7920   cat >conftest.
$ac_ext <<_ACEOF 
7921 #line $LINENO "configure" 
7924 cat confdefs.h 
>>conftest.
$ac_ext 
7925 cat >>conftest.
$ac_ext <<_ACEOF 
7926 /* end confdefs.h.  */ 
7937 rm -f conftest.
$ac_objext 
7938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
7939   (eval $ac_compile) 2>&5 
7941   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7942   (exit $ac_status); } && 
7943          { ac_try
='test -s conftest.$ac_objext' 
7944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
7947   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7948   (exit $ac_status); }; }; then 
7951   echo "$as_me: failed program was:" >&5 
7952 sed 's/^/| /' conftest.
$ac_ext >&5 
7956 rm -f conftest.
$ac_objext conftest.
$ac_ext 
7957   cat >conftest.
$ac_ext <<_ACEOF 
7958 #line $LINENO "configure" 
7961 cat confdefs.h 
>>conftest.
$ac_ext 
7962 cat >>conftest.
$ac_ext <<_ACEOF 
7963 /* end confdefs.h.  */ 
7973 rm -f conftest.
$ac_objext 
7974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
7975   (eval $ac_compile) 2>&5 
7977   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7978   (exit $ac_status); } && 
7979          { ac_try
='test -s conftest.$ac_objext' 
7980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
7983   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7984   (exit $ac_status); }; }; then 
7987   echo "$as_me: failed program was:" >&5 
7988 sed 's/^/| /' conftest.
$ac_ext >&5 
7991 rm -f conftest.
$ac_objext conftest.
$ac_ext 
7994 if test -n "$ac_declaration"; then 
7995   echo '#ifdef __cplusplus' >>confdefs.h
 
7996   echo $ac_declaration      >>confdefs.h
 
7997   echo '#endif'             >>confdefs.h
 
8001   echo "$as_me: failed program was:" >&5 
8002 sed 's/^/| /' conftest.
$ac_ext >&5 
8005 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8007 ac_cpp
='$CPP $CPPFLAGS' 
8008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
8009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
8010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
8012 # Find a good install program.  We prefer a C program (faster), 
8013 # so one script is as good as another.  But avoid the broken or 
8014 # incompatible versions: 
8015 # SysV /etc/install, /usr/sbin/install 
8016 # SunOS /usr/etc/install 
8017 # IRIX /sbin/install 
8019 # AmigaOS /C/install, which installs bootblocks on floppy discs 
8020 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 
8021 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 
8022 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 
8023 # ./install, which can be erroneously created by make from ./install.sh. 
8024 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 
8025 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 
8026 if test -z "$INSTALL"; then 
8027 if test "${ac_cv_path_install+set}" = set; then 
8028   echo $ECHO_N "(cached) $ECHO_C" >&6 
8030   as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
8034   test -z "$as_dir" && as_dir
=.
 
8035   # Account for people who put trailing slashes in PATH elements. 
8037   .
/ | .
// | /cC
/* | \
 
8038   /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
 
8041     # OSF1 and SCO ODT 3.0 have their own names for install. 
8042     # Don't use installbsd from OSF since it installs stuff as root 
8044     for ac_prog 
in ginstall scoinst 
install; do 
8045       for ac_exec_ext 
in '' $ac_executable_extensions; do 
8046         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 
8047           if test $ac_prog = install && 
8048             grep dspmsg 
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null 
2>&1; then 
8049             # AIX install.  It has an incompatible calling convention. 
8051           elif test $ac_prog = install && 
8052             grep pwplus 
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null 
2>&1; then 
8053             # program-specific install script used by HP pwplus--don't use. 
8056             ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c" 
8068   if test "${ac_cv_path_install+set}" = set; then 
8069     INSTALL
=$ac_cv_path_install 
8071     # As a last resort, use the slow shell script.  We don't cache a 
8072     # path for INSTALL within a source directory, because that will 
8073     # break other packages using the cache if that directory is 
8074     # removed, or if the path is relative. 
8075     INSTALL
=$ac_install_sh 
8078 echo "$as_me:$LINENO: result: $INSTALL" >&5 
8079 echo "${ECHO_T}$INSTALL" >&6 
8081 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 
8082 # It thinks the first close brace ends the variable substitution. 
8083 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}' 
8085 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}' 
8087 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644' 
8090 if test "$GCC" = yes ; then 
8091                         OLDCFLAGS
="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes" 
8092     CFLAGS
="$OLDCFLAGS -fexceptions" 
8093     echo "$as_me:$LINENO: checking whether gcc accepts -fexceptions" >&5 
8094 echo $ECHO_N "checking whether gcc accepts -fexceptions... $ECHO_C" >&6 
8095     cat >conftest.
$ac_ext <<_ACEOF 
8096 #line $LINENO "configure" 
8099 cat confdefs.h 
>>conftest.
$ac_ext 
8100 cat >>conftest.
$ac_ext <<_ACEOF 
8101 /* end confdefs.h.  */ 
8111 rm -f conftest.
$ac_objext 
8112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8113   (eval $ac_compile) 2>&5 
8115   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8116   (exit $ac_status); } && 
8117          { ac_try
='test -s conftest.$ac_objext' 
8118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8121   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8122   (exit $ac_status); }; }; then 
8123   echo "$as_me:$LINENO: result: yes" >&5 
8124 echo "${ECHO_T}yes" >&6 
8126   echo "$as_me: failed program was:" >&5 
8127 sed 's/^/| /' conftest.
$ac_ext >&5 
8129 echo "$as_me:$LINENO: result: no" >&5 
8130 echo "${ECHO_T}no" >&6; CFLAGS
="$OLDCFLAGS" 
8132 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8135 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
8136 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 
8137 if test "${ac_cv_header_stdc+set}" = set; then 
8138   echo $ECHO_N "(cached) $ECHO_C" >&6 
8140   cat >conftest.
$ac_ext <<_ACEOF 
8141 #line $LINENO "configure" 
8144 cat confdefs.h 
>>conftest.
$ac_ext 
8145 cat >>conftest.
$ac_ext <<_ACEOF 
8146 /* end confdefs.h.  */ 
8160 rm -f conftest.
$ac_objext 
8161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8162   (eval $ac_compile) 2>&5 
8164   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8165   (exit $ac_status); } && 
8166          { ac_try
='test -s conftest.$ac_objext' 
8167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8170   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8171   (exit $ac_status); }; }; then 
8172   ac_cv_header_stdc
=yes 
8174   echo "$as_me: failed program was:" >&5 
8175 sed 's/^/| /' conftest.
$ac_ext >&5 
8177 ac_cv_header_stdc
=no
 
8179 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8181 if test $ac_cv_header_stdc = yes; then 
8182   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
8183   cat >conftest.
$ac_ext <<_ACEOF 
8184 #line $LINENO "configure" 
8187 cat confdefs.h 
>>conftest.
$ac_ext 
8188 cat >>conftest.
$ac_ext <<_ACEOF 
8189 /* end confdefs.h.  */ 
8193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
8194   $EGREP "memchr" >/dev
/null 
2>&1; then 
8197   ac_cv_header_stdc
=no
 
8203 if test $ac_cv_header_stdc = yes; then 
8204   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
8205   cat >conftest.
$ac_ext <<_ACEOF 
8206 #line $LINENO "configure" 
8209 cat confdefs.h 
>>conftest.
$ac_ext 
8210 cat >>conftest.
$ac_ext <<_ACEOF 
8211 /* end confdefs.h.  */ 
8215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
8216   $EGREP "free" >/dev
/null 
2>&1; then 
8219   ac_cv_header_stdc
=no
 
8225 if test $ac_cv_header_stdc = yes; then 
8226   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
8227   if test "$cross_compiling" = yes; then 
8230   cat >conftest.
$ac_ext <<_ACEOF 
8231 #line $LINENO "configure" 
8234 cat confdefs.h 
>>conftest.
$ac_ext 
8235 cat >>conftest.
$ac_ext <<_ACEOF 
8236 /* end confdefs.h.  */ 
8238 #if ((' ' & 0x0FF) == 0x020) 
8239 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
8240 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
8242 # define ISLOWER(c) \ 
8243                    (('a' <= (c) && (c) <= 'i') \ 
8244                      || ('j' <= (c) && (c) <= 'r') \ 
8245                      || ('s' <= (c) && (c) <= 'z')) 
8246 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
8249 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
8254   for (i = 0; i < 256; i++) 
8255     if (XOR (islower (i), ISLOWER (i)) 
8256         || toupper (i) != TOUPPER (i)) 
8261 rm -f conftest
$ac_exeext 
8262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
8263   (eval $ac_link) 2>&5 
8265   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8266   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
8267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8270   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8271   (exit $ac_status); }; }; then 
8274   echo "$as_me: program exited with status $ac_status" >&5 
8275 echo "$as_me: failed program was:" >&5 
8276 sed 's/^/| /' conftest.
$ac_ext >&5 
8279 ac_cv_header_stdc
=no
 
8281 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext 
8285 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
8286 echo "${ECHO_T}$ac_cv_header_stdc" >&6 
8287 if test $ac_cv_header_stdc = yes; then 
8289 cat >>confdefs.h 
<<\_ACEOF
 
8290 #define STDC_HEADERS 1 
8297 for ac_header 
in fcntl.h unistd.h
 
8299 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
8300 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
8301   echo "$as_me:$LINENO: checking for $ac_header" >&5 
8302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
8303 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
8304   echo $ECHO_N "(cached) $ECHO_C" >&6 
8306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
8307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
8309   # Is the header compilable? 
8310 echo "$as_me:$LINENO: checking $ac_header usability" >&5 
8311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 
8312 cat >conftest.
$ac_ext <<_ACEOF 
8313 #line $LINENO "configure" 
8316 cat confdefs.h 
>>conftest.
$ac_ext 
8317 cat >>conftest.
$ac_ext <<_ACEOF 
8318 /* end confdefs.h.  */ 
8319 $ac_includes_default 
8320 #include <$ac_header> 
8322 rm -f conftest.
$ac_objext 
8323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8324   (eval $ac_compile) 2>&5 
8326   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8327   (exit $ac_status); } && 
8328          { ac_try
='test -s conftest.$ac_objext' 
8329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8332   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8333   (exit $ac_status); }; }; then 
8334   ac_header_compiler
=yes 
8336   echo "$as_me: failed program was:" >&5 
8337 sed 's/^/| /' conftest.
$ac_ext >&5 
8339 ac_header_compiler
=no
 
8341 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
8343 echo "${ECHO_T}$ac_header_compiler" >&6 
8345 # Is the header present? 
8346 echo "$as_me:$LINENO: checking $ac_header presence" >&5 
8347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 
8348 cat >conftest.
$ac_ext <<_ACEOF 
8349 #line $LINENO "configure" 
8352 cat confdefs.h 
>>conftest.
$ac_ext 
8353 cat >>conftest.
$ac_ext <<_ACEOF 
8354 /* end confdefs.h.  */ 
8355 #include <$ac_header> 
8357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
8358   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
8360   grep -v '^ *+' conftest.er1 
>conftest.err
 
8362   cat conftest.err 
>&5 
8363   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8364   (exit $ac_status); } >/dev
/null
; then 
8365   if test -s conftest.err
; then 
8366     ac_cpp_err
=$ac_c_preproc_warn_flag 
8373 if test -z "$ac_cpp_err"; then 
8374   ac_header_preproc
=yes 
8376   echo "$as_me: failed program was:" >&5 
8377 sed 's/^/| /' conftest.
$ac_ext >&5 
8379   ac_header_preproc
=no
 
8381 rm -f conftest.err conftest.
$ac_ext 
8382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
8383 echo "${ECHO_T}$ac_header_preproc" >&6 
8385 # So?  What about this header? 
8386 case $ac_header_compiler:$ac_header_preproc in 
8388     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
8389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
8390     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
8391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
8394 ## ------------------------------------ ## 
8395 ## Report this to bug-autoconf@gnu.org. ## 
8396 ## ------------------------------------ ## 
8399       sed "s/^/$as_me: WARNING:     /" >&2 
8402     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 
8403 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 
8404     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 
8405 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 
8406     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
8407 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
8410 ## ------------------------------------ ## 
8411 ## Report this to bug-autoconf@gnu.org. ## 
8412 ## ------------------------------------ ## 
8415       sed "s/^/$as_me: WARNING:     /" >&2 
8418 echo "$as_me:$LINENO: checking for $ac_header" >&5 
8419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
8420 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
8421   echo $ECHO_N "(cached) $ECHO_C" >&6 
8423   eval "$as_ac_Header=$ac_header_preproc" 
8425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
8426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
8429 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
8430   cat >>confdefs.h 
<<_ACEOF 
8431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
8440 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
8441 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 
8442 if test "${ac_cv_c_bigendian+set}" = set; then 
8443   echo $ECHO_N "(cached) $ECHO_C" >&6 
8445   ac_cv_c_bigendian
=unknown
 
8446 # See if sys/param.h defines the BYTE_ORDER macro. 
8447 cat >conftest.
$ac_ext <<_ACEOF 
8448 #line $LINENO "configure" 
8451 cat confdefs.h 
>>conftest.
$ac_ext 
8452 cat >>conftest.
$ac_ext <<_ACEOF 
8453 /* end confdefs.h.  */ 
8454 #include <sys/types.h> 
8455 #include <sys/param.h> 
8460 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 
8467 rm -f conftest.
$ac_objext 
8468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8469   (eval $ac_compile) 2>&5 
8471   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8472   (exit $ac_status); } && 
8473          { ac_try
='test -s conftest.$ac_objext' 
8474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8477   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8478   (exit $ac_status); }; }; then 
8479   # It does; now see whether it defined to BIG_ENDIAN or not. 
8480 cat >conftest.
$ac_ext <<_ACEOF 
8481 #line $LINENO "configure" 
8484 cat confdefs.h 
>>conftest.
$ac_ext 
8485 cat >>conftest.
$ac_ext <<_ACEOF 
8486 /* end confdefs.h.  */ 
8487 #include <sys/types.h> 
8488 #include <sys/param.h> 
8493 #if BYTE_ORDER != BIG_ENDIAN 
8500 rm -f conftest.
$ac_objext 
8501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8502   (eval $ac_compile) 2>&5 
8504   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8505   (exit $ac_status); } && 
8506          { ac_try
='test -s conftest.$ac_objext' 
8507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8510   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8511   (exit $ac_status); }; }; then 
8512   ac_cv_c_bigendian
=yes 
8514   echo "$as_me: failed program was:" >&5 
8515 sed 's/^/| /' conftest.
$ac_ext >&5 
8517 ac_cv_c_bigendian
=no
 
8519 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8521   echo "$as_me: failed program was:" >&5 
8522 sed 's/^/| /' conftest.
$ac_ext >&5 
8525 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8526 if test $ac_cv_c_bigendian = unknown
; then 
8527 if test "$cross_compiling" = yes; then 
8528    echo $ac_n "cross-compiling... " 2>&6 
8530   cat >conftest.
$ac_ext <<_ACEOF 
8531 #line $LINENO "configure" 
8534 cat confdefs.h 
>>conftest.
$ac_ext 
8535 cat >>conftest.
$ac_ext <<_ACEOF 
8536 /* end confdefs.h.  */ 
8538   /* Are we little or big endian?  From Harbison&Steele.  */ 
8542     char c[sizeof (long)]; 
8545   exit (u.c[sizeof (long) - 1] == 1); 
8548 rm -f conftest
$ac_exeext 
8549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
8550   (eval $ac_link) 2>&5 
8552   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8553   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
8554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8557   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8558   (exit $ac_status); }; }; then 
8559   ac_cv_c_bigendian
=no
 
8561   echo "$as_me: program exited with status $ac_status" >&5 
8562 echo "$as_me: failed program was:" >&5 
8563 sed 's/^/| /' conftest.
$ac_ext >&5 
8566 ac_cv_c_bigendian
=yes 
8568 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext 
8572 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
8573 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 
8574 if test $ac_cv_c_bigendian = unknown
; then 
8575 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5 
8576 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6 
8578 cat >conftest.c 
<<EOF 
8579 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
8580 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
8581 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; } 
8582 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
8583 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
8584 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; } 
8585 int main() { _ascii (); _ebcdic (); return 0; } 
8587  if test -f conftest.c 
; then 
8588      if ${CC-cc} -c conftest.c 
-o conftest.o 
&& test -f conftest.o 
; then 
8589         if test `grep -l BIGenDianSyS conftest.o` ; then 
8590            echo $ac_n ' big endian probe OK, ' 1>&6 
8591            ac_cv_c_bigendian
=yes 
8593         if test `grep -l LiTTleEnDian conftest.o` ; then 
8594            echo $ac_n ' little endian probe OK, ' 1>&6 
8595            if test $ac_cv_c_bigendian = yes ; then 
8596             ac_cv_c_bigendian
=unknown
; 
8598             ac_cv_c_bigendian
=no
 
8601         echo $ac_n 'guessing bigendian ...  ' >&6 
8604 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
8605 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 
8607 if test $ac_cv_c_bigendian = yes; then 
8609 cat >>confdefs.h 
<<\_ACEOF
 
8610 #define WORDS_BIGENDIAN 1 
8618 cat >>confdefs.h 
<<_ACEOF 
8619 #define BYTEORDER $BYTEORDER 
8622 if test $ac_cv_c_bigendian = unknown
; then 
8623   { { echo "$as_me:$LINENO: error: unknown endianess - sorry" >&5 
8624 echo "$as_me: error: unknown endianess - sorry" >&2;} 
8625    { (exit please pre
-set ac_cv_c_bigendian
); exit please pre
-set ac_cv_c_bigendian
; }; } 
8629 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 
8630 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 
8631 if test "${ac_cv_c_const+set}" = set; then 
8632   echo $ECHO_N "(cached) $ECHO_C" >&6 
8634   cat >conftest.
$ac_ext <<_ACEOF 
8635 #line $LINENO "configure" 
8638 cat confdefs.h 
>>conftest.
$ac_ext 
8639 cat >>conftest.
$ac_ext <<_ACEOF 
8640 /* end confdefs.h.  */ 
8645 /* FIXME: Include the comments suggested by Paul. */ 
8647   /* Ultrix mips cc rejects this.  */ 
8648   typedef int charset[2]; 
8650   /* SunOS 4.1.1 cc rejects this.  */ 
8651   char const *const *ccp; 
8653   /* NEC SVR4.0.2 mips cc rejects this.  */ 
8654   struct point {int x, y;}; 
8655   static struct point const zero = {0,0}; 
8656   /* AIX XL C 1.02.0.0 rejects this. 
8657      It does not let you subtract one const X* pointer from another in 
8658      an arm of an if-expression whose if-part is not a constant 
8660   const char *g = "string"; 
8661   ccp = &g + (g ? g-g : 0); 
8662   /* HPUX 7.0 cc rejects these. */ 
8665   ccp = (char const *const *) p; 
8666   { /* SCO 3.2v4 cc rejects this.  */ 
8668     char const *s = 0 ? (char *) 0 : (char const *) 0; 
8672   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ 
8674     const int *foo = &x[0]; 
8677   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 
8678     typedef const int *iptr; 
8682   { /* AIX XL C 1.02.0.0 rejects this saying 
8683        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 
8684     struct s { int j; const int *ap[3]; }; 
8685     struct s *b; b->j = 5; 
8687   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 
8696 rm -f conftest.
$ac_objext 
8697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8698   (eval $ac_compile) 2>&5 
8700   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8701   (exit $ac_status); } && 
8702          { ac_try
='test -s conftest.$ac_objext' 
8703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8706   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8707   (exit $ac_status); }; }; then 
8710   echo "$as_me: failed program was:" >&5 
8711 sed 's/^/| /' conftest.
$ac_ext >&5 
8715 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8717 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 
8718 echo "${ECHO_T}$ac_cv_c_const" >&6 
8719 if test $ac_cv_c_const = no
; then 
8721 cat >>confdefs.h 
<<\_ACEOF
 
8727 echo "$as_me:$LINENO: checking for off_t" >&5 
8728 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 
8729 if test "${ac_cv_type_off_t+set}" = set; then 
8730   echo $ECHO_N "(cached) $ECHO_C" >&6 
8732   cat >conftest.
$ac_ext <<_ACEOF 
8733 #line $LINENO "configure" 
8736 cat confdefs.h 
>>conftest.
$ac_ext 
8737 cat >>conftest.
$ac_ext <<_ACEOF 
8738 /* end confdefs.h.  */ 
8739 $ac_includes_default 
8751 rm -f conftest.
$ac_objext 
8752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8753   (eval $ac_compile) 2>&5 
8755   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8756   (exit $ac_status); } && 
8757          { ac_try
='test -s conftest.$ac_objext' 
8758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8761   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8762   (exit $ac_status); }; }; then 
8763   ac_cv_type_off_t
=yes 
8765   echo "$as_me: failed program was:" >&5 
8766 sed 's/^/| /' conftest.
$ac_ext >&5 
8770 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8772 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 
8773 echo "${ECHO_T}$ac_cv_type_off_t" >&6 
8774 if test $ac_cv_type_off_t = yes; then 
8778 cat >>confdefs.h 
<<_ACEOF 
8784 echo "$as_me:$LINENO: checking for size_t" >&5 
8785 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 
8786 if test "${ac_cv_type_size_t+set}" = set; then 
8787   echo $ECHO_N "(cached) $ECHO_C" >&6 
8789   cat >conftest.
$ac_ext <<_ACEOF 
8790 #line $LINENO "configure" 
8793 cat confdefs.h 
>>conftest.
$ac_ext 
8794 cat >>conftest.
$ac_ext <<_ACEOF 
8795 /* end confdefs.h.  */ 
8796 $ac_includes_default 
8802 if (sizeof (size_t)) 
8808 rm -f conftest.
$ac_objext 
8809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8810   (eval $ac_compile) 2>&5 
8812   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8813   (exit $ac_status); } && 
8814          { ac_try
='test -s conftest.$ac_objext' 
8815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8818   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8819   (exit $ac_status); }; }; then 
8820   ac_cv_type_size_t
=yes 
8822   echo "$as_me: failed program was:" >&5 
8823 sed 's/^/| /' conftest.
$ac_ext >&5 
8825 ac_cv_type_size_t
=no
 
8827 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8829 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 
8830 echo "${ECHO_T}$ac_cv_type_size_t" >&6 
8831 if test $ac_cv_type_size_t = yes; then 
8835 cat >>confdefs.h 
<<_ACEOF 
8836 #define size_t unsigned 
8843 echo "$as_me:$LINENO: checking for working memcmp" >&5 
8844 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 
8845 if test "${ac_cv_func_memcmp_working+set}" = set; then 
8846   echo $ECHO_N "(cached) $ECHO_C" >&6 
8848   if test "$cross_compiling" = yes; then 
8849   ac_cv_func_memcmp_working
=no
 
8851   cat >conftest.
$ac_ext <<_ACEOF 
8852 #line $LINENO "configure" 
8855 cat confdefs.h 
>>conftest.
$ac_ext 
8856 cat >>conftest.
$ac_ext <<_ACEOF 
8857 /* end confdefs.h.  */ 
8863   /* Some versions of memcmp are not 8-bit clean.  */ 
8864   char c0 = 0x40, c1 = 0x80, c2 = 0x81; 
8865   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) 
8868   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes 
8869      or more and with at least one buffer not starting on a 4-byte boundary. 
8870      William Lewis provided this test program.   */ 
8875     for (i = 0; i < 4; i++) 
8879         strcpy (a, "--------01111111"); 
8880         strcpy (b, "--------10000000"); 
8881         if (memcmp (a, b, 16) >= 0) 
8891 rm -f conftest
$ac_exeext 
8892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
8893   (eval $ac_link) 2>&5 
8895   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8896   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
8897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8900   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8901   (exit $ac_status); }; }; then 
8902   ac_cv_func_memcmp_working
=yes 
8904   echo "$as_me: program exited with status $ac_status" >&5 
8905 echo "$as_me: failed program was:" >&5 
8906 sed 's/^/| /' conftest.
$ac_ext >&5 
8909 ac_cv_func_memcmp_working
=no
 
8911 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext 
8914 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 
8915 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 
8916 test $ac_cv_func_memcmp_working = no 
&& LIBOBJS
="$LIBOBJS memcmp.$ac_objext" 
8920 for ac_header 
in stdlib.h unistd.h
 
8922 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
8923 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
8924   echo "$as_me:$LINENO: checking for $ac_header" >&5 
8925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
8926 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
8927   echo $ECHO_N "(cached) $ECHO_C" >&6 
8929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
8930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
8932   # Is the header compilable? 
8933 echo "$as_me:$LINENO: checking $ac_header usability" >&5 
8934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 
8935 cat >conftest.
$ac_ext <<_ACEOF 
8936 #line $LINENO "configure" 
8939 cat confdefs.h 
>>conftest.
$ac_ext 
8940 cat >>conftest.
$ac_ext <<_ACEOF 
8941 /* end confdefs.h.  */ 
8942 $ac_includes_default 
8943 #include <$ac_header> 
8945 rm -f conftest.
$ac_objext 
8946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8947   (eval $ac_compile) 2>&5 
8949   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8950   (exit $ac_status); } && 
8951          { ac_try
='test -s conftest.$ac_objext' 
8952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8955   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8956   (exit $ac_status); }; }; then 
8957   ac_header_compiler
=yes 
8959   echo "$as_me: failed program was:" >&5 
8960 sed 's/^/| /' conftest.
$ac_ext >&5 
8962 ac_header_compiler
=no
 
8964 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
8966 echo "${ECHO_T}$ac_header_compiler" >&6 
8968 # Is the header present? 
8969 echo "$as_me:$LINENO: checking $ac_header presence" >&5 
8970 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 
8971 cat >conftest.
$ac_ext <<_ACEOF 
8972 #line $LINENO "configure" 
8975 cat confdefs.h 
>>conftest.
$ac_ext 
8976 cat >>conftest.
$ac_ext <<_ACEOF 
8977 /* end confdefs.h.  */ 
8978 #include <$ac_header> 
8980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
8981   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
8983   grep -v '^ *+' conftest.er1 
>conftest.err
 
8985   cat conftest.err 
>&5 
8986   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8987   (exit $ac_status); } >/dev
/null
; then 
8988   if test -s conftest.err
; then 
8989     ac_cpp_err
=$ac_c_preproc_warn_flag 
8996 if test -z "$ac_cpp_err"; then 
8997   ac_header_preproc
=yes 
8999   echo "$as_me: failed program was:" >&5 
9000 sed 's/^/| /' conftest.
$ac_ext >&5 
9002   ac_header_preproc
=no
 
9004 rm -f conftest.err conftest.
$ac_ext 
9005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
9006 echo "${ECHO_T}$ac_header_preproc" >&6 
9008 # So?  What about this header? 
9009 case $ac_header_compiler:$ac_header_preproc in 
9011     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
9012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
9013     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
9014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
9017 ## ------------------------------------ ## 
9018 ## Report this to bug-autoconf@gnu.org. ## 
9019 ## ------------------------------------ ## 
9022       sed "s/^/$as_me: WARNING:     /" >&2 
9025     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 
9026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 
9027     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 
9028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 
9029     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
9030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
9033 ## ------------------------------------ ## 
9034 ## Report this to bug-autoconf@gnu.org. ## 
9035 ## ------------------------------------ ## 
9038       sed "s/^/$as_me: WARNING:     /" >&2 
9041 echo "$as_me:$LINENO: checking for $ac_header" >&5 
9042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
9043 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
9044   echo $ECHO_N "(cached) $ECHO_C" >&6 
9046   eval "$as_ac_Header=$ac_header_preproc" 
9048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
9049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
9052 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
9053   cat >>confdefs.h 
<<_ACEOF 
9054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
9062 for ac_func 
in getpagesize
 
9064 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
9065 echo "$as_me:$LINENO: checking for $ac_func" >&5 
9066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 
9067 if eval "test \"\${$as_ac_var+set}\" = set"; then 
9068   echo $ECHO_N "(cached) $ECHO_C" >&6 
9070   cat >conftest.
$ac_ext <<_ACEOF 
9071 #line $LINENO "configure" 
9074 cat confdefs.h 
>>conftest.
$ac_ext 
9075 cat >>conftest.
$ac_ext <<_ACEOF 
9076 /* end confdefs.h.  */ 
9077 /* System header to define __stub macros and hopefully few prototypes, 
9078     which can conflict with char $ac_func (); below. 
9079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
9080     <limits.h> exists even on freestanding compilers.  */ 
9082 # include <limits.h> 
9084 # include <assert.h> 
9086 /* Override any gcc2 internal prototype to avoid an error.  */ 
9091 /* We use char because int might match the return type of a gcc2 
9092    builtin and then its argument prototype would still apply.  */ 
9094 /* The GNU C library defines this for functions which it implements 
9095     to always fail with ENOSYS.  Some functions are actually named 
9096     something starting with __ and the normal name is an alias.  */ 
9097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 
9100 char (*f) () = $ac_func; 
9109 return f != $ac_func; 
9114 rm -f conftest.
$ac_objext conftest
$ac_exeext 
9115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
9116   (eval $ac_link) 2>&5 
9118   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9119   (exit $ac_status); } && 
9120          { ac_try
='test -s conftest$ac_exeext' 
9121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
9124   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9125   (exit $ac_status); }; }; then 
9126   eval "$as_ac_var=yes" 
9128   echo "$as_me: failed program was:" >&5 
9129 sed 's/^/| /' conftest.
$ac_ext >&5 
9131 eval "$as_ac_var=no" 
9133 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
9135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 
9136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 
9137 if test `eval echo '${'$as_ac_var'}'` = yes; then 
9138   cat >>confdefs.h 
<<_ACEOF 
9139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 
9145 echo "$as_me:$LINENO: checking for working mmap" >&5 
9146 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 
9147 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 
9148   echo $ECHO_N "(cached) $ECHO_C" >&6 
9150   if test "$cross_compiling" = yes; then 
9151   ac_cv_func_mmap_fixed_mapped
=no
 
9153   cat >conftest.
$ac_ext <<_ACEOF 
9154 #line $LINENO "configure" 
9157 cat confdefs.h 
>>conftest.
$ac_ext 
9158 cat >>conftest.
$ac_ext <<_ACEOF 
9159 /* end confdefs.h.  */ 
9160 $ac_includes_default 
9161 /* malloc might have been renamed as rpl_malloc. */ 
9164 /* Thanks to Mike Haertel and Jim Avera for this test. 
9165    Here is a matrix of mmap possibilities: 
9166         mmap private not fixed 
9167         mmap private fixed at somewhere currently unmapped 
9168         mmap private fixed at somewhere already mapped 
9169         mmap shared not fixed 
9170         mmap shared fixed at somewhere currently unmapped 
9171         mmap shared fixed at somewhere already mapped 
9172    For private mappings, we should verify that changes cannot be read() 
9173    back from the file, nor mmap's back from the file at a different 
9174    address.  (There have been systems where private was not correctly 
9175    implemented like the infamous i386 svr4.0, and systems where the 
9176    VM page cache was not coherent with the file system buffer cache 
9177    like early versions of FreeBSD and possibly contemporary NetBSD.) 
9178    For shared mappings, we should conversely verify that changes get 
9179    propagated back to all the places they're supposed to be. 
9181    Grep wants private fixed already mapped. 
9182    The main things grep needs to know about mmap are: 
9183    * does it exist and is it safe to write into the mmap'd area 
9184    * how to use it (BSD variants)  */ 
9187 #include <sys/mman.h> 
9189 #if !STDC_HEADERS && !HAVE_STDLIB_H 
9193 /* This mess was copied from the GNU getpagesize.h.  */ 
9194 #if !HAVE_GETPAGESIZE 
9195 /* Assume that all systems that can run configure have sys/param.h.  */ 
9196 # if !HAVE_SYS_PARAM_H 
9197 #  define HAVE_SYS_PARAM_H 1 
9200 # ifdef _SC_PAGESIZE 
9201 #  define getpagesize() sysconf(_SC_PAGESIZE) 
9202 # else /* no _SC_PAGESIZE */ 
9203 #  if HAVE_SYS_PARAM_H 
9204 #   include <sys/param.h> 
9205 #   ifdef EXEC_PAGESIZE 
9206 #    define getpagesize() EXEC_PAGESIZE 
9207 #   else /* no EXEC_PAGESIZE */ 
9209 #     define getpagesize() NBPG * CLSIZE 
9212 #     endif /* no CLSIZE */ 
9213 #    else /* no NBPG */ 
9215 #      define getpagesize() NBPC 
9216 #     else /* no NBPC */ 
9218 #       define getpagesize() PAGESIZE 
9219 #      endif /* PAGESIZE */ 
9220 #     endif /* no NBPC */ 
9221 #    endif /* no NBPG */ 
9222 #   endif /* no EXEC_PAGESIZE */ 
9223 #  else /* no HAVE_SYS_PARAM_H */ 
9224 #   define getpagesize() 8192   /* punt totally */ 
9225 #  endif /* no HAVE_SYS_PARAM_H */ 
9226 # endif /* no _SC_PAGESIZE */ 
9228 #endif /* no HAVE_GETPAGESIZE */ 
9233   char *data, *data2, *data3; 
9237   pagesize = getpagesize (); 
9239   /* First, make a file with some known garbage in it. */ 
9240   data = (char *) malloc (pagesize); 
9243   for (i = 0; i < pagesize; ++i) 
9244     *(data + i) = rand (); 
9246   fd = creat ("conftest.mmap", 0600); 
9249   if (write (fd, data, pagesize) != pagesize) 
9253   /* Next, try to mmap the file at a fixed address which already has 
9254      something else allocated at it.  If we can, also make sure that 
9255      we see the same garbage.  */ 
9256   fd = open ("conftest.mmap", O_RDWR); 
9259   data2 = (char *) malloc (2 * pagesize); 
9262   data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); 
9263   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 
9264                      MAP_PRIVATE | MAP_FIXED, fd, 0L)) 
9266   for (i = 0; i < pagesize; ++i) 
9267     if (*(data + i) != *(data2 + i)) 
9270   /* Finally, make sure that changes to the mapped area do not 
9271      percolate back to the file as seen by read().  (This is a bug on 
9272      some variants of i386 svr4.0.)  */ 
9273   for (i = 0; i < pagesize; ++i) 
9274     *(data2 + i) = *(data2 + i) + 1; 
9275   data3 = (char *) malloc (pagesize); 
9278   if (read (fd, data3, pagesize) != pagesize) 
9280   for (i = 0; i < pagesize; ++i) 
9281     if (*(data + i) != *(data3 + i)) 
9287 rm -f conftest
$ac_exeext 
9288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
9289   (eval $ac_link) 2>&5 
9291   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9292   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
9293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
9296   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9297   (exit $ac_status); }; }; then 
9298   ac_cv_func_mmap_fixed_mapped
=yes 
9300   echo "$as_me: program exited with status $ac_status" >&5 
9301 echo "$as_me: failed program was:" >&5 
9302 sed 's/^/| /' conftest.
$ac_ext >&5 
9305 ac_cv_func_mmap_fixed_mapped
=no
 
9307 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext 
9310 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 
9311 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 
9312 if test $ac_cv_func_mmap_fixed_mapped = yes; then 
9314 cat >>confdefs.h 
<<\_ACEOF
 
9322 if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then 
9331 for ac_func 
in memmove bcopy
 
9333 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
9334 echo "$as_me:$LINENO: checking for $ac_func" >&5 
9335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 
9336 if eval "test \"\${$as_ac_var+set}\" = set"; then 
9337   echo $ECHO_N "(cached) $ECHO_C" >&6 
9339   cat >conftest.
$ac_ext <<_ACEOF 
9340 #line $LINENO "configure" 
9343 cat confdefs.h 
>>conftest.
$ac_ext 
9344 cat >>conftest.
$ac_ext <<_ACEOF 
9345 /* end confdefs.h.  */ 
9346 /* System header to define __stub macros and hopefully few prototypes, 
9347     which can conflict with char $ac_func (); below. 
9348     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
9349     <limits.h> exists even on freestanding compilers.  */ 
9351 # include <limits.h> 
9353 # include <assert.h> 
9355 /* Override any gcc2 internal prototype to avoid an error.  */ 
9360 /* We use char because int might match the return type of a gcc2 
9361    builtin and then its argument prototype would still apply.  */ 
9363 /* The GNU C library defines this for functions which it implements 
9364     to always fail with ENOSYS.  Some functions are actually named 
9365     something starting with __ and the normal name is an alias.  */ 
9366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 
9369 char (*f) () = $ac_func; 
9378 return f != $ac_func; 
9383 rm -f conftest.
$ac_objext conftest
$ac_exeext 
9384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
9385   (eval $ac_link) 2>&5 
9387   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9388   (exit $ac_status); } && 
9389          { ac_try
='test -s conftest$ac_exeext' 
9390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
9393   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
9394   (exit $ac_status); }; }; then 
9395   eval "$as_ac_var=yes" 
9397   echo "$as_me: failed program was:" >&5 
9398 sed 's/^/| /' conftest.
$ac_ext >&5 
9400 eval "$as_ac_var=no" 
9402 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
9404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 
9405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 
9406 if test `eval echo '${'$as_ac_var'}'` = yes; then 
9407   cat >>confdefs.h 
<<_ACEOF 
9408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 
9416 cat >>confdefs.h 
<<\_ACEOF
 
9421 cat >>confdefs.h 
<<\_ACEOF
 
9426 cat >>confdefs.h 
<<\_ACEOF
 
9427 #define XML_CONTEXT_BYTES 1024 
9431           ac_config_files
="$ac_config_files Makefile" 
9433 cat >confcache 
<<\_ACEOF
 
9434 # This file is a shell script that caches the results of configure 
9435 # tests run on this system so they can be shared between configure 
9436 # scripts and configure runs, see configure's option --config-cache. 
9437 # It is not useful on other systems.  If it contains results you don't 
9438 # want to keep, you may remove or edit it. 
9440 # config.status only pays attention to the cache file if you give it 
9441 # the --recheck option to rerun configure. 
9443 # `ac_cv_env_foo' variables (set or unset) will be overridden when 
9444 # loading this file, other *unset* `ac_cv_foo' will be assigned the 
9449 # The following way of writing the cache mishandles newlines in values, 
9450 # but we know of no workaround that is simple, portable, and efficient. 
9451 # So, don't put newlines in cache variables' values. 
9452 # Ultrix sh set writes to stderr and can't be redirected directly, 
9453 # and sets the high bit in the cache file unless we assign to the vars. 
9456     case `(ac_space=' '; set | grep ac_space) 2>&1` in 
9458       # `set' does not quote correctly, so add quotes (double-quote 
9459       # substitution turns \\\\ into \\, and sed turns \\ into \). 
9462           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 
9465       # `set' quotes correctly as required by POSIX, so do not add quotes. 
9467         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
9474      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 
9476      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 
9478 if diff $cache_file confcache 
>/dev
/null 
2>&1; then :; else 
9479   if test -w $cache_file; then 
9480     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 
9481     cat confcache 
>$cache_file 
9483     echo "not updating unwritable cache $cache_file" 
9488 test "x$prefix" = xNONE 
&& prefix
=$ac_default_prefix 
9489 # Let make expand exec_prefix. 
9490 test "x$exec_prefix" = xNONE 
&& exec_prefix
='${prefix}' 
9492 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
9493 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
9494 # trailing colons and then remove the whole line if VPATH becomes empty 
9495 # (actually we leave an empty line to preserve line numbers). 
9496 if test "x$srcdir" = x.
; then 
9497   ac_vpsub
='/^[         ]*VPATH[        ]*=/{ 
9498 s/:*\$(srcdir):*/:/; 
9499 s/:*\${srcdir}:*/:/; 
9501 s/^\([^=]*=[    ]*\):*/\1/; 
9507 DEFS
=-DHAVE_CONFIG_H 
9511 for ac_i 
in : $LIBOBJS; do test "x$ac_i" = x
: && continue 
9512   # 1. Remove the extension, and $U if already installed. 
9513   ac_i
=`echo "$ac_i" | 
9514          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 
9516   ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext" 
9517   ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo' 
9521 LTLIBOBJS
=$ac_ltlibobjs 
9525 : ${CONFIG_STATUS=./config.status} 
9526 ac_clean_files_save
=$ac_clean_files 
9527 ac_clean_files
="$ac_clean_files $CONFIG_STATUS" 
9528 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
9529 echo "$as_me: creating $CONFIG_STATUS" >&6;} 
9530 cat >$CONFIG_STATUS <<_ACEOF 
9532 # Generated by $as_me. 
9533 # Run this file to recreate the current configuration. 
9534 # Compiler output produced by configure, useful for debugging 
9535 # configure, is in config.log if it exists. 
9540 SHELL=\${CONFIG_SHELL-$SHELL} 
9543 cat >>$CONFIG_STATUS <<\_ACEOF
 
9544 ## --------------------- ## 
9545 ## M4sh Initialization.  ## 
9546 ## --------------------- ## 
9548 # Be Bourne compatible 
9549 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null 
2>&1; then 
9552   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
9553   # is contrary to our usage.  Disable this feature. 
9554   alias -g '${1+"$@"}'='"$@"' 
9555 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null 
2>&1; then 
9559 # Support unset when possible. 
9560 if (FOO
=FOO
; unset FOO
) >/dev
/null 
2>&1; then 
9567 # Work around bugs in pre-3.0 UWIN ksh. 
9568 $as_unset ENV MAIL MAILPATH
 
9575   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
9576   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
9577   LC_TELEPHONE LC_TIME
 
9579   if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 
9580     eval $as_var=C
; export $as_var 
9586 # Required to use basename. 
9587 if expr a 
: '\(a\)' >/dev
/null 
2>&1; then 
9593 if (basename /) >/dev
/null 
2>&1 && test "X`basename / 2>&1`" = "X/"; then 
9594   as_basename
=basename 
9600 # Name of the executable. 
9601 as_me
=`$as_basename "$0" || 
9602 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
9603          X"$0" : 'X\(//\)$' \| \ 
9604          X"$0" : 'X\(/\)$' \| \ 
9605          .     : '\(.\)' 2>/dev/null || 
9607     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
9608           /^X\/\(\/\/\)$/{ s//\1/; q; } 
9609           /^X\/\(\/\).*/{ s//\1/; q; } 
9613 # PATH needs CR, and LINENO needs CR and PATH. 
9614 # Avoid depending upon Character Ranges. 
9615 as_cr_letters
='abcdefghijklmnopqrstuvwxyz' 
9616 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
9617 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS 
9618 as_cr_digits
='0123456789' 
9619 as_cr_alnum
=$as_cr_Letters$as_cr_digits 
9621 # The user is always right. 
9622 if test "${PATH_SEPARATOR+set}" != set; then 
9623   echo "#! /bin/sh" >conf$$.sh
 
9624   echo  "exit 0"   >>conf$$.sh
 
9626   if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null 
2>&1; then 
9637   as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null` 
9638   test "x$as_lineno_1" != "x$as_lineno_2" && 
9639   test "x$as_lineno_3"  = "x$as_lineno_2"  || { 
9640   # Find who we are.  Look in the path if we contain no path at all 
9643     *[\\/]* ) as_myself
=$0 ;; 
9644     *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
9648   test -z "$as_dir" && as_dir
=.
 
9649   test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break 
9654   # We did not find ourselves, most probably we were run as `sh COMMAND' 
9655   # in which case we are not to be found in the path. 
9656   if test "x$as_myself" = x
; then 
9659   if test ! -f "$as_myself"; then 
9660     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 
9661 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 
9662    { (exit 1); exit 1; }; } 
9664   case $CONFIG_SHELL in 
9666     as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
9667 for as_dir 
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH 
9670   test -z "$as_dir" && as_dir
=.
 
9671   for as_base 
in sh bash ksh sh5
; do 
9674            if ("$as_dir/$as_base" -c ' 
9677   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
9678   test "x$as_lineno_1" != "x$as_lineno_2" && 
9679   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev
/null
; then 
9680              $as_unset BASH_ENV 
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; } 
9681              $as_unset ENV 
|| test "${ENV+set}" != set || { ENV
=; export ENV
; } 
9682              CONFIG_SHELL
=$as_dir/$as_base 
9684              exec "$CONFIG_SHELL" "$0" ${1+"$@"} 
9692   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
9693   # uniformly replaced by the line number.  The first 'sed' inserts a 
9694   # line-number line before each line; the second 'sed' does the real 
9695   # work.  The second script uses 'N' to pair each line-number line 
9696   # with the numbered line, and appends trailing '-' during 
9697   # substitution so that $LINENO is not a special case at line end. 
9698   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
9699   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) 
9700   sed '=' <$as_myself | 
9705       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 
9708       s,^['$as_cr_digits']*\n,, 
9710   chmod +x 
$as_me.lineno 
|| 
9711     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 
9712 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 
9713    { (exit 1); exit 1; }; } 
9715   # Don't try to exec as it changes $[0], causing all sort of problems 
9716   # (the dirname of $[0] is not the place where we might find the 
9717   # original and so on.  Autoconf is especially sensible to this). 
9719   # Exit status is that of the last command. 
9724 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
9725   *c
*,-n*) ECHO_N
= ECHO_C
=' 
9727   *c
*,*  ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;; 
9728   *)       ECHO_N
= ECHO_C
='\c' ECHO_T
= ;; 
9731 if expr a 
: '\(a\)' >/dev
/null 
2>&1; then 
9737 rm -f conf$$ conf$$.exe conf$$.
file 
9739 if ln -s conf$$.
file conf$$ 
2>/dev
/null
; then 
9740   # We could just check for DJGPP; but this test a) works b) is more generic 
9741   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 
9742   if test -f conf$$.exe
; then 
9743     # Don't use ln at all; we don't have any links 
9748 elif ln conf$$.
file conf$$ 
2>/dev
/null
; then 
9753 rm -f conf$$ conf$$.exe conf$$.
file 
9755 if mkdir -p . 
2>/dev
/null
; then 
9761 as_executable_p
="test -f" 
9763 # Sed expression to map a string onto a valid CPP name. 
9764 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 
9766 # Sed expression to map a string onto a valid variable name. 
9767 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 
9771 # We need space, tab and new line, in precisely that order. 
9781 # Open the log real soon, to keep \$[0] and so on meaningful, and to 
9782 # report actual input values of CONFIG_FILES etc. instead of their 
9783 # values after options handling.  Logging --version etc. is OK. 
9787   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
9788 ## Running $as_me. ## 
9793 This file was extended by $as_me, which was 
9794 generated by GNU Autoconf 2.57.  Invocation command line was 
9796   CONFIG_FILES    = $CONFIG_FILES 
9797   CONFIG_HEADERS  = $CONFIG_HEADERS 
9798   CONFIG_LINKS    = $CONFIG_LINKS 
9799   CONFIG_COMMANDS = $CONFIG_COMMANDS 
9803 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 
9807 # Files that config.status was made for. 
9808 if test -n "$ac_config_files"; then 
9809   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 
9812 if test -n "$ac_config_headers"; then 
9813   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 
9816 if test -n "$ac_config_links"; then 
9817   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 
9820 if test -n "$ac_config_commands"; then 
9821   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 
9824 cat >>$CONFIG_STATUS <<\_ACEOF
 
9827 \`$as_me' instantiates files from templates according to the 
9828 current configuration. 
9830 Usage: $0 [OPTIONS] [FILE]... 
9832   -h, --help       print this help, then exit 
9833   -V, --version    print version number, then exit 
9834   -q, --quiet      do not print progress messages 
9835   -d, --debug      don't remove temporary files 
9836       --recheck    update $as_me by reconfiguring in the same conditions 
9837   --file=FILE[:TEMPLATE] 
9838                    instantiate the configuration file FILE 
9839   --header=FILE[:TEMPLATE] 
9840                    instantiate the configuration header FILE 
9842 Configuration files: 
9845 Configuration headers: 
9848 Report bugs to <bug-autoconf@gnu.org>." 
9851 cat >>$CONFIG_STATUS <<_ACEOF 
9854 configured by $0, generated by GNU Autoconf 2.57, 
9855   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 
9857 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
9858 Free Software Foundation, Inc. 
9859 This config.status script is free software; the Free Software Foundation 
9860 gives unlimited permission to copy, distribute and modify it." 
9865 cat >>$CONFIG_STATUS <<\_ACEOF
 
9866 # If no file are specified by the user, then we need to provide default 
9867 # value.  By we need to know if files were specified by the user. 
9873     ac_option
=`expr "x$1" : 'x\([^=]*\)='` 
9874     ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'` 
9882   *) # This is not an option, so the user has probably given explicit 
9885      ac_need_defaults
=false
;; 
9889   # Handling of the options. 
9891 cat >>$CONFIG_STATUS <<\_ACEOF
 
9892   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
9894   --version | --vers* | -V ) 
9895     echo "$ac_cs_version"; exit 0 ;; 
9897     # Conflict between --help and --header 
9898     { { echo "$as_me:$LINENO: error: ambiguous option: $1 
9899 Try \`$0 --help' for more information." >&5 
9900 echo "$as_me: error: ambiguous option: $1 
9901 Try \`$0 --help' for more information." >&2;} 
9902    { (exit 1); exit 1; }; };; 
9903   --help | --hel | -h ) 
9904     echo "$ac_cs_usage"; exit 0 ;; 
9905   --debug | --d* | -d ) 
9907   --file | --fil | --fi | --f ) 
9909     CONFIG_FILES
="$CONFIG_FILES $ac_optarg" 
9910     ac_need_defaults
=false
;; 
9911   --header | --heade | --head | --hea ) 
9913     CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg" 
9914     ac_need_defaults
=false
;; 
9915   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
9916   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
9920   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 
9921 Try \`$0 --help' for more information." >&5 
9922 echo "$as_me: error: unrecognized option: $1 
9923 Try \`$0 --help' for more information." >&2;} 
9924    { (exit 1); exit 1; }; } ;; 
9926   *) ac_config_targets
="$ac_config_targets $1" ;; 
9932 ac_configure_extra_args
= 
9934 if $ac_cs_silent; then 
9936   ac_configure_extra_args
="$ac_configure_extra_args --silent" 
9940 cat >>$CONFIG_STATUS <<_ACEOF 
9941 if \$ac_cs_recheck; then 
9942   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
9943   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
9952 cat >>$CONFIG_STATUS <<\_ACEOF
 
9953 for ac_config_target 
in $ac_config_targets 
9955   case "$ac_config_target" in 
9956   # Handling of arguments. 
9957   "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;; 
9958   "expat_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS expat_config.h" ;; 
9959   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
9960 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
9961    { (exit 1); exit 1; }; };; 
9965 # If the user did not use the arguments to specify the items to instantiate, 
9966 # then the envvar interface is used.  Set only those that are not. 
9967 # We use the long form for the default assignment because of an extremely 
9968 # bizarre bug on SunOS 4.1.3. 
9969 if $ac_need_defaults; then 
9970   test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files 
9971   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers 
9974 # Have a temporary directory for convenience.  Make it in the build tree 
9975 # simply because there is no reason to put it here, and in addition, 
9976 # creating and moving files from /tmp can sometimes cause problems. 
9977 # Create a temporary directory, and hook for its removal unless debugging. 
9980   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 
9981   trap '{ (exit 1); exit 1; }' 1 2 13 15 
9984 # Create a (secure) tmp directory for tmp files. 
9987   tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 
9988   test -n "$tmp" && test -d "$tmp" 
9991   tmp
=.
/confstat$$
-$RANDOM 
9992   (umask 077 && mkdir $tmp) 
9995    echo "$me: cannot create a temporary directory in ." >&2 
9996    { (exit 1); exit 1; } 
10001 cat >>$CONFIG_STATUS <<_ACEOF 
10004 # CONFIG_FILES section. 
10007 # No need to generate the scripts if there are no CONFIG_FILES. 
10008 # This happens for instance when ./config.status config.h 
10009 if test -n "\$CONFIG_FILES"; then 
10010   # Protect against being on the right side of a sed subst in config.status. 
10011   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 
10012    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 
10013 s,@SHELL@,$SHELL,;t t 
10014 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 
10015 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 
10016 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 
10017 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 
10018 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 
10019 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 
10020 s,@exec_prefix@,$exec_prefix,;t t 
10021 s,@prefix@,$prefix,;t t 
10022 s,@program_transform_name@,$program_transform_name,;t t 
10023 s,@bindir@,$bindir,;t t 
10024 s,@sbindir@,$sbindir,;t t 
10025 s,@libexecdir@,$libexecdir,;t t 
10026 s,@datadir@,$datadir,;t t 
10027 s,@sysconfdir@,$sysconfdir,;t t 
10028 s,@sharedstatedir@,$sharedstatedir,;t t 
10029 s,@localstatedir@,$localstatedir,;t t 
10030 s,@libdir@,$libdir,;t t 
10031 s,@includedir@,$includedir,;t t 
10032 s,@oldincludedir@,$oldincludedir,;t t 
10033 s,@infodir@,$infodir,;t t 
10034 s,@mandir@,$mandir,;t t 
10035 s,@build_alias@,$build_alias,;t t 
10036 s,@host_alias@,$host_alias,;t t 
10037 s,@target_alias@,$target_alias,;t t 
10038 s,@DEFS@,$DEFS,;t t 
10039 s,@ECHO_C@,$ECHO_C,;t t 
10040 s,@ECHO_N@,$ECHO_N,;t t 
10041 s,@ECHO_T@,$ECHO_T,;t t 
10042 s,@LIBS@,$LIBS,;t t 
10043 s,@build@,$build,;t t 
10044 s,@build_cpu@,$build_cpu,;t t 
10045 s,@build_vendor@,$build_vendor,;t t 
10046 s,@build_os@,$build_os,;t t 
10047 s,@host@,$host,;t t 
10048 s,@host_cpu@,$host_cpu,;t t 
10049 s,@host_vendor@,$host_vendor,;t t 
10050 s,@host_os@,$host_os,;t t 
10052 s,@CFLAGS@,$CFLAGS,;t t 
10053 s,@LDFLAGS@,$LDFLAGS,;t t 
10054 s,@CPPFLAGS@,$CPPFLAGS,;t t 
10055 s,@ac_ct_CC@,$ac_ct_CC,;t t 
10056 s,@EXEEXT@,$EXEEXT,;t t 
10057 s,@OBJEXT@,$OBJEXT,;t t 
10058 s,@LN_S@,$LN_S,;t t 
10059 s,@ECHO@,$ECHO,;t t 
10060 s,@RANLIB@,$RANLIB,;t t 
10061 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 
10062 s,@STRIP@,$STRIP,;t t 
10063 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 
10065 s,@EGREP@,$EGREP,;t t 
10066 s,@LIBTOOL@,$LIBTOOL,;t t 
10067 s,@LIBCURRENT@,$LIBCURRENT,;t t 
10068 s,@LIBREVISION@,$LIBREVISION,;t t 
10069 s,@LIBAGE@,$LIBAGE,;t t 
10070 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 
10071 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 
10072 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 
10073 s,@LIBOBJS@,$LIBOBJS,;t t 
10074 s,@FILEMAP@,$FILEMAP,;t t 
10075 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 
10080   cat >>$CONFIG_STATUS <<\_ACEOF
 
10081   # Split the substitutions into bite-sized pieces for seds with 
10082   # small command number limits, like on Digital OSF/1 and HP-UX. 
10083   ac_max_sed_lines
=48 
10084   ac_sed_frag
=1 # Number of current file. 
10085   ac_beg
=1 # First line for current file. 
10086   ac_end
=$ac_max_sed_lines # Line after last line for current file. 
10089   while $ac_more_lines; do 
10090     if test $ac_beg -gt 1; then 
10091       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
 
10093       sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
 
10095     if test ! -s $tmp/subs.frag
; then 
10096       ac_more_lines
=false
 
10098       # The purpose of the label and of the branching condition is to 
10099       # speed up the sed processing (if there are no `@' at all, there 
10100       # is no need to browse any of the substitutions). 
10101       # These are the two extra sed commands mentioned above. 
10103   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed 
10104       if test -z "$ac_sed_cmds"; then 
10105         ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed" 
10107         ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 
10109       ac_sed_frag
=`expr $ac_sed_frag + 1` 
10111       ac_end
=`expr $ac_end + $ac_max_sed_lines` 
10114   if test -z "$ac_sed_cmds"; then 
10117 fi # test -n "$CONFIG_FILES" 
10120 cat >>$CONFIG_STATUS <<\_ACEOF
 
10121 for ac_file 
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue 
10122   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 
10124   - | *:- | *:-:* ) # input from stdin 
10126         ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'` 
10127         ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;; 
10128   *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'` 
10129         ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;; 
10130   * )   ac_file_in
=$ac_file.
in ;; 
10133   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 
10134   ac_dir
=`(dirname "$ac_file") 2>/dev/null || 
10135 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
10136          X"$ac_file" : 'X\(//\)[^/]' \| \ 
10137          X"$ac_file" : 'X\(//\)$' \| \ 
10138          X"$ac_file" : 'X\(/\)' \| \ 
10139          .     : '\(.\)' 2>/dev/null || 
10141     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
10142           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
10143           /^X\(\/\/\)$/{ s//\1/; q; } 
10144           /^X\(\/\).*/{ s//\1/; q; } 
10146   { if $as_mkdir_p; then 
10151     while test ! -d "$as_dir"; do 
10152       as_dirs
="$as_dir $as_dirs" 
10153       as_dir
=`(dirname "$as_dir") 2>/dev/null || 
10154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
10155          X"$as_dir" : 'X\(//\)[^/]' \| \ 
10156          X"$as_dir" : 'X\(//\)$' \| \ 
10157          X"$as_dir" : 'X\(/\)' \| \ 
10158          .     : '\(.\)' 2>/dev/null || 
10160     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
10161           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
10162           /^X\(\/\/\)$/{ s//\1/; q; } 
10163           /^X\(\/\).*/{ s//\1/; q; } 
10166     test ! -n "$as_dirs" || mkdir $as_dirs 
10167   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
10168 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
10169    { (exit 1); exit 1; }; }; } 
10173 if test "$ac_dir" != .
; then 
10174   ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
10175   # A "../" for each directory in $ac_dir_suffix. 
10176   ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
10178   ac_dir_suffix
= ac_top_builddir
= 
10182   .
)  # No --srcdir option.  We are building in place. 
10184     if test -z "$ac_top_builddir"; then 
10187        ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'` 
10189   [\\/]* | ?
:[\\/]* )  # Absolute path. 
10190     ac_srcdir
=$srcdir$ac_dir_suffix; 
10191     ac_top_srcdir
=$srcdir ;; 
10192   *) # Relative path. 
10193     ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix 
10194     ac_top_srcdir
=$ac_top_builddir$srcdir ;; 
10196 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 
10198 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd` 
10199 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 
10200 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd` 
10201 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 
10205   [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;; 
10206   *) ac_INSTALL
=$ac_top_builddir$INSTALL ;; 
10209   if test x
"$ac_file" != x
-; then 
10210     { echo "$as_me:$LINENO: creating $ac_file" >&5 
10211 echo "$as_me: creating $ac_file" >&6;} 
10214   # Let's still pretend it is `configure' which instantiates (i.e., don't 
10215   # use $as_me), people would be surprised to read: 
10216   #    /* config.h.  Generated by config.status.  */ 
10217   if test x
"$ac_file" = x
-; then 
10220     configure_input
="$ac_file.  " 
10222   configure_input
=$configure_input"Generated from `echo $ac_file_in | 
10223                                      sed 's,.*/,,'` by configure." 
10225   # First look for the input files in the build tree, otherwise in the 
10227   ac_file_inputs
=`IFS=: 
10228     for f in $ac_file_in; do 
10230       -) echo $tmp/stdin ;; 
10232          # Absolute (can't be DOS-style, as IFS=:) 
10233          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
10234 echo "$as_me: error: cannot find input file: $f" >&2;} 
10235    { (exit 1); exit 1; }; } 
10238          if test -f "$f"; then 
10241          elif test -f "$srcdir/$f"; then 
10246            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
10247 echo "$as_me: error: cannot find input file: $f" >&2;} 
10248    { (exit 1); exit 1; }; } 
10251     done` || { (exit 1); exit 1; } 
10253 cat >>$CONFIG_STATUS <<_ACEOF 
10257 cat >>$CONFIG_STATUS <<\_ACEOF
 
10259 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
 
10260 s
,@configure_input@
,$configure_input,;t t
 
10261 s
,@srcdir@
,$ac_srcdir,;t t
 
10262 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
 
10263 s
,@top_srcdir@
,$ac_top_srcdir,;t t
 
10264 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
 
10265 s
,@builddir@
,$ac_builddir,;t t
 
10266 s
,@abs_builddir@
,$ac_abs_builddir,;t t
 
10267 s
,@top_builddir@
,$ac_top_builddir,;t t
 
10268 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
 
10269 s
,@INSTALL@
,$ac_INSTALL,;t t
 
10270 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 
10272   if test x"$ac_file" != x-; then 
10273     mv $tmp/out $ac_file 
10281 cat >>$CONFIG_STATUS <<\_ACEOF 
10284 # CONFIG_HEADER section. 
10287 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where 
10288 # NAME is the cpp macro being defined and VALUE is the value it is being given. 
10290 # ac_d sets the value in "#define NAME VALUE" lines. 
10291 ac_dA
='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)' 
10292 ac_dB
='[        ].*$,\1#\2' 
10295 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 
10296 ac_uA
='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)' 
10297 ac_uB
='$,\1#\2define\3' 
10301 for ac_file 
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue 
10302   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 
10304   - | *:- | *:-:* ) # input from stdin 
10306         ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'` 
10307         ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;; 
10308   *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'` 
10309         ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;; 
10310   * )   ac_file_in
=$ac_file.
in ;; 
10313   test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5 
10314 echo "$as_me: creating $ac_file" >&6;} 
10316   # First look for the input files in the build tree, otherwise in the 
10318   ac_file_inputs
=`IFS=: 
10319     for f in $ac_file_in; do 
10321       -) echo $tmp/stdin ;; 
10323          # Absolute (can't be DOS-style, as IFS=:) 
10324          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
10325 echo "$as_me: error: cannot find input file: $f" >&2;} 
10326    { (exit 1); exit 1; }; } 
10329          if test -f "$f"; then 
10332          elif test -f "$srcdir/$f"; then 
10337            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
10338 echo "$as_me: error: cannot find input file: $f" >&2;} 
10339    { (exit 1); exit 1; }; } 
10342     done` || { (exit 1); exit 1; } 
10343   # Remove the trailing spaces. 
10344   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in 
10348 # Transform confdefs.h into two sed scripts, `conftest.defines' and 
10349 # `conftest.undefs', that substitutes the proper values into 
10350 # config.h.in to produce config.h.  The first handles `#define' 
10351 # templates, and the second `#undef' templates. 
10352 # And first: Protect against being on the right side of a sed subst in 
10353 # config.status.  Protect against being in an unquoted here document 
10354 # in config.status. 
10355 rm -f conftest.defines conftest.undefs
 
10356 # Using a here document instead of a string reduces the quoting nightmare. 
10357 # Putting comments in sed scripts is not portable. 
10359 # `end' is used to avoid that the second main sed command (meant for 
10360 # 0-ary CPP macros) applies to n-ary macro definitions. 
10361 # See the Autoconf documentation for `clear'. 
10362 cat >confdef2sed.
sed <<\_ACEOF
 
10367 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 
10369 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 
10372 # If some macros were called several times there might be several times 
10373 # the same #defines, which is useless.  Nevertheless, we may not want to 
10374 # sort them, since we want the *last* AC-DEFINE to be honored. 
10375 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 
10376 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 
10377 rm -f confdef2sed.sed 
10379 # This sed command replaces #undef with comments.  This is necessary, for 
10380 # example, in the case of _POSIX_SOURCE, which is predefined and required 
10381 # on some systems where configure will not decide to define it. 
10382 cat >>conftest.undefs <<\_ACEOF 
10383 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 
10386 # Break up conftest.defines because some shells have a limit on the size 
10387 # of here documents, and old seds have small limits too (100 cmds). 
10388 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 
10389 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 
10390 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 
10391 echo '  :' >>$CONFIG_STATUS 
10392 rm -f conftest.tail 
10393 while grep . conftest.defines >/dev/null 
10395   # Write a limited-size here document to $tmp/defines.sed. 
10396   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 
10397   # Speed up: don't consider the non `#define' lines. 
10398   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS 
10399   # Work around the forget-to-reset-the-flag bug. 
10400   echo 't clr' >>$CONFIG_STATUS 
10401   echo ': clr' >>$CONFIG_STATUS 
10402   sed ${ac_max_here_lines}q conftest.defines 
>>$CONFIG_STATUS 
10404   sed -f $tmp/defines.sed $tmp/in >$tmp/out 
10406   mv $tmp/out $tmp/in 
10408   sed 1,${ac_max_here_lines}d conftest.defines 
>conftest.
tail 
10409   rm -f conftest.defines
 
10410   mv conftest.
tail conftest.defines
 
10412 rm -f conftest.defines
 
10413 echo '  fi # grep' >>$CONFIG_STATUS 
10414 echo >>$CONFIG_STATUS 
10416 # Break up conftest.undefs because some shells have a limit on the size 
10417 # of here documents, and old seds have small limits too (100 cmds). 
10418 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS 
10419 rm -f conftest.
tail 
10420 while grep . conftest.undefs 
>/dev
/null
 
10422   # Write a limited-size here document to $tmp/undefs.sed. 
10423   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 
10424   # Speed up: don't consider the non 
`#undef' 
10425   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS 
10426   # Work around the forget-to-reset-the-flag bug. 
10427   echo 't clr' >>$CONFIG_STATUS 
10428   echo ': clr' >>$CONFIG_STATUS 
10429   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 
10431   sed -f $tmp/undefs.sed $tmp/in >$tmp/out 
10433   mv $tmp/out $tmp/in 
10435   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 
10436   rm -f conftest.undefs 
10437   mv conftest.tail conftest.undefs 
10439 rm -f conftest.undefs 
10441 cat >>$CONFIG_STATUS <<\_ACEOF 
10442   # Let's still pretend it is `configure
' which instantiates (i.e., don't
 
10443   # use $as_me), people would be surprised to read: 
10444   #    /* config.h.  Generated by config.status.  */ 
10445   if test x
"$ac_file" = x
-; then 
10446     echo "/* Generated by configure.  */" >$tmp/config.h
 
10448     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 
10450   cat $tmp/in >>$tmp/config.h
 
10452   if test x
"$ac_file" != x
-; then 
10453     if diff $ac_file $tmp/config.h 
>/dev
/null 
2>&1; then 
10454       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
10455 echo "$as_me: $ac_file is unchanged" >&6;} 
10457       ac_dir
=`(dirname "$ac_file") 2>/dev/null || 
10458 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
10459          X"$ac_file" : 'X\(//\)[^/]' \| \ 
10460          X"$ac_file" : 'X\(//\)$' \| \ 
10461          X"$ac_file" : 'X\(/\)' \| \ 
10462          .     : '\(.\)' 2>/dev/null || 
10464     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
10465           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
10466           /^X\(\/\/\)$/{ s//\1/; q; } 
10467           /^X\(\/\).*/{ s//\1/; q; } 
10469       { if $as_mkdir_p; then 
10474     while test ! -d "$as_dir"; do 
10475       as_dirs
="$as_dir $as_dirs" 
10476       as_dir
=`(dirname "$as_dir") 2>/dev/null || 
10477 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
10478          X"$as_dir" : 'X\(//\)[^/]' \| \ 
10479          X"$as_dir" : 'X\(//\)$' \| \ 
10480          X"$as_dir" : 'X\(/\)' \| \ 
10481          .     : '\(.\)' 2>/dev/null || 
10483     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
10484           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
10485           /^X\(\/\/\)$/{ s//\1/; q; } 
10486           /^X\(\/\).*/{ s//\1/; q; } 
10489     test ! -n "$as_dirs" || mkdir $as_dirs 
10490   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
10491 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
10492    { (exit 1); exit 1; }; }; } 
10495       mv $tmp/config.h 
$ac_file 
10499     rm -f $tmp/config.h
 
10504 cat >>$CONFIG_STATUS <<\_ACEOF
 
10506 { (exit 0); exit 0; } 
10508 chmod +x 
$CONFIG_STATUS 
10509 ac_clean_files
=$ac_clean_files_save 
10512 # configure is writing to config.log, and then calls config.status. 
10513 # config.status does its own redirection, appending to config.log. 
10514 # Unfortunately, on DOS this fails, as config.log is still kept open 
10515 # by configure, so config.status won't be able to write to it; its 
10516 # output is simply discarded.  So we exec the FD to /dev/null, 
10517 # effectively closing config.log, so it can be properly (re)opened and 
10518 # appended to by config.status.  When coming back to configure, we 
10519 # need to make the FD available again. 
10520 if test "$no_create" != yes; then 
10522   ac_config_status_args
= 
10523   test "$silent" = yes && 
10524     ac_config_status_args
="$ac_config_status_args --quiet" 
10526   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
 
10528   # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
10529   # would make configure fail if this is the last instruction. 
10530   $ac_cs_success || { (exit 1); exit 1; } 
10534 abs_srcdir
="`cd $srcdir && pwd`" 
10535 abs_builddir
="`pwd`" 
10536 if test "$abs_srcdir" != "$abs_builddir"; then 
10537   ${MAKE:-make} mkdir-init