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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 
1647 ac_cpp
='$CPP $CPPFLAGS' 
1648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
1649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
1650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
1651 if test -n "$ac_tool_prefix"; then 
1652   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
1653 set dummy 
${ac_tool_prefix}gcc
; ac_word
=$2 
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1656 if test "${ac_cv_prog_CC+set}" = set; then 
1657   echo $ECHO_N "(cached) $ECHO_C" >&6 
1659   if test -n "$CC"; then 
1660   ac_cv_prog_CC
="$CC" # Let the user override the test. 
1662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1666   test -z "$as_dir" && as_dir
=.
 
1667   for ac_exec_ext 
in '' $ac_executable_extensions; do 
1668   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
1669     ac_cv_prog_CC
="${ac_tool_prefix}gcc" 
1670     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1679 if test -n "$CC"; then 
1680   echo "$as_me:$LINENO: result: $CC" >&5 
1681 echo "${ECHO_T}$CC" >&6 
1683   echo "$as_me:$LINENO: result: no" >&5 
1684 echo "${ECHO_T}no" >&6 
1688 if test -z "$ac_cv_prog_CC"; then 
1690   # Extract the first word of "gcc", so it can be a program name with args. 
1691 set dummy gcc
; ac_word
=$2 
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1694 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
1695   echo $ECHO_N "(cached) $ECHO_C" >&6 
1697   if test -n "$ac_ct_CC"; then 
1698   ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test. 
1700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1704   test -z "$as_dir" && as_dir
=.
 
1705   for ac_exec_ext 
in '' $ac_executable_extensions; do 
1706   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
1707     ac_cv_prog_ac_ct_CC
="gcc" 
1708     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1716 ac_ct_CC
=$ac_cv_prog_ac_ct_CC 
1717 if test -n "$ac_ct_CC"; then 
1718   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
1719 echo "${ECHO_T}$ac_ct_CC" >&6 
1721   echo "$as_me:$LINENO: result: no" >&5 
1722 echo "${ECHO_T}no" >&6 
1730 if test -z "$CC"; then 
1731   if test -n "$ac_tool_prefix"; then 
1732   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
1733 set dummy 
${ac_tool_prefix}cc
; ac_word
=$2 
1734 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1736 if test "${ac_cv_prog_CC+set}" = set; then 
1737   echo $ECHO_N "(cached) $ECHO_C" >&6 
1739   if test -n "$CC"; then 
1740   ac_cv_prog_CC
="$CC" # Let the user override the test. 
1742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1746   test -z "$as_dir" && as_dir
=.
 
1747   for ac_exec_ext 
in '' $ac_executable_extensions; do 
1748   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
1749     ac_cv_prog_CC
="${ac_tool_prefix}cc" 
1750     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1759 if test -n "$CC"; then 
1760   echo "$as_me:$LINENO: result: $CC" >&5 
1761 echo "${ECHO_T}$CC" >&6 
1763   echo "$as_me:$LINENO: result: no" >&5 
1764 echo "${ECHO_T}no" >&6 
1768 if test -z "$ac_cv_prog_CC"; then 
1770   # Extract the first word of "cc", so it can be a program name with args. 
1771 set dummy cc
; 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_ac_ct_CC+set}" = set; then 
1775   echo $ECHO_N "(cached) $ECHO_C" >&6 
1777   if test -n "$ac_ct_CC"; then 
1778   ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="cc" 
1788     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1796 ac_ct_CC
=$ac_cv_prog_ac_ct_CC 
1797 if test -n "$ac_ct_CC"; then 
1798   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
1799 echo "${ECHO_T}$ac_ct_CC" >&6 
1801   echo "$as_me:$LINENO: result: no" >&5 
1802 echo "${ECHO_T}no" >&6 
1811 if test -z "$CC"; then 
1812   # Extract the first word of "cc", so it can be a program name with args. 
1813 set dummy cc
; ac_word
=$2 
1814 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1816 if test "${ac_cv_prog_CC+set}" = set; then 
1817   echo $ECHO_N "(cached) $ECHO_C" >&6 
1819   if test -n "$CC"; then 
1820   ac_cv_prog_CC
="$CC" # Let the user override the test. 
1823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1827   test -z "$as_dir" && as_dir
=.
 
1828   for ac_exec_ext 
in '' $ac_executable_extensions; do 
1829   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
1830     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
1831        ac_prog_rejected
=yes 
1835     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1841 if test $ac_prog_rejected = yes; then 
1842   # We found a bogon in the path, so make sure we never use it. 
1843   set dummy 
$ac_cv_prog_CC 
1845   if test $# != 0; then 
1846     # We chose a different compiler from the bogus one. 
1847     # However, it has the same basename, so the bogon will be chosen 
1848     # first if we set CC to just the basename; use the full file name. 
1850     ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@" 
1856 if test -n "$CC"; then 
1857   echo "$as_me:$LINENO: result: $CC" >&5 
1858 echo "${ECHO_T}$CC" >&6 
1860   echo "$as_me:$LINENO: result: no" >&5 
1861 echo "${ECHO_T}no" >&6 
1865 if test -z "$CC"; then 
1866   if test -n "$ac_tool_prefix"; then 
1869     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
1870 set dummy 
$ac_tool_prefix$ac_prog; ac_word
=$2 
1871 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1873 if test "${ac_cv_prog_CC+set}" = set; then 
1874   echo $ECHO_N "(cached) $ECHO_C" >&6 
1876   if test -n "$CC"; then 
1877   ac_cv_prog_CC
="$CC" # Let the user override the test. 
1879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1883   test -z "$as_dir" && as_dir
=.
 
1884   for ac_exec_ext 
in '' $ac_executable_extensions; do 
1885   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
1886     ac_cv_prog_CC
="$ac_tool_prefix$ac_prog" 
1887     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1896 if test -n "$CC"; then 
1897   echo "$as_me:$LINENO: result: $CC" >&5 
1898 echo "${ECHO_T}$CC" >&6 
1900   echo "$as_me:$LINENO: result: no" >&5 
1901 echo "${ECHO_T}no" >&6 
1904     test -n "$CC" && break 
1907 if test -z "$CC"; then 
1911   # Extract the first word of "$ac_prog", so it can be a program name with args. 
1912 set dummy 
$ac_prog; ac_word
=$2 
1913 echo "$as_me:$LINENO: checking for $ac_word" >&5 
1914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
1915 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
1916   echo $ECHO_N "(cached) $ECHO_C" >&6 
1918   if test -n "$ac_ct_CC"; then 
1919   ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test. 
1921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
1925   test -z "$as_dir" && as_dir
=.
 
1926   for ac_exec_ext 
in '' $ac_executable_extensions; do 
1927   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
1928     ac_cv_prog_ac_ct_CC
="$ac_prog" 
1929     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
1937 ac_ct_CC
=$ac_cv_prog_ac_ct_CC 
1938 if test -n "$ac_ct_CC"; then 
1939   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
1940 echo "${ECHO_T}$ac_ct_CC" >&6 
1942   echo "$as_me:$LINENO: result: no" >&5 
1943 echo "${ECHO_T}no" >&6 
1946   test -n "$ac_ct_CC" && break 
1955 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
1956 See \`config.log' for more details." >&5 
1957 echo "$as_me: error: no acceptable C compiler found in \$PATH 
1958 See \`config.log' for more details." >&2;} 
1959    { (exit 1); exit 1; }; } 
1961 # Provide some information about the compiler. 
1962 echo "$as_me:$LINENO:" \
 
1963      "checking for C compiler version" >&5 
1964 ac_compiler
=`set X $ac_compile; echo $2` 
1965 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
1966   (eval $ac_compiler --version </dev
/null 
>&5) 2>&5 
1968   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
1969   (exit $ac_status); } 
1970 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
1971   (eval $ac_compiler -v </dev
/null 
>&5) 2>&5 
1973   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
1974   (exit $ac_status); } 
1975 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
1976   (eval $ac_compiler -V </dev
/null 
>&5) 2>&5 
1978   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
1979   (exit $ac_status); } 
1981 cat >conftest.
$ac_ext <<_ACEOF 
1982 #line $LINENO "configure" 
1985 cat confdefs.h 
>>conftest.
$ac_ext 
1986 cat >>conftest.
$ac_ext <<_ACEOF 
1987 /* end confdefs.h.  */ 
1997 ac_clean_files_save
=$ac_clean_files 
1998 ac_clean_files
="$ac_clean_files a.out a.exe b.out" 
1999 # Try to create an executable without -o first, disregard a.out. 
2000 # It will help us diagnose broken compilers, and finding out an intuition 
2002 echo "$as_me:$LINENO: checking for C compiler default output" >&5 
2003 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 
2004 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
2005 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 
2006   (eval $ac_link_default) 2>&5 
2008   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2009   (exit $ac_status); }; then 
2010   # Find the output, starting from the most likely.  This scheme is 
2011 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 
2014 # Be careful to initialize this variable, since it used to be cached. 
2015 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 
2017 # b.out is created by i960 compilers. 
2018 for ac_file 
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
 
2020   test -f "$ac_file" || continue 
2022     *.
$ac_ext | *.xcoff 
| *.tds 
| *.d 
| *.pdb 
| *.xSYM 
| *.bb 
| *.bbg 
| *.o 
| *.obj 
) 
2025         # This is the source file. 
2028         # We found the default executable, but exeext='' is most 
2032         ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'` 
2033         # FIXME: I believe we export ac_cv_exeext for Libtool, 
2034         # but it would be cool to find out if it's true.  Does anybody 
2035         # maintain Libtool? --akim. 
2043   echo "$as_me: failed program was:" >&5 
2044 sed 's/^/| /' conftest.
$ac_ext >&5 
2046 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 
2047 See \`config.log' for more details." >&5 
2048 echo "$as_me: error: C compiler cannot create executables 
2049 See \`config.log' for more details." >&2;} 
2050    { (exit 77); exit 77; }; } 
2053 ac_exeext
=$ac_cv_exeext 
2054 echo "$as_me:$LINENO: result: $ac_file" >&5 
2055 echo "${ECHO_T}$ac_file" >&6 
2057 # Check the compiler produces executables we can run.  If not, either 
2058 # the compiler is broken, or we cross compile. 
2059 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
2060 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 
2061 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
2062 # If not cross compiling, check that we can run a simple program. 
2063 if test "$cross_compiling" != yes; then 
2064   if { ac_try
='./$ac_file' 
2065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2068   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2069   (exit $ac_status); }; }; then 
2072     if test "$cross_compiling" = maybe
; then 
2075         { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
2076 If you meant to cross compile, use \`--host'. 
2077 See \`config.log' for more details." >&5 
2078 echo "$as_me: error: cannot run C compiled programs. 
2079 If you meant to cross compile, use \`--host'. 
2080 See \`config.log' for more details." >&2;} 
2081    { (exit 1); exit 1; }; } 
2085 echo "$as_me:$LINENO: result: yes" >&5 
2086 echo "${ECHO_T}yes" >&6 
2088 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
 
2089 ac_clean_files
=$ac_clean_files_save 
2090 # Check the compiler produces executables we can run.  If not, either 
2091 # the compiler is broken, or we cross compile. 
2092 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
2093 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 
2094 echo "$as_me:$LINENO: result: $cross_compiling" >&5 
2095 echo "${ECHO_T}$cross_compiling" >&6 
2097 echo "$as_me:$LINENO: checking for suffix of executables" >&5 
2098 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 
2099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
2100   (eval $ac_link) 2>&5 
2102   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2103   (exit $ac_status); }; then 
2104   # If both `conftest.exe' and `conftest' are `present' (well, observable) 
2105 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
2106 # work properly (i.e., refer to `conftest.exe'), while it won't with 
2108 for ac_file 
in conftest.exe conftest conftest.
*; do 
2109   test -f "$ac_file" || continue 
2111     *.
$ac_ext | *.xcoff 
| *.tds 
| *.d 
| *.pdb 
| *.xSYM 
| *.bb 
| *.bbg 
| *.o 
| *.obj 
) ;; 
2112     *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'` 
2119   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
2120 See \`config.log' for more details." >&5 
2121 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
2122 See \`config.log' for more details." >&2;} 
2123    { (exit 1); exit 1; }; } 
2126 rm -f conftest
$ac_cv_exeext 
2127 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
2128 echo "${ECHO_T}$ac_cv_exeext" >&6 
2130 rm -f conftest.
$ac_ext 
2131 EXEEXT
=$ac_cv_exeext 
2133 echo "$as_me:$LINENO: checking for suffix of object files" >&5 
2134 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 
2135 if test "${ac_cv_objext+set}" = set; then 
2136   echo $ECHO_N "(cached) $ECHO_C" >&6 
2138   cat >conftest.
$ac_ext <<_ACEOF 
2139 #line $LINENO "configure" 
2142 cat confdefs.h 
>>conftest.
$ac_ext 
2143 cat >>conftest.
$ac_ext <<_ACEOF 
2144 /* end confdefs.h.  */ 
2154 rm -f conftest.o conftest.obj
 
2155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2156   (eval $ac_compile) 2>&5 
2158   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2159   (exit $ac_status); }; then 
2160   for ac_file 
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 
2162     *.
$ac_ext | *.xcoff 
| *.tds 
| *.d 
| *.pdb 
| *.xSYM 
| *.bb 
| *.bbg 
) ;; 
2163     *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'` 
2168   echo "$as_me: failed program was:" >&5 
2169 sed 's/^/| /' conftest.
$ac_ext >&5 
2171 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
2172 See \`config.log' for more details." >&5 
2173 echo "$as_me: error: cannot compute suffix of object files: cannot compile 
2174 See \`config.log' for more details." >&2;} 
2175    { (exit 1); exit 1; }; } 
2178 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext 
2180 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
2181 echo "${ECHO_T}$ac_cv_objext" >&6 
2182 OBJEXT
=$ac_cv_objext 
2184 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
2185 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 
2186 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
2187   echo $ECHO_N "(cached) $ECHO_C" >&6 
2189   cat >conftest.
$ac_ext <<_ACEOF 
2190 #line $LINENO "configure" 
2193 cat confdefs.h 
>>conftest.
$ac_ext 
2194 cat >>conftest.
$ac_ext <<_ACEOF 
2195 /* end confdefs.h.  */ 
2208 rm -f conftest.
$ac_objext 
2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2210   (eval $ac_compile) 2>&5 
2212   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2213   (exit $ac_status); } && 
2214          { ac_try
='test -s conftest.$ac_objext' 
2215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2218   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2219   (exit $ac_status); }; }; then 
2222   echo "$as_me: failed program was:" >&5 
2223 sed 's/^/| /' conftest.
$ac_ext >&5 
2227 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2228 ac_cv_c_compiler_gnu
=$ac_compiler_gnu 
2231 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
2232 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 
2233 GCC
=`test $ac_compiler_gnu = yes && echo yes` 
2234 ac_test_CFLAGS
=${CFLAGS+set} 
2235 ac_save_CFLAGS
=$CFLAGS 
2237 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
2238 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 
2239 if test "${ac_cv_prog_cc_g+set}" = set; then 
2240   echo $ECHO_N "(cached) $ECHO_C" >&6 
2242   cat >conftest.
$ac_ext <<_ACEOF 
2243 #line $LINENO "configure" 
2246 cat confdefs.h 
>>conftest.
$ac_ext 
2247 cat >>conftest.
$ac_ext <<_ACEOF 
2248 /* end confdefs.h.  */ 
2258 rm -f conftest.
$ac_objext 
2259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2260   (eval $ac_compile) 2>&5 
2262   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2263   (exit $ac_status); } && 
2264          { ac_try
='test -s conftest.$ac_objext' 
2265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2268   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2269   (exit $ac_status); }; }; then 
2272   echo "$as_me: failed program was:" >&5 
2273 sed 's/^/| /' conftest.
$ac_ext >&5 
2277 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2279 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
2280 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 
2281 if test "$ac_test_CFLAGS" = set; then 
2282   CFLAGS
=$ac_save_CFLAGS 
2283 elif test $ac_cv_prog_cc_g = yes; then 
2284   if test "$GCC" = yes; then 
2290   if test "$GCC" = yes; then 
2296 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 
2297 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 
2298 if test "${ac_cv_prog_cc_stdc+set}" = set; then 
2299   echo $ECHO_N "(cached) $ECHO_C" >&6 
2301   ac_cv_prog_cc_stdc
=no
 
2303 cat >conftest.
$ac_ext <<_ACEOF 
2304 #line $LINENO "configure" 
2307 cat confdefs.h 
>>conftest.
$ac_ext 
2308 cat >>conftest.
$ac_ext <<_ACEOF 
2309 /* end confdefs.h.  */ 
2312 #include <sys/types.h> 
2313 #include <sys/stat.h> 
2314 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
2315 struct buf { int x; }; 
2316 FILE * (*rcsopen) (struct buf *, struct stat *, int); 
2317 static char *e (p, i) 
2323 static char *f (char * (*g) (char **, int), char **p, ...) 
2328   s = g (p, va_arg (v,int)); 
2332 int test (int i, double x); 
2333 struct s1 {int (*f) (int a);}; 
2334 struct s2 {int (*f) (double a);}; 
2335 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 
2341 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; 
2346 # Don't try gcc -ansi; that turns off useful extensions and 
2347 # breaks some systems' header files. 
2348 # AIX                   -qlanglvl=ansi 
2349 # Ultrix and OSF/1      -std1 
2350 # HP-UX 10.20 and later -Ae 
2351 # HP-UX older versions  -Aa -D_HPUX_SOURCE 
2352 # SVR4                  -Xc -D__EXTENSIONS__ 
2353 for ac_arg 
in "" -qlanglvl=ansi 
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 
2355   CC
="$ac_save_CC $ac_arg" 
2356   rm -f conftest.
$ac_objext 
2357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2358   (eval $ac_compile) 2>&5 
2360   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2361   (exit $ac_status); } && 
2362          { ac_try
='test -s conftest.$ac_objext' 
2363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2366   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2367   (exit $ac_status); }; }; then 
2368   ac_cv_prog_cc_stdc
=$ac_arg 
2371   echo "$as_me: failed program was:" >&5 
2372 sed 's/^/| /' conftest.
$ac_ext >&5 
2375 rm -f conftest.
$ac_objext 
2377 rm -f conftest.
$ac_ext conftest.
$ac_objext 
2382 case "x$ac_cv_prog_cc_stdc" in 
2384     echo "$as_me:$LINENO: result: none needed" >&5 
2385 echo "${ECHO_T}none needed" >&6 ;; 
2387     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 
2388 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 
2389     CC
="$CC $ac_cv_prog_cc_stdc" ;; 
2392 # Some people use a C++ compiler to compile C.  Since we use `exit', 
2393 # in C++ we need to declare it.  In case someone uses the same compiler 
2394 # for both compiling C and C++ we need to have the C++ compiler decide 
2395 # the declaration of exit, since it's the most demanding environment. 
2396 cat >conftest.
$ac_ext <<_ACEOF 
2401 rm -f conftest.
$ac_objext 
2402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2403   (eval $ac_compile) 2>&5 
2405   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2406   (exit $ac_status); } && 
2407          { ac_try
='test -s conftest.$ac_objext' 
2408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2411   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2412   (exit $ac_status); }; }; then 
2413   for ac_declaration 
in \
 
2415    '#include <stdlib.h>' \
 
2416    'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2417    'extern "C" void std::exit (int); using std::exit;' \
 
2418    'extern "C" void exit (int) throw ();' \
 
2419    'extern "C" void exit (int);' \
 
2422   cat >conftest.
$ac_ext <<_ACEOF 
2423 #line $LINENO "configure" 
2426 cat confdefs.h 
>>conftest.
$ac_ext 
2427 cat >>conftest.
$ac_ext <<_ACEOF 
2428 /* end confdefs.h.  */ 
2439 rm -f conftest.
$ac_objext 
2440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2441   (eval $ac_compile) 2>&5 
2443   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2444   (exit $ac_status); } && 
2445          { ac_try
='test -s conftest.$ac_objext' 
2446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2449   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2450   (exit $ac_status); }; }; then 
2453   echo "$as_me: failed program was:" >&5 
2454 sed 's/^/| /' conftest.
$ac_ext >&5 
2458 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2459   cat >conftest.
$ac_ext <<_ACEOF 
2460 #line $LINENO "configure" 
2463 cat confdefs.h 
>>conftest.
$ac_ext 
2464 cat >>conftest.
$ac_ext <<_ACEOF 
2465 /* end confdefs.h.  */ 
2475 rm -f conftest.
$ac_objext 
2476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2477   (eval $ac_compile) 2>&5 
2479   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2480   (exit $ac_status); } && 
2481          { ac_try
='test -s conftest.$ac_objext' 
2482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2485   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2486   (exit $ac_status); }; }; then 
2489   echo "$as_me: failed program was:" >&5 
2490 sed 's/^/| /' conftest.
$ac_ext >&5 
2493 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2496 if test -n "$ac_declaration"; then 
2497   echo '#ifdef __cplusplus' >>confdefs.h
 
2498   echo $ac_declaration      >>confdefs.h
 
2499   echo '#endif'             >>confdefs.h
 
2503   echo "$as_me: failed program was:" >&5 
2504 sed 's/^/| /' conftest.
$ac_ext >&5 
2507 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2509 ac_cpp
='$CPP $CPPFLAGS' 
2510 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
2511 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
2512 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
2514     echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5 
2515 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6 
2516 if test "${wx_cv_c_exto+set}" = set; then 
2517   echo $ECHO_N "(cached) $ECHO_C" >&6 
2519   cat >conftest.
$ac_ext <<_ACEOF 
2520 #line $LINENO "configure" 
2523 cat confdefs.h 
>>conftest.
$ac_ext 
2524 cat >>conftest.
$ac_ext <<_ACEOF 
2525 /* end confdefs.h.  */ 
2535 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
 
2536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2537   (eval $ac_compile) 2>&5 
2539   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2540   (exit $ac_status); }; then 
2541   for ac_file 
in `(ls conftest.* 2>/dev/null)`; do 
2544             wx_cv_c_exto
="-ext o" 
2551   { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile 
2552 See \`config.log' for more details." >&5 
2553 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile 
2554 See \`config.log' for more details." >&2;} 
2555    { (exit 1); exit 1; }; } 
2559 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext 
2562 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5 
2563 echo "${ECHO_T}$wx_cv_c_exto" >&6 
2564 if test "x$wx_cv_c_exto" '!=' "x"; then 
2565     if test "c" = "c"; then 
2566         CFLAGS
="$wx_cv_c_exto $CFLAGS" 
2568     if test "c" = "cxx"; then 
2569         CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS" 
2573         if test "x$wx_cv_c_exto" '!=' "x"; then 
2574         unset ac_cv_prog_cc_g
 
2575         ac_test_CFLAGS
=${CFLAGS+set} 
2576 ac_save_CFLAGS
=$CFLAGS 
2578 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
2579 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 
2580 if test "${ac_cv_prog_cc_g+set}" = set; then 
2581   echo $ECHO_N "(cached) $ECHO_C" >&6 
2583   cat >conftest.
$ac_ext <<_ACEOF 
2584 #line $LINENO "configure" 
2587 cat confdefs.h 
>>conftest.
$ac_ext 
2588 cat >>conftest.
$ac_ext <<_ACEOF 
2589 /* end confdefs.h.  */ 
2599 rm -f conftest.
$ac_objext 
2600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2601   (eval $ac_compile) 2>&5 
2603   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2604   (exit $ac_status); } && 
2605          { ac_try
='test -s conftest.$ac_objext' 
2606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2609   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2610   (exit $ac_status); }; }; then 
2613   echo "$as_me: failed program was:" >&5 
2614 sed 's/^/| /' conftest.
$ac_ext >&5 
2618 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2620 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
2621 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 
2622 if test "$ac_test_CFLAGS" = set; then 
2623   CFLAGS
=$ac_save_CFLAGS 
2624 elif test $ac_cv_prog_cc_g = yes; then 
2625   if test "$GCC" = yes; then 
2631   if test "$GCC" = yes; then 
2639 ac_cpp
='$CPP $CPPFLAGS' 
2640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
2641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
2642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
2644 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5 
2645 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6 
2646 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then 
2647   echo $ECHO_N "(cached) $ECHO_C" >&6 
2649   cat >conftest.
$ac_ext <<_ACEOF 
2650 #line $LINENO "configure" 
2653 cat confdefs.h 
>>conftest.
$ac_ext 
2654 cat >>conftest.
$ac_ext <<_ACEOF 
2655 /* end confdefs.h.  */ 
2668 rm -f conftest.
$ac_objext 
2669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2670   (eval $ac_compile) 2>&5 
2672   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2673   (exit $ac_status); } && 
2674          { ac_try
='test -s conftest.$ac_objext' 
2675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2678   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2679   (exit $ac_status); }; }; then 
2680   bakefile_compiler_mwerks
=yes 
2682   echo "$as_me: failed program was:" >&5 
2683 sed 's/^/| /' conftest.
$ac_ext >&5 
2685 bakefile_compiler_mwerks
=no
 
2687 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2688     bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks 
2691 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5 
2692 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6 
2694 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes` 
2696 ac_cpp
='$CPP $CPPFLAGS' 
2697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
2698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
2699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
2703 ac_cpp
='$CPP $CPPFLAGS' 
2704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
2705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
2706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
2708 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5 
2709 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6 
2710 if test "${wx_cv_c_compiler_xlc+set}" = set; then 
2711   echo $ECHO_N "(cached) $ECHO_C" >&6 
2713   cat >conftest.
$ac_ext <<_ACEOF 
2714 #line $LINENO "configure" 
2717 cat confdefs.h 
>>conftest.
$ac_ext 
2718 cat >>conftest.
$ac_ext <<_ACEOF 
2719 /* end confdefs.h.  */ 
2732 rm -f conftest.
$ac_objext 
2733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
2734   (eval $ac_compile) 2>&5 
2736   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2737   (exit $ac_status); } && 
2738          { ac_try
='test -s conftest.$ac_objext' 
2739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
2742   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
2743   (exit $ac_status); }; }; then 
2746   echo "$as_me: failed program was:" >&5 
2747 sed 's/^/| /' conftest.
$ac_ext >&5 
2751 rm -f conftest.
$ac_objext conftest.
$ac_ext 
2752     wx_cv_c_compiler_xlc
=$wx_compiler_xlc 
2755 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5 
2756 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6 
2758 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes` 
2760 ac_cpp
='$CPP $CPPFLAGS' 
2761 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
2762 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
2763 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
2769 # Check whether --enable-shared or --disable-shared was given. 
2770 if test "${enable_shared+set}" = set; then 
2771   enableval
="$enable_shared" 
2772   p
=${PACKAGE-default} 
2774 yes) enable_shared
=yes ;; 
2775 no
) enable_shared
=no 
;; 
2778   # Look at the argument we got.  We use all the common list separators. 
2779   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:," 
2780   for pkg 
in $enableval; do 
2781     if test "X$pkg" = "X$p"; then 
2791 # Check whether --enable-static or --disable-static was given. 
2792 if test "${enable_static+set}" = set; then 
2793   enableval
="$enable_static" 
2794   p
=${PACKAGE-default} 
2796 yes) enable_static
=yes ;; 
2797 no
) enable_static
=no 
;; 
2800   # Look at the argument we got.  We use all the common list separators. 
2801   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:," 
2802   for pkg 
in $enableval; do 
2803     if test "X$pkg" = "X$p"; then 
2813 # Check whether --enable-fast-install or --disable-fast-install was given. 
2814 if test "${enable_fast_install+set}" = set; then 
2815   enableval
="$enable_fast_install" 
2816   p
=${PACKAGE-default} 
2818 yes) enable_fast_install
=yes ;; 
2819 no
) enable_fast_install
=no 
;; 
2821   enable_fast_install
=no
 
2822   # Look at the argument we got.  We use all the common list separators. 
2823   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:," 
2824   for pkg 
in $enableval; do 
2825     if test "X$pkg" = "X$p"; then 
2826       enable_fast_install
=yes 
2833   enable_fast_install
=yes 
2835 # Make sure we can run config.sub. 
2836 $ac_config_sub sun4 
>/dev
/null 
2>&1 || 
2837   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 
2838 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 
2839    { (exit 1); exit 1; }; } 
2841 echo "$as_me:$LINENO: checking build system type" >&5 
2842 echo $ECHO_N "checking build system type... $ECHO_C" >&6 
2843 if test "${ac_cv_build+set}" = set; then 
2844   echo $ECHO_N "(cached) $ECHO_C" >&6 
2846   ac_cv_build_alias
=$build_alias 
2847 test -z "$ac_cv_build_alias" && 
2848   ac_cv_build_alias
=`$ac_config_guess` 
2849 test -z "$ac_cv_build_alias" && 
2850   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
2851 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
2852    { (exit 1); exit 1; }; } 
2853 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` || 
2854   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 
2855 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 
2856    { (exit 1); exit 1; }; } 
2859 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
2860 echo "${ECHO_T}$ac_cv_build" >&6 
2862 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
2863 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
2864 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
2867 echo "$as_me:$LINENO: checking host system type" >&5 
2868 echo $ECHO_N "checking host system type... $ECHO_C" >&6 
2869 if test "${ac_cv_host+set}" = set; then 
2870   echo $ECHO_N "(cached) $ECHO_C" >&6 
2872   ac_cv_host_alias
=$host_alias 
2873 test -z "$ac_cv_host_alias" && 
2874   ac_cv_host_alias
=$ac_cv_build_alias 
2875 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` || 
2876   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
2877 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 
2878    { (exit 1); exit 1; }; } 
2881 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
2882 echo "${ECHO_T}$ac_cv_host" >&6 
2884 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
2885 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
2886 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
2889 # Find the correct PATH separator.  Usually this is `:', but 
2890 # DJGPP uses `;' like DOS. 
2891 if test "X${PATH_SEPARATOR+set}" != Xset
; then 
2892   UNAME
=${UNAME-`uname 2>/dev/null`} 
2894     *-DOS) lt_cv_sys_path_separator
=';' ;; 
2895     *)     lt_cv_sys_path_separator
=':' ;; 
2897   PATH_SEPARATOR
=$lt_cv_sys_path_separator 
2901 # Check whether --with-gnu-ld or --without-gnu-ld was given. 
2902 if test "${with_gnu_ld+set}" = set; then 
2903   withval
="$with_gnu_ld" 
2904   test "$withval" = no 
|| with_gnu_ld
=yes 
2909 if test "$GCC" = yes; then 
2910   # Check if gcc -print-prog-name=ld gives a path. 
2911   echo "$as_me:$LINENO: checking for ld used by GCC" >&5 
2912 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 
2915     # gcc leaves a trailing carriage return which upsets mingw 
2916     ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 
2918     ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;; 
2921     # Accept absolute paths. 
2922     [\\/]* | [A
-Za-z]:[\\/]*) 
2923       re_direlt
='/[^/][^/]*/\.\./' 
2924       # Canonicalize the path of ld 
2925       ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'` 
2926       while echo $ac_prog | grep "$re_direlt" > /dev
/null 
2>&1; do 
2927         ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"` 
2929       test -z "$LD" && LD
="$ac_prog" 
2932     # If it fails, then pretend we aren't using GCC. 
2936     # If it is relative, then search for the first ld in PATH. 
2940 elif test "$with_gnu_ld" = yes; then 
2941   echo "$as_me:$LINENO: checking for GNU ld" >&5 
2942 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 
2944   echo "$as_me:$LINENO: checking for non-GNU ld" >&5 
2945 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 
2947 if test "${lt_cv_path_LD+set}" = set; then 
2948   echo $ECHO_N "(cached) $ECHO_C" >&6 
2950   if test -z "$LD"; then 
2951   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR 
2952   for ac_dir 
in $PATH; do 
2953     test -z "$ac_dir" && ac_dir
=.
 
