"Fossies" - the Fresh Open Source Software Archive

Member "libping-1.15/configure" (30 Oct 2002, 307196 Bytes) of package /linux/privat/old/libping-1.15.tar.gz:


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

    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by Autoconf 2.52.
    4 #
    5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    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 # Find the correct PATH separator.  Usually this is `:', but
   11 # DJGPP uses `;' like DOS.
   12 if test "X${PATH_SEPARATOR+set}" != Xset; then
   13   UNAME=${UNAME-`uname 2>/dev/null`}
   14   case X$UNAME in
   15     *-DOS) lt_cv_sys_path_separator=';' ;;
   16     *)     lt_cv_sys_path_separator=':' ;;
   17   esac
   18   PATH_SEPARATOR=$lt_cv_sys_path_separator
   19 fi
   20 
   21 # Check that we are running under the correct shell.
   22 SHELL=${CONFIG_SHELL-/bin/sh}
   23 
   24 case X$ECHO in
   25 X*--fallback-echo)
   26   # Remove one level of quotation (which was required for Make).
   27   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
   28   ;;
   29 esac
   30 
   31 echo=${ECHO-echo}
   32 if test "X$1" = X--no-reexec; then
   33   # Discard the --no-reexec flag, and continue.
   34   shift
   35 elif test "X$1" = X--fallback-echo; then
   36   # Avoid inline document here, it may be left over
   37   :
   38 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
   39   # Yippee, $echo works!
   40   :
   41 else
   42   # Restart under the correct shell.
   43   exec $SHELL "$0" --no-reexec ${1+"$@"}
   44 fi
   45 
   46 if test "X$1" = X--fallback-echo; then
   47   # used as fallback echo
   48   shift
   49   cat <<EOF
   50 
   51 EOF
   52   exit 0
   53 fi
   54 
   55 # The HP-UX ksh and POSIX shell print the target directory to stdout
   56 # if CDPATH is set.
   57 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
   58 
   59 if test -z "$ECHO"; then
   60 if test "X${echo_test_string+set}" != Xset; then
   61 # find a string as large as possible, as long as the shell can cope with it
   62   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
   63     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
   64     if (echo_test_string="`eval $cmd`") 2>/dev/null &&
   65        echo_test_string="`eval $cmd`" &&
   66        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
   67     then
   68       break
   69     fi
   70   done
   71 fi
   72 
   73 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
   74    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
   75    test "X$echo_testing_string" = "X$echo_test_string"; then
   76   :
   77 else
   78   # The Solaris, AIX, and Digital Unix default echo programs unquote
   79   # backslashes.  This makes it impossible to quote backslashes using
   80   #   echo "$something" | sed 's/\\/\\\\/g'
   81   #
   82   # So, first we look for a working echo in the user's PATH.
   83 
   84   IFS="${IFS=   }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   85   for dir in $PATH /usr/ucb; do
   86     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
   87        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
   88        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
   89        test "X$echo_testing_string" = "X$echo_test_string"; then
   90       echo="$dir/echo"
   91       break
   92     fi
   93   done
   94   IFS="$save_ifs"
   95 
   96   if test "X$echo" = Xecho; then
   97     # We didn't find a better echo, so look for alternatives.
   98     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
   99        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  100        test "X$echo_testing_string" = "X$echo_test_string"; then
  101       # This shell has a builtin print -r that does the trick.
  102       echo='print -r'
  103     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  104      test "X$CONFIG_SHELL" != X/bin/ksh; then
  105       # If we have ksh, try running configure again with it.
  106       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  107       export ORIGINAL_CONFIG_SHELL
  108       CONFIG_SHELL=/bin/ksh
  109       export CONFIG_SHELL
  110       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  111     else
  112       # Try using printf.
  113       echo='printf %s\n'
  114       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  115      echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  116      test "X$echo_testing_string" = "X$echo_test_string"; then
  117     # Cool, printf works
  118     :
  119       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  120        test "X$echo_testing_string" = 'X\t' &&
  121        echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  122        test "X$echo_testing_string" = "X$echo_test_string"; then
  123     CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  124     export CONFIG_SHELL
  125     SHELL="$CONFIG_SHELL"
  126     export SHELL
  127     echo="$CONFIG_SHELL $0 --fallback-echo"
  128       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  129        test "X$echo_testing_string" = 'X\t' &&
  130        echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  131        test "X$echo_testing_string" = "X$echo_test_string"; then
  132     echo="$CONFIG_SHELL $0 --fallback-echo"
  133       else
  134     # maybe with a smaller string...
  135     prev=:
  136 
  137     for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  138       if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  139       then
  140         break
  141       fi
  142       prev="$cmd"
  143     done
  144 
  145     if test "$prev" != 'sed 50q "$0"'; then
  146       echo_test_string=`eval $prev`
  147       export echo_test_string
  148       exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  149     else
  150       # Oops.  We lost completely, so just stick with echo.
  151       echo=echo
  152     fi
  153       fi
  154     fi
  155   fi
  156 fi
  157 fi
  158 
  159 # Copy echo and quote the copy suitably for passing to libtool from
  160 # the Makefile, instead of quoting the original, which is used later.
  161 ECHO=$echo
  162 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  163    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  164 fi
  165 
  166 # Avoid depending upon Character Ranges.
  167 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  168 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  169 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  170 as_cr_digits='0123456789'
  171 as_cr_alnum=$as_cr_Letters$as_cr_digits
  172 
  173 # Sed expression to map a string onto a valid variable name.
  174 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  175 
  176 # Sed expression to map a string onto a valid CPP name.
  177 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  178 
  179 # Be Bourne compatible
  180 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  181   emulate sh
  182   NULLCMD=:
  183 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  184   set -o posix
  185 fi
  186 
  187 # Name of the executable.
  188 as_me=`echo "$0" |sed 's,.*[\\/],,'`
  189 
  190 if expr a : '\(a\)' >/dev/null 2>&1; then
  191   as_expr=expr
  192 else
  193   as_expr=false
  194 fi
  195 
  196 rm -f conf$$ conf$$.exe conf$$.file
  197 echo >conf$$.file
  198 if ln -s conf$$.file conf$$ 2>/dev/null; then
  199   # We could just check for DJGPP; but this test a) works b) is more generic
  200   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  201   if test -f conf$$.exe; then
  202     # Don't use ln at all; we don't have any links
  203     as_ln_s='cp -p'
  204   else
  205     as_ln_s='ln -s'
  206   fi
  207 elif ln conf$$.file conf$$ 2>/dev/null; then
  208   as_ln_s=ln
  209 else
  210   as_ln_s='cp -p'
  211 fi
  212 rm -f conf$$ conf$$.exe conf$$.file
  213 
  214 as_executable_p="test -f"
  215 
  216 # Support unset when possible.
  217 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  218   as_unset=unset
  219 else
  220   as_unset=false
  221 fi
  222 
  223 # NLS nuisances.
  224 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
  225 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
  226 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
  227 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
  228 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
  229 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
  230 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
  231 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
  232 
  233 # IFS
  234 # We need space, tab and new line, in precisely that order.
  235 as_nl='
  236 '
  237 IFS="   $as_nl"
  238 
  239 # CDPATH.
  240 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
  241 
  242 # Name of the host.
  243 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  244 # so uname gets run too.
  245 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  246 
  247 exec 6>&1
  248 
  249 #
  250 # Initializations.
  251 #
  252 ac_default_prefix=/usr/local
  253 cross_compiling=no
  254 subdirs=
  255 MFLAGS= MAKEFLAGS=
  256 SHELL=${CONFIG_SHELL-/bin/sh}
  257 
  258 # Maximum number of lines to put in a shell here document.
  259 # This variable seems obsolete.  It should probably be removed, and
  260 # only ac_max_sed_lines should be used.
  261 : ${ac_max_here_lines=38}
  262 
  263 ac_unique_file="lib/ping.h"
  264 # Factoring default headers for most tests.
  265 ac_includes_default="\
  266 #include <stdio.h>
  267 #if HAVE_SYS_TYPES_H
  268 # include <sys/types.h>
  269 #endif
  270 #if HAVE_SYS_STAT_H
  271 # include <sys/stat.h>
  272 #endif
  273 #if STDC_HEADERS
  274 # include <stdlib.h>
  275 # include <stddef.h>
  276 #else
  277 # if HAVE_STDLIB_H
  278 #  include <stdlib.h>
  279 # endif
  280 #endif
  281 #if HAVE_STRING_H
  282 # if !STDC_HEADERS && HAVE_MEMORY_H
  283 #  include <memory.h>
  284 # endif
  285 # include <string.h>
  286 #endif
  287 #if HAVE_STRINGS_H
  288 # include <strings.h>
  289 #endif
  290 #if HAVE_INTTYPES_H
  291 # include <inttypes.h>
  292 #else
  293 # if HAVE_STDINT_H
  294 #  include <stdint.h>
  295 # endif
  296 #endif
  297 #if HAVE_UNISTD_H
  298 # include <unistd.h>
  299 #endif"
  300 
  301 # Initialize some variables set by options.
  302 ac_init_help=
  303 ac_init_version=false
  304 # The variables have the same names as the options, with
  305 # dashes changed to underlines.
  306 cache_file=/dev/null
  307 exec_prefix=NONE
  308 no_create=
  309 no_recursion=
  310 prefix=NONE
  311 program_prefix=NONE
  312 program_suffix=NONE
  313 program_transform_name=s,x,x,
  314 silent=
  315 site=
  316 srcdir=
  317 verbose=
  318 x_includes=NONE
  319 x_libraries=NONE
  320 
  321 # Installation directory options.
  322 # These are left unexpanded so users can "make install exec_prefix=/foo"
  323 # and all the variables that are supposed to be based on exec_prefix
  324 # by default will actually change.
  325 # Use braces instead of parens because sh, perl, etc. also accept them.
  326 bindir='${exec_prefix}/bin'
  327 sbindir='${exec_prefix}/sbin'
  328 libexecdir='${exec_prefix}/libexec'
  329 datadir='${prefix}/share'
  330 sysconfdir='${prefix}/etc'
  331 sharedstatedir='${prefix}/com'
  332 localstatedir='${prefix}/var'
  333 libdir='${exec_prefix}/lib'
  334 includedir='${prefix}/include'
  335 oldincludedir='/usr/include'
  336 infodir='${prefix}/info'
  337 mandir='${prefix}/man'
  338 
  339 # Identity of this package.
  340 PACKAGE_NAME=
  341 PACKAGE_TARNAME=
  342 PACKAGE_VERSION=
  343 PACKAGE_STRING=
  344 PACKAGE_BUGREPORT=
  345 
  346 ac_prev=
  347 for ac_option
  348 do
  349   # If the previous option needs an argument, assign it.
  350   if test -n "$ac_prev"; then
  351     eval "$ac_prev=\$ac_option"
  352     ac_prev=
  353     continue
  354   fi
  355 
  356   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  357 
  358   # Accept the important Cygnus configure options, so we can diagnose typos.
  359 
  360   case $ac_option in
  361 
  362   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  363     ac_prev=bindir ;;
  364   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  365     bindir=$ac_optarg ;;
  366 
  367   -build | --build | --buil | --bui | --bu)
  368     ac_prev=build_alias ;;
  369   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  370     build_alias=$ac_optarg ;;
  371 
  372   -cache-file | --cache-file | --cache-fil | --cache-fi \
  373   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  374     ac_prev=cache_file ;;
  375   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  376   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  377     cache_file=$ac_optarg ;;
  378 
  379   --config-cache | -C)
  380     cache_file=config.cache ;;
  381 
  382   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  383     ac_prev=datadir ;;
  384   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  385   | --da=*)
  386     datadir=$ac_optarg ;;
  387 
  388   -disable-* | --disable-*)
  389     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  390     # Reject names that are not valid shell variable names.
  391     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  392       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  393    { (exit 1); exit 1; }; }
  394     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  395     eval "enable_$ac_feature=no" ;;
  396 
  397   -enable-* | --enable-*)
  398     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  399     # Reject names that are not valid shell variable names.
  400     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  401       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  402    { (exit 1); exit 1; }; }
  403     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  404     case $ac_option in
  405       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  406       *) ac_optarg=yes ;;
  407     esac
  408     eval "enable_$ac_feature='$ac_optarg'" ;;
  409 
  410   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  411   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  412   | --exec | --exe | --ex)
  413     ac_prev=exec_prefix ;;
  414   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  415   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  416   | --exec=* | --exe=* | --ex=*)
  417     exec_prefix=$ac_optarg ;;
  418 
  419   -gas | --gas | --ga | --g)
  420     # Obsolete; use --with-gas.
  421     with_gas=yes ;;
  422 
  423   -help | --help | --hel | --he | -h)
  424     ac_init_help=long ;;
  425   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  426     ac_init_help=recursive ;;
  427   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  428     ac_init_help=short ;;
  429 
  430   -host | --host | --hos | --ho)
  431     ac_prev=host_alias ;;
  432   -host=* | --host=* | --hos=* | --ho=*)
  433     host_alias=$ac_optarg ;;
  434 
  435   -includedir | --includedir | --includedi | --included | --include \
  436   | --includ | --inclu | --incl | --inc)
  437     ac_prev=includedir ;;
  438   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  439   | --includ=* | --inclu=* | --incl=* | --inc=*)
  440     includedir=$ac_optarg ;;
  441 
  442   -infodir | --infodir | --infodi | --infod | --info | --inf)
  443     ac_prev=infodir ;;
  444   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  445     infodir=$ac_optarg ;;
  446 
  447   -libdir | --libdir | --libdi | --libd)
  448     ac_prev=libdir ;;
  449   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  450     libdir=$ac_optarg ;;
  451 
  452   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  453   | --libexe | --libex | --libe)
  454     ac_prev=libexecdir ;;
  455   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  456   | --libexe=* | --libex=* | --libe=*)
  457     libexecdir=$ac_optarg ;;
  458 
  459   -localstatedir | --localstatedir | --localstatedi | --localstated \
  460   | --localstate | --localstat | --localsta | --localst \
  461   | --locals | --local | --loca | --loc | --lo)
  462     ac_prev=localstatedir ;;
  463   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  464   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  465   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  466     localstatedir=$ac_optarg ;;
  467 
  468   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  469     ac_prev=mandir ;;
  470   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  471     mandir=$ac_optarg ;;
  472 
  473   -nfp | --nfp | --nf)
  474     # Obsolete; use --without-fp.
  475     with_fp=no ;;
  476 
  477   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  478   | --no-cr | --no-c)
  479     no_create=yes ;;
  480 
  481   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  482   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  483     no_recursion=yes ;;
  484 
  485   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  486   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  487   | --oldin | --oldi | --old | --ol | --o)
  488     ac_prev=oldincludedir ;;
  489   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  490   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  491   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  492     oldincludedir=$ac_optarg ;;
  493 
  494   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  495     ac_prev=prefix ;;
  496   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  497     prefix=$ac_optarg ;;
  498 
  499   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  500   | --program-pre | --program-pr | --program-p)
  501     ac_prev=program_prefix ;;
  502   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  503   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  504     program_prefix=$ac_optarg ;;
  505 
  506   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  507   | --program-suf | --program-su | --program-s)
  508     ac_prev=program_suffix ;;
  509   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  510   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  511     program_suffix=$ac_optarg ;;
  512 
  513   -program-transform-name | --program-transform-name \
  514   | --program-transform-nam | --program-transform-na \
  515   | --program-transform-n | --program-transform- \
  516   | --program-transform | --program-transfor \
  517   | --program-transfo | --program-transf \
  518   | --program-trans | --program-tran \
  519   | --progr-tra | --program-tr | --program-t)
  520     ac_prev=program_transform_name ;;
  521   -program-transform-name=* | --program-transform-name=* \
  522   | --program-transform-nam=* | --program-transform-na=* \
  523   | --program-transform-n=* | --program-transform-=* \
  524   | --program-transform=* | --program-transfor=* \
  525   | --program-transfo=* | --program-transf=* \
  526   | --program-trans=* | --program-tran=* \
  527   | --progr-tra=* | --program-tr=* | --program-t=*)
  528     program_transform_name=$ac_optarg ;;
  529 
  530   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  531   | -silent | --silent | --silen | --sile | --sil)
  532     silent=yes ;;
  533 
  534   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  535     ac_prev=sbindir ;;
  536   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  537   | --sbi=* | --sb=*)
  538     sbindir=$ac_optarg ;;
  539 
  540   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  541   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  542   | --sharedst | --shareds | --shared | --share | --shar \
  543   | --sha | --sh)
  544     ac_prev=sharedstatedir ;;
  545   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  546   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  547   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  548   | --sha=* | --sh=*)
  549     sharedstatedir=$ac_optarg ;;
  550 
  551   -site | --site | --sit)
  552     ac_prev=site ;;
  553   -site=* | --site=* | --sit=*)
  554     site=$ac_optarg ;;
  555 
  556   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  557     ac_prev=srcdir ;;
  558   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  559     srcdir=$ac_optarg ;;
  560 
  561   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  562   | --syscon | --sysco | --sysc | --sys | --sy)
  563     ac_prev=sysconfdir ;;
  564   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  565   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  566     sysconfdir=$ac_optarg ;;
  567 
  568   -target | --target | --targe | --targ | --tar | --ta | --t)
  569     ac_prev=target_alias ;;
  570   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  571     target_alias=$ac_optarg ;;
  572 
  573   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  574     verbose=yes ;;
  575 
  576   -version | --version | --versio | --versi | --vers | -V)
  577     ac_init_version=: ;;
  578 
  579   -with-* | --with-*)
  580     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  581     # Reject names that are not valid shell variable names.
  582     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  583       { echo "$as_me: error: invalid package name: $ac_package" >&2
  584    { (exit 1); exit 1; }; }
  585     ac_package=`echo $ac_package| sed 's/-/_/g'`
  586     case $ac_option in
  587       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  588       *) ac_optarg=yes ;;
  589     esac
  590     eval "with_$ac_package='$ac_optarg'" ;;
  591 
  592   -without-* | --without-*)
  593     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  594     # Reject names that are not valid shell variable names.
  595     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  596       { echo "$as_me: error: invalid package name: $ac_package" >&2
  597    { (exit 1); exit 1; }; }
  598     ac_package=`echo $ac_package | sed 's/-/_/g'`
  599     eval "with_$ac_package=no" ;;
  600 
  601   --x)
  602     # Obsolete; use --with-x.
  603     with_x=yes ;;
  604 
  605   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  606   | --x-incl | --x-inc | --x-in | --x-i)
  607     ac_prev=x_includes ;;
  608   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  609   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  610     x_includes=$ac_optarg ;;
  611 
  612   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  613   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  614     ac_prev=x_libraries ;;
  615   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  616   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  617     x_libraries=$ac_optarg ;;
  618 
  619   -*) { echo "$as_me: error: unrecognized option: $ac_option
  620 Try \`$0 --help' for more information." >&2
  621    { (exit 1); exit 1; }; }
  622     ;;
  623 
  624   *=*)
  625     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  626     # Reject names that are not valid shell variable names.
  627     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  628       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  629    { (exit 1); exit 1; }; }
  630     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  631     eval "$ac_envvar='$ac_optarg'"
  632     export $ac_envvar ;;
  633 
  634   *)
  635     # FIXME: should be removed in autoconf 3.0.
  636     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  637     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  638       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  639     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  640     ;;
  641 
  642   esac
  643 done
  644 
  645 if test -n "$ac_prev"; then
  646   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  647   { echo "$as_me: error: missing argument to $ac_option" >&2
  648    { (exit 1); exit 1; }; }
  649 fi
  650 
  651 # Be sure to have absolute paths.
  652 for ac_var in exec_prefix prefix
  653 do
  654   eval ac_val=$`echo $ac_var`
  655   case $ac_val in
  656     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  657     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
  658    { (exit 1); exit 1; }; };;
  659   esac
  660 done
  661 
  662 # Be sure to have absolute paths.
  663 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  664               localstatedir libdir includedir oldincludedir infodir mandir
  665 do
  666   eval ac_val=$`echo $ac_var`
  667   case $ac_val in
  668     [\\/$]* | ?:[\\/]* ) ;;
  669     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
  670    { (exit 1); exit 1; }; };;
  671   esac
  672 done
  673 
  674 # There might be people who depend on the old broken behavior: `$host'
  675 # used to hold the argument of --host etc.
  676 build=$build_alias
  677 host=$host_alias
  678 target=$target_alias
  679 
  680 # FIXME: should be removed in autoconf 3.0.
  681 if test "x$host_alias" != x; then
  682   if test "x$build_alias" = x; then
  683     cross_compiling=maybe
  684     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  685     If a cross compiler is detected then cross compile mode will be used." >&2
  686   elif test "x$build_alias" != "x$host_alias"; then
  687     cross_compiling=yes
  688   fi
  689 fi
  690 
  691 ac_tool_prefix=
  692 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  693 
  694 test "$silent" = yes && exec 6>/dev/null
  695 
  696 # Find the source files, if location was not specified.
  697 if test -z "$srcdir"; then
  698   ac_srcdir_defaulted=yes
  699   # Try the directory containing this script, then its parent.
  700   ac_prog=$0
  701   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
  702   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  703   srcdir=$ac_confdir
  704   if test ! -r $srcdir/$ac_unique_file; then
  705     srcdir=..
  706   fi
  707 else
  708   ac_srcdir_defaulted=no
  709 fi
  710 if test ! -r $srcdir/$ac_unique_file; then
  711   if test "$ac_srcdir_defaulted" = yes; then
  712     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
  713    { (exit 1); exit 1; }; }
  714   else
  715     { echo "$as_me: error: cannot find sources in $srcdir" >&2
  716    { (exit 1); exit 1; }; }
  717   fi
  718 fi
  719 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  720 ac_env_build_alias_set=${build_alias+set}
  721 ac_env_build_alias_value=$build_alias
  722 ac_cv_env_build_alias_set=${build_alias+set}
  723 ac_cv_env_build_alias_value=$build_alias
  724 ac_env_host_alias_set=${host_alias+set}
  725 ac_env_host_alias_value=$host_alias
  726 ac_cv_env_host_alias_set=${host_alias+set}
  727 ac_cv_env_host_alias_value=$host_alias
  728 ac_env_target_alias_set=${target_alias+set}
  729 ac_env_target_alias_value=$target_alias
  730 ac_cv_env_target_alias_set=${target_alias+set}
  731 ac_cv_env_target_alias_value=$target_alias
  732 ac_env_CC_set=${CC+set}
  733 ac_env_CC_value=$CC
  734 ac_cv_env_CC_set=${CC+set}
  735 ac_cv_env_CC_value=$CC
  736 ac_env_CFLAGS_set=${CFLAGS+set}
  737 ac_env_CFLAGS_value=$CFLAGS
  738 ac_cv_env_CFLAGS_set=${CFLAGS+set}
  739 ac_cv_env_CFLAGS_value=$CFLAGS
  740 ac_env_LDFLAGS_set=${LDFLAGS+set}
  741 ac_env_LDFLAGS_value=$LDFLAGS
  742 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  743 ac_cv_env_LDFLAGS_value=$LDFLAGS
  744 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  745 ac_env_CPPFLAGS_value=$CPPFLAGS
  746 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  747 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  748 ac_env_CPP_set=${CPP+set}
  749 ac_env_CPP_value=$CPP
  750 ac_cv_env_CPP_set=${CPP+set}
  751 ac_cv_env_CPP_value=$CPP
  752 
  753 #
  754 # Report the --help message.
  755 #
  756 if test "$ac_init_help" = "long"; then
  757   # Omit some internal or obsolete options to make the list less imposing.
  758   # This message is too long to be a string in the A/UX 3.1 sh.
  759   cat <<EOF
  760 \`configure' configures this package to adapt to many kinds of systems.
  761 
  762 Usage: $0 [OPTION]... [VAR=VALUE]...
  763 
  764 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  765 VAR=VALUE.  See below for descriptions of some of the useful variables.
  766 
  767 Defaults for the options are specified in brackets.
  768 
  769 Configuration:
  770   -h, --help              display this help and exit
  771       --help=short        display options specific to this package
  772       --help=recursive    display the short help of all the included packages
  773   -V, --version           display version information and exit
  774   -q, --quiet, --silent   do not print \`checking...' messages
  775       --cache-file=FILE   cache test results in FILE [disabled]
  776   -C, --config-cache      alias for \`--cache-file=config.cache'
  777   -n, --no-create         do not create output files
  778       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  779 
  780 EOF
  781 
  782   cat <<EOF
  783 Installation directories:
  784   --prefix=PREFIX         install architecture-independent files in PREFIX
  785                           [$ac_default_prefix]
  786   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  787                           [PREFIX]
  788 
  789 By default, \`make install' will install all the files in
  790 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  791 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  792 for instance \`--prefix=\$HOME'.
  793 
  794 For better control, use the options below.
  795 
  796 Fine tuning of the installation directories:
  797   --bindir=DIR           user executables [EPREFIX/bin]
  798   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  799   --libexecdir=DIR       program executables [EPREFIX/libexec]
  800   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  801   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  802   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  803   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  804   --libdir=DIR           object code libraries [EPREFIX/lib]
  805   --includedir=DIR       C header files [PREFIX/include]
  806   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  807   --infodir=DIR          info documentation [PREFIX/info]
  808   --mandir=DIR           man documentation [PREFIX/man]
  809 EOF
  810 
  811   cat <<\EOF
  812 
  813 Program names:
  814   --program-prefix=PREFIX            prepend PREFIX to installed program names
  815   --program-suffix=SUFFIX            append SUFFIX to installed program names
  816   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  817 
  818 System types:
  819   --build=BUILD     configure for building on BUILD [guessed]
  820   --host=HOST       build programs to run on HOST [BUILD]
  821 EOF
  822 fi
  823 
  824 if test -n "$ac_init_help"; then
  825 
  826   cat <<\EOF
  827 
  828 Optional Features:
  829   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  830   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  831   --disable-dependency-tracking Speeds up one-time builds
  832   --enable-dependency-tracking  Do not reject slow dependency extractors
  833   --enable-shared=PKGS  build shared libraries default=yes
  834   --enable-static=PKGS  build static libraries default=yes
  835   --enable-fast-install=PKGS  optimize for fast installation default=yes
  836   --disable-libtool-lock  avoid locking (might break parallel builds)
  837 
  838 Optional Packages:
  839   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  840   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  841   --with-gnu-ld           assume the C compiler uses GNU ld default=no
  842   --with-pic              try to use only PIC/non-PIC objects default=use both
  843   --with-debugging        compile with program debugging
  844   --with-ssl              compile with ssl support
  845 
  846 Some influential environment variables:
  847   CC          C compiler command
  848   CFLAGS      C compiler flags
  849   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  850               nonstandard directory <lib dir>
  851   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  852               headers in a nonstandard directory <include dir>
  853   CPP         C preprocessor
  854 
  855 Use these variables to override the choices made by `configure' or to help
  856 it to find libraries and programs with nonstandard names/locations.
  857 
  858 EOF
  859 fi
  860 
  861 if test "$ac_init_help" = "recursive"; then
  862   # If there are subdirs, report their specific --help.
  863   ac_popdir=`pwd`
  864   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
  865     cd $ac_subdir
  866     # A "../" for each directory in /$ac_subdir.
  867     ac_dots=`echo $ac_subdir |
  868              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
  869 
  870     case $srcdir in
  871     .) # No --srcdir option.  We are building in place.
  872       ac_sub_srcdir=$srcdir ;;
  873     [\\/]* | ?:[\\/]* ) # Absolute path.
  874       ac_sub_srcdir=$srcdir/$ac_subdir ;;
  875     *) # Relative path.
  876       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
  877     esac
  878 
  879     # Check for guested configure; otherwise get Cygnus style configure.
  880     if test -f $ac_sub_srcdir/configure.gnu; then
  881       echo
  882       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
  883     elif test -f $ac_sub_srcdir/configure; then
  884       echo
  885       $SHELL $ac_sub_srcdir/configure  --help=recursive
  886     elif test -f $ac_sub_srcdir/configure.ac ||
  887            test -f $ac_sub_srcdir/configure.in; then
  888       echo
  889       $ac_configure --help
  890     else
  891       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
  892     fi
  893     cd $ac_popdir
  894   done
  895 fi
  896 
  897 test -n "$ac_init_help" && exit 0
  898 if $ac_init_version; then
  899   cat <<\EOF
  900 
  901 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  902 Free Software Foundation, Inc.
  903 This configure script is free software; the Free Software Foundation
  904 gives unlimited permission to copy, distribute and modify it.
  905 EOF
  906   exit 0
  907 fi
  908 exec 5>config.log
  909 cat >&5 <<EOF
  910 This file contains any messages produced by compilers while
  911 running configure, to aid debugging if configure makes a mistake.
  912 
  913 It was created by $as_me, which was
  914 generated by GNU Autoconf 2.52.  Invocation command line was
  915 
  916   $ $0 $@
  917 
  918 EOF
  919 {
  920 cat <<_ASUNAME
  921 ## ---------- ##
  922 ## Platform.  ##
  923 ## ---------- ##
  924 
  925 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  926 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  927 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  928 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  929 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  930 
  931 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  932 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  933 
  934 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  935 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  936 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  937 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  938 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  939 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  940 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  941 
  942 PATH = $PATH
  943 
  944 _ASUNAME
  945 } >&5
  946 
  947 cat >&5 <<EOF
  948 ## ------------ ##
  949 ## Core tests.  ##
  950 ## ------------ ##
  951 
  952 EOF
  953 
  954 # Keep a trace of the command line.
  955 # Strip out --no-create and --no-recursion so they do not pile up.
  956 # Also quote any args containing shell meta-characters.
  957 ac_configure_args=
  958 ac_sep=
  959 for ac_arg
  960 do
  961   case $ac_arg in
  962   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  963   | --no-cr | --no-c) ;;
  964   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  965   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  966   *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  967     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
  968     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  969     ac_sep=" " ;;
  970   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
  971      ac_sep=" " ;;
  972   esac
  973   # Get rid of the leading space.
  974 done
  975 
  976 # When interrupted or exit'd, cleanup temporary files, and complete
  977 # config.log.  We remove comments because anyway the quotes in there
  978 # would cause problems or look ugly.
  979 trap 'exit_status=$?
  980   # Save into config.log some information that might help in debugging.
  981   echo >&5
  982   echo "## ----------------- ##" >&5
  983   echo "## Cache variables.  ##" >&5
  984   echo "## ----------------- ##" >&5
  985   echo >&5
  986   # The following way of writing the cache mishandles newlines in values,
  987 {
  988   (set) 2>&1 |
  989     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  990     *ac_space=\ *)
  991       sed -n \
  992         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  993           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  994       ;;
  995     *)
  996       sed -n \
  997         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  998       ;;
  999     esac;
 1000 } >&5
 1001   sed "/^$/d" confdefs.h >conftest.log
 1002   if test -s conftest.log; then
 1003     echo >&5
 1004     echo "## ------------ ##" >&5
 1005     echo "## confdefs.h.  ##" >&5
 1006     echo "## ------------ ##" >&5
 1007     echo >&5
 1008     cat conftest.log >&5
 1009   fi
 1010   (echo; echo) >&5
 1011   test "$ac_signal" != 0 &&
 1012     echo "$as_me: caught signal $ac_signal" >&5
 1013   echo "$as_me: exit $exit_status" >&5
 1014   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
 1015     exit $exit_status
 1016      ' 0
 1017 for ac_signal in 1 2 13 15; do
 1018   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1019 done
 1020 ac_signal=0
 1021 
 1022 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1023 rm -rf conftest* confdefs.h
 1024 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 1025 echo >confdefs.h
 1026 
 1027 # Let the site file select an alternate cache file if it wants to.
 1028 # Prefer explicitly selected file to automatically selected ones.
 1029 if test -z "$CONFIG_SITE"; then
 1030   if test "x$prefix" != xNONE; then
 1031     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 1032   else
 1033     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 1034   fi
 1035 fi
 1036 for ac_site_file in $CONFIG_SITE; do
 1037   if test -r "$ac_site_file"; then
 1038     { echo "$as_me:1038: loading site script $ac_site_file" >&5
 1039 echo "$as_me: loading site script $ac_site_file" >&6;}
 1040     cat "$ac_site_file" >&5
 1041     . "$ac_site_file"
 1042   fi
 1043 done
 1044 
 1045 if test -r "$cache_file"; then
 1046   # Some versions of bash will fail to source /dev/null (special
 1047   # files actually), so we avoid doing that.
 1048   if test -f "$cache_file"; then
 1049     { echo "$as_me:1049: loading cache $cache_file" >&5
 1050 echo "$as_me: loading cache $cache_file" >&6;}
 1051     case $cache_file in
 1052       [\\/]* | ?:[\\/]* ) . $cache_file;;
 1053       *)                      . ./$cache_file;;
 1054     esac
 1055   fi
 1056 else
 1057   { echo "$as_me:1057: creating cache $cache_file" >&5
 1058 echo "$as_me: creating cache $cache_file" >&6;}
 1059   >$cache_file
 1060 fi
 1061 
 1062 # Check that the precious variables saved in the cache have kept the same
 1063 # value.
 1064 ac_cache_corrupted=false
 1065 for ac_var in `(set) 2>&1 |
 1066                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 1067   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1068   eval ac_new_set=\$ac_env_${ac_var}_set
 1069   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 1070   eval ac_new_val="\$ac_env_${ac_var}_value"
 1071   case $ac_old_set,$ac_new_set in
 1072     set,)
 1073       { echo "$as_me:1073: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1074 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1075       ac_cache_corrupted=: ;;
 1076     ,set)
 1077       { echo "$as_me:1077: error: \`$ac_var' was not set in the previous run" >&5
 1078 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1079       ac_cache_corrupted=: ;;
 1080     ,);;
 1081     *)
 1082       if test "x$ac_old_val" != "x$ac_new_val"; then
 1083         { echo "$as_me:1083: error: \`$ac_var' has changed since the previous run:" >&5
 1084 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1085         { echo "$as_me:1085:   former value:  $ac_old_val" >&5
 1086 echo "$as_me:   former value:  $ac_old_val" >&2;}
 1087         { echo "$as_me:1087:   current value: $ac_new_val" >&5
 1088 echo "$as_me:   current value: $ac_new_val" >&2;}
 1089         ac_cache_corrupted=:
 1090       fi;;
 1091   esac
 1092   # Pass precious variables to config.status.  It doesn't matter if
 1093   # we pass some twice (in addition to the command line arguments).
 1094   if test "$ac_new_set" = set; then
 1095     case $ac_new_val in
 1096     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1097       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
 1098       ac_configure_args="$ac_configure_args '$ac_arg'"
 1099       ;;
 1100     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
 1101        ;;
 1102     esac
 1103   fi
 1104 done
 1105 if $ac_cache_corrupted; then
 1106   { echo "$as_me:1106: error: changes in the environment can compromise the build" >&5
 1107 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1108   { { echo "$as_me:1108: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1109 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1110    { (exit 1); exit 1; }; }
 1111 fi
 1112 
 1113 ac_ext=c
 1114 ac_cpp='$CPP $CPPFLAGS'
 1115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1118 
 1119 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 1120   *c*,-n*) ECHO_N= ECHO_C='
 1121 ' ECHO_T='  ' ;;
 1122   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 1123   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
 1124 esac
 1125 echo "#! $SHELL" >conftest.sh
 1126 echo  "exit 0"   >>conftest.sh
 1127 chmod +x conftest.sh
 1128 if { (echo "$as_me:1128: PATH=\".;.\"; conftest.sh") >&5
 1129   (PATH=".;."; conftest.sh) 2>&5
 1130   ac_status=$?
 1131   echo "$as_me:1131: \$? = $ac_status" >&5
 1132   (exit $ac_status); }; then
 1133   ac_path_separator=';'
 1134 else
 1135   ac_path_separator=:
 1136 fi
 1137 PATH_SEPARATOR="$ac_path_separator"
 1138 rm -f conftest.sh
 1139 
 1140                                     ac_config_headers="$ac_config_headers include/config.h"
 1141 
 1142 VERSION=`sed -e 's/^.*"\(.*\)";$/\1/' ${srcdir}/src/version.c`
 1143 ac_aux_dir=
 1144 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 1145   if test -f $ac_dir/install-sh; then
 1146     ac_aux_dir=$ac_dir
 1147     ac_install_sh="$ac_aux_dir/install-sh -c"
 1148     break
 1149   elif test -f $ac_dir/install.sh; then
 1150     ac_aux_dir=$ac_dir
 1151     ac_install_sh="$ac_aux_dir/install.sh -c"
 1152     break
 1153   elif test -f $ac_dir/shtool; then
 1154     ac_aux_dir=$ac_dir
 1155     ac_install_sh="$ac_aux_dir/shtool install -c"
 1156     break
 1157   fi
 1158 done
 1159 if test -z "$ac_aux_dir"; then
 1160   { { echo "$as_me:1160: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 1161 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 1162    { (exit 1); exit 1; }; }
 1163 fi
 1164 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 1165 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 1166 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 1167 
 1168 # Find a good install program.  We prefer a C program (faster),
 1169 # so one script is as good as another.  But avoid the broken or
 1170 # incompatible versions:
 1171 # SysV /etc/install, /usr/sbin/install
 1172 # SunOS /usr/etc/install
 1173 # IRIX /sbin/install
 1174 # AIX /bin/install
 1175 # AmigaOS /C/install, which installs bootblocks on floppy discs
 1176 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 1177 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 1178 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 1179 # ./install, which can be erroneously created by make from ./install.sh.
 1180 echo "$as_me:1180: checking for a BSD compatible install" >&5
 1181 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
 1182 if test -z "$INSTALL"; then
 1183 if test "${ac_cv_path_install+set}" = set; then
 1184   echo $ECHO_N "(cached) $ECHO_C" >&6
 1185 else
 1186     ac_save_IFS=$IFS; IFS=$ac_path_separator
 1187   for ac_dir in $PATH; do
 1188     IFS=$ac_save_IFS
 1189     # Account for people who put trailing slashes in PATH elements.
 1190     case $ac_dir/ in
 1191     / | ./ | .// | /cC/* \
 1192     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
 1193     | /usr/ucb/* ) ;;
 1194     *)
 1195       # OSF1 and SCO ODT 3.0 have their own names for install.
 1196       # Don't use installbsd from OSF since it installs stuff as root
 1197       # by default.
 1198       for ac_prog in ginstall scoinst install; do
 1199         if $as_executable_p "$ac_dir/$ac_prog"; then
 1200       if test $ac_prog = install &&
 1201             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
 1202         # AIX install.  It has an incompatible calling convention.
 1203         :
 1204       elif test $ac_prog = install &&
 1205         grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
 1206         # program-specific install script used by HP pwplus--don't use.
 1207         :
 1208       else
 1209         ac_cv_path_install="$ac_dir/$ac_prog -c"
 1210         break 2
 1211       fi
 1212     fi
 1213       done
 1214       ;;
 1215     esac
 1216   done
 1217 
 1218 fi
 1219   if test "${ac_cv_path_install+set}" = set; then
 1220     INSTALL=$ac_cv_path_install
 1221   else
 1222     # As a last resort, use the slow shell script.  We don't cache a
 1223     # path for INSTALL within a source directory, because that will
 1224     # break other packages using the cache if that directory is
 1225     # removed, or if the path is relative.
 1226     INSTALL=$ac_install_sh
 1227   fi
 1228 fi
 1229 echo "$as_me:1229: result: $INSTALL" >&5
 1230 echo "${ECHO_T}$INSTALL" >&6
 1231 
 1232 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 1233 # It thinks the first close brace ends the variable substitution.
 1234 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 1235 
 1236 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 1237 
 1238 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 1239 
 1240 echo "$as_me:1240: checking whether build environment is sane" >&5
 1241 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 1242 # Just in case
 1243 sleep 1
 1244 echo timestamp > conftest.file
 1245 # Do `set' in a subshell so we don't clobber the current shell's
 1246 # arguments.  Must try -L first in case configure is actually a
 1247 # symlink; some systems play weird games with the mod time of symlinks
 1248 # (eg FreeBSD returns the mod time of the symlink's containing
 1249 # directory).
 1250 if (
 1251    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 1252    if test "$*" = "X"; then
 1253       # -L didn't work.
 1254       set X `ls -t $srcdir/configure conftest.file`
 1255    fi
 1256    rm -f conftest.file
 1257    if test "$*" != "X $srcdir/configure conftest.file" \
 1258       && test "$*" != "X conftest.file $srcdir/configure"; then
 1259 
 1260       # If neither matched, then we have a broken ls.  This can happen
 1261       # if, for instance, CONFIG_SHELL is bash and it inherits a
 1262       # broken ls alias from the environment.  This has actually
 1263       # happened.  Such a system could not be considered "sane".
 1264       { { echo "$as_me:1264: error: ls -t appears to fail.  Make sure there is not a broken
 1265 alias in your environment" >&5
 1266 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 1267 alias in your environment" >&2;}
 1268    { (exit 1); exit 1; }; }
 1269    fi
 1270 
 1271    test "$2" = conftest.file
 1272    )
 1273 then
 1274    # Ok.
 1275    :
 1276 else
 1277    { { echo "$as_me:1277: error: newly created file is older than distributed files!
 1278 Check your system clock" >&5
 1279 echo "$as_me: error: newly created file is older than distributed files!
 1280 Check your system clock" >&2;}
 1281    { (exit 1); exit 1; }; }
 1282 fi
 1283 echo "$as_me:1283: result: yes" >&5
 1284 echo "${ECHO_T}yes" >&6
 1285 test "$program_prefix" != NONE &&
 1286   program_transform_name="s,^,$program_prefix,;$program_transform_name"
 1287 # Use a double $ so make ignores it.
 1288 test "$program_suffix" != NONE &&
 1289   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 1290 # Double any \ or $.  echo might interpret backslashes.
 1291 # By default was `s,x,x', remove it if useless.
 1292 cat <<\_ACEOF >conftest.sed
 1293 s/[\\$]/&&/g;s/;s,x,x,$//
 1294 _ACEOF
 1295 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 1296 rm conftest.sed
 1297 
 1298 # expand $ac_aux_dir to an absolute path
 1299 am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
 1300 
 1301 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 1302 # Use eval to expand $SHELL
 1303 if eval "$MISSING --run true"; then
 1304   am_missing_run="$MISSING --run "
 1305 else
 1306   am_missing_run=
 1307   am_backtick='`'
 1308   { echo "$as_me:1308: WARNING: ${am_backtick}missing' script is too old or missing" >&5
 1309 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
 1310 fi
 1311 
 1312 for ac_prog in mawk gawk nawk awk
 1313 do
 1314   # Extract the first word of "$ac_prog", so it can be a program name with args.
 1315 set dummy $ac_prog; ac_word=$2
 1316 echo "$as_me:1316: checking for $ac_word" >&5
 1317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1318 if test "${ac_cv_prog_AWK+set}" = set; then
 1319   echo $ECHO_N "(cached) $ECHO_C" >&6
 1320 else
 1321   if test -n "$AWK"; then
 1322   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 1323 else
 1324   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1325 ac_dummy="$PATH"
 1326 for ac_dir in $ac_dummy; do
 1327   IFS=$ac_save_IFS
 1328   test -z "$ac_dir" && ac_dir=.
 1329   $as_executable_p "$ac_dir/$ac_word" || continue
 1330 ac_cv_prog_AWK="$ac_prog"
 1331 echo "$as_me:1331: found $ac_dir/$ac_word" >&5
 1332 break
 1333 done
 1334 
 1335 fi
 1336 fi
 1337 AWK=$ac_cv_prog_AWK
 1338 if test -n "$AWK"; then
 1339   echo "$as_me:1339: result: $AWK" >&5
 1340 echo "${ECHO_T}$AWK" >&6
 1341 else
 1342   echo "$as_me:1342: result: no" >&5
 1343 echo "${ECHO_T}no" >&6
 1344 fi
 1345 
 1346   test -n "$AWK" && break
 1347 done
 1348 
 1349 echo "$as_me:1349: checking whether ${MAKE-make} sets \${MAKE}" >&5
 1350 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
 1351 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 1352 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 1353   echo $ECHO_N "(cached) $ECHO_C" >&6
 1354 else
 1355   cat >conftest.make <<\EOF
 1356 all:
 1357     @echo 'ac_maketemp="${MAKE}"'
 1358 EOF
 1359 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 1360 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 1361 if test -n "$ac_maketemp"; then
 1362   eval ac_cv_prog_make_${ac_make}_set=yes
 1363 else
 1364   eval ac_cv_prog_make_${ac_make}_set=no
 1365 fi
 1366 rm -f conftest.make
 1367 fi
 1368 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 1369   echo "$as_me:1369: result: yes" >&5
 1370 echo "${ECHO_T}yes" >&6
 1371   SET_MAKE=
 1372 else
 1373   echo "$as_me:1373: result: no" >&5
 1374 echo "${ECHO_T}no" >&6
 1375   SET_MAKE="MAKE=${MAKE-make}"
 1376 fi
 1377 
 1378 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 1379 if test "${enable_dependency_tracking+set}" = set; then
 1380   enableval="$enable_dependency_tracking"
 1381 
 1382 fi;
 1383 if test "x$enable_dependency_tracking" != xno; then
 1384   am_depcomp="$ac_aux_dir/depcomp"
 1385   AMDEPBACKSLASH='\'
 1386 fi
 1387 
 1388 if test "x$enable_dependency_tracking" != xno; then
 1389   AMDEP_TRUE=
 1390   AMDEP_FALSE='#'
 1391 else
 1392   AMDEP_TRUE='#'
 1393   AMDEP_FALSE=
 1394 fi
 1395 
 1396 rm -f .deps 2>/dev/null
 1397 mkdir .deps 2>/dev/null
 1398 if test -d .deps; then
 1399   DEPDIR=.deps
 1400 else
 1401   # MS-DOS does not allow filenames that begin with a dot.
 1402   DEPDIR=_deps
 1403 fi
 1404 rmdir .deps 2>/dev/null
 1405 
 1406 # test to see if srcdir already configured
 1407 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
 1408    test -f $srcdir/config.status; then
 1409   { { echo "$as_me:1409: error: source directory already configured; run \"make distclean\" there first" >&5
 1410 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 1411    { (exit 1); exit 1; }; }
 1412 fi
 1413 
 1414 # Define the identity of the package.
 1415 PACKAGE=libping
 1416 VERSION=$VERSION
 1417 
 1418 cat >>confdefs.h <<EOF
 1419 #define PACKAGE "$PACKAGE"
 1420 EOF
 1421 
 1422 cat >>confdefs.h <<EOF
 1423 #define VERSION "$VERSION"
 1424 EOF
 1425 
 1426 # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
 1427 # the ones we care about.
 1428 
 1429 # Autoconf 2.50 always computes EXEEXT.  However we need to be
 1430 # compatible with 2.13, for now.  So we always define EXEEXT, but we
 1431 # don't compute it.
 1432 
 1433 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
 1434 # requests that it be used.  This is a bit dumb.
 1435 : ${OBJEXT=o}
 1436 
 1437 # Some tools Automake needs.
 1438 
 1439 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
 1440 
 1441 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 1442 
 1443 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
 1444 
 1445 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 1446 
 1447 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 1448 
 1449 AMTAR=${AMTAR-"${am_missing_run}tar"}
 1450 
 1451 install_sh=${install_sh-"$am_aux_dir/install-sh"}
 1452 
 1453 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 1454 
 1455 # We need awk for the "check" target.  The system "awk" is bad on
 1456 # some platforms.
 1457 
 1458 DATE=2001-07-05
 1459 
 1460 ac_config_commands="$ac_config_commands default-1"
 1461 
 1462 am_make=${MAKE-make}
 1463 cat > confinc << 'END'
 1464 doit:
 1465     @echo done
 1466 END
 1467 # If we don't find an include directive, just comment out the code.
 1468 echo "$as_me:1468: checking for style of include used by $am_make" >&5
 1469 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 1470 am__include='#'
 1471 am__quote=
 1472 _am_result=none
 1473 # First try GNU make style include.
 1474 echo "include confinc" > confmf
 1475 # We grep out `Entering directory' and `Leaving directory'
 1476 # messages which can occur if `w' ends up in MAKEFLAGS.
 1477 # In particular we don't look at `^make:' because GNU make might
 1478 # be invoked under some other name (usually "gmake"), in which
 1479 # case it prints its new name instead of `make'.
 1480 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
 1481    am__include=include
 1482    am__quote=
 1483    _am_result=GNU
 1484 fi
 1485 # Now try BSD make style include.
 1486 if test "$am__include" = "#"; then
 1487    echo '.include "confinc"' > confmf
 1488    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 1489       am__include=.include
 1490       am__quote='"'
 1491       _am_result=BSD
 1492    fi
 1493 fi
 1494 
 1495 echo "$as_me:1495: result: $_am_result" >&5
 1496 echo "${ECHO_T}$_am_result" >&6
 1497 rm -f confinc confmf
 1498 
 1499 ac_ext=c
 1500 ac_cpp='$CPP $CPPFLAGS'
 1501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1504 if test -n "$ac_tool_prefix"; then
 1505   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 1506 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 1507 echo "$as_me:1507: checking for $ac_word" >&5
 1508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1509 if test "${ac_cv_prog_CC+set}" = set; then
 1510   echo $ECHO_N "(cached) $ECHO_C" >&6
 1511 else
 1512   if test -n "$CC"; then
 1513   ac_cv_prog_CC="$CC" # Let the user override the test.
 1514 else
 1515   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1516 ac_dummy="$PATH"
 1517 for ac_dir in $ac_dummy; do
 1518   IFS=$ac_save_IFS
 1519   test -z "$ac_dir" && ac_dir=.
 1520   $as_executable_p "$ac_dir/$ac_word" || continue
 1521 ac_cv_prog_CC="${ac_tool_prefix}gcc"
 1522 echo "$as_me:1522: found $ac_dir/$ac_word" >&5
 1523 break
 1524 done
 1525 
 1526 fi
 1527 fi
 1528 CC=$ac_cv_prog_CC
 1529 if test -n "$CC"; then
 1530   echo "$as_me:1530: result: $CC" >&5
 1531 echo "${ECHO_T}$CC" >&6
 1532 else
 1533   echo "$as_me:1533: result: no" >&5
 1534 echo "${ECHO_T}no" >&6
 1535 fi
 1536 
 1537 fi
 1538 if test -z "$ac_cv_prog_CC"; then
 1539   ac_ct_CC=$CC
 1540   # Extract the first word of "gcc", so it can be a program name with args.
 1541 set dummy gcc; ac_word=$2
 1542 echo "$as_me:1542: checking for $ac_word" >&5
 1543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1544 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1545   echo $ECHO_N "(cached) $ECHO_C" >&6
 1546 else
 1547   if test -n "$ac_ct_CC"; then
 1548   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1549 else
 1550   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1551 ac_dummy="$PATH"
 1552 for ac_dir in $ac_dummy; do
 1553   IFS=$ac_save_IFS
 1554   test -z "$ac_dir" && ac_dir=.
 1555   $as_executable_p "$ac_dir/$ac_word" || continue
 1556 ac_cv_prog_ac_ct_CC="gcc"
 1557 echo "$as_me:1557: found $ac_dir/$ac_word" >&5
 1558 break
 1559 done
 1560 
 1561 fi
 1562 fi
 1563 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1564 if test -n "$ac_ct_CC"; then
 1565   echo "$as_me:1565: result: $ac_ct_CC" >&5
 1566 echo "${ECHO_T}$ac_ct_CC" >&6
 1567 else
 1568   echo "$as_me:1568: result: no" >&5
 1569 echo "${ECHO_T}no" >&6
 1570 fi
 1571 
 1572   CC=$ac_ct_CC
 1573 else
 1574   CC="$ac_cv_prog_CC"
 1575 fi
 1576 
 1577 if test -z "$CC"; then
 1578   if test -n "$ac_tool_prefix"; then
 1579   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 1580 set dummy ${ac_tool_prefix}cc; ac_word=$2
 1581 echo "$as_me:1581: checking for $ac_word" >&5
 1582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1583 if test "${ac_cv_prog_CC+set}" = set; then
 1584   echo $ECHO_N "(cached) $ECHO_C" >&6
 1585 else
 1586   if test -n "$CC"; then
 1587   ac_cv_prog_CC="$CC" # Let the user override the test.
 1588 else
 1589   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1590 ac_dummy="$PATH"
 1591 for ac_dir in $ac_dummy; do
 1592   IFS=$ac_save_IFS
 1593   test -z "$ac_dir" && ac_dir=.
 1594   $as_executable_p "$ac_dir/$ac_word" || continue
 1595 ac_cv_prog_CC="${ac_tool_prefix}cc"
 1596 echo "$as_me:1596: found $ac_dir/$ac_word" >&5
 1597 break
 1598 done
 1599 
 1600 fi
 1601 fi
 1602 CC=$ac_cv_prog_CC
 1603 if test -n "$CC"; then
 1604   echo "$as_me:1604: result: $CC" >&5
 1605 echo "${ECHO_T}$CC" >&6
 1606 else
 1607   echo "$as_me:1607: result: no" >&5
 1608 echo "${ECHO_T}no" >&6
 1609 fi
 1610 
 1611 fi
 1612 if test -z "$ac_cv_prog_CC"; then
 1613   ac_ct_CC=$CC
 1614   # Extract the first word of "cc", so it can be a program name with args.
 1615 set dummy cc; ac_word=$2
 1616 echo "$as_me:1616: checking for $ac_word" >&5
 1617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1618 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1619   echo $ECHO_N "(cached) $ECHO_C" >&6
 1620 else
 1621   if test -n "$ac_ct_CC"; then
 1622   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1623 else
 1624   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1625 ac_dummy="$PATH"
 1626 for ac_dir in $ac_dummy; do
 1627   IFS=$ac_save_IFS
 1628   test -z "$ac_dir" && ac_dir=.
 1629   $as_executable_p "$ac_dir/$ac_word" || continue
 1630 ac_cv_prog_ac_ct_CC="cc"
 1631 echo "$as_me:1631: found $ac_dir/$ac_word" >&5
 1632 break
 1633 done
 1634 
 1635 fi
 1636 fi
 1637 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1638 if test -n "$ac_ct_CC"; then
 1639   echo "$as_me:1639: result: $ac_ct_CC" >&5
 1640 echo "${ECHO_T}$ac_ct_CC" >&6
 1641 else
 1642   echo "$as_me:1642: result: no" >&5
 1643 echo "${ECHO_T}no" >&6
 1644 fi
 1645 
 1646   CC=$ac_ct_CC
 1647 else
 1648   CC="$ac_cv_prog_CC"
 1649 fi
 1650 
 1651 fi
 1652 if test -z "$CC"; then
 1653   # Extract the first word of "cc", so it can be a program name with args.
 1654 set dummy cc; ac_word=$2
 1655 echo "$as_me:1655: checking for $ac_word" >&5
 1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1657 if test "${ac_cv_prog_CC+set}" = set; then
 1658   echo $ECHO_N "(cached) $ECHO_C" >&6
 1659 else
 1660   if test -n "$CC"; then
 1661   ac_cv_prog_CC="$CC" # Let the user override the test.
 1662 else
 1663   ac_prog_rejected=no
 1664   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1665 ac_dummy="$PATH"
 1666 for ac_dir in $ac_dummy; do
 1667   IFS=$ac_save_IFS
 1668   test -z "$ac_dir" && ac_dir=.
 1669   $as_executable_p "$ac_dir/$ac_word" || continue
 1670 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
 1671   ac_prog_rejected=yes
 1672   continue
 1673 fi
 1674 ac_cv_prog_CC="cc"
 1675 echo "$as_me:1675: found $ac_dir/$ac_word" >&5
 1676 break
 1677 done
 1678 
 1679 if test $ac_prog_rejected = yes; then
 1680   # We found a bogon in the path, so make sure we never use it.
 1681   set dummy $ac_cv_prog_CC
 1682   shift
 1683   if test $# != 0; then
 1684     # We chose a different compiler from the bogus one.
 1685     # However, it has the same basename, so the bogon will be chosen
 1686     # first if we set CC to just the basename; use the full file name.
 1687     shift
 1688     set dummy "$ac_dir/$ac_word" ${1+"$@"}
 1689     shift
 1690     ac_cv_prog_CC="$@"
 1691   fi
 1692 fi
 1693 fi
 1694 fi
 1695 CC=$ac_cv_prog_CC
 1696 if test -n "$CC"; then
 1697   echo "$as_me:1697: result: $CC" >&5
 1698 echo "${ECHO_T}$CC" >&6
 1699 else
 1700   echo "$as_me:1700: result: no" >&5
 1701 echo "${ECHO_T}no" >&6
 1702 fi
 1703 
 1704 fi
 1705 if test -z "$CC"; then
 1706   if test -n "$ac_tool_prefix"; then
 1707   for ac_prog in cl
 1708   do
 1709     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 1710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 1711 echo "$as_me:1711: checking for $ac_word" >&5
 1712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1713 if test "${ac_cv_prog_CC+set}" = set; then
 1714   echo $ECHO_N "(cached) $ECHO_C" >&6
 1715 else
 1716   if test -n "$CC"; then
 1717   ac_cv_prog_CC="$CC" # Let the user override the test.
 1718 else
 1719   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1720 ac_dummy="$PATH"
 1721 for ac_dir in $ac_dummy; do
 1722   IFS=$ac_save_IFS
 1723   test -z "$ac_dir" && ac_dir=.
 1724   $as_executable_p "$ac_dir/$ac_word" || continue
 1725 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 1726 echo "$as_me:1726: found $ac_dir/$ac_word" >&5
 1727 break
 1728 done
 1729 
 1730 fi
 1731 fi
 1732 CC=$ac_cv_prog_CC
 1733 if test -n "$CC"; then
 1734   echo "$as_me:1734: result: $CC" >&5
 1735 echo "${ECHO_T}$CC" >&6
 1736 else
 1737   echo "$as_me:1737: result: no" >&5
 1738 echo "${ECHO_T}no" >&6
 1739 fi
 1740 
 1741     test -n "$CC" && break
 1742   done
 1743 fi
 1744 if test -z "$CC"; then
 1745   ac_ct_CC=$CC
 1746   for ac_prog in cl
 1747 do
 1748   # Extract the first word of "$ac_prog", so it can be a program name with args.
 1749 set dummy $ac_prog; ac_word=$2
 1750 echo "$as_me:1750: checking for $ac_word" >&5
 1751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1753   echo $ECHO_N "(cached) $ECHO_C" >&6
 1754 else
 1755   if test -n "$ac_ct_CC"; then
 1756   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1757 else
 1758   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1759 ac_dummy="$PATH"
 1760 for ac_dir in $ac_dummy; do
 1761   IFS=$ac_save_IFS
 1762   test -z "$ac_dir" && ac_dir=.
 1763   $as_executable_p "$ac_dir/$ac_word" || continue
 1764 ac_cv_prog_ac_ct_CC="$ac_prog"
 1765 echo "$as_me:1765: found $ac_dir/$ac_word" >&5
 1766 break
 1767 done
 1768 
 1769 fi
 1770 fi
 1771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1772 if test -n "$ac_ct_CC"; then
 1773   echo "$as_me:1773: result: $ac_ct_CC" >&5
 1774 echo "${ECHO_T}$ac_ct_CC" >&6
 1775 else
 1776   echo "$as_me:1776: result: no" >&5
 1777 echo "${ECHO_T}no" >&6
 1778 fi
 1779 
 1780   test -n "$ac_ct_CC" && break
 1781 done
 1782 
 1783   CC=$ac_ct_CC
 1784 fi
 1785 
 1786 fi
 1787 
 1788 test -z "$CC" && { { echo "$as_me:1788: error: no acceptable cc found in \$PATH" >&5
 1789 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
 1790    { (exit 1); exit 1; }; }
 1791 
 1792 # Provide some information about the compiler.
 1793 echo "$as_me:1793:" \
 1794      "checking for C compiler version" >&5
 1795 ac_compiler=`set X $ac_compile; echo $2`
 1796 { (eval echo "$as_me:1796: \"$ac_compiler --version </dev/null >&5\"") >&5
 1797   (eval $ac_compiler --version </dev/null >&5) 2>&5
 1798   ac_status=$?
 1799   echo "$as_me:1799: \$? = $ac_status" >&5
 1800   (exit $ac_status); }
 1801 { (eval echo "$as_me:1801: \"$ac_compiler -v </dev/null >&5\"") >&5
 1802   (eval $ac_compiler -v </dev/null >&5) 2>&5
 1803   ac_status=$?
 1804   echo "$as_me:1804: \$? = $ac_status" >&5
 1805   (exit $ac_status); }
 1806 { (eval echo "$as_me:1806: \"$ac_compiler -V </dev/null >&5\"") >&5
 1807   (eval $ac_compiler -V </dev/null >&5) 2>&5
 1808   ac_status=$?
 1809   echo "$as_me:1809: \$? = $ac_status" >&5
 1810   (exit $ac_status); }
 1811 
 1812 cat >conftest.$ac_ext <<_ACEOF
 1813 #line 1813 "configure"
 1814 #include "confdefs.h"
 1815 
 1816 int
 1817 main ()
 1818 {
 1819 
 1820   ;
 1821   return 0;
 1822 }
 1823 _ACEOF
 1824 ac_clean_files_save=$ac_clean_files
 1825 ac_clean_files="$ac_clean_files a.out a.exe"
 1826 # Try to create an executable without -o first, disregard a.out.
 1827 # It will help us diagnose broken compilers, and finding out an intuition
 1828 # of exeext.
 1829 echo "$as_me:1829: checking for C compiler default output" >&5
 1830 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 1831 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 1832 if { (eval echo "$as_me:1832: \"$ac_link_default\"") >&5
 1833   (eval $ac_link_default) 2>&5
 1834   ac_status=$?
 1835   echo "$as_me:1835: \$? = $ac_status" >&5
 1836   (exit $ac_status); }; then
 1837   # Find the output, starting from the most likely.  This scheme is
 1838 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
 1839 # resort.
 1840 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
 1841                 ls a.out conftest 2>/dev/null;
 1842                 ls a.* conftest.* 2>/dev/null`; do
 1843   case $ac_file in
 1844     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
 1845     a.out ) # We found the default executable, but exeext='' is most
 1846             # certainly right.
 1847             break;;
 1848     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 1849           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
 1850           export ac_cv_exeext
 1851           break;;
 1852     * ) break;;
 1853   esac
 1854 done
 1855 else
 1856   echo "$as_me: failed program was:" >&5
 1857 cat conftest.$ac_ext >&5
 1858 { { echo "$as_me:1858: error: C compiler cannot create executables" >&5
 1859 echo "$as_me: error: C compiler cannot create executables" >&2;}
 1860    { (exit 77); exit 77; }; }
 1861 fi
 1862 
 1863 ac_exeext=$ac_cv_exeext
 1864 echo "$as_me:1864: result: $ac_file" >&5
 1865 echo "${ECHO_T}$ac_file" >&6
 1866 
 1867 # Check the compiler produces executables we can run.  If not, either
 1868 # the compiler is broken, or we cross compile.
 1869 echo "$as_me:1869: checking whether the C compiler works" >&5
 1870 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 1871 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 1872 # If not cross compiling, check that we can run a simple program.
 1873 if test "$cross_compiling" != yes; then
 1874   if { ac_try='./$ac_file'
 1875   { (eval echo "$as_me:1875: \"$ac_try\"") >&5
 1876   (eval $ac_try) 2>&5
 1877   ac_status=$?
 1878   echo "$as_me:1878: \$? = $ac_status" >&5
 1879   (exit $ac_status); }; }; then
 1880     cross_compiling=no
 1881   else
 1882     if test "$cross_compiling" = maybe; then
 1883     cross_compiling=yes
 1884     else
 1885     { { echo "$as_me:1885: error: cannot run C compiled programs.
 1886 If you meant to cross compile, use \`--host'." >&5
 1887 echo "$as_me: error: cannot run C compiled programs.
 1888 If you meant to cross compile, use \`--host'." >&2;}
 1889    { (exit 1); exit 1; }; }
 1890     fi
 1891   fi
 1892 fi
 1893 echo "$as_me:1893: result: yes" >&5
 1894 echo "${ECHO_T}yes" >&6
 1895 
 1896 rm -f a.out a.exe conftest$ac_cv_exeext
 1897 ac_clean_files=$ac_clean_files_save
 1898 # Check the compiler produces executables we can run.  If not, either
 1899 # the compiler is broken, or we cross compile.
 1900 echo "$as_me:1900: checking whether we are cross compiling" >&5
 1901 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 1902 echo "$as_me:1902: result: $cross_compiling" >&5
 1903 echo "${ECHO_T}$cross_compiling" >&6
 1904 
 1905 echo "$as_me:1905: checking for executable suffix" >&5
 1906 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
 1907 if { (eval echo "$as_me:1907: \"$ac_link\"") >&5
 1908   (eval $ac_link) 2>&5
 1909   ac_status=$?
 1910   echo "$as_me:1910: \$? = $ac_status" >&5
 1911   (exit $ac_status); }; then
 1912   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 1913 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 1914 # work properly (i.e., refer to `conftest.exe'), while it won't with
 1915 # `rm'.
 1916 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
 1917   case $ac_file in
 1918     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
 1919     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 1920           export ac_cv_exeext
 1921           break;;
 1922     * ) break;;
 1923   esac
 1924 done
 1925 else
 1926   { { echo "$as_me:1926: error: cannot compute EXEEXT: cannot compile and link" >&5
 1927 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
 1928    { (exit 1); exit 1; }; }
 1929 fi
 1930 
 1931 rm -f conftest$ac_cv_exeext
 1932 echo "$as_me:1932: result: $ac_cv_exeext" >&5
 1933 echo "${ECHO_T}$ac_cv_exeext" >&6
 1934 
 1935 rm -f conftest.$ac_ext
 1936 EXEEXT=$ac_cv_exeext
 1937 ac_exeext=$EXEEXT
 1938 echo "$as_me:1938: checking for object suffix" >&5
 1939 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
 1940 if test "${ac_cv_objext+set}" = set; then
 1941   echo $ECHO_N "(cached) $ECHO_C" >&6
 1942 else
 1943   cat >conftest.$ac_ext <<_ACEOF
 1944 #line 1944 "configure"
 1945 #include "confdefs.h"
 1946 
 1947 int
 1948 main ()
 1949 {
 1950 
 1951   ;
 1952   return 0;
 1953 }
 1954 _ACEOF
 1955 rm -f conftest.o conftest.obj
 1956 if { (eval echo "$as_me:1956: \"$ac_compile\"") >&5
 1957   (eval $ac_compile) 2>&5
 1958   ac_status=$?
 1959   echo "$as_me:1959: \$? = $ac_status" >&5
 1960   (exit $ac_status); }; then
 1961   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 1962   case $ac_file in
 1963     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
 1964     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 1965        break;;
 1966   esac
 1967 done
 1968 else
 1969   echo "$as_me: failed program was:" >&5
 1970 cat conftest.$ac_ext >&5
 1971 { { echo "$as_me:1971: error: cannot compute OBJEXT: cannot compile" >&5
 1972 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
 1973    { (exit 1); exit 1; }; }
 1974 fi
 1975 
 1976 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 1977 fi
 1978 echo "$as_me:1978: result: $ac_cv_objext" >&5
 1979 echo "${ECHO_T}$ac_cv_objext" >&6
 1980 OBJEXT=$ac_cv_objext
 1981 ac_objext=$OBJEXT
 1982 echo "$as_me:1982: checking whether we are using the GNU C compiler" >&5
 1983 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 1984 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 1985   echo $ECHO_N "(cached) $ECHO_C" >&6
 1986 else
 1987   cat >conftest.$ac_ext <<_ACEOF
 1988 #line 1988 "configure"
 1989 #include "confdefs.h"
 1990 
 1991 int
 1992 main ()
 1993 {
 1994 #ifndef __GNUC__
 1995        choke me
 1996 #endif
 1997 
 1998   ;
 1999   return 0;
 2000 }
 2001 _ACEOF
 2002 rm -f conftest.$ac_objext
 2003 if { (eval echo "$as_me:2003: \"$ac_compile\"") >&5
 2004   (eval $ac_compile) 2>&5
 2005   ac_status=$?
 2006   echo "$as_me:2006: \$? = $ac_status" >&5
 2007   (exit $ac_status); } &&
 2008          { ac_try='test -s conftest.$ac_objext'
 2009   { (eval echo "$as_me:2009: \"$ac_try\"") >&5
 2010   (eval $ac_try) 2>&5
 2011   ac_status=$?
 2012   echo "$as_me:2012: \$? = $ac_status" >&5
 2013   (exit $ac_status); }; }; then
 2014   ac_compiler_gnu=yes
 2015 else
 2016   echo "$as_me: failed program was:" >&5
 2017 cat conftest.$ac_ext >&5
 2018 ac_compiler_gnu=no
 2019 fi
 2020 rm -f conftest.$ac_objext conftest.$ac_ext
 2021 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2022 
 2023 fi
 2024 echo "$as_me:2024: result: $ac_cv_c_compiler_gnu" >&5
 2025 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 2026 GCC=`test $ac_compiler_gnu = yes && echo yes`
 2027 ac_test_CFLAGS=${CFLAGS+set}
 2028 ac_save_CFLAGS=$CFLAGS
 2029 CFLAGS="-g"
 2030 echo "$as_me:2030: checking whether $CC accepts -g" >&5
 2031 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 2032 if test "${ac_cv_prog_cc_g+set}" = set; then
 2033   echo $ECHO_N "(cached) $ECHO_C" >&6
 2034 else
 2035   cat >conftest.$ac_ext <<_ACEOF
 2036 #line 2036 "configure"
 2037 #include "confdefs.h"
 2038 
 2039 int
 2040 main ()
 2041 {
 2042 
 2043   ;
 2044   return 0;
 2045 }
 2046 _ACEOF
 2047 rm -f conftest.$ac_objext
 2048 if { (eval echo "$as_me:2048: \"$ac_compile\"") >&5
 2049   (eval $ac_compile) 2>&5
 2050   ac_status=$?
 2051   echo "$as_me:2051: \$? = $ac_status" >&5
 2052   (exit $ac_status); } &&
 2053          { ac_try='test -s conftest.$ac_objext'
 2054   { (eval echo "$as_me:2054: \"$ac_try\"") >&5
 2055   (eval $ac_try) 2>&5
 2056   ac_status=$?
 2057   echo "$as_me:2057: \$? = $ac_status" >&5
 2058   (exit $ac_status); }; }; then
 2059   ac_cv_prog_cc_g=yes
 2060 else
 2061   echo "$as_me: failed program was:" >&5
 2062 cat conftest.$ac_ext >&5
 2063 ac_cv_prog_cc_g=no
 2064 fi
 2065 rm -f conftest.$ac_objext conftest.$ac_ext
 2066 fi
 2067 echo "$as_me:2067: result: $ac_cv_prog_cc_g" >&5
 2068 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 2069 if test "$ac_test_CFLAGS" = set; then
 2070   CFLAGS=$ac_save_CFLAGS
 2071 elif test $ac_cv_prog_cc_g = yes; then
 2072   if test "$GCC" = yes; then
 2073     CFLAGS="-g -O2"
 2074   else
 2075     CFLAGS="-g"
 2076   fi
 2077 else
 2078   if test "$GCC" = yes; then
 2079     CFLAGS="-O2"
 2080   else
 2081     CFLAGS=
 2082   fi
 2083 fi
 2084 # Some people use a C++ compiler to compile C.  Since we use `exit',
 2085 # in C++ we need to declare it.  In case someone uses the same compiler
 2086 # for both compiling C and C++ we need to have the C++ compiler decide
 2087 # the declaration of exit, since it's the most demanding environment.
 2088 cat >conftest.$ac_ext <<_ACEOF
 2089 #ifndef __cplusplus
 2090   choke me
 2091 #endif
 2092 _ACEOF
 2093 rm -f conftest.$ac_objext
 2094 if { (eval echo "$as_me:2094: \"$ac_compile\"") >&5
 2095   (eval $ac_compile) 2>&5
 2096   ac_status=$?
 2097   echo "$as_me:2097: \$? = $ac_status" >&5
 2098   (exit $ac_status); } &&
 2099          { ac_try='test -s conftest.$ac_objext'
 2100   { (eval echo "$as_me:2100: \"$ac_try\"") >&5
 2101   (eval $ac_try) 2>&5
 2102   ac_status=$?
 2103   echo "$as_me:2103: \$? = $ac_status" >&5
 2104   (exit $ac_status); }; }; then
 2105   for ac_declaration in \
 2106    ''\
 2107    '#include <stdlib.h>' \
 2108    'extern "C" void std::exit (int) throw (); using std::exit;' \
 2109    'extern "C" void std::exit (int); using std::exit;' \
 2110    'extern "C" void exit (int) throw ();' \
 2111    'extern "C" void exit (int);' \
 2112    'void exit (int);'
 2113 do
 2114   cat >conftest.$ac_ext <<_ACEOF
 2115 #line 2115 "configure"
 2116 #include "confdefs.h"
 2117 #include <stdlib.h>
 2118 $ac_declaration
 2119 int
 2120 main ()
 2121 {
 2122 exit (42);
 2123   ;
 2124   return 0;
 2125 }
 2126 _ACEOF
 2127 rm -f conftest.$ac_objext
 2128 if { (eval echo "$as_me:2128: \"$ac_compile\"") >&5
 2129   (eval $ac_compile) 2>&5
 2130   ac_status=$?
 2131   echo "$as_me:2131: \$? = $ac_status" >&5
 2132   (exit $ac_status); } &&
 2133          { ac_try='test -s conftest.$ac_objext'
 2134   { (eval echo "$as_me:2134: \"$ac_try\"") >&5
 2135   (eval $ac_try) 2>&5
 2136   ac_status=$?
 2137   echo "$as_me:2137: \$? = $ac_status" >&5
 2138   (exit $ac_status); }; }; then
 2139   :
 2140 else
 2141   echo "$as_me: failed program was:" >&5
 2142 cat conftest.$ac_ext >&5
 2143 continue
 2144 fi
 2145 rm -f conftest.$ac_objext conftest.$ac_ext
 2146   cat >conftest.$ac_ext <<_ACEOF
 2147 #line 2147 "configure"
 2148 #include "confdefs.h"
 2149 $ac_declaration
 2150 int
 2151 main ()
 2152 {
 2153 exit (42);
 2154   ;
 2155   return 0;
 2156 }
 2157 _ACEOF
 2158 rm -f conftest.$ac_objext
 2159 if { (eval echo "$as_me:2159: \"$ac_compile\"") >&5
 2160   (eval $ac_compile) 2>&5
 2161   ac_status=$?
 2162   echo "$as_me:2162: \$? = $ac_status" >&5
 2163   (exit $ac_status); } &&
 2164          { ac_try='test -s conftest.$ac_objext'
 2165   { (eval echo "$as_me:2165: \"$ac_try\"") >&5
 2166   (eval $ac_try) 2>&5
 2167   ac_status=$?
 2168   echo "$as_me:2168: \$? = $ac_status" >&5
 2169   (exit $ac_status); }; }; then
 2170   break
 2171 else
 2172   echo "$as_me: failed program was:" >&5
 2173 cat conftest.$ac_ext >&5
 2174 fi
 2175 rm -f conftest.$ac_objext conftest.$ac_ext
 2176 done
 2177 rm -f conftest*
 2178 if test -n "$ac_declaration"; then
 2179   echo '#ifdef __cplusplus' >>confdefs.h
 2180   echo $ac_declaration      >>confdefs.h
 2181   echo '#endif'             >>confdefs.h
 2182 fi
 2183 
 2184 else
 2185   echo "$as_me: failed program was:" >&5
 2186 cat conftest.$ac_ext >&5
 2187 fi
 2188 rm -f conftest.$ac_objext conftest.$ac_ext
 2189 ac_ext=c
 2190 ac_cpp='$CPP $CPPFLAGS'
 2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2194 
 2195 depcc="$CC"   am_compiler_list=
 2196 
 2197 echo "$as_me:2197: checking dependency style of $depcc" >&5
 2198 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 2199 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 2200   echo $ECHO_N "(cached) $ECHO_C" >&6
 2201 else
 2202   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 2203   # We make a subdir and do the tests there.  Otherwise we can end up
 2204   # making bogus files that we don't know about and never remove.  For
 2205   # instance it was reported that on HP-UX the gcc test will end up
 2206   # making a dummy file named `D' -- because `-MD' means `put the output
 2207   # in D'.
 2208   mkdir conftest.dir
 2209   # Copy depcomp to subdir because otherwise we won't find it if we're
 2210   # using a relative directory.
 2211   cp "$am_depcomp" conftest.dir
 2212   cd conftest.dir
 2213 
 2214   am_cv_CC_dependencies_compiler_type=none
 2215   if test "$am_compiler_list" = ""; then
 2216      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 2217   fi
 2218   for depmode in $am_compiler_list; do
 2219     # We need to recreate these files for each test, as the compiler may
 2220     # overwrite some of them when testing with obscure command lines.
 2221     # This happens at least with the AIX C compiler.
 2222     echo '#include "conftest.h"' > conftest.c
 2223     echo 'int i;' > conftest.h
 2224     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 2225 
 2226     case $depmode in
 2227     nosideeffect)
 2228       # after this tag, mechanisms are not by side-effect, so they'll
 2229       # only be used when explicitly requested
 2230       if test "x$enable_dependency_tracking" = xyes; then
 2231     continue
 2232       else
 2233     break
 2234       fi
 2235       ;;
 2236     none) break ;;
 2237     esac
 2238     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 2239     # mode.  It turns out that the SunPro C++ compiler does not properly
 2240     # handle `-M -o', and we need to detect this.
 2241     if depmode=$depmode \
 2242        source=conftest.c object=conftest.o \
 2243        depfile=conftest.Po tmpdepfile=conftest.TPo \
 2244        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
 2245        grep conftest.h conftest.Po > /dev/null 2>&1 &&
 2246        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 2247       am_cv_CC_dependencies_compiler_type=$depmode
 2248       break
 2249     fi
 2250   done
 2251 
 2252   cd ..
 2253   rm -rf conftest.dir
 2254 else
 2255   am_cv_CC_dependencies_compiler_type=none
 2256 fi
 2257 
 2258 fi
 2259 echo "$as_me:2259: result: $am_cv_CC_dependencies_compiler_type" >&5
 2260 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 2261 CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
 2262 
 2263 ac_ext=c
 2264 ac_cpp='$CPP $CPPFLAGS'
 2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2268 echo "$as_me:2268: checking how to run the C preprocessor" >&5
 2269 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 2270 # On Suns, sometimes $CPP names a directory.
 2271 if test -n "$CPP" && test -d "$CPP"; then
 2272   CPP=
 2273 fi
 2274 if test -z "$CPP"; then
 2275   if test "${ac_cv_prog_CPP+set}" = set; then
 2276   echo $ECHO_N "(cached) $ECHO_C" >&6
 2277 else
 2278       # Double quotes because CPP needs to be expanded
 2279     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 2280     do
 2281       ac_preproc_ok=false
 2282 for ac_c_preproc_warn_flag in '' yes
 2283 do
 2284   # Use a header file that comes with gcc, so configuring glibc
 2285   # with a fresh cross-compiler works.
 2286   # On the NeXT, cc -E runs the code through the compiler's parser,
 2287   # not just through cpp. "Syntax error" is here to catch this case.
 2288   cat >conftest.$ac_ext <<_ACEOF
 2289 #line 2289 "configure"
 2290 #include "confdefs.h"
 2291 #include <assert.h>
 2292                      Syntax error
 2293 _ACEOF
 2294 if { (eval echo "$as_me:2294: \"$ac_cpp conftest.$ac_ext\"") >&5
 2295   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 2296   ac_status=$?
 2297   egrep -v '^ *\+' conftest.er1 >conftest.err
 2298   rm -f conftest.er1
 2299   cat conftest.err >&5
 2300   echo "$as_me:2300: \$? = $ac_status" >&5
 2301   (exit $ac_status); } >/dev/null; then
 2302   if test -s conftest.err; then
 2303     ac_cpp_err=$ac_c_preproc_warn_flag
 2304   else
 2305     ac_cpp_err=
 2306   fi
 2307 else
 2308   ac_cpp_err=yes
 2309 fi
 2310 if test -z "$ac_cpp_err"; then
 2311   :
 2312 else
 2313   echo "$as_me: failed program was:" >&5
 2314   cat conftest.$ac_ext >&5
 2315   # Broken: fails on valid input.
 2316 continue
 2317 fi
 2318 rm -f conftest.err conftest.$ac_ext
 2319 
 2320   # OK, works on sane cases.  Now check whether non-existent headers
 2321   # can be detected and how.
 2322   cat >conftest.$ac_ext <<_ACEOF
 2323 #line 2323 "configure"
 2324 #include "confdefs.h"
 2325 #include <ac_nonexistent.h>
 2326 _ACEOF
 2327 if { (eval echo "$as_me:2327: \"$ac_cpp conftest.$ac_ext\"") >&5
 2328   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 2329   ac_status=$?
 2330   egrep -v '^ *\+' conftest.er1 >conftest.err
 2331   rm -f conftest.er1
 2332   cat conftest.err >&5
 2333   echo "$as_me:2333: \$? = $ac_status" >&5
 2334   (exit $ac_status); } >/dev/null; then
 2335   if test -s conftest.err; then
 2336     ac_cpp_err=$ac_c_preproc_warn_flag
 2337   else
 2338     ac_cpp_err=
 2339   fi
 2340 else
 2341   ac_cpp_err=yes
 2342 fi
 2343 if test -z "$ac_cpp_err"; then
 2344   # Broken: success on invalid input.
 2345 continue
 2346 else
 2347   echo "$as_me: failed program was:" >&5
 2348   cat conftest.$ac_ext >&5
 2349   # Passes both tests.
 2350 ac_preproc_ok=:
 2351 break
 2352 fi
 2353 rm -f conftest.err conftest.$ac_ext
 2354 
 2355 done
 2356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 2357 rm -f conftest.err conftest.$ac_ext
 2358 if $ac_preproc_ok; then
 2359   break
 2360 fi
 2361 
 2362     done
 2363     ac_cv_prog_CPP=$CPP
 2364 
 2365 fi
 2366   CPP=$ac_cv_prog_CPP
 2367 else
 2368   ac_cv_prog_CPP=$CPP
 2369 fi
 2370 echo "$as_me:2370: result: $CPP" >&5
 2371 echo "${ECHO_T}$CPP" >&6
 2372 ac_preproc_ok=false
 2373 for ac_c_preproc_warn_flag in '' yes
 2374 do
 2375   # Use a header file that comes with gcc, so configuring glibc
 2376   # with a fresh cross-compiler works.
 2377   # On the NeXT, cc -E runs the code through the compiler's parser,
 2378   # not just through cpp. "Syntax error" is here to catch this case.
 2379   cat >conftest.$ac_ext <<_ACEOF
 2380 #line 2380 "configure"
 2381 #include "confdefs.h"
 2382 #include <assert.h>
 2383                      Syntax error
 2384 _ACEOF
 2385 if { (eval echo "$as_me:2385: \"$ac_cpp conftest.$ac_ext\"") >&5
 2386   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 2387   ac_status=$?
 2388   egrep -v '^ *\+' conftest.er1 >conftest.err
 2389   rm -f conftest.er1
 2390   cat conftest.err >&5
 2391   echo "$as_me:2391: \$? = $ac_status" >&5
 2392   (exit $ac_status); } >/dev/null; then
 2393   if test -s conftest.err; then
 2394     ac_cpp_err=$ac_c_preproc_warn_flag
 2395   else
 2396     ac_cpp_err=
 2397   fi
 2398 else
 2399   ac_cpp_err=yes
 2400 fi
 2401 if test -z "$ac_cpp_err"; then
 2402   :
 2403 else
 2404   echo "$as_me: failed program was:" >&5
 2405   cat conftest.$ac_ext >&5
 2406   # Broken: fails on valid input.
 2407 continue
 2408 fi
 2409 rm -f conftest.err conftest.$ac_ext
 2410 
 2411   # OK, works on sane cases.  Now check whether non-existent headers
 2412   # can be detected and how.
 2413   cat >conftest.$ac_ext <<_ACEOF
 2414 #line 2414 "configure"
 2415 #include "confdefs.h"
 2416 #include <ac_nonexistent.h>
 2417 _ACEOF
 2418 if { (eval echo "$as_me:2418: \"$ac_cpp conftest.$ac_ext\"") >&5
 2419   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 2420   ac_status=$?
 2421   egrep -v '^ *\+' conftest.er1 >conftest.err
 2422   rm -f conftest.er1
 2423   cat conftest.err >&5
 2424   echo "$as_me:2424: \$? = $ac_status" >&5
 2425   (exit $ac_status); } >/dev/null; then
 2426   if test -s conftest.err; then
 2427     ac_cpp_err=$ac_c_preproc_warn_flag
 2428   else
 2429     ac_cpp_err=
 2430   fi
 2431 else
 2432   ac_cpp_err=yes
 2433 fi
 2434 if test -z "$ac_cpp_err"; then
 2435   # Broken: success on invalid input.
 2436 continue
 2437 else
 2438   echo "$as_me: failed program was:" >&5
 2439   cat conftest.$ac_ext >&5
 2440   # Passes both tests.
 2441 ac_preproc_ok=:
 2442 break
 2443 fi
 2444 rm -f conftest.err conftest.$ac_ext
 2445 
 2446 done
 2447 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 2448 rm -f conftest.err conftest.$ac_ext
 2449 if $ac_preproc_ok; then
 2450   :
 2451 else
 2452   { { echo "$as_me:2452: error: C preprocessor \"$CPP\" fails sanity check" >&5
 2453 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
 2454    { (exit 1); exit 1; }; }
 2455 fi
 2456 
 2457 ac_ext=c
 2458 ac_cpp='$CPP $CPPFLAGS'
 2459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2462 
 2463 echo "$as_me:2463: checking for AIX" >&5
 2464 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
 2465 cat >conftest.$ac_ext <<_ACEOF
 2466 #line 2466 "configure"
 2467 #include "confdefs.h"
 2468 #ifdef _AIX
 2469   yes
 2470 #endif
 2471 
 2472 _ACEOF
 2473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 2474   egrep "yes" >/dev/null 2>&1; then
 2475   echo "$as_me:2475: result: yes" >&5
 2476 echo "${ECHO_T}yes" >&6
 2477 cat >>confdefs.h <<\EOF
 2478 #define _ALL_SOURCE 1
 2479 EOF
 2480 
 2481 else
 2482   echo "$as_me:2482: result: no" >&5
 2483 echo "${ECHO_T}no" >&6
 2484 fi
 2485 rm -f conftest*
 2486 
 2487 ac_aux_dir=
 2488 for ac_dir in utils $srcdir/utils; do
 2489   if test -f $ac_dir/install-sh; then
 2490     ac_aux_dir=$ac_dir
 2491     ac_install_sh="$ac_aux_dir/install-sh -c"
 2492     break
 2493   elif test -f $ac_dir/install.sh; then
 2494     ac_aux_dir=$ac_dir
 2495     ac_install_sh="$ac_aux_dir/install.sh -c"
 2496     break
 2497   elif test -f $ac_dir/shtool; then
 2498     ac_aux_dir=$ac_dir
 2499     ac_install_sh="$ac_aux_dir/shtool install -c"
 2500     break
 2501   fi
 2502 done
 2503 if test -z "$ac_aux_dir"; then
 2504   { { echo "$as_me:2504: error: cannot find install-sh or install.sh in utils $srcdir/utils" >&5
 2505 echo "$as_me: error: cannot find install-sh or install.sh in utils $srcdir/utils" >&2;}
 2506    { (exit 1); exit 1; }; }
 2507 fi
 2508 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 2509 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 2510 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 2511 
 2512 # Check whether --enable-shared or --disable-shared was given.
 2513 if test "${enable_shared+set}" = set; then
 2514   enableval="$enable_shared"
 2515   p=${PACKAGE-default}
 2516 case $enableval in
 2517 yes) enable_shared=yes ;;
 2518 no) enable_shared=no ;;
 2519 *)
 2520   enable_shared=no
 2521   # Look at the argument we got.  We use all the common list separators.
 2522   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 2523   for pkg in $enableval; do
 2524     if test "X$pkg" = "X$p"; then
 2525       enable_shared=yes
 2526     fi
 2527   done
 2528   IFS="$ac_save_ifs"
 2529   ;;
 2530 esac
 2531 else
 2532   enable_shared=yes
 2533 fi;
 2534 # Check whether --enable-static or --disable-static was given.
 2535 if test "${enable_static+set}" = set; then
 2536   enableval="$enable_static"
 2537   p=${PACKAGE-default}
 2538 case $enableval in
 2539 yes) enable_static=yes ;;
 2540 no) enable_static=no ;;
 2541 *)
 2542   enable_static=no
 2543   # Look at the argument we got.  We use all the common list separators.
 2544   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 2545   for pkg in $enableval; do
 2546     if test "X$pkg" = "X$p"; then
 2547       enable_static=yes
 2548     fi
 2549   done
 2550   IFS="$ac_save_ifs"
 2551   ;;
 2552 esac
 2553 else
 2554   enable_static=yes
 2555 fi;
 2556 # Check whether --enable-fast-install or --disable-fast-install was given.
 2557 if test "${enable_fast_install+set}" = set; then
 2558   enableval="$enable_fast_install"
 2559   p=${PACKAGE-default}
 2560 case $enableval in
 2561 yes) enable_fast_install=yes ;;
 2562 no) enable_fast_install=no ;;
 2563 *)
 2564   enable_fast_install=no
 2565   # Look at the argument we got.  We use all the common list separators.
 2566   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 2567   for pkg in $enableval; do
 2568     if test "X$pkg" = "X$p"; then
 2569       enable_fast_install=yes
 2570     fi
 2571   done
 2572   IFS="$ac_save_ifs"
 2573   ;;
 2574 esac
 2575 else
 2576   enable_fast_install=yes
 2577 fi;
 2578 # Make sure we can run config.sub.
 2579 $ac_config_sub sun4 >/dev/null 2>&1 ||
 2580   { { echo "$as_me:2580: error: cannot run $ac_config_sub" >&5
 2581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 2582    { (exit 1); exit 1; }; }
 2583 
 2584 echo "$as_me:2584: checking build system type" >&5
 2585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
 2586 if test "${ac_cv_build+set}" = set; then
 2587   echo $ECHO_N "(cached) $ECHO_C" >&6
 2588 else
 2589   ac_cv_build_alias=$build_alias
 2590 test -z "$ac_cv_build_alias" &&
 2591   ac_cv_build_alias=`$ac_config_guess`
 2592 test -z "$ac_cv_build_alias" &&
 2593   { { echo "$as_me:2593: error: cannot guess build type; you must specify one" >&5
 2594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 2595    { (exit 1); exit 1; }; }
 2596 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 2597   { { echo "$as_me:2597: error: $ac_config_sub $ac_cv_build_alias failed." >&5
 2598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
 2599    { (exit 1); exit 1; }; }
 2600 
 2601 fi
 2602 echo "$as_me:2602: result: $ac_cv_build" >&5
 2603 echo "${ECHO_T}$ac_cv_build" >&6
 2604 build=$ac_cv_build
 2605 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 2606 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 2607 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 2608 
 2609 echo "$as_me:2609: checking host system type" >&5
 2610 echo $ECHO_N "checking host system type... $ECHO_C" >&6
 2611 if test "${ac_cv_host+set}" = set; then
 2612   echo $ECHO_N "(cached) $ECHO_C" >&6
 2613 else
 2614   ac_cv_host_alias=$host_alias
 2615 test -z "$ac_cv_host_alias" &&
 2616   ac_cv_host_alias=$ac_cv_build_alias
 2617 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 2618   { { echo "$as_me:2618: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 2619 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 2620    { (exit 1); exit 1; }; }
 2621 
 2622 fi
 2623 echo "$as_me:2623: result: $ac_cv_host" >&5
 2624 echo "${ECHO_T}$ac_cv_host" >&6
 2625 host=$ac_cv_host
 2626 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 2627 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 2628 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 2629 
 2630 # Find the correct PATH separator.  Usually this is `:', but
 2631 # DJGPP uses `;' like DOS.
 2632 if test "X${PATH_SEPARATOR+set}" != Xset; then
 2633   UNAME=${UNAME-`uname 2>/dev/null`}
 2634   case X$UNAME in
 2635     *-DOS) lt_cv_sys_path_separator=';' ;;
 2636     *)     lt_cv_sys_path_separator=':' ;;
 2637   esac
 2638   PATH_SEPARATOR=$lt_cv_sys_path_separator
 2639 fi
 2640 
 2641 # Check whether --with-gnu-ld or --without-gnu-ld was given.
 2642 if test "${with_gnu_ld+set}" = set; then
 2643   withval="$with_gnu_ld"
 2644   test "$withval" = no || with_gnu_ld=yes
 2645 else
 2646   with_gnu_ld=no
 2647 fi;
 2648 ac_prog=ld
 2649 if test "$GCC" = yes; then
 2650   # Check if gcc -print-prog-name=ld gives a path.
 2651   echo "$as_me:2651: checking for ld used by GCC" >&5
 2652 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
 2653   case $host in
 2654   *-*-mingw*)
 2655     # gcc leaves a trailing carriage return which upsets mingw
 2656     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 2657   *)
 2658     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 2659   esac
 2660   case $ac_prog in
 2661     # Accept absolute paths.
 2662     [\\/]* | [A-Za-z]:[\\/]*)
 2663       re_direlt='/[^/][^/]*/\.\./'
 2664       # Canonicalize the path of ld
 2665       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 2666       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 2667     ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 2668       done
 2669       test -z "$LD" && LD="$ac_prog"
 2670       ;;
 2671   "")
 2672     # If it fails, then pretend we aren't using GCC.
 2673     ac_prog=ld
 2674     ;;
 2675   *)
 2676     # If it is relative, then search for the first ld in PATH.
 2677     with_gnu_ld=unknown
 2678     ;;
 2679   esac
 2680 elif test "$with_gnu_ld" = yes; then
 2681   echo "$as_me:2681: checking for GNU ld" >&5
 2682 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 2683 else
 2684   echo "$as_me:2684: checking for non-GNU ld" >&5
 2685 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 2686 fi
 2687 if test "${lt_cv_path_LD+set}" = set; then
 2688   echo $ECHO_N "(cached) $ECHO_C" >&6
 2689 else
 2690   if test -z "$LD"; then
 2691   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 2692   for ac_dir in $PATH; do
 2693     test -z "$ac_dir" && ac_dir=.
 2694     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 2695       lt_cv_path_LD="$ac_dir/$ac_prog"
 2696       # Check to see if the program is GNU ld.  I'd rather use --version,
 2697       # but apparently some GNU ld's only accept -v.
 2698       # Break only if it was the GNU/non-GNU ld that we prefer.
 2699       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
 2700     test "$with_gnu_ld" != no && break
 2701       else
 2702     test "$with_gnu_ld" != yes && break
 2703       fi
 2704     fi
 2705   done
 2706   IFS="$ac_save_ifs"
 2707 else
 2708   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 2709 fi
 2710 fi
 2711 
 2712 LD="$lt_cv_path_LD"
 2713 if test -n "$LD"; then
 2714   echo "$as_me:2714: result: $LD" >&5
 2715 echo "${ECHO_T}$LD" >&6
 2716 else
 2717   echo "$as_me:2717: result: no" >&5
 2718 echo "${ECHO_T}no" >&6
 2719 fi
 2720 test -z "$LD" && { { echo "$as_me:2720: error: no acceptable ld found in \$PATH" >&5
 2721 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 2722    { (exit 1); exit 1; }; }
 2723 echo "$as_me:2723: checking if the linker ($LD) is GNU ld" >&5
 2724 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 2725 if test "${lt_cv_prog_gnu_ld+set}" = set; then
 2726   echo $ECHO_N "(cached) $ECHO_C" >&6
 2727 else
 2728   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 2729 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
 2730   lt_cv_prog_gnu_ld=yes
 2731 else
 2732   lt_cv_prog_gnu_ld=no
 2733 fi
 2734 fi
 2735 echo "$as_me:2735: result: $lt_cv_prog_gnu_ld" >&5
 2736 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 2737 with_gnu_ld=$lt_cv_prog_gnu_ld
 2738 
 2739 echo "$as_me:2739: checking for $LD option to reload object files" >&5
 2740 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 2741 if test "${lt_cv_ld_reload_flag+set}" = set; then
 2742   echo $ECHO_N "(cached) $ECHO_C" >&6
 2743 else
 2744   lt_cv_ld_reload_flag='-r'
 2745 fi
 2746 echo "$as_me:2746: result: $lt_cv_ld_reload_flag" >&5
 2747 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 2748 reload_flag=$lt_cv_ld_reload_flag
 2749 test -n "$reload_flag" && reload_flag=" $reload_flag"
 2750 
 2751 echo "$as_me:2751: checking for BSD-compatible nm" >&5
 2752 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 2753 if test "${lt_cv_path_NM+set}" = set; then
 2754   echo $ECHO_N "(cached) $ECHO_C" >&6
 2755 else
 2756   if test -n "$NM"; then
 2757   # Let the user override the test.
 2758   lt_cv_path_NM="$NM"
 2759 else
 2760   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 2761   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
 2762     test -z "$ac_dir" && ac_dir=.
 2763     tmp_nm=$ac_dir/${ac_tool_prefix}nm
 2764     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
 2765       # Check to see if the nm accepts a BSD-compat flag.
 2766       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 2767       #   nm: unknown option "B" ignored
 2768       # Tru64's nm complains that /dev/null is an invalid object file
 2769       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
 2770     lt_cv_path_NM="$tmp_nm -B"
 2771     break
 2772       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
 2773     lt_cv_path_NM="$tmp_nm -p"
 2774     break
 2775       else
 2776     lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 2777     continue # so that we can try to find one that supports BSD flags
 2778       fi
 2779     fi
 2780   done
 2781   IFS="$ac_save_ifs"
 2782   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 2783 fi
 2784 fi
 2785 
 2786 NM="$lt_cv_path_NM"
 2787 echo "$as_me:2787: result: $NM" >&5
 2788 echo "${ECHO_T}$NM" >&6
 2789 
 2790 echo "$as_me:2790: checking whether ln -s works" >&5
 2791 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 2792 LN_S=$as_ln_s
 2793 if test "$LN_S" = "ln -s"; then
 2794   echo "$as_me:2794: result: yes" >&5
 2795 echo "${ECHO_T}yes" >&6
 2796 else
 2797   echo "$as_me:2797: result: no, using $LN_S" >&5
 2798 echo "${ECHO_T}no, using $LN_S" >&6
 2799 fi
 2800 
 2801 echo "$as_me:2801: checking how to recognise dependant libraries" >&5
 2802 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
 2803 if test "${lt_cv_deplibs_check_method+set}" = set; then
 2804   echo $ECHO_N "(cached) $ECHO_C" >&6
 2805 else
 2806   lt_cv_file_magic_cmd='$MAGIC_CMD'
 2807 lt_cv_file_magic_test_file=
 2808 lt_cv_deplibs_check_method='unknown'
 2809 # Need to set the preceding variable on all platforms that support
 2810 # interlibrary dependencies.
 2811 # 'none' -- dependencies not supported.
 2812 # `unknown' -- same as none, but documents that we really don't know.
 2813 # 'pass_all' -- all dependencies passed with no checks.
 2814 # 'test_compile' -- check by making test program.
 2815 # 'file_magic [[regex]]' -- check by looking for files in library path
 2816 # which responds to the $file_magic_cmd with a given egrep regex.
 2817 # If you have `file' or equivalent on your system and you're not sure
 2818 # whether `pass_all' will *always* work, you probably want this one.
 2819 
 2820 case $host_os in
 2821 aix4* | aix5*)
 2822   lt_cv_deplibs_check_method=pass_all
 2823   ;;
 2824 
 2825 beos*)
 2826   lt_cv_deplibs_check_method=pass_all
 2827   ;;
 2828 
 2829 bsdi4*)
 2830   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 2831   lt_cv_file_magic_cmd='/usr/bin/file -L'
 2832   lt_cv_file_magic_test_file=/shlib/libc.so
 2833   ;;
 2834 
 2835 cygwin* | mingw* | pw32*)
 2836   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 2837   lt_cv_file_magic_cmd='$OBJDUMP -f'
 2838   ;;
 2839 
 2840 darwin* | rhapsody*)
 2841   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
 2842   lt_cv_file_magic_cmd='/usr/bin/file -L'
 2843   case "$host_os" in
 2844   rhapsody* | darwin1.[012])
 2845     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
 2846     ;;
 2847   *) # Darwin 1.3 on
 2848     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
 2849     ;;
 2850   esac
 2851   ;;
 2852 
 2853 freebsd*)
 2854   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 2855     case $host_cpu in
 2856     i*86 )
 2857       # Not sure whether the presence of OpenBSD here was a mistake.
 2858       # Let's accept both of them until this is cleared up.
 2859       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
 2860       lt_cv_file_magic_cmd=/usr/bin/file
 2861       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 2862       ;;
 2863     esac
 2864   else
 2865     lt_cv_deplibs_check_method=pass_all
 2866   fi
 2867   ;;
 2868 
 2869 gnu*)
 2870   lt_cv_deplibs_check_method=pass_all
 2871   ;;
 2872 
 2873 hpux10.20*|hpux11*)
 2874   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 2875   lt_cv_file_magic_cmd=/usr/bin/file
 2876   lt_cv_file_magic_test_file=/usr/lib/libc.sl
 2877   ;;
 2878 
 2879 irix5* | irix6*)
 2880   case $host_os in
 2881   irix5*)
 2882     # this will be overridden with pass_all, but let us keep it just in case
 2883     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
 2884     ;;
 2885   *)
 2886     case $LD in
 2887     *-32|*"-32 ") libmagic=32-bit;;
 2888     *-n32|*"-n32 ") libmagic=N32;;
 2889     *-64|*"-64 ") libmagic=64-bit;;
 2890     *) libmagic=never-match;;
 2891     esac
 2892     # this will be overridden with pass_all, but let us keep it just in case
 2893     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
 2894     ;;
 2895   esac
 2896   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
 2897   lt_cv_deplibs_check_method=pass_all
 2898   ;;
 2899 
 2900 # This must be Linux ELF.
 2901 linux-gnu*)
 2902   case $host_cpu in
 2903   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
 2904     lt_cv_deplibs_check_method=pass_all ;;
 2905   *)
 2906     # glibc up to 2.1.1 does not perform some relocations on ARM
 2907     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
 2908   esac
 2909   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
 2910   ;;
 2911 
 2912 netbsd*)
 2913   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 2914     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
 2915   else
 2916     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
 2917   fi
 2918   ;;
 2919 
 2920 newos6*)
 2921   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 2922   lt_cv_file_magic_cmd=/usr/bin/file
 2923   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 2924   ;;
 2925 
 2926 openbsd*)
 2927   lt_cv_file_magic_cmd=/usr/bin/file
 2928   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 2929   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 2930     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
 2931   else
 2932     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
 2933   fi
 2934   ;;
 2935 
 2936 osf3* | osf4* | osf5*)
 2937   # this will be overridden with pass_all, but let us keep it just in case
 2938   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
 2939   lt_cv_file_magic_test_file=/shlib/libc.so
 2940   lt_cv_deplibs_check_method=pass_all
 2941   ;;
 2942 
 2943 sco3.2v5*)
 2944   lt_cv_deplibs_check_method=pass_all
 2945   ;;
 2946 
 2947 solaris*)
 2948   lt_cv_deplibs_check_method=pass_all
 2949   lt_cv_file_magic_test_file=/lib/libc.so
 2950   ;;
 2951 
 2952 sysv5uw[78]* | sysv4*uw2*)
 2953   lt_cv_deplibs_check_method=pass_all
 2954   ;;
 2955 
 2956 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 2957   case $host_vendor in
 2958   motorola)
 2959     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]'
 2960     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 2961     ;;
 2962   ncr)
 2963     lt_cv_deplibs_check_method=pass_all
 2964     ;;
 2965   sequent)
 2966     lt_cv_file_magic_cmd='/bin/file'
 2967     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 2968     ;;
 2969   sni)
 2970     lt_cv_file_magic_cmd='/bin/file'
 2971     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 2972     lt_cv_file_magic_test_file=/lib/libc.so
 2973     ;;
 2974   esac
 2975   ;;
 2976 esac
 2977 
 2978 fi
 2979 echo "$as_me:2979: result: $lt_cv_deplibs_check_method" >&5
 2980 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 2981 file_magic_cmd=$lt_cv_file_magic_cmd
 2982 deplibs_check_method=$lt_cv_deplibs_check_method
 2983 
 2984 # Check for command to grab the raw symbol name followed by C symbol from nm.
 2985 echo "$as_me:2985: checking command to parse $NM output" >&5
 2986 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
 2987 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 2988   echo $ECHO_N "(cached) $ECHO_C" >&6
 2989 else
 2990 
 2991 # These are sane defaults that work on at least a few old systems.
 2992 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 2993 
 2994 # Character class describing NM global symbol codes.
 2995 symcode='[BCDEGRST]'
 2996 
 2997 # Regexp to match symbols that can be accessed directly from C.
 2998 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 2999 
 3000 # Transform the above into a raw symbol and a C symbol.
 3001 symxfrm='\1 \2\3 \3'
 3002 
 3003 # Transform an extracted symbol line into a proper C declaration
 3004 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
 3005 
 3006 # Transform an extracted symbol line into symbol name and symbol address
 3007 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'"
 3008 
 3009 # Define system-specific variables.
 3010 case $host_os in
 3011 aix*)
 3012   symcode='[BCDT]'
 3013   ;;
 3014 cygwin* | mingw* | pw32*)
 3015   symcode='[ABCDGISTW]'
 3016   ;;
 3017 hpux*) # Its linker distinguishes data from code symbols
 3018   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 3019   lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
 3020   ;;
 3021 irix*)
 3022   symcode='[BCDEGRST]'
 3023   ;;
 3024 solaris* | sysv5*)
 3025   symcode='[BDT]'
 3026   ;;
 3027 sysv4)
 3028   symcode='[DFNSTU]'
 3029   ;;
 3030 esac
 3031 
 3032 # Handle CRLF in mingw tool chain
 3033 opt_cr=
 3034 case $host_os in
 3035 mingw*)
 3036   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 3037   ;;
 3038 esac
 3039 
 3040 # If we're using GNU nm, then use its standard symbol codes.
 3041 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
 3042   symcode='[ABCDGISTW]'
 3043 fi
 3044 
 3045 # Try without a prefix undercore, then with it.
 3046 for ac_symprfx in "" "_"; do
 3047 
 3048   # Write the raw and C identifiers.
 3049 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[     ][  ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 3050 
 3051   # Check to see that the pipe works correctly.
 3052   pipe_works=no
 3053   rm -f conftest*
 3054   cat > conftest.$ac_ext <<EOF
 3055 #ifdef __cplusplus
 3056 extern "C" {
 3057 #endif
 3058 char nm_test_var;
 3059 void nm_test_func(){}
 3060 #ifdef __cplusplus
 3061 }
 3062 #endif
 3063 int main(){nm_test_var='a';nm_test_func();return(0);}
 3064 EOF
 3065 
 3066   if { (eval echo "$as_me:3066: \"$ac_compile\"") >&5
 3067   (eval $ac_compile) 2>&5
 3068   ac_status=$?
 3069   echo "$as_me:3069: \$? = $ac_status" >&5
 3070   (exit $ac_status); }; then
 3071     # Now try to grab the symbols.
 3072     nlist=conftest.nm
 3073     if { (eval echo "$as_me:3073: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 3074   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 3075   ac_status=$?
 3076   echo "$as_me:3076: \$? = $ac_status" >&5
 3077   (exit $ac_status); } && test -s "$nlist"; then
 3078       # Try sorting and uniquifying the output.
 3079       if sort "$nlist" | uniq > "$nlist"T; then
 3080     mv -f "$nlist"T "$nlist"
 3081       else
 3082     rm -f "$nlist"T
 3083       fi
 3084 
 3085       # Make sure that we snagged all the symbols we need.
 3086       if egrep ' nm_test_var$' "$nlist" >/dev/null; then
 3087     if egrep ' nm_test_func$' "$nlist" >/dev/null; then
 3088       cat <<EOF > conftest.$ac_ext
 3089 #ifdef __cplusplus
 3090 extern "C" {
 3091 #endif
 3092 
 3093 EOF
 3094       # Now generate the symbol file.
 3095       eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
 3096 
 3097       cat <<EOF >> conftest.$ac_ext
 3098 #if defined (__STDC__) && __STDC__
 3099 # define lt_ptr void *
 3100 #else
 3101 # define lt_ptr char *
 3102 # define const
 3103 #endif
 3104 
 3105 /* The mapping between symbol names and symbols. */
 3106 const struct {
 3107   const char *name;
 3108   lt_ptr address;
 3109 }
 3110 lt_preloaded_symbols[] =
 3111 {
 3112 EOF
 3113       sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
 3114       cat <<\EOF >> conftest.$ac_ext
 3115   {0, (lt_ptr) 0}
 3116 };
 3117 
 3118 #ifdef __cplusplus
 3119 }
 3120 #endif
 3121 EOF
 3122       # Now try linking the two files.
 3123       mv conftest.$ac_objext conftstm.$ac_objext
 3124       save_LIBS="$LIBS"
 3125       save_CFLAGS="$CFLAGS"
 3126       LIBS="conftstm.$ac_objext"
 3127       CFLAGS="$CFLAGS$no_builtin_flag"
 3128       if { (eval echo "$as_me:3128: \"$ac_link\"") >&5
 3129   (eval $ac_link) 2>&5
 3130   ac_status=$?
 3131   echo "$as_me:3131: \$? = $ac_status" >&5
 3132   (exit $ac_status); } && test -s conftest; then
 3133         pipe_works=yes
 3134       fi
 3135       LIBS="$save_LIBS"
 3136       CFLAGS="$save_CFLAGS"
 3137     else
 3138       echo "cannot find nm_test_func in $nlist" >&5
 3139     fi
 3140       else
 3141     echo "cannot find nm_test_var in $nlist" >&5
 3142       fi
 3143     else
 3144       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 3145     fi
 3146   else
 3147     echo "$progname: failed program was:" >&5
 3148     cat conftest.$ac_ext >&5
 3149   fi
 3150   rm -f conftest* conftst*
 3151 
 3152   # Do not use the global_symbol_pipe unless it works.
 3153   if test "$pipe_works" = yes; then
 3154     break
 3155   else
 3156     lt_cv_sys_global_symbol_pipe=
 3157   fi
 3158 done
 3159 
 3160 fi
 3161 
 3162 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
 3163 if test -z "$lt_cv_sys_global_symbol_pipe"; then
 3164   global_symbol_to_cdecl=
 3165   global_symbol_to_c_name_address=
 3166 else
 3167   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
 3168   global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
 3169 fi
 3170 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
 3171 then
 3172   echo "$as_me:3172: result: failed" >&5
 3173 echo "${ECHO_T}failed" >&6
 3174 else
 3175   echo "$as_me:3175: result: ok" >&5
 3176 echo "${ECHO_T}ok" >&6
 3177 fi
 3178 
 3179 for ac_header in dlfcn.h
 3180 do
 3181 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 3182 echo "$as_me:3182: checking for $ac_header" >&5
 3183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 3184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 3185   echo $ECHO_N "(cached) $ECHO_C" >&6
 3186 else
 3187   cat >conftest.$ac_ext <<_ACEOF
 3188 #line 3188 "configure"
 3189 #include "confdefs.h"
 3190 #include <$ac_header>
 3191 _ACEOF
 3192 if { (eval echo "$as_me:3192: \"$ac_cpp conftest.$ac_ext\"") >&5
 3193   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3194   ac_status=$?
 3195   egrep -v '^ *\+' conftest.er1 >conftest.err
 3196   rm -f conftest.er1
 3197   cat conftest.err >&5
 3198   echo "$as_me:3198: \$? = $ac_status" >&5
 3199   (exit $ac_status); } >/dev/null; then
 3200   if test -s conftest.err; then
 3201     ac_cpp_err=$ac_c_preproc_warn_flag
 3202   else
 3203     ac_cpp_err=
 3204   fi
 3205 else
 3206   ac_cpp_err=yes
 3207 fi
 3208 if test -z "$ac_cpp_err"; then
 3209   eval "$as_ac_Header=yes"
 3210 else
 3211   echo "$as_me: failed program was:" >&5
 3212   cat conftest.$ac_ext >&5
 3213   eval "$as_ac_Header=no"
 3214 fi
 3215 rm -f conftest.err conftest.$ac_ext
 3216 fi
 3217 echo "$as_me:3217: result: `eval echo '${'$as_ac_Header'}'`" >&5
 3218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 3219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 3220   cat >>confdefs.h <<EOF
 3221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 3222 EOF
 3223 
 3224 fi
 3225 done
 3226 
 3227 # Only perform the check for file, if the check method requires it
 3228 case $deplibs_check_method in
 3229 file_magic*)
 3230   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 3231     echo "$as_me:3231: checking for ${ac_tool_prefix}file" >&5
 3232 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 3233 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 3234   echo $ECHO_N "(cached) $ECHO_C" >&6
 3235 else
 3236   case $MAGIC_CMD in
 3237   /*)
 3238   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 3239   ;;
 3240   ?:/*)
 3241   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
 3242   ;;
 3243   *)
 3244   ac_save_MAGIC_CMD="$MAGIC_CMD"
 3245   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 3246   ac_dummy="/usr/bin:$PATH"
 3247   for ac_dir in $ac_dummy; do
 3248     test -z "$ac_dir" && ac_dir=.
 3249     if test -f $ac_dir/${ac_tool_prefix}file; then
 3250       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 3251       if test -n "$file_magic_test_file"; then
 3252     case $deplibs_check_method in
 3253     "file_magic "*)
 3254       file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 3255       MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 3256       if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 3257         egrep "$file_magic_regex" > /dev/null; then
 3258         :
 3259       else
 3260         cat <<EOF 1>&2
 3261 
 3262 *** Warning: the command libtool uses to detect shared libraries,
 3263 *** $file_magic_cmd, produces output that libtool cannot recognize.
 3264 *** The result is that libtool may fail to recognize shared libraries
 3265 *** as such.  This will affect the creation of libtool libraries that
 3266 *** depend on shared libraries, but programs linked with such libtool
 3267 *** libraries will work regardless of this problem.  Nevertheless, you
 3268 *** may want to report the problem to your system manager and/or to
 3269 *** bug-libtool@gnu.org
 3270 
 3271 EOF
 3272       fi ;;
 3273     esac
 3274       fi
 3275       break
 3276     fi
 3277   done
 3278   IFS="$ac_save_ifs"
 3279   MAGIC_CMD="$ac_save_MAGIC_CMD"
 3280   ;;
 3281 esac
 3282 fi
 3283 
 3284 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 3285 if test -n "$MAGIC_CMD"; then
 3286   echo "$as_me:3286: result: $MAGIC_CMD" >&5
 3287 echo "${ECHO_T}$MAGIC_CMD" >&6
 3288 else
 3289   echo "$as_me:3289: result: no" >&5
 3290 echo "${ECHO_T}no" >&6
 3291 fi
 3292 
 3293 if test -z "$lt_cv_path_MAGIC_CMD"; then
 3294   if test -n "$ac_tool_prefix"; then
 3295     echo "$as_me:3295: checking for file" >&5
 3296 echo $ECHO_N "checking for file... $ECHO_C" >&6
 3297 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 3298   echo $ECHO_N "(cached) $ECHO_C" >&6
 3299 else
 3300   case $MAGIC_CMD in
 3301   /*)
 3302   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 3303   ;;
 3304   ?:/*)
 3305   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
 3306   ;;
 3307   *)
 3308   ac_save_MAGIC_CMD="$MAGIC_CMD"
 3309   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 3310   ac_dummy="/usr/bin:$PATH"
 3311   for ac_dir in $ac_dummy; do
 3312     test -z "$ac_dir" && ac_dir=.
 3313     if test -f $ac_dir/file; then
 3314       lt_cv_path_MAGIC_CMD="$ac_dir/file"
 3315       if test -n "$file_magic_test_file"; then
 3316     case $deplibs_check_method in
 3317     "file_magic "*)
 3318       file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 3319       MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 3320       if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 3321         egrep "$file_magic_regex" > /dev/null; then
 3322         :
 3323       else
 3324         cat <<EOF 1>&2
 3325 
 3326 *** Warning: the command libtool uses to detect shared libraries,
 3327 *** $file_magic_cmd, produces output that libtool cannot recognize.
 3328 *** The result is that libtool may fail to recognize shared libraries
 3329 *** as such.  This will affect the creation of libtool libraries that
 3330 *** depend on shared libraries, but programs linked with such libtool
 3331 *** libraries will work regardless of this problem.  Nevertheless, you
 3332 *** may want to report the problem to your system manager and/or to
 3333 *** bug-libtool@gnu.org
 3334 
 3335 EOF
 3336       fi ;;
 3337     esac
 3338       fi
 3339       break
 3340     fi
 3341   done
 3342   IFS="$ac_save_ifs"
 3343   MAGIC_CMD="$ac_save_MAGIC_CMD"
 3344   ;;
 3345 esac
 3346 fi
 3347 
 3348 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 3349 if test -n "$MAGIC_CMD"; then
 3350   echo "$as_me:3350: result: $MAGIC_CMD" >&5
 3351 echo "${ECHO_T}$MAGIC_CMD" >&6
 3352 else
 3353   echo "$as_me:3353: result: no" >&5
 3354 echo "${ECHO_T}no" >&6
 3355 fi
 3356 
 3357   else
 3358     MAGIC_CMD=:
 3359   fi
 3360 fi
 3361 
 3362   fi
 3363   ;;
 3364 esac
 3365 
 3366 if test -n "$ac_tool_prefix"; then
 3367   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 3368 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 3369 echo "$as_me:3369: checking for $ac_word" >&5
 3370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3371 if test "${ac_cv_prog_RANLIB+set}" = set; then
 3372   echo $ECHO_N "(cached) $ECHO_C" >&6
 3373 else
 3374   if test -n "$RANLIB"; then
 3375   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 3376 else
 3377   ac_save_IFS=$IFS; IFS=$ac_path_separator
 3378 ac_dummy="$PATH"
 3379 for ac_dir in $ac_dummy; do
 3380   IFS=$ac_save_IFS
 3381   test -z "$ac_dir" && ac_dir=.
 3382   $as_executable_p "$ac_dir/$ac_word" || continue
 3383 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 3384 echo "$as_me:3384: found $ac_dir/$ac_word" >&5
 3385 break
 3386 done
 3387 
 3388 fi
 3389 fi
 3390 RANLIB=$ac_cv_prog_RANLIB
 3391 if test -n "$RANLIB"; then
 3392   echo "$as_me:3392: result: $RANLIB" >&5
 3393 echo "${ECHO_T}$RANLIB" >&6
 3394 else
 3395   echo "$as_me:3395: result: no" >&5
 3396 echo "${ECHO_T}no" >&6
 3397 fi
 3398 
 3399 fi
 3400 if test -z "$ac_cv_prog_RANLIB"; then
 3401   ac_ct_RANLIB=$RANLIB
 3402   # Extract the first word of "ranlib", so it can be a program name with args.
 3403 set dummy ranlib; ac_word=$2
 3404 echo "$as_me:3404: checking for $ac_word" >&5
 3405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3406 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 3407   echo $ECHO_N "(cached) $ECHO_C" >&6
 3408 else
 3409   if test -n "$ac_ct_RANLIB"; then
 3410   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 3411 else
 3412   ac_save_IFS=$IFS; IFS=$ac_path_separator
 3413 ac_dummy="$PATH"
 3414 for ac_dir in $ac_dummy; do
 3415   IFS=$ac_save_IFS
 3416   test -z "$ac_dir" && ac_dir=.
 3417   $as_executable_p "$ac_dir/$ac_word" || continue
 3418 ac_cv_prog_ac_ct_RANLIB="ranlib"
 3419 echo "$as_me:3419: found $ac_dir/$ac_word" >&5
 3420 break
 3421 done
 3422 
 3423   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 3424 fi
 3425 fi
 3426 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 3427 if test -n "$ac_ct_RANLIB"; then
 3428   echo "$as_me:3428: result: $ac_ct_RANLIB" >&5
 3429 echo "${ECHO_T}$ac_ct_RANLIB" >&6
 3430 else
 3431   echo "$as_me:3431: result: no" >&5
 3432 echo "${ECHO_T}no" >&6
 3433 fi
 3434 
 3435   RANLIB=$ac_ct_RANLIB
 3436 else
 3437   RANLIB="$ac_cv_prog_RANLIB"
 3438 fi
 3439 
 3440 if test -n "$ac_tool_prefix"; then
 3441   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 3442 set dummy ${ac_tool_prefix}strip; ac_word=$2
 3443 echo "$as_me:3443: checking for $ac_word" >&5
 3444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3445 if test "${ac_cv_prog_STRIP+set}" = set; then
 3446   echo $ECHO_N "(cached) $ECHO_C" >&6
 3447 else
 3448   if test -n "$STRIP"; then
 3449   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 3450 else
 3451   ac_save_IFS=$IFS; IFS=$ac_path_separator
 3452 ac_dummy="$PATH"
 3453 for ac_dir in $ac_dummy; do
 3454   IFS=$ac_save_IFS
 3455   test -z "$ac_dir" && ac_dir=.
 3456   $as_executable_p "$ac_dir/$ac_word" || continue
 3457 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 3458 echo "$as_me:3458: found $ac_dir/$ac_word" >&5
 3459 break
 3460 done
 3461 
 3462 fi
 3463 fi
 3464 STRIP=$ac_cv_prog_STRIP
 3465 if test -n "$STRIP"; then
 3466   echo "$as_me:3466: result: $STRIP" >&5
 3467 echo "${ECHO_T}$STRIP" >&6
 3468 else
 3469   echo "$as_me:3469: result: no" >&5
 3470 echo "${ECHO_T}no" >&6
 3471 fi
 3472 
 3473 fi
 3474 if test -z "$ac_cv_prog_STRIP"; then
 3475   ac_ct_STRIP=$STRIP
 3476   # Extract the first word of "strip", so it can be a program name with args.
 3477 set dummy strip; ac_word=$2
 3478 echo "$as_me:3478: checking for $ac_word" >&5
 3479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3480 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 3481   echo $ECHO_N "(cached) $ECHO_C" >&6
 3482 else
 3483   if test -n "$ac_ct_STRIP"; then
 3484   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 3485 else
 3486   ac_save_IFS=$IFS; IFS=$ac_path_separator
 3487 ac_dummy="$PATH"
 3488 for ac_dir in $ac_dummy; do
 3489   IFS=$ac_save_IFS
 3490   test -z "$ac_dir" && ac_dir=.
 3491   $as_executable_p "$ac_dir/$ac_word" || continue
 3492 ac_cv_prog_ac_ct_STRIP="strip"
 3493 echo "$as_me:3493: found $ac_dir/$ac_word" >&5
 3494 break
 3495 done
 3496 
 3497   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 3498 fi
 3499 fi
 3500 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 3501 if test -n "$ac_ct_STRIP"; then
 3502   echo "$as_me:3502: result: $ac_ct_STRIP" >&5
 3503 echo "${ECHO_T}$ac_ct_STRIP" >&6
 3504 else
 3505   echo "$as_me:3505: result: no" >&5
 3506 echo "${ECHO_T}no" >&6
 3507 fi
 3508 
 3509   STRIP=$ac_ct_STRIP
 3510 else
 3511   STRIP="$ac_cv_prog_STRIP"
 3512 fi
 3513 
 3514 enable_dlopen=no
 3515 enable_win32_dll=no
 3516 
 3517 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 3518 if test "${enable_libtool_lock+set}" = set; then
 3519   enableval="$enable_libtool_lock"
 3520 
 3521 fi;
 3522 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 3523 
 3524 # Some flags need to be propagated to the compiler or linker for good
 3525 # libtool support.
 3526 case $host in
 3527 *-*-irix6*)
 3528   # Find out which ABI we are using.
 3529   echo '#line 3529 "configure"' > conftest.$ac_ext
 3530   if { (eval echo "$as_me:3530: \"$ac_compile\"") >&5
 3531   (eval $ac_compile) 2>&5
 3532   ac_status=$?
 3533   echo "$as_me:3533: \$? = $ac_status" >&5
 3534   (exit $ac_status); }; then
 3535     case `/usr/bin/file conftest.$ac_objext` in
 3536     *32-bit*)
 3537       LD="${LD-ld} -32"
 3538       ;;
 3539     *N32*)
 3540       LD="${LD-ld} -n32"
 3541       ;;
 3542     *64-bit*)
 3543       LD="${LD-ld} -64"
 3544       ;;
 3545     esac
 3546   fi
 3547   rm -rf conftest*
 3548   ;;
 3549 
 3550 *-*-sco3.2v5*)
 3551   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 3552   SAVE_CFLAGS="$CFLAGS"
 3553   CFLAGS="$CFLAGS -belf"
 3554   echo "$as_me:3554: checking whether the C compiler needs -belf" >&5
 3555 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 3556 if test "${lt_cv_cc_needs_belf+set}" = set; then
 3557   echo $ECHO_N "(cached) $ECHO_C" >&6
 3558 else
 3559 
 3560      ac_ext=c
 3561 ac_cpp='$CPP $CPPFLAGS'
 3562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3565 
 3566      cat >conftest.$ac_ext <<_ACEOF
 3567 #line 3567 "configure"
 3568 #include "confdefs.h"
 3569 
 3570 int
 3571 main ()
 3572 {
 3573 
 3574   ;
 3575   return 0;
 3576 }
 3577 _ACEOF
 3578 rm -f conftest.$ac_objext conftest$ac_exeext
 3579 if { (eval echo "$as_me:3579: \"$ac_link\"") >&5
 3580   (eval $ac_link) 2>&5
 3581   ac_status=$?
 3582   echo "$as_me:3582: \$? = $ac_status" >&5
 3583   (exit $ac_status); } &&
 3584          { ac_try='test -s conftest$ac_exeext'
 3585   { (eval echo "$as_me:3585: \"$ac_try\"") >&5
 3586   (eval $ac_try) 2>&5
 3587   ac_status=$?
 3588   echo "$as_me:3588: \$? = $ac_status" >&5
 3589   (exit $ac_status); }; }; then
 3590   lt_cv_cc_needs_belf=yes
 3591 else
 3592   echo "$as_me: failed program was:" >&5
 3593 cat conftest.$ac_ext >&5
 3594 lt_cv_cc_needs_belf=no
 3595 fi
 3596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 3597      ac_ext=c
 3598 ac_cpp='$CPP $CPPFLAGS'
 3599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3602 
 3603 fi
 3604 echo "$as_me:3604: result: $lt_cv_cc_needs_belf" >&5
 3605 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 3606   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 3607     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 3608     CFLAGS="$SAVE_CFLAGS"
 3609   fi
 3610   ;;
 3611 
 3612 esac
 3613 
 3614 # Sed substitution that helps us do robust quoting.  It backslashifies
 3615 # metacharacters that are still active within double-quoted strings.
 3616 Xsed='sed -e s/^X//'
 3617 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 3618 
 3619 # Same as above, but do not quote variable references.
 3620 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 3621 
 3622 # Sed substitution to delay expansion of an escaped shell variable in a
 3623 # double_quote_subst'ed string.
 3624 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 3625 
 3626 # Constants:
 3627 rm="rm -f"
 3628 
 3629 # Global variables:
 3630 default_ofile=libtool
 3631 can_build_shared=yes
 3632 
 3633 # All known linkers require a `.a' archive for static linking (except M$VC,
 3634 # which needs '.lib').
 3635 libext=a
 3636 ltmain="$ac_aux_dir/ltmain.sh"
 3637 ofile="$default_ofile"
 3638 with_gnu_ld="$lt_cv_prog_gnu_ld"
 3639 need_locks="$enable_libtool_lock"
 3640 
 3641 old_CC="$CC"
 3642 old_CFLAGS="$CFLAGS"
 3643 
 3644 # Set sane defaults for various variables
 3645 test -z "$AR" && AR=ar
 3646 test -z "$AR_FLAGS" && AR_FLAGS=cru
 3647 test -z "$AS" && AS=as
 3648 test -z "$CC" && CC=cc
 3649 test -z "$DLLTOOL" && DLLTOOL=dlltool
 3650 test -z "$LD" && LD=ld
 3651 test -z "$LN_S" && LN_S="ln -s"
 3652 test -z "$MAGIC_CMD" && MAGIC_CMD=file
 3653 test -z "$NM" && NM=nm
 3654 test -z "$OBJDUMP" && OBJDUMP=objdump
 3655 test -z "$RANLIB" && RANLIB=:
 3656 test -z "$STRIP" && STRIP=:
 3657 test -z "$ac_objext" && ac_objext=o
 3658 
 3659 if test x"$host" != x"$build"; then
 3660   ac_tool_prefix=${host_alias}-
 3661 else
 3662   ac_tool_prefix=
 3663 fi
 3664 
 3665 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
 3666 case $host_os in
 3667 linux-gnu*) ;;
 3668 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
 3669 esac
 3670 
 3671 case $host_os in
 3672 aix3*)
 3673   # AIX sometimes has problems with the GCC collect2 program.  For some
 3674   # reason, if we set the COLLECT_NAMES environment variable, the problems
 3675   # vanish in a puff of smoke.
 3676   if test "X${COLLECT_NAMES+set}" != Xset; then
 3677     COLLECT_NAMES=
 3678     export COLLECT_NAMES
 3679   fi
 3680   ;;
 3681 esac
 3682 
 3683 # Determine commands to create old-style static archives.
 3684 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 3685 old_postinstall_cmds='chmod 644 $oldlib'
 3686 old_postuninstall_cmds=
 3687 
 3688 if test -n "$RANLIB"; then
 3689   case $host_os in
 3690   openbsd*)
 3691     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 3692     ;;
 3693   *)
 3694     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 3695     ;;
 3696   esac
 3697   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 3698 fi
 3699 
 3700 # Allow CC to be a program name with arguments.
 3701 set dummy $CC
 3702 compiler="$2"
 3703 
 3704 echo "$as_me:3704: checking for objdir" >&5
 3705 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 3706 rm -f .libs 2>/dev/null
 3707 mkdir .libs 2>/dev/null
 3708 if test -d .libs; then
 3709   objdir=.libs
 3710 else
 3711   # MS-DOS does not allow filenames that begin with a dot.
 3712   objdir=_libs
 3713 fi
 3714 rmdir .libs 2>/dev/null
 3715 echo "$as_me:3715: result: $objdir" >&5
 3716 echo "${ECHO_T}$objdir" >&6
 3717 
 3718 # Check whether --with-pic or --without-pic was given.
 3719 if test "${with_pic+set}" = set; then
 3720   withval="$with_pic"
 3721   pic_mode="$withval"
 3722 else
 3723   pic_mode=default
 3724 fi;
 3725 test -z "$pic_mode" && pic_mode=default
 3726 
 3727 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
 3728 # in isolation, and that seeing it set (from the cache) indicates that
 3729 # the associated values are set (in the cache) correctly too.
 3730 echo "$as_me:3730: checking for $compiler option to produce PIC" >&5
 3731 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 3732 if test "${lt_cv_prog_cc_pic+set}" = set; then
 3733   echo $ECHO_N "(cached) $ECHO_C" >&6
 3734 else
 3735    lt_cv_prog_cc_pic=
 3736   lt_cv_prog_cc_shlib=
 3737   lt_cv_prog_cc_wl=
 3738   lt_cv_prog_cc_static=
 3739   lt_cv_prog_cc_no_builtin=
 3740   lt_cv_prog_cc_can_build_shared=$can_build_shared
 3741 
 3742   if test "$GCC" = yes; then
 3743     lt_cv_prog_cc_wl='-Wl,'
 3744     lt_cv_prog_cc_static='-static'
 3745 
 3746     case $host_os in
 3747     aix*)
 3748       # Below there is a dirty hack to force normal static linking with -ldl
 3749       # The problem is because libdl dynamically linked with both libc and
 3750       # libC (AIX C++ library), which obviously doesn't included in libraries
 3751       # list by gcc. This cause undefined symbols with -static flags.
 3752       # This hack allows C programs to be linked with "-static -ldl", but
 3753       # not sure about C++ programs.
 3754       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
 3755       ;;
 3756     amigaos*)
 3757       # FIXME: we need at least 68020 code to build shared libraries, but
 3758       # adding the `-m68020' flag to GCC prevents building anything better,
 3759       # like `-m68040'.
 3760       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
 3761       ;;
 3762     beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
 3763       # PIC is the default for these OSes.
 3764       ;;
 3765     darwin* | rhapsody*)
 3766       # PIC is the default on this platform
 3767       # Common symbols not allowed in MH_DYLIB files
 3768       lt_cv_prog_cc_pic='-fno-common'
 3769       ;;
 3770     cygwin* | mingw* | pw32* | os2*)
 3771       # This hack is so that the source file can tell whether it is being
 3772       # built for inclusion in a dll (and should export symbols for example).
 3773       lt_cv_prog_cc_pic='-DDLL_EXPORT'
 3774       ;;
 3775     sysv4*MP*)
 3776       if test -d /usr/nec; then
 3777      lt_cv_prog_cc_pic=-Kconform_pic
 3778       fi
 3779       ;;
 3780     *)
 3781       lt_cv_prog_cc_pic='-fPIC'
 3782       ;;
 3783     esac
 3784   else
 3785     # PORTME Check for PIC flags for the system compiler.
 3786     case $host_os in
 3787     aix3* | aix4* | aix5*)
 3788       lt_cv_prog_cc_wl='-Wl,'
 3789       # All AIX code is PIC.
 3790       if test "$host_cpu" = ia64; then
 3791     # AIX 5 now supports IA64 processor
 3792     lt_cv_prog_cc_static='-Bstatic'
 3793       else
 3794     lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
 3795       fi
 3796       ;;
 3797 
 3798     hpux9* | hpux10* | hpux11*)
 3799       # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
 3800       lt_cv_prog_cc_wl='-Wl,'
 3801       lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
 3802       lt_cv_prog_cc_pic='+Z'
 3803       ;;
 3804 
 3805     irix5* | irix6*)
 3806       lt_cv_prog_cc_wl='-Wl,'
 3807       lt_cv_prog_cc_static='-non_shared'
 3808       # PIC (with -KPIC) is the default.
 3809       ;;
 3810 
 3811     cygwin* | mingw* | pw32* | os2*)
 3812       # This hack is so that the source file can tell whether it is being
 3813       # built for inclusion in a dll (and should export symbols for example).
 3814       lt_cv_prog_cc_pic='-DDLL_EXPORT'
 3815       ;;
 3816 
 3817     newsos6)
 3818       lt_cv_prog_cc_pic='-KPIC'
 3819       lt_cv_prog_cc_static='-Bstatic'
 3820       ;;
 3821 
 3822     osf3* | osf4* | osf5*)
 3823       # All OSF/1 code is PIC.
 3824       lt_cv_prog_cc_wl='-Wl,'
 3825       lt_cv_prog_cc_static='-non_shared'
 3826       ;;
 3827 
 3828     sco3.2v5*)
 3829       lt_cv_prog_cc_pic='-Kpic'
 3830       lt_cv_prog_cc_static='-dn'
 3831       lt_cv_prog_cc_shlib='-belf'
 3832       ;;
 3833 
 3834     solaris*)
 3835       lt_cv_prog_cc_pic='-KPIC'
 3836       lt_cv_prog_cc_static='-Bstatic'
 3837       lt_cv_prog_cc_wl='-Wl,'
 3838       ;;
 3839 
 3840     sunos4*)
 3841       lt_cv_prog_cc_pic='-PIC'
 3842       lt_cv_prog_cc_static='-Bstatic'
 3843       lt_cv_prog_cc_wl='-Qoption ld '
 3844       ;;
 3845 
 3846     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 3847       lt_cv_prog_cc_pic='-KPIC'
 3848       lt_cv_prog_cc_static='-Bstatic'
 3849       if test "x$host_vendor" = xsni; then
 3850     lt_cv_prog_cc_wl='-LD'
 3851       else
 3852     lt_cv_prog_cc_wl='-Wl,'
 3853       fi
 3854       ;;
 3855 
 3856     uts4*)
 3857       lt_cv_prog_cc_pic='-pic'
 3858       lt_cv_prog_cc_static='-Bstatic'
 3859       ;;
 3860 
 3861     sysv4*MP*)
 3862       if test -d /usr/nec ;then
 3863     lt_cv_prog_cc_pic='-Kconform_pic'
 3864     lt_cv_prog_cc_static='-Bstatic'
 3865       fi
 3866       ;;
 3867 
 3868     *)
 3869       lt_cv_prog_cc_can_build_shared=no
 3870       ;;
 3871     esac
 3872   fi
 3873 
 3874 fi
 3875 
 3876 if test -z "$lt_cv_prog_cc_pic"; then
 3877   echo "$as_me:3877: result: none" >&5
 3878 echo "${ECHO_T}none" >&6
 3879 else
 3880   echo "$as_me:3880: result: $lt_cv_prog_cc_pic" >&5
 3881 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
 3882 
 3883   # Check to make sure the pic_flag actually works.
 3884   echo "$as_me:3884: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
 3885 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
 3886   if test "${lt_cv_prog_cc_pic_works+set}" = set; then
 3887   echo $ECHO_N "(cached) $ECHO_C" >&6
 3888 else
 3889       save_CFLAGS="$CFLAGS"
 3890     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
 3891     cat >conftest.$ac_ext <<_ACEOF
 3892 #line 3892 "configure"
 3893 #include "confdefs.h"
 3894 
 3895 int
 3896 main ()
 3897 {
 3898 
 3899   ;
 3900   return 0;
 3901 }
 3902 _ACEOF
 3903 rm -f conftest.$ac_objext
 3904 if { (eval echo "$as_me:3904: \"$ac_compile\"") >&5
 3905   (eval $ac_compile) 2>&5
 3906   ac_status=$?
 3907   echo "$as_me:3907: \$? = $ac_status" >&5
 3908   (exit $ac_status); } &&
 3909          { ac_try='test -s conftest.$ac_objext'
 3910   { (eval echo "$as_me:3910: \"$ac_try\"") >&5
 3911   (eval $ac_try) 2>&5
 3912   ac_status=$?
 3913   echo "$as_me:3913: \$? = $ac_status" >&5
 3914   (exit $ac_status); }; }; then
 3915         case $host_os in
 3916       hpux9* | hpux10* | hpux11*)
 3917     # On HP-UX, both CC and GCC only warn that PIC is supported... then
 3918     # they create non-PIC objects.  So, if there were any warnings, we
 3919     # assume that PIC is not supported.
 3920     if test -s conftest.err; then
 3921       lt_cv_prog_cc_pic_works=no
 3922     else
 3923       lt_cv_prog_cc_pic_works=yes
 3924     fi
 3925     ;;
 3926       *)
 3927     lt_cv_prog_cc_pic_works=yes
 3928     ;;
 3929       esac
 3930 
 3931 else
 3932   echo "$as_me: failed program was:" >&5
 3933 cat conftest.$ac_ext >&5
 3934       lt_cv_prog_cc_pic_works=no
 3935 
 3936 fi
 3937 rm -f conftest.$ac_objext conftest.$ac_ext
 3938     CFLAGS="$save_CFLAGS"
 3939 
 3940 fi
 3941 
 3942   if test "X$lt_cv_prog_cc_pic_works" = Xno; then
 3943     lt_cv_prog_cc_pic=
 3944     lt_cv_prog_cc_can_build_shared=no
 3945   else
 3946     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
 3947   fi
 3948 
 3949   echo "$as_me:3949: result: $lt_cv_prog_cc_pic_works" >&5
 3950 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
 3951 fi
 3952 
 3953 # Check for any special shared library compilation flags.
 3954 if test -n "$lt_cv_prog_cc_shlib"; then
 3955   { echo "$as_me:3955: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
 3956 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
 3957   if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
 3958   else
 3959    { echo "$as_me:3959: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
 3960 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
 3961     lt_cv_prog_cc_can_build_shared=no
 3962   fi
 3963 fi
 3964 
 3965 echo "$as_me:3965: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
 3966 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
 3967 if test "${lt_cv_prog_cc_static_works+set}" = set; then
 3968   echo $ECHO_N "(cached) $ECHO_C" >&6
 3969 else
 3970     lt_cv_prog_cc_static_works=no
 3971   save_LDFLAGS="$LDFLAGS"
 3972   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
 3973   cat >conftest.$ac_ext <<_ACEOF
 3974 #line 3974 "configure"
 3975 #include "confdefs.h"
 3976 
 3977 int
 3978 main ()
 3979 {
 3980 
 3981   ;
 3982   return 0;
 3983 }
 3984 _ACEOF
 3985 rm -f conftest.$ac_objext conftest$ac_exeext
 3986 if { (eval echo "$as_me:3986: \"$ac_link\"") >&5
 3987   (eval $ac_link) 2>&5
 3988   ac_status=$?
 3989   echo "$as_me:3989: \$? = $ac_status" >&5
 3990   (exit $ac_status); } &&
 3991          { ac_try='test -s conftest$ac_exeext'
 3992   { (eval echo "$as_me:3992: \"$ac_try\"") >&5
 3993   (eval $ac_try) 2>&5
 3994   ac_status=$?
 3995   echo "$as_me:3995: \$? = $ac_status" >&5
 3996   (exit $ac_status); }; }; then
 3997   lt_cv_prog_cc_static_works=yes
 3998 else
 3999   echo "$as_me: failed program was:" >&5
 4000 cat conftest.$ac_ext >&5
 4001 fi
 4002 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 4003   LDFLAGS="$save_LDFLAGS"
 4004 
 4005 fi
 4006 
 4007 # Belt *and* braces to stop my trousers falling down:
 4008 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
 4009 echo "$as_me:4009: result: $lt_cv_prog_cc_static_works" >&5
 4010 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
 4011 
 4012 pic_flag="$lt_cv_prog_cc_pic"
 4013 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
 4014 wl="$lt_cv_prog_cc_wl"
 4015 link_static_flag="$lt_cv_prog_cc_static"
 4016 no_builtin_flag="$lt_cv_prog_cc_no_builtin"
 4017 can_build_shared="$lt_cv_prog_cc_can_build_shared"
 4018 
 4019 # Check to see if options -o and -c are simultaneously supported by compiler
 4020 echo "$as_me:4020: checking if $compiler supports -c -o file.$ac_objext" >&5
 4021 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 4022 if test "${lt_cv_compiler_c_o+set}" = set; then
 4023   echo $ECHO_N "(cached) $ECHO_C" >&6
 4024 else
 4025 
 4026 $rm -r conftest 2>/dev/null
 4027 mkdir conftest
 4028 cd conftest
 4029 echo "int some_variable = 0;" > conftest.$ac_ext
 4030 mkdir out
 4031 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
 4032 # that will create temporary files in the current directory regardless of
 4033 # the output directory.  Thus, making CWD read-only will cause this test
 4034 # to fail, enabling locking or at least warning the user not to do parallel
 4035 # builds.
 4036 chmod -w .
 4037 save_CFLAGS="$CFLAGS"
 4038 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
 4039 compiler_c_o=no
 4040 if { (eval echo configure:4040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
 4041   # The compiler can only warn and ignore the option if not recognized
 4042   # So say no if there are warnings
 4043   if test -s out/conftest.err; then
 4044     lt_cv_compiler_c_o=no
 4045   else
 4046     lt_cv_compiler_c_o=yes
 4047   fi
 4048 else
 4049   # Append any errors to the config.log.
 4050   cat out/conftest.err 1>&5
 4051   lt_cv_compiler_c_o=no
 4052 fi
 4053 CFLAGS="$save_CFLAGS"
 4054 chmod u+w .
 4055 $rm conftest* out/*
 4056 rmdir out
 4057 cd ..
 4058 rmdir conftest
 4059 $rm -r conftest 2>/dev/null
 4060 
 4061 fi
 4062 
 4063 compiler_c_o=$lt_cv_compiler_c_o
 4064 echo "$as_me:4064: result: $compiler_c_o" >&5
 4065 echo "${ECHO_T}$compiler_c_o" >&6
 4066 
 4067 if test x"$compiler_c_o" = x"yes"; then
 4068   # Check to see if we can write to a .lo
 4069   echo "$as_me:4069: checking if $compiler supports -c -o file.lo" >&5
 4070 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
 4071   if test "${lt_cv_compiler_o_lo+set}" = set; then
 4072   echo $ECHO_N "(cached) $ECHO_C" >&6
 4073 else
 4074 
 4075   lt_cv_compiler_o_lo=no
 4076   save_CFLAGS="$CFLAGS"
 4077   CFLAGS="$CFLAGS -c -o conftest.lo"
 4078   save_objext="$ac_objext"
 4079   ac_objext=lo
 4080   cat >conftest.$ac_ext <<_ACEOF
 4081 #line 4081 "configure"
 4082 #include "confdefs.h"
 4083 
 4084 int
 4085 main ()
 4086 {
 4087 int some_variable = 0;
 4088   ;
 4089   return 0;
 4090 }
 4091 _ACEOF
 4092 rm -f conftest.$ac_objext
 4093 if { (eval echo "$as_me:4093: \"$ac_compile\"") >&5
 4094   (eval $ac_compile) 2>&5
 4095   ac_status=$?
 4096   echo "$as_me:4096: \$? = $ac_status" >&5
 4097   (exit $ac_status); } &&
 4098          { ac_try='test -s conftest.$ac_objext'
 4099   { (eval echo "$as_me:4099: \"$ac_try\"") >&5
 4100   (eval $ac_try) 2>&5
 4101   ac_status=$?
 4102   echo "$as_me:4102: \$? = $ac_status" >&5
 4103   (exit $ac_status); }; }; then
 4104       # The compiler can only warn and ignore the option if not recognized
 4105     # So say no if there are warnings
 4106     if test -s conftest.err; then
 4107       lt_cv_compiler_o_lo=no
 4108     else
 4109       lt_cv_compiler_o_lo=yes
 4110     fi
 4111 
 4112 else
 4113   echo "$as_me: failed program was:" >&5
 4114 cat conftest.$ac_ext >&5
 4115 fi
 4116 rm -f conftest.$ac_objext conftest.$ac_ext
 4117   ac_objext="$save_objext"
 4118   CFLAGS="$save_CFLAGS"
 4119 
 4120 fi
 4121 
 4122   compiler_o_lo=$lt_cv_compiler_o_lo
 4123   echo "$as_me:4123: result: $compiler_o_lo" >&5
 4124 echo "${ECHO_T}$compiler_o_lo" >&6
 4125 else
 4126   compiler_o_lo=no
 4127 fi
 4128 
 4129 # Check to see if we can do hard links to lock some files if needed
 4130 hard_links="nottested"
 4131 if test "$compiler_c_o" = no && test "$need_locks" != no; then
 4132   # do not overwrite the value of need_locks provided by the user
 4133   echo "$as_me:4133: checking if we can lock with hard links" >&5
 4134 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 4135   hard_links=yes
 4136   $rm conftest*
 4137   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 4138   touch conftest.a
 4139   ln conftest.a conftest.b 2>&5 || hard_links=no
 4140   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 4141   echo "$as_me:4141: result: $hard_links" >&5
 4142 echo "${ECHO_T}$hard_links" >&6
 4143   if test "$hard_links" = no; then
 4144     { echo "$as_me:4144: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 4145 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 4146     need_locks=warn
 4147   fi
 4148 else
 4149   need_locks=no
 4150 fi
 4151 
 4152 if test "$GCC" = yes; then
 4153   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
 4154   echo "$as_me:4154: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 4155 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 4156   echo "int some_variable = 0;" > conftest.$ac_ext
 4157   save_CFLAGS="$CFLAGS"
 4158   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
 4159   compiler_rtti_exceptions=no
 4160   cat >conftest.$ac_ext <<_ACEOF
 4161 #line 4161 "configure"
 4162 #include "confdefs.h"
 4163 
 4164 int
 4165 main ()
 4166 {
 4167 int some_variable = 0;
 4168   ;
 4169   return 0;
 4170 }
 4171 _ACEOF
 4172 rm -f conftest.$ac_objext
 4173 if { (eval echo "$as_me:4173: \"$ac_compile\"") >&5
 4174   (eval $ac_compile) 2>&5
 4175   ac_status=$?
 4176   echo "$as_me:4176: \$? = $ac_status" >&5
 4177   (exit $ac_status); } &&
 4178          { ac_try='test -s conftest.$ac_objext'
 4179   { (eval echo "$as_me:4179: \"$ac_try\"") >&5
 4180   (eval $ac_try) 2>&5
 4181   ac_status=$?
 4182   echo "$as_me:4182: \$? = $ac_status" >&5
 4183   (exit $ac_status); }; }; then
 4184       # The compiler can only warn and ignore the option if not recognized
 4185     # So say no if there are warnings
 4186     if test -s conftest.err; then
 4187       compiler_rtti_exceptions=no
 4188     else
 4189       compiler_rtti_exceptions=yes
 4190     fi
 4191 
 4192 else
 4193   echo "$as_me: failed program was:" >&5
 4194 cat conftest.$ac_ext >&5
 4195 fi
 4196 rm -f conftest.$ac_objext conftest.$ac_ext
 4197   CFLAGS="$save_CFLAGS"
 4198   echo "$as_me:4198: result: $compiler_rtti_exceptions" >&5
 4199 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
 4200 
 4201   if test "$compiler_rtti_exceptions" = "yes"; then
 4202     no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
 4203   else
 4204     no_builtin_flag=' -fno-builtin'
 4205   fi
 4206 fi
 4207 
 4208 # See if the linker supports building shared libraries.
 4209 echo "$as_me:4209: checking whether the linker ($LD) supports shared libraries" >&5
 4210 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
 4211 
 4212 allow_undefined_flag=
 4213 no_undefined_flag=
 4214 need_lib_prefix=unknown
 4215 need_version=unknown
 4216 # when you set need_version to no, make sure it does not cause -set_version
 4217 # flags to be left without arguments
 4218 archive_cmds=
 4219 archive_expsym_cmds=
 4220 old_archive_from_new_cmds=
 4221 old_archive_from_expsyms_cmds=
 4222 export_dynamic_flag_spec=
 4223 whole_archive_flag_spec=
 4224 thread_safe_flag_spec=
 4225 hardcode_into_libs=no
 4226 hardcode_libdir_flag_spec=
 4227 hardcode_libdir_separator=
 4228 hardcode_direct=no
 4229 hardcode_minus_L=no
 4230 hardcode_shlibpath_var=unsupported
 4231 runpath_var=
 4232 link_all_deplibs=unknown
 4233 always_export_symbols=no
 4234 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
 4235 # include_expsyms should be a list of space-separated symbols to be *always*
 4236 # included in the symbol list
 4237 include_expsyms=
 4238 # exclude_expsyms can be an egrep regular expression of symbols to exclude
 4239 # it will be wrapped by ` (' and `)$', so one must not match beginning or
 4240 # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 4241 # as well as any symbol that contains `d'.
 4242 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 4243 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 4244 # platforms (ab)use it in PIC code, but their linkers get confused if
 4245 # the symbol is explicitly referenced.  Since portable code cannot
 4246 # rely on this symbol name, it's probably fine to never include it in
 4247 # preloaded symbol tables.
 4248 extract_expsyms_cmds=
 4249 
 4250 case $host_os in
 4251 cygwin* | mingw* | pw32*)
 4252   # FIXME: the MSVC++ port hasn't been tested in a loooong time
 4253   # When not using gcc, we currently assume that we are using
 4254   # Microsoft Visual C++.
 4255   if test "$GCC" != yes; then
 4256     with_gnu_ld=no
 4257   fi
 4258   ;;
 4259 openbsd*)
 4260   with_gnu_ld=no
 4261   ;;
 4262 esac
 4263 
 4264 ld_shlibs=yes
 4265 if test "$with_gnu_ld" = yes; then
 4266   # If archive_cmds runs LD, not CC, wlarc should be empty
 4267   wlarc='${wl}'
 4268 
 4269   # See if GNU ld supports shared libraries.
 4270   case $host_os in
 4271   aix3* | aix4* | aix5*)
 4272     # On AIX, the GNU linker is very broken
 4273     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
 4274     ld_shlibs=no
 4275     cat <<EOF 1>&2
 4276 
 4277 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
 4278 *** to be unable to reliably create shared libraries on AIX.
 4279 *** Therefore, libtool is disabling shared libraries support.  If you
 4280 *** really care for shared libraries, you may want to modify your PATH
 4281 *** so that a non-GNU linker is found, and then restart.
 4282 
 4283 EOF
 4284     ;;
 4285 
 4286   amigaos*)
 4287     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)'
 4288     hardcode_libdir_flag_spec='-L$libdir'
 4289     hardcode_minus_L=yes
 4290 
 4291     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 4292     # that the semantics of dynamic libraries on AmigaOS, at least up
 4293     # to version 4, is to share data among multiple programs linked
 4294     # with the same dynamic library.  Since this doesn't match the
 4295     # behavior of shared libraries on other platforms, we can use
 4296     # them.
 4297     ld_shlibs=no
 4298     ;;
 4299 
 4300   beos*)
 4301     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 4302       allow_undefined_flag=unsupported
 4303       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 4304       # support --undefined.  This deserves some investigation.  FIXME
 4305       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 4306     else
 4307       ld_shlibs=no
 4308     fi
 4309     ;;
 4310 
 4311   cygwin* | mingw* | pw32*)
 4312     # hardcode_libdir_flag_spec is actually meaningless, as there is
 4313     # no search path for DLLs.
 4314     hardcode_libdir_flag_spec='-L$libdir'
 4315     allow_undefined_flag=unsupported
 4316     always_export_symbols=yes
 4317 
 4318     extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
 4319       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
 4320       test -f $output_objdir/impgen.exe || (cd $output_objdir && \
 4321       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
 4322       else $CC -o impgen impgen.c ; fi)~
 4323       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
 4324 
 4325     old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
 4326 
 4327     # cygwin and mingw dlls have different entry points and sets of symbols
 4328     # to exclude.
 4329     # FIXME: what about values for MSVC?
 4330     dll_entry=__cygwin_dll_entry@12
 4331     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
 4332     case $host_os in
 4333     mingw*)
 4334       # mingw values
 4335       dll_entry=_DllMainCRTStartup@12
 4336       dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
 4337       ;;
 4338     esac
 4339 
 4340     # mingw and cygwin differ, and it's simplest to just exclude the union
 4341     # of the two symbol sets.
 4342     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
 4343 
 4344     # recent cygwin and mingw systems supply a stub DllMain which the user
 4345     # can override, but on older systems we have to supply one (in ltdll.c)
 4346     if test "x$lt_cv_need_dllmain" = "xyes"; then
 4347       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
 4348       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~
 4349     test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
 4350     else
 4351       ltdll_obj=
 4352       ltdll_cmds=
 4353     fi
 4354 
 4355     # Extract the symbol export list from an `--export-all' def file,
 4356     # then regenerate the def file from the symbol export list, so that
 4357     # the compiled dll only exports the symbol export list.
 4358     # Be careful not to strip the DATA tag left be newer dlltools.
 4359     export_symbols_cmds="$ltdll_cmds"'
 4360       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
 4361       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
 4362 
 4363     # If the export-symbols file already is a .def file (1st line
 4364     # is EXPORTS), use it as is.
 4365     # If DATA tags from a recent dlltool are present, honour them!
 4366     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
 4367     cp $export_symbols $output_objdir/$soname-def;
 4368       else
 4369     echo EXPORTS > $output_objdir/$soname-def;
 4370     _lt_hint=1;
 4371     cat $export_symbols | while read symbol; do
 4372      set dummy \$symbol;
 4373      case \$# in
 4374        2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
 4375        *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
 4376      esac;
 4377      _lt_hint=`expr 1 + \$_lt_hint`;
 4378     done;
 4379       fi~
 4380       '"$ltdll_cmds"'
 4381       $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~
 4382       $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~
 4383       $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~
 4384       $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~
 4385       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
 4386     ;;
 4387 
 4388   netbsd*)
 4389     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 4390       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 4391       wlarc=
 4392     else
 4393       archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 4394       archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 4395     fi
 4396     ;;
 4397 
 4398   solaris* | sysv5*)
 4399     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
 4400       ld_shlibs=no
 4401       cat <<EOF 1>&2
 4402 
 4403 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 4404 *** create shared libraries on Solaris systems.  Therefore, libtool
 4405 *** is disabling shared libraries support.  We urge you to upgrade GNU
 4406 *** binutils to release 2.9.1 or newer.  Another option is to modify
 4407 *** your PATH or compiler configuration so that the native linker is
 4408 *** used, and then restart.
 4409 
 4410 EOF
 4411     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 4412       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 4413       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 4414     else
 4415       ld_shlibs=no
 4416     fi
 4417     ;;
 4418 
 4419   sunos4*)
 4420     archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 4421     wlarc=
 4422     hardcode_direct=yes
 4423     hardcode_shlibpath_var=no
 4424     ;;
 4425 
 4426   *)
 4427     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 4428       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 4429       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 4430     else
 4431       ld_shlibs=no
 4432     fi
 4433     ;;
 4434   esac
 4435 
 4436   if test "$ld_shlibs" = yes; then
 4437     runpath_var=LD_RUN_PATH
 4438     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 4439     export_dynamic_flag_spec='${wl}--export-dynamic'
 4440     case $host_os in
 4441     cygwin* | mingw* | pw32*)
 4442       # dlltool doesn't understand --whole-archive et. al.
 4443       whole_archive_flag_spec=
 4444       ;;
 4445     *)
 4446       # ancient GNU ld didn't support --whole-archive et. al.
 4447       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
 4448     whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 4449       else
 4450     whole_archive_flag_spec=
 4451       fi
 4452       ;;
 4453     esac
 4454   fi
 4455 else
 4456   # PORTME fill in a description of your system's linker (not GNU ld)
 4457   case $host_os in
 4458   aix3*)
 4459     allow_undefined_flag=unsupported
 4460     always_export_symbols=yes
 4461     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'
 4462     # Note: this linker hardcodes the directories in LIBPATH if there
 4463     # are no directories specified by -L.
 4464     hardcode_minus_L=yes
 4465     if test "$GCC" = yes && test -z "$link_static_flag"; then
 4466       # Neither direct hardcoding nor static linking is supported with a
 4467       # broken collect2.
 4468       hardcode_direct=unsupported
 4469     fi
 4470     ;;
 4471 
 4472   aix4* | aix5*)
 4473     if test "$host_cpu" = ia64; then
 4474       # On IA64, the linker does run time linking by default, so we don't
 4475       # have to do anything special.
 4476       aix_use_runtimelinking=no
 4477       exp_sym_flag='-Bexport'
 4478       no_entry_flag=""
 4479     else
 4480       aix_use_runtimelinking=no
 4481 
 4482       # Test if we are trying to use run time linking or normal
 4483       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 4484       # need to do runtime linking.
 4485       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 4486     for ld_flag in $LDFLAGS; do
 4487       if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 4488         aix_use_runtimelinking=yes
 4489         break
 4490       fi
 4491     done
 4492       esac
 4493 
 4494       exp_sym_flag='-bexport'
 4495       no_entry_flag='-bnoentry'
 4496     fi
 4497 
 4498     # When large executables or shared objects are built, AIX ld can
 4499     # have problems creating the table of contents.  If linking a library
 4500     # or program results in "error TOC overflow" add -mminimal-toc to
 4501     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 4502     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 4503 
 4504     hardcode_direct=yes
 4505     archive_cmds=''
 4506     hardcode_libdir_separator=':'
 4507     if test "$GCC" = yes; then
 4508       case $host_os in aix4.[012]|aix4.[012].*)
 4509     collect2name=`${CC} -print-prog-name=collect2`
 4510     if test -f "$collect2name" && \
 4511       strings "$collect2name" | grep resolve_lib_name >/dev/null
 4512     then
 4513       # We have reworked collect2
 4514       hardcode_direct=yes
 4515     else
 4516       # We have old collect2
 4517       hardcode_direct=unsupported
 4518       # It fails to find uninstalled libraries when the uninstalled
 4519       # path is not listed in the libpath.  Setting hardcode_minus_L
 4520       # to unsupported forces relinking
 4521       hardcode_minus_L=yes
 4522       hardcode_libdir_flag_spec='-L$libdir'
 4523       hardcode_libdir_separator=
 4524     fi
 4525       esac
 4526 
 4527       shared_flag='-shared'
 4528     else
 4529       # not using gcc
 4530       if test "$host_cpu" = ia64; then
 4531     shared_flag='${wl}-G'
 4532       else
 4533     if test "$aix_use_runtimelinking" = yes; then
 4534       shared_flag='${wl}-G'
 4535     else
 4536       shared_flag='${wl}-bM:SRE'
 4537     fi
 4538       fi
 4539     fi
 4540 
 4541     # It seems that -bexpall can do strange things, so it is better to
 4542     # generate a list of symbols to export.
 4543     always_export_symbols=yes
 4544     if test "$aix_use_runtimelinking" = yes; then
 4545       # Warning - without using the other runtime loading flags (-brtl),
 4546       # -berok will link without error, but may produce a broken library.
 4547       allow_undefined_flag='-berok'
 4548       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
 4549       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"
 4550     else
 4551       if test "$host_cpu" = ia64; then
 4552     hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 4553     allow_undefined_flag="-z nodefs"
 4554     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"
 4555       else
 4556     hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
 4557     # Warning - without using the other run time loading flags,
 4558     # -berok will link without error, but may produce a broken library.
 4559     allow_undefined_flag='${wl}-berok'
 4560     # This is a bit strange, but is similar to how AIX traditionally builds
 4561     # it's shared libraries.
 4562     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'
 4563       fi
 4564     fi
 4565     ;;
 4566 
 4567   amigaos*)
 4568     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)'
 4569     hardcode_libdir_flag_spec='-L$libdir'
 4570     hardcode_minus_L=yes
 4571     # see comment about different semantics on the GNU ld section
 4572     ld_shlibs=no
 4573     ;;
 4574 
 4575   cygwin* | mingw* | pw32*)
 4576     # When not using gcc, we currently assume that we are using
 4577     # Microsoft Visual C++.
 4578     # hardcode_libdir_flag_spec is actually meaningless, as there is
 4579     # no search path for DLLs.
 4580     hardcode_libdir_flag_spec=' '
 4581     allow_undefined_flag=unsupported
 4582     # Tell ltmain to make .lib files, not .a files.
 4583     libext=lib
 4584     # FIXME: Setting linknames here is a bad hack.
 4585     archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 4586     # The linker will automatically build a .lib file if we build a DLL.
 4587     old_archive_from_new_cmds='true'
 4588     # FIXME: Should let the user specify the lib program.
 4589     old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 4590     fix_srcfile_path='`cygpath -w "$srcfile"`'
 4591     ;;
 4592 
 4593   darwin* | rhapsody*)
 4594     case "$host_os" in
 4595     rhapsody* | darwin1.[012])
 4596       allow_undefined_flag='-undefined suppress'
 4597       ;;
 4598     *) # Darwin 1.3 on
 4599       allow_undefined_flag='-flat_namespace -undefined suppress'
 4600       ;;
 4601     esac
 4602     # FIXME: Relying on posixy $() will cause problems for
 4603     #        cross-compilation, but unfortunately the echo tests do not
 4604     #        yet detect zsh echo's removal of \ escapes.
 4605     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'
 4606     # We need to add '_' to the symbols in $export_symbols first
 4607     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
 4608     hardcode_direct=yes
 4609     hardcode_shlibpath_var=no
 4610     whole_archive_flag_spec='-all_load $convenience'
 4611     ;;
 4612 
 4613   freebsd1*)
 4614     ld_shlibs=no
 4615     ;;
 4616 
 4617   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 4618   # support.  Future versions do this automatically, but an explicit c++rt0.o
 4619   # does not break anything, and helps significantly (at the cost of a little
 4620   # extra space).
 4621   freebsd2.2*)
 4622     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 4623     hardcode_libdir_flag_spec='-R$libdir'
 4624     hardcode_direct=yes
 4625     hardcode_shlibpath_var=no
 4626     ;;
 4627 
 4628   # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 4629   freebsd2*)
 4630     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 4631     hardcode_direct=yes
 4632     hardcode_minus_L=yes
 4633     hardcode_shlibpath_var=no
 4634     ;;
 4635 
 4636   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 4637   freebsd*)
 4638     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 4639     hardcode_libdir_flag_spec='-R$libdir'
 4640     hardcode_direct=yes
 4641     hardcode_shlibpath_var=no
 4642     ;;
 4643 
 4644   hpux9* | hpux10* | hpux11*)
 4645     case $host_os in
 4646     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' ;;
 4647     *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
 4648     esac
 4649     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 4650     hardcode_libdir_separator=:
 4651     hardcode_direct=yes
 4652     hardcode_minus_L=yes # Not in the search PATH, but as the default
 4653              # location of the library.
 4654     export_dynamic_flag_spec='${wl}-E'
 4655     ;;
 4656 
 4657   irix5* | irix6*)
 4658     if test "$GCC" = yes; then
 4659       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'
 4660     else
 4661       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'
 4662     fi
 4663     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 4664     hardcode_libdir_separator=:
 4665     link_all_deplibs=yes
 4666     ;;
 4667 
 4668   netbsd*)
 4669     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 4670       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 4671     else
 4672       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 4673     fi
 4674     hardcode_libdir_flag_spec='-R$libdir'
 4675     hardcode_direct=yes
 4676     hardcode_shlibpath_var=no
 4677     ;;
 4678 
 4679   newsos6)
 4680     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 4681     hardcode_direct=yes
 4682     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 4683     hardcode_libdir_separator=:
 4684     hardcode_shlibpath_var=no
 4685     ;;
 4686 
 4687   openbsd*)
 4688     hardcode_direct=yes
 4689     hardcode_shlibpath_var=no
 4690     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 4691       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
 4692       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 4693       export_dynamic_flag_spec='${wl}-E'
 4694     else
 4695       case "$host_os" in
 4696       openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 4697     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 4698     hardcode_libdir_flag_spec='-R$libdir'
 4699         ;;
 4700       *)
 4701         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
 4702         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 4703         ;;
 4704       esac
 4705     fi
 4706     ;;
 4707 
 4708   os2*)
 4709     hardcode_libdir_flag_spec='-L$libdir'
 4710     hardcode_minus_L=yes
 4711     allow_undefined_flag=unsupported
 4712     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'
 4713     old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 4714     ;;
 4715 
 4716   osf3*)
 4717     if test "$GCC" = yes; then
 4718       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 4719       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'
 4720     else
 4721       allow_undefined_flag=' -expect_unresolved \*'
 4722       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'
 4723     fi
 4724     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 4725     hardcode_libdir_separator=:
 4726     ;;
 4727 
 4728   osf4* | osf5*)    # as osf3* with the addition of -msym flag
 4729     if test "$GCC" = yes; then
 4730       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 4731       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'
 4732       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 4733     else
 4734       allow_undefined_flag=' -expect_unresolved \*'
 4735       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'
 4736       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
 4737       $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'
 4738 
 4739       #Both c and cxx compiler support -rpath directly
 4740       hardcode_libdir_flag_spec='-rpath $libdir'
 4741     fi
 4742     hardcode_libdir_separator=:
 4743     ;;
 4744 
 4745   sco3.2v5*)
 4746     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 4747     hardcode_shlibpath_var=no
 4748     runpath_var=LD_RUN_PATH
 4749     hardcode_runpath_var=yes
 4750     export_dynamic_flag_spec='${wl}-Bexport'
 4751     ;;
 4752 
 4753   solaris*)
 4754     # gcc --version < 3.0 without binutils cannot create self contained
 4755     # shared libraries reliably, requiring libgcc.a to resolve some of
 4756     # the object symbols generated in some cases.  Libraries that use
 4757     # assert need libgcc.a to resolve __eprintf, for example.  Linking
 4758     # a copy of libgcc.a into every shared library to guarantee resolving
 4759     # such symbols causes other problems:  According to Tim Van Holder
 4760     # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
 4761     # (to the application) exception stack for one thing.
 4762     no_undefined_flag=' -z defs'
 4763     if test "$GCC" = yes; then
 4764       case `$CC --version 2>/dev/null` in
 4765       [12].*)
 4766     cat <<EOF 1>&2
 4767 
 4768 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
 4769 *** create self contained shared libraries on Solaris systems, without
 4770 *** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
 4771 *** -no-undefined support, which will at least allow you to build shared
 4772 *** libraries.  However, you may find that when you link such libraries
 4773 *** into an application without using GCC, you have to manually add
 4774 *** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
 4775 *** upgrade to a newer version of GCC.  Another option is to rebuild your
 4776 *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
 4777 
 4778 EOF
 4779         no_undefined_flag=
 4780     ;;
 4781       esac
 4782     fi
 4783     # $CC -shared without GNU ld will not create a library from C++
 4784     # object files and a static libstdc++, better avoid it by now
 4785     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 4786     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 4787         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 4788     hardcode_libdir_flag_spec='-R$libdir'
 4789     hardcode_shlibpath_var=no
 4790     case $host_os in
 4791     solaris2.[0-5] | solaris2.[0-5].*) ;;
 4792     *) # Supported since Solaris 2.6 (maybe 2.5.1?)
 4793       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 4794     esac
 4795     link_all_deplibs=yes
 4796     ;;
 4797 
 4798   sunos4*)
 4799     if test "x$host_vendor" = xsequent; then
 4800       # Use $CC to link under sequent, because it throws in some extra .o
 4801       # files that make .init and .fini sections work.
 4802       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 4803     else
 4804       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 4805     fi
 4806     hardcode_libdir_flag_spec='-L$libdir'
 4807     hardcode_direct=yes
 4808     hardcode_minus_L=yes
 4809     hardcode_shlibpath_var=no
 4810     ;;
 4811 
 4812   sysv4)
 4813     if test "x$host_vendor" = xsno; then
 4814       archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
 4815       hardcode_direct=yes # is this really true???
 4816     else
 4817       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 4818       hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 4819     fi
 4820     runpath_var='LD_RUN_PATH'
 4821     hardcode_shlibpath_var=no
 4822     ;;
 4823 
 4824   sysv4.3*)
 4825     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 4826     hardcode_shlibpath_var=no
 4827     export_dynamic_flag_spec='-Bexport'
 4828     ;;
 4829 
 4830   sysv5*)
 4831     no_undefined_flag=' -z text'
 4832     # $CC -shared without GNU ld will not create a library from C++
 4833     # object files and a static libstdc++, better avoid it by now
 4834     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 4835     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 4836         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 4837     hardcode_libdir_flag_spec=
 4838     hardcode_shlibpath_var=no
 4839     runpath_var='LD_RUN_PATH'
 4840     ;;
 4841 
 4842   uts4*)
 4843     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 4844     hardcode_libdir_flag_spec='-L$libdir'
 4845     hardcode_shlibpath_var=no
 4846     ;;
 4847 
 4848   dgux*)
 4849     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 4850     hardcode_libdir_flag_spec='-L$libdir'
 4851     hardcode_shlibpath_var=no
 4852     ;;
 4853 
 4854   sysv4*MP*)
 4855     if test -d /usr/nec; then
 4856       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 4857       hardcode_shlibpath_var=no
 4858       runpath_var=LD_RUN_PATH
 4859       hardcode_runpath_var=yes
 4860       ld_shlibs=yes
 4861     fi
 4862     ;;
 4863 
 4864   sysv4.2uw2*)
 4865     archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 4866     hardcode_direct=yes
 4867     hardcode_minus_L=no
 4868     hardcode_shlibpath_var=no
 4869     hardcode_runpath_var=yes
 4870     runpath_var=LD_RUN_PATH
 4871     ;;
 4872 
 4873   sysv5uw7* | unixware7*)
 4874     no_undefined_flag='${wl}-z ${wl}text'
 4875     if test "$GCC" = yes; then
 4876       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 4877     else
 4878       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 4879     fi
 4880     runpath_var='LD_RUN_PATH'
 4881     hardcode_shlibpath_var=no
 4882     ;;
 4883 
 4884   *)
 4885     ld_shlibs=no
 4886     ;;
 4887   esac
 4888 fi
 4889 echo "$as_me:4889: result: $ld_shlibs" >&5
 4890 echo "${ECHO_T}$ld_shlibs" >&6
 4891 test "$ld_shlibs" = no && can_build_shared=no
 4892 
 4893 # Check hardcoding attributes.
 4894 echo "$as_me:4894: checking how to hardcode library paths into programs" >&5
 4895 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 4896 hardcode_action=
 4897 if test -n "$hardcode_libdir_flag_spec" || \
 4898    test -n "$runpath_var"; then
 4899 
 4900   # We can hardcode non-existant directories.
 4901   if test "$hardcode_direct" != no &&
 4902      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 4903      # have to relink, otherwise we might link with an installed library
 4904      # when we should be linking with a yet-to-be-installed one
 4905      ## test "$hardcode_shlibpath_var" != no &&
 4906      test "$hardcode_minus_L" != no; then
 4907     # Linking always hardcodes the temporary library directory.
 4908     hardcode_action=relink
 4909   else
 4910     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 4911     hardcode_action=immediate
 4912   fi
 4913 else
 4914   # We cannot hardcode anything, or else we can only hardcode existing
 4915   # directories.
 4916   hardcode_action=unsupported
 4917 fi
 4918 echo "$as_me:4918: result: $hardcode_action" >&5
 4919 echo "${ECHO_T}$hardcode_action" >&6
 4920 
 4921 striplib=
 4922 old_striplib=
 4923 echo "$as_me:4923: checking whether stripping libraries is possible" >&5
 4924 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 4925 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 4926   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 4927   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 4928   echo "$as_me:4928: result: yes" >&5
 4929 echo "${ECHO_T}yes" >&6
 4930 else
 4931   echo "$as_me:4931: result: no" >&5
 4932 echo "${ECHO_T}no" >&6
 4933 fi
 4934 
 4935 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 4936 test -z "$deplibs_check_method" && deplibs_check_method=unknown
 4937 
 4938 # PORTME Fill in your ld.so characteristics
 4939 echo "$as_me:4939: checking dynamic linker characteristics" >&5
 4940 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 4941 library_names_spec=
 4942 libname_spec='lib$name'
 4943 soname_spec=
 4944 postinstall_cmds=
 4945 postuninstall_cmds=
 4946 finish_cmds=
 4947 finish_eval=
 4948 shlibpath_var=
 4949 shlibpath_overrides_runpath=unknown
 4950 version_type=none
 4951 dynamic_linker="$host_os ld.so"
 4952 sys_lib_dlsearch_path_spec="/lib /usr/lib"
 4953 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 4954 
 4955 case $host_os in
 4956 aix3*)
 4957   version_type=linux
 4958   library_names_spec='${libname}${release}.so$versuffix $libname.a'
 4959   shlibpath_var=LIBPATH
 4960 
 4961   # AIX has no versioning support, so we append a major version to the name.
 4962   soname_spec='${libname}${release}.so$major'
 4963   ;;
 4964 
 4965 aix4* | aix5*)
 4966   version_type=linux
 4967   if test "$host_cpu" = ia64; then
 4968     # AIX 5 supports IA64
 4969     library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
 4970     shlibpath_var=LD_LIBRARY_PATH
 4971   else
 4972     # With GCC up to 2.95.x, collect2 would create an import file
 4973     # for dependence libraries.  The import file would start with
 4974     # the line `#! .'.  This would cause the generated library to
 4975     # depend on `.', always an invalid library.  This was fixed in
 4976     # development snapshots of GCC prior to 3.0.
 4977     case $host_os in
 4978       aix4 | aix4.[01] | aix4.[01].*)
 4979     if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 4980          echo ' yes '
 4981          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 4982       :
 4983     else
 4984       can_build_shared=no
 4985     fi
 4986     ;;
 4987     esac
 4988     # AIX (on Power*) has no versioning support, so currently we can
 4989     # not hardcode correct soname into executable. Probably we can
 4990     # add versioning support to collect2, so additional links can
 4991     # be useful in future.
 4992     if test "$aix_use_runtimelinking" = yes; then
 4993       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 4994       # instead of lib<name>.a to let people know that these are not
 4995       # typical AIX shared libraries.
 4996       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 4997     else
 4998       # We preserve .a as extension for shared libraries through AIX4.2
 4999       # and later when we are not doing run time linking.
 5000       library_names_spec='${libname}${release}.a $libname.a'
 5001       soname_spec='${libname}${release}.so$major'
 5002     fi
 5003     shlibpath_var=LIBPATH
 5004   fi
 5005   ;;
 5006 
 5007 amigaos*)
 5008   library_names_spec='$libname.ixlibrary $libname.a'
 5009   # Create ${libname}_ixlibrary.a entries in /sys/libs.
 5010   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'
 5011   ;;
 5012 
 5013 beos*)
 5014   library_names_spec='${libname}.so'
 5015   dynamic_linker="$host_os ld.so"
 5016   shlibpath_var=LIBRARY_PATH
 5017   ;;
 5018 
 5019 bsdi4*)
 5020   version_type=linux
 5021   need_version=no
 5022   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 5023   soname_spec='${libname}${release}.so$major'
 5024   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 5025   shlibpath_var=LD_LIBRARY_PATH
 5026   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 5027   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 5028   export_dynamic_flag_spec=-rdynamic
 5029   # the default ld.so.conf also contains /usr/contrib/lib and
 5030   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 5031   # libtool to hard-code these into programs
 5032   ;;
 5033 
 5034 cygwin* | mingw* | pw32*)
 5035   version_type=windows
 5036   need_version=no
 5037   need_lib_prefix=no
 5038   case $GCC,$host_os in
 5039   yes,cygwin*)
 5040     library_names_spec='$libname.dll.a'
 5041     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
 5042     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
 5043       dldir=$destdir/`dirname \$dlpath`~
 5044       test -d \$dldir || mkdir -p \$dldir~
 5045       $install_prog .libs/$dlname \$dldir/$dlname'
 5046     postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
 5047       dlpath=$dir/\$dldll~
 5048        $rm \$dlpath'
 5049     ;;
 5050   yes,mingw*)
 5051     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
 5052     sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
 5053     ;;
 5054   yes,pw32*)
 5055     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
 5056     ;;
 5057   *)
 5058     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
 5059     ;;
 5060   esac
 5061   dynamic_linker='Win32 ld.exe'
 5062   # FIXME: first we should search . and the directory the executable is in
 5063   shlibpath_var=PATH
 5064   ;;
 5065 
 5066 darwin* | rhapsody*)
 5067   dynamic_linker="$host_os dyld"
 5068   version_type=darwin
 5069   need_lib_prefix=no
 5070   need_version=no
 5071   # FIXME: Relying on posixy $() will cause problems for
 5072