2954     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 
2955       lt_cv_path_LD
="$ac_dir/$ac_prog" 
2956       # Check to see if the program is GNU ld.  I'd rather use --version, 
2957       # but apparently some GNU ld's only accept -v. 
2958       # Break only if it was the GNU/non-GNU ld that we prefer. 
2959       if "$lt_cv_path_LD" -v 2>&1 < /dev
/null 
| egrep '(GNU|with BFD)' > /dev
/null
; then 
2960         test "$with_gnu_ld" != no 
&& break 
2962         test "$with_gnu_ld" != yes && break 
2968   lt_cv_path_LD
="$LD" # Let the user override the test with a path. 
2973 if test -n "$LD"; then 
2974   echo "$as_me:$LINENO: result: $LD" >&5 
2975 echo "${ECHO_T}$LD" >&6 
2977   echo "$as_me:$LINENO: result: no" >&5 
2978 echo "${ECHO_T}no" >&6 
2980 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 
2981 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 
2982    { (exit 1); exit 1; }; } 
2983 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 
2984 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 
2985 if test "${lt_cv_prog_gnu_ld+set}" = set; then 
2986   echo $ECHO_N "(cached) $ECHO_C" >&6 
2988   # I'd rather use --version here, but apparently some GNU ld's only accept -v. 
2989 if $LD -v 2>&1 </dev
/null 
| egrep '(GNU|with BFD)' 1>&5; then 
2990   lt_cv_prog_gnu_ld
=yes 
2992   lt_cv_prog_gnu_ld
=no
 
2995 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 
2996 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 
2997 with_gnu_ld
=$lt_cv_prog_gnu_ld 
3000 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 
3001 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 
3002 if test "${lt_cv_ld_reload_flag+set}" = set; then 
3003   echo $ECHO_N "(cached) $ECHO_C" >&6 
3005   lt_cv_ld_reload_flag
='-r' 
3007 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 
3008 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 
3009 reload_flag
=$lt_cv_ld_reload_flag 
3010 test -n "$reload_flag" && reload_flag
=" $reload_flag" 
3012 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 
3013 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 
3014 if test "${lt_cv_path_NM+set}" = set; then 
3015   echo $ECHO_N "(cached) $ECHO_C" >&6 
3017   if test -n "$NM"; then 
3018   # Let the user override the test. 
3021   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR 
3022   for ac_dir 
in $PATH /usr
/ccs
/bin 
/usr
/ucb 
/bin
; do 
3023     test -z "$ac_dir" && ac_dir
=.
 
3024     tmp_nm
=$ac_dir/${ac_tool_prefix}nm
 
3025     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then 
3026       # Check to see if the nm accepts a BSD-compat flag. 
3027       # Adding the `sed 1q' prevents false positives on HP-UX, which says: 
3028       #   nm: unknown option "B" ignored 
3029       # Tru64's nm complains that /dev/null is an invalid object file 
3030       if ($tmp_nm -B /dev
/null 
2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then 
3031         lt_cv_path_NM
="$tmp_nm -B" 
3033       elif ($tmp_nm -p /dev
/null 
2>&1 | sed '1q'; exit 0) | egrep /dev
/null 
>/dev
/null
; then 
3034         lt_cv_path_NM
="$tmp_nm -p" 
3037         lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 
3038         continue # so that we can try to find one that supports BSD flags 
3043   test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
 
3048 echo "$as_me:$LINENO: result: $NM" >&5 
3049 echo "${ECHO_T}$NM" >&6 
3051 echo "$as_me:$LINENO: checking whether ln -s works" >&5 
3052 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 
3054 if test "$LN_S" = "ln -s"; then 
3055   echo "$as_me:$LINENO: result: yes" >&5 
3056 echo "${ECHO_T}yes" >&6 
3058   echo "$as_me:$LINENO: result: no, using $LN_S" >&5 
3059 echo "${ECHO_T}no, using $LN_S" >&6 
3062 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 
3063 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 
3064 if test "${lt_cv_deplibs_check_method+set}" = set; then 
3065   echo $ECHO_N "(cached) $ECHO_C" >&6 
3067   lt_cv_file_magic_cmd
='$MAGIC_CMD' 
3068 lt_cv_file_magic_test_file
= 
3069 lt_cv_deplibs_check_method
='unknown' 
3070 # Need to set the preceding variable on all platforms that support 
3071 # interlibrary dependencies. 
3072 # 'none' -- dependencies not supported. 
3073 # `unknown' -- same as none, but documents that we really don't know. 
3074 # 'pass_all' -- all dependencies passed with no checks. 
3075 # 'test_compile' -- check by making test program. 
3076 # 'file_magic [[regex]]' -- check by looking for files in library path 
3077 # which responds to the $file_magic_cmd with a given egrep regex. 
3078 # If you have `file' or equivalent on your system and you're not sure 
3079 # whether `pass_all' will *always* work, you probably want this one. 
3083   lt_cv_deplibs_check_method
=pass_all
 
3087   lt_cv_deplibs_check_method
=pass_all
 
3091   lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 
3092   lt_cv_file_magic_cmd
='/usr/bin/file -L' 
3093   lt_cv_file_magic_test_file
=/shlib
/libc.so
 
3096 cygwin
* | mingw
* | pw32
*) 
3097   lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?' 
3098   lt_cv_file_magic_cmd
='$OBJDUMP -f' 
3101 darwin
* | rhapsody
*) 
3102   lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library' 
3103   lt_cv_file_magic_cmd
='/usr/bin/file -L' 
3105   rhapsody
* | darwin1.
[012]) 
3106     lt_cv_file_magic_test_file
=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` 
3109     lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib' 
3115   if echo __ELF__ 
| $CC -E - | grep __ELF__ 
> /dev
/null
; then 
3118       # Not sure whether the presence of OpenBSD here was a mistake. 
3119       # Let's accept both of them until this is cleared up. 
3120       lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 
3121       lt_cv_file_magic_cmd
=/usr
/bin
/file 
3122       lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*` 
3126     lt_cv_deplibs_check_method
=pass_all
 
3131   lt_cv_deplibs_check_method
=pass_all
 
3135   lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 
3136   lt_cv_file_magic_cmd
=/usr
/bin
/file 
3137   lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
 
3143     # this will be overridden with pass_all, but let us keep it just in case 
3144     lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" 
3148     *-32|*"-32 ") libmagic
=32-bit;; 
3149     *-n32|*"-n32 ") libmagic
=N32
;; 
3150     *-64|*"-64 ") libmagic
=64-bit;; 
3151     *) libmagic
=never
-match;; 
3153     # this will be overridden with pass_all, but let us keep it just in case 
3154     lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 
3157   lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*` 
3158   lt_cv_deplibs_check_method
=pass_all
 
3161 # This must be Linux ELF. 
3164   alpha
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* ) 
3165     lt_cv_deplibs_check_method
=pass_all 
;; 
3167     # glibc up to 2.1.1 does not perform some relocations on ARM 
3168     lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 
3170   lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so` 
3174   if echo __ELF__ 
| $CC -E - | grep __ELF__ 
> /dev
/null
; then 
3175     lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 
3177     lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$' 
3182   lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 
3183   lt_cv_file_magic_cmd
=/usr
/bin
/file 
3184   lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
 
3188   lt_cv_file_magic_cmd
=/usr
/bin
/file 
3189   lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*` 
3190   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
3191     lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 
3193     lt_cv_deplibs_check_method
='file_magic OpenBSD.* shared library' 
3197 osf3
* | osf4
* | osf5
*) 
3198   # this will be overridden with pass_all, but let us keep it just in case 
3199   lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library' 
3200   lt_cv_file_magic_test_file
=/shlib
/libc.so
 
3201   lt_cv_deplibs_check_method
=pass_all
 
3205   lt_cv_deplibs_check_method
=pass_all
 
3209   lt_cv_deplibs_check_method
=pass_all
 
3210   lt_cv_file_magic_test_file
=/lib
/libc.so
 
3213 sysv5uw
[78]* | sysv4
*uw2
*) 
3214   lt_cv_deplibs_check_method
=pass_all
 
3217 sysv4 
| sysv4.2uw2
* | sysv4.3
* | sysv5
*) 
3218   case $host_vendor in 
3220     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]' 
3221     lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*` 
3224     lt_cv_deplibs_check_method
=pass_all
 
3227     lt_cv_file_magic_cmd
='/bin/file' 
3228     lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 
3231     lt_cv_file_magic_cmd
='/bin/file' 
3232     lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 
3233     lt_cv_file_magic_test_file
=/lib
/libc.so
 
3240 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 
3241 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 
3242 file_magic_cmd
=$lt_cv_file_magic_cmd 
3243 deplibs_check_method
=$lt_cv_deplibs_check_method 
3251 # Check for command to grab the raw symbol name followed by C symbol from nm. 
3252 echo "$as_me:$LINENO: checking command to parse $NM output" >&5 
3253 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 
3254 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 
3255   echo $ECHO_N "(cached) $ECHO_C" >&6 
3258 # These are sane defaults that work on at least a few old systems. 
3259 # [They come from Ultrix.  What could be older than Ultrix?!! ;)] 
3261 # Character class describing NM global symbol codes. 
3262 symcode
='[BCDEGRST]' 
3264 # Regexp to match symbols that can be accessed directly from C. 
3265 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)' 
3267 # Transform the above into a raw symbol and a C symbol. 
3268 symxfrm
='\1 \2\3 \3' 
3270 # Transform an extracted symbol line into a proper C declaration 
3271 lt_cv_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" 
3273 # Transform an extracted symbol line into symbol name and symbol address 
3274 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'" 
3276 # Define system-specific variables. 
3281 cygwin
* | mingw
* | pw32
*) 
3282   symcode
='[ABCDGISTW]' 
3284 hpux
*) # Its linker distinguishes data from code symbols 
3285   lt_cv_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 
3286   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'" 
3289   symcode
='[BCDEGRST]' 
3299 # Handle CRLF in mingw tool chain 
3303   opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp 
3307 # If we're using GNU nm, then use its standard symbol codes. 
3308 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev
/null
; then 
3309   symcode
='[ABCDGISTW]' 
3312 # Try without a prefix undercore, then with it. 
3313 for ac_symprfx 
in "" "_"; do 
3315   # Write the raw and C identifiers. 
3316 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[         ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" 
3318   # Check to see that the pipe works correctly. 
3321   cat > conftest.
$ac_ext <<EOF 
3326 void nm_test_func(){} 
3330 int main(){nm_test_var='a';nm_test_func();return(0);} 
3333   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
3334   (eval $ac_compile) 2>&5 
3336   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3337   (exit $ac_status); }; then 
3338     # Now try to grab the symbols. 
3340     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 
3341   (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5 
3343   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3344   (exit $ac_status); } && test -s "$nlist"; then 
3345       # Try sorting and uniquifying the output. 
3346       if sort "$nlist" | uniq > "$nlist"T
; then 
3347         mv -f "$nlist"T 
"$nlist" 
3352       # Make sure that we snagged all the symbols we need. 
3353       if egrep ' nm_test_var$' "$nlist" >/dev
/null
; then 
3354         if egrep ' nm_test_func$' "$nlist" >/dev
/null
; then 
3355           cat <<EOF > conftest.$ac_ext 
3361           # Now generate the symbol file. 
3362           eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' 
3364           cat <<EOF >> conftest.$ac_ext 
3365 #if defined (__STDC__) && __STDC__ 
3366 # define lt_ptr void * 
3368 # define lt_ptr char * 
3372 /* The mapping between symbol names and symbols. */ 
3377 lt_preloaded_symbols[] = 
3380           sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.
$ac_ext 
3381           cat <<\EOF 
>> conftest.
$ac_ext 
3389           # Now try linking the two files. 
3390           mv conftest.
$ac_objext conftstm.
$ac_objext 
3392           save_CFLAGS
="$CFLAGS" 
3393           LIBS
="conftstm.$ac_objext" 
3394           CFLAGS
="$CFLAGS$no_builtin_flag" 
3395           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
3396   (eval $ac_link) 2>&5 
3398   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3399   (exit $ac_status); } && test -s conftest
; then 
3403           CFLAGS
="$save_CFLAGS" 
3405           echo "cannot find nm_test_func in $nlist" >&5 
3408         echo "cannot find nm_test_var in $nlist" >&5 
3411       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 
3414     echo "$progname: failed program was:" >&5 
3415     cat conftest.
$ac_ext >&5 
3417   rm -f conftest
* conftst
* 
3419   # Do not use the global_symbol_pipe unless it works. 
3420   if test "$pipe_works" = yes; then 
3423     lt_cv_sys_global_symbol_pipe
= 
3429 global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe" 
3430 if test -z "$lt_cv_sys_global_symbol_pipe"; then 
3431   global_symbol_to_cdecl
= 
3432   global_symbol_to_c_name_address
= 
3434   global_symbol_to_cdecl
="$lt_cv_global_symbol_to_cdecl" 
3435   global_symbol_to_c_name_address
="$lt_cv_global_symbol_to_c_name_address" 
3437 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; 
3439   echo "$as_me:$LINENO: result: failed" >&5 
3440 echo "${ECHO_T}failed" >&6 
3442   echo "$as_me:$LINENO: result: ok" >&5 
3443 echo "${ECHO_T}ok" >&6 
3447 ac_cpp
='$CPP $CPPFLAGS' 
3448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
3449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
3450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
3451 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
3452 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 
3453 # On Suns, sometimes $CPP names a directory. 
3454 if test -n "$CPP" && test -d "$CPP"; then 
3457 if test -z "$CPP"; then 
3458   if test "${ac_cv_prog_CPP+set}" = set; then 
3459   echo $ECHO_N "(cached) $ECHO_C" >&6 
3461       # Double quotes because CPP needs to be expanded 
3462     for CPP 
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 
3465 for ac_c_preproc_warn_flag 
in '' yes 
3467   # Use a header file that comes with gcc, so configuring glibc 
3468   # with a fresh cross-compiler works. 
3469   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
3470   # <limits.h> exists even on freestanding compilers. 
3471   # On the NeXT, cc -E runs the code through the compiler's parser, 
3472   # not just through cpp. "Syntax error" is here to catch this case. 
3473   cat >conftest.
$ac_ext <<_ACEOF 
3474 #line $LINENO "configure" 
3477 cat confdefs.h 
>>conftest.
$ac_ext 
3478 cat >>conftest.
$ac_ext <<_ACEOF 
3479 /* end confdefs.h.  */ 
3481 # include <limits.h> 
3483 # include <assert.h> 
3487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
3488   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
3490   grep -v '^ *+' conftest.er1 
>conftest.err
 
3492   cat conftest.err 
>&5 
3493   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3494   (exit $ac_status); } >/dev
/null
; then 
3495   if test -s conftest.err
; then 
3496     ac_cpp_err
=$ac_c_preproc_warn_flag 
3503 if test -z "$ac_cpp_err"; then 
3506   echo "$as_me: failed program was:" >&5 
3507 sed 's/^/| /' conftest.
$ac_ext >&5 
3509   # Broken: fails on valid input. 
3512 rm -f conftest.err conftest.
$ac_ext 
3514   # OK, works on sane cases.  Now check whether non-existent headers 
3515   # can be detected and how. 
3516   cat >conftest.
$ac_ext <<_ACEOF 
3517 #line $LINENO "configure" 
3520 cat confdefs.h 
>>conftest.
$ac_ext 
3521 cat >>conftest.
$ac_ext <<_ACEOF 
3522 /* end confdefs.h.  */ 
3523 #include <ac_nonexistent.h> 
3525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
3526   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
3528   grep -v '^ *+' conftest.er1 
>conftest.err
 
3530   cat conftest.err 
>&5 
3531   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3532   (exit $ac_status); } >/dev
/null
; then 
3533   if test -s conftest.err
; then 
3534     ac_cpp_err
=$ac_c_preproc_warn_flag 
3541 if test -z "$ac_cpp_err"; then 
3542   # Broken: success on invalid input. 
3545   echo "$as_me: failed program was:" >&5 
3546 sed 's/^/| /' conftest.
$ac_ext >&5 
3548   # Passes both tests. 
3552 rm -f conftest.err conftest.
$ac_ext 
3555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
3556 rm -f conftest.err conftest.
$ac_ext 
3557 if $ac_preproc_ok; then 
3569 echo "$as_me:$LINENO: result: $CPP" >&5 
3570 echo "${ECHO_T}$CPP" >&6 
3572 for ac_c_preproc_warn_flag 
in '' yes 
3574   # Use a header file that comes with gcc, so configuring glibc 
3575   # with a fresh cross-compiler works. 
3576   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
3577   # <limits.h> exists even on freestanding compilers. 
3578   # On the NeXT, cc -E runs the code through the compiler's parser, 
3579   # not just through cpp. "Syntax error" is here to catch this case. 
3580   cat >conftest.
$ac_ext <<_ACEOF 
3581 #line $LINENO "configure" 
3584 cat confdefs.h 
>>conftest.
$ac_ext 
3585 cat >>conftest.
$ac_ext <<_ACEOF 
3586 /* end confdefs.h.  */ 
3588 # include <limits.h> 
3590 # include <assert.h> 
3594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
3595   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
3597   grep -v '^ *+' conftest.er1 
>conftest.err
 
3599   cat conftest.err 
>&5 
3600   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3601   (exit $ac_status); } >/dev
/null
; then 
3602   if test -s conftest.err
; then 
3603     ac_cpp_err
=$ac_c_preproc_warn_flag 
3610 if test -z "$ac_cpp_err"; then 
3613   echo "$as_me: failed program was:" >&5 
3614 sed 's/^/| /' conftest.
$ac_ext >&5 
3616   # Broken: fails on valid input. 
3619 rm -f conftest.err conftest.
$ac_ext 
3621   # OK, works on sane cases.  Now check whether non-existent headers 
3622   # can be detected and how. 
3623   cat >conftest.
$ac_ext <<_ACEOF 
3624 #line $LINENO "configure" 
3627 cat confdefs.h 
>>conftest.
$ac_ext 
3628 cat >>conftest.
$ac_ext <<_ACEOF 
3629 /* end confdefs.h.  */ 
3630 #include <ac_nonexistent.h> 
3632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
3633   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
3635   grep -v '^ *+' conftest.er1 
>conftest.err
 
3637   cat conftest.err 
>&5 
3638   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3639   (exit $ac_status); } >/dev
/null
; then 
3640   if test -s conftest.err
; then 
3641     ac_cpp_err
=$ac_c_preproc_warn_flag 
3648 if test -z "$ac_cpp_err"; then 
3649   # Broken: success on invalid input. 
3652   echo "$as_me: failed program was:" >&5 
3653 sed 's/^/| /' conftest.
$ac_ext >&5 
3655   # Passes both tests. 
3659 rm -f conftest.err conftest.
$ac_ext 
3662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
3663 rm -f conftest.err conftest.
$ac_ext 
3664 if $ac_preproc_ok; then 
3667   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
3668 See \`config.log' for more details." >&5 
3669 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
3670 See \`config.log' for more details." >&2;} 
3671    { (exit 1); exit 1; }; } 
3675 ac_cpp
='$CPP $CPPFLAGS' 
3676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
3677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
3678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
3681 echo "$as_me:$LINENO: checking for egrep" >&5 
3682 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 
3683 if test "${ac_cv_prog_egrep+set}" = set; then 
3684   echo $ECHO_N "(cached) $ECHO_C" >&6 
3686   if echo a 
| (grep -E '(a|b)') >/dev
/null 
2>&1 
3687     then ac_cv_prog_egrep
='grep -E' 
3688     else ac_cv_prog_egrep
='egrep' 
3691 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 
3692 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 
3693  EGREP
=$ac_cv_prog_egrep 
3696 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
3697 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 
3698 if test "${ac_cv_header_stdc+set}" = set; then 
3699   echo $ECHO_N "(cached) $ECHO_C" >&6 
3701   cat >conftest.
$ac_ext <<_ACEOF 
3702 #line $LINENO "configure" 
3705 cat confdefs.h 
>>conftest.
$ac_ext 
3706 cat >>conftest.
$ac_ext <<_ACEOF 
3707 /* end confdefs.h.  */ 
3721 rm -f conftest.
$ac_objext 
3722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
3723   (eval $ac_compile) 2>&5 
3725   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3726   (exit $ac_status); } && 
3727          { ac_try
='test -s conftest.$ac_objext' 
3728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
3731   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3732   (exit $ac_status); }; }; then 
3733   ac_cv_header_stdc
=yes 
3735   echo "$as_me: failed program was:" >&5 
3736 sed 's/^/| /' conftest.
$ac_ext >&5 
3738 ac_cv_header_stdc
=no
 
3740 rm -f conftest.
$ac_objext conftest.
$ac_ext 
3742 if test $ac_cv_header_stdc = yes; then 
3743   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
3744   cat >conftest.
$ac_ext <<_ACEOF 
3745 #line $LINENO "configure" 
3748 cat confdefs.h 
>>conftest.
$ac_ext 
3749 cat >>conftest.
$ac_ext <<_ACEOF 
3750 /* end confdefs.h.  */ 
3754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3755   $EGREP "memchr" >/dev
/null 
2>&1; then 
3758   ac_cv_header_stdc
=no
 
3764 if test $ac_cv_header_stdc = yes; then 
3765   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
3766   cat >conftest.
$ac_ext <<_ACEOF 
3767 #line $LINENO "configure" 
3770 cat confdefs.h 
>>conftest.
$ac_ext 
3771 cat >>conftest.
$ac_ext <<_ACEOF 
3772 /* end confdefs.h.  */ 
3776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
3777   $EGREP "free" >/dev
/null 
2>&1; then 
3780   ac_cv_header_stdc
=no
 
3786 if test $ac_cv_header_stdc = yes; then 
3787   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
3788   if test "$cross_compiling" = yes; then 
3791   cat >conftest.
$ac_ext <<_ACEOF 
3792 #line $LINENO "configure" 
3795 cat confdefs.h 
>>conftest.
$ac_ext 
3796 cat >>conftest.
$ac_ext <<_ACEOF 
3797 /* end confdefs.h.  */ 
3799 #if ((' ' & 0x0FF) == 0x020) 
3800 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
3801 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
3803 # define ISLOWER(c) \ 
3804                    (('a' <= (c) && (c) <= 'i') \ 
3805                      || ('j' <= (c) && (c) <= 'r') \ 
3806                      || ('s' <= (c) && (c) <= 'z')) 
3807 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
3810 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
3815   for (i = 0; i < 256; i++) 
3816     if (XOR (islower (i), ISLOWER (i)) 
3817         || toupper (i) != TOUPPER (i)) 
3822 rm -f conftest
$ac_exeext 
3823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
3824   (eval $ac_link) 2>&5 
3826   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3827   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
3828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
3831   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3832   (exit $ac_status); }; }; then 
3835   echo "$as_me: program exited with status $ac_status" >&5 
3836 echo "$as_me: failed program was:" >&5 
3837 sed 's/^/| /' conftest.
$ac_ext >&5 
3840 ac_cv_header_stdc
=no
 
3842 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext 
3846 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
3847 echo "${ECHO_T}$ac_cv_header_stdc" >&6 
3848 if test $ac_cv_header_stdc = yes; then 
3850 cat >>confdefs.h 
<<\_ACEOF
 
3851 #define STDC_HEADERS 1 
3856 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 
3866 for ac_header 
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h 
strings.h \
 
3867                   inttypes.h stdint.h unistd.h
 
3869 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
3870 echo "$as_me:$LINENO: checking for $ac_header" >&5 
3871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
3872 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
3873   echo $ECHO_N "(cached) $ECHO_C" >&6 
3875   cat >conftest.
$ac_ext <<_ACEOF 
3876 #line $LINENO "configure" 
3879 cat confdefs.h 
>>conftest.
$ac_ext 
3880 cat >>conftest.
$ac_ext <<_ACEOF 
3881 /* end confdefs.h.  */ 
3882 $ac_includes_default 
3884 #include <$ac_header> 
3886 rm -f conftest.
$ac_objext 
3887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
3888   (eval $ac_compile) 2>&5 
3890   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3891   (exit $ac_status); } && 
3892          { ac_try
='test -s conftest.$ac_objext' 
3893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
3896   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3897   (exit $ac_status); }; }; then 
3898   eval "$as_ac_Header=yes" 
3900   echo "$as_me: failed program was:" >&5 
3901 sed 's/^/| /' conftest.
$ac_ext >&5 
3903 eval "$as_ac_Header=no" 
3905 rm -f conftest.
$ac_objext conftest.
$ac_ext 
3907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
3908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
3909 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
3910   cat >>confdefs.h 
<<_ACEOF 
3911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
3920 for ac_header 
in dlfcn.h
 
3922 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
3923 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
3924   echo "$as_me:$LINENO: checking for $ac_header" >&5 
3925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
3926 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
3927   echo $ECHO_N "(cached) $ECHO_C" >&6 
3929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
3930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
3932   # Is the header compilable? 
3933 echo "$as_me:$LINENO: checking $ac_header usability" >&5 
3934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 
3935 cat >conftest.
$ac_ext <<_ACEOF 
3936 #line $LINENO "configure" 
3939 cat confdefs.h 
>>conftest.
$ac_ext 
3940 cat >>conftest.
$ac_ext <<_ACEOF 
3941 /* end confdefs.h.  */ 
3942 $ac_includes_default 
3943 #include <$ac_header> 
3945 rm -f conftest.
$ac_objext 
3946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
3947   (eval $ac_compile) 2>&5 
3949   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3950   (exit $ac_status); } && 
3951          { ac_try
='test -s conftest.$ac_objext' 
3952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
3955   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3956   (exit $ac_status); }; }; then 
3957   ac_header_compiler
=yes 
3959   echo "$as_me: failed program was:" >&5 
3960 sed 's/^/| /' conftest.
$ac_ext >&5 
3962 ac_header_compiler
=no
 
3964 rm -f conftest.
$ac_objext conftest.
$ac_ext 
3965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
3966 echo "${ECHO_T}$ac_header_compiler" >&6 
3968 # Is the header present? 
3969 echo "$as_me:$LINENO: checking $ac_header presence" >&5 
3970 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 
3971 cat >conftest.
$ac_ext <<_ACEOF 
3972 #line $LINENO "configure" 
3975 cat confdefs.h 
>>conftest.
$ac_ext 
3976 cat >>conftest.
$ac_ext <<_ACEOF 
3977 /* end confdefs.h.  */ 
3978 #include <$ac_header> 
3980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
3981   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
3983   grep -v '^ *+' conftest.er1 
>conftest.err
 
3985   cat conftest.err 
>&5 
3986   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
3987   (exit $ac_status); } >/dev
/null
; then 
3988   if test -s conftest.err
; then 
3989     ac_cpp_err
=$ac_c_preproc_warn_flag 
3996 if test -z "$ac_cpp_err"; then 
3997   ac_header_preproc
=yes 
3999   echo "$as_me: failed program was:" >&5 
4000 sed 's/^/| /' conftest.
$ac_ext >&5 
4002   ac_header_preproc
=no
 
4004 rm -f conftest.err conftest.
$ac_ext 
4005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
4006 echo "${ECHO_T}$ac_header_preproc" >&6 
4008 # So?  What about this header? 
4009 case $ac_header_compiler:$ac_header_preproc in 
4011     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
4012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
4013     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
4014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
4017 ## ------------------------------------ ## 
4018 ## Report this to bug-autoconf@gnu.org. ## 
4019 ## ------------------------------------ ## 
4022       sed "s/^/$as_me: WARNING:     /" >&2 
4025     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 
4026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 
4027     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 
4028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 
4029     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
4030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
4033 ## ------------------------------------ ## 
4034 ## Report this to bug-autoconf@gnu.org. ## 
4035 ## ------------------------------------ ## 
4038       sed "s/^/$as_me: WARNING:     /" >&2 
4041 echo "$as_me:$LINENO: checking for $ac_header" >&5 
4042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
4043 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
4044   echo $ECHO_N "(cached) $ECHO_C" >&6 
4046   eval "$as_ac_Header=$ac_header_preproc" 
4048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
4049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
4052 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
4053   cat >>confdefs.h 
<<_ACEOF 
4054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
4065 # Only perform the check for file, if the check method requires it 
4066 case $deplibs_check_method in 
4068   if test "$file_magic_cmd" = '$MAGIC_CMD'; then 
4069     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 
4070 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 
4071 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 
4072   echo $ECHO_N "(cached) $ECHO_C" >&6 
4076   lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path. 
4079   lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path. 
4082   ac_save_MAGIC_CMD
="$MAGIC_CMD" 
4083   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
=":" 
4084   ac_dummy
="/usr/bin:$PATH" 
4085   for ac_dir 
in $ac_dummy; do 
4086     test -z "$ac_dir" && ac_dir
=.
 
4087     if test -f $ac_dir/${ac_tool_prefix}file; then 
4088       lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file" 
4089       if test -n "$file_magic_test_file"; then 
4090         case $deplibs_check_method in 
4092           file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" 
4093           MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
4094           if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null 
| 
4095             egrep "$file_magic_regex" > /dev
/null
; then 
4100 *** Warning: the command libtool uses to detect shared libraries, 
4101 *** $file_magic_cmd, produces output that libtool cannot recognize. 
4102 *** The result is that libtool may fail to recognize shared libraries 
4103 *** as such.  This will affect the creation of libtool libraries that 
4104 *** depend on shared libraries, but programs linked with such libtool 
4105 *** libraries will work regardless of this problem.  Nevertheless, you 
4106 *** may want to report the problem to your system manager and/or to 
4107 *** bug-libtool@gnu.org 
4117   MAGIC_CMD
="$ac_save_MAGIC_CMD" 
4122 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
4123 if test -n "$MAGIC_CMD"; then 
4124   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 
4125 echo "${ECHO_T}$MAGIC_CMD" >&6 
4127   echo "$as_me:$LINENO: result: no" >&5 
4128 echo "${ECHO_T}no" >&6 
4131 if test -z "$lt_cv_path_MAGIC_CMD"; then 
4132   if test -n "$ac_tool_prefix"; then 
4133     echo "$as_me:$LINENO: checking for file" >&5 
4134 echo $ECHO_N "checking for file... $ECHO_C" >&6 
4135 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 
4136   echo $ECHO_N "(cached) $ECHO_C" >&6 
4140   lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path. 
4143   lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path. 
4146   ac_save_MAGIC_CMD
="$MAGIC_CMD" 
4147   IFS
="${IFS=   }"; ac_save_ifs
="$IFS"; IFS
=":" 
4148   ac_dummy
="/usr/bin:$PATH" 
4149   for ac_dir 
in $ac_dummy; do 
4150     test -z "$ac_dir" && ac_dir
=.
 
4151     if test -f $ac_dir/file; then 
4152       lt_cv_path_MAGIC_CMD
="$ac_dir/file" 
4153       if test -n "$file_magic_test_file"; then 
4154         case $deplibs_check_method in 
4156           file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" 
4157           MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
4158           if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null 
| 
4159             egrep "$file_magic_regex" > /dev
/null
; then 
4164 *** Warning: the command libtool uses to detect shared libraries, 
4165 *** $file_magic_cmd, produces output that libtool cannot recognize. 
4166 *** The result is that libtool may fail to recognize shared libraries 
4167 *** as such.  This will affect the creation of libtool libraries that 
4168 *** depend on shared libraries, but programs linked with such libtool 
4169 *** libraries will work regardless of this problem.  Nevertheless, you 
4170 *** may want to report the problem to your system manager and/or to 
4171 *** bug-libtool@gnu.org 
4181   MAGIC_CMD
="$ac_save_MAGIC_CMD" 
4186 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
4187 if test -n "$MAGIC_CMD"; then 
4188   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 
4189 echo "${ECHO_T}$MAGIC_CMD" >&6 
4191   echo "$as_me:$LINENO: result: no" >&5 
4192 echo "${ECHO_T}no" >&6 
4204 if test -n "$ac_tool_prefix"; then 
4205   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 
4206 set dummy 
${ac_tool_prefix}ranlib
; ac_word
=$2 
4207 echo "$as_me:$LINENO: checking for $ac_word" >&5 
4208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
4209 if test "${ac_cv_prog_RANLIB+set}" = set; then 
4210   echo $ECHO_N "(cached) $ECHO_C" >&6 
4212   if test -n "$RANLIB"; then 
4213   ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test. 
4215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4219   test -z "$as_dir" && as_dir
=.
 
4220   for ac_exec_ext 
in '' $ac_executable_extensions; do 
4221   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
4222     ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib" 
4223     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
4231 RANLIB
=$ac_cv_prog_RANLIB 
4232 if test -n "$RANLIB"; then 
4233   echo "$as_me:$LINENO: result: $RANLIB" >&5 
4234 echo "${ECHO_T}$RANLIB" >&6 
4236   echo "$as_me:$LINENO: result: no" >&5 
4237 echo "${ECHO_T}no" >&6 
4241 if test -z "$ac_cv_prog_RANLIB"; then 
4242   ac_ct_RANLIB
=$RANLIB 
4243   # Extract the first word of "ranlib", so it can be a program name with args. 
4244 set dummy ranlib
; ac_word
=$2 
4245 echo "$as_me:$LINENO: checking for $ac_word" >&5 
4246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
4247 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 
4248   echo $ECHO_N "(cached) $ECHO_C" >&6 
4250   if test -n "$ac_ct_RANLIB"; then 
4251   ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test. 
4253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4257   test -z "$as_dir" && as_dir
=.
 
4258   for ac_exec_ext 
in '' $ac_executable_extensions; do 
4259   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
4260     ac_cv_prog_ac_ct_RANLIB
="ranlib" 
4261     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
4267   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":" 
4270 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB 
4271 if test -n "$ac_ct_RANLIB"; then 
4272   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 
4273 echo "${ECHO_T}$ac_ct_RANLIB" >&6 
4275   echo "$as_me:$LINENO: result: no" >&5 
4276 echo "${ECHO_T}no" >&6 
4279   RANLIB
=$ac_ct_RANLIB 
4281   RANLIB
="$ac_cv_prog_RANLIB" 
4284 if test -n "$ac_tool_prefix"; then 
4285   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 
4286 set dummy 
${ac_tool_prefix}strip
; ac_word
=$2 
4287 echo "$as_me:$LINENO: checking for $ac_word" >&5 
4288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
4289 if test "${ac_cv_prog_STRIP+set}" = set; then 
4290   echo $ECHO_N "(cached) $ECHO_C" >&6 
4292   if test -n "$STRIP"; then 
4293   ac_cv_prog_STRIP
="$STRIP" # Let the user override the test. 
4295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4299   test -z "$as_dir" && as_dir
=.
 
4300   for ac_exec_ext 
in '' $ac_executable_extensions; do 
4301   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
4302     ac_cv_prog_STRIP
="${ac_tool_prefix}strip" 
4303     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
4311 STRIP
=$ac_cv_prog_STRIP 
4312 if test -n "$STRIP"; then 
4313   echo "$as_me:$LINENO: result: $STRIP" >&5 
4314 echo "${ECHO_T}$STRIP" >&6 
4316   echo "$as_me:$LINENO: result: no" >&5 
4317 echo "${ECHO_T}no" >&6 
4321 if test -z "$ac_cv_prog_STRIP"; then 
4323   # Extract the first word of "strip", so it can be a program name with args. 
4324 set dummy strip
; ac_word
=$2 
4325 echo "$as_me:$LINENO: checking for $ac_word" >&5 
4326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
4327 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 
4328   echo $ECHO_N "(cached) $ECHO_C" >&6 
4330   if test -n "$ac_ct_STRIP"; then 
4331   ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test. 
4333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4337   test -z "$as_dir" && as_dir
=.
 
4338   for ac_exec_ext 
in '' $ac_executable_extensions; do 
4339   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
4340     ac_cv_prog_ac_ct_STRIP
="strip" 
4341     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
4347   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":" 
4350 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP 
4351 if test -n "$ac_ct_STRIP"; then 
4352   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 
4353 echo "${ECHO_T}$ac_ct_STRIP" >&6 
4355   echo "$as_me:$LINENO: result: no" >&5 
4356 echo "${ECHO_T}no" >&6 
4361   STRIP
="$ac_cv_prog_STRIP" 
4368 # Check whether --enable-libtool-lock or --disable-libtool-lock was given. 
4369 if test "${enable_libtool_lock+set}" = set; then 
4370   enableval
="$enable_libtool_lock" 
4373 test "x$enable_libtool_lock" != xno 
&& enable_libtool_lock
=yes 
4375 # Some flags need to be propagated to the compiler or linker for good 
4379   # Find out which ABI we are using. 
4380   echo '#line 4380 "configure"' > conftest.
$ac_ext 
4381   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
4382   (eval $ac_compile) 2>&5 
4384   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4385   (exit $ac_status); }; then 
4386     case `/usr/bin/file conftest.$ac_objext` in 
4402   # On SCO OpenServer 5, we need -belf to get full-featured binaries. 
4403   SAVE_CFLAGS
="$CFLAGS" 
4404   CFLAGS
="$CFLAGS -belf" 
4405   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 
4406 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 
4407 if test "${lt_cv_cc_needs_belf+set}" = set; then 
4408   echo $ECHO_N "(cached) $ECHO_C" >&6 
4413 ac_cpp
='$CPP $CPPFLAGS' 
4414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
4415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
4416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
4418      cat >conftest.
$ac_ext <<_ACEOF 
4419 #line $LINENO "configure" 
4422 cat confdefs.h 
>>conftest.
$ac_ext 
4423 cat >>conftest.
$ac_ext <<_ACEOF 
4424 /* end confdefs.h.  */ 
4434 rm -f conftest.
$ac_objext conftest
$ac_exeext 
4435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
4436   (eval $ac_link) 2>&5 
4438   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4439   (exit $ac_status); } && 
4440          { ac_try
='test -s conftest$ac_exeext' 
4441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
4444   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4445   (exit $ac_status); }; }; then 
4446   lt_cv_cc_needs_belf
=yes 
4448   echo "$as_me: failed program was:" >&5 
4449 sed 's/^/| /' conftest.
$ac_ext >&5 
4451 lt_cv_cc_needs_belf
=no
 
4453 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
4455 ac_cpp
='$CPP $CPPFLAGS' 
4456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
4457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
4458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
4461 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 
4462 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 
4463   if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then 
4464     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 
4465     CFLAGS
="$SAVE_CFLAGS" 
4472 # Sed substitution that helps us do robust quoting.  It backslashifies 
4473 # metacharacters that are still active within double-quoted strings. 
4474 Xsed
='sed -e s/^X//' 
4475 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g' 
4477 # Same as above, but do not quote variable references. 
4478 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g' 
4480 # Sed substitution to delay expansion of an escaped shell variable in a 
4481 # double_quote_subst'ed string. 
4482 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g' 
4488 default_ofile
=libtool
 
4489 can_build_shared
=yes 
4491 # All known linkers require a `.a' archive for static linking (except M$VC, 
4492 # which needs '.lib'). 
4494 ltmain
="$ac_aux_dir/ltmain.sh" 
4495 ofile
="$default_ofile" 
4496 with_gnu_ld
="$lt_cv_prog_gnu_ld" 
4497 need_locks
="$enable_libtool_lock" 
4500 old_CFLAGS
="$CFLAGS" 
4502 # Set sane defaults for various variables 
4503 test -z "$AR" && AR
=ar 
4504 test -z "$AR_FLAGS" && AR_FLAGS
=cru
 
4505 test -z "$AS" && AS
=as
 
4506 test -z "$CC" && CC
=cc
 
4507 test -z "$DLLTOOL" && DLLTOOL
=dlltool
 
4508 test -z "$LD" && LD
=ld
 
4509 test -z "$LN_S" && LN_S
="ln -s" 
4510 test -z "$MAGIC_CMD" && MAGIC_CMD
=file 
4511 test -z "$NM" && NM
=nm
 
4512 test -z "$OBJDUMP" && OBJDUMP
=objdump
 
4513 test -z "$RANLIB" && RANLIB
=: 
4514 test -z "$STRIP" && STRIP
=: 
4515 test -z "$ac_objext" && ac_objext
=o
 
4517 if test x
"$host" != x
"$build"; then 
4518   ac_tool_prefix
=${host_alias}- 
4523 # Transform linux* to *-*-linux-gnu*, to support old configure scripts. 
4526 linux
*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 
4531   # AIX sometimes has problems with the GCC collect2 program.  For some 
4532   # reason, if we set the COLLECT_NAMES environment variable, the problems 
4533   # vanish in a puff of smoke. 
4534   if test "X${COLLECT_NAMES+set}" != Xset
; then 
4536     export COLLECT_NAMES
 
4541 # Determine commands to create old-style static archives. 
4542 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' 
4543 old_postinstall_cmds
='chmod 644 $oldlib' 
4544 old_postuninstall_cmds
= 
4546 if test -n "$RANLIB"; then 
4549     old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds" 
4552     old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds" 
4555   old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib" 
4558 # Allow CC to be a program name with arguments. 
4562 ## FIXME: this should be a separate macro 
4564 echo "$as_me:$LINENO: checking for objdir" >&5 
4565 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 
4566 rm -f .libs 
2>/dev
/null
 
4567 mkdir .libs 
2>/dev
/null
 
4568 if test -d .libs
; then 
4571   # MS-DOS does not allow filenames that begin with a dot. 
4574 rmdir .libs 
2>/dev
/null
 
4575 echo "$as_me:$LINENO: result: $objdir" >&5 
4576 echo "${ECHO_T}$objdir" >&6 
4581 ## FIXME: this should be a separate macro 
4584 # Check whether --with-pic or --without-pic was given. 
4585 if test "${with_pic+set}" = set; then 
4591 test -z "$pic_mode" && pic_mode
=default
 
4593 # We assume here that the value for lt_cv_prog_cc_pic will not be cached 
4594 # in isolation, and that seeing it set (from the cache) indicates that 
4595 # the associated values are set (in the cache) correctly too. 
4596 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 
4597 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 
4598 if test "${lt_cv_prog_cc_pic+set}" = set; then 
4599   echo $ECHO_N "(cached) $ECHO_C" >&6 
4602   lt_cv_prog_cc_shlib
= 
4604   lt_cv_prog_cc_static
= 
4605   lt_cv_prog_cc_no_builtin
= 
4606   lt_cv_prog_cc_can_build_shared
=$can_build_shared 
4608   if test "$GCC" = yes; then 
4609     lt_cv_prog_cc_wl
='-Wl,' 
4610     lt_cv_prog_cc_static
='-static' 
4614       # Below there is a dirty hack to force normal static linking with -ldl 
4615       # The problem is because libdl dynamically linked with both libc and 
4616       # libC (AIX C++ library), which obviously doesn't included in libraries 
4617       # list by gcc. This cause undefined symbols with -static flags. 
4618       # This hack allows C programs to be linked with "-static -ldl", but 
4619       # not sure about C++ programs. 
4620       lt_cv_prog_cc_static
="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" 
4623       # FIXME: we need at least 68020 code to build shared libraries, but 
4624       # adding the `-m68020' flag to GCC prevents building anything better, 
4626       lt_cv_prog_cc_pic
='-m68020 -resident32 -malways-restore-a4' 
4628     beos
* | irix5
* | irix6
* | osf3
* | osf4
* | osf5
*) 
4629       # PIC is the default for these OSes. 
4631     darwin
* | rhapsody
*) 
4632       # PIC is the default on this platform 
4633       # Common symbols not allowed in MH_DYLIB files 
4634       lt_cv_prog_cc_pic
='-fno-common' 
4636     cygwin
* | mingw
* | pw32
* | os2
*) 
4637       # This hack is so that the source file can tell whether it is being 
4638       # built for inclusion in a dll (and should export symbols for example). 
4639       lt_cv_prog_cc_pic
='-DDLL_EXPORT' 
4642       if test -d /usr
/nec
; then 
4643          lt_cv_prog_cc_pic
=-Kconform_pic 
4647       lt_cv_prog_cc_pic
='-fPIC' 
4651     # PORTME Check for PIC flags for the system compiler. 
4653     aix3
* | aix4
* | aix5
*) 
4654       lt_cv_prog_cc_wl
='-Wl,' 
4655       # All AIX code is PIC. 
4656       if test "$host_cpu" = ia64
; then 
4657         # AIX 5 now supports IA64 processor 
4658         lt_cv_prog_cc_static
='-Bstatic' 
4660         lt_cv_prog_cc_static
='-bnso -bI:/lib/syscalls.exp' 
4664     hpux9
* | hpux10
* | hpux11
*) 
4665       # Is there a better lt_cv_prog_cc_static that works with the bundled CC? 
4666       lt_cv_prog_cc_wl
='-Wl,' 
4667       lt_cv_prog_cc_static
="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" 
4668       lt_cv_prog_cc_pic
='+Z' 
4672       lt_cv_prog_cc_wl
='-Wl,' 
4673       lt_cv_prog_cc_static
='-non_shared' 
4674       # PIC (with -KPIC) is the default. 
4677     cygwin
* | mingw
* | pw32
* | os2
*) 
4678       # This hack is so that the source file can tell whether it is being 
4679       # built for inclusion in a dll (and should export symbols for example). 
4680       lt_cv_prog_cc_pic
='-DDLL_EXPORT' 
4684       lt_cv_prog_cc_pic
='-KPIC' 
4685       lt_cv_prog_cc_static
='-Bstatic' 
4688     osf3
* | osf4
* | osf5
*) 
4689       # All OSF/1 code is PIC. 
4690       lt_cv_prog_cc_wl
='-Wl,' 
4691       lt_cv_prog_cc_static
='-non_shared' 
4695       lt_cv_prog_cc_pic
='-Kpic' 
4696       lt_cv_prog_cc_static
='-dn' 
4697       lt_cv_prog_cc_shlib
='-belf' 
4701       lt_cv_prog_cc_pic
='-KPIC' 
4702       lt_cv_prog_cc_static
='-Bstatic' 
4703       lt_cv_prog_cc_wl
='-Wl,' 
4707       lt_cv_prog_cc_pic
='-PIC' 
4708       lt_cv_prog_cc_static
='-Bstatic' 
4709       lt_cv_prog_cc_wl
='-Qoption ld ' 
4712     sysv4 
| sysv4.2uw2
* | sysv4.3
* | sysv5
*) 
4713       lt_cv_prog_cc_pic
='-KPIC' 
4714       lt_cv_prog_cc_static
='-Bstatic' 
4715       if test "x$host_vendor" = xsni
; then 
4716         lt_cv_prog_cc_wl
='-LD' 
4718         lt_cv_prog_cc_wl
='-Wl,' 
4723       lt_cv_prog_cc_pic
='-pic' 
4724       lt_cv_prog_cc_static
='-Bstatic' 
4728       if test -d /usr
/nec 
;then 
4729         lt_cv_prog_cc_pic
='-Kconform_pic' 
4730         lt_cv_prog_cc_static
='-Bstatic' 
4735       lt_cv_prog_cc_can_build_shared
=no
 
4742 if test -z "$lt_cv_prog_cc_pic"; then 
4743   echo "$as_me:$LINENO: result: none" >&5 
4744 echo "${ECHO_T}none" >&6 
4746   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 
4747 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 
4749   # Check to make sure the pic_flag actually works. 
4750   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 
4751 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 
4752   if test "${lt_cv_prog_cc_pic_works+set}" = set; then 
4753   echo $ECHO_N "(cached) $ECHO_C" >&6 
4755       save_CFLAGS
="$CFLAGS" 
4756     CFLAGS
="$CFLAGS $lt_cv_prog_cc_pic -DPIC" 
4757     cat >conftest.
$ac_ext <<_ACEOF 
4758 #line $LINENO "configure" 
4761 cat confdefs.h 
>>conftest.
$ac_ext 
4762 cat >>conftest.
$ac_ext <<_ACEOF 
4763 /* end confdefs.h.  */ 
4773 rm -f conftest.
$ac_objext 
4774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
4775   (eval $ac_compile) 2>&5 
4777   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4778   (exit $ac_status); } && 
4779          { ac_try
='test -s conftest.$ac_objext' 
4780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
4783   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4784   (exit $ac_status); }; }; then 
4786       hpux9
* | hpux10
* | hpux11
*) 
4787         # On HP-UX, both CC and GCC only warn that PIC is supported... then 
4788         # they create non-PIC objects.  So, if there were any warnings, we 
4789         # assume that PIC is not supported. 
4790         if test -s conftest.err
; then 
4791           lt_cv_prog_cc_pic_works
=no
 
4793           lt_cv_prog_cc_pic_works
=yes 
4797         lt_cv_prog_cc_pic_works
=yes 
4802   echo "$as_me: failed program was:" >&5 
4803 sed 's/^/| /' conftest.
$ac_ext >&5 
4805       lt_cv_prog_cc_pic_works
=no
 
4808 rm -f conftest.
$ac_objext conftest.
$ac_ext 
4809     CFLAGS
="$save_CFLAGS" 
4814   if test "X$lt_cv_prog_cc_pic_works" = Xno
; then 
4816     lt_cv_prog_cc_can_build_shared
=no
 
4818     lt_cv_prog_cc_pic
=" $lt_cv_prog_cc_pic" 
4821   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 
4822 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 
4827 # Check for any special shared library compilation flags. 
4828 if test -n "$lt_cv_prog_cc_shlib"; then 
4829   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 
4830 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} 
4831   if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev
/null
; then : 
4833    { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 
4834 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} 
4835     lt_cv_prog_cc_can_build_shared
=no
 
4839 ## FIXME: this should be a separate macro 
4841 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 
4842 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 
4843 if test "${lt_cv_prog_cc_static_works+set}" = set; then 
4844   echo $ECHO_N "(cached) $ECHO_C" >&6 
4846     lt_cv_prog_cc_static_works
=no
 
4847   save_LDFLAGS
="$LDFLAGS" 
4848   LDFLAGS
="$LDFLAGS $lt_cv_prog_cc_static" 
4849   cat >conftest.
$ac_ext <<_ACEOF 
4850 #line $LINENO "configure" 
4853 cat confdefs.h 
>>conftest.
$ac_ext 
4854 cat >>conftest.
$ac_ext <<_ACEOF 
4855 /* end confdefs.h.  */ 
4865 rm -f conftest.
$ac_objext conftest
$ac_exeext 
4866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
4867   (eval $ac_link) 2>&5 
4869   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4870   (exit $ac_status); } && 
4871          { ac_try
='test -s conftest$ac_exeext' 
4872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
4875   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4876   (exit $ac_status); }; }; then 
4877   lt_cv_prog_cc_static_works
=yes 
4879   echo "$as_me: failed program was:" >&5 
4880 sed 's/^/| /' conftest.
$ac_ext >&5 
4883 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
4884   LDFLAGS
="$save_LDFLAGS" 
4889 # Belt *and* braces to stop my trousers falling down: 
4890 test "X$lt_cv_prog_cc_static_works" = Xno 
&& lt_cv_prog_cc_static
= 
4891 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 
4892 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 
4894 pic_flag
="$lt_cv_prog_cc_pic" 
4895 special_shlib_compile_flags
="$lt_cv_prog_cc_shlib" 
4896 wl
="$lt_cv_prog_cc_wl" 
4897 link_static_flag
="$lt_cv_prog_cc_static" 
4898 no_builtin_flag
="$lt_cv_prog_cc_no_builtin" 
4899 can_build_shared
="$lt_cv_prog_cc_can_build_shared" 
4904 ## FIXME: this should be a separate macro 
4906 # Check to see if options -o and -c are simultaneously supported by compiler 
4907 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 
4908 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 
4909 if test "${lt_cv_compiler_c_o+set}" = set; then 
4910   echo $ECHO_N "(cached) $ECHO_C" >&6 
4913 $rm -r conftest 
2>/dev
/null
 
4916 echo "int some_variable = 0;" > conftest.
$ac_ext 
4918 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 
4919 # that will create temporary files in the current directory regardless of 
4920 # the output directory.  Thus, making CWD read-only will cause this test 
4921 # to fail, enabling locking or at least warning the user not to do parallel 
4924 save_CFLAGS
="$CFLAGS" 
4925 CFLAGS
="$CFLAGS -o out/conftest2.$ac_objext" 
4927 if { (eval echo configure
:4927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out
/conftest.err
; } && test -s out
/conftest2.
$ac_objext; then 
4928   # The compiler can only warn and ignore the option if not recognized 
4929   # So say no if there are warnings 
4930   if test -s out
/conftest.err
; then 
4931     lt_cv_compiler_c_o
=no
 
4933     lt_cv_compiler_c_o
=yes 
4936   # Append any errors to the config.log. 
4937   cat out
/conftest.err 
1>&5 
4938   lt_cv_compiler_c_o
=no
 
4940 CFLAGS
="$save_CFLAGS" 
4946 $rm -r conftest 
2>/dev
/null
 
4950 compiler_c_o
=$lt_cv_compiler_c_o 
4951 echo "$as_me:$LINENO: result: $compiler_c_o" >&5 
4952 echo "${ECHO_T}$compiler_c_o" >&6 
4954 if test x
"$compiler_c_o" = x
"yes"; then 
4955   # Check to see if we can write to a .lo 
4956   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 
4957 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 
4958   if test "${lt_cv_compiler_o_lo+set}" = set; then 
4959   echo $ECHO_N "(cached) $ECHO_C" >&6 
4962   lt_cv_compiler_o_lo
=no
 
4963   save_CFLAGS
="$CFLAGS" 
4964   CFLAGS
="$CFLAGS -c -o conftest.lo" 
4965   save_objext
="$ac_objext" 
4967   cat >conftest.
$ac_ext <<_ACEOF 
4968 #line $LINENO "configure" 
4971 cat confdefs.h 
>>conftest.
$ac_ext 
4972 cat >>conftest.
$ac_ext <<_ACEOF 
4973 /* end confdefs.h.  */ 
4978 int some_variable = 0; 
4983 rm -f conftest.
$ac_objext 
4984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
4985   (eval $ac_compile) 2>&5 
4987   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4988   (exit $ac_status); } && 
4989          { ac_try
='test -s conftest.$ac_objext' 
4990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
4993   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
4994   (exit $ac_status); }; }; then 
4995       # The compiler can only warn and ignore the option if not recognized 
4996     # So say no if there are warnings 
4997     if test -s conftest.err
; then 
4998       lt_cv_compiler_o_lo
=no
 
5000       lt_cv_compiler_o_lo
=yes 
5004   echo "$as_me: failed program was:" >&5 
5005 sed 's/^/| /' conftest.
$ac_ext >&5 
5008 rm -f conftest.
$ac_objext conftest.
$ac_ext 
5009   ac_objext
="$save_objext" 
5010   CFLAGS
="$save_CFLAGS" 
5014   compiler_o_lo
=$lt_cv_compiler_o_lo 
5015   echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 
5016 echo "${ECHO_T}$compiler_o_lo" >&6 
5023 ## FIXME: this should be a separate macro 
5025 # Check to see if we can do hard links to lock some files if needed 
5026 hard_links
="nottested" 
5027 if test "$compiler_c_o" = no 
&& test "$need_locks" != no
; then 
5028   # do not overwrite the value of need_locks provided by the user 
5029   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 
5030 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 
5033   ln conftest.a conftest.b 
2>/dev
/null 
&& hard_links
=no
 
5035   ln conftest.a conftest.b 
2>&5 || hard_links
=no
 
5036   ln conftest.a conftest.b 
2>/dev
/null 
&& hard_links
=no
 
5037   echo "$as_me:$LINENO: result: $hard_links" >&5 
5038 echo "${ECHO_T}$hard_links" >&6 
5039   if test "$hard_links" = no
; then 
5040     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 
5041 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 
5050 ## FIXME: this should be a separate macro 
5052 if test "$GCC" = yes; then 
5053   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler 
5054   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 
5055 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 
5056   echo "int some_variable = 0;" > conftest.
$ac_ext 
5057   save_CFLAGS
="$CFLAGS" 
5058   CFLAGS
="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" 
5059   compiler_rtti_exceptions
=no
 
5060   cat >conftest.
$ac_ext <<_ACEOF 
5061 #line $LINENO "configure" 
5064 cat confdefs.h 
>>conftest.
$ac_ext 
5065 cat >>conftest.
$ac_ext <<_ACEOF 
5066 /* end confdefs.h.  */ 
5071 int some_variable = 0; 
5076 rm -f conftest.
$ac_objext 
5077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
5078   (eval $ac_compile) 2>&5 
5080   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
5081   (exit $ac_status); } && 
5082          { ac_try
='test -s conftest.$ac_objext' 
5083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
5086   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
5087   (exit $ac_status); }; }; then 
5088       # The compiler can only warn and ignore the option if not recognized 
5089     # So say no if there are warnings 
5090     if test -s conftest.err
; then 
5091       compiler_rtti_exceptions
=no
 
5093       compiler_rtti_exceptions
=yes 
5097   echo "$as_me: failed program was:" >&5 
5098 sed 's/^/| /' conftest.
$ac_ext >&5 
5101 rm -f conftest.
$ac_objext conftest.
$ac_ext 
5102   CFLAGS
="$save_CFLAGS" 
5103   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 
5104 echo "${ECHO_T}$compiler_rtti_exceptions" >&6 
5106   if test "$compiler_rtti_exceptions" = "yes"; then 
5107     no_builtin_flag
=' -fno-builtin -fno-rtti -fno-exceptions' 
5109     no_builtin_flag
=' -fno-builtin' 
5115 ## FIXME: this should be a separate macro 
5117 # See if the linker supports building shared libraries. 
5118 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 
5119 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 
5121 allow_undefined_flag
= 
5123 need_lib_prefix
=unknown
 
5124 need_version
=unknown
 
5125 # when you set need_version to no, make sure it does not cause -set_version 
5126 # flags to be left without arguments 
5128 archive_expsym_cmds
= 
5129 old_archive_from_new_cmds
= 
5130 old_archive_from_expsyms_cmds
= 
5131 export_dynamic_flag_spec
= 
5132 whole_archive_flag_spec
= 
5133 thread_safe_flag_spec
= 
5134 hardcode_into_libs
=no
 
5135 hardcode_libdir_flag_spec
= 
5136 hardcode_libdir_separator
= 
5139 hardcode_shlibpath_var
=unsupported
 
5141 link_all_deplibs
=unknown
 
5142 always_export_symbols
=no
 
5143 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' 
5144 # include_expsyms should be a list of space-separated symbols to be *always* 
5145 # included in the symbol list 
5147 # exclude_expsyms can be an egrep regular expression of symbols to exclude 
5148 # it will be wrapped by ` (' and `)$', so one must not match beginning or 
5149 # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 
5150 # as well as any symbol that contains `d'. 
5151 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_" 
5152 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 
5153 # platforms (ab)use it in PIC code, but their linkers get confused if 
5154 # the symbol is explicitly referenced.  Since portable code cannot 
5155 # rely on this symbol name, it's probably fine to never include it in 
5156 # preloaded symbol tables. 
5157 extract_expsyms_cmds
= 
5160 cygwin
* | mingw
* | pw32
*) 
5161   # FIXME: the MSVC++ port hasn't been tested in a loooong time 
5162   # When not using gcc, we currently assume that we are using 
5163   # Microsoft Visual C++. 
5164   if test "$GCC" != yes; then 
5174 if test "$with_gnu_ld" = yes; then 
5175   # If archive_cmds runs LD, not CC, wlarc should be empty 
5178   # See if GNU ld supports shared libraries. 
5180   aix3
* | aix4
* | aix5
*) 
5181     # On AIX, the GNU linker is very broken 
5182     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. 
5186 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 
5187 *** to be unable to reliably create shared libraries on AIX. 
5188 *** Therefore, libtool is disabling shared libraries support.  If you 
5189 *** really care for shared libraries, you may want to modify your PATH 
5190 *** so that a non-GNU linker is found, and then restart. 
5196     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)' 
5197     hardcode_libdir_flag_spec
='-L$libdir' 
5198     hardcode_minus_L
=yes 
5200     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports 
5201     # that the semantics of dynamic libraries on AmigaOS, at least up 
5202     # to version 4, is to share data among multiple programs linked 
5203     # with the same dynamic library.  Since this doesn't match the 
5204     # behavior of shared libraries on other platforms, we can use 
5210     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev
/null
; then 
5211       allow_undefined_flag
=unsupported
 
5212       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
5213       # support --undefined.  This deserves some investigation.  FIXME 
5214       archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
5220   cygwin
* | mingw
* | pw32
*) 
5221     # hardcode_libdir_flag_spec is actually meaningless, as there is 
5222     # no search path for DLLs. 
5223     hardcode_libdir_flag_spec
='-L$libdir' 
5224     allow_undefined_flag
=unsupported
 
5225     always_export_symbols
=yes 
5227     extract_expsyms_cmds
='test -f $output_objdir/impgen.c || \ 
5228       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ 
5229       test -f $output_objdir/impgen.exe || (cd $output_objdir && \ 
5230       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ 
5231       else $CC -o impgen impgen.c ; fi)~ 
5232       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' 
5234     old_archive_from_expsyms_cmds
='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' 
5236     # cygwin and mingw dlls have different entry points and sets of symbols 
5238     # FIXME: what about values for MSVC? 
5239     dll_entry
=__cygwin_dll_entry@
12 
5240     dll_exclude_symbols
=DllMain@
12,_cygwin_dll_entry@
12,_cygwin_noncygwin_dll_entry@
12~
 
5244       dll_entry
=_DllMainCRTStartup@
12 
5245       dll_exclude_symbols
=DllMain@
12,DllMainCRTStartup@
12,DllEntryPoint@
12~
 
5249     # mingw and cygwin differ, and it's simplest to just exclude the union 
5250     # of the two symbol sets. 
5251     dll_exclude_symbols
=DllMain@
12,_cygwin_dll_entry@
12,_cygwin_noncygwin_dll_entry@
12,DllMainCRTStartup@
12,DllEntryPoint@
12 
5253     # recent cygwin and mingw systems supply a stub DllMain which the user 
5254     # can override, but on older systems we have to supply one (in ltdll.c) 
5255     if test "x$lt_cv_need_dllmain" = "xyes"; then 
5256       ltdll_obj
='$output_objdir/$soname-ltdll.'"$ac_objext " 
5257       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~ 
5258         test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' 
5264     # Extract the symbol export list from an `--export-all' def file, 
5265     # then regenerate the def file from the symbol export list, so that 
5266     # the compiled dll only exports the symbol export list. 
5267     # Be careful not to strip the DATA tag left be newer dlltools. 
5268     export_symbols_cmds
="$ltdll_cmds"' 
5269       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ 
5270       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' 
5272     # If the export-symbols file already is a .def file (1st line 
5273     # is EXPORTS), use it as is. 
5274     # If DATA tags from a recent dlltool are present, honour them! 
5275     archive_expsym_cmds
='if test "x`head -1 $export_symbols`" = xEXPORTS; then 
5276         cp $export_symbols $output_objdir/$soname-def; 
5278         echo EXPORTS > $output_objdir/$soname-def; 
5280         cat $export_symbols | while read symbol; do 
5283            2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; 
5284            *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; 
5286          _lt_hint=`expr 1 + \$_lt_hint`; 
5290       $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~ 
5291       $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~ 
5292       $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~ 
5293       $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~ 
5294       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' 
5298     if echo __ELF__ 
| $CC -E - | grep __ELF__ 
>/dev
/null
; then 
5299       archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 
5302       archive_cmds
='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
5303       archive_expsym_cmds
='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
5308     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev
/null
; then 
5312 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 
5313 *** create shared libraries on Solaris systems.  Therefore, libtool 
5314 *** is disabling shared libraries support.  We urge you to upgrade GNU 
5315 *** binutils to release 2.9.1 or newer.  Another option is to modify 
5316 *** your PATH or compiler configuration so that the native linker is 
5317 *** used, and then restart. 
5320     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev
/null
; then 
5321       archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
5322       archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
5329     archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
5332     hardcode_shlibpath_var
=no
 
5336     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev
/null
; then 
5337       archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
5338       archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
5345   if test "$ld_shlibs" = yes; then 
5346     runpath_var
=LD_RUN_PATH
 
5347     hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir' 
5348     export_dynamic_flag_spec
='${wl}--export-dynamic' 
5350     cygwin
* | mingw
* | pw32
*) 
5351       # dlltool doesn't understand --whole-archive et. al. 
5352       whole_archive_flag_spec
= 
5355       # ancient GNU ld didn't support --whole-archive et. al. 
5356       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev
/null
; then 
5357         whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
5359         whole_archive_flag_spec
= 
5365   # PORTME fill in a description of your system's linker (not GNU ld) 
5368     allow_undefined_flag
=unsupported
 
5369     always_export_symbols
=yes 
5370     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' 
5371     # Note: this linker hardcodes the directories in LIBPATH if there 
5372     # are no directories specified by -L. 
5373     hardcode_minus_L
=yes 
5374     if test "$GCC" = yes && test -z "$link_static_flag"; then 
5375       # Neither direct hardcoding nor static linking is supported with a 
5377       hardcode_direct
=unsupported
 
5382     if test "$host_cpu" = ia64
; then 
5383       # On IA64, the linker does run time linking by default, so we don't 
5384       # have to do anything special. 
5385       aix_use_runtimelinking
=no
 
5386       exp_sym_flag
='-Bexport' 
5389       aix_use_runtimelinking
=no
 
5391       # Test if we are trying to use run time linking or normal 
5392       # AIX style linking. If -brtl is somewhere in LDFLAGS, we 
5393       # need to do runtime linking. 
5394       case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*) 
5395         for ld_flag 
in $LDFLAGS; do 
5396           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 
5397             aix_use_runtimelinking
=yes 
5403       exp_sym_flag
='-bexport' 
5404       no_entry_flag
='-bnoentry' 
5407     # When large executables or shared objects are built, AIX ld can 
5408     # have problems creating the table of contents.  If linking a library 
5409     # or program results in "error TOC overflow" add -mminimal-toc to 
5410     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not 
5411     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 
5415     hardcode_libdir_separator
=':' 
5416     if test "$GCC" = yes; then 
5417       case $host_os in aix4.
[012]|aix4.
[012].
*) 
5418         collect2name
=`${CC} -print-prog-name=collect2` 
5419         if test -f "$collect2name" && \
 
5420           strings "$collect2name" | grep resolve_lib_name 
>/dev
/null
 
5422           # We have reworked collect2 
5425           # We have old collect2 
5426           hardcode_direct
=unsupported
 
5427           # It fails to find uninstalled libraries when the uninstalled 
5428           # path is not listed in the libpath.  Setting hardcode_minus_L 
5429           # to unsupported forces relinking 
5430           hardcode_minus_L
=yes 
5431           hardcode_libdir_flag_spec
='-L$libdir' 
5432           hardcode_libdir_separator
= 
5436       shared_flag
='-shared' 
5439       if test "$host_cpu" = ia64
; then 
5440         shared_flag
='${wl}-G' 
5442         if test "$aix_use_runtimelinking" = yes; then 
5443           shared_flag
='${wl}-G' 
5445           shared_flag
='${wl}-bM:SRE' 
5450     # It seems that -bexpall can do strange things, so it is better to 
5451     # generate a list of symbols to export. 
5452     always_export_symbols
=yes 
5453     if test "$aix_use_runtimelinking" = yes; then 
5454       # Warning - without using the other runtime loading flags (-brtl), 
5455       # -berok will link without error, but may produce a broken library. 
5456       allow_undefined_flag
='-berok' 
5457       hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:/usr/lib:/lib' 
5458       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" 
5460       if test "$host_cpu" = ia64
; then 
5461         hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib' 
5462         allow_undefined_flag
="-z nodefs" 
5463         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" 
5465         hardcode_libdir_flag_spec
='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' 
5466         # Warning - without using the other run time loading flags, 
5467         # -berok will link without error, but may produce a broken library. 
5468         allow_undefined_flag
='${wl}-berok' 
5469         # This is a bit strange, but is similar to how AIX traditionally builds 
5470         # it's shared libraries. 
5471         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' 
5477     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)' 
5478     hardcode_libdir_flag_spec
='-L$libdir' 
5479     hardcode_minus_L
=yes 
5480     # see comment about different semantics on the GNU ld section 
5484   cygwin
* | mingw
* | pw32
*) 
5485     # When not using gcc, we currently assume that we are using 
5486     # Microsoft Visual C++. 
5487     # hardcode_libdir_flag_spec is actually meaningless, as there is 
5488     # no search path for DLLs. 
5489     hardcode_libdir_flag_spec
=' ' 
5490     allow_undefined_flag
=unsupported
 
5491     # Tell ltmain to make .lib files, not .a files. 
5493     # FIXME: Setting linknames here is a bad hack. 
5494     archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 
5495     # The linker will automatically build a .lib file if we build a DLL. 
5496     old_archive_from_new_cmds
='true' 
5497     # FIXME: Should let the user specify the lib program. 
5498     old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs' 
5499     fix_srcfile_path
='`cygpath -w "$srcfile"`' 
5502   darwin
* | rhapsody
*) 
5504     rhapsody
* | darwin1.
[012]) 
5505       allow_undefined_flag
='-undefined suppress' 
5508       allow_undefined_flag
='-flat_namespace -undefined suppress' 
5511     # FIXME: Relying on posixy $() will cause problems for 
5512     #        cross-compilation, but unfortunately the echo tests do not 
5513     #        yet detect zsh echo's removal of \ escapes. 
5514     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' 
5515     # We need to add '_' to the symbols in $export_symbols first 
5516     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' 
5518     hardcode_shlibpath_var
=no
 
5519     whole_archive_flag_spec
='-all_load $convenience' 
5526   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 
5527   # support.  Future versions do this automatically, but an explicit c++rt0.o 
5528   # does not break anything, and helps significantly (at the cost of a little 
5531     archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 
5532     hardcode_libdir_flag_spec
='-R$libdir' 
5534     hardcode_shlibpath_var
=no
 
5537   # Unfortunately, older versions of FreeBSD 2 do not have this feature. 
5539     archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
5541     hardcode_minus_L
=yes 
5542     hardcode_shlibpath_var
=no
 
5545   # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 
5547     archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 
5548     hardcode_libdir_flag_spec
='-R$libdir' 
5550     hardcode_shlibpath_var
=no
 
5553   hpux9
* | hpux10
* | hpux11
*) 
5555     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' ;; 
5556     *) archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; 
5558     hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir' 
5559     hardcode_libdir_separator
=: 
5561     hardcode_minus_L
=yes # Not in the search PATH, but as the default 
5562                          # location of the library. 
5563     export_dynamic_flag_spec
='${wl}-E' 
5567     if test "$GCC" = yes; then 
5568       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' 
5570       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' 
5572     hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
5573     hardcode_libdir_separator
=: 
5574     link_all_deplibs
=yes 
5578     if echo __ELF__ 
| $CC -E - | grep __ELF__ 
>/dev
/null
; then 
5579       archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out 
5581       archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF 
5583     hardcode_libdir_flag_spec
='-R$libdir' 
5585     hardcode_shlibpath_var
=no
 
5589     archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5591     hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
5592     hardcode_libdir_separator
=: 
5593     hardcode_shlibpath_var
=no
 
5598     hardcode_shlibpath_var
=no
 
5599     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
5600       archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' 
5601       hardcode_libdir_flag_spec
='${wl}-rpath,$libdir' 
5602       export_dynamic_flag_spec
='${wl}-E' 
5605       openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*) 
5606         archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
5607         hardcode_libdir_flag_spec
='-R$libdir' 
5610         archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' 
5611         hardcode_libdir_flag_spec
='${wl}-rpath,$libdir' 
5618     hardcode_libdir_flag_spec
='-L$libdir' 
5619     hardcode_minus_L
=yes 
5620     allow_undefined_flag
=unsupported
 
5621     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' 
5622     old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 
5626     if test "$GCC" = yes; then 
5627       allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*' 
5628       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' 
5630       allow_undefined_flag
=' -expect_unresolved \*' 
5631       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' 
5633     hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
5634     hardcode_libdir_separator
=: 
5637   osf4
* | osf5
*)        # as osf3* with the addition of -msym flag 
5638     if test "$GCC" = yes; then 
5639       allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*' 
5640       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' 
5641       hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
5643       allow_undefined_flag
=' -expect_unresolved \*' 
5644       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' 
5645       archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ 
5646       $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' 
5648       #Both c and cxx compiler support -rpath directly 
5649       hardcode_libdir_flag_spec
='-rpath $libdir' 
5651     hardcode_libdir_separator
=: 
5655     archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5656     hardcode_shlibpath_var
=no
 
5657     runpath_var
=LD_RUN_PATH
 
5658     hardcode_runpath_var
=yes 
5659     export_dynamic_flag_spec
='${wl}-Bexport' 
5663     # gcc --version < 3.0 without binutils cannot create self contained 
5664     # shared libraries reliably, requiring libgcc.a to resolve some of 
5665     # the object symbols generated in some cases.  Libraries that use 
5666     # assert need libgcc.a to resolve __eprintf, for example.  Linking 
5667     # a copy of libgcc.a into every shared library to guarantee resolving 
5668     # such symbols causes other problems:  According to Tim Van Holder 
5669     # <tim.van.holder@pandora.be>, C++ libraries end up with a separate 
5670     # (to the application) exception stack for one thing. 
5671     no_undefined_flag
=' -z defs' 
5672     if test "$GCC" = yes; then 
5673       case `$CC --version 2>/dev/null` in 
5677 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably 
5678 *** create self contained shared libraries on Solaris systems, without 
5679 *** introducing a dependency on libgcc.a.  Therefore, libtool is disabling 
5680 *** -no-undefined support, which will at least allow you to build shared 
5681 *** libraries.  However, you may find that when you link such libraries 
5682 *** into an application without using GCC, you have to manually add 
5683 *** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to 
5684 *** upgrade to a newer version of GCC.  Another option is to rebuild your 
5685 *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. 
5692     # $CC -shared without GNU ld will not create a library from C++ 
5693     # object files and a static libstdc++, better avoid it by now 
5694     archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5695     archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 
5696                 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 
5697     hardcode_libdir_flag_spec
='-R$libdir' 
5698     hardcode_shlibpath_var
=no
 
5700     solaris2.
[0-5] | solaris2.
[0-5].
*) ;; 
5701     *) # Supported since Solaris 2.6 (maybe 2.5.1?) 
5702       whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;; 
5704     link_all_deplibs
=yes 
5708     if test "x$host_vendor" = xsequent
; then 
5709       # Use $CC to link under sequent, because it throws in some extra .o 
5710       # files that make .init and .fini sections work. 
5711       archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 
5713       archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 
5715     hardcode_libdir_flag_spec
='-L$libdir' 
5717     hardcode_minus_L
=yes 
5718     hardcode_shlibpath_var
=no
 
5722     if test "x$host_vendor" = xsno
; then 
5723       archive_cmds
='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5724       hardcode_direct
=yes # is this really true??? 
5726       archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5727       hardcode_direct
=no 
#Motorola manual says yes, but my tests say they lie 
5729     runpath_var
='LD_RUN_PATH' 
5730     hardcode_shlibpath_var
=no
 
5734     archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5735     hardcode_shlibpath_var
=no
 
5736     export_dynamic_flag_spec
='-Bexport' 
5740     no_undefined_flag
=' -z text' 
5741     # $CC -shared without GNU ld will not create a library from C++ 
5742     # object files and a static libstdc++, better avoid it by now 
5743     archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5744     archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 
5745                 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 
5746     hardcode_libdir_flag_spec
= 
5747     hardcode_shlibpath_var
=no
 
5748     runpath_var
='LD_RUN_PATH' 
5752     archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5753     hardcode_libdir_flag_spec
='-L$libdir' 
5754     hardcode_shlibpath_var
=no
 
5758     archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5759     hardcode_libdir_flag_spec
='-L$libdir' 
5760     hardcode_shlibpath_var
=no
 
5764     if test -d /usr
/nec
; then 
5765       archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
5766       hardcode_shlibpath_var
=no
 
5767       runpath_var
=LD_RUN_PATH
 
5768       hardcode_runpath_var
=yes 
5774     archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags' 
5777     hardcode_shlibpath_var
=no
 
5778     hardcode_runpath_var
=yes 
5779     runpath_var
=LD_RUN_PATH
 
5782   sysv5uw7
* | unixware7
*) 
5783     no_undefined_flag
='${wl}-z ${wl}text' 
5784     if test "$GCC" = yes; then 
5785       archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
5787       archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
5789     runpath_var
='LD_RUN_PATH' 
5790     hardcode_shlibpath_var
=no
 
5798 echo "$as_me:$LINENO: result: $ld_shlibs" >&5 
5799 echo "${ECHO_T}$ld_shlibs" >&6 
5800 test "$ld_shlibs" = no 
&& can_build_shared
=no
 
5804 ## FIXME: this should be a separate macro 
5806 # Check hardcoding attributes. 
5807 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 
5808 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 
5810 if test -n "$hardcode_libdir_flag_spec" || \
 
5811    test -n "$runpath_var"; then 
5813   # We can hardcode non-existant directories. 
5814   if test "$hardcode_direct" != no 
&& 
5815      # If the only mechanism to avoid hardcoding is shlibpath_var, we 
5816      # have to relink, otherwise we might link with an installed library 
5817      # when we should be linking with a yet-to-be-installed one 
5818      ## test "$hardcode_shlibpath_var" != no && 
5819      test "$hardcode_minus_L" != no
; then 
5820     # Linking always hardcodes the temporary library directory. 
5821     hardcode_action
=relink
 
5823     # We can link without hardcoding, and we can hardcode nonexisting dirs. 
5824     hardcode_action
=immediate
 
5827   # We cannot hardcode anything, or else we can only hardcode existing 
5829   hardcode_action
=unsupported
 
5831 echo "$as_me:$LINENO: result: $hardcode_action" >&5 
5832 echo "${ECHO_T}$hardcode_action" >&6 
5836 ## FIXME: this should be a separate macro 
5840 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 
5841 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 
5842 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev
/null
; then 
5843   test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug" 
5844   test -z "$striplib" && striplib
="$STRIP --strip-unneeded" 
5845   echo "$as_me:$LINENO: result: yes" >&5 
5846 echo "${ECHO_T}yes" >&6 
5848   echo "$as_me:$LINENO: result: no" >&5 
5849 echo "${ECHO_T}no" >&6 
5854 reload_cmds
='$LD$reload_flag -o $output$reload_objs' 
5855 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
 
5857 ## FIXME: this should be a separate macro 
5859 # PORTME Fill in your ld.so characteristics 
5860 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 
5861 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 
5863 libname_spec
='lib$name' 
5870 shlibpath_overrides_runpath
=unknown
 
5872 dynamic_linker
="$host_os ld.so" 
5873 sys_lib_dlsearch_path_spec
="/lib /usr/lib" 
5874 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib" 
5879   library_names_spec
='${libname}${release}.so$versuffix $libname.a' 
5880   shlibpath_var
=LIBPATH
 
5882   # AIX has no versioning support, so we append a major version to the name. 
5883   soname_spec
='${libname}${release}.so$major' 
5888   if test "$host_cpu" = ia64
; then 
5889     # AIX 5 supports IA64 
5890     library_names_spec
='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' 
5891     shlibpath_var
=LD_LIBRARY_PATH
 
5893     # With GCC up to 2.95.x, collect2 would create an import file 
5894     # for dependence libraries.  The import file would start with 
5895     # the line `#! .'.  This would cause the generated library to 
5896     # depend on `.', always an invalid library.  This was fixed in 
5897     # development snapshots of GCC prior to 3.0. 
5899       aix4 
| aix4.
[01] | aix4.
[01].
*) 
5900         if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 
5902              echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then 
5909     # AIX (on Power*) has no versioning support, so currently we can 
5910     # not hardcode correct soname into executable. Probably we can 
5911     # add versioning support to collect2, so additional links can 
5912     # be useful in future. 
5913     if test "$aix_use_runtimelinking" = yes; then 
5914       # If using run time linking (on AIX 4.2 or later) use lib<name>.so 
5915       # instead of lib<name>.a to let people know that these are not 
5916       # typical AIX shared libraries. 
5917       library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
5919       # We preserve .a as extension for shared libraries through AIX4.2 
5920       # and later when we are not doing run time linking. 
5921       library_names_spec
='${libname}${release}.a $libname.a' 
5922       soname_spec
='${libname}${release}.so$major' 
5924     shlibpath_var
=LIBPATH
 
5929   library_names_spec
='$libname.ixlibrary $libname.a' 
5930   # Create ${libname}_ixlibrary.a entries in /sys/libs. 
5931   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' 
5935   library_names_spec
='${libname}.so' 
5936   dynamic_linker
="$host_os ld.so" 
5937   shlibpath_var
=LIBRARY_PATH
 
5943   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
5944   soname_spec
='${libname}${release}.so$major' 
5945   finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir' 
5946   shlibpath_var
=LD_LIBRARY_PATH
 
5947   sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 
5948   sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib" 
5949   export_dynamic_flag_spec
=-rdynamic 
5950   # the default ld.so.conf also contains /usr/contrib/lib and 
5951   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 
5952   # libtool to hard-code these into programs 
5955 cygwin
* | mingw
* | pw32
*) 
5956   version_type
=windows
 
5959   case $GCC,$host_os in 
5961     library_names_spec
='$libname.dll.a' 
5962     soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | sed -e 's
/[.
]/-/g
'`${versuffix}.dll' 
5963     postinstall_cmds
='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ 
5964       dldir=$destdir/`dirname \$dlpath`~ 
5965       test -d \$dldir || mkdir -p \$dldir~ 
5966       $install_prog .libs/$dlname \$dldir/$dlname' 
5967     postuninstall_cmds
='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
5968       dlpath=$dir/\$dldll~ 
5972     library_names_spec
='${libname}`echo ${release} | sed -e 's
/[.
]/-/g
'`${versuffix}.dll' 
5973     sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` 
5976     library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | sed -e 's
/.
/-/g
'`${versuffix}.dll' 
5979     library_names_spec
='${libname}`echo ${release} | sed -e 's
/[.
]/-/g
'`${versuffix}.dll $libname.lib' 
5982   dynamic_linker
='Win32 ld.exe' 
5983   # FIXME: first we should search . and the directory the executable is in 
5987 darwin
* | rhapsody
*) 
5988   dynamic_linker
="$host_os dyld" 
5992   # FIXME: Relying on posixy $() will cause problems for 
5993   #        cross-compilation, but unfortunately the echo tests do not 
5994   #        yet detect zsh echo's removal of \ escapes. 
5995   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)' 
5996   soname_spec
='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' 
5997   shlibpath_overrides_runpath
=yes 
5998   shlibpath_var
=DYLD_LIBRARY_PATH
 
6006   objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` 
6007   version_type
=freebsd
-$objformat 
6008   case $version_type in 
6010       library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' 
6015       library_names_spec
='${libname}${release}.so$versuffix $libname.so$versuffix' 
6019   shlibpath_var
=LD_LIBRARY_PATH
 
6022     shlibpath_overrides_runpath
=yes 
6025     shlibpath_overrides_runpath
=no
 
6026     hardcode_into_libs
=yes 
6035   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' 
6036   soname_spec
='${libname}${release}.so$major' 
6037   shlibpath_var
=LD_LIBRARY_PATH
 
6038   hardcode_into_libs
=yes 
6041 hpux9
* | hpux10
* | hpux11
*) 
6042   # Give a soname corresponding to the major version so that dld.sl refuses to 
6043   # link against other versions. 
6044   dynamic_linker
="$host_os dld.sl" 
6048   shlibpath_var
=SHLIB_PATH
 
6049   shlibpath_overrides_runpath
=no 
# +s is required to enable SHLIB_PATH 
6050   library_names_spec
='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' 
6051   soname_spec
='${libname}${release}.sl$major' 
6052   # HP-UX runs *really* slowly unless shared libraries are mode 555. 
6053   postinstall_cmds
='chmod 555 $lib' 
6060   soname_spec
='${libname}${release}.so$major' 
6061   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' 
6067     case $LD in # libtool.m4 will add one of these switches to LD 
6068     *-32|*"-32 ") libsuff
= shlibsuff
= libmagic
=32-bit;; 
6069     *-n32|*"-n32 ") libsuff
=32 shlibsuff
=N32 libmagic
=N32
;; 
6070     *-64|*"-64 ") libsuff
=64 shlibsuff
=64 libmagic
=64-bit;; 
6071     *) libsuff
= shlibsuff
= libmagic
=never
-match;; 
6075   shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
 
6076   shlibpath_overrides_runpath
=no
 
6077   sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 
6078   sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}" 
6081 # No shared lib support for Linux oldld, aout, or coff. 
6082 linux
-gnuoldld* | linux
-gnuaout* | linux
-gnucoff*) 
6086 # This must be Linux ELF. 
6091   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
6092   soname_spec
='${libname}${release}.so$major' 
6093   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir' 
6094   shlibpath_var
=LD_LIBRARY_PATH
 
6095   shlibpath_overrides_runpath
=no
 
6096   # This implies no fast_install, which is unacceptable. 
6097   # Some rework will be needed to allow for fast_install 
6098   # before this can be enabled. 
6099   hardcode_into_libs
=yes 
6101   # We used to test for /lib/ld.so.1 and disable shared libraries on 
6102   # powerpc, because MkLinux only supported shared libraries with the 
6103   # GNU dynamic linker.  Since this was broken with cross compilers, 
6104   # most powerpc-linux boxes support dynamic linking these days and 
6105   # people can always --disable-shared, the test was removed, and we 
6106   # assume the GNU/Linux dynamic linker is in use. 
6107   dynamic_linker
='GNU/Linux ld.so' 
6114   if echo __ELF__ 
| $CC -E - | grep __ELF__ 
>/dev
/null
; then 
6115     library_names_spec
='${libname}${release}.so$versuffix ${libname}.so$versuffix' 
6116     finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
6117     dynamic_linker
='NetBSD (a.out) ld.so' 
6119     library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' 
6120     soname_spec
='${libname}${release}.so$major' 
6121     dynamic_linker
='NetBSD ld.elf_so' 
6123   shlibpath_var
=LD_LIBRARY_PATH
 
6124   shlibpath_overrides_runpath
=yes 
6125   hardcode_into_libs
=yes 
6130   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
6131   shlibpath_var
=LD_LIBRARY_PATH
 
6132   shlibpath_overrides_runpath
=yes 
6139   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
6141     openbsd2.
[89] | openbsd2.
[89].
*) 
6142       shlibpath_overrides_runpath
=no
 
6145       shlibpath_overrides_runpath
=yes 
6149     shlibpath_overrides_runpath
=yes 
6151   library_names_spec
='${libname}${release}.so$versuffix ${libname}.so$versuffix' 
6152   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
6153   shlibpath_var
=LD_LIBRARY_PATH
 
6157   libname_spec
='$name' 
6159   library_names_spec
='$libname.dll $libname.a' 
6160   dynamic_linker
='OS/2 ld.exe' 
6161   shlibpath_var
=LIBPATH
 
6164 osf3
* | osf4
* | osf5
*) 
6167   soname_spec
='${libname}${release}.so' 
6168   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' 
6169   shlibpath_var
=LD_LIBRARY_PATH
 
6170   sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
6171   sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec" 
6176   soname_spec
='${libname}${release}.so$major' 
6177   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
6178   shlibpath_var
=LD_LIBRARY_PATH
 
6185   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
6186   soname_spec
='${libname}${release}.so$major' 
6187   shlibpath_var
=LD_LIBRARY_PATH
 
6188   shlibpath_overrides_runpath
=yes 
6189   hardcode_into_libs
=yes 
6190   # ldd complains unless libraries are executable 
6191   postinstall_cmds
='chmod +x $lib' 
6196   library_names_spec
='${libname}${release}.so$versuffix ${libname}.so$versuffix' 
6197   finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir' 
6198   shlibpath_var
=LD_LIBRARY_PATH
 
6199   shlibpath_overrides_runpath
=yes 
6200   if test "$with_gnu_ld" = yes; then 
6206 sysv4 
| sysv4.2uw2
* | sysv4.3
* | sysv5
*) 
6208   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
6209   soname_spec
='${libname}${release}.so$major' 
6210   shlibpath_var
=LD_LIBRARY_PATH
 
6211   case $host_vendor in 
6213       shlibpath_overrides_runpath
=no
 
6218       shlibpath_overrides_runpath
=no
 
6219       sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib' 
6226   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
6227   soname_spec
='${libname}${release}.so$major' 
6228   shlibpath_var
=LD_LIBRARY_PATH
 
6235   library_names_spec
='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 
6236   soname_spec
='${libname}${release}.so$major' 
6237   shlibpath_var
=LD_LIBRARY_PATH
 
6241   if test -d /usr
/nec 
;then 
6243     library_names_spec
='$libname.so.$versuffix $libname.so.$major $libname.so' 
6244     soname_spec
='$libname.so.$major' 
6245     shlibpath_var
=LD_LIBRARY_PATH
 
6253 echo "$as_me:$LINENO: result: $dynamic_linker" >&5 
6254 echo "${ECHO_T}$dynamic_linker" >&6 
6255 test "$dynamic_linker" = no 
&& can_build_shared
=no
 
6259 ## FIXME: this should be a separate macro 
6261 # Report the final consequences. 
6262 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 
6263 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 
6264 echo "$as_me:$LINENO: result: $can_build_shared" >&5 
6265 echo "${ECHO_T}$can_build_shared" >&6 
6269 ## FIXME: this should be a separate macro 
6271 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 
6272 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 
6273 test "$can_build_shared" = "no" && enable_shared
=no
 
6275 # On AIX, shared libraries and static libraries use the same namespace, and 
6276 # are all built from PIC. 
6279   test "$enable_shared" = yes && enable_static
=no
 
6280   if test -n "$RANLIB"; then 
6281     archive_cmds
="$archive_cmds~\$RANLIB \$lib" 
6282     postinstall_cmds
='$RANLIB $lib' 
6287   if test "$host_cpu" != ia64 
&& test "$aix_use_runtimelinking" = no 
; then 
6288     test "$enable_shared" = yes && enable_static
=no
 
6292 echo "$as_me:$LINENO: result: $enable_shared" >&5 
6293 echo "${ECHO_T}$enable_shared" >&6 
6297 ## FIXME: this should be a separate macro 
6299 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 
6300 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 
6301 # Make sure either enable_shared or enable_static is yes. 
6302 test "$enable_shared" = yes || enable_static
=yes 
6303 echo "$as_me:$LINENO: result: $enable_static" >&5 
6304 echo "${ECHO_T}$enable_static" >&6 
6308 if test "$hardcode_action" = relink
; then 
6309   # Fast installation is not supported 
6310   enable_fast_install
=no
 
6311 elif test "$shlibpath_overrides_runpath" = yes || 
6312      test "$enable_shared" = no
; then 
6313   # Fast installation is not necessary 
6314   enable_fast_install
=needless
 
6317 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var" 
6318 if test "$GCC" = yes; then 
6319   variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
6322 if test "x$enable_dlopen" != xyes
; then 
6323   enable_dlopen
=unknown
 
6324   enable_dlopen_self
=unknown
 
6325   enable_dlopen_self_static
=unknown
 
6332     lt_cv_dlopen
="load_add_on" 
6334     lt_cv_dlopen_self
=yes 
6337   cygwin
* | mingw
* | pw32
*) 
6338     lt_cv_dlopen
="LoadLibrary" 
6343     echo "$as_me:$LINENO: checking for shl_load" >&5 
6344 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 
6345 if test "${ac_cv_func_shl_load+set}" = set; then 
6346   echo $ECHO_N "(cached) $ECHO_C" >&6 
6348   cat >conftest.
$ac_ext <<_ACEOF 
6349 #line $LINENO "configure" 
6352 cat confdefs.h 
>>conftest.
$ac_ext 
6353 cat >>conftest.
$ac_ext <<_ACEOF 
6354 /* end confdefs.h.  */ 
6355 /* System header to define __stub macros and hopefully few prototypes, 
6356     which can conflict with char shl_load (); below. 
6357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
6358     <limits.h> exists even on freestanding compilers.  */ 
6360 # include <limits.h> 
6362 # include <assert.h> 
6364 /* Override any gcc2 internal prototype to avoid an error.  */ 
6369 /* We use char because int might match the return type of a gcc2 
6370    builtin and then its argument prototype would still apply.  */ 
6372 /* The GNU C library defines this for functions which it implements 
6373     to always fail with ENOSYS.  Some functions are actually named 
6374     something starting with __ and the normal name is an alias.  */ 
6375 #if defined (__stub_shl_load) || defined (__stub___shl_load) 
6378 char (*f) () = shl_load; 
6387 return f != shl_load; 
6392 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6394   (eval $ac_link) 2>&5 
6396   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6397   (exit $ac_status); } && 
6398          { ac_try
='test -s conftest$ac_exeext' 
6399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6402   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6403   (exit $ac_status); }; }; then 
6404   ac_cv_func_shl_load
=yes 
6406   echo "$as_me: failed program was:" >&5 
6407 sed 's/^/| /' conftest.
$ac_ext >&5 
6409 ac_cv_func_shl_load
=no
 
6411 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6413 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 
6414 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 
6415 if test $ac_cv_func_shl_load = yes; then 
6416   lt_cv_dlopen
="shl_load" 
6418   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 
6419 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 
6420 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 
6421   echo $ECHO_N "(cached) $ECHO_C" >&6 
6423   ac_check_lib_save_LIBS
=$LIBS 
6425 cat >conftest.
$ac_ext <<_ACEOF 
6426 #line $LINENO "configure" 
6429 cat confdefs.h 
>>conftest.
$ac_ext 
6430 cat >>conftest.
$ac_ext <<_ACEOF 
6431 /* end confdefs.h.  */ 
6433 /* Override any gcc2 internal prototype to avoid an error.  */ 
6437 /* We use char because int might match the return type of a gcc2 
6438    builtin and then its argument prototype would still apply.  */ 
6448 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6450   (eval $ac_link) 2>&5 
6452   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6453   (exit $ac_status); } && 
6454          { ac_try
='test -s conftest$ac_exeext' 
6455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6458   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6459   (exit $ac_status); }; }; then 
6460   ac_cv_lib_dld_shl_load
=yes 
6462   echo "$as_me: failed program was:" >&5 
6463 sed 's/^/| /' conftest.
$ac_ext >&5 
6465 ac_cv_lib_dld_shl_load
=no
 
6467 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6468 LIBS
=$ac_check_lib_save_LIBS 
6470 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 
6471 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 
6472 if test $ac_cv_lib_dld_shl_load = yes; then 
6473   lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld" 
6475   echo "$as_me:$LINENO: checking for dlopen" >&5 
6476 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 
6477 if test "${ac_cv_func_dlopen+set}" = set; then 
6478   echo $ECHO_N "(cached) $ECHO_C" >&6 
6480   cat >conftest.
$ac_ext <<_ACEOF 
6481 #line $LINENO "configure" 
6484 cat confdefs.h 
>>conftest.
$ac_ext 
6485 cat >>conftest.
$ac_ext <<_ACEOF 
6486 /* end confdefs.h.  */ 
6487 /* System header to define __stub macros and hopefully few prototypes, 
6488     which can conflict with char dlopen (); below. 
6489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
6490     <limits.h> exists even on freestanding compilers.  */ 
6492 # include <limits.h> 
6494 # include <assert.h> 
6496 /* Override any gcc2 internal prototype to avoid an error.  */ 
6501 /* We use char because int might match the return type of a gcc2 
6502    builtin and then its argument prototype would still apply.  */ 
6504 /* The GNU C library defines this for functions which it implements 
6505     to always fail with ENOSYS.  Some functions are actually named 
6506     something starting with __ and the normal name is an alias.  */ 
6507 #if defined (__stub_dlopen) || defined (__stub___dlopen) 
6510 char (*f) () = dlopen; 
6524 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6526   (eval $ac_link) 2>&5 
6528   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6529   (exit $ac_status); } && 
6530          { ac_try
='test -s conftest$ac_exeext' 
6531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6534   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6535   (exit $ac_status); }; }; then 
6536   ac_cv_func_dlopen
=yes 
6538   echo "$as_me: failed program was:" >&5 
6539 sed 's/^/| /' conftest.
$ac_ext >&5 
6541 ac_cv_func_dlopen
=no
 
6543 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6545 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 
6546 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 
6547 if test $ac_cv_func_dlopen = yes; then 
6548   lt_cv_dlopen
="dlopen" 
6550   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 
6551 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 
6552 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 
6553   echo $ECHO_N "(cached) $ECHO_C" >&6 
6555   ac_check_lib_save_LIBS
=$LIBS 
6557 cat >conftest.
$ac_ext <<_ACEOF 
6558 #line $LINENO "configure" 
6561 cat confdefs.h 
>>conftest.
$ac_ext 
6562 cat >>conftest.
$ac_ext <<_ACEOF 
6563 /* end confdefs.h.  */ 
6565 /* Override any gcc2 internal prototype to avoid an error.  */ 
6569 /* We use char because int might match the return type of a gcc2 
6570    builtin and then its argument prototype would still apply.  */ 
6580 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6582   (eval $ac_link) 2>&5 
6584   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6585   (exit $ac_status); } && 
6586          { ac_try
='test -s conftest$ac_exeext' 
6587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6590   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6591   (exit $ac_status); }; }; then 
6592   ac_cv_lib_dl_dlopen
=yes 
6594   echo "$as_me: failed program was:" >&5 
6595 sed 's/^/| /' conftest.
$ac_ext >&5 
6597 ac_cv_lib_dl_dlopen
=no
 
6599 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6600 LIBS
=$ac_check_lib_save_LIBS 
6602 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 
6603 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 
6604 if test $ac_cv_lib_dl_dlopen = yes; then 
6605   lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl" 
6607   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 
6608 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 
6609 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 
6610   echo $ECHO_N "(cached) $ECHO_C" >&6 
6612   ac_check_lib_save_LIBS
=$LIBS 
6614 cat >conftest.
$ac_ext <<_ACEOF 
6615 #line $LINENO "configure" 
6618 cat confdefs.h 
>>conftest.
$ac_ext 
6619 cat >>conftest.
$ac_ext <<_ACEOF 
6620 /* end confdefs.h.  */ 
6622 /* Override any gcc2 internal prototype to avoid an error.  */ 
6626 /* We use char because int might match the return type of a gcc2 
6627    builtin and then its argument prototype would still apply.  */ 
6637 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6639   (eval $ac_link) 2>&5 
6641   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6642   (exit $ac_status); } && 
6643          { ac_try
='test -s conftest$ac_exeext' 
6644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6647   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6648   (exit $ac_status); }; }; then 
6649   ac_cv_lib_svld_dlopen
=yes 
6651   echo "$as_me: failed program was:" >&5 
6652 sed 's/^/| /' conftest.
$ac_ext >&5 
6654 ac_cv_lib_svld_dlopen
=no
 
6656 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6657 LIBS
=$ac_check_lib_save_LIBS 
6659 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 
6660 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 
6661 if test $ac_cv_lib_svld_dlopen = yes; then 
6662   lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld" 
6664   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 
6665 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 
6666 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 
6667   echo $ECHO_N "(cached) $ECHO_C" >&6 
6669   ac_check_lib_save_LIBS
=$LIBS 
6671 cat >conftest.
$ac_ext <<_ACEOF 
6672 #line $LINENO "configure" 
6675 cat confdefs.h 
>>conftest.
$ac_ext 
6676 cat >>conftest.
$ac_ext <<_ACEOF 
6677 /* end confdefs.h.  */ 
6679 /* Override any gcc2 internal prototype to avoid an error.  */ 
6683 /* We use char because int might match the return type of a gcc2 
6684    builtin and then its argument prototype would still apply.  */ 
6694 rm -f conftest.
$ac_objext conftest
$ac_exeext 
6695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6696   (eval $ac_link) 2>&5 
6698   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6699   (exit $ac_status); } && 
6700          { ac_try
='test -s conftest$ac_exeext' 
6701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
6704   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6705   (exit $ac_status); }; }; then 
6706   ac_cv_lib_dld_dld_link
=yes 
6708   echo "$as_me: failed program was:" >&5 
6709 sed 's/^/| /' conftest.
$ac_ext >&5 
6711 ac_cv_lib_dld_dld_link
=no
 
6713 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
6714 LIBS
=$ac_check_lib_save_LIBS 
6716 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 
6717 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 
6718 if test $ac_cv_lib_dld_dld_link = yes; then 
6719   lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld" 
6740   if test "x$lt_cv_dlopen" != xno
; then 
6746   case $lt_cv_dlopen in 
6748     save_CPPFLAGS
="$CPPFLAGS" 
6749         test "x$ac_cv_header_dlfcn_h" = xyes 
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H" 
6751     save_LDFLAGS
="$LDFLAGS" 
6752     eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\" 
6755     LIBS
="$lt_cv_dlopen_libs $LIBS" 
6757     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 
6758 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 
6759 if test "${lt_cv_dlopen_self+set}" = set; then 
6760   echo $ECHO_N "(cached) $ECHO_C" >&6 
6762           if test "$cross_compiling" = yes; then : 
6763   lt_cv_dlopen_self
=cross
 
6765     lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2 
6766   lt_status
=$lt_dlunknown 
6767   cat > conftest.
$ac_ext <<EOF 
6768 #line 6768 "configure" 
6769 #include "confdefs.h" 
6778 #  define LT_DLGLOBAL           RTLD_GLOBAL 
6781 #    define LT_DLGLOBAL         DL_GLOBAL 
6783 #    define LT_DLGLOBAL         0 
6787 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 
6788    find out it does not work in some platform. */ 
6789 #ifndef LT_DLLAZY_OR_NOW 
6791 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY 
6794 #      define LT_DLLAZY_OR_NOW          DL_LAZY 
6797 #        define LT_DLLAZY_OR_NOW        RTLD_NOW 
6800 #          define LT_DLLAZY_OR_NOW      DL_NOW 
6802 #          define LT_DLLAZY_OR_NOW      0 
6810 extern "C" void exit (int); 
6813 void fnord() { int i=42;} 
6816   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 
6817   int status = $lt_dlunknown; 
6821       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; 
6822       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 
6823       /* dlclose (self); */ 
6829   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6830   (eval $ac_link) 2>&5 
6832   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6833   (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then 
6834     (.
/conftest
; exit; ) 2>/dev
/null
 
6837       x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;; 
6838       x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;; 
6839       x
$lt_unknown|x
*) lt_cv_dlopen_self
=no 
;; 
6842     # compilation failed 
6843     lt_cv_dlopen_self
=no
 
6850 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 
6851 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 
6853     if test "x$lt_cv_dlopen_self" = xyes
; then 
6854       LDFLAGS
="$LDFLAGS $link_static_flag" 
6855       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 
6856 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 
6857 if test "${lt_cv_dlopen_self_static+set}" = set; then 
6858   echo $ECHO_N "(cached) $ECHO_C" >&6 
6860           if test "$cross_compiling" = yes; then : 
6861   lt_cv_dlopen_self_static
=cross
 
6863     lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2 
6864   lt_status
=$lt_dlunknown 
6865   cat > conftest.
$ac_ext <<EOF 
6866 #line 6866 "configure" 
6867 #include "confdefs.h" 
6876 #  define LT_DLGLOBAL           RTLD_GLOBAL 
6879 #    define LT_DLGLOBAL         DL_GLOBAL 
6881 #    define LT_DLGLOBAL         0 
6885 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 
6886    find out it does not work in some platform. */ 
6887 #ifndef LT_DLLAZY_OR_NOW 
6889 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY 
6892 #      define LT_DLLAZY_OR_NOW          DL_LAZY 
6895 #        define LT_DLLAZY_OR_NOW        RTLD_NOW 
6898 #          define LT_DLLAZY_OR_NOW      DL_NOW 
6900 #          define LT_DLLAZY_OR_NOW      0 
6908 extern "C" void exit (int); 
6911 void fnord() { int i=42;} 
6914   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 
6915   int status = $lt_dlunknown; 
6919       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; 
6920       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 
6921       /* dlclose (self); */ 
6927   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
6928   (eval $ac_link) 2>&5 
6930   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6931   (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then 
6932     (.
/conftest
; exit; ) 2>/dev
/null
 
6935       x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;; 
6936       x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;; 
6937       x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no 
;; 
6940     # compilation failed 
6941     lt_cv_dlopen_self_static
=no
 
6948 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 
6949 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 
6952     CPPFLAGS
="$save_CPPFLAGS" 
6953     LDFLAGS
="$save_LDFLAGS" 
6958   case $lt_cv_dlopen_self in 
6959   yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;; 
6960   *) enable_dlopen_self
=unknown 
;; 
6963   case $lt_cv_dlopen_self_static in 
6964   yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;; 
6965   *) enable_dlopen_self_static
=unknown 
;; 
6970 ## FIXME: this should be a separate macro 
6972 if test "$enable_shared" = yes && test "$GCC" = yes; then 
6973   case $archive_cmds in 
6975     # FIXME: we may have to deal with multi-command sequences. 
6978     # Test whether the compiler implicitly links with -lc since on some 
6979     # systems, -lgcc has to come before -lc. If gcc already passes -lc 
6980     # to ld, don't add -lc before -lgcc. 
6981     echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 
6982 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 
6983     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then 
6984   echo $ECHO_N "(cached) $ECHO_C" >&6 
6987     echo 'static int dummy;' > conftest.
$ac_ext 
6989     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
6990   (eval $ac_compile) 2>&5 
6992   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
6993   (exit $ac_status); }; then 
6996       libobjs
=conftest.
$ac_objext 
6998       wl
=$lt_cv_prog_cc_wl 
7004       save_allow_undefined_flag
=$allow_undefined_flag 
7005       allow_undefined_flag
= 
7006       if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 
7007   (eval $archive_cmds 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null 
2\
>\
&1) 2>&5 
7009   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7010   (exit $ac_status); } 
7012         lt_cv_archive_cmds_need_lc
=no
 
7014         lt_cv_archive_cmds_need_lc
=yes 
7016       allow_undefined_flag
=$save_allow_undefined_flag 
7018       cat conftest.err 
1>&5 
7022     echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 
7023 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 
7027 need_lc
=${lt_cv_archive_cmds_need_lc-yes} 
7031 ## FIXME: this should be a separate macro 
7033 # The second clause should only fire when bootstrapping the 
7034 # libtool distribution, otherwise you forgot to ship ltmain.sh 
7035 # with your package, and you will get complaints that there are 
7036 # no rules to generate ltmain.sh. 
7037 if test -f "$ltmain"; then 
7040   # If there is no Makefile yet, we rely on a make rule to execute 
7041   # `config.status --recheck' to rerun these tests and create the 
7042   # libtool script then. 
7043   test -f Makefile 
&& make "$ltmain" 
7046 if test -f "$ltmain"; then 
7047   trap "$rm \"${ofile}T\"; exit 1" 1 2 15 
7050   echo creating 
$ofile 
7052   # Now quote all the things that may contain metacharacters while being 
7053   # careful not to overquote the AC_SUBSTed values.  We take copies of the 
7054   # variables and quote the copies for generation of the libtool script. 
7055   for var 
in echo old_CC old_CFLAGS \
 
7056     AR AR_FLAGS CC LD LN_S NM SHELL \
 
7057     reload_flag reload_cmds wl \
 
7058     pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
 
7059     thread_safe_flag_spec whole_archive_flag_spec libname_spec \
 
7060     library_names_spec soname_spec \
 
7061     RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
 
7062     old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
 
7063     postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
 
7064     old_striplib striplib file_magic_cmd export_symbols_cmds \
 
7065     deplibs_check_method allow_undefined_flag no_undefined_flag \
 
7066     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
 
7067     global_symbol_to_c_name_address \
 
7068     hardcode_libdir_flag_spec hardcode_libdir_separator  \
 
7069     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
7070     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms
; do 
7073     reload_cmds 
| old_archive_cmds 
| old_archive_from_new_cmds 
| \
 
7074     old_postinstall_cmds 
| old_postuninstall_cmds 
| \
 
7075     export_symbols_cmds 
| archive_cmds 
| archive_expsym_cmds 
| \
 
7076     extract_expsyms_cmds 
| old_archive_from_expsyms_cmds 
| \
 
7077     postinstall_cmds 
| postuninstall_cmds 
| \
 
7078     finish_cmds 
| sys_lib_search_path_spec 
| sys_lib_dlsearch_path_spec
) 
7079       # Double-quote double-evaled strings. 
7080       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 
7083       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 
7088   cat <<__EOF__ > "${ofile}T" 
7091 # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 
7092 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) 
7093 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 
7095 # Copyright (C) 1996-2000 Free Software Foundation, Inc. 
7096 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 
7098 # This program is free software; you can redistribute it and/or modify 
7099 # it under the terms of the GNU General Public License as published by 
7100 # the Free Software Foundation; either version 2 of the License, or 
7101 # (at your option) any later version. 
7103 # This program is distributed in the hope that it will be useful, but 
7104 # WITHOUT ANY WARRANTY; without even the implied warranty of 
7105 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
7106 # General Public License for more details. 
7108 # You should have received a copy of the GNU General Public License 
7109 # along with this program; if not, write to the Free Software 
7110 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
7112 # As a special exception to the GNU General Public License, if you 
7113 # distribute this file as part of a program that contains a 
7114 # configuration script generated by Autoconf, you may include it under 
7115 # the same distribution terms that you use for the rest of that program. 
7117 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 
7118 Xsed="sed -e s/^X//" 
7120 # The HP-UX ksh and POSIX shell print the target directory to stdout 
7122 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 
7124 # ### BEGIN LIBTOOL CONFIG 
7126 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 
7128 # Shell to use when invoking shell scripts. 
7131 # Whether or not to build shared libraries. 
7132 build_libtool_libs=$enable_shared 
7134 # Whether or not to build static libraries. 
7135 build_old_libs=$enable_static 
7137 # Whether or not to add -lc for building shared libraries. 
7138 build_libtool_need_lc=$need_lc 
7140 # Whether or not to optimize for fast installation. 
7141 fast_install=$enable_fast_install 
7144 host_alias=$host_alias 
7147 # An echo program that does not interpret backslashes. 
7152 AR_FLAGS=$lt_AR_FLAGS 
7154 # The default C compiler. 
7157 # Is the compiler the GNU C compiler? 
7160 # The linker used to build libraries. 
7163 # Whether we need hard or soft links. 
7166 # A BSD-compatible nm program. 
7169 # A symbol stripping program 
7172 # Used to examine libraries when file_magic_cmd begins "file" 
7173 MAGIC_CMD=$MAGIC_CMD 
7175 # Used on cygwin: DLL creation program. 
7178 # Used on cygwin: object dumper. 
7181 # Used on cygwin: assembler. 
7184 # The name of the directory that contains temporary libtool files. 
7187 # How to create reloadable object files. 
7188 reload_flag=$lt_reload_flag 
7189 reload_cmds=$lt_reload_cmds 
7191 # How to pass a linker flag through the compiler. 
7194 # Object file suffix (normally "o"). 
7197 # Old archive suffix (normally "a"). 
7200 # Executable file suffix (normally ""). 
7203 # Additional compiler flags for building library objects. 
7204 pic_flag=$lt_pic_flag 
7207 # Does compiler simultaneously support -c and -o options? 
7208 compiler_c_o=$lt_compiler_c_o 
7210 # Can we write directly to a .lo ? 
7211 compiler_o_lo=$lt_compiler_o_lo 
7213 # Must we lock files when doing compilation ? 
7214 need_locks=$lt_need_locks 
7216 # Do we need the lib prefix for modules? 
7217 need_lib_prefix=$need_lib_prefix 
7219 # Do we need a version for libraries? 
7220 need_version=$need_version 
7222 # Whether dlopen is supported. 
7223 dlopen_support=$enable_dlopen 
7225 # Whether dlopen of programs is supported. 
7226 dlopen_self=$enable_dlopen_self 
7228 # Whether dlopen of statically linked programs is supported. 
7229 dlopen_self_static=$enable_dlopen_self_static 
7231 # Compiler flag to prevent dynamic linking. 
7232 link_static_flag=$lt_link_static_flag 
7234 # Compiler flag to turn off builtin functions. 
7235 no_builtin_flag=$lt_no_builtin_flag 
7237 # Compiler flag to allow reflexive dlopens. 
7238 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 
7240 # Compiler flag to generate shared objects directly from archives. 
7241 whole_archive_flag_spec=$lt_whole_archive_flag_spec 
7243 # Compiler flag to generate thread-safe objects. 
7244 thread_safe_flag_spec=$lt_thread_safe_flag_spec 
7246 # Library versioning type. 
7247 version_type=$version_type 
7249 # Format of library name prefix. 
7250 libname_spec=$lt_libname_spec 
7252 # List of archive names.  First name is the real one, the rest are links. 
7253 # The last name is the one that the linker finds with -lNAME. 
7254 library_names_spec=$lt_library_names_spec 
7256 # The coded name of the library, if different from the real name. 
7257 soname_spec=$lt_soname_spec 
7259 # Commands used to build and install an old-style archive. 
7261 old_archive_cmds=$lt_old_archive_cmds 
7262 old_postinstall_cmds=$lt_old_postinstall_cmds 
7263 old_postuninstall_cmds=$lt_old_postuninstall_cmds 
7265 # Create an old-style archive from a shared archive. 
7266 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 
7268 # Create a temporary old-style archive to link instead of a shared archive. 
7269 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 
7271 # Commands used to build and install a shared archive. 
7272 archive_cmds=$lt_archive_cmds 
7273 archive_expsym_cmds=$lt_archive_expsym_cmds 
7274 postinstall_cmds=$lt_postinstall_cmds 
7275 postuninstall_cmds=$lt_postuninstall_cmds 
7277 # Commands to strip libraries. 
7278 old_striplib=$lt_old_striplib 
7279 striplib=$lt_striplib 
7281 # Method to check whether dependent libraries are shared objects. 
7282 deplibs_check_method=$lt_deplibs_check_method 
7284 # Command to use when deplibs_check_method == file_magic. 
7285 file_magic_cmd=$lt_file_magic_cmd 
7287 # Flag that allows shared libraries with undefined symbols to be built. 
7288 allow_undefined_flag=$lt_allow_undefined_flag 
7290 # Flag that forces no undefined symbols. 
7291 no_undefined_flag=$lt_no_undefined_flag 
7293 # Commands used to finish a libtool library installation in a directory. 
7294 finish_cmds=$lt_finish_cmds 
7296 # Same as above, but a single script fragment to be evaled but not shown. 
7297 finish_eval=$lt_finish_eval 
7299 # Take the output of nm and produce a listing of raw symbols and C names. 
7300 global_symbol_pipe=$lt_global_symbol_pipe 
7302 # Transform the output of nm in a proper C declaration 
7303 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl 
7305 # Transform the output of nm in a C name address pair 
7306 global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address 
7308 # This is the shared library runtime path variable. 
7309 runpath_var=$runpath_var 
7311 # This is the shared library path variable. 
7312 shlibpath_var=$shlibpath_var 
7314 # Is shlibpath searched before the hard-coded library search path? 
7315 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 
7317 # How to hardcode a shared library path into an executable. 
7318 hardcode_action=$hardcode_action 
7320 # Whether we should hardcode library paths into libraries. 
7321 hardcode_into_libs=$hardcode_into_libs 
7323 # Flag to hardcode \$libdir into a binary during linking. 
7324 # This must work even if \$libdir does not exist. 
7325 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 
7327 # Whether we need a single -rpath flag with a separated argument. 
7328 hardcode_libdir_separator=$lt_hardcode_libdir_separator 
7330 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the 
7332 hardcode_direct=$hardcode_direct 
7334 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 
7336 hardcode_minus_L=$hardcode_minus_L 
7338 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 
7339 # the resulting binary. 
7340 hardcode_shlibpath_var=$hardcode_shlibpath_var 
7342 # Variables whose values should be saved in libtool wrapper scripts and 
7343 # restored at relink time. 
7344 variables_saved_for_relink="$variables_saved_for_relink" 
7346 # Whether libtool must link a program against all its dependency libraries. 
7347 link_all_deplibs=$link_all_deplibs 
7349 # Compile-time system search path for libraries 
7350 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 
7352 # Run-time system search path for libraries 
7353 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 
7355 # Fix the shell variable \$srcfile for the compiler. 
7356 fix_srcfile_path="$fix_srcfile_path" 
7358 # Set to yes if exported symbols are required. 
7359 always_export_symbols=$always_export_symbols 
7361 # The commands to list exported symbols. 
7362 export_symbols_cmds=$lt_export_symbols_cmds 
7364 # The commands to extract the exported symbol list from a shared archive. 
7365 extract_expsyms_cmds=$lt_extract_expsyms_cmds 
7367 # Symbols that should not be listed in the preloaded symbols. 
7368 exclude_expsyms=$lt_exclude_expsyms 
7370 # Symbols that must always be exported. 
7371 include_expsyms=$lt_include_expsyms 
7373 # ### END LIBTOOL CONFIG 
7379     cat <<\EOF 
>> "${ofile}T" 
7381 # AIX sometimes has problems with the GCC collect2 program.  For some 
7382 # reason, if we set the COLLECT_NAMES environment variable, the problems 
7383 # vanish in a puff of smoke. 
7384 if test "X${COLLECT_NAMES+set}" != Xset
; then 
7386   export COLLECT_NAMES
 
7393   cygwin
* | mingw
* | pw32
* | os2
*) 
7394     cat <<'EOF' >> "${ofile}T" 
7395       # This is a source program that is used to create dlls on Windows 
7396       # Don't remove nor modify the starting and closing comments 
7397 # /* ltdll.c starts here */ 
7398 # #define WIN32_LEAN_AND_MEAN 
7399 # #include <windows.h> 
7400 # #undef WIN32_LEAN_AND_MEAN 
7401 # #include <stdio.h> 
7403 # #ifndef __CYGWIN__ 
7404 # #  ifdef __CYGWIN32__ 
7405 # #    define __CYGWIN__ __CYGWIN32__ 
7409 # #ifdef __cplusplus 
7412 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); 
7413 # #ifdef __cplusplus 
7418 # #include <cygwin/cygwin_dll.h> 
7419 # DECLARE_CYGWIN_DLL( DllMain ); 
7421 # HINSTANCE __hDllInstance_base; 
7424 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) 
7426 #   __hDllInstance_base = hInst; 
7429 # /* ltdll.c ends here */ 
7430         # This is a source program that is used to create import libraries 
7431         # on Windows for dlls which lack them. Don't remove nor modify the 
7432         # starting and closing comments 
7433 # /* impgen.c starts here */ 
7434 # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc. 
7436 #  This file is part of GNU libtool. 
7438 #  This program is free software; you can redistribute it and/or modify 
7439 #  it under the terms of the GNU General Public License as published by 
7440 #  the Free Software Foundation; either version 2 of the License, or 
7441 #  (at your option) any later version. 
7443 #  This program is distributed in the hope that it will be useful, 
7444 #  but WITHOUT ANY WARRANTY; without even the implied warranty of 
7445 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
7446 #  GNU General Public License for more details. 
7448 #  You should have received a copy of the GNU General Public License 
7449 #  along with this program; if not, write to the Free Software 
7450 #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
7453 # #include <stdio.h>            /* for printf() */ 
7454 # #include <unistd.h>           /* for open(), lseek(), read() */ 
7455 # #include <fcntl.h>            /* for O_RDONLY, O_BINARY */ 
7456 # #include <string.h>           /* for strdup() */ 
7458 # /* O_BINARY isn't required (or even defined sometimes) under Unix */ 
7460 # #define O_BINARY 0 
7463 # static unsigned int 
7464 # pe_get16 (fd, offset) 
7468 #   unsigned char b[2]; 
7469 #   lseek (fd, offset, SEEK_SET); 
7471 #   return b[0] + (b[1]<<8); 
7474 # static unsigned int 
7475 # pe_get32 (fd, offset) 
7479 #   unsigned char b[4]; 
7480 #   lseek (fd, offset, SEEK_SET); 
7482 #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); 
7485 # static unsigned int 
7489 #   unsigned char *b = ptr; 
7490 #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); 
7499 #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i; 
7500 #     unsigned long export_rva, export_size, nsections, secptr, expptr; 
7501 #     unsigned long name_rvas, nexp; 
7502 #     unsigned char *expdata, *erva; 
7503 #     char *filename, *dll_name; 
7505 #     filename = argv[1]; 
7507 #     dll = open(filename, O_RDONLY|O_BINARY); 
7511 #     dll_name = filename; 
7513 #     for (i=0; filename[i]; i++) 
7514 #       if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':') 
7515 #           dll_name = filename + i +1; 
7517 #     pe_header_offset = pe_get32 (dll, 0x3c); 
7518 #     opthdr_ofs = pe_header_offset + 4 + 20; 
7519 #     num_entries = pe_get32 (dll, opthdr_ofs + 92); 
7521 #     if (num_entries < 1) /* no exports */ 
7524 #     export_rva = pe_get32 (dll, opthdr_ofs + 96); 
7525 #     export_size = pe_get32 (dll, opthdr_ofs + 100); 
7526 #     nsections = pe_get16 (dll, pe_header_offset + 4 +2); 
7527 #     secptr = (pe_header_offset + 4 + 20 + 
7528 #             pe_get16 (dll, pe_header_offset + 4 + 16)); 
7531 #     for (i = 0; i < nsections; i++) 
7534 #       unsigned long secptr1 = secptr + 40 * i; 
7535 #       unsigned long vaddr = pe_get32 (dll, secptr1 + 12); 
7536 #       unsigned long vsize = pe_get32 (dll, secptr1 + 16); 
7537 #       unsigned long fptr = pe_get32 (dll, secptr1 + 20); 
7538 #       lseek(dll, secptr1, SEEK_SET); 
7539 #       read(dll, sname, 8); 
7540 #       if (vaddr <= export_rva && vaddr+vsize > export_rva) 
7542 #           expptr = fptr + (export_rva - vaddr); 
7543 #           if (export_rva + export_size > vaddr + vsize) 
7544 #               export_size = vsize - (export_rva - vaddr); 
7549 #     expdata = (unsigned char*)malloc(export_size); 
7550 #     lseek (dll, expptr, SEEK_SET); 
7551 #     read (dll, expdata, export_size); 
7552 #     erva = expdata - export_rva; 
7554 #     nexp = pe_as32 (expdata+24); 
7555 #     name_rvas = pe_as32 (expdata+32); 
7557 #     printf ("EXPORTS\n"); 
7558 #     for (i = 0; i<nexp; i++) 
7560 #       unsigned long name_rva = pe_as32 (erva+name_rvas+i*4); 
7561 #       printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i); 
7566 # /* impgen.c ends here */ 
7572   # We use sed instead of cat because bash on DJGPP gets confused if 
7573   # if finds mixed CR/LF and LF-only lines.  Since sed operates in 
7574   # text mode, it properly converts lines to CR/LF.  This bash problem 
7575   # is reportedly fixed, but why not run on old versions too? 
7576   sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1) 
7578   mv -f "${ofile}T" "$ofile" || \
 
7579     (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") 
7589 # This can be used to rebuild libtool when needed 
7590 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh" 
7592 # Always use our own libtool. 
7593 LIBTOOL
='$(SHELL) $(top_builddir)/libtool' 
7595 # Prevent multiple expansion 
7603 # Find a good install program.  We prefer a C program (faster), 
7604 # so one script is as good as another.  But avoid the broken or 
7605 # incompatible versions: 
7606 # SysV /etc/install, /usr/sbin/install 
7607 # SunOS /usr/etc/install 
7608 # IRIX /sbin/install 
7610 # AmigaOS /C/install, which installs bootblocks on floppy discs 
7611 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 
7612 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 
7613 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 
7614 # ./install, which can be erroneously created by make from ./install.sh. 
7615 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 
7616 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 
7617 if test -z "$INSTALL"; then 
7618 if test "${ac_cv_path_install+set}" = set; then 
7619   echo $ECHO_N "(cached) $ECHO_C" >&6 
7621   as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
7625   test -z "$as_dir" && as_dir
=.
 
7626   # Account for people who put trailing slashes in PATH elements. 
7628   .
/ | .
// | /cC
/* | \
 
7629   /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
 
7632     # OSF1 and SCO ODT 3.0 have their own names for install. 
7633     # Don't use installbsd from OSF since it installs stuff as root 
7635     for ac_prog 
in ginstall scoinst 
install; do 
7636       for ac_exec_ext 
in '' $ac_executable_extensions; do 
7637         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 
7638           if test $ac_prog = install && 
7639             grep dspmsg 
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null 
2>&1; then 
7640             # AIX install.  It has an incompatible calling convention. 
7642           elif test $ac_prog = install && 
7643             grep pwplus 
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null 
2>&1; then 
7644             # program-specific install script used by HP pwplus--don't use. 
7647             ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c" 
7659   if test "${ac_cv_path_install+set}" = set; then 
7660     INSTALL
=$ac_cv_path_install 
7662     # As a last resort, use the slow shell script.  We don't cache a 
7663     # path for INSTALL within a source directory, because that will 
7664     # break other packages using the cache if that directory is 
7665     # removed, or if the path is relative. 
7666     INSTALL
=$ac_install_sh 
7669 echo "$as_me:$LINENO: result: $INSTALL" >&5 
7670 echo "${ECHO_T}$INSTALL" >&6 
7672 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 
7673 # It thinks the first close brace ends the variable substitution. 
7674 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}' 
7676 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}' 
7678 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644' 
7681 if test "$GCC" = yes ; then 
7682                         OLDCFLAGS
="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes" 
7683     CFLAGS
="$OLDCFLAGS -fexceptions" 
7684     echo "$as_me:$LINENO: checking whether gcc accepts -fexceptions" >&5 
7685 echo $ECHO_N "checking whether gcc accepts -fexceptions... $ECHO_C" >&6 
7686     cat >conftest.
$ac_ext <<_ACEOF 
7687 #line $LINENO "configure" 
7690 cat confdefs.h 
>>conftest.
$ac_ext 
7691 cat >>conftest.
$ac_ext <<_ACEOF 
7692 /* end confdefs.h.  */ 
7702 rm -f conftest.
$ac_objext 
7703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
7704   (eval $ac_compile) 2>&5 
7706   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7707   (exit $ac_status); } && 
7708          { ac_try
='test -s conftest.$ac_objext' 
7709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
7712   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7713   (exit $ac_status); }; }; then 
7714   echo "$as_me:$LINENO: result: yes" >&5 
7715 echo "${ECHO_T}yes" >&6 
7717   echo "$as_me: failed program was:" >&5 
7718 sed 's/^/| /' conftest.
$ac_ext >&5 
7720 echo "$as_me:$LINENO: result: no" >&5 
7721 echo "${ECHO_T}no" >&6; CFLAGS
="$OLDCFLAGS" 
7723 rm -f conftest.
$ac_objext conftest.
$ac_ext 
7726 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
7727 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 
7728 if test "${ac_cv_header_stdc+set}" = set; then 
7729   echo $ECHO_N "(cached) $ECHO_C" >&6 
7731   cat >conftest.
$ac_ext <<_ACEOF 
7732 #line $LINENO "configure" 
7735 cat confdefs.h 
>>conftest.
$ac_ext 
7736 cat >>conftest.
$ac_ext <<_ACEOF 
7737 /* end confdefs.h.  */ 
7751 rm -f conftest.
$ac_objext 
7752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
7753   (eval $ac_compile) 2>&5 
7755   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7756   (exit $ac_status); } && 
7757          { ac_try
='test -s conftest.$ac_objext' 
7758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
7761   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7762   (exit $ac_status); }; }; then 
7763   ac_cv_header_stdc
=yes 
7765   echo "$as_me: failed program was:" >&5 
7766 sed 's/^/| /' conftest.
$ac_ext >&5 
7768 ac_cv_header_stdc
=no
 
7770 rm -f conftest.
$ac_objext conftest.
$ac_ext 
7772 if test $ac_cv_header_stdc = yes; then 
7773   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
7774   cat >conftest.
$ac_ext <<_ACEOF 
7775 #line $LINENO "configure" 
7778 cat confdefs.h 
>>conftest.
$ac_ext 
7779 cat >>conftest.
$ac_ext <<_ACEOF 
7780 /* end confdefs.h.  */ 
7784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
7785   $EGREP "memchr" >/dev
/null 
2>&1; then 
7788   ac_cv_header_stdc
=no
 
7794 if test $ac_cv_header_stdc = yes; then 
7795   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
7796   cat >conftest.
$ac_ext <<_ACEOF 
7797 #line $LINENO "configure" 
7800 cat confdefs.h 
>>conftest.
$ac_ext 
7801 cat >>conftest.
$ac_ext <<_ACEOF 
7802 /* end confdefs.h.  */ 
7806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
7807   $EGREP "free" >/dev
/null 
2>&1; then 
7810   ac_cv_header_stdc
=no
 
7816 if test $ac_cv_header_stdc = yes; then 
7817   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
7818   if test "$cross_compiling" = yes; then 
7821   cat >conftest.
$ac_ext <<_ACEOF 
7822 #line $LINENO "configure" 
7825 cat confdefs.h 
>>conftest.
$ac_ext 
7826 cat >>conftest.
$ac_ext <<_ACEOF 
7827 /* end confdefs.h.  */ 
7829 #if ((' ' & 0x0FF) == 0x020) 
7830 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
7831 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
7833 # define ISLOWER(c) \ 
7834                    (('a' <= (c) && (c) <= 'i') \ 
7835                      || ('j' <= (c) && (c) <= 'r') \ 
7836                      || ('s' <= (c) && (c) <= 'z')) 
7837 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
7840 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
7845   for (i = 0; i < 256; i++) 
7846     if (XOR (islower (i), ISLOWER (i)) 
7847         || toupper (i) != TOUPPER (i)) 
7852 rm -f conftest
$ac_exeext 
7853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
7854   (eval $ac_link) 2>&5 
7856   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7857   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
7858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
7861   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7862   (exit $ac_status); }; }; then 
7865   echo "$as_me: program exited with status $ac_status" >&5 
7866 echo "$as_me: failed program was:" >&5 
7867 sed 's/^/| /' conftest.
$ac_ext >&5 
7870 ac_cv_header_stdc
=no
 
7872 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext 
7876 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
7877 echo "${ECHO_T}$ac_cv_header_stdc" >&6 
7878 if test $ac_cv_header_stdc = yes; then 
7880 cat >>confdefs.h 
<<\_ACEOF
 
7881 #define STDC_HEADERS 1 
7888 for ac_header 
in fcntl.h unistd.h
 
7890 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
7891 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
7892   echo "$as_me:$LINENO: checking for $ac_header" >&5 
7893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
7894 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
7895   echo $ECHO_N "(cached) $ECHO_C" >&6 
7897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
7898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
7900   # Is the header compilable? 
7901 echo "$as_me:$LINENO: checking $ac_header usability" >&5 
7902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 
7903 cat >conftest.
$ac_ext <<_ACEOF 
7904 #line $LINENO "configure" 
7907 cat confdefs.h 
>>conftest.
$ac_ext 
7908 cat >>conftest.
$ac_ext <<_ACEOF 
7909 /* end confdefs.h.  */ 
7910 $ac_includes_default 
7911 #include <$ac_header> 
7913 rm -f conftest.
$ac_objext 
7914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
7915   (eval $ac_compile) 2>&5 
7917   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7918   (exit $ac_status); } && 
7919          { ac_try
='test -s conftest.$ac_objext' 
7920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
7923   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7924   (exit $ac_status); }; }; then 
7925   ac_header_compiler
=yes 
7927   echo "$as_me: failed program was:" >&5 
7928 sed 's/^/| /' conftest.
$ac_ext >&5 
7930 ac_header_compiler
=no
 
7932 rm -f conftest.
$ac_objext conftest.
$ac_ext 
7933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
7934 echo "${ECHO_T}$ac_header_compiler" >&6 
7936 # Is the header present? 
7937 echo "$as_me:$LINENO: checking $ac_header presence" >&5 
7938 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 
7939 cat >conftest.
$ac_ext <<_ACEOF 
7940 #line $LINENO "configure" 
7943 cat confdefs.h 
>>conftest.
$ac_ext 
7944 cat >>conftest.
$ac_ext <<_ACEOF 
7945 /* end confdefs.h.  */ 
7946 #include <$ac_header> 
7948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
7949   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
7951   grep -v '^ *+' conftest.er1 
>conftest.err
 
7953   cat conftest.err 
>&5 
7954   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
7955   (exit $ac_status); } >/dev
/null
; then 
7956   if test -s conftest.err
; then 
7957     ac_cpp_err
=$ac_c_preproc_warn_flag 
7964 if test -z "$ac_cpp_err"; then 
7965   ac_header_preproc
=yes 
7967   echo "$as_me: failed program was:" >&5 
7968 sed 's/^/| /' conftest.
$ac_ext >&5 
7970   ac_header_preproc
=no
 
7972 rm -f conftest.err conftest.
$ac_ext 
7973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
7974 echo "${ECHO_T}$ac_header_preproc" >&6 
7976 # So?  What about this header? 
7977 case $ac_header_compiler:$ac_header_preproc in 
7979     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
7980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
7981     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
7982 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
7985 ## ------------------------------------ ## 
7986 ## Report this to bug-autoconf@gnu.org. ## 
7987 ## ------------------------------------ ## 
7990       sed "s/^/$as_me: WARNING:     /" >&2 
7993     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 
7994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 
7995     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 
7996 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 
7997     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
7998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
8001 ## ------------------------------------ ## 
8002 ## Report this to bug-autoconf@gnu.org. ## 
8003 ## ------------------------------------ ## 
8006       sed "s/^/$as_me: WARNING:     /" >&2 
8009 echo "$as_me:$LINENO: checking for $ac_header" >&5 
8010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
8011 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
8012   echo $ECHO_N "(cached) $ECHO_C" >&6 
8014   eval "$as_ac_Header=$ac_header_preproc" 
8016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
8017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
8020 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
8021   cat >>confdefs.h 
<<_ACEOF 
8022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
8031 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
8032 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 
8033 if test "${ac_cv_c_bigendian+set}" = set; then 
8034   echo $ECHO_N "(cached) $ECHO_C" >&6 
8036   ac_cv_c_bigendian
=unknown
 
8037 # See if sys/param.h defines the BYTE_ORDER macro. 
8038 cat >conftest.
$ac_ext <<_ACEOF 
8039 #line $LINENO "configure" 
8042 cat confdefs.h 
>>conftest.
$ac_ext 
8043 cat >>conftest.
$ac_ext <<_ACEOF 
8044 /* end confdefs.h.  */ 
8045 #include <sys/types.h> 
8046 #include <sys/param.h> 
8051 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 
8058 rm -f conftest.
$ac_objext 
8059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8060   (eval $ac_compile) 2>&5 
8062   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8063   (exit $ac_status); } && 
8064          { ac_try
='test -s conftest.$ac_objext' 
8065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8068   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8069   (exit $ac_status); }; }; then 
8070   # It does; now see whether it defined to BIG_ENDIAN or not. 
8071 cat >conftest.
$ac_ext <<_ACEOF 
8072 #line $LINENO "configure" 
8075 cat confdefs.h 
>>conftest.
$ac_ext 
8076 cat >>conftest.
$ac_ext <<_ACEOF 
8077 /* end confdefs.h.  */ 
8078 #include <sys/types.h> 
8079 #include <sys/param.h> 
8084 #if BYTE_ORDER != BIG_ENDIAN 
8091 rm -f conftest.
$ac_objext 
8092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8093   (eval $ac_compile) 2>&5 
8095   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8096   (exit $ac_status); } && 
8097          { ac_try
='test -s conftest.$ac_objext' 
8098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8101   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8102   (exit $ac_status); }; }; then 
8103   ac_cv_c_bigendian
=yes 
8105   echo "$as_me: failed program was:" >&5 
8106 sed 's/^/| /' conftest.
$ac_ext >&5 
8108 ac_cv_c_bigendian
=no
 
8110 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8112   echo "$as_me: failed program was:" >&5 
8113 sed 's/^/| /' conftest.
$ac_ext >&5 
8116 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8117 if test $ac_cv_c_bigendian = unknown
; then 
8118 if test "$cross_compiling" = yes; then 
8119    echo $ac_n "cross-compiling... " 2>&6 
8121   cat >conftest.
$ac_ext <<_ACEOF 
8122 #line $LINENO "configure" 
8125 cat confdefs.h 
>>conftest.
$ac_ext 
8126 cat >>conftest.
$ac_ext <<_ACEOF 
8127 /* end confdefs.h.  */ 
8129   /* Are we little or big endian?  From Harbison&Steele.  */ 
8133     char c[sizeof (long)]; 
8136   exit (u.c[sizeof (long) - 1] == 1); 
8139 rm -f conftest
$ac_exeext 
8140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
8141   (eval $ac_link) 2>&5 
8143   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8144   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
8145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8148   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8149   (exit $ac_status); }; }; then 
8150   ac_cv_c_bigendian
=no
 
8152   echo "$as_me: program exited with status $ac_status" >&5 
8153 echo "$as_me: failed program was:" >&5 
8154 sed 's/^/| /' conftest.
$ac_ext >&5 
8157 ac_cv_c_bigendian
=yes 
8159 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext 
8163 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
8164 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 
8165 if test $ac_cv_c_bigendian = unknown
; then 
8166 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5 
8167 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6 
8169 cat >conftest.c 
<<EOF 
8170 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
8171 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
8172 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; } 
8173 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
8174 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
8175 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; } 
8176 int main() { _ascii (); _ebcdic (); return 0; } 
8178  if test -f conftest.c 
; then 
8179      if ${CC-cc} -c conftest.c 
-o conftest.o 
&& test -f conftest.o 
; then 
8180         if test `grep -l BIGenDianSyS conftest.o` ; then 
8181            echo $ac_n ' big endian probe OK, ' 1>&6 
8182            ac_cv_c_bigendian
=yes 
8184         if test `grep -l LiTTleEnDian conftest.o` ; then 
8185            echo $ac_n ' little endian probe OK, ' 1>&6 
8186            if test $ac_cv_c_bigendian = yes ; then 
8187             ac_cv_c_bigendian
=unknown
; 
8189             ac_cv_c_bigendian
=no
 
8192         echo $ac_n 'guessing bigendian ...  ' >&6 
8195 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
8196 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 
8198 if test $ac_cv_c_bigendian = yes; then 
8200 cat >>confdefs.h 
<<\_ACEOF
 
8201 #define WORDS_BIGENDIAN 1 
8209 cat >>confdefs.h 
<<_ACEOF 
8210 #define BYTEORDER $BYTEORDER 
8213 if test $ac_cv_c_bigendian = unknown
; then 
8214   { { echo "$as_me:$LINENO: error: unknown endianess - sorry" >&5 
8215 echo "$as_me: error: unknown endianess - sorry" >&2;} 
8216    { (exit please pre
-set ac_cv_c_bigendian
); exit please pre
-set ac_cv_c_bigendian
; }; } 
8220 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 
8221 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 
8222 if test "${ac_cv_c_const+set}" = set; then 
8223   echo $ECHO_N "(cached) $ECHO_C" >&6 
8225   cat >conftest.
$ac_ext <<_ACEOF 
8226 #line $LINENO "configure" 
8229 cat confdefs.h 
>>conftest.
$ac_ext 
8230 cat >>conftest.
$ac_ext <<_ACEOF 
8231 /* end confdefs.h.  */ 
8236 /* FIXME: Include the comments suggested by Paul. */ 
8238   /* Ultrix mips cc rejects this.  */ 
8239   typedef int charset[2]; 
8241   /* SunOS 4.1.1 cc rejects this.  */ 
8242   char const *const *ccp; 
8244   /* NEC SVR4.0.2 mips cc rejects this.  */ 
8245   struct point {int x, y;}; 
8246   static struct point const zero = {0,0}; 
8247   /* AIX XL C 1.02.0.0 rejects this. 
8248      It does not let you subtract one const X* pointer from another in 
8249      an arm of an if-expression whose if-part is not a constant 
8251   const char *g = "string"; 
8252   ccp = &g + (g ? g-g : 0); 
8253   /* HPUX 7.0 cc rejects these. */ 
8256   ccp = (char const *const *) p; 
8257   { /* SCO 3.2v4 cc rejects this.  */ 
8259     char const *s = 0 ? (char *) 0 : (char const *) 0; 
8263   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ 
8265     const int *foo = &x[0]; 
8268   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 
8269     typedef const int *iptr; 
8273   { /* AIX XL C 1.02.0.0 rejects this saying 
8274        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 
8275     struct s { int j; const int *ap[3]; }; 
8276     struct s *b; b->j = 5; 
8278   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 
8287 rm -f conftest.
$ac_objext 
8288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8289   (eval $ac_compile) 2>&5 
8291   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8292   (exit $ac_status); } && 
8293          { ac_try
='test -s conftest.$ac_objext' 
8294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8297   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8298   (exit $ac_status); }; }; then 
8301   echo "$as_me: failed program was:" >&5 
8302 sed 's/^/| /' conftest.
$ac_ext >&5 
8306 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8308 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 
8309 echo "${ECHO_T}$ac_cv_c_const" >&6 
8310 if test $ac_cv_c_const = no
; then 
8312 cat >>confdefs.h 
<<\_ACEOF
 
8318 echo "$as_me:$LINENO: checking for off_t" >&5 
8319 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 
8320 if test "${ac_cv_type_off_t+set}" = set; then 
8321   echo $ECHO_N "(cached) $ECHO_C" >&6 
8323   cat >conftest.
$ac_ext <<_ACEOF 
8324 #line $LINENO "configure" 
8327 cat confdefs.h 
>>conftest.
$ac_ext 
8328 cat >>conftest.
$ac_ext <<_ACEOF 
8329 /* end confdefs.h.  */ 
8330 $ac_includes_default 
8342 rm -f conftest.
$ac_objext 
8343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8344   (eval $ac_compile) 2>&5 
8346   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8347   (exit $ac_status); } && 
8348          { ac_try
='test -s conftest.$ac_objext' 
8349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8352   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8353   (exit $ac_status); }; }; then 
8354   ac_cv_type_off_t
=yes 
8356   echo "$as_me: failed program was:" >&5 
8357 sed 's/^/| /' conftest.
$ac_ext >&5 
8361 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8363 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 
8364 echo "${ECHO_T}$ac_cv_type_off_t" >&6 
8365 if test $ac_cv_type_off_t = yes; then 
8369 cat >>confdefs.h 
<<_ACEOF 
8375 echo "$as_me:$LINENO: checking for size_t" >&5 
8376 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 
8377 if test "${ac_cv_type_size_t+set}" = set; then 
8378   echo $ECHO_N "(cached) $ECHO_C" >&6 
8380   cat >conftest.
$ac_ext <<_ACEOF 
8381 #line $LINENO "configure" 
8384 cat confdefs.h 
>>conftest.
$ac_ext 
8385 cat >>conftest.
$ac_ext <<_ACEOF 
8386 /* end confdefs.h.  */ 
8387 $ac_includes_default 
8393 if (sizeof (size_t)) 
8399 rm -f conftest.
$ac_objext 
8400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8401   (eval $ac_compile) 2>&5 
8403   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8404   (exit $ac_status); } && 
8405          { ac_try
='test -s conftest.$ac_objext' 
8406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8409   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8410   (exit $ac_status); }; }; then 
8411   ac_cv_type_size_t
=yes 
8413   echo "$as_me: failed program was:" >&5 
8414 sed 's/^/| /' conftest.
$ac_ext >&5 
8416 ac_cv_type_size_t
=no
 
8418 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8420 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 
8421 echo "${ECHO_T}$ac_cv_type_size_t" >&6 
8422 if test $ac_cv_type_size_t = yes; then 
8426 cat >>confdefs.h 
<<_ACEOF 
8427 #define size_t unsigned 
8434 echo "$as_me:$LINENO: checking for working memcmp" >&5 
8435 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 
8436 if test "${ac_cv_func_memcmp_working+set}" = set; then 
8437   echo $ECHO_N "(cached) $ECHO_C" >&6 
8439   if test "$cross_compiling" = yes; then 
8440   ac_cv_func_memcmp_working
=no
 
8442   cat >conftest.
$ac_ext <<_ACEOF 
8443 #line $LINENO "configure" 
8446 cat confdefs.h 
>>conftest.
$ac_ext 
8447 cat >>conftest.
$ac_ext <<_ACEOF 
8448 /* end confdefs.h.  */ 
8454   /* Some versions of memcmp are not 8-bit clean.  */ 
8455   char c0 = 0x40, c1 = 0x80, c2 = 0x81; 
8456   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) 
8459   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes 
8460      or more and with at least one buffer not starting on a 4-byte boundary. 
8461      William Lewis provided this test program.   */ 
8466     for (i = 0; i < 4; i++) 
8470         strcpy (a, "--------01111111"); 
8471         strcpy (b, "--------10000000"); 
8472         if (memcmp (a, b, 16) >= 0) 
8482 rm -f conftest
$ac_exeext 
8483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
8484   (eval $ac_link) 2>&5 
8486   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8487   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
8488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8491   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8492   (exit $ac_status); }; }; then 
8493   ac_cv_func_memcmp_working
=yes 
8495   echo "$as_me: program exited with status $ac_status" >&5 
8496 echo "$as_me: failed program was:" >&5 
8497 sed 's/^/| /' conftest.
$ac_ext >&5 
8500 ac_cv_func_memcmp_working
=no
 
8502 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext 
8505 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 
8506 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 
8507 test $ac_cv_func_memcmp_working = no 
&& LIBOBJS
="$LIBOBJS memcmp.$ac_objext" 
8511 for ac_header 
in stdlib.h unistd.h
 
8513 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
8514 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
8515   echo "$as_me:$LINENO: checking for $ac_header" >&5 
8516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
8517 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
8518   echo $ECHO_N "(cached) $ECHO_C" >&6 
8520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
8521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
8523   # Is the header compilable? 
8524 echo "$as_me:$LINENO: checking $ac_header usability" >&5 
8525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 
8526 cat >conftest.
$ac_ext <<_ACEOF 
8527 #line $LINENO "configure" 
8530 cat confdefs.h 
>>conftest.
$ac_ext 
8531 cat >>conftest.
$ac_ext <<_ACEOF 
8532 /* end confdefs.h.  */ 
8533 $ac_includes_default 
8534 #include <$ac_header> 
8536 rm -f conftest.
$ac_objext 
8537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
8538   (eval $ac_compile) 2>&5 
8540   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8541   (exit $ac_status); } && 
8542          { ac_try
='test -s conftest.$ac_objext' 
8543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8546   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8547   (exit $ac_status); }; }; then 
8548   ac_header_compiler
=yes 
8550   echo "$as_me: failed program was:" >&5 
8551 sed 's/^/| /' conftest.
$ac_ext >&5 
8553 ac_header_compiler
=no
 
8555 rm -f conftest.
$ac_objext conftest.
$ac_ext 
8556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
8557 echo "${ECHO_T}$ac_header_compiler" >&6 
8559 # Is the header present? 
8560 echo "$as_me:$LINENO: checking $ac_header presence" >&5 
8561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 
8562 cat >conftest.
$ac_ext <<_ACEOF 
8563 #line $LINENO "configure" 
8566 cat confdefs.h 
>>conftest.
$ac_ext 
8567 cat >>conftest.
$ac_ext <<_ACEOF 
8568 /* end confdefs.h.  */ 
8569 #include <$ac_header> 
8571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
8572   (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
 
8574   grep -v '^ *+' conftest.er1 
>conftest.err
 
8576   cat conftest.err 
>&5 
8577   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8578   (exit $ac_status); } >/dev
/null
; then 
8579   if test -s conftest.err
; then 
8580     ac_cpp_err
=$ac_c_preproc_warn_flag 
8587 if test -z "$ac_cpp_err"; then 
8588   ac_header_preproc
=yes 
8590   echo "$as_me: failed program was:" >&5 
8591 sed 's/^/| /' conftest.
$ac_ext >&5 
8593   ac_header_preproc
=no
 
8595 rm -f conftest.err conftest.
$ac_ext 
8596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
8597 echo "${ECHO_T}$ac_header_preproc" >&6 
8599 # So?  What about this header? 
8600 case $ac_header_compiler:$ac_header_preproc in 
8602     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
8603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
8604     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
8605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
8608 ## ------------------------------------ ## 
8609 ## Report this to bug-autoconf@gnu.org. ## 
8610 ## ------------------------------------ ## 
8613       sed "s/^/$as_me: WARNING:     /" >&2 
8616     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 
8617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 
8618     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 
8619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 
8620     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
8621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
8624 ## ------------------------------------ ## 
8625 ## Report this to bug-autoconf@gnu.org. ## 
8626 ## ------------------------------------ ## 
8629       sed "s/^/$as_me: WARNING:     /" >&2 
8632 echo "$as_me:$LINENO: checking for $ac_header" >&5 
8633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
8634 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
8635   echo $ECHO_N "(cached) $ECHO_C" >&6 
8637   eval "$as_ac_Header=$ac_header_preproc" 
8639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
8640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
8643 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
8644   cat >>confdefs.h 
<<_ACEOF 
8645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
8653 for ac_func 
in getpagesize
 
8655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
8656 echo "$as_me:$LINENO: checking for $ac_func" >&5 
8657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 
8658 if eval "test \"\${$as_ac_var+set}\" = set"; then 
8659   echo $ECHO_N "(cached) $ECHO_C" >&6 
8661   cat >conftest.
$ac_ext <<_ACEOF 
8662 #line $LINENO "configure" 
8665 cat confdefs.h 
>>conftest.
$ac_ext 
8666 cat >>conftest.
$ac_ext <<_ACEOF 
8667 /* end confdefs.h.  */ 
8668 /* System header to define __stub macros and hopefully few prototypes, 
8669     which can conflict with char $ac_func (); below. 
8670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
8671     <limits.h> exists even on freestanding compilers.  */ 
8673 # include <limits.h> 
8675 # include <assert.h> 
8677 /* Override any gcc2 internal prototype to avoid an error.  */ 
8682 /* We use char because int might match the return type of a gcc2 
8683    builtin and then its argument prototype would still apply.  */ 
8685 /* The GNU C library defines this for functions which it implements 
8686     to always fail with ENOSYS.  Some functions are actually named 
8687     something starting with __ and the normal name is an alias.  */ 
8688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 
8691 char (*f) () = $ac_func; 
8700 return f != $ac_func; 
8705 rm -f conftest.
$ac_objext conftest
$ac_exeext 
8706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
8707   (eval $ac_link) 2>&5 
8709   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8710   (exit $ac_status); } && 
8711          { ac_try
='test -s conftest$ac_exeext' 
8712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8715   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8716   (exit $ac_status); }; }; then 
8717   eval "$as_ac_var=yes" 
8719   echo "$as_me: failed program was:" >&5 
8720 sed 's/^/| /' conftest.
$ac_ext >&5 
8722 eval "$as_ac_var=no" 
8724 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
8726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 
8727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 
8728 if test `eval echo '${'$as_ac_var'}'` = yes; then 
8729   cat >>confdefs.h 
<<_ACEOF 
8730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 
8736 echo "$as_me:$LINENO: checking for working mmap" >&5 
8737 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 
8738 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 
8739   echo $ECHO_N "(cached) $ECHO_C" >&6 
8741   if test "$cross_compiling" = yes; then 
8742   ac_cv_func_mmap_fixed_mapped
=no
 
8744   cat >conftest.
$ac_ext <<_ACEOF 
8745 #line $LINENO "configure" 
8748 cat confdefs.h 
>>conftest.
$ac_ext 
8749 cat >>conftest.
$ac_ext <<_ACEOF 
8750 /* end confdefs.h.  */ 
8751 $ac_includes_default 
8752 /* malloc might have been renamed as rpl_malloc. */ 
8755 /* Thanks to Mike Haertel and Jim Avera for this test. 
8756    Here is a matrix of mmap possibilities: 
8757         mmap private not fixed 
8758         mmap private fixed at somewhere currently unmapped 
8759         mmap private fixed at somewhere already mapped 
8760         mmap shared not fixed 
8761         mmap shared fixed at somewhere currently unmapped 
8762         mmap shared fixed at somewhere already mapped 
8763    For private mappings, we should verify that changes cannot be read() 
8764    back from the file, nor mmap's back from the file at a different 
8765    address.  (There have been systems where private was not correctly 
8766    implemented like the infamous i386 svr4.0, and systems where the 
8767    VM page cache was not coherent with the file system buffer cache 
8768    like early versions of FreeBSD and possibly contemporary NetBSD.) 
8769    For shared mappings, we should conversely verify that changes get 
8770    propagated back to all the places they're supposed to be. 
8772    Grep wants private fixed already mapped. 
8773    The main things grep needs to know about mmap are: 
8774    * does it exist and is it safe to write into the mmap'd area 
8775    * how to use it (BSD variants)  */ 
8778 #include <sys/mman.h> 
8780 #if !STDC_HEADERS && !HAVE_STDLIB_H 
8784 /* This mess was copied from the GNU getpagesize.h.  */ 
8785 #if !HAVE_GETPAGESIZE 
8786 /* Assume that all systems that can run configure have sys/param.h.  */ 
8787 # if !HAVE_SYS_PARAM_H 
8788 #  define HAVE_SYS_PARAM_H 1 
8791 # ifdef _SC_PAGESIZE 
8792 #  define getpagesize() sysconf(_SC_PAGESIZE) 
8793 # else /* no _SC_PAGESIZE */ 
8794 #  if HAVE_SYS_PARAM_H 
8795 #   include <sys/param.h> 
8796 #   ifdef EXEC_PAGESIZE 
8797 #    define getpagesize() EXEC_PAGESIZE 
8798 #   else /* no EXEC_PAGESIZE */ 
8800 #     define getpagesize() NBPG * CLSIZE 
8803 #     endif /* no CLSIZE */ 
8804 #    else /* no NBPG */ 
8806 #      define getpagesize() NBPC 
8807 #     else /* no NBPC */ 
8809 #       define getpagesize() PAGESIZE 
8810 #      endif /* PAGESIZE */ 
8811 #     endif /* no NBPC */ 
8812 #    endif /* no NBPG */ 
8813 #   endif /* no EXEC_PAGESIZE */ 
8814 #  else /* no HAVE_SYS_PARAM_H */ 
8815 #   define getpagesize() 8192   /* punt totally */ 
8816 #  endif /* no HAVE_SYS_PARAM_H */ 
8817 # endif /* no _SC_PAGESIZE */ 
8819 #endif /* no HAVE_GETPAGESIZE */ 
8824   char *data, *data2, *data3; 
8828   pagesize = getpagesize (); 
8830   /* First, make a file with some known garbage in it. */ 
8831   data = (char *) malloc (pagesize); 
8834   for (i = 0; i < pagesize; ++i) 
8835     *(data + i) = rand (); 
8837   fd = creat ("conftest.mmap", 0600); 
8840   if (write (fd, data, pagesize) != pagesize) 
8844   /* Next, try to mmap the file at a fixed address which already has 
8845      something else allocated at it.  If we can, also make sure that 
8846      we see the same garbage.  */ 
8847   fd = open ("conftest.mmap", O_RDWR); 
8850   data2 = (char *) malloc (2 * pagesize); 
8853   data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); 
8854   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 
8855                      MAP_PRIVATE | MAP_FIXED, fd, 0L)) 
8857   for (i = 0; i < pagesize; ++i) 
8858     if (*(data + i) != *(data2 + i)) 
8861   /* Finally, make sure that changes to the mapped area do not 
8862      percolate back to the file as seen by read().  (This is a bug on 
8863      some variants of i386 svr4.0.)  */ 
8864   for (i = 0; i < pagesize; ++i) 
8865     *(data2 + i) = *(data2 + i) + 1; 
8866   data3 = (char *) malloc (pagesize); 
8869   if (read (fd, data3, pagesize) != pagesize) 
8871   for (i = 0; i < pagesize; ++i) 
8872     if (*(data + i) != *(data3 + i)) 
8878 rm -f conftest
$ac_exeext 
8879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
8880   (eval $ac_link) 2>&5 
8882   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8883   (exit $ac_status); } && { ac_try
='./conftest$ac_exeext' 
8884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8887   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8888   (exit $ac_status); }; }; then 
8889   ac_cv_func_mmap_fixed_mapped
=yes 
8891   echo "$as_me: program exited with status $ac_status" >&5 
8892 echo "$as_me: failed program was:" >&5 
8893 sed 's/^/| /' conftest.
$ac_ext >&5 
8896 ac_cv_func_mmap_fixed_mapped
=no
 
8898 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext 
8901 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 
8902 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 
8903 if test $ac_cv_func_mmap_fixed_mapped = yes; then 
8905 cat >>confdefs.h 
<<\_ACEOF
 
8913 if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then 
8922 for ac_func 
in memmove bcopy
 
8924 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
8925 echo "$as_me:$LINENO: checking for $ac_func" >&5 
8926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 
8927 if eval "test \"\${$as_ac_var+set}\" = set"; then 
8928   echo $ECHO_N "(cached) $ECHO_C" >&6 
8930   cat >conftest.
$ac_ext <<_ACEOF 
8931 #line $LINENO "configure" 
8934 cat confdefs.h 
>>conftest.
$ac_ext 
8935 cat >>conftest.
$ac_ext <<_ACEOF 
8936 /* end confdefs.h.  */ 
8937 /* System header to define __stub macros and hopefully few prototypes, 
8938     which can conflict with char $ac_func (); below. 
8939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
8940     <limits.h> exists even on freestanding compilers.  */ 
8942 # include <limits.h> 
8944 # include <assert.h> 
8946 /* Override any gcc2 internal prototype to avoid an error.  */ 
8951 /* We use char because int might match the return type of a gcc2 
8952    builtin and then its argument prototype would still apply.  */ 
8954 /* The GNU C library defines this for functions which it implements 
8955     to always fail with ENOSYS.  Some functions are actually named 
8956     something starting with __ and the normal name is an alias.  */ 
8957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 
8960 char (*f) () = $ac_func; 
8969 return f != $ac_func; 
8974 rm -f conftest.
$ac_objext conftest
$ac_exeext 
8975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
8976   (eval $ac_link) 2>&5 
8978   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8979   (exit $ac_status); } && 
8980          { ac_try
='test -s conftest$ac_exeext' 
8981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
8984   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
8985   (exit $ac_status); }; }; then 
8986   eval "$as_ac_var=yes" 
8988   echo "$as_me: failed program was:" >&5 
8989 sed 's/^/| /' conftest.
$ac_ext >&5 
8991 eval "$as_ac_var=no" 
8993 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext 
8995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 
8996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 
8997 if test `eval echo '${'$as_ac_var'}'` = yes; then 
8998   cat >>confdefs.h 
<<_ACEOF 
8999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 
9007 cat >>confdefs.h 
<<\_ACEOF
 
9012 cat >>confdefs.h 
<<\_ACEOF
 
9017 cat >>confdefs.h 
<<\_ACEOF
 
9018 #define XML_CONTEXT_BYTES 1024 
9022           ac_config_files
="$ac_config_files Makefile" 
9024 cat >confcache 
<<\_ACEOF
 
9025 # This file is a shell script that caches the results of configure 
9026 # tests run on this system so they can be shared between configure 
9027 # scripts and configure runs, see configure's option --config-cache. 
9028 # It is not useful on other systems.  If it contains results you don't 
9029 # want to keep, you may remove or edit it. 
9031 # config.status only pays attention to the cache file if you give it 
9032 # the --recheck option to rerun configure. 
9034 # `ac_cv_env_foo' variables (set or unset) will be overridden when 
9035 # loading this file, other *unset* `ac_cv_foo' will be assigned the 
9040 # The following way of writing the cache mishandles newlines in values, 
9041 # but we know of no workaround that is simple, portable, and efficient. 
9042 # So, don't put newlines in cache variables' values. 
9043 # Ultrix sh set writes to stderr and can't be redirected directly, 
9044 # and sets the high bit in the cache file unless we assign to the vars. 
9047     case `(ac_space=' '; set | grep ac_space) 2>&1` in 
9049       # `set' does not quote correctly, so add quotes (double-quote 
9050       # substitution turns \\\\ into \\, and sed turns \\ into \). 
9053           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 
9056       # `set' quotes correctly as required by POSIX, so do not add quotes. 
9058         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
9065      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 
9067      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 
9069 if diff $cache_file confcache 
>/dev
/null 
2>&1; then :; else 
9070   if test -w $cache_file; then 
9071     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 
9072     cat confcache 
>$cache_file 
9074     echo "not updating unwritable cache $cache_file" 
9079 test "x$prefix" = xNONE 
&& prefix
=$ac_default_prefix 
9080 # Let make expand exec_prefix. 
9081 test "x$exec_prefix" = xNONE 
&& exec_prefix
='${prefix}' 
9083 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
9084 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
9085 # trailing colons and then remove the whole line if VPATH becomes empty 
9086 # (actually we leave an empty line to preserve line numbers). 
9087 if test "x$srcdir" = x.
; then 
9088   ac_vpsub
='/^[         ]*VPATH[        ]*=/{ 
9089 s/:*\$(srcdir):*/:/; 
9090 s/:*\${srcdir}:*/:/; 
9092 s/^\([^=]*=[    ]*\):*/\1/; 
9098 DEFS
=-DHAVE_CONFIG_H 
9102 for ac_i 
in : $LIBOBJS; do test "x$ac_i" = x
: && continue 
9103   # 1. Remove the extension, and $U if already installed. 
9104   ac_i
=`echo "$ac_i" | 
9105          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 
9107   ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext" 
9108   ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo' 
9112 LTLIBOBJS
=$ac_ltlibobjs 
9116 : ${CONFIG_STATUS=./config.status} 
9117 ac_clean_files_save
=$ac_clean_files 
9118 ac_clean_files
="$ac_clean_files $CONFIG_STATUS" 
9119 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
9120 echo "$as_me: creating $CONFIG_STATUS" >&6;} 
9121 cat >$CONFIG_STATUS <<_ACEOF 
9123 # Generated by $as_me. 
9124 # Run this file to recreate the current configuration. 
9125 # Compiler output produced by configure, useful for debugging 
9126 # configure, is in config.log if it exists. 
9131 SHELL=\${CONFIG_SHELL-$SHELL} 
9134 cat >>$CONFIG_STATUS <<\_ACEOF
 
9135 ## --------------------- ## 
9136 ## M4sh Initialization.  ## 
9137 ## --------------------- ## 
9139 # Be Bourne compatible 
9140 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null 
2>&1; then 
9143   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
9144   # is contrary to our usage.  Disable this feature. 
9145   alias -g '${1+"$@"}'='"$@"' 
9146 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null 
2>&1; then 
9150 # Support unset when possible. 
9151 if (FOO
=FOO
; unset FOO
) >/dev
/null 
2>&1; then 
9158 # Work around bugs in pre-3.0 UWIN ksh. 
9159 $as_unset ENV MAIL MAILPATH
 
9166   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
9167   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
9168   LC_TELEPHONE LC_TIME
 
9170   if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 
9171     eval $as_var=C
; export $as_var 
9177 # Required to use basename. 
9178 if expr a 
: '\(a\)' >/dev
/null 
2>&1; then 
9184 if (basename /) >/dev
/null 
2>&1 && test "X`basename / 2>&1`" = "X/"; then 
9185   as_basename
=basename 
9191 # Name of the executable. 
9192 as_me
=`$as_basename "$0" || 
9193 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
9194          X"$0" : 'X\(//\)$' \| \ 
9195          X"$0" : 'X\(/\)$' \| \ 
9196          .     : '\(.\)' 2>/dev/null || 
9198     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
9199           /^X\/\(\/\/\)$/{ s//\1/; q; } 
9200           /^X\/\(\/\).*/{ s//\1/; q; } 
9204 # PATH needs CR, and LINENO needs CR and PATH. 
9205 # Avoid depending upon Character Ranges. 
9206 as_cr_letters
='abcdefghijklmnopqrstuvwxyz' 
9207 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
9208 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS 
9209 as_cr_digits
='0123456789' 
9210 as_cr_alnum
=$as_cr_Letters$as_cr_digits 
9212 # The user is always right. 
9213 if test "${PATH_SEPARATOR+set}" != set; then 
9214   echo "#! /bin/sh" >conf$$.sh
 
9215   echo  "exit 0"   >>conf$$.sh
 
9217   if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null 
2>&1; then 
9228   as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null` 
9229   test "x$as_lineno_1" != "x$as_lineno_2" && 
9230   test "x$as_lineno_3"  = "x$as_lineno_2"  || { 
9231   # Find who we are.  Look in the path if we contain no path at all 
9234     *[\\/]* ) as_myself
=$0 ;; 
9235     *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
9239   test -z "$as_dir" && as_dir
=.
 
9240   test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break 
9245   # We did not find ourselves, most probably we were run as `sh COMMAND' 
9246   # in which case we are not to be found in the path. 
9247   if test "x$as_myself" = x
; then 
9250   if test ! -f "$as_myself"; then 
9251     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 
9252 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 
9253    { (exit 1); exit 1; }; } 
9255   case $CONFIG_SHELL in 
9257     as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
9258 for as_dir 
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH 
9261   test -z "$as_dir" && as_dir
=.
 
9262   for as_base 
in sh bash ksh sh5
; do 
9265            if ("$as_dir/$as_base" -c ' 
9268   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
9269   test "x$as_lineno_1" != "x$as_lineno_2" && 
9270   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev
/null
; then 
9271              $as_unset BASH_ENV 
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; } 
9272              $as_unset ENV 
|| test "${ENV+set}" != set || { ENV
=; export ENV
; } 
9273              CONFIG_SHELL
=$as_dir/$as_base 
9275              exec "$CONFIG_SHELL" "$0" ${1+"$@"} 
9283   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
9284   # uniformly replaced by the line number.  The first 'sed' inserts a 
9285   # line-number line before each line; the second 'sed' does the real 
9286   # work.  The second script uses 'N' to pair each line-number line 
9287   # with the numbered line, and appends trailing '-' during 
9288   # substitution so that $LINENO is not a special case at line end. 
9289   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
9290   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) 
9291   sed '=' <$as_myself | 
9296       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 
9299       s,^['$as_cr_digits']*\n,, 
9301   chmod +x 
$as_me.lineno 
|| 
9302     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 
9303 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 
9304    { (exit 1); exit 1; }; } 
9306   # Don't try to exec as it changes $[0], causing all sort of problems 
9307   # (the dirname of $[0] is not the place where we might find the 
9308   # original and so on.  Autoconf is especially sensible to this). 
9310   # Exit status is that of the last command. 
9315 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
9316   *c
*,-n*) ECHO_N
= ECHO_C
=' 
9318   *c
*,*  ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;; 
9319   *)       ECHO_N
= ECHO_C
='\c' ECHO_T
= ;; 
9322 if expr a 
: '\(a\)' >/dev
/null 
2>&1; then 
9328 rm -f conf$$ conf$$.exe conf$$.
file 
9330 if ln -s conf$$.
file conf$$ 
2>/dev
/null
; then 
9331   # We could just check for DJGPP; but this test a) works b) is more generic 
9332   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 
9333   if test -f conf$$.exe
; then 
9334     # Don't use ln at all; we don't have any links 
9339 elif ln conf$$.
file conf$$ 
2>/dev
/null
; then 
9344 rm -f conf$$ conf$$.exe conf$$.
file 
9346 if mkdir -p . 
2>/dev
/null
; then 
9352 as_executable_p
="test -f" 
9354 # Sed expression to map a string onto a valid CPP name. 
9355 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 
9357 # Sed expression to map a string onto a valid variable name. 
9358 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 
9362 # We need space, tab and new line, in precisely that order. 
9372 # Open the log real soon, to keep \$[0] and so on meaningful, and to 
9373 # report actual input values of CONFIG_FILES etc. instead of their 
9374 # values after options handling.  Logging --version etc. is OK. 
9378   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
9379 ## Running $as_me. ## 
9384 This file was extended by $as_me, which was 
9385 generated by GNU Autoconf 2.57.  Invocation command line was 
9387   CONFIG_FILES    = $CONFIG_FILES 
9388   CONFIG_HEADERS  = $CONFIG_HEADERS 
9389   CONFIG_LINKS    = $CONFIG_LINKS 
9390   CONFIG_COMMANDS = $CONFIG_COMMANDS 
9394 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 
9398 # Files that config.status was made for. 
9399 if test -n "$ac_config_files"; then 
9400   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 
9403 if test -n "$ac_config_headers"; then 
9404   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 
9407 if test -n "$ac_config_links"; then 
9408   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 
9411 if test -n "$ac_config_commands"; then 
9412   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 
9415 cat >>$CONFIG_STATUS <<\_ACEOF
 
9418 \`$as_me' instantiates files from templates according to the 
9419 current configuration. 
9421 Usage: $0 [OPTIONS] [FILE]... 
9423   -h, --help       print this help, then exit 
9424   -V, --version    print version number, then exit 
9425   -q, --quiet      do not print progress messages 
9426   -d, --debug      don't remove temporary files 
9427       --recheck    update $as_me by reconfiguring in the same conditions 
9428   --file=FILE[:TEMPLATE] 
9429                    instantiate the configuration file FILE 
9430   --header=FILE[:TEMPLATE] 
9431                    instantiate the configuration header FILE 
9433 Configuration files: 
9436 Configuration headers: 
9439 Report bugs to <bug-autoconf@gnu.org>." 
9442 cat >>$CONFIG_STATUS <<_ACEOF 
9445 configured by $0, generated by GNU Autoconf 2.57, 
9446   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 
9448 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
9449 Free Software Foundation, Inc. 
9450 This config.status script is free software; the Free Software Foundation 
9451 gives unlimited permission to copy, distribute and modify it." 
9456 cat >>$CONFIG_STATUS <<\_ACEOF
 
9457 # If no file are specified by the user, then we need to provide default 
9458 # value.  By we need to know if files were specified by the user. 
9464     ac_option
=`expr "x$1" : 'x\([^=]*\)='` 
9465     ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'` 
9473   *) # This is not an option, so the user has probably given explicit 
9476      ac_need_defaults
=false
;; 
9480   # Handling of the options. 
9482 cat >>$CONFIG_STATUS <<\_ACEOF
 
9483   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
9485   --version | --vers* | -V ) 
9486     echo "$ac_cs_version"; exit 0 ;; 
9488     # Conflict between --help and --header 
9489     { { echo "$as_me:$LINENO: error: ambiguous option: $1 
9490 Try \`$0 --help' for more information." >&5 
9491 echo "$as_me: error: ambiguous option: $1 
9492 Try \`$0 --help' for more information." >&2;} 
9493    { (exit 1); exit 1; }; };; 
9494   --help | --hel | -h ) 
9495     echo "$ac_cs_usage"; exit 0 ;; 
9496   --debug | --d* | -d ) 
9498   --file | --fil | --fi | --f ) 
9500     CONFIG_FILES
="$CONFIG_FILES $ac_optarg" 
9501     ac_need_defaults
=false
;; 
9502   --header | --heade | --head | --hea ) 
9504     CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg" 
9505     ac_need_defaults
=false
;; 
9506   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
9507   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
9511   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 
9512 Try \`$0 --help' for more information." >&5 
9513 echo "$as_me: error: unrecognized option: $1 
9514 Try \`$0 --help' for more information." >&2;} 
9515    { (exit 1); exit 1; }; } ;; 
9517   *) ac_config_targets
="$ac_config_targets $1" ;; 
9523 ac_configure_extra_args
= 
9525 if $ac_cs_silent; then 
9527   ac_configure_extra_args
="$ac_configure_extra_args --silent" 
9531 cat >>$CONFIG_STATUS <<_ACEOF 
9532 if \$ac_cs_recheck; then 
9533   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
9534   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
9543 cat >>$CONFIG_STATUS <<\_ACEOF
 
9544 for ac_config_target 
in $ac_config_targets 
9546   case "$ac_config_target" in 
9547   # Handling of arguments. 
9548   "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;; 
9549   "expat_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS expat_config.h" ;; 
9550   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
9551 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
9552    { (exit 1); exit 1; }; };; 
9556 # If the user did not use the arguments to specify the items to instantiate, 
9557 # then the envvar interface is used.  Set only those that are not. 
9558 # We use the long form for the default assignment because of an extremely 
9559 # bizarre bug on SunOS 4.1.3. 
9560 if $ac_need_defaults; then 
9561   test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files 
9562   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers 
9565 # Have a temporary directory for convenience.  Make it in the build tree 
9566 # simply because there is no reason to put it here, and in addition, 
9567 # creating and moving files from /tmp can sometimes cause problems. 
9568 # Create a temporary directory, and hook for its removal unless debugging. 
9571   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 
9572   trap '{ (exit 1); exit 1; }' 1 2 13 15 
9575 # Create a (secure) tmp directory for tmp files. 
9578   tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 
9579   test -n "$tmp" && test -d "$tmp" 
9582   tmp
=.
/confstat$$
-$RANDOM 
9583   (umask 077 && mkdir $tmp) 
9586    echo "$me: cannot create a temporary directory in ." >&2 
9587    { (exit 1); exit 1; } 
9592 cat >>$CONFIG_STATUS <<_ACEOF 
9595 # CONFIG_FILES section. 
9598 # No need to generate the scripts if there are no CONFIG_FILES. 
9599 # This happens for instance when ./config.status config.h 
9600 if test -n "\$CONFIG_FILES"; then 
9601   # Protect against being on the right side of a sed subst in config.status. 
9602   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 
9603    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 
9604 s,@SHELL@,$SHELL,;t t 
9605 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 
9606 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 
9607 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 
9608 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 
9609 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 
9610 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 
9611 s,@exec_prefix@,$exec_prefix,;t t 
9612 s,@prefix@,$prefix,;t t 
9613 s,@program_transform_name@,$program_transform_name,;t t 
9614 s,@bindir@,$bindir,;t t 
9615 s,@sbindir@,$sbindir,;t t 
9616 s,@libexecdir@,$libexecdir,;t t 
9617 s,@datadir@,$datadir,;t t 
9618 s,@sysconfdir@,$sysconfdir,;t t 
9619 s,@sharedstatedir@,$sharedstatedir,;t t 
9620 s,@localstatedir@,$localstatedir,;t t 
9621 s,@libdir@,$libdir,;t t 
9622 s,@includedir@,$includedir,;t t 
9623 s,@oldincludedir@,$oldincludedir,;t t 
9624 s,@infodir@,$infodir,;t t 
9625 s,@mandir@,$mandir,;t t 
9626 s,@build_alias@,$build_alias,;t t 
9627 s,@host_alias@,$host_alias,;t t 
9628 s,@target_alias@,$target_alias,;t t 
9630 s,@ECHO_C@,$ECHO_C,;t t 
9631 s,@ECHO_N@,$ECHO_N,;t t 
9632 s,@ECHO_T@,$ECHO_T,;t t 
9635 s,@CFLAGS@,$CFLAGS,;t t 
9636 s,@LDFLAGS@,$LDFLAGS,;t t 
9637 s,@CPPFLAGS@,$CPPFLAGS,;t t 
9638 s,@ac_ct_CC@,$ac_ct_CC,;t t 
9639 s,@EXEEXT@,$EXEEXT,;t t 
9640 s,@OBJEXT@,$OBJEXT,;t t 
9641 s,@build@,$build,;t t 
9642 s,@build_cpu@,$build_cpu,;t t 
9643 s,@build_vendor@,$build_vendor,;t t 
9644 s,@build_os@,$build_os,;t t 
9646 s,@host_cpu@,$host_cpu,;t t 
9647 s,@host_vendor@,$host_vendor,;t t 
9648 s,@host_os@,$host_os,;t t 
9651 s,@RANLIB@,$RANLIB,;t t 
9652 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 
9653 s,@STRIP@,$STRIP,;t t 
9654 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 
9656 s,@EGREP@,$EGREP,;t t 
9657 s,@LIBTOOL@,$LIBTOOL,;t t 
9658 s,@LIBCURRENT@,$LIBCURRENT,;t t 
9659 s,@LIBREVISION@,$LIBREVISION,;t t 
9660 s,@LIBAGE@,$LIBAGE,;t t 
9661 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 
9662 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 
9663 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 
9664 s,@LIBOBJS@,$LIBOBJS,;t t 
9665 s,@FILEMAP@,$FILEMAP,;t t 
9666 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 
9671   cat >>$CONFIG_STATUS <<\_ACEOF
 
9672   # Split the substitutions into bite-sized pieces for seds with 
9673   # small command number limits, like on Digital OSF/1 and HP-UX. 
9675   ac_sed_frag
=1 # Number of current file. 
9676   ac_beg
=1 # First line for current file. 
9677   ac_end
=$ac_max_sed_lines # Line after last line for current file. 
9680   while $ac_more_lines; do 
9681     if test $ac_beg -gt 1; then 
9682       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
 
9684       sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
 
9686     if test ! -s $tmp/subs.frag
; then 
9689       # The purpose of the label and of the branching condition is to 
9690       # speed up the sed processing (if there are no `@' at all, there 
9691       # is no need to browse any of the substitutions). 
9692       # These are the two extra sed commands mentioned above. 
9694   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed 
9695       if test -z "$ac_sed_cmds"; then 
9696         ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed" 
9698         ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 
9700       ac_sed_frag
=`expr $ac_sed_frag + 1` 
9702       ac_end
=`expr $ac_end + $ac_max_sed_lines` 
9705   if test -z "$ac_sed_cmds"; then 
9708 fi # test -n "$CONFIG_FILES" 
9711 cat >>$CONFIG_STATUS <<\_ACEOF
 
9712 for ac_file 
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue 
9713   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 
9715   - | *:- | *:-:* ) # input from stdin 
9717         ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'` 
9718         ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;; 
9719   *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'` 
9720         ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;; 
9721   * )   ac_file_in
=$ac_file.
in ;; 
9724   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 
9725   ac_dir
=`(dirname "$ac_file") 2>/dev/null || 
9726 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
9727          X"$ac_file" : 'X\(//\)[^/]' \| \ 
9728          X"$ac_file" : 'X\(//\)$' \| \ 
9729          X"$ac_file" : 'X\(/\)' \| \ 
9730          .     : '\(.\)' 2>/dev/null || 
9732     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
9733           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
9734           /^X\(\/\/\)$/{ s//\1/; q; } 
9735           /^X\(\/\).*/{ s//\1/; q; } 
9737   { if $as_mkdir_p; then 
9742     while test ! -d "$as_dir"; do 
9743       as_dirs
="$as_dir $as_dirs" 
9744       as_dir
=`(dirname "$as_dir") 2>/dev/null || 
9745 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
9746          X"$as_dir" : 'X\(//\)[^/]' \| \ 
9747          X"$as_dir" : 'X\(//\)$' \| \ 
9748          X"$as_dir" : 'X\(/\)' \| \ 
9749          .     : '\(.\)' 2>/dev/null || 
9751     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
9752           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
9753           /^X\(\/\/\)$/{ s//\1/; q; } 
9754           /^X\(\/\).*/{ s//\1/; q; } 
9757     test ! -n "$as_dirs" || mkdir $as_dirs 
9758   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
9759 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
9760    { (exit 1); exit 1; }; }; } 
9764 if test "$ac_dir" != .
; then 
9765   ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
9766   # A "../" for each directory in $ac_dir_suffix. 
9767   ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
9769   ac_dir_suffix
= ac_top_builddir
= 
9773   .
)  # No --srcdir option.  We are building in place. 
9775     if test -z "$ac_top_builddir"; then 
9778        ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'` 
9780   [\\/]* | ?
:[\\/]* )  # Absolute path. 
9781     ac_srcdir
=$srcdir$ac_dir_suffix; 
9782     ac_top_srcdir
=$srcdir ;; 
9784     ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix 
9785     ac_top_srcdir
=$ac_top_builddir$srcdir ;; 
9787 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 
9789 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd` 
9790 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 
9791 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd` 
9792 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 
9796   [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;; 
9797   *) ac_INSTALL
=$ac_top_builddir$INSTALL ;; 
9800   if test x
"$ac_file" != x
-; then 
9801     { echo "$as_me:$LINENO: creating $ac_file" >&5 
9802 echo "$as_me: creating $ac_file" >&6;} 
9805   # Let's still pretend it is `configure' which instantiates (i.e., don't 
9806   # use $as_me), people would be surprised to read: 
9807   #    /* config.h.  Generated by config.status.  */ 
9808   if test x
"$ac_file" = x
-; then 
9811     configure_input
="$ac_file.  " 
9813   configure_input
=$configure_input"Generated from `echo $ac_file_in | 
9814                                      sed 's,.*/,,'` by configure." 
9816   # First look for the input files in the build tree, otherwise in the 
9818   ac_file_inputs
=`IFS=: 
9819     for f in $ac_file_in; do 
9821       -) echo $tmp/stdin ;; 
9823          # Absolute (can't be DOS-style, as IFS=:) 
9824          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
9825 echo "$as_me: error: cannot find input file: $f" >&2;} 
9826    { (exit 1); exit 1; }; } 
9829          if test -f "$f"; then 
9832          elif test -f "$srcdir/$f"; then 
9837            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
9838 echo "$as_me: error: cannot find input file: $f" >&2;} 
9839    { (exit 1); exit 1; }; } 
9842     done` || { (exit 1); exit 1; } 
9844 cat >>$CONFIG_STATUS <<_ACEOF 
9848 cat >>$CONFIG_STATUS <<\_ACEOF
 
9850 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
 
9851 s
,@configure_input@
,$configure_input,;t t
 
9852 s
,@srcdir@
,$ac_srcdir,;t t
 
9853 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
 
9854 s
,@top_srcdir@
,$ac_top_srcdir,;t t
 
9855 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
 
9856 s
,@builddir@
,$ac_builddir,;t t
 
9857 s
,@abs_builddir@
,$ac_abs_builddir,;t t
 
9858 s
,@top_builddir@
,$ac_top_builddir,;t t
 
9859 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
 
9860 s
,@INSTALL@
,$ac_INSTALL,;t t
 
9861 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 
9863   if test x"$ac_file" != x-; then 
9864     mv $tmp/out $ac_file 
9872 cat >>$CONFIG_STATUS <<\_ACEOF 
9875 # CONFIG_HEADER section. 
9878 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where 
9879 # NAME is the cpp macro being defined and VALUE is the value it is being given. 
9881 # ac_d sets the value in "#define NAME VALUE" lines. 
9882 ac_dA
='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)' 
9883 ac_dB
='[        ].*$,\1#\2' 
9886 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 
9887 ac_uA
='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)' 
9888 ac_uB
='$,\1#\2define\3' 
9892 for ac_file 
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue 
9893   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 
9895   - | *:- | *:-:* ) # input from stdin 
9897         ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'` 
9898         ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;; 
9899   *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'` 
9900         ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;; 
9901   * )   ac_file_in
=$ac_file.
in ;; 
9904   test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5 
9905 echo "$as_me: creating $ac_file" >&6;} 
9907   # First look for the input files in the build tree, otherwise in the 
9909   ac_file_inputs
=`IFS=: 
9910     for f in $ac_file_in; do 
9912       -) echo $tmp/stdin ;; 
9914          # Absolute (can't be DOS-style, as IFS=:) 
9915          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
9916 echo "$as_me: error: cannot find input file: $f" >&2;} 
9917    { (exit 1); exit 1; }; } 
9920          if test -f "$f"; then 
9923          elif test -f "$srcdir/$f"; then 
9928            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
9929 echo "$as_me: error: cannot find input file: $f" >&2;} 
9930    { (exit 1); exit 1; }; } 
9933     done` || { (exit 1); exit 1; } 
9934   # Remove the trailing spaces. 
9935   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in 
9939 # Transform confdefs.h into two sed scripts, `conftest.defines' and 
9940 # `conftest.undefs', that substitutes the proper values into 
9941 # config.h.in to produce config.h.  The first handles `#define' 
9942 # templates, and the second `#undef' templates. 
9943 # And first: Protect against being on the right side of a sed subst in 
9944 # config.status.  Protect against being in an unquoted here document 
9946 rm -f conftest.defines conftest.undefs
 
9947 # Using a here document instead of a string reduces the quoting nightmare. 
9948 # Putting comments in sed scripts is not portable. 
9950 # `end' is used to avoid that the second main sed command (meant for 
9951 # 0-ary CPP macros) applies to n-ary macro definitions. 
9952 # See the Autoconf documentation for `clear'. 
9953 cat >confdef2sed.
sed <<\_ACEOF
 
9958 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 
9960 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 
9963 # If some macros were called several times there might be several times 
9964 # the same #defines, which is useless.  Nevertheless, we may not want to 
9965 # sort them, since we want the *last* AC-DEFINE to be honored. 
9966 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 
9967 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 
9968 rm -f confdef2sed.sed 
9970 # This sed command replaces #undef with comments.  This is necessary, for 
9971 # example, in the case of _POSIX_SOURCE, which is predefined and required 
9972 # on some systems where configure will not decide to define it. 
9973 cat >>conftest.undefs <<\_ACEOF 
9974 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 
9977 # Break up conftest.defines because some shells have a limit on the size 
9978 # of here documents, and old seds have small limits too (100 cmds). 
9979 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 
9980 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 
9981 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 
9982 echo '  :' >>$CONFIG_STATUS 
9984 while grep . conftest.defines >/dev/null 
9986   # Write a limited-size here document to $tmp/defines.sed. 
9987   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 
9988   # Speed up: don't consider the non `#define' lines. 
9989   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS 
9990   # Work around the forget-to-reset-the-flag bug. 
9991   echo 't clr' >>$CONFIG_STATUS 
9992   echo ': clr' >>$CONFIG_STATUS 
9993   sed ${ac_max_here_lines}q conftest.defines 
>>$CONFIG_STATUS 
9995   sed -f $tmp/defines.sed $tmp/in >$tmp/out 
9999   sed 1,${ac_max_here_lines}d conftest.defines 
>conftest.
tail 
10000   rm -f conftest.defines
 
10001   mv conftest.
tail conftest.defines
 
10003 rm -f conftest.defines
 
10004 echo '  fi # grep' >>$CONFIG_STATUS 
10005 echo >>$CONFIG_STATUS 
10007 # Break up conftest.undefs because some shells have a limit on the size 
10008 # of here documents, and old seds have small limits too (100 cmds). 
10009 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS 
10010 rm -f conftest.
tail 
10011 while grep . conftest.undefs 
>/dev
/null
 
10013   # Write a limited-size here document to $tmp/undefs.sed. 
10014   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 
10015   # Speed up: don't consider the non 
`#undef' 
10016   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS 
10017   # Work around the forget-to-reset-the-flag bug. 
10018   echo 't clr' >>$CONFIG_STATUS 
10019   echo ': clr' >>$CONFIG_STATUS 
10020   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 
10022   sed -f $tmp/undefs.sed $tmp/in >$tmp/out 
10024   mv $tmp/out $tmp/in 
10026   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 
10027   rm -f conftest.undefs 
10028   mv conftest.tail conftest.undefs 
10030 rm -f conftest.undefs 
10032 cat >>$CONFIG_STATUS <<\_ACEOF 
10033   # Let's still pretend it is `configure
' which instantiates (i.e., don't
 
10034   # use $as_me), people would be surprised to read: 
10035   #    /* config.h.  Generated by config.status.  */ 
10036   if test x
"$ac_file" = x
-; then 
10037     echo "/* Generated by configure.  */" >$tmp/config.h
 
10039     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 
10041   cat $tmp/in >>$tmp/config.h
 
10043   if test x
"$ac_file" != x
-; then 
10044     if diff $ac_file $tmp/config.h 
>/dev
/null 
2>&1; then 
10045       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
10046 echo "$as_me: $ac_file is unchanged" >&6;} 
10048       ac_dir
=`(dirname "$ac_file") 2>/dev/null || 
10049 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
10050          X"$ac_file" : 'X\(//\)[^/]' \| \ 
10051          X"$ac_file" : 'X\(//\)$' \| \ 
10052          X"$ac_file" : 'X\(/\)' \| \ 
10053          .     : '\(.\)' 2>/dev/null || 
10055     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
10056           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
10057           /^X\(\/\/\)$/{ s//\1/; q; } 
10058           /^X\(\/\).*/{ s//\1/; q; } 
10060       { if $as_mkdir_p; then 
10065     while test ! -d "$as_dir"; do 
10066       as_dirs
="$as_dir $as_dirs" 
10067       as_dir
=`(dirname "$as_dir") 2>/dev/null || 
10068 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
10069          X"$as_dir" : 'X\(//\)[^/]' \| \ 
10070          X"$as_dir" : 'X\(//\)$' \| \ 
10071          X"$as_dir" : 'X\(/\)' \| \ 
10072          .     : '\(.\)' 2>/dev/null || 
10074     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
10075           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
10076           /^X\(\/\/\)$/{ s//\1/; q; } 
10077           /^X\(\/\).*/{ s//\1/; q; } 
10080     test ! -n "$as_dirs" || mkdir $as_dirs 
10081   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
10082 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
10083    { (exit 1); exit 1; }; }; } 
10086       mv $tmp/config.h 
$ac_file 
10090     rm -f $tmp/config.h
 
10095 cat >>$CONFIG_STATUS <<\_ACEOF
 
10097 { (exit 0); exit 0; } 
10099 chmod +x 
$CONFIG_STATUS 
10100 ac_clean_files
=$ac_clean_files_save 
10103 # configure is writing to config.log, and then calls config.status. 
10104 # config.status does its own redirection, appending to config.log. 
10105 # Unfortunately, on DOS this fails, as config.log is still kept open 
10106 # by configure, so config.status won't be able to write to it; its 
10107 # output is simply discarded.  So we exec the FD to /dev/null, 
10108 # effectively closing config.log, so it can be properly (re)opened and 
10109 # appended to by config.status.  When coming back to configure, we 
10110 # need to make the FD available again. 
10111 if test "$no_create" != yes; then 
10113   ac_config_status_args
= 
10114   test "$silent" = yes && 
10115     ac_config_status_args
="$ac_config_status_args --quiet" 
10117   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
 
10119   # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
10120   # would make configure fail if this is the last instruction. 
10121   $ac_cs_success || { (exit 1); exit 1; } 
10125 abs_srcdir
="`cd $srcdir && pwd`" 
10126 abs_builddir
="`pwd`" 
10127 if test "$abs_srcdir" != "$abs_builddir"; then 
10128   ${MAKE:-make} mkdir-init